skysight-inc/HackerNews huggingface dataset:
Sure! I usually point people at Carbonplan's CDR database: https://carbonplan.org/research/cdr-database
I have, it's a nice language but I didn't like the mental tax of translating Java code to Kotlin in my head whenever I had to read up on how to do something

I do intend to dig into it a bit more once I feel like I have mastered Java
How are addresses linked to celebrities know about and confirmed? e.g. Jimmy Fallon and Dave Chappelle? Unless the address is made public and linked to the person.
(Nitpick, but primitives are stack-allocated)
:D I'm just guessing at questions, since I don't have much context.

You found him-- did you get to really talk to him? Find out how he looks back on that era? Did he keep programming?

What scared him away?
I can't even comprehend how anybody was able to do Javascript development pre-Firebug. I dabbled in client-side web development a bit in the early days of IE and found that the default behavior of a Javascript-enabled page when it encountered an error was to render a blank page and not log or report an error anywhere. I immediately retreated back to server-side development and didn't go back for years.
>It's hard to convey the destructiveness of Andrew to folks who weren't there

I grew up with tornados, and know first hand their destructive potential. However, hurricanes scare the shit out of me as not only do you get the destructive winds, it's the flooding on top of that pain that's just truly devastating.
Never seen this written before but 100% true. When meditating or doing a hard run, time moves slowly.

When watching baby playing with toys in living room, an hour flies by (thankfully because usually very sleep deprived).
20 years ago people absolutely did hate gates
Honestly that sounds like a really intense moment for the guy LOL! Like one minute you're pulling into your driveway, the next your car is at the bottom of a pond.
Sounds reasonable to me.

I appreciate the link to Shannon's paper. I've played a browser-based version of such a machine/game and it's pretty eerie.

Long ago a friend of mine had this cat, she liked to sit on your lap, but hated it when you got up, she would always jump down the instant you started to rise.

However...

She could tell from the pattern of muscle tensions in your legs whether or not you were really getting up or just moving a bit to rearrange your butt or whatever, and she would only jump if you were getting up. She was flawless at this. In fact, a few times she jumped down a split-second before I knew I was getting up. Like Bruce Lee, she could detect and respond to the intention to move, even before the motion was consciously known to the mover himself (me, in this case.)
Eh, not really. You have the option of defining schemas, of course, but it's not required.

In practice, I think most of us used XML the same way that people use JSON today: here's some data from my app, figure out how to pull out the bits you need. No high ceremony required.
This has always been my idea for how I would try to extract a large amount of money if I ever managed to hack a big Defi protocol. Distract exchanges and regulators by splitting the stolen proceeds into tons of tiny amounts, send most of it to random famous accounts in small chunks, and have some of it go to my accounts which have been set up ahead of time to look like innocuous whales.
Russia hasn't used IMF support in decades. Not all Russian banks are banned from SWIFT.

> Cyber, destabilization and financial war might prove deadlier than nuclear could ever be.

Nuclear could plausibly result in the extinction of our species. Suggesting that financial warfare could "prove deadlier than nuclear could ever be" seems patently false.

> far closer to nuclear war than we've ever been.

This is the statement that is being disagreed with.
Well it is just another design pattern, i love annotations but it might be better even without it, Spring boot takes care of most of the things and it only needs very minimal annotation which makes sense.
I think it's Korea that have a breed of dog that is basically livestock. Like the cow of dogs.
Sure... And no-panic is cool, yes.

But I stand by what I said. My perspective here is like this. "Okay, so you're complaining about panics, what's your alternative?" No, really, like what do you instead of panicking? That's what my blog explores.

So what I'm saying is, if you're going to complain about all the various panic branches, and assuming those panic branches are legitimate (i.e., hitting them would be a bug), then to me, that's just like complaining about bugs in general. At least with panics, they're a lot more visible.

