skysight-inc/HackerNews huggingface dataset:
At home, I only test parts of code where I think I need it, like regexes.

At work, as a web developer in Java Spring, I am required to have at least 80% coverage, enforced by Jacoco and tracked in Sonar. This means that if I write a method in an adapter that accepts a single parameter and only makes a single call to another method on some repository passing the parameter to it without transformation and returning the result, I must write a test for it, with Mockito.

At this point I'm not testing my code, I'm testing the Java API itself and the JVM it's running on, which I find hilarious. I'm hoping one day this kind of test fails, which will mean that Java does not garantee that reaching a method call will result in a method being called.
YAML's answer to "how many Prolog programmers does it take to change a lightbulb?"
>> safety
>
>Perl basically invented unit tests amongst the scripting languages. It also has stricter run modes to differentiate between one time scripts and important business code.

Don't forget Tainted Mode! It's 2024 and I still have never seen it adopted in any other language. It's essentially SELinux-lite for variables :)

IMHO Perl lost to Python because of 3 reasons: 1) Google at the time chose Python and it was the new cool startup everyone wanted to work at, 2) Pandas and Numpy weren't matched in the market (I'd even argue this is still true in 2024), and 3) Perl 6 was way too ambitious and scared people off (even though Perl 5 was never going to go away overnight (and still hasn't))
Water vapour is a very strong infrared absorber, so much so that it is more important for the greenhouse effect than CO2. However, it is usually very difficult to change the amount of water vapour in the atmosphere as a whole (it just rains out).

The stratosphere cycles through much slower than the troposphere (there are very few clouds, for example). That means that if you put water there, it can stay there for a lot longer, increasing the total amount of water in the atmosphere and warming the climate.

I'll also say that we expect water vapour to increase as temperature increases, which is a positive feedback in the climate system,increasing the warming beyond that of CO2.this is known as the water vapour feedback.
World building stackoverflow recommends a https://en.m.wikipedia.org/wiki/Solar_furnace with polished parabolic mirrors made of some not ferrous reflective material like obsidian shards.
This is a manifestation of Wirth's law, again.
Isn't that a completely different question? OP was demonstrating that the existence of natural numbers is trivial to show, unlike actual infinity.
My phone is Sony, and came pre installed with the Microsoft SwiftKey keyboard.

> First, please note that unless you have opted in to use a Microsoft SwiftKey Account on your Android device, all personal and language data generated by Microsoft SwiftKey is stored locally on your device and is never transferred.

I use it since it seamlessly swaps between enabled languages. I can write something like "meet me at Østerport Station" smoothly.
KYS

PC is the last bastion of digital freedom
No, no, every possible question must be answered by an automated plagiarism machine running on GPUs which need multiple kilowatts to operate. It's called progress, you see.
Performance is a feature and management often doesn't care to optimize for it. If the market valued performance more then we would probably see competitive services which optimize for performance, but we generally don't. I'm sure there's plenty of developers that could deliver improved performance, it's just a matter of tradeoffs.

Maybe the people who care this much about performance should start competing services or a consulting firm which optimizes for that. Better yet, they could devote their efforts to helping create educational content and improved frameworks or tooling which yields more performant apps.
FTA: "Irrigation is responsible for around 70 percent of the global underground water withdrawals, which are estimated at more than 200 cubic miles per year. This exceeds recharge from rainfall by nearly 70 cubic miles per year."

So 65% makes it back.
PolarSignals is specifically discussed in the linked threads, and they conclude that their approach is not good enough for perf reasons.
In the case of Perseverance, I think data has to be sent in batches to a relay satellite and the forwarded back to Earth. That time when the satellite has line-of-sight with the rover is short, before the signal is lost, and it has to wait before continuing.

It'll mean more data can be sent in these batches from what I understand.
People often forget how bad things were in 2000s. A "serious engineering discipline" usually meant Java and "writing a unit test and five lines of docstring for every get/set method". I'd go for wizards and alchemy any day.

Even today many of the "serious engineers" of the time still roam the industry and show up for interviews every now and then, completely unable to write code. Some even capture younger souls into this trap, a sad picture.
"I personally always shop at the store that doesn’t use plastic, furthermore to spare the environment I don’t drive my car there, I ride my unicorn instead"

Well, I do ride my bicycle to my local farmer store, where I can indeed buy things with very little or no plastic. I also drive my car to the bigger store to get everything else, but some years ago, I only had the big plastic store option. This local store did not came into existence, because it was mandated by politics. But because there was enough consumer demand for it.
Triton has an AMD backend, although work is still ongoing.
Tyson Foods to hire 52,000 migrants after laying off 1,200 American workers [video]
Did you also use 000webhost.com with .tk domains like me?
Oh dear. I had disabled the Samsung keyboard for some other, but it seems it got reenabled again.

Maybe Google broke some API endpoint and the old keyboard didn't do the update grind.

No warning what so ever for their spyware taking over the keyboard functionally.

The need for some FOSS mobile is really over due by now.

Edit:

> I immediately found an open source keyboard to replace samsung's with

Which keyboard did you pick?
Except for lodash, axios and dayjs (moment), I found that I don't really need much more core functionality for backend development.

And if you want reproducible dependencies, use npm ci not npm install, or use yarn. Best combined with replicated self hosted npm repository.
where do you draw the line with this approach?
- "That means that if you put water there, it can stay there for a lot longer"

There's more to it than that. Large parts of the water bands in the troposphere are already saturated: adding more and more of the same absorbing material doesn't have a linear effect, but diminishing returns. But the stratosphere is completely dry. The marginal effect of a water unit is a lot greater.
The spectrum of the hydrogen atom and the volume of the universe both appear to be actually infinite based on our best physical models.
Extremely light on the details, and also conflates it with the JIT which makes it harder to understand the point, so I was wondering about the same thing as well.
Google Employees Will Get Smaller Pay Bumps This Year
Did you experience a significant improvement from using CPAP?
> can we really ascribe belief to the machine?

Sure, just so long as you don't require beliefs to have qualia.

I'm fine with that myself, my beliefs only have qualia when I actively introspect them, but I'd still call them "beliefs" even before I examine them for the first time.

> And they don't usually have a bias in hallucination other than what you're feeding, salespeople absolutely do have a bias

The motivation may be different, even alien, but I'm not sure it matters. You can also tell an LLM to take on the role of a motivated salesperson, and it will role play that just as "happily" (if you'll excuse the anthropomorphisation) as any other.
> any 'quality' or 'skill' gap between legal representation is a relative thing

Yes, so if you add new shittier people that relative difference gets larger, that is what the person above you said. This doesn't reduce the level uniformly.
The cure for high prices is high prices.

There are a lot of conspiratorial comments blaming everyone from investors and speculators to contractors and developers. The reality is that it's largely homeowners and the government to blame. The number of homes bought by investors is a rounding error. And developers will build homes as long as there is profit margin.

The government (and society) turned housing into a retirement plan. We decided to enact policies to push people onto the "housing ladder". We confused cause and effect, and the result is the largest misallocation of capital in human history. Blame NIMBYs and ZIRP. Want to get rid of speculators? Stop making houses an investable asset. People should not be relying on a commodity for their retirement.
You don’t actually need to load everything, just the previous, current, and next pages.
Apple's ARM license may be an artifact of the shared history of the two companies.

https://en.m.wikipedia.org/wiki/Arm_Holdings#Founding

Development of the Newton handheld PDA led Apple to seek a capable, efficient, embedded processor architecture. They worked with Acorn and VLSI Technologies to build upon Acorn's RISC design.

(Apple initially used the "Hobbit" embedded microcontroller from AT&T, but Newton's ambitious design required three of them, plus support chips. Development costs escalated, Apple sought an alternative, and helped develop ARM into a licensed, flexible reality.)
Yes it's for the frontend, but it's not really related to hot reload thing. Is there a way to really compile tsx? I couldn't find any, tsc doesn't support it so you have to use some of the transpilers, and they don't perform full type check across files. So there's no way to perform real "full build" when tsx files are used, even if you don't care about build duration. If there is, I would love to hear about it.
Why do you need to compare across teams? Management often create an elaborate once a year process with peer feedback to justify the lack of action. Even then, nobody will write truly negative feedback.

If you are manager of a team, you see individuals output in the form of PRs, bugs, tickets and team activity. Instead of wasting time on one to one, managers should just review people work.

What I often see is a combination of:

1. It is human nature to promote people that you like. People that play the game will gradually get influence and be promoted even if every project they did was total disaster.
2. Underperforming developers are promoted to underperforming managers. This save managers from firing a person and keep team output constant without need to hire another competent developer.
3. Driving organisation change and pushing others to do better is a career suicide. You will be universally disliked as you will highlight other people incompetence and force them to work and make risky decisions.
4. People base salary is not based on performance, there is just no incentive to do well. Main reason why startups are successful is size and stock options distributed to employees.
Many animals move on before they destroy the fields and return later once it's regrown.

Probably not much thinking but this is how your species survives. Perhaps humans think too much.
Perl was one of the first languages I learned and also the first language I used commercially. I have a huge soft spot for it as a language. Still love Perl regular expressions like no other. I loved the camel book and its various footnotes with both humour and deeper knowledge on a topic.
Some banking apps detect this, or might detect it in the future, and refuse to work.

In some countries (Scandinavia...) not having the banking app is inconvenient, as it's used for authentication with many other services.
> safety

You forgot safe mode and tainting, which while imperfect and has some sharp edges, is a first class construct that when correctly wielded outright prevents classes of attacks like shell or SQL injections or XSS.

Some have been reinventing it in a piggybacked way, and so, partially/poorly (comparatively), e.g Rails's safe/unsafe strings in ActionView.
https://en.m.wikipedia.org/wiki/Think_of_the_children

Protecting children, together with fighting terrorism, are the two most often invoked reasons for removing privacy protections in the modern world. They were just being tongue in cheek about this being more encroaching on privacy rights in the name of fighting crime.
What android brand are people going with? I thought Samsung was the biggest alternative to pixels
I will definitely give it a try.

Genuine thanks again!
Definitely not true in my experience, and I would think if it were true, most pages would be "slim and efficient". Where is the business value in doing anything else at that point?
Back compat is an important thing. A few years ago we took a 250kline from perl 5.8.9 to perl 5.16 in one hit. Out of the entire application under 50 lines of application code needed to be changed (excepting the big bump in cpan module versions). Currently I'm slowly finalising the move from 5.16 to whatever debian stable is currently shipping 5.34 maybe? The biggest pain point is some type safety in the elastic search cpan module. Other than that I've had to slightly refactor some hacky but effective cache invalidation startup code due to a weird `perl -e` bug I found but can't characterise sufficiently precisely to report. The only reason that the perl latest upgrade wasn't done incrementally was because of a super weird unicode bug between perl and the oracle client library which is now out of scope for us.

But I agree perl can have bad management problems because of different people's capabilities, and different people's approach to showing their individuality.
It's unlikely to ever happen that MSFT just says "we're not maintaining this anymore, we're making our own private fork". This seems like a huge blow to reputation and no financial upside. Kind of like Google abandoning Go (but then again, it's not like Google does not have a reputation for killing products).

The main conundrum is the sheer cost of maintaining dotnet and its surrounding infrastructure, and the teams to keep it moving forward fast.

But should unthinkable happen, it is MIT licensed so one or more companies can just carry on with their fork or maybe even transfer existing org/repos to some newly formed foundation.
> I never heard people say their code was well written

It's shockingly common...[0]

TBH there's very few people I've worked with that document, comment, or any form of help. You can see in that thread that much of my frustration in work (including big tech) is that people hand be aliases and call them scripts or hand be hard coded spaghetti and expect me to figure it out without handing over any of the files. But I'm also a researcher, but I have worked on some projects in big tech and this happens more.

> It takes real dedication, discipline and talent to have good documentation, and I wouldn't expect any random dev org to be able to pull it off.

I don't disagree, but I think writing docs makes a better programmer. You have to think more about your code and methods. It's like the Feynman technique of learning: teach others. I generally write docs for myself because I need to remember. Because writing comments helps me not rush and think a bit more about what I'm doing and where I'm going or could go. As a researcher I'm changing what I'm doing all the time so the latter is quite useful, thinking what I'm going to come back and hack on and making it easier or providing myself hints to come back and rethink. You're right, it takes more time, but often it is faster too. I definitely think it has made me a substantially better programmer and why shouldn't it? A professional athlete reviews their performance, analyzes, criticizes, and rethinks their plan of attack. Are we not doing the same to better ourselves? I hope the pay we get is enough to not just check out and coast but I don't want to be average. I want to be better than I was a month ago.

[0] https://news.ycombinator.com/item?id=39476290
I'm still not hearing your definition of thinking, but given how hallowed you seem to find it, it must be truly brilliant.

Progress of scientific theory is plain to see. At each step, e.g. Kepler equations -> Newtonian mechanics -> General relativity, we encode our observations of the physical world ever more efficiently.
Have you given a try to cozycloud ? It’s the first on my radar for when I’ll find time to tinker with a personal cloud.
AWS optimized the stack creation process to make it faster and achieved significant improvements. The company split the resource creation process into two phases (creation and stabilization), which allows for creating other resources in the stack earlier. The change is available in all regions and doesn’t require any user action.
Apple already had a license for its mobile devices, and using the same ISA for the desktop machines reduced duplicate development across the platforms.
Why is it not possible to compile and install a complete clean Android directly from the sources on your phone? What are the things that prevent that?
> In theory, switching from diesel or electricity to PV pumping should eliminate greenhouse gas emissions. But in practice, farmers often use their solar pumps to supplement existing pumps, rather than replacing them. And, however it is pumped, the extra water available will also encourage farmers to adopt more intensive farming methods, using more fertilizer and machinery to grow thirstier cash crops, increasing the carbon footprint of the farm.
Wrong. “GitHub Apps” always (?) had fine-grained repo-scoped permissions, it’s the “OAuth apps” that are stuck with coarse-grained permissions. So developers do have the option, it’s even the preferred option.[1]

> In general, GitHub Apps are preferred over OAuth apps.

[1] https://docs.github.com/en/apps/oauth-apps/building-oauth-ap...
> m sorry, but if you’re looking for subsecond compile times, you’re simply not going to get it in C, C++, Java,

I always get subsecond compile times when actively working in C, until headers are changed. Single files take milliseconds to compile, and you ordinarily aren't changing multiple files at a time.

A 2000 line module I was working with was compiling in about 20ms, with a clean performed beforehand.

My last project, around 10k sloc in about 6 modules compiled and linked in under 1s.

The exception to this is embedded environments which run cmake more often than required (specifically the ESP32 IDF) or similar.
It would help hugely if there was a map, I guess that’s not so easy to do.
Not really, no. The book in question has many, many reviews asserting that the author created a strawman of Sapir-Whorf to 'take down', that he doesn't really understand the hypothesis in the first place, and that the author struggles to even write well or do basic logic.

> It feels as though this book were written in a weekend, one man's simmering grudge against his own imagination of pop-culture's neo-Whorfian enthusiasms.

> It was very frustrating for me to get through the book as I had very high expectations for it. I had some problems with the tone (his use of rhetoric detracting from actual credible claims), but mostly with the lack of evidence to support his claims. He evokes intuition, but that made the argument very unscientific and uncredible. In the end, McWhorter's argument did not conflict with many proponents of the idea of linguistic relativity, and his actual argument against the strict interpretation of Sapir-Whorf is essentially a straw man.

> He trots out a bunch of thought experiments to support his arguments, but these are always things he's made up and have no empirical backing beyond that they feel right -- and in many cases they feel right because the alternative would undermine certain assumptions that are the basis for modern liberal societies. For instance, Chinese is less grammatically complex than many other languages, therefore the Sapir-Whorf hypothesis would indicate that their cultural world-view is also less complex. [! wtf?]

> Saw McWhorter give a talk, and thought this would be interesting. It isn’t. He’s an embarrassingly poor thinker, and this is a useless contribution to the language question.

> In short, the guy is kind of a poor thinker, and the book is an embarrassing example of the worst kind of academic sophistry. Two stars only because it might provoke some discussion.

> A dismally argued little book.

> This author raises belaboring a point to an art form that I don't think I'd ever imagined.

> Do you love horses? If so then I recommend avoiding this book, in which the author beats a dead one for 100+ pages.

Etc.

Again, all the people in this thread asserting that 'Sapir Whorf is debunked' are referring to this one book, by this one author, who plainly has misinterpreted the essence of the hypothesis and seems to have some kind of grudge about it for whatever reason.
> holy hell their documentation is just aggressively bad

Anything in particular you'd like to see improved in the docs?
Node.js 2023 Year in an Article
Hey if you want a mock interview in some as-real-as-possible scenario, find my post on whoishiring and email the careers@ email with your cv, I’ll make sure to get you an interview and get feedback to you.
So you are saying 80% of homes aren't lived in? I don't believe you, there is no way those numbers are anywhere close to accurate.
Very simple view you have.

Ritalin helped me a lot.
The problem is that this kind of philosophy is fundamentally incompatible with HTML5.

There was an attempt for a "strict-mode" HTML, it was XML, but it failed (on the web) for various reasons (including IE). HTML5 specifies the exact behavior of what every browser must do upon encountering tag-soup, which is useful because real-world HTML has been tag-soup for a very long time.

I guess the strictest thing you can do is to die upon encountering "validation errors", but I don't think this would help much to simplify your job. (Maybe you can drop the adoption agency?) But now your parser chokes on a lot of websites - likely on hand-written HTML, which has a greater potential for validation errors but also typically simpler layout.

And HTML parsing is still the easy part of writing a browser! Layout is much harder to do, partly because layout is hard, but also because it's under-specified. Implement "undefined behavior" in a way that other browsers don't, and your browser won't work on a lot of pages.

(There have been improvements, but HTML is still miles ahead. e.g. CSS 2 has no automatic table layout algorithm, and AFAICT the CSS 3 version is still "not yet ready for implementation".)
POE (2001!) was another async-ahead-of-its-time:

https://www.perl.com/pub/2001/01/poe.html/

https://en.m.wikipedia.org/wiki/Perl_Object_Environment