You would lose that bet. Walmart has invested a LOT in modernizing stuff over the last 10 years. You cannot deliver groceries in less than an hour using the old inventory. It's not perfect, but what it's been done given the scale , it's nothing short of a miracle.
Source: I have been working there for 10 years.
I was talking HD. Walmart has a rep for being a decent tech shop and given how well all their stuff seems to work, I would not be remotely surprised if they weren't on the leading edge of good software.
The whole way Tiktok went black and the number of times it has mentioned President Trump in a positive note - to me - reinforces the idea that Tiktok is just a propaganda tool (in this case, for Trump). I would not be surprised if the whole act of going dark last night was because Trump told them that's how it needed to go so he could be a hero by Monday.
The way most of our biggest companies and wealthiest are just lining up to do Trump's bidding is what I would expect from unstable 3rd world countries but never from the US (I know cause I came from one).
DRY is about modularization and identifying higher level abstractions when possible (and useful). When you have a domain driven mindset, it's much easier to put in practice. But really, you need to learn how to balance things. And you can only get that natural intuition with practice, lots of practice. If you give up early and think repeating is ok all the time, then you will never gain that intuition.
Regarding mocks, there are mocks that can hurt you and mocks that will help you. Mocks that can hurt you are mocks you generate by hand and it represents an idea of what production is, or maybe the untested, specified contract. Mocks that help you are the ones that are automatically generated representing actually what production has. Mocks like these have saved me from potential P1s many times - and millions in business losses. In an ideal world, I wouldn't need mocks, but also in an ideal world LLMs would do my testing.
I joined HN back in 2008 and I am mostly a lurker, but when I see an article that just plainly promotes bad practices with no samples of code or without going in depth. An article that would have been voted down or ignored to oblivion back in the early days of HN. I have to say something. I have seen enough bad code (specially in recent years) - I am afraid the new generation is getting their tips from all the wrong places.
The kind of application of DRY you describe is not what the author has a problem with. What you describe is totally reasonable.
Have you never seen more junior engineers make code 1000x worse (bordering on nonsensical), with them proudly saying they made it DRY-er? They are sometimes so focused on the one often-misapplied principle that they cannot reason about the produced code as a whole.
I graduated in 2007 at the top of the housing crash and a few months later the great recession. My first job as SWE out of college was making 50k in a small company.
What got me through is that I love coding and learning, specially as a new grad. In hindsight, these are the times when great things happen - we just cannot see them. It happened in 2000, 2008 and I hope it happens again. Don't get demoralized, keep going at it and remember why you got into this profession (hopefully not just for the money)
In my experience, almost nothing is 10 bucks anymore at Amazon. Having prime would have meant - 5 years ago- that I would get it tomorrow or within 2 days, but now it means I will get it by the end of next week. Then the product I bought will come apart within 2 months. Right around the time the return deadline expires. The customer experience is at least one order of magnitude worse than 5 years ago.
Interesting. Where are you located? Here in Calgary, Prime is still same day or next day, with two days being for a few niche items (like a warehouse deal on a monitor).
I pay around 15 bucks a month for my HOA. They take care of common land and also the 3 kids playgrounds in the neighborhood. They also have to approve any changes to the exterior of a house which can be annoying.
One interesting thing they do is that for things like new decks or replaced ones, you need to submit an application for approval which should include a building permit by the county. It gives prospective home buyers assurance that certain things were done correctly. Before a house is sold, the seller needs to provide an HOA disclosure which triggers an inspection for which a seller needs to ensure all changes were made with the approval of the HOA. Our seller (an investment property management company) had to fix several things in our house to being them up to code to get those approvals, which helped me as a home buyer.
Besides that, the HOA has been very responsive, we did replace our windows without their approval but it was relatively easy to fix given that they were similar windows.
I think it's a bit of both, but to be honest, it doesn't feel like sticking it to the man.
Why? Because it's a ponzi scheme. People who made money off this already (and are not holding the line) are not the people affected by the man. I don't believe my plumber, my electrician, or the busboy at the restaurant are investing their money on GME stock using Robinhood. Who do I see doing it? My friends, mostly young white collar workers with money to invest/lose in a bid to trying to get rick quick. Your typical reddit user of sorts.
I mean, my first few years on this country, while going to college at night, I worked construction. I worked with all kinds of people, from all kinds of lives and believes. When 2008 happened, many of them lost their life savings or their houses. At that point, I was working as a software engineer already, my older colleagues lost a chunk of their 401k - which they probably have regained and built upon by now.
Sticking it up to the man? I don't think so. The end of this will be fast and painful to many.
Feliz año nuevo! I still remember joining hacker news to comment on something back in 2008 and lurking from 2006. It's impossible to enumerate everything I have learned form this community. All I can say is Thank you and let's have a great 2021!
I also was trying to figure out why I would use this over Bazel. Then I remember reading a story yesterday about how ex-googlers miss their tooling when they leave. Their CTO is an ex-googler, so maybe this is the reason.
But Bazel is developed by Google itself right now. Presumably if you missed Google tooling you'd rather use Bazel, no?
I'm not suggesting Bazel is perfect: I think e.g. Starlark's insistence on being a separate language does more harm than good. (FWIW I also think the JVM objection is a little silly.) But I am saying preferring the Google tooling would ostensibly mean you like Bazel a lot already :)
I've read Bazel without the rest of Google tooling (giant monorepo of everything, distributed build farms, etc) the experience is nowhere near the same.
Starlark is _almost_, but not quite_ Python, and Python 2 at that. You could do everything Starlark does in actual Python and get stuff like static type checking for free.
I think the term DSL is overloaded here? Consider all the Lisp and Ruby stuff that's definitely DSL but doesn't need most of a language implementation.