Searching We.Love.Privacy.Club

Twts matching #GO
Sort by: Newest, Oldest, Most Relevant
In-reply-to » Since I used so much Rust during the holidays, I got totally used to rustfmt. I now use similar tools for Python (black and isort).

@movq@www.uninformativ.de @prologic@twtxt.net That’s what I like about Go, too. However, every now and then I really dislike the result, e.g. when removing spaces from a column layout. Doesn’t happen often, but when it does, I hate it.

I think I should have a look at Python formatters, too. Pep8 is deprecated, I think, it’s been some time that I looked at it.

⤋ Read More

It drizzled all morning when we picked up the old christmas trees in town with the scouts. Right after lunch the snow storm suddenly hit and dumped three centimeters of snow in just 15 minutes. I cycled home in these crazy conditions, freezing rain hammered my face. As soon as I arrived, it stopped. It’s now down to drizzling again.

All my soaked gear is now hung up to dry. The next 11 months, I’m going to find needles over needles in all kind of impossible places.

⤋ Read More

KDE Plasma 6.6 Adds oo7 Secret Service Provider Support, Save As New Global Theme
With new volunteers stepping up for This Week in Plasma, there is a new issue out this week to highlight more development activities going into the upcoming KDE Plasma 6.6 desktop release… ⌘ Read more

⤋ Read More
In-reply-to » Mu (µ) is coming along really nicely 🤣 Few things left to do (in order):

@prologic@twtxt.net

Shin'ya M. > ./bin/mu
panic: native backend does not support syscall platform netbsd/amd64

goroutine 1 [running]:
git.mills.io/prologic/mu/internal/native/arm64.init.0()
        /home/shinyoukai/mu/internal/native/arm64/emitter.go:45 +0x7bf

…that was supposed to be the interpreter?

⤋ Read More
In-reply-to » @lyse Ah, the lower right corner is different on purpose: It’s where you can click and drag to resize the window. https://movq.de/v/cbfc575ca6/vid-1767977198.mp4 Not sure how to make this easier to recognize. šŸ¤” (It’s the only corner where you can drag, btw.)

@lyse@lyse.isobeef.org It’s not super comfortable, that’s right.

But these mouse events come with a caveat anyway:

ncurses uses the XM terminfo entry to enable mouse events, but it looks like this entry does not enable motion events for most terminal emulators. Reporting motion events is supported by, say, XTerm, xiate, st, or urxvt, it just isn’t activated by XM. This makes all this dragging stuff useless.

For the moment, I edited the terminfo entry for my terminal to include motion events. That can’t be a proper solution. I’m not sure yet if I’m supposed to send the appropriate sequence manually …

And the terminfo entries for tmux or screen don’t include XM at all. tmux itself supports the mouse, but I’m not sure yet how to make it pass on the events to the programs running inside of it (maybe that’s just not supported).

To make things worse, on the Linux VT (outside of X11 or Wayland), the whole thing works differently: You have to use good old gpm to get mouse events (gpm has been around forever, I already used this on SuSE Linux). ncurses does support this, but this is a build flag and Arch Linux doesn’t set this flag. So, at the moment, I’m running a custom build of ncurses as a quick hack. šŸ˜… And this doesn’t report motion events either! Just clicks. (I don’t know if gpm itself can report motion events, I never used the library directly.)

tl;dr: The whole thing will probably be ā€œkeyboard firstā€ and then the mouse stuff is a gimmick on top. As much as I’d like to, this isn’t going to be like TUI applications on DOS. I’ll use ā€œWindowsā€ for popups or a multi-window view (with the ā€œWindowManagerā€ being a tiny little tiling WM).

⤋ Read More

Intel Is ā€˜Going Big Time Into 14A,’ Says CEO Lip-Bu Tan
Intel CEO Lip-Bu Tan says the company is ā€œgoing big timeā€ into its 14A (1.4nm-class) process, signaling confidence in yields and hinting at at least one external foundry customer. Tom’s Hardware reports: Intel’s 14A is expected to be production-ready in 2027, with early versions of process design kit (PDK) coming to external customers early this year. To that end … ⌘ Read more

⤋ Read More

Tailwind CSS Lets Go 75% Of Engineers After 40% Traffic Drop From Google
Adam Wathan, the creator of the popular CSS framework Tailwind CSS, has let go of 75% of his engineering team – reducing it from four people to one – because AI-generated search answers have decimated traffic to the project’s documentation pages.

Traffic to Tailwind’s documentation has fallen roughly 40% since early 2023 despite th … ⌘ Read more

⤋ Read More

