Better HN
topnewbestaskshowjobs
Log inSign up

scoopr

689 karma · joined Dec 1, 2010 (15y ago) · 155 submissions

Submissions

comment 1h ago · link · parent

I'm surprised how many of these I don't recognize, I've missed a lot :) Some of them have a bit of.. vibe-fidelity..

Some ideas for next ones (not sure how available the binaries are):

- psx t-rex (https://www.youtube.com/watch?v=Q1PBTbnzI5A)

- ps3 duck demo (https://www.youtube.com/watch?v=7UaDvIPpQnQ)

- tritech pyramid3d tech demo (https://www.youtube.com/watch?v=xzP4R94k2lk)

comment 3w ago · link · parent

So, it’s shareware? :)

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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.

comment 2mo ago · link · parent

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

comment 2mo ago · link · parent

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!

comment 3mo ago · link · parent

I believe there are several crates (and other languages too) inspired by the original cassowary paper, don't know how mature they are though.

comment 5mo ago · link · parent

Maybe it’s for the llm tool use PATH?

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

comment 7mo ago · link · parent

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/

comment 9mo ago · link · parent

Well, at least they brought back edit[0]

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

comment 1y ago · link · parent

There is a bbc podcast[0] about evilcorp

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

comment 1y ago · link · parent

> 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 :)

comment 1y ago · link · parent

Then there is the proposal to add standard `defer` to C2y[0]

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

comment 1y ago · link · parent

Heh, little prince tries gig work ;)

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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...

comment 1y ago · link · parent

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-...

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Could be perhaps worth the trouble to try dev-drive/ReFS? [0]

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

comment 1y ago · link · parent

There is also https://UpCloud.com

comment 1y ago · link · parent

Oh well, maybe we'll soon have `defer`? [0]

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

comment 1y ago · link · parent

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...

comment 1y ago · link · parent

Hmm, it says

> Shipping to Switzerland only

which is a shame :/

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

I think the referenced Tim Wright interview is this[0] one

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

comment 2y ago · link · parent

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 :)

comment 2y ago · link · parent

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

123456