skysight-inc/HackerNews huggingface dataset:
I spent a good part of this week overhauling a microservice where most fucntions were a giant try/catch & would maybe throw a new error. Just getting rid of the try catches & letting the code fail has been a huge help in seeing what is going wrong as the code executes.

I also am delighted to see the idea of expected errors here. Another thing I've been doing for a long time is tagging erros with an expected = true property when it's something we expect to see, like, oh, we went to get this oauth token but the credentials were wrong. Expectedness shows up in thr logs now & we can see mych more clearly where there are real problems.
I agree with you that the analogy to the modern day is a stretch, but I enjoyed the historical story anyway.
Yes, the entire Western world—and Europe especially—benefits greatly from the largess afforded to them by the Pax Americana.
I used LabVIEW quite extensively in a past job, and eventually switched to Visual Basic. The stuff I was doing didn't need the performance of LV.

I found graphical programming to be physically debilitating due to eyestrain and wrist fatigue. Granted, this affects each person differently, and I also don't use CAD for the same reason. I can type text with my eyes closed, or while I shift my visual focus away from the screen.

I think a reason why LV programs always seem so unreadable is that the sheer physical effort to clean them up gets the best of the people doing the programming.

A general issue with graphical programming is that you're responsible for the developer interface, and really sweating the details to make it tolerably ergonomic is phenomenally costly in time and effort -- think of how many programmers are employed by Apple or Microsoft.

In contrast, when experimenting with a new or improved text based language, you can piggyback off of existing IDE's or even basic text editors, and get a running head start on adoption by a user community. And the economics are such that languages and IDEs can be supported as open source projects.

There are text based dataflow programming langauges, and I think if LV adopted one of them as an option, folks would stop using the graphical environment after getting over the initial hump of learning to program.

I always show people this:

https://www.ni.com/docs/en-US/bundle/labview/page/gmath/nonl...
The "fuck it, do it in prod" of market research.
I think the danger with lightning is that it's much easier to lead to short circuiting due to the exposed pins. I remember reading that some incidents were causing fires.
I am here to tell you that these food miles and industrial material miles, were of deep concern and in the public discourse fifty years ago; and that my grandmother's brother told me that suburban housing patterns were of deep concern and in the public discourse seventy five years ago. The "markets" decided this course of action? many, many business people competitively won over others doing it differently. It was the winning by competition that was elevated. The results of the competition were "oh thats how it worked out".

A deep philosophical skepticism of central planning, a lust for industrial-scale profits, and the lessons of warfare where certain kinds of weapons won and the loser was dead forever; all contributed to this kind of decision-making contest. We live amidst the results now.
A corollary or generalized interpretation of this approach (and someone please specify if there’s a formal term for this) is: “fail locally, and immediately.”

What I mean is that once something unexpected happens your code should ideally fail in that step itself.

The simplest most common example I’ve seen with python programmers is when they pass around dicts as arguments in complex code bases. Methods expect various keys to be present, and often methods also have fail safe defaults if some keys are absent. The defaults are written for the specification, sure, but often they also tolerate unexpected exceptions that happened upstream.

Now when an unexpected exception happens, your program fails somewhere else and the stacktrace is useless. The only way to figure out what went wrong is to debug it line by line.

With python there’s still no elegant solution. I’m now trying to ensure all my methods are typed and use dataclasses and pydantic classes to type and group these parameters but there’s still opportunities for these “fail later” errors. Solutions and suggestions would be appreciated!
research in the US stopped because it was deemed politically incorrect but there is some correlation.
They’re both suggesting that the government use public money to subsidize people’s daily lives. The main difference is one person is advocating for the government to administer intelligence tests and collect data around that.

What’s the big political difference?
I think it depends on your goals. Graphene's team rightly point out that Calyx's approach to spoofing the play store (microG) isn't safe, so security will be better on Graphene as long as that stays the same.

On the other hand, Calyx does actually include an app store with the base ROM. This is important if you are setting devices up for other people who need to be able to reproduce the steps you have taken. In such a case, even though I could set up Graphene myself, I would probably suggest Calyx. However I know that graphene are (were?) Working on a store of their own at some point, so when that is released my opinion may change.

Both are very usable in my opinion.
A warning about this; retries should only be done at boundaries. And it's important to know if e.g. the http or API library already implements retires, not to mention which errors should be retried. I have seen at least one codebase where the retries where completely out of hand.

In short, I've found retrying well is harder than it looks.
You could argue that they are providing the same value as the city is (housing). It's not like this is some kind of either or situation.

The city is providing value, approximately 500.000 housing units worth of value. Private landlords provide value, the remaining one point something million units worth of housing.

