HNHacker News
TopNewBestAskShowJobs

throwaway189262

1,696 karma · joined July 23, 2020

submissionscomments
throwaway189262··on .NET GC Internals mini-series
Micro benchmarks are written to avoid creating garbage since code is faster that way. C# wins these comparisons easily.

I haven't found a comparison of JVM vs CLR GC but I know the .NET team has intended to introduce a ZGC style collector for a while.

The need is not as severe in CLR because it produces less garbage.

But CLR stop the world pauses are long and it's definitely a problem for some uses cases. Many companies focus on their P99 latency these days and a 1 second GC pause will ruin those metrics. And stuff like HFT just can't be done in C# without turning GC off

throwaway189262··on .NET GC Internals mini-series
.NET GC is nothing to write home about, pretty standard with long stop the world phase. It's not super interesting so nobody raves about it.

Java's new collectors ZGC and Shenandoah are state of the art, perhaps the best GC's in the world. There's collectors with lower latency and higher throughput but nothing out there that achieves both like Java's new collectors do.

It's a large part of why you hear that Java "performs better in production" than Go and C# even though those languages are faster in micro benchmarks. Java doesn't have value types and generates a ton of garbage but the collectors are good enough that it's still competitive with these faster languages.

Some will tell you that Go's GC is state of the art but I disagree. Last time it came up I started a huge flamewar in the comments so I'll avoid comparing them :).

throwaway189262··on .NET GC Internals mini-series
Lol this might be a common thing in MS language projects. I heard the Typescript compiler is also a single notoriously large file
throwaway189262··on Toyota's game-changing solid-state battery en route for 2021 debut
High speed satefy mechanisms could mitigate this. Put a grounded pad under the car and cut power if anything flows for more than a microsecond.

I think it's doable

throwaway189262··on Toyota's game-changing solid-state battery en route for 2021 debut
It's easily doable if you increase the voltage. 600kw is easy if you're using 10kv, only 60 amps
throwaway189262··on China wants to build an open source ecosystem to rival GitHub
Nobody in the US is starving. It's just not possible. The government will give you $200 a month for food and there's free meals for the poor in every major city.

I've never met a homeless person that was starving and many of them turn down free food because they don't need it.

As far as outsourcing, look what China is doing in Africa. Plenty of outsourcing in appalling conditions

throwaway189262··on China wants to build an open source ecosystem to rival GitHub
China's newfound prosperity is HEAVILY concentrated in ~100 huge cities. Smaller cities are poorer but livable like eastern europe. The countryside is basically a third world country.

Traveling through US or Europe you won't find people living in cinderblock shacks with a dirt floor and no plumbing. In China it's still the norm outside of cities.

There's not anybody starving to death, but I wouldn't consider China a wealthy country, not even close. There's very wealthy areas but a large fraction of the population still survives on a few thousand dollars a year.

throwaway189262··on China wants to build an open source ecosystem to rival GitHub
Possibly never. The reason China's isolationist policies work is their massive population is big enough to form a mini world without a ton of knowledge gaps.

The US and maybe western Europe could be in a similar position, if they wanted to.

IMO the reason you don't want to be isolationist(as a big country) is more about political clout than tech. China has no "soft power" because their firewall works both ways.

The US and western Europe have military prescence and political allies worldwide because the free flow of information and technology fosters all sorts of political, corporate, and cultural mixing.

What influence China has on its neighbors (and worldwide to an extent) is maintained through pressure and threats, because frankly, their ultra nationalist policies just don't make many friends. I personally don't think this is sustainable long term but it is yet to be seen. Instead of allies wanting you to succeed, other nations are encouraged to obstruct as much as possible to weaken you and your unwelcome influence. You can see this unfolding in the last few years with increasing tariff and trade restrictions on China. And I don't see it letting up until Xi is out

throwaway189262··on China wants to build an open source ecosystem to rival GitHub
They've also blocked github in the past
throwaway189262··on Parler partially reappears with support from Russian technology firm
True. And most companies would decide it wasn't economical to run such a controversial site at scale.

But this is being painted as "monopolies against free speech", and it's not. There's hundreds, maybe thousands of hosting companies. At least dozens of ways to take payments. Thousands of law firms.

I think everyone is in agreement that big tech has too much influence. But big tech isn't what's keeping Parler off the web. It's not "leftists" either. It's legal liability for things like the capital riots.

Legal liability, aka the threat of government is what's keeping Parker offline. Not big tech. All the US companies are just falling in line, protecting themselves from lawsuits and expensive court cases