Even something like 'untrusted'[1] (used in crypto libs like 'ring') uses 'unwrap()' in its implementation. What else are you going to do to remove that panicking branch? Complaining about its existence, to me, is basically like complaining that bugs exist and that they're hard to find. (Except panics are better, because panicking branches are much easier to find than arbitrary bugs.)

[1]: https://github.com/briansmith/untrusted
This article was shared recently on Twitter, so I wanted to circulate it and see if it could be of help to more folks. I wrote it from my own perspective, from using K8s for ~ 6 years and helping OpenFaaS / K3s users.
The latter sounds like a clickbait headline.

Err..wait, it IS a clickbait headline.
But what fraction of people are actually going to take their device in to get a fix or a refund? In the EU your right to a refund for a malfunctioning product only lasts 2 years, so only the fraction of users who notice a problem before that time limit would even have the opportunity to bring it in. Then there is a decent chunk of the population that doesn't want to go through the effort of turning it in (which also incentivizes overly burdensome return workflows). Then there might be some people who notice the problem and would be willing to go through the effort of returning it, but mistakenly believe that the problem was their fault instead of a defect (incentivizing arcane error codes and unintuitive maintenance procedures). The real refund percentage could easily be low enough that the increase in sales from bad design practices is still worth it. And of course that's assuming the company selling it is a single rational entity - if the product development head gets rewarded based on short term sales and won't suffer the consequences of returns months or years down the road, then even a high refund rate won't necessarily stop bad behavior.
Maybe Java 2 SE v1.4.2? It was like the JDK8 from the old days.
It’s very similar to Java: there’s a not bad language buried under huge layers of bad practice and design by committee which most people are stuck using, with a side serving of market failure around the developer experience (e.g. Maven, Spring on the Java side, tools being built on the orphaned libxml meaning that you’re stuck in the early 2000s level of XPath, etc. in many cases).

XML 1.0 was decent but I soured on most of the “standards” based on it after too many iterations of chasing through a chain of specs pulled in by reference where you had to read a bunch of ponderous W3C documents and non-working examples to learn that the spec authors hadn’t correctly modeled the problem, nobody had time to work on any of this, and the only extent implementations either weren’t compatible or had a lot of tedious workaround code. Bonus points if they were replacing a legacy format and ended up with a result which still required deep familiarity with the original format but was also much less efficient.

These problems are cultural. JSON certainly isn’t immune to this but the Java/XML world has more people who felt the need to LARP as Very Serious Architects designing extremely expensive systems. Things like Atom show grownups can use XML, too, but they’re notably the exception.

In Java, the most direct counterparts I see are the places where people felt like they should copy the Sun library developers for code which is far less universally used and took on a huge support cost building abstractions and customization points which were largely unused, often only for security exploits.
Counterpoint:

The automatic opposing of govt sanctions is pretty shameful for a nuanced technical audience.
This study was in mice. It might not generalize but it's also not nothing
The prices will go up a lot before lack of food is a problem. French people also eat a lot of meat, which uses a lot of food to feed the animals. The more expensive prices may reduce the meat consumption.
Given they didn't think it was exploited they must have pretty poor logging and analytics around that part of their infrastructure. Someone managed to abuse it millions of times and they didn't know about it even after they'd fixed it and knew exactly where to look for abuse.
Tornado Cash in particular is (was?) a smart contract, so they could straightforwardly have built in an auditing service as an oracle.
Ask HN: How do small developer promote own apps?
If you’re a small developer (with no or just small marketing budget) and creates a genius app for a special problem, how do you promote the app?
Ok, Website with SEO. And Social Media is a channel, but this will keep mostly in your own bubble. Which directories, press services or others do you use to tell the public your app exist? What kind of other ideas do you use?
High-tech vest monitors lung function acoustically
I Stopped Reading Hacker News Comments
I was in the same camp as you a few years ago and also wrote an utility to handle this. Might be of any interest to you.

https://github.com/barthr/web-util

