Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sfn42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
451.
▲
by
sfn42
1y ago
The mistake was not answering the question. There would have been nothing wrong with expanding your answer with notes about how you might avoid having a million items in an array in the first place, but the question was how do you sort it w
452.
▲
by
sfn42
1y ago
To be fair, $150k is still a very good salary. That's like 3 times as much as most other people make. So it seems to me like we're still talking about fairly high-tier jobs, where I live most developers make less than $100k. The o
453.
▲
by
sfn42
1y ago
I have never been asked to reverse a red black tree. Maybe they all do that in SV but in my corner of the world I haven't seen nor heard about anyone doing that. I've been asked to write a class to store Car objects and get them b
454.
▲
by
sfn42
1y ago
I consider it my job to figure out the requirements. The fact that they aren't specified in detail allows me to do what I think is best rather than being bound by often arbitrary specifications. I judge which decisions I make and which
455.
▲
by
sfn42
1y ago
> The interviewer asked: "If you have an array containing a million entries, how would you sort the data by name?" [...] Surely the right answer was to explain why you shouldn't be sorting millions of records in JavaScript
456.
▲
by
sfn42
1y ago
How are employers supposed to know you're productive and valuable if you won't even maintain a decent resume? Honestly you come off as whiny and entitled, everyone has to present themselves through a CV. If you want to stand out y
457.
▲
by
sfn42
1y ago
You don't need to pressurize it. You just put it in a tank and apply heat, the water evaporates and creates pressure. Like a pressure cooker.
458.
▲
by
sfn42
1y ago
I always find it strange how people complain about features when the real problem is that they simply don't like how people use the feature. Async in C# is awesome, and there's nothing stopping you from writing sync code where app
459.
▲
by
sfn42
1y ago
Because I'm not convinced there exists a programming language/library/framework that you can't use improperly. And just to be clear I'm not saying react is better than Vue. I don't know Vue. Maybe it is better.
460.
▲
by
sfn42
1y ago
I don't know Vue so I can't compare. All I know is when I write react apps they're simple, nice and snappy. And I'm not even a frontend dev nor a JS dev, I mainly work backend. It's not that hard. In fact it's
461.
▲
by
sfn42
1y ago
I think React is fine, the problem is that every single react app I've inherited is ass - people just do everything incorrectly and overcomplicate simple things. Components with like 5 different useEffects, huge global state causing al
462.
▲
by
sfn42
1y ago
In Norway you can use American Express, Diner's Club and other credit cards, though the two I mentioned aren't always accepted due to higher fees. The Norwegian airline also has a credit card that's pretty popular and offers
463.
▲
by
sfn42
1y ago
That's not a problem in a well designed ASP.NET project. Just create a new web API project, move a controller into it and copy/paste the necessary boilerplate into Program.cs, set up config etc for it and configure cicd to deploy
464.
▲
by
sfn42
1y ago
You're completely right, those are things that need to be considered and accounted for if necessary. Maybe a different solution would be better, like leaving the orders the way they are but adding new table CompoundOrders or something.
465.
▲
by
sfn42
1y ago
I think it's pretty clear that this is not what I'm suggesting, if you can't see that then you're not arguing in good faith and I think my time is better spent on other things than discussing this with you.
466.
▲
by
sfn42
1y ago
Yeah and a lot of innocent people have been financially screwed, injured and killed by idiots who don't appreciate the responsibility that comes with driving a car. If technology can bring those people to justice I'm 100% for it
467.
▲
by
sfn42
1y ago
> "A single order ships to a single address, keep it simple, build it, oh actually, a salesman promised a big customer, so now we need to make it so a single order can ship to multiple addresses"--you've heard something li
468.
▲
by
sfn42
1y ago
If you had security cameras at your home, a judge could issue a warrant for that footage. Seems to me that smart car data is similar - in the event of a crash, a judge could issue a warrant for that data if it is deemed relevant to the case
469.
▲
by
sfn42
1y ago
I think a world where drivers are held accountable for their actions sounds like a just and probably safer world. If you cause an accident by driving distracted or being reckless I think it's only fair that the facts are known so that
470.
▲
by
sfn42
1y ago
It certainly isn't all about money, though I think the money is worth talking about. Anyway you're welcome to make up your own mind, I thought the blog seemed credible and reasonable and it certainly cast some light on why this pe
471.
▲
by
sfn42
1y ago
I don't know any of these people, I just thought this blog post seemed credible and painted a very different picture of Reitz than he presents in his own blog. I do not know the truth, i just thought people might appreciate another per
472.
▲
by
sfn42
1y ago
This blog I found seems to support your view https://vorpus.org/blog/why-im-not-collaborating-with-kennet...
473.
▲
by
sfn42
1y ago
I had never heard of Kenneth Reitz and I was curious about his Python contribution so I googled him and this was one of the first results https://vorpus.org/blog/why-im-not-collaborating-with-kennet...
474.
▲
by
sfn42
1y ago
I think there are (at least) two types of programmer - I am the kind of programmer who wants everything done right. Others don't care as long as it works and the boss is happy. I suspect that the type of programmer who enjoys vibe codi
475.
▲
by
sfn42
1y ago
I just think it's distracting. I get caught up listening to the lyrics and kind of mentally singing along, stuff like that which disrupts my thought and distracts from what I actually want to be thinking about. I think this is individu
476.
▲
by
sfn42
1y ago
That's fair. I wasn't really defending the idea of using python for prototyping. Personally I'd just start with C# for pretty much any project and try to do it right from the beginning. I suppose most of my point was that in
477.
▲
by
sfn42
1y ago
I feel like this is exaggerated. If you spent a couple days building a POC in python and found that it was useful then you can spend a couple days re-building it in a better language. You already know what you're making, probably have
478.
▲
by
sfn42
1y ago
On the other hand, TS is terrible. The type system is ridiculously complex in order to support all the weird stuff you can do in JS, I frequently get insane error messages with 20+ lines of archaic type gibberish and when I figure out the s
479.
▲
by
sfn42
1y ago
It's fairly rare that there is no wind at all, especially at wind turbine height, and if you have 100 different wind farms spread out across different regions you'll usually have a decent amount of them producing at any given mome
480.
▲
by
sfn42
1y ago
Sure, but they will generally work better if you wear your seat belt. The car is designed with seat belts in mind, what happens to people who don't wear them is more of an afterthought. That's why modern cars will beep if people f
More ›