skysight-inc/HackerNews huggingface dataset:
I didn’t write the first quote, but a comparison to an opinionated strongly typed language where types are a first class citizen, and a typing sandbox with nonsense constructs enabled by antipatterns such as unions (‘string|number’ anyone?)… these are not the same things.
Your opinions aren't relevant either. Only the judge's opinion really matters. So far nobody really knows what sort of legal precedents will be established.

And I'm pretty cynical but my world view is not yet so hopeless that I would even imagine that the FSF would actually drag me to court to answer to a judge for the crime of asking ChatGPT to explain GCC code to me so that I could try to contribute features to one of the most important and strategic projects in all of free software, despite both actions being rights afforded to me by the GPL itself.
Is water vapor some kind of greenhouse gas? How does its' infrared absorption measure up to carbon dioxides'?
If somebody tells you that the vegetables from their garden taste 100 times better than those from the store, this is why.
A good analogy is asking a English speaking tattoo artist who doesn't know any Japanese to tattoo a Kanji letter.

The tattoo artist knows roughly what a lettershape is, but has no idea how to write it.

Leads to hilarious tattoos
Weird multi-sized infinities pop up in physics in a few places. The number of physical positions you can be in in space is uncountably infinite, the number of protons in the universe appears to be countably infinite.

There are interesting physical differences between quantum systems whose spectra are discrete (countably infinite eigenvalues) and continuous (uncountably infinite spectrum) and even combinations of both.
The fact that you will use a class or function template from STL, and compile it, doesn't change the fact that, regardless of that, you will have to link against the libstdc++ or libc++ which you didn't compile yourself. I am not sure I understand the argument you're trying to make.
Exactly! Man is trapped by techniques and methods invented and practiced by our ancestors. One could argue that it is still possible to escape modernity by moving into the wildernes and live primitively, but in most cases that would be illegal and you would become a hunted outcast.

The closest I have come to wiggle loose from the inertia of progress of technique, is moving to the countryside, growing some of my own food and not working a regular nine to five job.

But I still love builing stuff with computers ;)
The bigger issue is that 1/3 of crops are used as animal feed.
No matter how water efficient they are, you still need 10x as much of them for the same amount of calories.

It'd be much easier and have a bigger impact to just go plant-based.
iPhone has exceptional long lasting performance. I have a 5 year old iPhone and it still runs smooth like silk.
Tests are very much a "if you liked it then you shoulda put a test on it" thing. If some end-user property is desirable to you, make sure a test covers it so that you can be sure it still works that way. This is a godsend when doing extensive refactors on the codebase, which lets you move fast.

https://twitter.com/simonw/status/1701764953114546664:

"The single biggest productivity enhancement I've ever found for my own personal projects is writing comprehensive tests for them. I don't mean TDD - I rarely write tests first - I mean trying to never land a feature or fix a bug without a test that proves that it works"

> No tests that click through the UI and screenshot and compare and hit the network.

That's fair, I think testing UI is just hard in general and it's easier to rely on users to submit bug reports especially if the UI rarely breaks.
Patch or major is always a judgement call. Making all changes a major jump is a bad idea, because it means that dependent packages are less likely to adopt important functionality or security fixes.

NPM already gives you a way to control when version changes happen, it's called package-lock.json, and it's used for all NPM installs (both in development and when deploying). Just don't listen to the bootcampers on StackOverflow telling you to delete it whenever anything looks weird.

If you delete package-lock.json, assume every dependency version has changed and regress accordingly. The same is true of all reasonable version-locking package managers.
Exactly. It's not terrorism when government does it.
The Nordstream leak has as much impact on sea temperature as my fart on air temperature.
You can at least try to prove the code works, and you can get a lot further than people seem to bother. Hell: even just using a language with types--which many people don't do--is a form of invariant that proves away a lot of potential bugs you would otherwise have to test.

And like, we absolutely have proof assistants and model checkers and more advanced languages with dependent types (even C++ can do a lot more than many languages due to how it can template over values, which includes stuff like the sizes of buffers on which it can do math at compile time, but we should be spending more time coding in the like of Coq/Idris/Lean)... let's not normalize a world in which people entirely give up on formal correctness.

The problem with tests is that people use them as a crutch to not have to even just prove to themselves in their head -- much less to someone else or in a way that can be checked by a machine -- why their code does or doesn't work... they just throw together a ton of tests and if they hammer the code and when the tests stop failing they proudly announce "I guess it works now" and move on.

