HN user

dexen

5,394 karma

“namespace resolution and algorithm composition are creative metaoperations

return -ENOCOMPREHEND;

Posts88
Comments1,275
View on HN
www.researchgate.net 4y ago

Gender Bias in Academic Recruitment? Evidence from a Survey Experiment

dexen
2pts0
www.youtube.com 4y ago

Right to Repair: EU's Margrethe Vestager's Response to Louis Rossmann

dexen
13pts0
www.smh.com.au 4y ago

Media outlets lose High Court appeal over Facebook defamation ruling

dexen
1pts0
twitter.com 5y ago

Thanks to Windows 11, people are scalping TPM2.0 modules as well now

dexen
3pts0
support.bitchute.com 5y ago

BitChute – Policy Changes – first June 2021

dexen
2pts0
www.youtube.com 5y ago

A Brief History of Graphics

dexen
1pts0
helplbrysavecrypto.com 5y ago

Help LBRY Save Crypto

dexen
5pts0
www.nextofwindows.com 5y ago

Barrier Is the new Free and Open Source Synergy – share keyboard and mouse

dexen
1pts0
petition.parliament.uk 5y ago

UK parliament petition: Make verified ID a requirement for social media account

dexen
1pts1
twitter.com 5y ago

Exploiting model's ability to read text robustly

dexen
2pts0
onlinelibrary.wiley.com 5y ago

How Consumer Experience Is Shaped by Political Orientation of Service Providers

dexen
2pts0
www.youtube.com 5y ago

Plan9's Ndb as a General Purpose Database

dexen
1pts0
www.cia.gov 5y ago

The Kidnapping of the Lunik (1967)

dexen
74pts35
www.youtube.com 5y ago

POOM – 8-Bit Doom Demake with Classic Tunes, Monsters and Guns

dexen
1pts0
twitter.com 5y ago

World's first DevOps accelerator card

dexen
2pts0
www.youtube.com 5y ago

Reddit removes Aaron Swartz from founders list

dexen
43pts13
youtube.com 5y ago

Taser: History and Demonstration

dexen
1pts0
www.youtube.com 5y ago

3D printed sundial displays the time digitally (2016)

dexen
3pts0
twitter.com 5y ago

Tekgence sends an email to prospective clients listing H-1B/OPT workers

dexen
1pts0
www.nature.com 6y ago

Light turned into exotic Laughlin matter

dexen
2pts0
www.youtube.com 6y ago

Bell Labs Innovations Song

dexen
1pts0
www.wired.com 6y ago

YouTube Slashes Video Quality to Save Bandwidth

dexen
1pts0
twitter.com 6y ago

Intel Management Engine 12 is broken down. CNP PCH has been unlocked

dexen
23pts0
flak.tedunangst.com 6y ago

Strict Structs in C

dexen
2pts0
twitter.com 6y ago

Realtek RTL836x series of Ethernet switch ICs has a 8051 hidden inside

dexen
158pts91
www.youtube.com 6y ago

“Five Eyes” Nations Want Access to Encrypted Messages

dexen
2pts0
www.eff.org 7y ago

TOSsed Out: Highlighting the Effects of Content Rules Online

dexen
1pts0
www.spacedaily.com 7y ago

Location of large mystery source of banned ozone depleting substance uncovered

dexen
1pts0
news.ycombinator.com 7y ago

[feature request] Ask for confirmation for flagging

dexen
1pts1
hackaday.io 8y ago

“Lixie”, an LED Alternative to the Nixie Tube

dexen
1pts0

Gonna re-post my 2023 comment on IPv6:

It is gradually becoming acceptable to dismiss IPv6 and suggest searching for a modern, practically minded alternative. Important first step in untangling the mess.

Naturally opinions vary as to what exactly would constitute modern. Common complaint is the significant mixing of OSI layers, in particular application level concerns like significant baggage of encryption & authentication. And then there's my pet peeve of BSD Sockets API incompatibility which was introduced accidentally.

https://news.ycombinator.com/item?id=37119627

