Go 1.22.0 introduces a new experiment for range functions. Have you tried them out? What do you think it can make easier to accomplish?
Sad to see moc
removed from the official arch linux repos, but also cool to learn the debian project has been quietly patching it and keeping it up to date in recent years. Long live the music on console player. (And debian!) :-)
I finally found the NASM assembler.
I had heard that name before, many times, but somehow never looked into it. Weird. 🤨🤔
This is the kind of program I was looking for.
- It is free software. Especially in the DOS ecosystem, free/libre software is a very scarce resource.
- It’s a small command line program, not a huge behemoth.
- Documentation appears to be well written.
- It can even cross-compile DOS binaries from Linux.
There’s something really annoying me on #openbsd httpd: to set custom headers, one need to use relayd. Yes, it works, but it is so complex for this task. And it breaks logs for analysis with goaccess or webalizer: the forwarded log format put the original IP at the end, but there is still 127.0.0.1 at the beginning :/. httpd should be able to set headers. ‘hsts’ instruction already does
Pinellas County - 5 x 1mi [1’30”]: 7.66 miles, 00:08:52 average pace, 01:07:54 duration
during the warm-up my legs felt so heavy. the first interval was a bit rough with the legs, but each afterwards was smooth. did not actually feel too hard which is a great sign i think.
#running
Pinellas County - 1 mile [1’30”]: 5.34 miles, 00:08:42 average pace, 00:46:26 duration
another great run. i may have pushed it a bit too hard on the last interval towards the end because i noticed my breathing had become ragged.
#running
Recovery: 1.00 miles, 00:10:29 average pace, 00:10:29 duration
Pinellas County - Long Run: 16.66 miles, 00:09:16 average pace, 02:34:24 duration
whew, rough plan was 3 miles warm-up, then 1 mile on/off at 8:30 pace, then cool down the rest of the way. little bit fast for some intervals, and boy did that bridge wipe me out (the third interval?). during the cool down had to stop to find tissues and also going up the final bridge. not trying to kill myself being i still have parental duties with it being christmas eve and all. overall it was a great outing if i must say so.
#running
Pinellas County - 10 x 1km (mod) [1’30”]: 9.05 miles, 00:08:41 average pace, 01:18:36 duration
did not think i would complete 10 reps but went pretty well once i was moving. kept it controlled for the most part and ground it out.
#running
Today’s Advent of Code puzzle was rather easy (luckily), so I spent the day doing two other things:
- Explore VGA a bit: How to draw pixels on DOS all by yourself without a library in graphics mode 12h?
- Explose XMS a bit: How can I use more than 640 kB / 1 MB on DOS?
Both are … quite awkward. 😬 For VGA, I’ll stick to using the Borland Graphics Interface for now. Mode 13h is great, all pixels are directly addressable – but it’s only 320x200. Mode 12h (640 x 480 with 16 colors) is pretty horrible to use with all the planes and what not.
As per this spec, I’ve written a small XMS example that uses 32 MB of memory:
https://movq.de/v/9ed329b401/xms.c
It works, but it appears the only way to make use of this memory is to copy data back and forth between conventional memory and extended memory. I don’t know how useful that is going to be. 🤔 But at least I know how it works now.
Pinellas County - 10 x 2’[1’]: 6.22 miles, 00:08:12 average pace, 00:51:01 duration
woops, i miscounted and skipped the last interval! still shaved thirty seconds from my 10km PB.
#running
Pinellas County - 10 x 2’[1’]: 6.25 miles, 00:08:43 average pace, 00:54:27 duration
the intervals went great at around eight minute pace each time. some crazies out there dorking with the first three, but after that it was a smooth rhythm.
#running
The word forms is part two. In this one you want to find the first digit and last digit. Think searching ‘1’ - ‘9’
@xuu@txt.sour.is Ah, you went with the “scanning” approach as well. I did that, too.
It’s quite surprising to see (imho) how many people on reddit started substituting strings (one
becomes 1
etc.). That makes the puzzle much harder by introducing nasty corner cases.
(Maybe I was just lucky this time to pick the correct approach right from the start. 🤣 Or maybe it’s a bit of experience from doing past AoC events …)
Day 2, Part 1 and Day 2, Part 2 of #AdvenOfCode all done and dusted 😅
Pinellas County - 3 x 1mi [1’30”]: 5.05 miles, 00:08:48 average pace, 00:44:27 duration
great session. kept a steady 8:00-ish pace on the intervals and did not feel too wiped out.
#running
X Value
⌘ Read more
World’s richest 1% emit as much carbon as bottom two-thirds: report
The richest one percent of the global population are responsible for the same amount of carbon emissions as the world’s poorest two-thirds, or five billion people, according to an analysis published Sunday by the nonprofit Oxfam International. ⌘ Read more
This is some cool development for the go 1.22 standard http mux. Its adding the ability to have path vars and define methods for handlers. Also the errors are quite helpful if you have conflicting paths!
https://eli.thegreenplace.net/2023/better-http-server-routing-in-go-122/
Donjons et Chenapans: Jeu de rôle libre et gratuit pour les enfants à partir de 4 ans. On va s’éclater cet après-midi : https://gusandco.net/wp-content/uploads/2022/04/donjons_et_chenapans-1.pdf #jdr
More data contradicting the existence of “echo chambers”. As I’ve argued many times before, the concept of an echo chamber or information bubble is not real. The podcast below is an interview of an author of a study where they actually intervened and changed the information diet of 20,000 people (with consent!), then surveyed them after three months. They observed essentially no changes to the study subjects’ beliefs and attitudes. They also observed that the typical person, while they tend to gravitate towards people with similar political leanings, only get about 50% of their content from such like-minded people. They get the rest from neutral sources and maybe 20% from non-like-minded people.
Varied information diet + No change in attitudes when information diet is forced to be different = no echo chamber.
- It’s criminal: Copilot was only possible because of massive theft of other peoples’ work (no compensation or even acknowledgement to any of the developers whose code was used to create Copilot)
- It’s positioned to put software developers out of work or so fully de-skill them that they no longer know how to code anything but prompts (after which come corporate-justified salary and benefits decreases)
Don’t use it. No one should ever use it. You’re destroying your own future as a software developer by leaning on and supporting these things.
Experts warn ‘green growth’ in high income countries is not happening, call for ‘post-growth’ climate policies
The emission reductions in the 11 high-income countries that have “decoupled” CO2 emissions from Gross Domestic Product (GDP) fall far short of the reductions that are necessary to limit global warming to 1.5°C or even just to “well below 2°C” and comply with international fairness principles, as required by the Paris Agreement, according to a paper published in The Lancet Planetary Health j … ⌘ Read more
10 - Miquiztli (1) Ollin, 11 - Acatl 13.0.10.15.6
podman
works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.
@prologic@twtxt.net Change your script to this:
#!/bin/sh
set -e
alias docker=podman
if [ ! command -v docker > /dev/null 2>&1 ]; then
echo "docker not found"
exit 1
fi
mkdir -p $HOME/.docker/certs.d/cas
## key stuff omitted
# DO NOT DO THIS docker context create cas --docker "host=tcp://cas.run:2376,ca=$HOME/.docker/certs.d/cas/ca.pem,key=$HOME/.docker/certs.d/cas/key.pem,cert=$HOME/.docker/certs.d/cas/cert.pem"
# DO THIS:
podman system connection add "host=tcp://cas.run:2376,ca=$HOME/.docker/certs.d/cas/ca.pem,key=$HOME/.docker/certs.d/cas/key.pem,cert=$HOME/.docker/certs.d/cas/cert.pem"
# DO NOT DO THIS docker context use cas
# DO THIS:
podman system connection default cas
podman
works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.
@prologic@twtxt.net what do you mean when you say “Docker API”? There are multiple possible meanings for that. podman
conforms to some of Docker’s APIs and it’s unclear to me which one you say it’s not conforming to.
You just have to Google “podman Docker API” and you find stuff like this: https://www.redhat.com/sysadmin/podman-rest-api
What is Podman’s REST API?Podman’s REST API consists of two components:
- A Docker-compatible portion called Compat API
- A native portion called Libpod API that provides access to additional features not available in Docker, including pods
Or this: https://docs.podman.io/en/latest/markdown/podman-system-service.1.html
The REST API provided by podman system service is split into two parts: a compatibility layer offering support for the Docker v1.40 API, and a Podman-native Libpod layer.
@prologic@twtxt.net FWIW, I pay a little under 3€/month for a VPS with 1 vCPU, 2 GB RAM, 20 GB disk, 40 TB traffic. 🤔
@New_scientist@feeds.twtxt.net hello @prologic@twtxt.net here’s another feed that’s spewing multiple copies of the same post. This one above is repeated 8 times. @awesome-scala-weekly@feeds.twtxt.net now has 13 copies of each post every week. This definitely looks like a bug in whatever code is generating these feeds, because the source feeds don’t have multiple copies of the original posts:
- Has 8 copies of the above post: https://feeds.twtxt.net/New_scientist/twtxt.txt
- Has only 1 copy of the above post: https://www.newscientist.com/feed/home/
I forget whether I filed an issue on this before, but can you tell me where I should do that?
Release jq 1.7rc1 · jqlang/jq · GitHub
Renewed activity on jq
after five years. This RC looks nice!
user/bmallred/data/2023-07-31-15-34-43.fit: 1.02 miles, 00:10:08 average pace, 00:10:20 duration
user/bmallred/data/2023-07-30-16-22-31.fit: 1.70 miles, 00:08:56 average pace, 00:15:09 duration
Show HN: A Python Job Board for Python Developers
Article URL: https://www.pycareer.io
Comments URL: https://news.ycombinator.com/item?id=36860953
Points: 574
# Comments: 1 ⌘ Read more
Russia attacks 200m from Nato border, you think Nato would react if the attack went 1 meter over the border?.. Or would they just come with excuses on why not to intervene?
@xuu@txt.sour.is ah, well, I think it’s on 1.0.x now but it picked up ipv6 support in 0.10.x
What I see here is that when I was reading your .txt, the timestamp was like 40 minutes later than current time. Say it’s 1pm and that twt is timed on 1.40pm
No idea why, perhaps your server has a wrong Timezone, or your twtxt tool is doing some timezome conversion?
user/bmallred/data/2023-07-04-05-12-13.fit: 1.10 miles, 00:10:28 average pace, 00:11:33 duration
user/bmallred/data/2023-07-02-06-15-08.fit: 1.24 miles, 00:09:30 average pace, 00:11:47 duration
1:Thinking that everything is dangerous. 2:Thinking you are in charge of everything. 3:High self esteem. 4:Looking for things to make a song and dance out of. These 4 things are a dangerous combination.
@movq@www.uninformativ.de
Doesn’t even compile on my system, which is apparently broken:
> cc -Wall -Wextra -o win win.c $(pkg-config --cflags --libs gtk4)
cc: error: unrecognized argument in option ‘-mfpmath=sse -msse -msse2 -pthread -I/usr/include/gtk-4.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgtk-4 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgraphene-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0’
cc: note: valid arguments to ‘-mfpmath=’ are: 387 387+sse 387,sse both sse sse+387 sse,387
I played with nlpodyssey/verbaflow: Neural Language Model for Go today a little bit today…. First I had to download a ~2GB file (the model), then convert that to a format the program verbaflow
understands which came out to roughly ~5GB. Then I tried some of the samples in the README. My god, this this is so goddamn awfully slow its like watching paint dry 😱 All just to predict the next few tokens?! 😳 I had a look at the resource utilisation as well as it was trying to do this “work”, using 100% of 1.5 Cores and ~10GB of Memory 😳 Who da fuq actually thinks any of this large language model (LLM) and neural network crap is actually any good or useful? 🤔 Its just garbage 🤣
Physical Quantities
⌘ Read more
Bell Witch released a new album/song recently. I nominate this as “soundtrack of the apocalypse”. 🤘 // Bell Witch - Future’s Shadow Part 1: The Clandestine Gate // https://www.youtube.com/watch?v=Mg8TLge8gUU #NowPlaying
📣 Outage Notification: On Tuesday 23rd May 2023 between 7.30am to 5pm, there will be an outage of undefined length with no known start time due to planned power meter upgrades on the premises by the energy company.
You know, it’s one of those things where they give you a ~12hr window 🤦♂️ I will post here again once the technician is on-site and power down. I will power back up as soon as the work is complete.
According to the information I’ve received, the outage should be no more than ~1-2hrs.
Apologies for any inconvenience 🤗
Still undecided between TiddlyWiki, DokuWiki, Bear, Benotes, Memos, my blog software, standardnotes, apple notes and more. I like them all quite a bit, but standardnotes, the only one that has reall multiplatform is so fucking complicated to host on your own and then they have this stupid offline subscription thing that allows rich text or the block editor that works like notion. I also found codex docs which is really really nice. Unfortunately they lack proper authentication. 1 / 2
According to the RedMonk programming language rankings from Jan 2023, Go and Scala are tied at 14th place 😏
1 JavaScript
2 Python
3 Java
4 PHP
5 C#
6 CSS
7 TypeScript
7 C++
9 Ruby
10 C
11 Swift
12 Shell
12 R
14 Go
14 Scala
16 Objective-C
17 Kotlin
18 PowerShell
19 Rust
19 Dart
user/bmallred/data/2023-05-17-09-14-01.fit: 1.03 miles, 00:10:13 average pace, 00:10:34 duration
TornadoVM Continues Adapting Java OpenJDK/GraalVM For Heterogeneous Hardware
A new release of TornadoVM is now available, the open-source plug-in to OpenJDK and GraalVM to allow for Java code to run on heterogeneous hardware with ease – including various GPU models as well as FPGAs… ⌘ Read more
@stigatle@yarn.stigatle.no @prologic@twtxt.net @eldersnake@we.loveprivacy.club I love VR too, and I wonder a lot whether it can help people with accessibility challenges, like low vision.
But Meta’s approach from the beginning almost seemed like a joke? My first thought was “are they trolling us?” There’s open source metaverse software like Vircadia that looks better than Meta’s demos (avatars have legs in Vircadia, ffs) and can already do virtual co-working. Vircadia developers hold their meetings within Vircadia, and there are virtual whiteboards and walls where you can run video feeds, calendars and web browsers. What is Meta spending all that money doing, if their visuals look so weak, and their co-working affordances aren’t there?
On top of that, Meta didn’t seem to put any kind of effort into moderating the content. There are already stories of bad things happening in Horizon Worlds, like gangs forming and harassing people off of it. Imagine what that’d look like if 1 billion people were using it the way Meta says they want.
Then, there are plenty of technical challenges left, like people feeling motion sickness or disoriented after using a headset for a long period of time. I haven’t heard announcements from Meta that they’re working on these or have made any advances in these.
All around, it never sounded serious to me, despite how much money Meta seems to be throwing at it. For something with so much promise, and so many obvious challenges to attack first that Meta seems to be ignoring, what are they even doing?
@shreyan@twtxt.net probably ~1k up to 1.5k. One I found had 64G ram and 12C / 16T for 1.1k