And the blog post explaining it: https://bartfokker.com/posts/clean-handlers
Yeah, there's never any sympathy on either side. I kinda think that's by design.
> Usually in France while we have some very hot days once the sun goes down temperatures drop to the low 20s or even high teens so we can open the windows and our homes cool by heat exchange and it isn't too uncomfortable (without AC).

IMHO this kind of thinking contributes to the problem. Again, IMHO, what you all should be saying is this:

> in France we *used to be able to* open the windows and our homes cool by heat exchange and it wan't too uncomfortable (without AC). *now we have* nights where it is still 28 or 29 degrees at 2am meaning it is still hotter outside than inside (indoor temperatures in my home without AC on is usually 25-26 even when it is high 30s outside) so opening a window just lets in warmer air. Without some kind of air cooling you end up with a hotter ambient temperature in your home which is horrible night after night after night.

This isn't like summer, where it's hot, but after a few months you go back to fall and winter. This is like history, where things happened one way in the past and they won't be like that again.

> It is changes like we see here that worry me a lot for the future my son will be living in when he is my age. Really sorry state the world is in these days :(

Big part of why I'm not having kids. Even if I wanted them for my own sake, I don't want to bring people into the world as it is today, let alone whatever it'll be in 20, 50, 100 years.
518 million seems reasonable to low for the entire world and you are leaving out commercial places.
Ok i Give up !!
We are not talking about natural stone arches...
As many software developers are reading HN, you can meditate about the creative power of randomly mutated code.... which is the official engine of darwinian évolution.
How’s this language doing? Any big projects on Swift in the last years?
Loom does a small fraction of what the Erlang VM is capable of doing.

For one, the Erlang VM has built-in preemptive green thread scheduling, which means it can suspend your green thread at ANY instruction, not just when an IO call is in progress.

Loom is a step in the right direction, but Erlang is in its own universe for what it was designed for.
I was doing live coding in an interview yesterday and the interviewer said "you have a problem in your code, you put var, and this is Java". I had to explain that the language has modernized quite a bit.
As a crazy person, that Always Sunny meme makes me very uncomfortable.
The fact that this provides the benefits of both approaches, namely that it is (branch) predictable and amortises memory latency while obtaining the probabilistic benefits of double hashing.
Housing should be a right. There should be no investment permitted.
It is however true that the boomer generation has held the electoral power during the years that mattered most and refused to do enough. I don’t think it’s chance that their most popular papers were all the most strident climate deniers.

Younger people should vote more but tbh by the time I was old enough to vote it was already too late to avert what’s happening.

I don’t see any sentiment of “whoops we got it wrong, let’s do what we can now!”. (Or any gratitude for the sacrifices younger people made during lockdowns, but I digress…)
Window Management Tips for RStudio
> No it doesn’t

Yes it does. You not knowing what GRADE is or how it works but insisting that you are well informed is a great example of the problem with these discussions. You dump a load of ill-informed mangled sources into a thread, and now I have to spend a few hours explaining how you're misrepresenting the sources.

> Additionally, the new UK regional centers are not an expansion of gender-affirming care, they are an expansion of care, period. The presumption of gender affirmation was explicitly criticized, and in the forthcoming service model there is a requirement to deal with the whole clinical presentation.

I've read the service specification for the new centres. (Have you?) It's an expansion of gender affirming care, and there's no way to spin it otherwise. There will be more clinics treating more children in a more timely way. More children will have access to puberty blockers. What's that if it's not an expansion of service?

> None of this has any bearing on being “pro-trans” or “anti-trans”.

All the information you've posted to this thread so far is sourced to anti-trans organisations. At least be honest about it. You are anti-trans, you post anti-trans disinformation from anti-trans links.
U.S. household food acquisition behaviors during the Covid-19 pandemic
Have you ever had to maintain an old enterprisey Java thing? It's pure hell.

Basic dependencies (like JUnit) break API compatibility every few years, and then they stop distributing the old version for new JVMs, so you're forced to port your code. The GC falls over in production at the least convenient times. People somehow decide everything should be stringly-typed, and that the best choice between .properties, xml and JSON is "all of the above, and also this in-house DSL". There's this common pattern called "vendoring" where you load multiple incompatible versions of the same library into the same JVM, and exploit loopholes in classloader semantics to prevent it from noticing, and ungracefully exiting (which is what it really, really should do).

There's no way to use language improvements and static analysis to improve program semantics over time (like there is in, say C++) because none of the language level abstractions are sound.

For example, you have a line like "static Foo foo = new Foo()". Guess what? foo can be null sometimes. Here's an unrelated problem: Think you have a function that doesn't throw exceptions? Nope. Some third party garbage can throw errors during normal operation instead. Think that eliminating down casts in your program means it won't throw ClassCastException on unexpected lines? That hasn't been true since generics were invented. Think Optional gets rid of null pointer exceptions? Nope. Instead, it's actually a tri-value null. After all, you can always create null references to an Optional (and, looping back to the beginning of the paragraph, you can't avoid creating null references to Optionals in idiomatic code!)