You could of course replace either provider, it doesn't make a practical difference whether you are renting from the city or a private landlord, at least not if we are looking at this from a top down perspective with hundreds of thousands of units.

But the whole point of the city buying into the market was to create competition and ensure that the property market isn't used as an investment/doesn't pay as great as another investment. So with that in mind the current system is actually kind of what they were aiming for.
Revolting.

"In 2020, Apple was lobbying on behalf of forced labor in China, attempting to weaken the Uyghur Forced Labor Prevention Act.
In 2021, 7 Apple suppliers in China were found to have participated in labor programs suspected of using Uyghur forced labor, including Lens Technology, one of Apple’s longest-running and highest-profile suppliers – which also supplies Amazon and Tesla."
Death of an E-Salesman (2018)
Intelligence is a poor social construct on which to build social policy. We already know how to do better than that.
You don't see that /~username/ pattern in URLs so often these days. I always liked it.
20, then you can make your own staffing company
Facts hurt huh
My rule of thumb is, stores would not offer loyalty programs if it lost them money.
Sure, but >90% of people don’t have whatever upbringing (or interests/hobbies) that led you to have that knowledge, so at a population scale the point stands.
Why does this comment pop up so often on HN? Really disappointing.
There's new forks just starting up for the beloved Cutefish OS and its "Cutefish DE" desktop environment.

https://www.reddit.com/r/linux/comments/vwd0m8/i_am_about_to...

https://www.debugpoint.com/cutefish-os-development-halts/
On the contrary, I think everyone should be able to achieve their full potential.

It's just that the shortest path to this is, likely, some sequence of Manhattan projects/X-PRIZEs culminating in a set of technologies and knowledge that could be used to uplift any consenting person and support automated labor to provide for our needs.

You cannot get to the moon by piling up equally sized chairs.
> Truly a Godsend in my opinion.

Perhaps you are using "Godsend" rhetorically, but it was hotly debated and even opposed by members of Congress who felt that the class of people who physically fought the war had no place in institutions of higher education [1].

Some members of congress opposed it on the grounds that it could in theory help African Americans:

"On March 24, the Senate passed the G.I. Bill unanimously, but the House continued to debate the unemployment and education provisions for another two months. Rankin, chair of the House veterans committee, had evolved into one of its sharpest critics. An unrepentant segregationist, he worried that African-American veterans would use the benefits to avoid work and live off the government. Rankin also didn’t see the need to give African Americans the same benefits as whites." [2]

In the end, ways were found to exclude African Americans from the benefit even after the bill passed [3]. The generational knock-on effects of that are well documented.

But the tremendous value added to the economy because of government support (however unequal) of regular "non-genius" people is pretty well demonstrated by the successes of the GI Bill.

1. https://www.va.gov/opa/publications/celebrate/gi-bill.pdf

2. https://www.neh.gov/humanities/2014/julyaugust/feature/how-t...

3. https://www.history.com/news/gi-bill-black-wwii-veterans-ben...
I was replying to the parent, who asked why someone might be sensitive about these data points.

I don’t claim to know the fidelity of the targeting. If someone is walking behind you in the same line and can see the data, I can see feeling concerned. If it’s truly being beamed right to your eyeballs, not an issue.
The article doesn’t seem to look at how resources are cleaned up when a BEAM process crashes. https://elixirforum.com/t/understanding-the-advantages-of-le... says “All resources are owned by a process in Erlang, and the VM guarantees clean-up of resources once the process dies”. My Google-fu failed me when I searched for more details about Erlang process cleanup of resources, or how to register cleanup actions (e.g. delete some temporary file on crash).
> Graphene's team rightly point out that Calyx's approach to spoofing the play store (microG) isn't safe, so security will be better on Graphene as long as that stays the same.

AviD's rule of usability applies here, IMO. Doesn't GrapheneOS's approach have worse third-party app support than CalyxOS's approach? I can see that leading to people trying GrapheneOS and then saying "none of my apps work on this more secure version of Android, so I'll just stick with stock Android from now on."
> While I see other working on big old and clunky laptops (usually Dell or Thinkpad) that basically need to be hooked up to a power cord, my

I stopped reading, when my Envy had better battery life and Better keyboard than my MacBookAir M1.

