HNHacker News
TopNewBestAskShowJobs

scoopr

689 karma · joined December 1, 2010

submissionscomments
scoopr··on We're releasing the weights of Mistral Large 4
So, it’s shareware? :)
scoopr··on Emitting metadata early makes building/checking Rust up to twice as fast
Huh, I kinda thought something like this was already being done, but perhaps it was a bit later stage. Neat!

A kind of related shower thought I had, could rustc not instantiate generic methods, but write out what it expects to find (std::Vec<String>::push), and a separate build process listens to these, but makes sure already built ones are not built multiple times from the whole build.

I don’t actually know how much of duplication there usually is, but I had gotten the impression that it would be part of the problem.

Of course I’m no compiler engineer, and I’m sure there are complications like per crate build profiles, etc.

scoopr··on Testing WebGPU data layouts with Facet
Nice, always good to have some extra checking.

While most of the time you want the memcpy semantics, but I wonder if naga could be used to compute a facet SHAPE from the shader. Maybe it could be used to "serialise" the cpu format to gpu format, without them needing to be padding/repr-compatible (or even field-reorder-compatible!).

Another option of course would be to parse the struct with naga and just always generate the rust counterpart, then it should always be compatible and up-to-date, but then you have codegen in your build step.

scoopr··on Type Punning in C and C++
I just watched video[0] that argues if you can consteval something, then it must be free of UB, which seems compelling, at least for these lower level helpers.

Unfortunately, it seems memcpy is not constexpr, so cannot be used like this, but std::bit_cast actually works[1] as constexpr, so I think in C++ that would now be the most preferred use. It won't allow the union either.

[0] https://www.youtube.com/watch?v=-LAXqqqX274 [1] https://godbolt.org/z/xGzjTMGvv

scoopr··on Open-source AI and open models reading list
This irks me as well. There have been perfectly good words to describe these.

The models are freeware, and some have additional restrictions in the license that make them shareware, imho!

scoopr··on Taffy: A flexible, high-performance, cross-platform UI layout library
I believe there are several crates (and other languages too) inspired by the original cassowary paper, don't know how mature they are though.
scoopr··on Coreutils for Windows
Maybe it’s for the llm tool use PATH?

That was the most plausible reason to even mention it, that I could think of.

scoopr··on Windows 9x Subsystem for Linux
So, is it like colinux[0], but for pre-NT windows? Neat!

Back when I was still using windows (probably XP era), I used to run colinux, it was kind of amazing, setting up something like LAMP stack on the linux side was a lot easier and then using windows editors for editing made for quite nice local dev env, I think! Could even try some of the X11 servers on windows and use a linux desktop on top of windows.

When I noticed I kept inching towards more and more unixy enviornment on the windows, I eventually switched to macOS.

Apart from the obvious hack-value, I can't quite imagine even pretend use-case, with some 486 era machine, you would be limited by memory quite quickly!

[0] http://colinux.org/

scoopr··on Windows 11 Notepad to support Markdown
Well, at least they brought back edit[0]

[0] https://github.com/microsoft/edit

scoopr··on Alleged Jabber Zeus Coder 'MrICQ' in U.S. Custody
There is a bbc podcast[0] about evilcorp

[0] https://www.bbc.co.uk/programmes/w3ct89y8

scoopr··on A 3K-year-old copper smelting site could be key to understanding origins of iron
> Every once in a while I pull up some Wikipedia article with idle curiosity of "If I were transported back in time, could I usefully help this get invented?"

This reminds me of the book “How to invent everything” by Ryan North, to kind of see the fast-path for many inventions :)

scoopr··on Defer: Resource cleanup in C with GCCs magic
Then there is the proposal to add standard `defer` to C2y[0]

[0] https://thephd.dev/c2y-the-defer-technical-specification-its...

scoopr··on A WebGL game where you deliver messages on a tiny planet
Heh, little prince tries gig work ;)
scoopr··on The 3,000-year-old story hidden in the @ sign
Heh, in Finnish it is often called “miuku mauku”, almost like “meow meow”, or perhaps “meowdy meowdi”. Didn’t see any other cat-themed nick names.
scoopr··on RedoxFS is the default filesystem of Redox OS, inspired by ZFS
I've occasionally pondered, how feasible would it be to write a APFS implementation just from the specs[0] alone. Is it harder or easier to create the implementation when you have a provided layout and mechanism how it works. Would it be easy to keep compatibility, and would it be a dead-end design for extensions that you'd like?

[0] https://developer.apple.com/support/downloads/Apple-File-Sys...

scoopr··on Temporary suspension of acceptance of mail to the United States
While technically true, f.ex. Finland has stopped all mail shipments[0]. I guess the airlines were not set up to dealing with the hassle of making sure all the shipments are “allowed”. Or maybe just lazy, dunno really.

[0] https://www.posti.fi/en/latest-news-at-posti/%20/news/trump-...

scoopr··on A Global Look at Teletext
Probably mentioned on every teletext related submission, but the Finland's public broadcaster YLE still has an avid teletext userbase, if not through a proper TV, then through the website [0] (and there are mobile apps for that too).

Some of the news listings are perfect, given confined space, but no need to be click-baity. See, f.ex. the news-in-english page [1]

[0] https://yle.fi/aihe/tekstitv

[1] https://yle.fi/aihe/tekstitv?P=191

