skysight-inc/HackerNews huggingface dataset:
Teaching Systems Dynamics
"GOTO is considered harmful". This kind of thinking just makes me want to run off screaming into a paper bag. Language developers are, in many ways, the modern aristocrats telling us what we can't or should not do. I still miss assembly language.
I'm happy for an article like this that I can invite people to read. I often tell people that the "cloud" is a lock-in for subscription based everything, where you have literally no control of your data nor the slightest insight in to who can access it, where all privacy boils down to whether mega-corporations don't lie, and so many other compromises and shortcomings.

Most of the responses are, "but it works for me", "it's convenient", "I don't want to run my own servers", and/or, "everyone else is doing it", as though not using the cloud means all those things go away.

Many of these people genuinely don't care about privacy and completely lack the imagination to envision what could be done with their home security cameras' feeds, their Ring doorbells' feeds, the settings on their Nest and so on. Even when we have stories about assholes scaring the shit out of people via babycams, Amazon turning over Ring footage that the homeowner explicitly said not to, or houses getting burglarized because criminals knew the house was empty because the thermostat was set for vacation, people still seem to imagine these aren't the kinds of things that are rare and won't happen to them.

It reminds me of the early days of online credit card fraud and online phishing - people had a hard time realizing that it was more likely than they believed.

While most people's eyes will glaze over during the discussion of CRDTs, and while I can't wait to see more local tools that negate the need for "cloud" services, there's a lot in this article that can be pointed to when people might benefit from learning about possible long-term issues with the cloud.
I bet $10 you once believed that motto yourself. of course you have long since changed and that is good
https://today.uconn.edu/2018/09/ships-clouds-mean-cooling-ar...

This discusses the effect I’m mentioning.

Arctic shipping was greatly reduced post Covid along with new regulation cutting emissions amongst all boats
If it takes X weeks to do research and someone publishes results before that time, then the conclusion that the results are suspect is warranted and is in no way a conspiracy theory.
> Organization of it is challenging. Doubly so if you're super space constrained.

And when you're space constrained, just allocating a room to one purpose - such as recreation or hobbies - is super hard. Every space is shared with the whole family.
Interesting review, thanks for sharing.

There's no doubt that there are dimensions along which sugar and cocaine are different, but your conclusion is unsubstantiated, IMO. The paper's conclusion is much more restrained:

> Given the lack of evidence supporting it, we argue against a premature incorporation of sugar addiction into the scientific literature and public policy recommendations.

Lack of evidence is not necessarily evidence of lack. Most of the arguments the review makes are that a mechanistic link between sugar/fat consumption and addictice eating behavior has not been substantiated by the literature. The review does not argue that such a link is impossible or improbable, nor does it argue that addictive eating behavior is in a different stratosphere from addictive drug use behavior.
And the finetuned models seems to be CC-BY-4.0 (note there are no NC). IBM actually not lying it seems unlike most of the other "open source" models.
Yeah for sure, but the solution to an uneducated populous isn't large governments and regulation. That's a bandaid at best, but it's never sustainable.
I guess that is because most people have a family or plan to have one.

Is this the same among the HN gang? Or is staying single long term an option?

If so, what's the best way to live as a single?

In tech, you can work from everywhere. So travel the world and / or have an appartment in a big city?
I would read this immediately
Norm Macdonald responding to Neil Degrasse Tyson on twitter.

Neil: The Universe is blind to our sorrows and indifferent to our pains. Have a nice day!

Norm: Neil, there is a logic flaw in your little aphorism that seems quite telling. Since you and I are part of the Universe, then we would also be indifferent and uncaring. Perhaps you forgot, Neil, that we are not superior to the Universe but merely a fraction of it. Nice day, indeed
Nice own bud
Nice blogging has seriously helped my career, even without the fact that other people find the posts useful, so look forward to the impact it has over the years for you
We need the geometric expectation here: sqrt(2x * .4x)=0.89x

The arithmetic expectation is wrong in this case.
Yeah, that's true. I have a blog, and share the code & docs I write for myself, but my blog is not about programming, and the docs are more like cheat sheets for general public.

Well, the code is just GPLv3 licensed small tools which I develop according to my own needs. Nothing impressive.

I don't use Twitter, Facebook and Reddit anymore. I just converse here, and with a Discord server I really like.
Zoning laws
Apple won a patent for Controls related to their Vision Pro Headset and more
I would add these to the list:

- Removing "http://" from URLs. This was partially fixed several years later on Desktop, as now you can right-click the URL bar and check "Always show full URLs"