SteamOS Continues Its Slow Spread Across the PC Gaming Landscape
An anonymous reader quotes a report from Ars Technica: SteamOS’s slow march across the Windows-dominated PC gaming landscape is continuing to creep along. At CES this week, Lenovo announced it will launch a version of last year’s high-priced, high-powered Legion Go 2 handheld with Valve’s gaming-focused, Linux-based OS pre-installed starting in J … ⌘ Read more

⤋ Read More
In-reply-to » I think this is finally a good metaphor to talk about ā€œsimpleā€ software:

@prologic@twtxt.net Yep! I like that this distillation metaphor makes it explicit: You have to go ahead and actually distill something. It doesn’t happen automatically. The metaphor acknowledges that this is work that needs to be done by someone.

⤋ Read More

Microsoft Office Is Now ā€˜Microsoft 365 Copilot App’
Longtime reader joshuark shares a report: As spotted by Bluesky user DodgerFanLA, going to Office.com now greets you with the following helpful explainer: ā€œThe Microsoft 365 Copilot app (formerly Office) lets you create, share, and collaborate all in one place with your favorite apps now including Copilot.*ā€

Never has an asterisk been more relevant to me than following the wor … ⌘ Read more

⤋ Read More

I came across this on ā€œWhy Is SQLite Coded In Cā€, which I found interesting:

ā€œThere has lately been a lot of interest in ā€œsafeā€ programming languages like Rust or Go in which it is impossible, or is at least difficult, to make common programming errors like memory leaks or array overruns.ā€

If that’s true, then encountering those issues means the programmer is, simply, horrible?

⤋ Read More

AMD Releases GAIA 0.15 - Positioning It As A Framework/SDK For Building AI PC Agents
Last year AMD announced GAIA as short for ā€œGenerative AI Is Awesomeā€. It started off as a Windows-only AI demo but over time added Linux support along with introducing different AI agents. For going along with AMD’s AI announcements at CES 2026, AMD released GAIA 0.15 where they are now positioning this software as a framework/SDK for building AI PC agents… ⌘ Read more

⤋ Read More

UK Government’s New Pension Portal Operator Tells Users To Wait for AI Before Complaining
Capita, the UK outsourcer that won a $323 million contract to administer the nation’s Civil Service Pension Scheme for 1.7 million members, has responded to a disastrous portal launch by asking users to hold off on complaints until its new AI chatbots go live.

The service launched on December 1 and … ⌘ Read more

⤋ Read More

Interference With America’s GPS System ā€˜Has Grown Dramatically’
86 aircraft were affected by an incident in Denver ,and 256 more in Dallas-Fort Worth, America’s Federal Aviation Admistrationtold the Washington Post:

The pilots flying into Denver International Airport could tell something was wrong. In urgent calls to air traffic controllers, they reported that the Global Positioning System was going haywire, forc … ⌘ Read more

⤋ Read More

MTV’s Music-Only Channels Go Off the Air
An anonymous reader shares a report: MTV shut down many of its last dedicated 24-hour music channels Dec. 31. The move, announced back in October, affected channels around the world, with the U.K. seeing five different MTV stations going dark. These include MTV Music, MTV 80s, MTV 90s, Club MTV, and MTV Live. As Consequence notes, MTV Music – which launched in 2011 – notably ended it … ⌘ Read more

⤋ Read More
In-reply-to » @lyse A "Hello World" binary is ~372KB in size. I currently have peephole optimization and deac code optimizations in play, and a few other performance related ones, but nothing too fancy. I have a test case that ensures fib(35) doesn't regress too badly as I continue to evolve the language.

@prologic@twtxt.net Not bad for a start, ey! Looking forward to see you going down these rabbit holes and opening one can of worms after the other. :ā€˜-D Very, very impressive, hats off to you. :-)

⤋ Read More

Things I’ve learned along the way:

  1. Writing self-contained and barely tied up programs didn’t go as well as I’d have thought
  2. Reverse engineering (to put it that way) an open source library
  3. Acceptance of non-Make build systems

⤋ Read More
In-reply-to » I'm going to write the T.P.D.D. subcommand for Mikuru now

It turns out doing such a thing all at once can obliterate one’s bandwidth if unchecked.

Also I was greeted with the most non-explanatory compiler error to date:

go build -v -o mikuru ./cmd

no errors

echo $?
1

⤋ Read More
In-reply-to » Why the hell do I have to git add everything!? Is it not enough for the file(s) to be already checked in from the get go?