throwaway189262··on Why do they still make car alarms? (2015)
It's likely old and carbeurated. Running pump in reverse may serve to empty the carbs fuel "bowl".

Some cars can run a good while off the bowl. Enough to get a mile maybe.

throwaway189262··on Parler partially reappears with support from Russian technology firm
True. But there's nothing stopping Parler from running their own servers either. There's many controversial physical businesses in the US that would have trouble renting. But nothing stops them from buying their own land.

That's the issue with Parler hosting. With hosting, you're digitally renting.

throwaway189262··on The Great Filter – Are We Almost Past It? (1998)
> While it's difficult to imagine a scenario in which humanity extinguishes itself

I used to believe this, until the pandemic. Now I think bio weapons are infinitely more dangerous than nukes. Imagine if COVID was a few times more contagious and as deadly as it's close relatives SARS and MERS. Not a big stretch really.

We would be pondering extinction right now. If the power was still working.

throwaway189262··on E Ink has developed a 2nd generation Advanced Color E-Paper
Facebook is only 16 years old. Think about that. 20 years ago everyone was using 56k modems and JS barely existed.

20 years is an absurdly long time in tech

throwaway189262··on Enter Sandbox: Google is building an internet without cookies
Advertising was around for thousands of years before tracking. The fear is that they won't make as much money and will have to go back to how they did it before all the privacy invasion. Very sad indeed.

It's easy really, you just put ads on sites visited by your target market. That's how advertising was always done before Gattica style snooping was involved.

Individually targeted advertising needs to be illegal. It's bad for society.

throwaway189262··on The surprisingly difficult problem of user-defined order in SQL
You can emulate a tree easily by just putting new items half way between adjacent ones. If two items are next to each other have a fallback that regenerates the "tree" by re spacing all the items. Re generating the spacing is expensive but rare if you pick a big enough range.
throwaway189262··on Rust is a hard way to make a web API
Classic .NET is slow as hell.

One of our Java backends handles a few thousand requests/second with no real optimization.

The ORM story in Go is terrible compared to Java and C#. Probably due to lack of generics. I won't touch it personally till this changes

throwaway189262··on Parler CEO Says Service Dropped by “Every Vendor” and Could End His Business
I don't think the average person is at risk of starting riots with white supremacists. Parler should be treated the same way as Al Queda. Totally radioactive
throwaway189262··on Parler CEO Says Service Dropped by “Every Vendor” and Could End His Business
It's becoming obvious that the capital was stormed by crazies largely organized on the platform. It's coordinated in a way by companies realizing it's an enormous legal and political liability to have a relationship to them
throwaway189262··on Parler CEO Says Service Dropped by “Every Vendor” and Could End His Business
Ehhh I've looked at parler out of curiosity. Basically full of hate, conspiracy, calls for violence, blatant racism "kill blacks" type stuff.

I'm amazed companies were willing to work with them in the first place. Providing services to a company like that is like providing service to the KKK

throwaway189262··on Why Move from Gradle to Maven
That's why your builds are slow I guarantee it. Our build times dropped from ~4 minutes to ~20 seconds when they got everyone machines with SSD
throwaway189262··on Why Move from Gradle to Maven
We have a 100k LoC project that builds in 15 seconds in maven and that includes packaging everything into an Uber jar.

Do you have a fast SSD? It makes an enormous difference in build times

throwaway189262··on Why Move from Gradle to Maven
I have used both and like maven better. I do not like the idea of using a turing complete language to define your builds. Every Gradle project I worked on eventually devolved into build code insanity.

Give me any maven project and I can figure out how to build it and modify dependencies and stuff within minutes.

With Gradle, it can be an hour of messing with code if the project maintainers got creative.

I've never had a project that maven, with it's mostly fixed build setup, couldn't handle. Having a turing complete build script is like turing complete cooking recipes. Pointless and definitely going to create more problems than it solves

throwaway189262··on Why Move from Gradle to Maven
There's a maven daemon project now that closes most of the speed gap for my projects
throwaway189262··on 5G Advocates Renew Attempts to Poach Wi-Fi’s 6GHz Spectrum
Eh it's debatable but I don't think this is entirely accurate.

WiFi is very good at maintaining maximum transmission rates. High power is needed when doing stuff like QAM64 over the air.

If wifi was louder than it needed to be, you wouldn't have to be mere feet away from the router to get maximum speed.

Wifi bands are saturated because there's so little spectrum for a widely used service. Everyone has multiple wifi transmitter in their house yet there's only enough spectrum for three non-overlapping channels.

Imagine there was enough spectrum for 30-40 wifi channels. There would be hardly any overlap and everybody would have better range. Maybe 500-1000 feet line of sight.