At my old uni there were a couple public terminals running DOS, most of the time sitting idle at the prompt. It was bespoke kiosk cabinets only exposing keyboard and screen. One April Fool's I had the bright idea to change PROMPT to something along the lines of "This terminal out of service." - and to increase the confusion, also to change PATH to a non-existent directory, so that most commands wouldn't work and instead flash "Bad command or file name.".

For a couple minutes observed people coming up to a terminal, trying a few things, and stepping away in frustration.

I sure hope administration did restart the terminals overnight to return regular function; normal users were unable to access the power & reset controls.

In which Jerf longs for PHP. Every single point has been in, and actively used, for a long while. The __call() & friends is particularly nifty - simple mental model, broad applicability, in practice used sparingly to great effect.

All in all a very enjoyable post.

printing also will likely impact timing and can change concurrent behaviour as well.

I've had a bug like that and the intuitive way to handle it turned out to be entirely sufficient.

The bug (deep in networking stack, linux kernel on embedded device) was timing sensitive enough that printk() introduced unsuitable shifts. Instead I appended single-character traces into pre-allocated ring buffer memory. The overhead was down to one memory read and two memory writes, plus associated TLB misses if any; not even a function call. Very little infra was needed, and the naive, intuitive implementation sufficed.

An unrelated process would read the ring buffer (exposed as /proc/ file) at opportune time and hand over to the developer.

tl;dr know which steps introduce significant processing, timing delays, or synchronization events and push them out of critical path

For sake of example: a "locale-aware" number conversion routine would be the worst possible choice for parsing incoming network traffic. Beyond the performance concerns, there's the significant semantic difference in number formatting across cultures. Different conventions of decimal or thousands coma easily leading to subtle data errors or even security concerns.

Lastly, having a simple and narrowly specified conversion routines allows one to create a small sub-set of C++ standard library fit for constrained environments like embedded systems.

Unless it's one of those cursed things installed at the customer thousands of miles away that never happens back in the lab.

I had a bug like that in my previous (telcom embedded dev) career. Ended up driving to the customer premises (luckily mere 200km), working two weeks on collecting traces for the repro, and a day on the patch. Once I figured out how to trace the repro, the rest was trivial - the bug was glaringly obvious in the trace. Which in hindsight means I didn't really need to drive there at all, I merely needed to properly implement tracing the repro, and send the built artifact to the customer.

The problem would have been trivially solved if I had sufficient experience with tracing, or found a colleague with sufficient experience. However this one time the experience was bought & paid for with the trip.