@shinyoukai@neko.laidback.moe Because you might not want to commit all changed files in a single commit. I very often make use of this and create several commits. In fact, I like to git add --patch to interactively select which parts of a file go in the next commit. This happens most likely when refactoring during a feature implementation or bug fix. I couldn’t live without that anymore. :-)

If you have a much more organized way of working where this does not come up, you can just git commit --all to include all changed files in the next commit without git adding them first. But new files still have to be git added manually once.

⤋ Read More
In-reply-to » Hmm, mine also resolves a leading tilde in these variables. And if $HOME is not specified it tries to resolve the user's home directory by user.Current().HomeDir. Maybe that's overkill, I have to check the XDG spec.

Ok, the standard library implementation is wonky at best, at least in regards to XDG, because it really doesn’t implement it properly. https://github.com/golang/go/issues/62382 I stick to my own code then. It doesn’t properly support anything else than Linux or Unixes that use XDG, but personally, I don’t care about them anyway. And the cross-platform situation is a giant mess. Unsurprisingly.

⤋ Read More
In-reply-to » @lyse Well, I used SnipMate years ago (until 2012). IIRC, it’s more than just ā€œinsert a bit of text hereā€, it can also jump to the correct next location(s) and stuff like that. Don’t remember why I stopped using it.

@movq@www.uninformativ.de Thanks! I’ll have a look at SnipMate. Currently, I’m (mis)using the abbreviation mechanism to expand a code snippet inplace, e.g.

autocmd FileType go inoreab <buffer> testfunc func Test(t *testing.T) {<CR>}<ESC>k0wwi

or this monstrosity:

autocmd FileType go inoreab <buffer> tabletest for _, tt := range []struct {<CR>    name string<CR><CR><BS>}{<CR>   {<CR>   name: "",<CR><BS>},<CR><BS>} {<CR>  t.Run(tt.name, func(t *testing.T) {<CR><CR>})<CR><BS>}<ESC>9ki<TAB>

But this of course has the disadvantage that I still have to remove the last space or tab to trigger the expansion by hand again. It’s a bit annoying, but better than typing it out by hand.

⤋ Read More

The tt URLs View now automatically selects the first URL that I probably are going to open. In decreasing order, the URL types are:

  1. markdown media URLs (images, videos, etc.)
  2. markdown or plaintext URLs
  3. subjects
  4. mentions

I might differentiate between mentions of subscribed and unsubscribed feeds in the future. The odds of opening a new feed over an already existing one are higher.

⤋ Read More

Updated Linux Drivers Posted For Legion Go & Legion Go S Configuration
Open-source developer Derek J. Clark continues leading the efforts on improving the Lenovo Legion Go series hardware support under Linux. Posted today was the second iteration of the HID driver work for the Legion Go and Legion Go S for configuration support with the built-in controller HID interfaces… ⌘ Read more

⤋ Read More

@zvava@twtxt.net By hashing definition, if you edit your message, it simply becomes a new message. It’s just not the same message anymore. At least from a technical point of view. As a human, personally I disagree, but that’s what I’m stuck with. There’s no reliable way to detect and ā€œcorrectā€ for that.

Storing the hash in your database doesn’t prevent you from switching to another hashing implementation later on. As of now, message creation timestamps earlier than some magical point in time use twt hash v1, messages on or after that magical timestamp use twt hash v2. So, a message either has a v1 or a v2 hash, but not both. At least one of them is never meaningful.

Once you ā€œupgradeā€ your database schema, you can check for stored messages from the future which should have been hashed using v2, but were actually v1-hashed and simply fix them.

If there will ever be another addressing scheme, you could reuse the existing hash column if it supersedes the v1/v2 hashes. Otherwise, a new column might be useful, or perhaps no column at all (looking at location-based addressing or how it was called). The old v1/v2 hashes are still needed for all past conversation trees.

In my opinion, always recalculating the hashes is a big waste of time and energy. But if it serves you well, then go for it.

⤋ Read More

KDE’s ā€œThis Week In Plasmaā€ Will Become Less Frequent Without New Volunteers
The This Week In Plasma series written by KDE developer Nate Graham has been a great way to keep-up with all of the interesting KDE Plasma desktop developments over the past eight years. This Week In Plasma is regularly featured on Phoronix and always provides an interesting weekend look at the very newest innovations to land in Plasma. Unfortunately, This Week In Plasma will become less frequent or even go on hiatus without new volu … ⌘ Read more

⤋ Read More
In-reply-to » Hmmm I need to figure out a way to reduce the no. of lines of code / complexity of the ARM64 native code emitter for mu (µ). It's insane really, it's a whopping ~6k SLOC, the next biggest source file is the compiler at only ~800 SLOC šŸ¤”

