Readit News logoReadit News
sureglymop commented on My productivity app is a never-ending .txt file (2020)   jeffhuang.com/productivit... · Posted by u/simonebrunozzi
davidzimmerjr · 2 days ago
txt file is great. Makes me wonder, does the author always have their laptop on them since that's the only place I know of where a txt file can live? Do they go to sleep and wake up next to their laptop?

I've always been an iPhone user and have never seen a .txt file on one and probably you wouldn't be able to edit one on an iPhone if you did have it in Files app - I'm not counting Notes app as a text file here.

I do quarterly notes inside of Notes app but it mostly non-work related stuff and doesn't integrate well with desktop since its kind of a pain to login to iCloud from browser. Quarterly notes bc once the note gets too long, it gets very laggy on phone and is difficult to navigate; i.e. getting to the bottom to write a new line can be tough on mobile.

sureglymop · 2 days ago
I do the same as the author and sync the file with nextcloud. Rarely open it on my phone but if I must, I can.
sureglymop commented on Using extended attributes to tag files   alexlance.blog/tagging.ht... · Posted by u/alance
sureglymop · 2 days ago
So you're telling me my size 0 file may unknowingly be a large key/value db? Neat.

The system call to read these attributes is getxattr(), for anyone curious.

sureglymop commented on GitHub Actions has a package manager, and it might be the worst   nesbitt.io/2025/12/06/git... · Posted by u/robin_reala
pjc50 · 6 days ago
This is making me feel quietly vindicated in pushing back on migrating our Jenkins/Ansible setup to GHA simply because corporate wanted the new shiny thing. Fortunately the "this will be a lot of work, i.e. cost" argument won.

Mind you, CI does always involve a surprising amount of maintenance. Update churn is real. And Macs still are very much more fiddly to treat as "cattle" machines.

sureglymop · 2 days ago
CI is interesting because what really happens is you run a script on someone elses computer but with fairly weird constraints.

I get it's use, especially in large companies and I also get the culture leading up to it being widely used but I can't help but chuckle a bit about the problems we cause for ourselves in this industry.

sureglymop commented on GPT-5.2   openai.com/index/introduc... · Posted by u/atgctg
sureglymop · 2 days ago
How can I hide the big "Ask ChatGPT" button I accidentally clicked like 3 times while actually trying to read this on my phone?

I guess I must "listen" to the article...

sureglymop commented on Patterns.dev   patterns.dev/... · Posted by u/handfuloflight
DHRicoF · 3 days ago
For your example, if both lists are small enough, the constant factor on the cost of creating the hashmap eliminates any advantage you could have. Anyway, it's not like most places were I've seen a nested loop used for search the developer had cared. Today I am in a bad mood.

I have to touch some of the most unnerving modules in a legacy project and everything is a trap. Lot's of similar repeated code with ugly patterns and some big brain trying to hide the ugliness with layers and layers of indirections and inheritance, and calling it clean because there is a factory class. The biggest joke? each implementation have a different interface for key methods, so later you to check what instance got created.

I want to keel myself. Anyone could assist me in a seppuku?

sureglymop · 2 days ago
Don't kill yourself. Stop and leave. Every day you will build up a tiny bit more resentment and then first you will become more cynical but eventually you will burn out. Be proactive and leave this behind, move on with life.
sureglymop commented on If you're going to vibe code, why not do it in C?   stephenramsay.net/posts/v... · Posted by u/sramsay
gbin · 4 days ago
Shouldn't we try vibe coding on IR then? Basically assembly before compiler optimizations?
sureglymop · 3 days ago
Yeah I suppose one would need not only the source and binaries but also the IR in AI training data which may be rare but could probably be easily generated for a lot of software.
sureglymop commented on Stop Breaking TLS   markround.com/blog/2025/1... · Posted by u/todsacerdoti
amiga386 · 4 days ago
Chiefly because "supporting it" requires a full JavaScript interpreter, and subscribing to changes in "system settings" during the lifetime of your program. Easier just to support http_proxy/https_proxy/no_proxy (and what standard for no_proxy? Does it support CIDR ranges?) or even less flexibility than that.
sureglymop · 3 days ago
If only http_proxy/https_proxy/no_proxy at startup time were more widely supported then. In my case I had to deploy software into a kubernetes cluster managed by a different company that required these configurations.
sureglymop commented on When would you ever want bubblesort? (2023)   buttondown.com/hillelwayn... · Posted by u/atan2
Findecanor · 3 days ago
I've used bubblesort in a coding interview, because it was the easiest to remember and get correct on a whiteboard in short time.-
sureglymop · 3 days ago
Reminds me of an interview I had a while ago. The interviewer in all seriousness asked me to code up a sorting algorithm on the whiteboard. He was more of a business person than technical so was probably thinking of insertion, selection and bubblesort.

I said sure, quicksort, mergesort or radixsort?

He just said "okay, let's skip to the next question". :)

sureglymop commented on Stop Breaking TLS   markround.com/blog/2025/1... · Posted by u/todsacerdoti
gschizas · 4 days ago
The fact that most tools have completely different ways to allow them to add certificates is the biggest pain. Git, Python and Rust also have large issues. Git doesn't default to "http.schannel". Python (or rather requests, or maybe urllib3) only looks at its own certificate store, and I have no idea how Rust does this (well, I use uv, and it has its own problems - I know about the --use-native-tls flag, but it should be a default at the least).
sureglymop · 4 days ago
I have this similar gripe when it comes to http proxy configuration. It's invisible to you until you are in an execution environment where you are mandated to use the providers proxy configuration.

Some software reads "expected" env variables for it, some has its own config or cli flags, most just doesn't even bother/care about supporting it.

Deleted Comment

u/sureglymop

KarmaCake day2323October 30, 2020View Original