Readit News logoReadit News
geewee commented on The appeal of serving your web pages with a single process   utcc.utoronto.ca/~cks/spa... · Posted by u/ingve
Lord_Zero · 4 months ago
I guess it depends on what world you live in. For example, using ASPNET Core, I just drop in this https://learn.microsoft.com/en-us/aspnet/core/performance/ra... and boom I have rate limiting and I do not have to stress about threads or state or whatever.
geewee · 4 months ago
That's almost certainly per server instance though, there's no mention of any type of synchronization across multiple instances, so if you e.g run many small ones or run the service as a lambda I'd be surprised if it worked like you expected.
geewee commented on The Pain That Is GitHub Actions   feldera.com/blog/the-pain... · Posted by u/qianli_cs
OptionOfT · 5 months ago
https://docs.github.com/en/actions/security-for-github-actio...

> When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of `workflow_dispatch` and `repository_dispatch`, will not create a new workflow run.

It has bitten me in the rear before too. I use this pattern a lot when I publish a new version, which tags a piece of code and then marks assets as part of that version (for provenance reasons I cannot rebuild code).

geewee · 5 months ago
We're also struggling with this, as we'd love to e.g. just run a formatter and commit the changed code in CI rather than just fail the code.
geewee commented on Accelerating scientific breakthroughs with an AI co-scientist   research.google/blog/acce... · Posted by u/Jimmc414
BeetleB · 6 months ago
The feeling of dissatisfaction is something I can relate to. My story:

I only recently started using aider[1].

My experience with it can be described in 3 words.

Wow!

Oh wow!

It was amazing. I was writing a throwaway script for one time use (not for work). It wrote it for me in under 15 minutes (this includes my time getting familiar with the tool!) No bugs.

So I decided to see how far I could take it. I added command line arguments, logging, and a whole bunch of other things. After a full hour, I had a production ready script - complete with logs, etc. I had to debug code only once.

I may write high quality code for work, but for personal throwaway scripts, I'm sloppy. I would not put a command line parser, nor any logging. This did it all for me for very cheap!

There's no going back. For simple scripts like this, I will definitely use aider.

And yeah, there was definitely no satisfaction one would derive from coding. It was truly addictive. I want to use it more and more. And no matter how much I use it and like the results, it doesn't scratch my programmer's itch. It's nowhere near the fun/satisfaction of SW development.

[1] https://aider.chat/

geewee · 6 months ago
I tried Aider recently to modify a quite small python + HTML project, and it consistently got "uv" commands wrong, ended up changing my entire build system because it didn't think the thing I wanted to do was supported in the current one (it was).

They're very effective at making changes for the most part, but boy you need to keep them on a leash if you care about what those changes are.

geewee commented on Developer Philosophy   qntm.org/devphilo... · Posted by u/todsacerdoti
Kinrany · 7 months ago
Same qntm that wrote There Is No Antimemetics Division
geewee · 7 months ago
Whoa! Small world. That was a fun story.
geewee commented on Developer Philosophy   qntm.org/devphilo... · Posted by u/todsacerdoti
bilekas · 7 months ago
I feel as an outlier to this I need to make a comment.. Debugging (with source) to me at least, it’s so much more easier as you have all of the stack with you along the chain.. It’s very rare, not impossible though, to find crazy behavior during correct debugging.. This law is new to me though.
geewee · 7 months ago
I think it depends on how thorny the thing you need to debug is. Race conditions, intermittent bugs that crash the process leaving no trace, etc. Debugging is much more than using a debugger

Deleted Comment

geewee commented on Searching for DeepSeek's glitch tokens   outsidetext.substack.com/... · Posted by u/arithmoquine
hntemp787609084 · 7 months ago
Only played with DeepSeek-R1-Distill-Qwen-14B, but the knowledge is definitely still there.

https://pastebin.com/H2UTdi78

Seems more than happy to talk about Tienanmen, Xi, etc. starting at line 170 with the very primitive method of wrapping the query in its own "<think>...</think>" syntax even though it's the user role. Uyghurs are more strictly forbidden as a topic, as are its actual system prompts. None of this is serious jailbreaking, it was just interesting to see where and when it drew lines and that it switched to simplified Chinese at the end of the last scenario.

geewee · 7 months ago
That was an incredibly interesting read, thank you for sharing!
geewee commented on Male and female brains differ at birth   bsd.biomedcentral.com/art... · Posted by u/niemandhier
gaganyaan · 8 months ago
Not so much a surprise as it is contentious. It makes it harder to accept the statement "Trans women are women", for example.
geewee · 8 months ago
Does it? Nobody's arguing that trans women are female.
geewee commented on Hitting OKRs vs. Doing Your Job   jessitron.com/2025/01/05/... · Posted by u/zdw
InsideOutSanta · 8 months ago
The interesting thing is that we have solved this. Groups of people much larger than single corporations work together effectively using systems like GitHub, Wikipedia, or npm, without overloading the social graph. I don't know why companies don't use similar systems internally — although I'm sure some do, but perhaps they don't advertise it, because it's a huge competitive advantage.
geewee · 8 months ago
I don't really think we have. There are many open source projects that duplicate work for a variety of reasons. Perfectly fine for stuff you want to do, but probably not an optimal allocation of resources
geewee commented on Satellite powered estimation of global solar potential   research.google/blog/sate... · Posted by u/jonbaer
notatoad · 8 months ago
geewee · 8 months ago
Aw, I hoped for a second for global coverage.

u/geewee

KarmaCake day1032January 6, 2017View Original