throwaway189262··on The Lab Leak Hypothesis
Sorry 1977 you are correct
throwaway189262··on The Cole-Bar Hammer, a 7-year old Kickstarter that is still going
Elite has 100x the content and playability of star citizen and is probably thousands of times less buggy. They're not even comparable.

I downloaded star citizen out of curiosity during free fly last year and there's virtually nothing to do. That's if you can even get into your ship without crashing. It took me many attempts. Core gameplay loops just aren't there. The only people having fun are those that "make their own game" by role playing.

I've played a good amount of Elite. I got bored eventually but there's a ton of solid gameplay and virtually no bugs. It's a better game than star citizen in its current state in every way I can think of.

The buggyness of star citizen is unforgivable. I've played many early access and alpha games and nothing I've touched is as unplayably buggy as SC has been for years.

throwaway189262··on The Lab Leak Hypothesis
The virologist "bat lady" https://en.m.wikipedia.org/wiki/Shi_Zhengli

SARS leaks https://www.the-scientist.com/news-analysis/sars-escaped-bei...

Leaked cables https://www.washingtonpost.com/national-security/state-depar...

US coronavirus research collaboration https://www.nature.com/articles/d41586-020-02473-4

Wuhan Institute of Virology employees are cited in a huge number of Coronavirus research papers. Some research may be done elsewhere but AFAIK it's the only lab in the world doing lots of work with SARS and relatives. The "batwoman" researcher who works at WIV is somewhat famous for gathering thousands of bat viruses from caves across China.

In addition RATg13, the closest related virus to COVID, wasn't published by the lab until after the pandemic outbreak. Even though the sample was supposedly collected years ago. If they're sitting on random unpublished coronavirus genomes doesn't it seem likely that COVID was one of these?

Theres too many coincidences for me. I would bet money that it's a lab leak

throwaway189262··on The Lab Leak Hypothesis
SARS has leaked from Chinese labs multiple times. And the only lab in the world specializing in coronaviruses was ~1000 ft away from the first cases. The leaked US diplomatic cables urge the US to help China with this very lab because biosecurity there was so concerning to visiting scientists. It's also the only BSL4 lab in China. In addition the head of that lab has published numerous papers about generic engineering of coronaviruses. That lab also discovered the closest ancestor of COVID.

COVID is also interestingly contagious among minks and ferrets, common lab animals used for serial passage. It's also undergone remarkably little generic drift since the pandemic began. Since the moment it was released it was already human adapted. Extremely suspicious for a brand new virus.

For SARS, MERS, etc we were able to find a 99.9% identical virus in nature. The closest one we have to COVID is 96%, quite distant genetically.

The last time we couldn't find the virus in nature was the 1976 flu pandemic. 20 years later scientists began admitting that it was triggered by a lab leak. When genetic engineering became advanced enough it was obvious that the strain was identical to a pandemic flu strain from the 50's.

In reality, the scientist new from the beginning that the 1976 pandemic was a lab leak but the information was thoroughly suppressed so that the soviet union would cooperate with monitoring. This is exactly what happened with China early in the pandemic. Nobody wanted to criticize people being welded into their homes because China was providing data on the virus. I am completely convinced that this is why the lab leak hypothesis for COVID is being "debunked"

To me there is overwhelming evidence that COVID is a lab leak from the Wuhan Institute of Virology. IMO the only reason everybody is denying it is the severe political repercussions for China essentially killing more people than WWII. US researchers are co-authors on many of the institutes papers on coronavirus genetic manipulation. The US was funding some of their research, presumably because gain of function research is banned in the states.

throwaway189262··on Why Jira Sucks
>>> Fixing a bug or delivering a feature where you haven't documented the process, (how the criteria were decided, when it was tested and deployed) is as good a running a web site nobody visits.

Hard disagree. Unless you're writing software for clients a crapton of ceremony goes into JIRA tickets when 99.9% of them will never be looked at again once marked closed.

>>> If devs aren't working on priority items, are off target to timelines, are not following QA process or not following agreed specs then the company could be losing money.

JIRA is used when companies have no trust in their devs. We all use Git. There's a perfect, permanent record of anything I ever touch. Yet management is always worried we're going to "get distracted". As if that wouldn't be incredibly obvious.

It's like hiring a plumber to fix something then following them around the house to make sure they don't straighten your artwork or do the dishes while they're at at.

There's a pervasive theme that "PM knows best" among companies obsessed with JIRA. The best companies I worked at had no project managers at all and things ran great.

← PreviousPage 7 of 18Next →