Readit News logoReadit News
mrj commented on From M1 MacBook to Arch Linux: A month-long experiment that became permanenent   ssp.sh/blog/macbook-to-ar... · Posted by u/articsputnik
baq · 6 days ago
As a user I don't care whose fault is it. I want my laptop to go to sleep when I close the lid; I want it to stay asleep while the lid is closed; I want it to wake when I open the lid. Only macs seem to be able to do that consistently; I'd be glad to be proven wrong, but over the past decade I haven't found a counterexample yet.
mrj · 6 days ago
I’ve never had a problem with a system76 or tuxedo computers laptop using suspend correctly. If you want it to just work, you may need to buy from a manufacturer who you pay to make it just work. Otherwise you’re comparing a dyi setup to Apple.
mrj commented on ClickHouse vs PostgreSQL UPDATE performance comparison   clickhouse.com/blog/updat... · Posted by u/truth_seeker
joshstrange · 12 days ago
I only use CH for work so I'll read about this more on Monday but I shudder to think of the caveats. We have used cancelling rows and now the one of the merge engines that just needs a version (higher cancels out lower). No database has ever driven me more mad than Clickhouse. If your workload is append-only/insert-only then congrats, it's amazing, you'll have a great time. If you need to update data... Well, strap in.

As long as you can get away with Postgres, stay with Postgres. I'm sure this update here is a step forward just like version-merging is much better than cancelling rows but it's always got a ton of downsides.

Unrelated to updating data, the CH defaults drive me insane, the null join behavior alone made me reconsider trying to rip CH out of our infrastructure (after wasting too long trying to figure out why my query "wasn't working").

Lastly I'll say, if CH does what you need and you are comfortable learning all the ends and outs, then it can do some really cool things. But it's important to remember it's NOT a normal RDMS nor can you use it like one. I almost wish they didn't use SQL as the query language, then people would think about it differently, myself included.

mrj · 12 days ago
Funny, I had the exact same frustration, also with nulls and a left join. I did end up ripping it out and doing it over again with Timescale (ugh okay Tiger Data). The ability to use Postgres normal things plus timeseries columar storage is really cool. I don't have big data though, just big enough where some tables got slow enough to worry about such things and not big enough to stomach basic sql not working.
mrj commented on Google's shortened goo.gl links will stop working next month   theverge.com/news/713125/... · Posted by u/mobilio
nomel · a month ago
I'm still shocked that my google voice number still functions after all these years. It makes me assume it's main purpose is to actually be an honeypot of some sort, maybe for spam call detection.
mrj · a month ago
Shhh don't remind them
mrj commented on How YouTube won the battle for TV viewers   wsj.com/business/media/ho... · Posted by u/JumpCrisscross
apricot13 · a month ago
so did I until I found myself using YouTube music over Spotify more and more. it has all the standard music but also includes more remixes and smaller artists. the most important thing is that it doesn't mix podcasts in with music and you can easily view your own playlists!

haven't used Spotify in any meaningful way in a few years now.

mrj · a month ago
Same. Also, my Spotify auto generated playlists hadn't changed for several years. I finally got fed up and googled around only to find it was a known issue. Clearly somebody realized they could just turn off those expensive GPUs...
mrj commented on I'm switching to Python and actually liking it   cesarsotovalero.net/blog/... · Posted by u/cesarsotovalero
Ringz · a month ago
Just curious: how?
mrj · a month ago
In mise.toml I have:

``` [tools] python = "3.12.11" ruff = "latest" ```

I get ruff installed and anything else needed without any fuss.