The brevity carried over to Plan 9. Re-posting my older comment (https://news.ycombinator.com/item?id=4023385):

http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs follows the Unix philosophy. A lot of legacy has been shed. I can count 13 options to ls, 11 options to sed and just 5 to sed.

The standard Plan 9 shell, Rc, is described in mere ~500 lines of manpage, while Bash takes whooping ~5400 lines.

Oh, and there is no `dll hell' in P9 :-)

To further expand upon this, quickly ascending to high altitude (flying airplane or balloon) after diving is also dangerous, for the very same reason. Pilots are trained to wait out at least 24 hours after a dive, or at least 12 hours if the dive didn't require decompression steps.

Trainwreck Design 2 years ago

Author states "i feel disrespected in my own ~home.". And funnily enough "~" is exactly what he's looking for:

    df -h ~

Seconding this.

Having lucked into using Lilo and no initramfs for several years now, I'm very happy with robustness and straightforwardness of the solution.

In contrast, on the rare occasion I've dealt with somebody elses' GRUB and initramfs setups, they turn out brittle and complex.

The article is about latency, the GP is about latency, you instead pivoted to throughput. Of course throughput can be made arbitrarily high when you don't measure latency. Doesn't help your case at all, quite the opposite.

I am in the happy medium where I can just as well bike or drive to work. It takes 2x to 3x as long (latency) to bicycle than to drive. Aside of slower speed, numerous latencies add up along the way - I can't time bicycling to hit green wave; I require brief but measurable time to dress into bicycling clothes and then to change at the destination, to park & lock the bicycle - nowhere near as quick as clicking the car's remote!. I know both modes, and while bicycling is better for my health and likely has higher throughput along my route, it certainly has higher latency. Which is the OG subject.

Lastly there's matter of variability: between occasional flat tire, the rare drained headlight battery, and other uncommon issues, my bicycle is significantly less reliable than my car. And that's in spite of heavy, and ongoing, investment into the bicycle - including well known puncture-resistant tires. This unreliability adds non-trivial variability to the latency.

I particularly like how in Acme, when selection is zero-width ("empty"), it is the cursor. Conversely selection can be extended from cursor in any direction.

As a side effect, this greatly simplifies the API for manipulating both.

Surprisingly the difference isn't quite as it seems.

There's an important distinction between mass of the vessel's own structure, the bare necessities like fuel, stores & crew, and its payload. Naval engineering and insurance talks several interrelated measures, for our purposes "light load displacement" is the closest to the weight of the bare structure, while "full load displacement" includes all typical stores, fuel, crew, and payload. Conversely the linked measures "gross weight tonnage" is measure of volume rather than mass, and less relevant for this discussion.

For combat vessels like USS Gerald Ford, most of the weight is in the structure itself, and while we don't have exact measures for the carrier, it's about 100,000 tonnes. For reference, an older generation but comparable carrier USS Nimitz has structure of 78280 tons ("light load displacement"), and all up weight 101196 tons ("full load displacement").

However for transport vessels like the linked Seawise Giant, the structure is small part of all up weight. While the ship plus cargo can go up to 646,642 long tons ("full load displacement"), the structure itself is much lighter: 81,879 long tons ("light load displacement").

Also the linked cruise ship, Icon of the Seas, has impressively high "gross weight tonnage" but again that's measure of volume. The displacement is a bit hard to find, people quote variously 100,000t or 120,000t without being specific light load or full load. So while the cruise ship is much larger by volume than the military vessel, the weight of the structure is closely comparable. The later is much more densely packed - keeping size down is a necessity for any combat craft, even the largest ones.

Computers and other automations never made creative decisions before

Oh they absolutely did. Even the early optimizing compilers discovered new pathways and created code that surprised even their authors. The only difference is that now regular people can see and appreciate what computers create.

I subscribe to your and broadly follow your arguments. It's also worth pointing out the speed of information propagation, speed of manufacturing, and speed of distribution & logistics has dramatically increased since 14+14 years was the pragmatic standard. At present, the same economic effect is achieved in much shorter cycles. Keeping economic and moral parity would entail shortening the protection times a fair bit.

how has the situation improved since then?

It is gradually becoming acceptable to dismiss IPv6 and suggest searching for a modern, practically minded alternative. Important first step in untangling the mess.

Naturally opinions vary as to what exactly would constitute modern. Common complaint is the significant mixing of OSI layers, in particular application level concerns like significant baggage of encryption & authentication. And then there's my pet peeve of BSD Sockets API incompatibility which was introduced accidentally.

Simple Unix Chat 3 years ago

"Append-only files" would be a great fit here: to ensure regular users and bots don't modify others' posts. Sadly this Plan 9 functionality is not ported to Linux yet. That's a permission bit, similar to "read" or "write", but even more specific.

Acme has a handful of keybindings, like the usual ^A, ^E for navigation, ^Z for undo, etc. Plugging in new ones is a few lines of code, for example my ^S for Putall (saving all windows):

https://github.com/dexen/plan9port/commit/78324a4666c4b5e0bd...

Most of keybindings you might want to add are handled by Acme's "commands" - like Edit. If you repeat them any often, it's easy and straightforward to connect the keybinding to the command in code. Alternatively, to avoid going into C, write a shell script with ready-made command; Acme is well prepared to be managed through shell scripts. The shell scripts have full access to Acme's Windows (open files, directories, scratchpads etc), including ability to edit content, open new ones, interpret right-clicks in new ways, etc.

Recommend against incentivizing visiting the newest submission - it would increase effectiveness of submitting content over the effectiveness of community moderation. That kind of change would empower the outsiders over the community, presumably resulting in decrease of relevance and gradual erosion of HN's local culture.