skysight-inc/HackerNews huggingface dataset:
My main problem with Java is that it's picky, and has some static typing, but it also has heaps and heaps of loopholes in the type system (that turn into runtime exceptions), so it's this weird compromise where everything is substandard. I've found that Go "feels" a lot more like a dynamically typed language, but still has the good IDE support that you're talking about.

If you want to see how much progress there has been in production-quality statically typed languages, write some multithreaded code in Rust. In addition to being memory safe without a GC, the compiler also confirms that your code is threadsafe.

Both those guarantees can be violated using the "unsafe" keyword; Java has similar mechanisms that break memory safety. Java doesn't provide meaningful thread safety, in the same way that C's malloc/free don't provide meaningful memory safety -- it's possible to write thread- and memory-safe programs in both languages, but the Java compiler doesn't really help out much with thread safety, just like the C compiler doesn't typically check for use-after-free, etc. Go's thread safety semantics are closer to Java's than Rust's (though multithreaded programming in Go is more ergonomic than in the other two languages).
No, the systemic cleansing party didn't hold onto their seat very long. This is “merely” the organic actions of individuals, when those individuals are a substantial portion of the population.

The racist undercurrents in this city are _strong_.
Fallon’s screen name on twitter is Fallon.eth
I really like the C# object initializer syntax, and it looks like the next version might get rid of the last problem I had with it. Right now it does not play nice with nullable types, if a property is declared non-nullable you have to use a constructor or some ugly trick to circumvent the warnings. As far as I understand this will be fixed in .NET 7 (not sure if the decision is final, though) and you can get the full benefit of non-nullable types when using object initializer syntax.

In general there has been quite some effort to allow a programming style in C# with less of the ceremony and verbosity that is often associated with C# and Java. And to me this does make working with C# more pleasant.
Google cannot legally ship, as part of Android, a carrier-agnostic messaging app like iMessage.
When did I accuse you of lying?
While I would prefer the government help people first focus on their physical health and see what mental health issues clear up, I also see nothing wrong with letting consenting adults use whatever molecules they desire provided they are not operating dangerous machinery. Maybe it's a suitable bandage until people can learn how to dig into root causes.
Sure. Also 5-6 days of recovery time each week made me hurt a lot.
Magnuson Moss ensures that it doesn't void your warranty in the US.
It’s not about Bill Gates, he was just mentioned because he was included in the linked YouTube clip. And people abs hate him as evidenced by the links in the article to people thinking he is chipping them
If one buys a home for 100k, then the prices drop 50%, they can sell, say, for 50k, and buy a new home for 50k.

Considering the price drop, the new home will be equal, in value, to the one they originally bought for 100k.

This does not include transaction prices (which can be high, of course), but they incur regardless.
What stuff does C# objectively do better than Java?
Sure, but early in this transition it is slow&painful.

At my last org..

The old process of "Hey, can you provision a Postgres database for me please?" was managed in a web ticketing system, change managed, and had 24 hours turnaround! As was most other requests - VMs, NFS shares, FTP servers, network/FW changes, etc.

The new process was "Hey is there a terraform module for Postgres?" followed by weeks/months of prioritization and specification battles with the platform team. Somehow despite the platform existing 18 months, we were the first team to need a.. database? Then they didn't want to support Postgres and were forcing everyone onto Aurora. Then it look N months for it to come up in their queue.

Rinse&repeat with every fundamental building block of a cloud offering, ad infinitum.

This is why I strongly prefer the embed model until the platform has proven itself to at least be at the "80% solved" end of the spectrum.
Rate limiting should be used to mitigate this, although I suppose a botnet could overcome that to some extent proportional to the size of the botnet.

And for anyone who didn't read TFA, this incident goes well beyond leaking what phone numbers use the product, it leaked the usernames associated with each as well.
The story is known to be inaccurate in technical detail¹, so it's not impossible that it's inaccurate in social detail as well. There's some LGP-30 code on Bitsavers including scanned coding forms, and the ones initialled ‘MK’ are not notably different in level of commentary from the others.