- Replacing the linear tab view on Android with a 2D grid (so the first tab is hardest to reach with your thumb), and gradually removing all the workarounds as people discovered them.

- Lack of extensions (e.g. ad blocking) on Android

- When using a bluetooth mouse on a Chromebook, the scroll wheel has been really janky for years, and it can only be temporarily fixed using "gesture_prop" in the crosh console. Not sure if this is intentional or just laziness.
Boredom is another common reason. ;)
Right, I forgot all about the secret UFO recovery program now allegedly coming to light.

Maybe it's all from there, lol.
Yeah. Though they have a potential bug with domains that end in a dot.

For example, my website translated with their service:

https://splet-4a-si.translate.goog/?_x_tr_sch=http&_x_tr_sl=...

Clicking on the link "version control" leads to the page

https://ni-xn----ijanec--9jb-eu-.translate.goog/?_x_tr_sch=h...

(note the second label ending with -) and this page can't be reached according to google, but on the real site (http://splet.4a.si), the link is valid: https://ni.xn--ijanec-9jb.eu/

Another pretty bad aspect of their domain handling (replacing dot with -) is that they can't support really long domains that exceed the length of a label. Secondly, this breaks punycode parsers and instead of "šijanec" as a label you get some garbled unreadable punycode.

Label length problem:

Website http://splet.sijanec.sijanec.sijanec.sijanec.sijanec.sijanec... cannot be unambiguously page-translated with their service. -- they remove the first s in the hostname, yielding:

https://plet-sijanec-sijanec-sijanec-sijanec-sijanec-sijanec...

EDIT: they seem to add a get parameter _x_tr_hp=s, so this is probably how they work around the limitation. Nice!

They could've done www.website.example.translate.goog, but that would add issues with TLS, since a wildcard subject alternative name only matches one label. But by getting a CA signed cert, limited to translate.goog (which is possible), they could just issue certs on the fly.
Often times great ambition requires moral concessions that are untenable even in the face of the end result.

Politics is a helpful lens. Either you compromise and muddy the purity of the result, or you take the high risk path of being uncompromising and greatly reduce the odds of achieving any result at all.

When facing this, many individuals optimize for lower-risk self-fulfillment over great ambition.
The CRUDController example is interesting because the problem is not exactly cleverness, but more a design without good escape hatches. It's bad because the pathway from a CRUDController to a controller that does more is a total rewrite.
you trigger the on-site atomics to prevent a containment breach.
Ha, I ran into one of these once. I didn't write it.

Even our database records of "OAuth clients" went through it. I had wanted to make an optimization to those: I wanted to inline the OAuth client IDs for the mobile & web applications into the source code¹. The beast that was the CRUD controller stopped me in my tracks. I eventually gave up — too much complexity all muddled into one thing.