My challenge: try to code for a while with the mentality that every every time you stop typing to test it or run and it doesn't work (including "my tests failed"), that is a serious problem that should be avoided. Instead, try your best to make it so the first time you get around to testing your code it works because you are that confident in how it works.
And why does she (?) feel the need to emphasize her posh upbringing? Might be a fantasy too.
It usually requires less time, not more, to create a slim and efficient page.
I think I heard somewhere that if not for a few degrees in temperature human beings would be plagued by many fungal diseases. But because of our body temperature (and immune system) they find it very hard to live in our bodies. I'm wondering if global warming will accelerate the adaption of fungi to higher temperatures and therefore potentially allowing a new species to invade us. The future is fun and holds many things to look forward to. Perhaps we can become one with the mushrooms some day.
This assumes useful tests.

There's a false equivalency drawn between writing tests means you wrote good code. In reality, those who can write good tests can also write good code.

My rules of thumb:
"Be a goldfish"
- Forget everything you know about your project, is it complicated, non-intuitive? Tests + clear documentation.

But don't test for stupid stuff.

AI's already generate+test the stupid stuff for us anyway ... why are we writing it
I simply assumed it was refilled by rain … darn half remembered geography lessons!

Amazing - if it was a mineral or metal then there would be a mining company charging market rates for the mining … what is happening in this case?
It's like that common misconception about the testing pyramid.

The reason it's smaller at the top isn't because you should have numerically more tests at the bottom then at the top. It just shows that if you're doing a higher level test, you're also testing the layers below this.
As an unrealistic example: if you'd have 1 IT and 1 UT, you'd still have double coverage at the bottom. You're probably still gonna create more UT then ITs though, as they're easier to write... so this is probably more academic pedantry then anything insightful
Same here. Of course, now that we have the M1 and the likely eventual deprecation of x86 for new versions of Mac OS, things like Hackintosh are a bit doomed. If you have an M1, you'd be runnig MacOS (or Linux) and would have no need for it. If you don't, MacOS is not going to run great on it and very soon not at all. So, it's one of those things that you wouldn't use unless you really needed to. And finally, support for running mac os in virtual machines is kind of getting there. It's still made hard by Apple and only supported on their own hardware. But it's not impossible and there are some legitimate use cases (e.g. building IOS apps in the cloud). Maybe eventually somebody will figure out emulation on non Apple hardware. I think there are some efforts on QEMU. Of course the issue will be emulating enough of Apple Silicon properly.
It’s interesting but will anyone actually use it? z/OS for example doesn’t have a hierarchical file system. The version of COBOL they bundle supports data sets I’d imagine. Legacy folks will be hesitant to switch to it as well. When I worked at a bank they couldn’t even use the latest Java, due to compliance and regulatory reasons.
You'll also need to add bundles to block dns names ( free fyi)
You must always verify the tests pick up whatever it is they're testing, you do that by intentionally asserting a wrong value, or running tests before the bug was fixed, for example... it's not hard.
"npm ci" omits dev dependencies by default.

However, "npm install" also adheres to your package-lock.json, and does not update things on you.

npm ci is just npm install with a few tweaks that make it better to use for CI and builds, see here: https://docs.npmjs.com/cli/v8/commands/npm-ci
As an american by accident, i apologize, you're right. More civilized countries have outlawed that sort of advertising.
> Passkeys have been heavily pushed by major tech companies as a replacement for both a username, password, and 2FA method - but (assuming proper 2FA) it's a strict downgrade with serious drawbacks. It's really sad to see companies ditching proper Webauthn 2FA support when switching to Passkeys, because it's making security worse for the people who actually care about it.

Authentication which requires multiple independent mechanisms is rarely a user benefit though; it is the result of regulatory requirements or corporate risk aversion.

If companies are adopting passkeys, it likely means risk that they were formerly solving with a second factor (like weak/passive phishing resistance or credential reuse) are solved via baseline passkey provider behavior.

> There are also privacy risks here, as it must by definition be possible to query a token for the existence of an account at a website.

You can protect this via the PIN of the security key, to prevent third parties who get access to your key (such as through coercion) seeing which websites you have accounts on.
Below Average Temperatures
Even in the southern states it can be slightly frosty in the morning.
.moe, as it's clearly the classiest and most professional TLD out there
The article explains why DWARF is not an option.
Afaik it is a strong greenhouse gas, but under normal circumstances the amount of water vapor in the global air is more or less the same so it won't matter that much.

Now we don't live in normal circumstances, but in a society that hasn't given economic value to an environment that is essential to it's survival. And so it happens like in France where nuclear energy couldn't be used anymore because there wasn't enough water in the rivers for the process anymore, during a particularly hot summer.

Essentially water vapor is one of the runaway feedback loops for cilmate change, more vapor means more greenhouse effect, means warmer, means more vapor, etc. This works until the air is saturated. Climate is driven by a bunch of those complex feedback loops and includes tipping points (e.g. particular big ice structures melting) so predicting how exactly it will pan out isn't trivial.

