Readit News logoReadit News
grandiego commented on ‘I witnessed war crimes’ in Gaza – former worker at GHF aid site [video]   bbc.com/news/videos/cy8k8... · Posted by u/nathanyz
dismalaf · a month ago
Criticizing Israel is in vogue but what's the solution?

Gazans still hold Israeli hostages, Hamas has publicly stated that more civilian deaths helps their cause [1], they're still fighting, the UN refused to distribute aid because they were getting attacked [2], and Israel unilaterally pulling out of Gaza and leaving them to govern themselves is literally what led to October 7th...

1 - https://www.cnn.com/2024/06/11/middleeast/sinwar-hamas-israe...

2 - https://www.wfp.org/news/un-food-agency-pauses-deliveries-no...

Edit - I love it. Down votes instead of responding to this comment's question. Again, what's your solution people?

Edit 2 - is this really a good use of the flagging tool? Is this what HN is about?

grandiego · a month ago
Hope some day Muslims (in all Arab countries) just accept the right of Israel to exist. Else, this attack/retaliation dynamic will continue for ever, with people taking sides from a blob of propaganda channels disguised in news platforms.
grandiego commented on Serving 200M requests per day with a CGI-bin   jacob.gold/posts/serving-... · Posted by u/feep
whartung · 2 months ago
The other issue with Tomcat is that a single bad actor can more easily compromise the server.

Not saying that can't happen with CGI, but since Tomcat is a shared environment, it's much more susceptible to it.

This is why shared, public Tomcat hosting never became popular compared to shared CGI hosting. A rogue CGI program can be managed by the host accounting subsystem (say, it runs too long, takes up too much memory, etc.), plus all of the other guards that can be put on processes.

The efficiency of CGI, specifically for compiled executables, is that the code segments are shared in virtual memory, so forking a new one can be quite cheap. While forking a new Perl or PHP process shares that, they still need to repeatedly go through the parsing phase.

The middle ground of "p-code" can work well, as those files are also shared in the buffer cache. The underlying runtime can map the p-code files into the process, and those are shared across instances also.

So, the fork startup time, while certainly not zero, can be quite efficient.

grandiego · 2 months ago
I believe even today there's no way to control/isolate memory leaks on a per-war basis.
grandiego commented on YouTube's new anti-adblock measures   iter.ca/post/yt-adblock/... · Posted by u/smitop
ttyyzz · 2 months ago
Having to pay for something so that's "less annoying" is the worst business model. YouTube Premium is very expensive. I had it for a while when I got a Pixel smartphone with a few months of YouTube Premium included. It was great. I also understand that streaming on this scale must entail incredibly high operating costs; the money has to come from somewhere. It's simply a dilemma. But there has to be a better way. Any ideas?
grandiego · 2 months ago
At least on TV I occasionally catch randomly interesting ads... sometimes. On YT, I'm stuck with the same obnoxious commercial from a company whose service I strongly dislike, playing on loop ever since they associated me to some related product category. They think pestering me with more interruptions will win me over, but their analytics are working in reverse. I can't understand why they're so clueless.
grandiego commented on Why SSL was renamed to TLS in late 90s (2014)   tim.dierks.org/2014/05/se... · Posted by u/Bogdanp
Timothycquinn · 3 months ago
Considering that Microsoft was a completely different beast in that time, I'm not surprised it does not seem that silly.

M$ (appropriate name for that time) of the day was doing its best to own everything and the did not let up on trying to hold back the open source internet technologies until the early 2010's I believe. Its my opinion that they were successful in killing Java Applets, which were never able to improve past the first versions and JavaScript and CSS in general was held back many years.

I still recall my corporate overloards trying to push me to support IE's latest 'technologies' but I resisted and instead started supporting Mozilla 3.0 as soon as they fixed some core JS bugs for our custom built enterprise JavaScript SPA tools in the early 2000's. It turned out to be a great decision as the fortune 500 company started using Mozilla / Firefox in other internal apps in later years long before it became common place.

grandiego · 3 months ago
Applets died because of many reasons, like absurd startup time for the JRE (often just for silly animations), absurd memory requirements (for the time) and associated crashes, weird compatibility issues in the initial releases of the Java platform, a silly security model based on the assumption that only good actors will be able to get a CA certificate in order to do whatever they want in your PC, an immature sandboxing technology in browsers (not only IE), etc.
grandiego commented on A receipt printer cured my procrastination   laurieherault.com/article... · Posted by u/laurieherault
uncircle · 3 months ago
I was about to be a little snarky but your comment reminded me to be kind. Thanks.