¹ https://news.ycombinator.com/item?id=20489273
Hi sirsinalot, I wrote a book that might be of interest to you: https://nobsmath.com/ = math for adult learners

Here is a PDF preview to get an idea of the contents: https://minireference.com/static/excerpts/noBSmath_v5_previe... and a standalone printable concept map: https://minireference.com/static/conceptmaps/math_concepts.p...
There is A LOT to learn, but I assure you that as an adult you can understand the material much more easily, especially with our background in computing now.

I highly recommend you try rekindling your relation with math one day. It has lots of knowledge buzz moments, when you see things fit together. Feel free to email me if you have any questions, or you can post them on this forum for readers of the book https://gitter.im/noBSmath/community
I think it's the same in the US. Actus reus and mens reus.
Friendly reminder that leaded gasoline is still used today in airports all over the USA. If you live near an airport you are still affected by this in 2022.
Ya the original is a good example but that's probably still too apocalyptic, one can watch that and scoff saying "it'd never get that bad".

Stuff that's more focused on the immediate, painful changes but still in line of sight from our current reality. Children of Men did a pretty good job pulling some subtle "here's how society has changed for the worse" world building in (obviously all based on it's underlying premise that no more children are being born)
Admit it, you never will.
Germany GDP per capita 1992: $26,000

Germany GDP per capita 2022 (IMF estimate): $51,000

BLS inflation adjustment calculator: $26,000 in 1992 = $55,000 in 2022.

Germany has seen a net per capita contraction over 30 years.

Germany's GDP per capita was not $38,000 in 1991. It was $46,000 in 2019 for reference. That 1991 $38k figure is drastically higher than the US figure was at the time. Their GDP per capita hasn't been higher than the US on a sustained basis in the past 40+ years except for a brief period in 1995 (where it was a few thousand dollars higher).

And this scenario isn't unique to Germany, nearly every economic power in Europe has seen the same intense, generational stagnation (that includes Britain, France, Spain, Italy).
> which means it can suspend your green thread at ANY instruction

True. Out of curiosity: what's the use case for this?

Surely side-effects-out-of-your-system is enough?
Your underlying assumption is I am saying WFH is better for socialising. I’m not.

I’m challenging the narrative that you are strictly socially worse off by working remote.

I think for a lot of people, that social fix is easily within reach in some other form.
Driving in general is completely unnecessary and results in all sorts of less than desirable outcomes. If it was up to me, whole industry would disappear unless the vehicles were for industrial or military use only, no were near humans, autonomously driven, zero emissions, etc.

Largest issue is not even death and pollution, it’s that they literally enable culture division and isolation - which is toxic to real progress.
I agree with most of your points, but also really dislike Visual Studio. Rider has very good compatibility (unless you care about the constant hangs and crashes and buggy, nonsensically laid out eye sore UI and dumb defaults and ...) and VSCode (the one with all the proprietary Microsoft stuff) is quite usable. What kind of blew me away was finding out that they support Jupyter notebooks now.

The Visual Studio team seems to dislike dotnet supporting other platforms, but it's one of the most critical things for its survival. The more the VS team hates it, the more likely it's to be the right choice (probably a good rule of thumb for building IDEs too).
The Crispy Resource Allocation Assistant for Large-Scale Data Processing
It will take more than green threads to be equivalent to Erlang. Erlang's concurrency model depends upon a completely non-shared memory model, which Java will never have.

Edit: and programming it in Java will always be more laborious than in Erlang. Sure, you could put Erlang on the JVM (as the Loom folks want to do) but then is Java really the winner here, or did Oracle just make an alternative BEAM?
Sorry, but ”computers work by ones and zeroes” is one of my pet peeves.

It is true in the sense that 1 and 0 are common representations for true and false in computer science, but really, it is false and almost certainly establishes magical thinking in the layperson.

Modern computers run on electricity, and in electrical circuits such as computers, true/false is represented as a transistor semiconductor being in a conducting or non-conducting state. Current can either flow, or it can’t.