A side effect of more water vapor is also that storms get stronger and rain falls worse.
> “We have been asked to be more rigorous in enforcing our ToS and must comply,” Gumroad founder Sahil Lavingia told TechCrunch. He declined to say which company asked Gumroad to enforce stricter rules.

This refusal to even name which payment provider is being an ass irks me, and makes me worry that this may just be a convenient excuse to get rid of adult content 'because the payment providers made me do it'.

Gumroad already was hostile to adult content by forcing anyone looking for sex-related content (regardless of its type) to repeat every search by explicitly ticking the 'Show NSFW' checkbox way down the bottom of the filter list, and have to repeat this for every search, with no way of opting in in the settings.
Exactly, and since this is AWS SDK for S3 we're taking about, and I depend on that same SDK in my own projects and they aren't broken (including using some of the more advanced streaming parts of it), I'm guessing there was a major version update applied somewhere in the dependency tree when it shouldn't have been.
I think granular layering is still useful.

It's not always best or most efficient to squash everything into one giant layer.
Where one can find an up to date list of obscure packages on an Android device with short description what it actually does and the impact if it was disabled/uninstalled? I'm especially interested in possible dependencies between such packages, when uninstalling one seemingly unrelated package might break something else.
They should probably design a cheaper mass market car at some point...
It's strange. Never had this before on any other site. It's not even corporate IT, it's just the building's internet connection.
You don't need a password to prevent account enumeration; you can send people who choose a nonexistent account a bogus credential that the token won't accept.

You have to display the password prompt for invalid accounts to avoid enumeration without webauthn too...
look ill admit its abrasive but you may wanna look up the correlation between partner count and divorce rate
I use lmstudio: https://lmstudio.ai/
It was aimed at people's energy supply during winter. that very much was meant to instill fear. Not fear for one's life, but fear for everyone's wallet and heating.
On the contrary, I didn't find Syncthing setup very easy, as I don't want to be dependent on external resources when doing a sync over LAN and thus I had to setup a coordinator myself and it's a bit confusing with all these long tokens that I needed for some reason.
There is a difference between straight up porn and fan-service (OnlyFans) and the adult artwork and erotic educational content on Gumroad. I would be surprised if these suffer from the same amount of chargebacks.
The way perf does it is slow, as the entire stack is copied into user-space and is then asynchronously unwound.

This is solvable as Brendan calls out, we’ve created an eBPF-based profiler at Polar Signals, that essentially does what you said, it optimized the unwind tables, caches them in bpf maps, and then synchronously unwinds as opposed to copying the whole stack into user-space.
My personal vim config on a company laptop? No problem whatsoever, neither for me, nor the company.

A bittorrent client without preauthorization with IT and security? It's basically asking to get fired.

