Better HN
topnewbestaskshowjobs
Log inSign up

pqwEfkvjs

38 karma · joined May 25, 2017 (9y ago) · 33 submissions

Submissions

comment 2y ago · link · parent

> Where possible avoid simply using id as the primary identifier for the table.

I've found the opposite true in my limited experience, at least when doing any sort of ORM, then having id implicitly as the primary key makes life so much easier.

comment 2y ago · link · parent

So the waterfall model is the best after all?

comment 2y ago · link · parent

How do you deal with people who don't pay back in time or ever? What's your favourite tool for dealing with such situations?

comment 2y ago · link · parent

Tiktok is a platform for kids and teenagers (right?), but teens don't have money. So how's their business model even supposed to work?

comment 2y ago · link · parent

hot bloodedness ~= num dependencies

comment 2y ago · link · parent

Tesla owners are probably so rich they can just buy another when the car breaks down.

Or why would anyone buy a Tesla in the first place if they were not angry at money.

comment 3y ago · link · parent

What's the false positive rate i.e the percentage of legit user getting stuck in the loop?

comment 4y ago · link · parent

IMO Stadia was born dead because of the lag built into its design. Most googlers I talked to when it was announced did not think about it at all, it was all about how cool the stack behind it was, but from a gamer's perspective I was just terrified about the idea.

comment 4y ago · link · parent

Thanks for sharing this. I just spent last 10 hours reading it, but I need to stop to get some sleep now.

comment 4y ago · link · parent

EU has already solved this problem 10+ years ago using electronic ID cards. You can transfer money, sign contracts etc with these. You have your private key on chip + PINs for 2nd factor auth. Why not build a block-chain on that tech?

comment 4y ago · link · parent

Don't think, just execute

comment 4y ago · link · parent

> No plan survives contact with the enemy. I've also heard a variation like "It is certain that the plan will fail, however, without the plan everything fails."

comment 4y ago · link · parent

It is somewhat easy to cheat through these N+1 interviews by grinding tons of practice problems before. At least that was my strategy. Sure I can implement DFS or a linked list, but I am a pretty suboptimal developer, especially when working with huuge codebases.

Maybe they should ask to implement a feature or fix a bug in some huge OSS project. That would evaluate skills relevant for a job in FAANG more closely imho.

comment 4y ago · link · parent

How does that justify Russian actions right now?

comment 4y ago · link · parent

Oh my god, get a grip man.

comment 4y ago · link · parent

No, it didn't.

comment 4y ago · link · parent

https://censor.net/ru/news/3318827/rossiyiskie_okkupanty_sda...

It is in Russian, but Google translate does more-or-less ok job translating it.

comment 8y ago · link · parent

Just use Firefox with Adblock/Ublock/Noscript. Even better, turn off Javascript and you'll never see an ad again.

Unfortunately, there are too many devs who build their sites that completely get crippled if you by default don't allow Javascript.

Even if you enable it, the site may still be doomed, because it tries to load fonts, libraries, css and who-knows-what kind of s* from external sites.

Fg newage apatheistic anarchist hippie devs. Don't bundle in tons of dependencies to your freaking sites. If one of the dependencies goes down, so does your site. F* you! And f* those whorebag ads!

comment 8y ago · link · parent

Well, now it is a good time to buy.

comment 9y ago · link · parent

Found the answer myself from the release docs: > The Language.pipe method allows spaCy to batch documents, which brings a significant performance advantage in v2.0. The new neural networks introduce some overhead per batch, so if you're processing a number of documents in a row, you should use nlp.pipe and process the texts as a stream.

So if you have an event based system where you can process only a single document at once, it does not make sense to upgrade yet, because for a single document case the runtime performance was 10x-100x slower, at least with 2.0 alpha version.

comment 9y ago · link · parent

Kudos to Matthew, Ines and others making this possible.

I haven't checked it out myself yet, so I wanted to ask that are the performance issues fixed that were haunting the 2.0 alpha version?

comment 9y ago · link · parent

and Bitcoin

comment 9y ago · link · parent

I think it advocates wrong attitude towards software development and I think most points made in the article are just plain wrong and stupid.

I guess the main reason for my condescending sentiment is due that the author gives 0 examples of code that requires tests vs code that does not so it is actually not.

comment 9y ago · link · parent

Doing TDD is a habit and if a developer does not find unit tests useful or practical, then I don't think they are going to write tests that are more complicated than unit tests.

Btw, what type of software do you write and how do you know if it actually works?

comment 9y ago · link · parent

Yes, but devs who don't write unit tests are probably not going to write integration or acceptance tests either.

Maybe except of a one guy who I talked to a while ago. He does not write unit tests, because static type checking in C++ takes care of everything that unit tests do (according to him), but I actually have seen his code that contained few system tests, so there are exceptions.

comment 9y ago · link · parent

"Unit tests are pointless" -- this is often said by developers who suffer Dunning-Kruger syndrome. Except the devs who are actually working on something more exotic that cannot be tested well automatically.
12