Better HN
topnewbestaskshowjobs
Log inSign up

xxs

3,989 karma · joined Apr 3, 2014 (12y ago) · 2,846 submissions

Submissions

comment 5d ago · link · parent

of course, it supports only that type of memory. 128GB on a desktop 2 ram channel machine is massive, too

comment 5d ago · link · parent

That's a terrible statement. Perhaps it can apply to certain setups where compression (and decompression) shows decent results, in lots of applications it'd be a massive downgrade.

comment 6d ago · link · parent

I don't understand the point.

Yes, JIT has lots of intrinsics.I had to inspect the crc32 loop (128bit vector instructions) as I expected to be faulty in some cases of unaligned data but it was fine.

I am very much aware where the assembly code for Hotspot is.

comment 6d ago · link · parent

Java has lots of it, even crc32 has a similar loop. Few years back I had to manually inspect the crc32 loop (due to gzip warnings) when it was used on unalign arrays. It was ok.

String operations also contain instrinsics.

comment 6d ago · link · parent

G1 is the default is the most used one.

comment 1w ago · link · parent

The prices of building or buying rapidly escalated around mid 20s' We can say they didn't intend to crash but the inflation in real estate was rather obvious.

comment 1w ago · link · parent

The simple observation is that you're very young, if the js/rails the beginning of time.

comment 1w ago · link · parent

But that's exactly what happen in 2007-8 crisis.

comment 1w ago · link · parent

>Apple products

That takes the cake, I personally avoid anything Apple posted. There is much cult (and personality cult) involved it doesn't makes for any sensible discussion

comment 3w ago · link · parent

You can't use a fire extinguisher for one to put it down. Li-Ion effectively self-sustain when ignited.

The only version of putting it down is letting it burn out.

Morealso diesel is hard to ignite on its own, hence the ICE use compression not spark

comment 3w ago · link · parent

>North Korea or pre-unified East Germany, you know the difference

Most of the East side of the Wall was like that, it's just less known.

comment 4w ago · link · parent

there are no socketed laptop CPUs x86 in particular. To get a socketed laptop CPU it'd be a desktop one, which are not exactly efficient.

comment 4w ago · link · parent

Effectively there are no socketed CPUs for laptops, though, for way more than a decade already. Saying that as I'd fully support modular components, as in desktops.

comment 4w ago · link · parent

RAM uses a different process than the logic nodes you describe. RAM uses tons of capacitors, along with the the transistors.

Then there is the HBM which is an expensive process to mount on the chip.

comment 4w ago · link · parent

Yes, of course. It says - ball grid (array) in the article. Doing it by hand, e.g. with just hot air is proper hard. It's not hard with specialized equipment (that cost way more than the laptop, itself). Sourcing the chips is not easy either.

As for the videos and the Macs, you can see the same people (likely) soldering RAM as well.

comment 4w ago · link · parent

Random Identifiers -> UUIDs are (mostly) randomness, especially the v4 one. V7 leaks the time component, so you can hash that part (and randomize it again), of course in that case you'd need to have an explicit mapping and then lookup, but once you get to the internal identity you dont have to worry either.

As for the worries, most SHA family is good.

comment 1mo ago · link · parent

You can be much simpler, you can always one-way-hash your primary keys (along with any pepper), if you wish to hide them. Still, use UUIDs freely.

comment 1mo ago · link · parent

serialized ids are in most cases a mistake from business point of view revealing the amount of entities created, e.g. the amount of new user registrations each day. Just create a new user to sample.

Some of the bottle neck of having a central system issuing them one by one can be alleviated by high-low schemes (multiple the received seq. by a number, e.g. 1000 and use a local counter), still unnecessary effort.

comment 1mo ago · link · parent

UUID are amazing and should be the default primary key for pretty much anything. They can be independently generated and require no central shared location.

Until you have any reason to believe UUIDs (and not bugs or misunderstanding as the blog post) are the critical component in the system, just use them. Look at the odds for collision with a proper setup (ntp + any modern cpus) then look at odds for anything else being an issue.

comment 1mo ago · link · parent

personally, I disregard and ignore cross-language benchmarks. Benchmarks are hard, benchmarks in managed languages are extra hard.

And then the person writing the code has to be an expert in all languages involved to make it even half fair, instead of just a sound-bite/click-bait.

comment 1mo ago · link · parent

> is there any knock-your-socks-off dish

you need an example of what you consider such a dish.

Rabbits are pretty decent, as a kid we used to have quite a few of them at the village (along with all other kind of animals, incl. lambs, pigs, and goats). Either way it's rather easy to tell the meat apart and most meat(s) can be prepared to be delicious.

comment 1mo ago · link · parent

How is that even possible? It's a great movie (ah well watched in the period), done by people who were outcast to work on it - similar to the folks sent to the terrace in "Silicon Valley"

comment 1mo ago · link · parent

At least in the EU an account knowing filing tax evasion reports would lose their license and can be criminally charged.

comment 1mo ago · link · parent

I don't know the state law there but it's not uncommon for an account to be liable (and need to notify authorities in cases of tax evasion)

comment 1mo ago · link · parent

> stuff to German users, are you doing business in Germany

Yes, and the VAT must be paid. You'd need to have some EU member state registration to do so (and still pay the correct VAT-rate, it's different per country). If it's business-to-business it'd be somewhat different.

>but still ship there

The local folks will have to customs-clear it themselves, pay the import tax AND the VAT. It's doable but very consumer unfriendly and likely won't be doing much business at all.

With the regards to topic - the tax is still very much paid.

comment 1mo ago · link · parent

Under normal conditions the code gets jitted after some use... and the VM is free to deoptimize it when it reaches its max allowed generated cache.

The only code in danger is the one from libraries (e.g. zlib)

comment 1mo ago · link · parent

For JIT languages most of the code is dynamically generated, not available to be loaded back from the disk. Morealso, the allocations do happen at large chucks where the oom_killer also happens, so it's significantly less of an issue.

comment 1mo ago · link · parent

ref counting is expensive in multi-threaded applications. Overall it would have worse performance. When it comes to predictability: deallocating a linked list (for instance) would have to deallocate all of the elements. Dealing with reference cycles is also not simple, either.

comment 1mo ago · link · parent

For GC enabled languages swap is universally bad. Some gc-pauses are indistinguishable from a system crash. It's a side effect on not having tightly specified memory limits.

I'd rather have applications be oom_killed than having them swap out, the former is rather obvious and demands action.

comment 2mo ago · link · parent

>to en-US would see the American site even if they live somewhere else.

Instead we have google that would serve the pages based off the local ip (and switch any time possible) which is a "horrific" experience travelling through Europe. You get a different language every day. Totally ignoring the accept-language header.

It's even funnier as the roaming would result in having the host mobile network IP regardless where a person resides - still ignoring the lang header, of course.

12345
95