News for hackers. Stuff that matters.

deckiedan

(My terminal optimism talking here)

So... is this the same strategy as their "flatten the curve" early COVID policy?

Slow everything down because resources aren't available, hoping that the entire system doesn't go bankrupt and explode, because that would be worse?

Hoping that eventually some kind of solution will be available, and wanting to still at least exist when that time comes?

From reading the article, it sounds like an enforced standardisation? Like, asking for account age bracket and then having a standard API to ask for it would be easy, right? Just write it to a root owned `~/.age-bracket` for each user or something (obviously something better).

It's a feature many apps implement in all kinds of ways already, especially games and social media stuff, so this, in theory, just makes it easier and consistent?

I'm against leaking our kids ages, and all the privacy and other concerns as much as anyone, but are we just getting overly angry too quickly on this one?

I get that it's a slippery slope too.

How much of this is genuine, and how much is the one-upmanship of needing to say Claude is just as powerful as gpt?

I fully expect both.

Also, given that AI content is still the responsibility of the person prompting, and not the AI company, then *surely* anthropic must be liable for this?

Re:Avoiding temptation beats building willpower on Monday March 09, 2026 @06:45PM (#47316791)
A few related thoughts from my spiritual tradition...

resist evil, but flee temptation.

Build willpower through disciplines, such as fasting, meditation, stillness.

Think about the larger value that a smaller temptation points to - junk candy food is an echo of the celebration food from a community event - the connection of enjoying delicious food together with others is something beautiful, so invest and look forward to that. How can we have more deep celebration times, and less binge snacking?

Life is complex!

Peace

Re:Apple, What Have You Done? on Monday January 26, 2026 @05:07AM (#46763759)
I end up using

https://derlien.com/ "Disk Inventory X"

regularly to find stuff to clean up.

Show HN: Advent of Refactoring"

https://www.youtube.com/playlist?list=PLXkLI8HXcMo2r9Q5t27aIh-S4guP_I7z1

Hi fellow code wranglers!Here's a series of short videos I've been making over advent to help some junior Django & JS developers I know have some tools and awareness of refactoring techniques & tools they can us.I thought some other people might find it interesting or helpful!

( Read More... | no comments | on HN )
Re:Duolingo will replace contract workers with AI on Tuesday April 29, 2025 @02:46AM (#43829352)
Massive plus one for Language Transfer. It's well presented, interesting, and kept me engaged. The whole concept is finding connections to language you already know, and gets you thinking in fuller more complex thoughts and sentences really quickly. The audio lessons are free on various podcast platforms / YouTube etc.
Re:Perl Weekly Issue #704 – Perl Podcast on Tuesday January 21, 2025 @07:09AM (#42779250)
I've recently been enjoying Book Overflow https://www.youtube.com/@BookOverflowPod - they're reading and discussing really interesting (programming / software engineering) books, getting interviews with authors etc.
What is the workout you do?
The AI tool report shown to the dean with "85% match" Will be used as "proof".

If you want more proof, then you can take the essay, give it to chatGPT and say, "Please give me a report showing how this essay is written to en by AI."

People treat AI like it's an omniscient god.

Well, right. If I'm using an LLM to create code, I'm going to use all my skill and experience to review and shape the code to standards I'm ok with.

But for people with extremely limited experience, LLMs offer a "create an app by talking!!" Zero understanding required. So they won't know to not leak user PII in JSON responses or have publicly writable endpoints or keeping private keys for external services server side and outside of the code base, etc... Let alone anything more complex.

I just played with townie AI for an hour or so... Very cool! Very fun.

There's still some glitches, occasionally the entire app code would get replaced by the function the LLM was trying to update. I could fix it by telling it that's what had happened, and it would then fill everything in again... Waiting for the entire app to be rewritten each time was a bit annoying.

It got the initial concepts of the app very very quickly running, but then struggled with some CSS stuff, saying it would try a different approach, or apologising for missing things repeatedly...and eventually it told me it would try more radical approaches and wrote online styles... I wonder if the single file approach has limitations in that respect.

Very interesting, very fun to play with.

I'm kind of concerned for security things with LLM written apps - you can ask it to do things and it says yes, without really thinking if it's a good idea or not.

But cool!

And anything which helps with the internet to be full of small independent quirky creative ideas, the better.

Re:Welcome to Ladybird on Tuesday July 02, 2024 @11:04AM (#40857378)
I guess also for context, a lot of the code I write is closer to the "house" or even "potatoes".

A one-off script to extract data for a report - potato.

A brochure website for a company that'll be replaced in 6 years, a small house (or even just an interior of a house, or kitchen revamp...).

Re:Python packaging scenarios by the creators of ruff on Tuesday July 02, 2024 @11:00AM (#40857345)
This is interesting. But still pretty early, right? (As in, no real docs, not ready for publication...)?

It looks like a start of a packages.lock.json kind of tool for dependency resolution eventually?

Or am I missing something?

Re:Welcome to Ladybird on Monday July 01, 2024 @02:09PM (#40848538)
Also rich patrons supporting artists was how many of the greatest artworks of many civilisations were commissioned for thousands of years...

Is writing software closer to growing potatoes or designing the Sagrada de Familia, or writing the Clarinet Concerto?

I'd argue that writing a web browser is a lot closer in scope to writing a symphony than building a house - at least in audience and durability. In a house's life time, maybe 100 people live in it, and perhaps 2000 people visit it, but a browser, or a symphony, will have an audience of millions.

The market is massively smaller. The impact massively larger.

Re:Ask HN: AI hackday at work – what shall I work on? on Monday July 01, 2024 @02:33AM (#40843151)
Ask it to write a sitcom comedy screenplay about a software team asked to do exactly this same situation, but where it goes disastrously wrong. Give enough info to the prompt to make it parody your own company. Make sure it's not offensive.

Then use an AI image generator to generate cartoon pictures for the characters in the screenplay.

Then use an AI voice system to generate all the voices for it.

Then put it all together as a video, present it as a early storyboard concept pitching to them for funding to turn into a full TV series.

Re:Show HN: LazyVim for Ambitious Developers on Monday April 29, 2024 @12:50AM (#40194567)
This looks beautiful.

I'm a long time vim/neovim user, and have a couple of curious colleagues who I'll be linking to this soon.

I really like the tone of the writing, the visual style, the pacing, the examples.

Maybe having animated GIFs or similar to visualise jumping around might be nice too? (Eg showing the cursor position in the `w` section).

Great work!

I'm really excited for this.

Yes, pyright is fast enough, 99% of the time. But the install story, requiring npm etc, is a bit of a pain.

A rust based version with similar install ease as ruff would be great.

Additionally, if it is a lot faster, I think it should unlock more possibilities for eager search to improve the lsp.

Quite often the pyright lsp doesn't find auto imports - there's just too much many places to search.

I'm following this with great interest!

Re:Working with Qubes OS at the Guardian on Saturday April 06, 2024 @04:53AM (#39951016)
If I was their security team, I would be fine with them publishing articles about our security set up - as long as it wasn't 100% accurate.

Possibly mention a specific virtualization system, and then run a honeypot version of the above to try and catch directed attacks at it while actually relying on a totally different system...

Re:Explorative Programming on Wednesday March 27, 2024 @03:40AM (#39836490)
My day job is Django - and the ipdb based `shell_plus` from the `django_extensions` package is invaluable.[1]

I have a shell open almost all the time, and use it constantly for testing functions, writing queries etc. It drives me crazy watching other Devs change a query, wait for the server to reload and refresh the browser repeatedly, when editing in the REPL is so much faster.

Being able to `dir` and tab complete experimentally is so fast. (I also have this in the ipdb debugger... Also Django extensions has a debugger inside templates which is really nice)

Being able to `%edit 1-20` and have the repl session instantly in my editor to copy paste is fantastic too.

I also use a lot of TDD for tasks that fit that style, mostly where I'm writing business logic or data processing functions... but for exploring data / APIs /queries / data shaping, interactive just feels instantly productive. Once I've got the API or whatever it is to correctly produce the happy path, it's then easy to copy that into the codebase knowing what shape to expect, I can then turn that into unit tests and throw all the weird external data and edge cases at it with reasonable confidence about what should be happening underneath.

It also has a mode to print out all SQL statements it runs underneath your code - which is great for checking that you've not missed a join or something and got n+1 sneaking in

[1] https://django-extensions.readthedocs.io/en/latest/

Re:How Computers Entered the Classroom, 1960–2000 on Monday March 04, 2024 @04:14AM (#39588446)
My parents are both very computer literate (my mum was a programmer, my dad also wrote code & managed database teams...) and they were really good friends with the head teacher at my primary school (UK, 90s).

They worked together with him to write a curriculum they used with the entire teaching staff in our school to learn the systems before the new Windows computers came in to replace the old acorns or BBC micros or whatever, including several "inset" (?) days.

The big problem with all the teaching things at the time was being called "Windows for Dummies" or "Microsoft Office for dummies" or whatever - was that the teachers were really smart people - not dummies at all. So the "you don't understand the computer, therefore you are a dummy" was extremely degrading and put up walls instantly.

How people respond when you teach people as "smart, interested and motivated, but currently still extremely unfamiliar and somewhat apprehensive" compared to "not especially clever, and it's a very complicated thing so don't expect to really understand it" is very different.

I suspect there are a lot of other factors to take into consideration here:

- population growth over that time - percent of people able to afford cars and fuel over that time - % of those numbers that are in London ( and other big cities) - so the number of people able to afford to live in London compared to jobs there... Many people were priced out, and so have to commute, and pollution taxes and parking prices are now there to discourage cars - how much train line maintenance has been dropped, and will be coming up as needing replacement "soon" but not done - how much subsidy the private companies are actually getting still.

...

Trains in the UK are really not great at all... Compared to the rest of Europe anyway.

Maybe part of the problem is that IBS(-like) symptoms, and many "fuzzy" / hard-to-diagnose ones (fatigue, etc) are also caused or exacerbated by anxiety and frustration and emotional distress.

So if I'm not hyperchondriac, but am frustrated and stressed by (x) random symptom or covid related (y), or being off sick w/ "normal" Covid & struggling to regain energy, then if I'm emotionally distressed by it, then may develop IBS and fatigue symptoms on top of that - which then feeds into the loop...

(Said as someone for the last several months currently struggling with a whole bunch of symptoms and not managing to get any helpful diagnosis or area I can work on to improve things...)

Re:Why NASA Chose WordPress for Revamping Its Flagship Website on Saturday October 07, 2023 @05:46PM (#37805838)
https://wagtail.org/blog/wagtail-in-space/

It's not all NASA sites - but used by NASA for some sites.

Re:Building a Blog in Django on Tuesday September 12, 2023 @03:06PM (#37486212)
The wagtail CMS would be a good example of more complex systems built on top of Django. https://wagtail.org/

One of the many more complex sites we've used it to build is https://www.business-humanrights.org/en/ which tracks over 10k companies, 100k+ articles in 15 or so languages. We've also built internal dashboards, live updating forums, donations platforms and so on. Another interesting one might be https://www.achurchnearyou.com/ which is used by the church of England to provide "mini sites" for all their congregations around England, so several thousand church administrators use that every week.

Re:Can a Rubik's Cube be brute-forced? on Sunday July 09, 2023 @02:10AM (#36652030)
My (young) kids got interested last year, so I learned the algorithms to be able to put it back for them.... And got kinda hooked myself! For me though, I don't have the sequence memory to be able to work it out from scratch. I have the logic, but have to write down each step and it gets very very slow. Learning the "algorithms" from online courses was like learning ballroom dance, for me, and learning increasingly quick and specific solutions for different stages is still satisfying. It's a physical / slight mental challenge, rather than a puzzle to work out.
Re:Even the Pylint codebase uses Ruff on Monday March 06, 2023 @03:33AM (#35038772)
Match is now supported (as of last week) I believe
Re:Ask HN: Books your kids like most on Thursday February 02, 2023 @06:01PM (#34634533)
We've 2 kids, 8 and 5 - both total book worms (and into Minecraft and biking and dude perfect and all sorts... But they love books).

Find stuff you'll enjoy reading to them. And read to them a lot. You've got the right idea.

MO Williams books are great for that age. The elephant and piggie books are fun, Annette's Baguette is brilliant. The Brambly Hedge books are lovely. Dr Seuss is mostly quite fun. Peter's railway (if they like trains or engineering at all), the Thomas the Tank engine books, the topsy and Tim books are ok...

But get lots of books from the library, charity / thrift stores. Get lots of books to try out, and have available for them to read. And if they aren't interested, you can always thrift them again. Hanging out at the local library can be good. No time pressure, just let them browse and look at whatever random things they want.

For slightly older kids, we've really enjoyed reading Hillary McKay, Terry Pratchett's kids books / short stories, Vivian French's books are great. and some of the classics are great too - EE Milne, the Paddington books...

Re:From Plex to Jellyfin Media Server on Sunday November 13, 2022 @02:45PM (#33586602)
I think we must be thinking of different things - the quote from Timothy is originally Greek, not Hebrew: "ῥίζα γὰρ πάντων τῶν κακῶν ἐστιν ἡ φιλαργυρία..."

"Root for all the evil is the love-of-money..." Word for word (ish).

The greater context being seeking contentment with your current lot in life, and focusing on becoming good, not rich

Older »