scoopr··on Microsoft Edit
The original edit.com, from around dos 6.22 (and later 7.0, ie. win95) was my first IDE. Well, I started with qbasic, so I was fairly familiar with it as it was similar (or same?), but when I started learning C/C++ with djgpp, I just continued using edit.com.

My "project file" was `e.bat` with `edit file1.cpp file2.cpp file3.cpp`, as it was one of the few editors that I knew that had a decent multi file support with easy switching (alt-1,2,3 ..). I still continue remapping editor keybindings to switch to files with alt/cmd-1,2,3,.. and try to have my "active set" as few of the first files in the editor

It wasn't a great code editor, as it didn't have syntax highlighting, and the indent behaviour wasn't super great (which is why in my early career had my indent was two spaces, as that was easy enough to do by hand, and wasn't too much like tab). But I felt very immediate with the code anyway.

I knew that many others used editors like `qedit`, but somehow they never clicked with me. The unixy editors didn't feel right in dos either.

Quickly trying this, it doesn't seem to switch buffers with the same keybindings, even if it does seem to support multiple buffers.

scoopr··on Make Ubuntu packages 90% faster by rebuilding them
Could be perhaps worth the trouble to try dev-drive/ReFS? [0]

[0] https://learn.microsoft.com/en-us/windows/dev-drive/

scoopr··on Moving away from US cloud services
There is also https://UpCloud.com
scoopr··on Stupid Smart Pointers in C
Oh well, maybe we'll soon have `defer`? [0]

[0] https://thephd.dev/c2y-the-defer-technical-specification-its...

scoopr··on WorstFit: Unveiling Hidden Transformers in Windows ANSI
I was wondering if the beta checkbox the same thing as setting the ActiveCodePage to UTF-8 in the manifest, but the docs[0] clarify that GDI doesn't adhere to per-process codepage, but only a single global one, which is what the checkbox sets.

Bit of a shame that you can't fully opt-in to be UTF-8 with the *A API, for your own apps. But I think for the issues highlighted in the post, I think it would still be a valid workaround/defence-in-depth thing.

[0] https://learn.microsoft.com/en-us/windows/apps/design/global...

scoopr··on I replaced my son's school timetable app with an e-paper
Hmm, it says

> Shipping to Switzerland only

which is a shame :/

scoopr··on Lost IBM OS/2 Warp 3 and 4 localizations: Looking for help finding and archiving
Hrm. I think I had few OS/2 boxes amongst some old games I took to sell to a video game antiquarian, and I think I left it there but they didn't seem interested in them.

Frankly I don't remember which language they were, either english or finnish. I had both the red and blue boxes (was it, with windows support or not?), and other was unopened.

I usually preferred english versions myself, as I learned computers with english, it was more comfortable with me. Also IBM had some rather odd choices on some words versus Microsoft, which could be jarring (was it Umpilevy for hard drive, as opposed to Kiintolevy or Kovalevy in most other places).

One year (must of been 1997 or so?) IBM had a crazy marketing campaign at Assembly[0], where they practically just handed out the boxes to anyone who would take them. If they had handed out finnish version, I would be surprised if they were that hard to come by.

[0] https://assembly.org/en

scoopr··on Please Stop Using Barrel Files
Is the term "Barrel file" somehow in common use? I've never heard of it (not a js dev though). I would expect some kind of "umbrella file", "public interface", "reexport facade", or something along those lines.
scoopr··on The Impact of Jungle Music in 90s Video Game Development
I think the referenced Tim Wright interview is this[0] one

[0]: https://www.youtube.com/watch?v=2CGhBLHfP_M

scoopr··on A Missing IDE Feature
I find my self disagreeing quite strongly, I would hate that default :/

I find all kind of code folding massively throws off my spatial sense of the code. And if I'm browsing random code, then I often need to see the body too, to see if this is the place the work is done, or is it behind some abstraction down the line.

Perhaps I don't need it as much on c++ codebases, as the headers in a sense are that already. And Rust codebases I've dabbled in haven't been quite that big or overwhelming.

The outlineview/(the popup on top of buffer in many editors that lists the outline) is enough to finding my place in a file I feel lost. And if just looking how to use a lib, there is often some API documentation that helps along finding the right things (even if just barebones doxygen or rustdoc).

I'm sure this is as much of a habit thing as other editor preferences. Still I find it surprising how many people like code-folding :)

scoopr··on Implementing a Tiny CPU Rasterizer
I was reading 3dica[0], though I was too young or stupid to really grok it back then.

[0] https://www.modeemi.fi/drdoom/3dica/3dica.htm

scoopr··on Jazz – Apps with Distributed State
Such is the years long removal of affordance from the UI. Netscape 4 had a small downwards arrow to indicate a submenu for the backbutton.
scoopr··on Zulip 9.0: Organized chat for distributed teams
I just recently started up zulip after a long break, to check some particular community discussions. Before it had felt a bit hacky/nerdy. But now, I was pleasantly surprised. The app and the service feels really fast and to the point, and I think it looks OK to.

But also that jumping in to random community, and browsing through it made sense to me, I was able to read discussions that kinda seemed interesting and skip the rest, with pretty good confidence!

Contrasting to say Discord, where I'm always overwhelmed by the number of channels in big communities, with very little way to efficiently check "whats going on lately", without just browsing through. (I'm sure sizes of communities matters here though)

Or Matrix, where everything just seems so slow and janky. Though I think it is trying to solve a harder problem being so distributed. It has real potential bringing related communities closer by having a well curated spaces that organise them neatly.

Page 1 of 5Next →