mrj commented on I'm switching to Python and actually liking it   cesarsotovalero.net/blog/... · Posted by u/cesarsotovalero
762236 · a month ago
I won't touch Python either, but because I've been burned debugging large Python programs. Something that would have taken a minute in a statically typed language took hours of tracing data through the program to understand what was supposed to be in a dict. There are alternative languages that are pithy, statically typed, can write programs quickly, and can grow into large code bases that are maintainable; so there is never a reason to start a new project with Python today.
mrj · a month ago
Most python written at a large scale uses types (TypedDict) and/or Pydantic for safety and never plain dict objects. That's a code smell in any language, we can stuff data into `map[string]interface{}` all day long and cause problems downstream.
mrj commented on Microsoft opens a free tier for Windows 10 extended updates   theregister.com/2025/06/2... · Posted by u/LorenDB
pipes · 2 months ago
I've alternated between Linux and windows use at home for years. A few things made me ditch windows entirely this year.

1. Windows 11, adverts everywhere, purposely difficult to turn off.

2. Windows 11 in work, it's slow, the menus are more annoying than in 10.

3. As a dotnet developer , pretty much everything I do is deployed on Linux. Also the developing tooling is now good enough on Linux.

4. Windows 11 won't stop badgering me for an online account.

5. My steam deck showed me that if I really want to play games on Linux it is really 100x easier than 15 years ago.

6. Windows front end is a mess of various different versions of the same menus.

After relying on windows for years due to amazing backwards compatibile hardware support, I've given up. It's a shit show.

mrj · 2 months ago
Steam is really the reason a lot of people are able to entertain a switch to Linux. It seems like mostly a lot of people are holding out on Windows 11 but planning a switch if they're finally forced.

Microsoft can't use the same plan they've always used on gamers, there's another option now. God bless Steam for being so reasonable, too. I regularly play Helldivers2 from Steam run from flatpak with a non-privileged user account, on Debian Unstable, without any anti-cheat problems. The world has changed for computer gamers and it's giving leverage with Microsoft.

mrj commented on Largest Wildlife Bridge Spanning 10 Lanes of CA 101 Is Nearly Complete   thedrive.com/news/worlds-... · Posted by u/PaulHoule
superdude12 · 2 months ago
Considering it doesn’t have to carry much weight, why couldn’t they make it out of wood to cut costs?
mrj · 2 months ago
Dirt is pretty heavy. As the article said, the next step is to add native plants to the top.
mrj commented on Marines being mobilized in response to LA protests   cnn.com/2025/06/09/politi... · Posted by u/sapphicsnail
ptero · 3 months ago
While I think you are right that Trump is doing this to escalate the situation,

> LA had plenty of local police to handle the scale of the protests before

sure, and why didn't they do it this time? I suspect for the same reason: both Bass and Newsom want to escalate the situation as well. And when both sides want escalation that's what we get. My 2c.

mrj · 3 months ago
Are we watching the same things? It would seem they are. I see videos of LA police shooting reporters (with less than lethal but from a lethal distance) and swarms of cops ignoring 3 mounted officers attempting to trample a guy on the ground. Tons of arrests already. LA police are plenty capable of escalating things all on their own. They arrested a solid 1/4 of the protesters last night and will keep right on doing that, I'm sure.
mrj commented on Marines being mobilized in response to LA protests   cnn.com/2025/06/09/politi... · Posted by u/sapphicsnail
wellthisisgreat · 3 months ago
any ex-marines here? how would they actually take to the orders that everyone's worried about? "no questions asked"?
mrj · 3 months ago
Yeah. So.. a big chunk of the Marine Corps are hard-right Trump supporters but not nearly all. The Marines are different in that the leadership is steeped in the history and tradition of the Corps from the start of bootcamp. They will know they can be punished for following illegal orders, and they will already know about the last time Marines were called into LA.

In the end, it will come down to SNCOs and NCOs to make the decision because the Marines try to push down "battlefield" decisions to as close to the action as possible. Of any service, I expect your average Marine to be able to make independent decisions in the moment. That may or may not be a good thing.

u/mrj

KarmaCake day1145February 13, 2010
About
mike@mikejohnson.dev

https://www.mikejohnson.dev/

View Original