In fact, one could build a computer out almost anything that lends itself to both being on and off, and to being controlled by its on/off state (or that of another equivalent assembly).
I had that with the autorouter. I was doing a board that had one critical area, a custom switching power supply. The rest was slow signals. The switcher area had to be given a little extra space and some obstacles so the autorouter would do a tight job there. For the rest, whatever the autorouter did was fine.

I, too, am amused by how wound up some people get about this. It's a tool.
A Complete Guide to VS Code Extension Testing
I don't see this as a dark pattern. Isn't it the equivalent of paying for extended support for legacy/EOL systems?
imagine something being such a national priority you limit your pool of possible candidates to people with email addresses from specific universities
Tested an i7 1260p recently and it ran like a beast. What's interesting is they have a discrete GPU now which is the Intel Arc that should take a lot of the load off the CPU.
Lots of alerts and console prints. Which sucked, but the modern tools support the giant monstrosities of today. So not a complete win.
The only mechanisms at the CDR Database that look like actual long-term offsets are in the mineralization category, meaning the production of carbonate rocks from atmospheric CO2. The problem is you need the counterion to make these rocks, i.e. calcium or magnesium, and these are often already locked up in rocks. Mine tailings have been proposed as a source, I don't know.

https://en.wikipedia.org/wiki/Carbonate_rock