I could go on for hours.
It’s possible a government agency will go rogue and try to wipe out the savings and industry of millions of Americans. Seems unlikely to me.
"We have no evidence that this was exploited" is a standard psychological trick they pull in vulnerability announcements to give an unfounded impression that it hasn't been exploited.
I haven't even suggested to roll your own "string" type. Not more than rolling any other type of array or slice. In my programs I normally do not define a "string" type. Not a central one at least. Zero-terminated strings work just fine for the quick printf() or fopen().

Instead, I might have many string-ish types. A type to hold strings in the UI (may include layout information!), a type of string slice that points into some binary buffer, a rope string type to use in my editor, a fixed-size string as part of some message payload, a string-builder string that tries to be fast without imposing a fixed length... Again, there is little point in an "optimized" generic string type for systems programming, because... generic and optimized is a contradiction.
It’s more than a byte or two — Sonos uses SOAP for RPC.
That is only some amount of "smart" devices. Lots of them work just fine offline and use standards that you can use with any gateway you like, e.g. home assistant.
In Germany and other countries you have to show government ID to get a GSM number. Phone numbers are like bank accounts: strongly linked to official name and identity.

This advice is bullshit.
Can confirm, reads HN, been on jury, i am pretty dumb.
Do we really need a single standard? I and many others use multiple messaging services and it’s fine. Each has their pros and cons. I can also contact people in multiple ways if one service fails.
Yes! Starting in 2023, many families are going to start going bankrupt and losing their homes in Canada.
Mnemonic: “What you have to what you want”
Just get a Dell charger, they are high quality and relatively cheap.
It's true in the USA if you stick to the big providers... Ring up t-mobile and say 'I'd like a line with 0 minutes and 0 GB of data, just to receive verification texts for Twitter' and they'll probably quote you $200 a year or so...
But they do:
1. Consumers vote with every dollar they spend (or add they click).
2. Developers vote with both with every dollar they spend on software, and every monetization strategy they select to earn dollars from customers.

There's a ton of industry structures I don't like. (I won't list various companies I don't like, b/c that would distract from my core point that they do have healthy economics from customers who do like their products.) Existing market structures are usually the result of some form of consistent action on the part of market participants.