My vacation photos on a company laptop? Tricky - not a huge deal but not recommended. Better upload them to your cloud backup quickly.
I associate this with what we used to call "one-liner programming": I would write a single line of Perl code (in bash, prefixed with `perl -Mwarnings -MDebug -E'<code here>'`, convince myself the code did what we needed, and then share it around as a paste in irc / chat / whatever. It was amazing what you could achieve with the right modules, and Perl's flexibility allowed your mind to roam freely.

Incidentally, the fact that you cannot write this type of one-liner in any meaningful way with Python is one reason I do dislike that language.
I just choose not to use it. if I follow a link and there is an ad per paragraph and video starts playing I close the tab. it's rare the page I was about to look at was actually important
TIL, COBOL has been able to make rest calls for almost 20 years: https://stackoverflow.com/questions/52136482/how-can-i-call-...
Yes, and it works, too. But i have outbuildings with servers and networking gear in them and metal conduit between buildings on/underground. Voltage potentials don't care, if there's a wet extension cord or something that's a less resistive path to start flowing and some gear is on that circuit or adjacent, it'll go.

Overall switching to fiber is cheaper than aggressive lightning protection, and i moved all the network gear to a commercial UPS, and the interconnect between the "modems" and the switches is media converted to fiber for 3 feet. any time i have to run networking further than 6' or so i run fiber and put a media converter or a single gbic switch there. I'm hoping i futureproofed enough to upgrade to 10gbit in a year or so. My backup NAS has 10gbit but nothing else is connected at that speed yet.

edit: One time lightning hit a pine tree in the back of the house, and it used my dipole antenna to reach a tree 80' away, and apparently there was an extension cable near there, which went back into the house, and it went all the way around the house, to reach the telco CPE box where DSL lived. the telco box and my mains earth are roughly 1 meter apart. That surge took out my main desktop computer, a washing machine (singed the dryer where it arced between it and the washer), the toaster oven, a microwave, my NAS, and my router connected to telco. It went two different paths inside the house, along both outside walls, one via mains copper and the other via cat5e copper. That was quite an expensive misadventure.
It's really simple to buy drugs in general. It's incredibly weird to see people pretend like a fully documented medium is a viable way to carry out illegal and ostensibly undesirable drug sales.

Actual, unabated nasty drug sales are preferable to living in a global prison built from surveillance and data handling advancements. I think some crimes are allowed to happen, to justify oppressive countermeasures.
Honestly, duckdb looks fine to me (I haven't played with it yet, though articles like this would put me off of it, and make me question how long its going to be around), it's the the tone of the article, which sets up what appears to me to be a strawman, and then plows on.

Also, my naive and quick look at your docs gives me the impression this isn't actually a storage engine (which didn't come across in the article), but instead an in-memory query engine? The FAQ doesn't really clarify this (e.g. is there an actual storage format, how does this compare to using one of the more traditional dbs, how stable it is (c.f. sqlite being recommended by the library of congress), does this assume all the data can be loaded into memory, or can I stream the data in).
The BitWarden passkey dialog irks me because it makes me click the passkey I want, even if I have exactly one. It would be better to have a feature where I could specify "always use this passkey and don't prompt", since that's what I need 99% of the time.
That's why I use kotlin-js. It's like typescript with the training wheels removed. I always joke that typescript is a bit of a gateway drug for web developers that know javascript to actually get into other languages. Kotlin-js is a bit of a niche thing of course and soon going to be obsoleted by Kotlin's wasm compiler. But kotlin-js actually works very nicely. Just like typescript, it's a transpiler. Unlike typescript, it does not really have a non strict mode (except for the dynamic keyword so you can deal with some js libraries and its weird type system).
Yes, I have been using canta with shizuku that enables wireless debugging for this.

https://shizuku.rikka.app/
https://github.com/samolego/Canta
Setting up the env probably eats into your margins.

Whenever I onboard a new contractor, they bill me 4+ hours just to get the thing to run on their machine and understanding the code base.

I'm curious if you're constantly having different devs, this overhead for each dev makes it less appealing on both sides of the table.

I also had someone (who I gave paid trial "tiny task") steal my codebase and post the code publicly on github to pretend to use in job interviews. Ever since then, I try to minimize the number of contractors I allow access to my source code.

How do you prevent the subcontractors from doing this?
I see this so often.

Mocks and stubs get used all over the place because nobody understands what it means to write code that’s easily testable. They’re great when used correctly (e.g., remote services or inherently stateful APIs like time). But they almost never are.

You end up with tests that ensure one and only one thing: the code is written the way it’s currently written.

Tests should do two things: find unexpected out-of-spec behavior, and prevent regressions during the course of editing and refactoring. These overly-mocked tests by definition can’t do the first one and they actively inhibit the second. They have negative value insofar as they constantly trigger failure while making completely benign edits.
> have been caught, if not during code authoring time by an author who actually cares a bit more than just doing the job however and going home,

I have to ask, what's the alternative type of author to one who does the job however and goes home?

Because doing the job properly takes more time, where does this extra time come from? In any agile setup the dev who goes slower but better is going to get dinged in every single standup and metric, so the only other alternative to doing the job however is unpaid overtime, which I think is even worse for a Dev team than shitty code.

IOW... Good, cheap, fast... Pick two and don't judge those who don't give you all three.
The biology and evolutionary history of fungi is incredibly fascinating.

To my (admittedly layman) understanding, they're sort of life's premiere resource extractors. Their whole thing is breaking down things that other life can't, so it's not surprising at all that some species can consume oil.

We know they co-evolved with plants, and one theory suggests that fungi allowed plants to make the jump from water to land by using their hyphae to act as a proto-root system, unlock nutrients like phosphorus from the soil, and transport water, while early land plants provided sugars produced from photosynthesis in return.

One of the main differentiations that might have led to the split between proto-fungi and proto-animals is their nutrient acquisition strategy. The organism that would become fungi had extracellular digestion, while the organism that would become animals captured and ingested other organisms.

This split led to different approaches to cellular adhesion along with different developmental and signaling pathways (different strategies for achieving homeostasis for instance).

---

If you want to read about some really wild stuff, look up the Late Paleozoic era in the Carboniferous period. Basically plants evolved Lignin (wood) but there was nothing in the world that could break it down so it rapidly accumulated along with a hyperoxgenated atmosphere due to the extensive growth. This meant there were 8 foot long millipedes and dragonflies that size of crows flying around. There were also massive forest fires spanning the globe since fire was one of the only ways to get rid of the lignin until, eventually, some fungi evolved to take care of the problem.