Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,386 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 4y ago · link · parent

It’s loosely typed, you don’t know what parts are compatible or incompatible with one another, you can’t test without deploying to CI and seeing the results, the syntax sucks, the white space sucks, etc etc.

comment 4y ago · link · parent

Using an off-site redis instance makes zero sense in the first place.

comment 4y ago · link · parent

Server 2012 (or was it 2008?) was absolutely terrible in that was absolutely Windows 8-ified with a forced full-screen metro start menu "experience," but that was fortunately rectified in the next release (Server 2016, I'm pretty sure).

comment 4y ago · link · parent

It’s coinciding with an AWS outage. Probably not unrelated.

comment 4y ago · link · parent

It’s straight out of 1984 groupthink. We have always been at war with Eurasia, they are the enemy.

comment 4y ago · link · parent

I meant the mechanics involved are complicated and not as simple as "seller Foo manually swaps out the listing details of product X for product Y."

But yes, you're right. The short and sweet of it is that it's just a gamble getting anything you can't physically validate or verify upon receipt off of Amazon.

comment 4y ago · link · parent

This is actually a very complicated topic. Amazon will let sellers of product X “claim” a product page of a (now) poorly performing product Y, or will themselves substitute product Y for product X (swap the listings but keep the ASIN).

It’s not even for remotely equivalent products: my subscribe and save for cat litter was replaced with a birth control test under the same ASIN, after being unavailable for a few months!

2378.

United States Camel Corps(en.wikipedia.org ↗)

2 points · by ComputerGuru · 4y ago · discuss

2379.

Ukraine begins use of Clearview AI’s facial recognition database(bbc.co.uk ↗)

4 points · by ComputerGuru · 4y ago · 2 comments

comment 4y ago · link · parent

The corollary to that: I'm from the Midwest where 40° F is t-shirt weather, but 80° in the Nevada desert doesn't feel much warmer than that.

comment 4y ago · link · parent

No worries, I understood it was a throwaway example that shouldn't be looked at too closely. You just have to remember that your DB isn't a model of what you want to require from your customers but rather a model of what you actually necessarily have and don't have. A field like the ones you're talking about shouldn't be marked non-nullable in the database if there's a chance you actually don't have that data (and when you are suddenly required to collect something you didn't have before, you're not going to have it).

Coming at this from a strongly-typed background, you acknowledge the fact that despite new regulations requiring a scan of the user's birth certificate in order to get an API token, that field can't be marked as non-null if you don't in fact have all those birth certificates. You are then forced to handle both the null and not-null cases when retrieving the value from the database.

So your API v2 can absolutely (in its MVC or whatever model) have that field marked as non-null but since your API v1 will still be proxying code to the same database, your db model would have that field marked as nullable (until the day when you have collected that field for all your customers).

If a downstream operation is contingent on the field being non-null, you are forced to grapple with the reality that you don't have said field for all your users (because of APIv1 users) and so you need to throw some sort of 400 Bad Request or similar error because (due to regulations) this operation is no longer allowed past some sunset date for users that haven't complied with regulation XYZ. In this case, it's a benefit that your db model has the field marked as null because it forces you to handle the cases where you don't have that field.

I guess what I'm saying is the db model isn't what you wish your data were like but rather what your data actually is, whether you like it or not.

comment 4y ago · link · parent

If you're interested in learning further, I wrote up everything in the "regular" (pre-UEFI) boot process here and have been told it's a very good crash course on how your PC boots up: https://neosmart.net/wiki/mbr-boot-process/

comment 4y ago · link · parent

I upvoted because I'm curious to hear what others are doing. We typically make sure to only make such breaking changes where either the now-required value or a sane filler value could be used. If it's the same API for the same purpose, it's usually not a stretch to assume the values for a new field are derived from some combination of an old field or else are primitive components of an old field such that they can be deduced and stubbed in your transition layer (or calculated/looked-up/whatever one-by-one as part of a bulk migration script during the transition). If your v2 is so drastic of a breaking upgrade that it bears no relationship to v1, I imagine your SOL and probably should have thought out your v1 or your v1-to-v2 story better, if only for the sake of the poor devs using your API (and you probably need separate tables at that point).

For other fields like your example of `avatar_url` I would use a placeholder avatar for all legacy users (the grey anonymous snowman profile comes to mind).

comment 4y ago · link · parent

This is absolutely amazing but can I beg you to include an option to filter by dew point? I don’t care about hot but I cannot handle humidity!

comment 4y ago · link · parent

I kept hoping someone would answer my question as it was nagging at me. Thanks!

comment 4y ago · link · parent

Except they will give residency to people that converted to Judaism via special programs not available to members of other religions.

comment 4y ago · link · parent

Yes, that Turkey is more fair than Israel.

comment 4y ago · link · parent

It's fitting that Freud's the one to describe this (and unironically tout its benefit? I can't tell.) as there's plenty of his own work that can be suchly described.

comment 4y ago · link · parent

Barely worth mentioning but from your Google Books link, the Chaucer and the City result is an OCR error; clicking the preview shows that it is 'rammish and somehow that was interpreted as frammish.

EDIT: Same with the result from The Royal Dictionary Abridged

EDIT: All the results I can find pictures for are actually `rammish or |rammish or similar. I would assume any results w/out scans available are similarly suspect.

comment 4y ago · link · parent

They didn't use to, though. And you can't get that old functionality back while disabling the new.

comment 4y ago · link · parent

(For anyone going just by the title: this is the purchase of loot boxes.)

I’m personally against this for moral reasons having to do a lot with corporate greed and and then some to do with gambling in general, but I do want to point out this isn’t remotely new and isn’t something that the digital gaming/entertainment industry came up. When we were kids, we all used to gamble by buying Pokémon booster packs for $4 or $5 hoping they would contain a Charzard or a holographic Magikarp only to discover just another Koffing. That was specifically marketed towards and aimed at kids - probably even younger than those playing FIFA.

Although - I realize now that I may be speaking out of ignorance as I have no clue if the Netherlands allowed the sale of Pokémon cards to minors in the first place?

(I learned a few years ago that the smarter guys used to go in with a scale and weigh the packs to see which one was heavier due to the presence of a holographic card until Hasbro/TPCI wisened up and began adding blanks to make up for the weight difference.

comment 4y ago · link · parent

I’d have upvoted if you just omitted the last word. I’m not sure where the money laundering obviously comes in (I’m sure it’s possible, I just don’t see how it’s particularly applicable here).

comment 4y ago · link · parent

Yes; BBC just made its news available over tor a few days before: https://www.bbc.co.uk/news/technology-50150981 (with the stupid title BBC News launches 'dark web' Tor mirror)

comment 4y ago · link · parent

It just requires a regular login, 2fa or otherwise. Once the session cookies are there, it would presumably continue to behave as normal.

comment 4y ago · link · parent

Twitter’s financials are public. They aren’t making any obvious money from having your phone. It’s more likely there to let them stop people from harvesting/selling accounts.

comment 4y ago · link · parent

Then don’t scan when writing?

comment 4y ago · link · parent

I have an “I don’t know what I’m talking about but…” gut feeling if it works differently the way you explain then you are running into a bug and something isn’t working the way it should (as in, it should be slow and being fast means something is wrong).

comment 4y ago · link · parent

I thought this was notable since it seemed to me unlikely that such a decision was made without some nod of approval from the Chinese government, which would mean there’s a lot to read between the lines.

2399.

TikTok suspends upload of new content from Russia(bbc.co.uk ↗)

2 points · by ComputerGuru · 4y ago · 2 comments

comment 4y ago · link · parent

These are countries where parts are expensive and labor is dirt cheap. The economics (of everything) work out vastly differently. It’s hard to imagine how different life is in countries like that without either living there or using a time machine.
1
798081
277