So what would a better industry structure be, for customers, that would consistently make money for developers?
Great film, but right after that, Sean (Robin Williams's character) says:

"It's not about the job. I don't care if you work for the government. But you can do anything you want, you are bound by nothing. What are you passionate about. What do you want? I mean there are guys who work their entire lives laying brick so that their kids have a chance at the opportunities you have here."

So, instead of praising Will, Sean questions why Will seems determined to keep drifting while seeming clever. I always thought the implication was that it's better to define yourself as "for" something than "against" something, even if you sound smart in a wicked way by doing so.
https://www.fivetran.com/connectors
Bank accounts don’t have this mechanism as well, what does this show?
everyone knows Firkins are measured in 7-bits. The thing I never can remember is if it is Big-Endian or Little-Endian. things are either quite big or quite small if you get the wrong endianess
I think it's more of a "people are getting tired of internet DIY projects that require thousands of dollars of tooling and existing materials."
Anybody have experience with the JNI interop with native libs?

Is it better to implement something natively in a compiled library and link it in from Java or better to rewrite it in Java? What about lifetimes of objects - who "owns" an object - the runtime or the lib?
> what the point of life is to the universe

Life is the evolution of (increasingly) complex adaptive systems in non-equilibrium state, driven by external energy and enabling a new regime of faster entropy increase, thus faster descent towards the "heat death". This is contrary to the popular belief that life somehow goes against the 2nd law of thermodynamics. In fact, it is the 2nd law of thermodynamics, the universal drive towards higher-entropy states (we are essentially specs of dust in a slow-motion explosion, since the Big Bang), that enables life-like systems to evolve under the right conditions to accelerate the slide towards a higher-entropy state.

Specifically in case of carbon-based biological life, one succinct tongue-in-cheek way to put it is "life's purpose is to hydrogenate carbon dioxide". See the "Nick Lane" discussion thread from today: https://news.ycombinator.com/item?id=32392937
This is kind of hard to do in practice unless you’re really watching where you’re allocating memory. It’s very easy in Java to end up accidentally throwing a bunch of allocated memory on the heap without realizing it.

Fwiw, the JVM now has a noop garbage collector so this is easy enough to benchmark.
Prelinger Archives – “ephemeral” films from the 20th century
I mean, that's quite a populous and geographically large nation to start a land war with.

Understandably, the Japanese military was much better industrialized and equipped, but at some point bodies also count.
> I'm so sick of this kind of victim blaming, you're forced to add a phone number to use twitter.

I had some old accounts that did not require a phone number.

At least until I wanted to enable TOTP 2FA.

At which point the numnuts at Twitter would not just let me "just" enable TOTP, I was forced to provide a phone number (which, to add insult to injury, for at long time they refused to accept because they would only send messages to a limited number of carriers).
I think they mean:

function addStuff(a, b) {
return a + b;
}
function logFunction() {
console.log(addStuff);
}
logFunction();

And have it log out that `addStuff` is defined on line 1.
Also interested in this. In Brazil, whenever you get your phone stolen, the robbers will screw you over by getting access to accounts and issuing pre approved loans to other accounts. I'd love for my 2FA to be tied elsewhere instead of the same device where I do transactions.
"The price for something is measurably higher if the manufacturer maintains a surplus of components with an inelastic supply" is not really true though.

Once the initial investment in creating a stock of those items is done, there's only a minimal storage cost. For things like chips for cars, that storage cost is probably measured in double-digit dollars a year to create billions of dollars worth of vehicles.

Is investing in a business to smooth over supply chain problems really so taboo to a modern businessman?
Indeed; I haven't seen a ton of bad code in it (not saying that it's not out there, just that I haven't been exposed to much of it), but when I needed to dig into how something works, so far it has been very easy to scan and mentally parse what's going on.
Funny, I always reason about the 3+ argument form... For example, what does ln -s foo bar baz do? Well it can't create a foo symlink that points to bar AND baz, but it could create multiple symlinks - bar and baz - that point to the file foo. Therefore the first arg is the file you want to point to, and the rest of the arguments are symlinks you want to create (of which there happens to usually only be one).

Edit: this line of reasoning works for common usage of a lot of other utils too, like zip/tar etc. Even grep - is it grep FILE PATTERN [PATTERN ...] or grep PATTERN FILE [FILE ...] ?
Where is the intro video?

Edit: Realised you could actually scroll down. I thought I was in the game (which I was, but it's combined with the rest of the landing page).
Release (YC W20) Is Hiring – Senior FullStack Engineer