The sci-fi approach that would be great is pulling atmospheric CO2 out of the air and making diamond from it. The technology is sort of there already but the costs are ludicrous. The pathway is atmospheric CO2 + water -> methane -> synthetic diamond production. That last is a slow energy-intensive process, but such diamonds would be easily distinguishable from the 'real' geologic diamonds (as they'd have the same amount of carbon-14 as the atmospheric CO2 does). Worth someone writing a business plan I think.
I already fixed it, by not using Twitter.
I didn't claim China was underdeveloped. They're very obviously the premier industrial power in the world.

The people demanding ahistorical special privileges are so-called "intellectual property holders". I have zero sympathies for the plight of these parasitical rent collectors. They certainly don't hold any special sympathies for the American people.
I'm not sure why I missed the combinations(..., 0), I'm pretty certain to have tested in a previous iteration (maybe because I wasn't using math.prod() initially); code and text adjusted.

For the map yeah I thought it wasn't recommended by Python style but I personally prefer it so I'm adopting that change as well.

For the sign change, your initial comment (before your edits) was proposing the (1, -1)[i & 1] trick, which I actually like better than negating all the roots. At least for clarity in understanding the blog post (which mentions the sign juggling), I think it's better to keep it that way. I added a link to your comment for anyone looking for further improvement.

Thanks for the all the suggestions :)
Isn't this the second or third time for Twitter to have this exact same flaw? From 2020: https://www.socialmediatoday.com/news/twitter-uncovers-secur...

I might be confused; this is a very old feature of Twitter that does have an opt out. Maybe this new disclosure is the opt out didn't work? https://help.twitter.com/en/safety-and-security/email-and-ph...

It's a different problem, but this year Twitter also got a $150M fine for illegally using the phone numbers they demand from users for marketing purposes. https://www.theverge.com/2022/5/25/23141968/ftc-doj-twitter-...
In India, its not expensive at all, but every sim card is available only after you provide a copy of your national id card aka Aadhar Card.
> You found him-- did you get to really talk to him?

Yes. Here's the e-mail exchange: http://acuozzo.sdf.org/Mel.pdf

(I moved all of my e-mails to Gmail via Thunderbird years ago which is why the sender address is different.)

I found him after Bill Bryner mentioned in an e-mail that Mel "was trying to become an expert (Master?) at Bridge and also played flute with the UCLA pep band for basketball games".

I figured he hadn't moved far from where he was working in LA at the time and I was right! His e-mail address was listed among the members of the Thousand Oaks, CA ACBL Unit 532 Bridge club/league.

> Find out how he looks back on that era? Did he keep programming?

I couldn't find any of this out because I scared him away. My guess is that he just wasn't the nostalgic type.

> What scared him away?

My guess is that he was spooked because I contacted his son a few days prior.

… and the webmaster responsible for running his son's business' website.

… and several other people. I must have seemed like a genuine creeper.
Jetbrains rider is not mediocre by any stretch and many C# developers prefer it, even on windows, even though it’s paid.
Gigantic Crowds Expected for Inaugural Launch of NASA’s Mega Rocket
alert(…);

I taught myself programming with ASP Classic (VBScript) completely unaware of debuggers and it was normal to dump variable values to the output to try understand what was happening.

I did the same with PHP and initially the same with JavaScript.

However, once I learnt how to debug in Chrome’s dev tools, the idea of working without a debugger for any programming became unthinkable.
A single juror cannot nullify - they can cause a hung jury which then results in a retrial, where it is mostly likely not going to contain a juror that advocates for jury nullification. If you cannot create consensus to nullify then you're most likely just wasting time and money of everyone involved and clogging up the legal system for other people who have a right to speedy trials
> Not as fast as C++ at sub 5 micros.

Try sub 5 nanos. I was curious awhile ago at how fast C++ hash set lookup was compared to C#, and it consistently performed a lookup at 1 nanosecond. I tested with up to 6GB of data and then stopped because it was taking longer to generate random data then it was to run the benchmark 10,000 times.

C++ benchmarks here[0]. It's a bit more complicated then just a pure lookup since I was pulling some code out of a larger app, but the benchmark is only measuring the lookup speed. I did the C# benchmarks with BenchmarkDotNet or something like that, I can never remember the exact name.

[0]: https://gist.github.com/ambrosiogabe/66a6e2fdc77e6a600e570f4...
But what kind of C program is he comparing against? Single threaded ones? Not heavily optimized ones? Optimized concurrent C programs that use locks rather than lock-free data structures? Or heavily optmized C programs with lock-free data structure? It is unclear to me.

Also, wondering how much of that overhead in the C program is due to malloc (can be overcome by memory arena)
I'd pay very very good money for a Framework router or a Framework TV...

Imagine hardware that you control, that you can upgrade piecemeal when something gets out of date. Besides the eco friendliness, it just sounds... nice?
Thanks! Just watched, I think he's really underestimating how many companies are already trying to be the SpaceX of fission, and how difficult the regulators make it.

When he says "you build it, power a building with it, and the government will come around," that's a good way to land in prison. A while back I was watching a presentation at a conference for reactor startups, which warned that the government doesn't play around and will prosecute anyone who fissions atoms without approval.

And to some extent that's justified. The downside of those rocks that heat themselves when you put them together is that if you're not really careful, they can heat up way more than you wanted. Powering a building isn't the hard part.

That said, the NRC is way too obstructionist. We could follow the lead of Canada and be a lot friendlier to new technology, without compromising on safety.

Regarding his fusion comments, of the 35 fusion startups there are a handful attempting advanced fuels that could generate electricity directly, instead of just producing heat. Helion for example will be attempting net electricity production in 2024, without a heat cycle.
People complaining about UB frame it as if it was some intentional malice from compiler authors, a punishment for writing non-standard code.

The reality is much more boring: writing fast, well-optimizing, spec-compliant compiler is hard, and the way current compilers deal with this makes it nearly impossible to know when UB is exploited for good things that users demand, and when it creates nonsensical behaviors.

To tame this complexity, optimizations are typically decoupled into multiple analysis and transformation passes, with each pass doing only its own thing without a context. But this architecture also makes it nearly impossible to see the full picture. The pass that marks "this can't happen" cases doesn't know if it's propagating spec-compliant rules and useful checks done earlier in the function that may be useful for later optimization passes, or creating a weird action at a distance from UB code. The later "delete code that can't happen" pass doesn't know if it's cleverly removing redundant functions hoisted out of loops, remains of `if (0)` and inlined functions, or if it's deleting your slightly-wrong overflow check.
Reading through it again, it's interesting how it's relevant not only to the topic of money laundering but also to the question of whether and to what extent AI-generated output is "colored" by the copyright of the training data.
Another tool I've used if you have the Anki app is the Anki-Connect plugin https://github.com/FooSoft/anki-connect

It supports curl, python, javascript, etc to add cards and supports an incredible amount of actions to interact with Anki.

Example:
curl localhost:8765 -X POST -d '{"action": "deckNames", "version": 6}'

I setup a crude "GUI" in Jupyter Notebook to create and manage my decks.
Midwest universities unite to support US chip industry revival
The purpose of the USFS is to provide forest products to Americans. People project other missions onto the USFS and then point out their failures to achieve the imaginary mission.
> tuning the Garbage Collector instead of your code.

This is a feature, not a bug. Which is riskier?
WhatsApp will soon let you slip out of group chats undetected
> blaming hundreds of millions of people for the actions of one person

That's not what is happening here in the slightest.
Can't really be objective here. You could also argument this makes it worse, but it gives you to take shortcuts for things Java would make very hard or cumbersome (unsafe code, properties).
I'll take it. Thank you. My question still stands: What is a body of documentation that Google has completed that you would hold up as a standard of work worthy of imitation?
This makes it all the more delicious.
"really understood" is ambiguous.

"solve ___ on a blank piece of paper" is not.

Human brains drop unused stuff especially ones that dont fit a known pattern.

No Real understanding without repetition. Repetition breeds memorization.

One without the other is fooling yourself either way.
I always wonder who "we" refers to in that usage, legally speaking. Does it refer only to a subset of employees / board members who are authorized to speak for the company? Because then even if someone analyzing logs sees something damning, if middle management is trained to stop that knowledge from reaching the top, then those speaking for the company can continue saying "we" didn't know it.
Shenandoah did not exist 10 years ago, and G1 was not deployed.
If some rando decided to bring the Feds down on my head, I certainly would not be interested in fighting for their cause. I'd probably go "fuck you" and oppose whatever they wanted purely out of spite. If this is being done by an ideologue and not a troll, it's a pretty dumb one.
> We will be directly notifying the account owners we can confirm were affected by this issue. We are publishing this update because we aren’t able to confirm every account that was potentially impacted, and are particularly mindful of people with pseudonymous accounts who can be targeted by state or other actors.

So they may contact you, or may not. It would be nice if this gets added to something like haveibeenpwned
I agree about backdoors not being acceptable, but we are talking about using legitimate software update mechanisms, not backdoors.

As for “not everyone is an active supporter” - governments exist to represent people. From this it naturally follows that the people should bear consequences of their governments’ actions. Its not the first Russian invasion, they had plenty of time to leave the country. Again - at this point, if something can destabilize Russia, then it’s a fair game from ethical point of view. It’s just lesser evil.

But then of course there’s the strategic point of view. US approaching Russia in a surprisingly merciful and humane manner, and there are reasons for this.
This one will be small relative to energy, climate, EVs, etc… but:

Flexible, reflective displays replacing hard, emissive displays.

I do not want to be staring at a backlit display the rest of my life. It’s terrible for eyesight and probably contributes to headache, burnout, etc. There are a lot of promising technologies out there, and they just need some improvement on cost, refresh rate, power consumption, etc… I would love to be able to go “back to paper” for most of my workday.
Playing with Wikis
I hear you, and had to do the same for a while. Eventually your brain migrates over and it becomes second nature. The ability to copy Java code and paste it as Kotlin helps tremendously, especially in the beginning.
Headline seems to be a bit of a troll, unless they missed the word "full" out?:

> So some EVs may qualify for at least half the full $7,500 credit, depending upon how the value of the battery is determined.

> Without knowing more, it's impossible to be definitive about which EVs will qualify for at least $3,750, but the list may include Ford EVs that use cells from Georgia, the locally produced Volkswagen ID.4s, GM EVs that use its new Ultium cells, and Teslas that use cells from Nevada.

Basically, batteries need to be partly US mined (recycled?) or built to qualify.