News for hackers. Stuff that matters.

theodorejb

As well as Lake Ontario.
Re:Deno Is Joining Cloudflare on Friday October 09, 2026 @09:16AM (#50020072)
> We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. After that year we will end our development of the Deno runtime. Deno will remain open source, and we welcome others who want to continue its development.

So unless someone else picks up development, Deno will no longer be supported.

Re:Radical Study Suggests Life on Earth Arose Twice on Wednesday August 12, 2026 @08:21AM (#49271258)
Design has tradeoffs, and when these are considered I doubt you'd want to trade your eyes for another organism's. The human eye is a marvel of engineering, and even today the best digital cameras we design can't capture even close to the dynamic range our eyes can see (12-15 stops vs. 20-24 stops simultaneously). After adjusting to the dark, the human eye can perceive a single photon striking the retina.
Re:Radical Study Suggests Life on Earth Arose Twice on Wednesday August 12, 2026 @08:02AM (#49271066)
> Life didn't spring up fully formed, it developed in stages.

Have these stages been observed, or are they merely a speculative story? No one has ever demonstrated life arising from non-life (a violation of the Law of Biogenesis).

What is semantically incoherent about my perspective that life was clearly designed?

Re:Radical Study Suggests Life on Earth Arose Twice on Saturday August 08, 2026 @01:11AM (#49219052)
We know that intricate machines are designed by smart people; they don't just happen by luck. The idea that living things, which are far more intricately organized at every level than any machine we have made, could have arisen by some unknown series of chance steps is a fairy tale. It has never been observed, and even in the most controlled of environments it cannot be replicated. To me it's far more reasonable to conclude that life was designed by a super intelligent Creator. Just as a piano implies a piano maker (even if we haven't seen them), life implies an original Life-giver.
Re:Radical Study Suggests Life on Earth Arose Twice on Friday August 07, 2026 @09:55AM (#49210467)
The idea that life came about by luck is completely absurd, even more so than thinking that a computer chip was created by chance erosion of a silicone wafer in exactly the right pattern.

As I see it life was clearly designed by God.

Re:Elevators on Saturday August 01, 2026 @09:38AM (#49134338)
The worst situation I've encountered is after a large conference when everyone is leaving the hotel at once. An elevator quickly fills up on the way down, but then wastes time stopping at every subsequent floor with a call, even though no one else can fit inside. At each floor the elevator stops, the doors open, the waiting people see it's already packed, the doors close, and this repeats on the next 15 floors before finally reaching the bottom where everyone gets off. If the algorithm could know an elevator is completely full and only stop at its destination floors rather than every floor along the way with a call, it would be far more efficient.
Re:Astrophysicists Puzzle over Webb's New Universe on Saturday July 04, 2026 @05:18PM (#48789193)
The Big Bang is an almost infinitely malleable story, contorted to comport with almost anything we observe. But how is this useful? The predictions of this theory continually fail. The farther we look, the more we see stars, galaxies, black holes, and other structures that shouldn't exist according to this model.

What if the universe doesn't have a naturalistic origin, but was created by God? How much greater would our understanding of the world be if more scientists focused on studying present phenomena rather than trying to fit stories about the past with observed data?

Re:Astrophysicists Puzzle over Webb's New Universe on Saturday July 04, 2026 @09:54AM (#48785418)
Instead of questioning whether the Big Bang assumption is true, astrophysicists prefer to perform endless "gymnastics" to try to make the mounting contrary data fit their theory about how the universe began.
Only if the union is against the unethical request. In some cases the union may be for it, which makes it even harder to push back.
You don't need to join a union to push back against unethical feature requests.
Re:Ask HN: What are you working on? (May 2026) on Sunday May 10, 2026 @10:26PM (#48090396)
I've been building PHP Handlebars, a spec-compliant implementation of Handlebars in pure PHP:

https://github.com/devtheorem/php-handlebars

I've also been developing Cropt, a zero-dependency JavaScript image cropper which works great for cropping and scaling profile images before upload:

https://devtheorem.github.io/cropt/

Re:PHP 8.6 Closure Optimizations on Thursday April 16, 2026 @08:28PM (#47801191)
Re:Does that use a lot of energy? on Wednesday March 04, 2026 @07:28PM (#47255939)
In my petrol-powered Prius I average 52 MPG, so at the current price of gas ($2.60/gallon) I pay $0.50 to drive 10 miles - less than the listed cost to drive an electric car the same distance.
Re:The Rise of Eyes Began with Just One on Monday February 23, 2026 @11:55PM (#47133017)
How would the photosensitivity and wiring to muscles come about at the same time?
Re:The Rise of Eyes Began with Just One on Monday February 23, 2026 @09:36PM (#47132148)
What benefit is an eye unless there is also the capability of processing and using the information? How would both evolve simultaneously?
According to the timeline it took more than a week just for Filevine to respond saying they would review and fix the vulnerability. It was 24 days after initial disclosure when he confirmed the fix was in place.
Re:Shai-Hulud Returns: Over 300 NPM Packages Infected on Monday November 24, 2025 @10:41PM (#46042143)
My guess would be so they don't have to embed an IP address or hostname in the malware to send secrets to, which could then be blocked or taken down.
Re:Shai-Hulud Returns: Over 300 NPM Packages Infected on Monday November 24, 2025 @04:42PM (#46039716)
Someone could be tricked into giving their npm credentials to the attacker (e.g. via a phishing email), and then the attacker publishes new versions of their packages with the malicious diff. Then when the infected packages are installed, npm runs the malicious preinstall script which harvests secrets from the new machine, and if these include an npm token the worm can see which packages it has access to publish, and infect them too to continue spreading.
Re:Eating Stinging Nettles on Thursday November 06, 2025 @08:26AM (#45834976)
I can testify that steamed stingy nettles with gomasio (toasted sesame seeds and salt) is very delicious.
One option to make it a little safer is to add ignore-scripts=true to a .npmrc file in your project root. Lifestyle scripts then won't run automatically. It's not as nice as Pnpm or Bun, though, since this also prevents your own postinstall scripts from running (not just those of dependencies), and there's no way to whitelist trusted packages.
Bun also doesn't execute lifestyle scripts by default, except for a customizable whitelist of trusted dependencies:

https://bun.com/docs/guides/install/trusted

I would expect to be able to download a package and then inspect the code before I decide to import/run any of the package files. But npm by default will run arbitrary code in the package before developers have a chance to inspect it, which can be very surprising and dangerous.
Re:You are the scariest monster in the woods on Wednesday October 15, 2025 @12:19PM (#45594847)
> Human cognition was basically bruteforced by evolution

This is an assumption, not a fact. Perhaps human cognition was created by God, and our minds have an essential spiritual component which cannot be reproduced by a purely physical machine.

Older ยป