Better HN
topnewbestaskshowjobs
Log inSign up

weltensturm

52 karma · joined Jul 16, 2019 (7y ago) · 23 submissions

Submissions

comment 1mo ago · link · parent

Transflective LCDs are used nowadays (as opposed to just reflective), my Pebble has one and the Daylight Computer is another modern device with one.

They're great if monochrome IMO, but the color variants suffer with brightness as each subpixel can only reflect 1/3 of the light, which makes the backlight necessary in more situations.

comment 2mo ago · link · parent

What I'm missing from DEs is a "home folder" per virtual desktop. I want to switch to an empty desktop, `cd` into my project folder, and have all commands scoped to that folder.

For example: - New terminal: CWD is set to folder - File search: scoped to this folder - Run commands from launcher: dir contents are suggested as arguments - Command history: scoped to this folder

I wrote dinu[1] a decade ago but integrating with Wayland compositors is a pain (no widely supported "what workspaces are there"), so I gave up a little.

[1]: https://github.com/weltensturm/dinu/tree/dev

comment 2mo ago · link · parent

The wax expands due to ambient (even uniform) temperature. It's a linear actuator, so warm -> expanded and cool -> retracted.

comment 4mo ago · link · parent

I assume it's because age verification is something the attention slop merchants can work with, and they'd rather lobby for that instead of letting their entire business model be uprooted.

I'm sure "child friendly content" is part of their calculations, and I'm sure they'll try to interpret the rules in a way that maximizes their profit.

comment 5mo ago · link · parent

I have a 20m fibre optic cable, these things are great. Thinner than a standard cable. They are unidirectional, but mine has a dedicated copper line for CEC. 4k 120hz is no problem.

I also have a Pulse Eight CEC adapter in the chain, but I had to swap its included HDMI cable for full bandwidth.

Since I've switched to Linux I haven't had a chance to set up the software side for CEC though, does anyone happen to have recommendations?

comment 7mo ago · link · parent

https://www.ox.ac.uk/news/2014-05-23-many-mental-illnesses-r...

comment 1y ago · link · parent

> Reality is measurable

Heisenberg would disagree.

comment 1y ago · link · parent

Rust has a million ways to solve a specific problem, as it is not opinionated and gets you down to the lowest level if needed. On top of that there's a million ways to encode your types. Then there's a million ways to bind C libraries.

The solution space is basically infinite, and that's a good thing for a systems programming language. It's kind of amazing how far rust reaches into higher level stuff, and I think the way too easy to use package manager and lively crate ecosystem is a big part of that.

Sometimes I wish for a higher-level rust-like language though, opinionated as hell with garbage collector, generic functions without having to specify traits, and D's introspection.

comment 1y ago · link · parent

that's pretty

comment 2y ago · link · parent

> which is why your phone’s screen needs a higher resolution than your TV, and why a movie at the theater looks fine, even though it may only be 2K

They should have measured the angular screen area for those scenarios, because this is entirely backwards.

comment 4y ago · link · parent

Why is it http.Error(w, ...) and not w.Write(http.Error(...))? The latter would be way more clear in showing that nothing magical happens and a return (if wanted) is still necessary (I don't write Go, so I don't know the conventions)

comment 4y ago · link · parent

I meant the Ryzen CPU (is there a GPU with that name?), should have been more specific.

My GPU is a GTX 1080 and it was unenjoyable to me with that CPU, now I have a 12600KF and it runs pretty well.

The OP article shows quite well how CPU bound this game is.

comment 4y ago · link · parent

So that's why my 1600X was not good enough

comment 4y ago · link · parent

All things start from theory, just not the kind you think about. It seems you are referring to the academic style of theories, but in reality it is much closer to your mentioned trial and error - if you think about it, trial and error also requires guesses and theories to be viable, just that they don't come in written form, but rather from intuition. And I think intuition is the fundamental building block of first principles thinking or whatever they want to call it.

comment 4y ago · link · parent

nothing is true; everything is permitted

comment 5y ago · link · parent

Heh, this sounds just like the global event system I made for my D window manager: https://github.com/weltensturm/flatman/blob/master/common/ev... (which has some extra jingles with method annotations and event filters for convenience)

comment 5y ago · link · parent

It looks like they switched from .doc to .docx in January, I wonder if the old format was the attack vector

comment 6y ago · link · parent

By C half-assedly trying to make "* " part of the name, just so you can use "* ptr" everywhere like it is an actual variable name, you get confusions such as this.

First "foo_ptr's type is int * ", but then "The pointer has a type, too, by the way. Its type is int.".

I also refuse to agree with "An int * * 's type is int * ". :)

But I guess "the type of `* ptr` is int, the type of `ptr` is int * " would be even more confusing.

comment 6y ago · link · parent

How does "built-in privacy" hold up when the bios are basically public?

It looks like the generated links are just based on the person's name as well, so it would be pretty easy to find a lot of people fast. Letting the user generate UUID (or something) based URLs that are valid for a limited time only should be standard.

comment 6y ago · link · parent

These things are very vendor specific and proprietary, I was more thinking about general purpose programming languages.

comment 6y ago · link · parent

There will never be anything that is as portable as text, and I think that is the sole reason we will never see any other widespread method of storing "code".

Imagine having to update to a new language version if the code is blobs, I feel sick already. And all the language vendor specific software you'd need just to do anything with it in general.

comment 7y ago · link · parent

So don't tell us to trust you?

comment 7y ago · link · parent

Becoming a C++ expert is impossible in a lifetime, becoming a D expert is a matter of months.

It is, from the very core, a way simpler language than C++. I'd argue it's simpler than Rust, even. IMO acknowledging a few function attributes is way simpler than learning all the flairs of ownership and lifetimes.

As for metaprogramming, I love D's introspection capabilities, while I kind of want Rust's ability to create unquoted DSL.

The only "non-uniform" part of D that I can think of is the oddness of `shared`, and a few outdated stdlib modules. Everything else (betterC, pure, live, etc.) is just a subset of a powerful, coherent multi-paradigm language.