You forgot the OS.
Not an argument unique to the Rust community.
While true he didn't license a lot of things, my brother got permission to reprint a Calvin and Hobbs cartoon in his yearbook. It didn't cost very much either. (My brother's school yearbook gave each student a little space, instead of just a senior quote)

Those Calvins wizzing on a chevy logo you see on truck, not authorized. There were some college t-shirts in the 90s that were bootlegged as well.
High ceilings, windows places in such a way to facilitate cross ventilation .. lots of trees if possible.

Most parts of the world are not meant to be densely built up or populated. The west is mostly hostile terrain. That’s why there is a band in the temperate/tropics that used to be densely populated and still is because they had the climate and natural resources to thrive.

I was getting what was close to heat strokes while working at the farm. I don’t sweat in CA like I used to in India because of the dry heat and lack of humidity. Dehydration is deadly. My body was constantly in a state where it thought it was maintaining an internal fever but had no way to cool down because I was only (genetically?) primed to sweat when it’s humid.

An Ayurvedic vaidya suggested something that I thought would never work but it did!! I started soaking vetiver roots in an earthen pot filled with water ..overnight. And had it throughout the day. I sweat now and I am aware when I start getting dehydrated.

I don’t know why it worked. I don’t care if no one can find a rational explanation as to why it worked. It has been literally life saving.

I remember vetiver mats beings used as curtains/fans in the South Indian villages I visited during summer vacation as a child. I don’t remember exactly how it works but they’d throw water on it and then pull it with a rope and it would be hung high up on the ceiling. You just had to tug the rope now and then ..it would be like a fragrant fan. No electricity needed.
No it doesn't. Ballistic missile submarines are exclusively useful as second strike weapons: they don't carry enough warheads, nor are they accurate enough to first strike weapons (which have to reliably hit military targets and threaten an opponent's retaliation ability).
It shouldn't be exclusively about the America.

In Europe we don't have this level of anti-intellectualism, but still aren't doing our best at harnessing our top talent.
Adding to that, even stuff like OOM errors _can_ be known states. It's not unreasonable for stuff like "one database per machine" to be able to adapt to the available memory. The point of "let it fail" is _just_ to drop the outcomes of your code's path in general use.
You’re exactly right —- the genius grant would be scrapped right after they got their list of the top 100 IQ individuals and realized the makeup is quite “problematic”.
> The standard isn't 'super-dense', and more people live in cities than you think. Plus, why are the concerns of people in cities any less important than yours?

The standard absolutely is super dense. I live in a spread out city and your concerns are completely hollow. Nobody in Houston is concerned about the number of Ubers on the road.

> It's not the drivers using it, it's Lyft and Uber.

It’s the driver’s car. The driver is driving it. It’s the driver.
You can export to Docx within Google Docs, this is bad take. I use Google Docs and Libre Office since I can't run Office.
The Slow Erosion of Amazon's Power
I was on a team for a short while (Java programmers) and their frontend code was really overly "careful". For example, they would always check if a method existed, before calling it.

var o = new SomeObject();

if (o.computeSomething != null && o.computeSomething != undefined) {
o.computeSomething(...);
}

Their reasoning was that in JavaScript (with the old syntax) you just add functions to the prototype, so you could forget to do it or mistype it.

SomeObject.prototype.computeSomethinnn = function () ...

I was sort of tripping over myself in objections to what they were doing:

* you shouldn't check for null or undefined, but rather do `o.computeSomething instanceof Function`

* there's no need to do `!= null` and `!= undefined` because `!=` (as opposed to `!==`) actually checks for both

* you shouldn't do the check at all because if you actually mistype the function name all you're doing is hiding the error. Failing sooner is better.

* a missing method should be picked up in the unit tests (but they didn't have any tests at all because "our system is too complex to be tested automatically")

* probably some others...

That team really hated JavaScript and their code showed it.

BTW, the indentation above is not wrong... they did indent by 3 spaces. I read a story about 3 space indents on thedailywtf.com and thought that it was clearly made up... after this team I believe it.
Some notable billionaires are in fact geniuses: https://pumpkinperson.com/2016/02/11/the-incredible-correlat...
subs can deny access to an incoming navy by sinking them
From running a fleet of dedicated servers, we would open tickets to the provider for disks when they had read errors or (later) when SMART values indicated likely failure [1] or if the disks just disappeared (like SSDs like to do), we'd open ram tickets for excessive ECC correctables (more than a couple a day) or the second ECC uncorrectable, and for network issues which were sometimes diagnosed as NIC issues, we got a couple CPU cache errors too. Sometimes we'd get maintenance tickets for overheating CPUs (they'd need to unrack the machine and reapply thermal grease and the heatsink) and maybe for failing power supplies and fans.

If you don't do this proactively, it's not the end of the world, it just means you don't set the maintenance window:

If you don't manage disks to catch failures early, the problem(s) should be obvious when you look at system logs because your host is offline.

If you don't alert on ECC correctables and the ram gets really bad, you may get a large enough volume of errors that the machine check exception processing brings your application to a crawl, or you may get uncorrectable errors, and most OSes will halt (I think Solaris? and some other more enterprise OSes have more granular responses; blacklisting the page with the error if it's not in OS critical memory, and only killing process(es) that try to read or write the broken page).

Network issues are probably similar to network issues faced in VMs. It's a little easier to diagnose them, because there tends to be less layers, but there's plenty of weird stuff, if you push a lot of traffic.

If you run your stuff long enough, you'll need to move to new machines from time to time; either because you want newer hardware, or the old hardware breaks, or the provider wants to clear out older gear (but that probably happens at 10-15 years old; most likely you'll want to move before they force you).

[1] (10 bad sectors in a day or 100 total would be a decent threshold, but maybe your provider wants to wait for it to show failed)
The developer of GrapheneOS is openly hostile to other similar projects (https://github.com/bromite/bromite/issues/2141 and https://github.com/AOSPAlliance/android-prepare-vendor/issue... are concrete examples). He's done things like relicensing one of his repos to GPLv2-only because a project he had a dispute with is GPLv3-or-later, and that way they can't use his code anymore, but he still gets to call his project FOSS.
> This avoid merge hell on the CHANGELOG.md file.

Right, if you don't do something like this you can be in merge hell very quickly...
Hmm…maybe I don’t quite understand what you’re saying. But I think you’re implying is that subs drive pretty far away with their nuclear missiles and shoot closer to the target?
Or it's a good lesson on knowing when you're using the wrong tool for the job.
I have a cheap (about $20-25 a couple years ago) sensor from Amazon in my plane. It calibrates itself when I turn it on and I check it works on the ground before every flight - open the window after starting the engine and see co2 going up ;) Granted, I don’t really care about any small errors or small changes - I want the sensors to warn me if co2 concentration goes up significantly (e.g. because of leaks from exhaust system).
They are certainly outliers, they are actually doing good work with reforestation. Now try everyone else.
You've just pointing out that 1940s America suffered from very notable racism. It's not a very surprising statement, nor was it unique to the GI bill.

Racial bias being intentional or not, the ideas of the GI bill seem like they would have worked even if they weren't targeting certain classes of people, making the idea of the bill good. That's the interesting conversation.
A rather tangential comment - this paper is an example of how NOT to write an abstract. An abstract is expected to tell me what new piece of knowledge I can learn by reading more. The content of this abstract is only 20% of what a real abstract should be .. the first half of the first sentence is almost all that's needed (could include which archa it beats). The rest of the abstract needs to cover this (perhaps one sentence each) -

1. Intro - a note on the overall problem domain - object detection in this case and bit zoomed in to the DL space.
2. Related work - work so far in the domain .. without critizin it.
3. Problem statement - what is the knowledge gap in the related work this paper is talking about.
4. Solution - how did we address the gap.
5. Validation - how do we claim our solution addressed the gap it was intended to address.

This paper's abstract covers only the last part and sporadically a bit of 2. What I want to know is this abstract is "what is the new learning in the yolov7 arch?"

Perhaps the bigger picture here is that it points to metrics chasing as a proxy for a "research agenda" in the ML community.
Absolutely. African Americans were excluded from its benefits by a viciously racist society. We should rectify that today.

But it doesn't detract at all from the fact that investment in regular "non-genius" people (whether via the GI Bill or otherwise) had a fundamentally positive impact on the society.
A couple jobs ago, I was at a company that had a "mandatory" squash / rebase / merge workflow so history would be clean. On top of that, they forced all their developers to update a change log as part of the merge. That file was a source of contention / merge conflict for nearly every PR, often requiring additional rounds of rebasing. On top of that, it was full of information that could've been gathered from the git log. Big waste of time, in my opinion.
There's an assumption being made here that higher IQ will translate into greater societal contributions.
It is a well established practice in the US that billed prices have no bearing on reality and if you are insured, you have no liability to pay them, hence out of context for the purpose of discussing the reasonableness of the insurance negotiated price (which is well established to be real).
Why should we, as taxpayers, tolerate this?

Wouldn't it be great if some smart, driven, altruistic people used a small ratio of our tax money to create something qualitatively new, with a potential of providing a better future to all of us?
We’re talking about Elon, not spacex. I don’t get how you’re confusing the two so easily. You claimed they can seize spacex property for Elon debt, which is 100% unadulterated bullshit.
Fun Facts About Obesity
To prioritize people with mental health issues, disabilities, people excluded from society, etc. makes everybody better off. That seems the best investment.

I'm sure that there are a lot of smart engineers here and they are doing fine.

It's like giving free stylist to the most beautiful people, it seems a waste.

It also seems a way of gatekeeping universal income.
Which version of browser and OS were you using? We have tested a lot of different combinations and it works. We ran into this issue on Windows but rebooting fixed it. Are you running an antivirus or special extensions on the browser?
No, I'm pointing out that when we collectively try to help just one class of people it turns into a predictable shitshow. It's not unique to the GI bill but it is absolutely a valid criticism.