I don't have a receipt printer, what helps me is an A4-sized whiteboard with marker when I feel like I'm falling behind my tasks. Also, to use todos sparingly, so they retain their effectiveness. It's actually quite underrated to forget and let go of tasks; what's important tends to stick around in your head and keep you up at night.

The snark was from my personal experience that serial procrastinators ride a particular high when they change their methods, especially if they spend money for something that hopefully solves their issues. It never lasts long, we return to baseline quite fast. This is why there is tons of posts about "here's how I solved my procrastination issue" when they've only used the supposed panacea for a couple of days. What's I find more interesting, is methods that have worked for someone for years. Then one can claim to have found a cure, albeit one that probably only works for them.

In any case, keep writing. It helps a lot if you too suffer from squirrel brain.

grandiego · 3 months ago
> What's I find more interesting, is methods that have worked for someone for years.

From 2020 I use a three column worksheet (Libreoffice in Debian): one row per day. One thin column for the date, the second for pending tasks, the third for the "done" ones. Theoretically I just copy-paste between the "pendings" to the "done", but I also add notes as the day progress, so it is also a kind of personal diary. At the end of the day tasks not achieved get moved to some rows below, and new ones are added as needed. The spreadsheet is configured to start automatically on session login, so I can't forget to see my daily assignment. Not perfect, but (mostly) works for me.

grandiego commented on A receipt printer cured my procrastination   laurieherault.com/article... · Posted by u/laurieherault
whalee · 3 months ago
Cool idea!

I would note there are some known health hazards in handling thermal-paper receipts(BPA/BPS)[1] with your bare hands if you do so often. I don't know much beyond this, I would look into it.

[1] https://www.pca.state.mn.us/business-with-us/bpa-and-bps-in-...

grandiego · 3 months ago
Right, epiphenols. And despite some BPA-free options there are many alerts about the risks of the replacements. Maybe is time for a cool old style matrix receipt printer using regular paper?
grandiego commented on Java at 30: Interview with James Gosling   thenewstack.io/java-at-30... · Posted by u/chhum
zmmmmm · 4 months ago
The worst thing about EntityBeans is they were so bad they made Hibernate look good, which led people to think it was good. After 10 years of hammering against ORM complexity I finally switched to using thin database wrapper layers and have not once ever regretted it.
grandiego · 4 months ago
Hibernate... a real PITA every time the application needed something beyond basic single-table CRUD queries; sadly for me it happened 99% of the times. After some months of torture, plain JDBC with their stupid checked exceptions was refreshing, even without wrappers.
grandiego commented on The 'Judicial Black Hole' of El Salvador's Prisons Is a Warning for Americans   rollingstone.com/politics... · Posted by u/Avshalom
maxerickson · 5 months ago
Sending people there and then saying you don't have jurisdiction over them anymore is dysfunctional by any reasonable measure.
grandiego · 5 months ago
Writing from a country with dysfunctional judiciary, I think this is a logical way to overcome crime, at least temporarily. There isn't a "hygienic" alternative when judges are continuously bribed or blackmailed by gang members.
grandiego commented on Annotated Unix Magic Poster   unixmagic.net/... · Posted by u/kaycebasques
grandiego · 5 months ago
The #38 is controversial as noted. To me it represents the branching of Unix flavors, mostly derived from the AT&T and BSD versions (represented by the glasses.)
grandiego commented on Convert Linux to Windows   philipbohun.com/blog/0007... · Posted by u/pbohun
api · 5 months ago
> That makes no sense: shipping all dependencies (e.g. shipping a container image) gives perfect binary compatibility on Linux, which is what flatpak/snap/appimage do.

True, but sad. The way to achieve compatibility on Linux is to distribute applications in the form of what are essentially tarballs of entire Linux systems. This is the "fuck it" solution.

Of course I suppose it's not unusual for Windows stuff to be statically linked or to ship every DLL with the installer "just in case." This is also a "fuck it" solution.

grandiego · 5 months ago
> to distribute applications in the form of what are essentially tarballs of entire Linux systems.

No so bad when Linux ran from a floppy with 2Mb of RAM. Sadly every library just got bigger and bigger without any practical way to generate a lighter application specific version.

u/grandiego

KarmaCake day101September 17, 2015View Original