146 karma · joined Aug 28, 2015 (11y ago) · 45 submissions
comment 3mo ago · link · parent
In software we're wiring up stuff with prometheus and making grafana dashboards and changing code and configuration based on what we see happening. CGMs in a way give you insight into one aspect of your body and diet.
I've been trying Lingo, and it's been super-interesting to see in almost realtime how your body reacts to different foods. Sure you read all the time about "watch your carbs..." or "don't eat so much sugar", but it's hard to know how seriously to take that advice.
It's a whole different thing though when you eat one thing for a snack and see a big spike in a graph on your phone, and eat a different thing the next day and see hardly any change at all. It makes it much easier to rationalize your food choices.
comment 5mo ago · link · parent
https://www.warhistoryonline.com/world-war-ii/the-massive-fl...
comment 1y ago · link · parent
The download URL follows this template
https://playwright.azureedge.net/builds/chromium/{revision}/chromium-mac.zip
To find the current revision, look in https://raw.githubusercontent.com/microsoft/playwright/main/packages/playwright-core/browsers.json
Today I'm seeing {
"name": "chromium",
"revision": "1151",
"installByDefault": true,
"browserVersion": "132.0.6834.32"
},
So I'd grab https://playwright.azureedge.net/builds/chromium/1151/chromium-mac.zip
After unzipping, mark the file as runnable with xattr -d com.apple.quarantine Chromium.appcomment 2y ago · link · parent
I wonder if they wore out?, something better came along?, or just no demand?
comment 2y ago · link · parent
This Youtube really helped: https://www.youtube.com/watch?v=mhq0bsWJEOw
And there's more here: https://www.meshcommander.com/meshcommander/tutorials
comment 3y ago · link · parent
https://www.youtube.com/watch?v=FYdAT0v4DHs (Scott Manley)
comment 3y ago · link · parent
Especially in the tech world, it would make sense for r/php to be hosted and run by the offical php.net guys, r/laravel by the laravel.com crew, r/vuejs by ... (you get it).
However it'd be hard for the subreddit hosters to manage which user-facing instances are allowed to post. If shitposters could just fire up new personal instances every time they were banned, then subreddit hosters would just be playing whack-a-mole and get fed up with it.
They'd almost have to require that users post from instances with good reputations - and now we've just reinvented e-mail's problem of forcing users into using one of the big providers in order to be able to send/post anything.
Too bad we can't have nice things
comment 3y ago · link · parent
comment 3y ago · link · parent
One project was embedding a Python2 interpeter in QuakeWorld, along with a QuakeC->Python translator. The translator and the resulting Deathmatch and CTF games are here: https://github.com/barryp/qwpython
The other was embedding a JavaVM in Quake2, and instead of trying to translate the C game logic, we recreated the whole thing from scratch in an object-oriented Java fashion: https://github.com/barryp/q2java
Thanks to Carmack for opening up those old engines, that was a real education.
comment 3y ago · link · parent
I work with both MySQL and PgSQL, and not being able to reorder columns easily is one feature I really miss in PG.
comment 3y ago · link · parent
Specifically, there's a "pop" method which: "pops an item out of index" and a "flusho" method which "Flushes the indexed text from an objects". They kind of sound awfully similar and take similar args.
Otherwise it all looks pretty straightforward - just that one small conceptual thing might be explained a bit more in the docs.
comment 4y ago · link · parent
Wrote a lot of code that way, wish that style had caught on.
comment 5y ago · link · parent
Being Governor is his first political office. I'm not saying he knows Cobol, but I'd bet he knows probably as much about it as most of us here do.
comment 6y ago · link · parent
Maybe The Google app has changed now, I have no idea. I’ve had much better luck storing TOTP in 1Password and Bitwarden - which allow you to sync across multiple platforms. So now device upgrades are a non-issue.
Most sites give you some static backup codes for TOTP - definitely store those somewhere safe, they can be a lifesaver.
comment 6y ago · link · parent
Sure, you can list the fields in the order you want in a SELECT statement, but that's tedious - it's handy to have something reasonable in the table definition.
There's a wiki page on the Postgres site:
https://wiki.postgresql.org/wiki/Alter_column_position
talking about workarounds and a plan from 2006 on how they might implement that feature.
comment 7y ago · link · parent
I was definitely in the "copy/paste pieces of code from various snippets over at bl.ocks.org, cross my fingers and hope for the best." camp. It makes much more sense now.