It was also "cleverly" general in that our admin interface built off it, and the UI thus built the table showing you what records existed … generically! Similarly, you could generically CRUD records. And one day … someone deleted the mobile client's record from the OAuth client's table, which of course breaks the mobile app and caused an outage, and lead me to wonder "why do we even have this lever, Kronk?" (While maybe it made sense to delete some random script's OAuth client … not so much the mobile app¹.)

Treating everything as a generic object that can be CRUD'd is one of those extremely leaky abstractions, and as the article gets at, it's usually the business logic that will reveal where the holes in the hull are.

We had another class of "objects" which were user uploads, and they went through about 4 different storage models (they started as rows in the database, and that didn't scale well at all — they ended up as S3 objects which was okay-ish). But my predecessors, when they added a newer, better way of storing these … didn't migrate the old ones. So the read logic had to be ready for a v1 upload or a v4 upload. A minor nightmare. So add "the DB model changes and is never migrated" to the list of things that screw these things up.

(I still see devs doing this — adding newer, better means of storing something but not migrating the old records — and it's massive tech debt, every time I've seen it. Inevitably, I've had someone want to do a "give me all the data" style query, and that necessitates dealing with all the caked on layers of upgrades.

My current company has this in the form of audit records. They started in the database … which … didn't … scale … and now they're in … a bucket in a cloud's blob storage, which is okay-ish.

So if you ever find yourself in one of these … please, please migrate the old data.)

I don't think codegen is the answer. I don't think codegen is ever the answer … "what happens when the generator changes?" is something I never see addressed. The old code rots, typically.

(¹because a.) unless the company folded, they weren't going to change, so I figured that a commit to remove the literal mobile app was fine in that case and b.) that meant that, for those clients, we didn't need to make DB requests to that table. IIRC we did this on every query.)
I do not use Chrome, but I recommend it to my tech illiterate friends or relatives because it's sadly probably the most secure browser among user friendly ones. In large part to Google Zero. (Ofc I try to also remember to warn against installing random extensions)
ha. I still use separate URL and search bars in my browser. My 11 year old asked me awhile back "why do you have two search bars?"
it appears to not work on my device (unihertz jelly2)
Why not dropbox or whatever place you use to share files normally? a screenshot program does not need a cloud.
Maintainers wanting to make a change in itself is not a good reason for the users.

There seem to be this sentiment that maintainers owe the users nothing, but also the opposite is true.

There is no reason to give the maintainer some special status concerning "his" code.
Longshot targets $10/kg launch costs with Nazi Uber-cannon on steroids
You mean the icon with the clouds moving behind the Windows logo? It had an absurd speed on my laptop, like the clouds moving at warp speed. Can't remember if it was IE 3, but it never looked right to me lol

EDIT: It was IE 2
We don't build urban housing for medium/large families. When people have more than 1 child, they're usually off to the 'burbs. Then there's no multi-generational experience in a small neighborhood that you might see in old movies.
We do. The politicians actively support it because they are pro-cop.
The Hunga-Tonga eruption is a significant contributor.
https://www.jpl.nasa.gov/news/tonga-eruption-blasted-unprece...
> and how boats traveling near the Arctic circle (and spewing emissions) had a cooling effect. Is there any truth to that?

Kind of, though it's pretty localised.

> They’ve reduced the amount of Arctic shipping

Eh? Where are you getting that? Arctic shipping has increased _dramatically_ over the last decade.

> and the world heated up; this is what commenters predicted

No-one sensible predicted this. At most people might have claimed that if you cut shipping in the arctic dramatically (which hasn't happened) then there would be _localised_ warming.

> I wonder why I don’t see articles mentioning the phenomenon.

I think because it's something you half-remembered; it's based on a false premise (arctic shipping is increasing, not decreasing), and the effect isn't as big/global as you seem to think.
Services that need to be reachable all the time tend to not be connected to the internet.
Precompiling all combinations can take many hours up to days though, so at some point you need to know what exactly is going to be used which is not always easy.

It can depend on graphics settings for example.
I only use Chrome for web dev things. Been living for decades and I still don't understand how people can be so fking stupid.
The whole strong cities movement, which has many laudable goals, I think fails in the same way that many public health initiatives do. The proponents always assume they know more than everyone else, and therefore are better than everyone else.

Strong town supporters just have this smugness that they are right and everyone else is wrong, and its a big turn off from the movement. The problem is they don't have to convince me, they have to convince the 57% of Americans (from the title), many of whom are not in the online echo chamber about strong towns,

It's not that strong towns is wrong, its that their approach is "your whole life is wrong and you're just too stupid to know it", when it should be "we should develop better places for all of us to live".

Note that this is more a problem with internet commentators vs the actual source material. It's obviously (to me at least) right.

But on the other hand, I'm Canadian, I grew up in a car-dependent suburb. I lived downtown in my city in a walkable neighbourhood, and now I live in the car-dependent suburbs again with my family. I've been to Europe too, the walkable neighbourhoods there are great! But I also like my suburban house. Changing hearts and minds on this will take more than smugness though.
As of passing by: 666 points by luu 6 hours ago
I might be wrong but the OP might be referring to ordinances forbidding the building of dense housing. Walkable neighborhoods require a certain level of density to be feasible (e.g. grocery store needs X potential customers within a ten minute walk or it's not going to be profitable) and a lot of towns disallow the building of apartment buildings instead of detached homes.
Someone once told me: "optimize code for reading. In most companies, a piece of code is read 10x more than it is updated".

Usually, when you do that, you end up with simple logic and potential repetitions over complicated abstractions.
Most of the places I have seen posting this data have missed what I think is the major story here:

>Public preferences were more evenly divided on this question in fall 2019, a few months before the coronavirus outbreak.

COVID-19 caused a measurable shift in living preferences that appears to be durable.
I'm in a constant state of pendulum swing with this. (Not with the goal of being "ground breaking" or "world impactful", but just doing "great" work within the range of my own self-perceived capabilities.)

When I first had children, my pendulum swung way over to disinterest in seeking anything in my work beyond financial support for my family and time to spend with them (while still supporting and not breaking trust with my professional colleagues).

But my kids are growing and becoming more independent all the time, and I'm currently in a phase where my mental cycles and energy are on an upward trajectory over time, and now I'm back to being excited to use those cycles to do impactful work. But critically, I think, with significantly more wisdom about how to strike a healthy and happy balance for me and my family. I mean, I'm not naive, I don't think it will be easy to strike a good balance, I think it require be constant work and effort at it. But as I've emerged from the baby-brained haze, I have renewed clarity that neither focusing my energy entirely on family or entirely on work is the right path for me.
Land use classification is one of the features advertised. While some may be capable of putting together a classification system on their own, not everyone can (especially reliably). Land use often directly effects things like flooding and fires. Such classification can be used in conjunction with other models to compare say current vs proposed changes in attempts to reduce things like flooding and fires spreading. You might be talking more about mass flooding and less about, poor water overflow management and things like that in which case sure, some things are largely inactionable for humans currently. There are cases where we can have some tangible effects at least on the scales we do create and manage infrastructure though.
You're making it sound like this is the headline, but it is not. The national average is also 57%, and there are a number of other statistics broken down by partisanship, education, age, etc.

From my ~YIMBY bubble it's a bit surprising, though I guess it shouldn't be, that the majority of Americans want to live in exactly the kind of neighborhood I despise.
A guide to API integrations for the non-technical
Stephen Jay Gould in "The Panda's Thumb": "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops"

(whilst double-checking my memory of where that came from, I found the obligatory LinkedIn post using it as an advert for consultancy services: https://www.linkedin.com/pulse/einstein-cotton-fields-sweats...)
Recently on a call my client introduced me to his $BigCorp whale client as "my IT guy" and his client said "oh yeah I have 12 of those here on my team".

I'm cool with that. I keep doing work valuable enough to pay well for, and the rest is semantics.
American Electronic and Robotics Museum and the Altair 8800
What's funny is the earliest seed of Chrome is ad blocking: the Google IE toolbar with popup blocker.
I've come to the same conclusion as you. Code is typically read more times than it is written/modified, so it is better to optimise for the common case, i.e. code that is tedious to write but simple to read and follow.
It feels pretty broadly accepted that overuse (or even moderate use) of goto becomes a nightmare for readability. Plenty of modern languages still support labels in loops to break to to be able to break out of multiple layers, which is the only main case that I can think of where a goto would be handy.
Did you also learn mathematics?
Did you learn anything or were you exposed to anything that interest you and that you pursued more deeply?
Did you make friends and learn social skills?
I think there’s just less and less to outside the home so we tend to desire larger spaces. That plus more remote working.

Restaurants are getting super expensive. And I’m not sure why fast casual didn’t off. Why do I need to add 20% tip to every meal if I could just order at a counter?

Coffee shops mostly don’t seem super comfortable to just hang out.

Libraries don’t have great hours or reading nooks.

Bars like cheers aren’t a thing.

You’re mostly stuck in your house.
This kind of issue cuts both ways - how do you hire new people and get them productive quickly on a code base where they will almost certainly understand nothing?

Getting rid of weird data structures that now have STL analogs then is a productive exercise - existing devs get to learn more STL and new devs have more familiar ground. You get to delete code too.
The masses like prettiness, while enthusiasts like the unrefined
Yep. One reason I want to get back to more of a "country" setting is because some of my hobbies involve needing a lot of space, that I don't currently have. Specifically I want a shop for working on cars, working on bicycles, doing metal working and wood working, using a welding machine, cutting torch, band saw, yadda yadda, etc. Things you can't really do in an apartment in the city. And while the local hackerspace is handy, it's still not like having your own shop where you can park a "project car" in there and leave it for long periods of time, swap engines, pull transmissions, etc.
And for this, I spent six years of college...
Meta’s Ray-Ban Smart Glasses Fail to Catch On
Terrible! That 57% needs to be enrolled in a mandatory indoctrination program to teach them to hate cars and love urban microapartments; like all good, right-thinking people do.
I also hate living outside cities and have a deeply rooted contempt for (non-old) people who choose to live in rural areas, essentially choosing stagnation over risk.

But...

What, exactly, is hilarious about people suffering and having financial difficulties?
That sounds like a well above average life. No problems and a functional member of society in every respect? Good relationships? Five children?!

It seems obvious this guy was in fact happy, despite the last lines of the poem, or else he would have acted out at work, become an alcoholic, divorced, or whatever. That or a supreme stoic.
Once upon a time Lineage OS had Privacy Guard settings. You could feed an app fake data for things like location and contacts, leaving you with the best of both worlds: apps that "require" location will open, but you remain anonymous.

Over time, AOSP became harder and harder to build this feature back in to. AOSP (and Chromium) is Open Source in name only. One may view, download, and build the source, but maintaining modifications long-term isn't feasible without massive amounts of dev time and/or cash.
Using Microtasks in JavaScript with QueueMicrotask()