@shinyoukai@neko.laidback.moe Nah it’s more like there’s a lot of repeated code, because when you go from source language to intermediate representation to machine code, well you just end up writing a lot of the same patterns over and over again. I need to dedupe this I think.

⤋ Read More

Intel Open-Source Software Setback: IWD Development Hiatus
Adding to the unfortunate engineering setbacks at Intel this year as part of cost-cutting measures, the Intel IWD software development has been on a hiatus for the past three months. Going from previously seeing monthly releases and almost constant activity to now development ceasing up with no activity in the past three months… ⌘ Read more

⤋ Read More

AMD RDNA3/RDNA4 Go Down Hard On Linux 6.19, But Here’s How The Older AMD GPUs End Out 2025
As part of the various end-of-year benchmarking comparisons on Phoronix and with Linux 6.19 switching older AMD GCN 1.0/1.1 graphics cards to the AMDGPU driver by default, I planned for a very large AMD Radeon graphics card comparison on the latest open-source Linux driver for ending out 2025. In the end though I was thwarted by newer AMD RDNA3 / RDNA4 graphics cards regressing hard on Linux 6.19 that led to ending this testing … ⌘ Read more

⤋ Read More

Nova Driver Progress & Other NVIDIA Linux News From 2025
This year there was a lot of going on in the NVIDIA Linux world from their official driver stack seeing better Wayland support to a lot on the open-source scene from NVIDIA engineers contributing a lot directly to the Rust-based Nova open-source driver that continues taking shape, the Mesa NVK Vulkan driver becoming more performant and capable, and a lot of other happenings. Here is a look back at the most popular NVIDIA content of 2025 on Phoronix… ⌘ Read more

⤋ Read More

Russia Plans a Nuclear Power Plant on the Moon Within a Decade
Russia plans to put a nuclear power plant on the moon in the next decade to supply its lunar space programme and a joint Russian-Chinese research station, as major powers rush to explore the earth’s only natural satellite. Reuters: Ever since Soviet cosmonaut Yuri Gagarin became the first human to go into space in 1961, Russia has prided itself as … ⌘ Read more

⤋ Read More

Judge Blocks Texas App Store Age Verification Law
A federal judge blocked Texas’ app store age-verification law, ruling it likely violates the First Amendment by forcing platforms to gate speech and collect data in an overly broad way. The law was set to go into effect on January 1, 2026. The Verge reports: In an order granting a preliminary injunction on the Texas App Store Accountability Act (SB 2420), Judge Robert Pitman w … ⌘ Read more

⤋ Read More

Cyberattack Disrupts France’s Postal Service, Banking During Christmas Rush
An anonymous reader quotes a report from the Associated Press: With just three days to go before Christmas, a cyberattack knocked France’s national postal service offline Monday, blocking and delaying package deliveries and online payments. The timing was miserable for millions of people at the height of the Christmas season, as … ⌘ Read more

⤋ Read More
In-reply-to » Hey EU friends šŸ‘‹ wtf happened to the EU Internet today for about 40 minutes or so?

@movq@www.uninformativ.de From 2:50 PM to 3:23 PM AEST (+10 UTC) there was an outage. Everything went ā€œupā€ on Down Detector, my EU region went offline, numerous sites were unavailable, and so on. Basically everything to/from the EU appeared to basically go kaput.

⤋ Read More
In-reply-to » Wow, @movq, so many tables. No idea what I expected (I'm totally clueless on this low-level stuff), but that was quite an interesting surprise to me. https://www.uninformativ.de/blog/postings/2025-12-21/0/POSTING-en.html

@lyse@lyse.isobeef.org These tables get shuffled around every time your OS switches to another process. It’s crazy that so much is going on behind the scenes.

⤋ Read More

While Releasing ā€˜Avatar 3’, James Cameron Questions the Future of Movies
ā€œIf I get to do another Avatar film, it’ll be because the business model still works,ā€ James Cameron tells CNN in a video interview — adding ā€œThat I can’t guarantee, as I sit here today. That’ll play out over the next month, really.ā€ He says theatre is a ā€œsacred space,ā€ and while it will never go away, ā€œI think that it could … ⌘ Read more

⤋ Read More

@kiwu@twtxt.net Assembly is usually the most low-level programming language that you can get. Typical programming languages like Python or Go are a thick layer of abstraction over what the CPU actually does, but with Assembler you get to see it all and you get full control. (With lots of caveats and footnotes. šŸ˜…)

I’m interested in the boot process, i.e. what exactly happens when you turn on your computer. In that area, using Assembler is a must, because you really need that fine-grained control here.

⤋ Read More