Better HN
topnewbestaskshowjobs
Log inSign up

staplung

2,471 karma · joined Jun 10, 2014 (12y ago) · 356 submissions

Software Engineer in SF.
Submissions

comment 5d ago · link · parent

This phenomenon is called "creep" and high-end imposition software will usually have an option to control it, either manually or automatically after inputting the paper thickness and signature size. Some of the free/online tools don't have any creep control though.

comment 5d ago · link · parent

For the curious, the generalized process of reordering and potentially rotating pages so that when printed and folded (and optionally gathered into signatures) is called impositioning. There is specialized software with a variety of options that will do this for an input document.

Bookbinder JS is a nice web-based tool that will do this for you too, though I'm not sure it covers the exact folding algorithm described in this article.

https://momijizukamori.github.io/bookbinder-js/

comment 1w ago · link · parent

When I first read Neuromancer I wanted it to be adapted into a film. I think the reason was a common one: when you love a book you want there to be some validation of your affection from the rest of the world. A bunch of people deciding to make a movie feels like validation, especially if it goes on to be wildly successful.

Over the years and many successive readings my feelings have changed. In some ways, a screen adaptation make less sense with every passing year. As Gibson himself points out, sci-fi works are always a commentary about the time in which they are written, not the future time in which they seem to take place and there's a lot of the 1980's in Neuromancer, from punk-rock counterculture to the Cold Way, from payphones to the technological ascendancy of Japan, and I'm not sure how much it would feel like the novel if all that stuff is taken out or changed. Also, presumably because it's been in production hell for so long it's already been kinda strip-mined by other works. There's a lot of Neuromancer in The Matrix as well as echoes of it in a bunch of lesser films from the 90's (e.g. Lawnmower Man, Hackers, Ghost in the Shell), to say nothing of Cyberpunk 2077.

Lastly, films like Lawnmower Man and Johnny Mnemonic have shown us that attempts to cinematically depict cyberspace can end up looking laughably ridiculous. I observe that there is essentially no depiction of it in the series trailer/preview. I wonder if they'll try to side-step its depiction as much as possible.

I'll probably end up watching it, if for no other reason than to see how they approach all of the above but I've largely given up on hoping it will capture the mood and feeling of the novel. It's even possible that it ends up falling into the "very good but very different" category of things like The Haunting of Hill House, Foundation, The Shining etc. I'd settle for that.

comment 2w ago · link · parent

.inetloc files. Mostly commonly used for HTML links but they can also be used to create SSH logins. They're easy to create too: just type something like

ssh://soandso@whatshername.com

into virtually any app (I use TextEdit), select the text and drag it out to some Finder location. It will create the file automatically. Then just click on the file (or open it with Quicksilver, Alfred, et. al) and it will open a new Terminal window with you ssh'd to the host as that user (normal auth procedures apply).

I don't use them too much anymore because there doesn't seem to be any way to get iTerm2 to be the default app to open such files (on modern MacOS versions the application drop-down in the Finder info window is greyed out) and I don't SSH into as many machines as I once did.

EDIT: turns out you can get iTerm2 to be the default opener for ssh .inetloc files; it's just done inside iTerm itself.

Settings > Profiles > [select profile on left] > URL Schemes

5.

The DEA banned a drug some opioid users called a miracle(wired.com ↗)

4 points · by staplung · 2w ago · discuss

comment 3w ago · link · parent

For those that don't know, groff's ancestor "roff" is very closely tied to UNIX's origin story. roff itself had it's own antecedent called RUNOFF (whence the name) on Multics. roff was basically UNIX's first "killer app" and was used to typeset patent applications by the division of Bell Labs that handled that sort of thing. It legitimized the further development of UNIX.

Groff seems to be somewhat supplanted by mandoc these days, at least on the BSDs.

comment 1mo ago · link · parent

As to (1), all the bugs Yuri filed seem to be fixed, save https://github.com/JuliaLang/julia/issues/39385, for which there is a largish PR that's still wending it's way to being merged.

All the bugs he listed as "filed by others" also seem to have been fixed, again save for one: https://github.com/JuliaLang/julia/issues/36069.

I'm not sure I understand what you're getting at with (2).

comment 1mo ago · link · parent

If it's just Quake you're after, just get the version on Steam. Cheap (~$10), updated for modern systems plus comes with a bunch more "campaigns". For me, it's just about as good as ever. They just released the 30th anniversary edition.

comment 1mo ago · link · parent

Of course that's a whole discussion but perhaps in the $300 range. Sounds like that's what Dr. Van Etten herself was using when she first found one.

She actually made some specific recommendations on the microscopy sub-reddit but they're a bit pricier ($425+). (scroll to last comment by Jay211TF):

https://www.reddit.com/r/microscopy/comments/1dhagyr/entry_l...

comment 1mo ago · link · parent

Perhaps better to ask here: https://www.reddit.com/r/microscopy/. They get that question a lot.

comment 1mo ago · link · parent

If you have a decent microscope and want to work on some citizen science that's directly related to the research in this article: https://www.vanettenlab.org/paulinella-consortium

comment 2mo ago · link · parent

“One electron ought to be enough for everyone.”

comment 2mo ago · link · parent

By Hyrum's Law and the fact that there are 20M installs, we can infer that somewhere, some nitwit is probably using this bug as a handy function for removing 'a's from a string.

https://www.hyrumslaw.com/

https://xkcd.com/1172/

comment 2mo ago · link · parent

It's still in ruby, although I see the new GUI is in swift: https://github.com/homebrew

Rewriting a program in Rust (specifically) really only makes sense for a few reasons:

1) the existing implementation is in an unsafe, cumbersome language (C, C++).

2) the existing implementation language is too slow and that slowness cannot be worked around.

3) the implementation is enormous, in a dynamic language and you desperately need stricter types. But this doesn't really favor Rust specifically.

1 doesn't apply because Ruby is garbage collected. It's doubtful 2 applies just given what homebrew does: the long pole is always going to be I/O. The performance improvements in version 7 seem to mostly be due to doing more concurrently. I highly doubt the Ruby-ness gets meaningfully in the way.

15.

Helion Moves Fusion Goalposts(axios.com ↗)

11 points · by staplung · 2mo ago · 1 comment

comment 2mo ago · link · parent

That file doesn't seem like it would work for a number of reasons.

The gear with integrated hour hand wouldn't be able to rotate in the space that it's mounted. In order to tell the time against the ring, the hand would need to be much further away from the gear.

Secondly, the funnel bit seems to have no real purpose; if you have to pipe water to the funnel, why not just bring it directly to the cup at the bottom? In real water clocks there is usually a primary collector but it's built in such a way that it overflows at a certain level so that the pressure on the outgoing line stays constant. The funnel here does essentially nothing and there is nothing else in the clock that would provide any kind of flow rate calibration; you'd have to do that externally.

Lastly, it's not clear how you'd reset the clock. Can the collector be removed separately or do you need to turn the whole clock upside down to pour the water out and get the float back down to the bottom?

comment 2mo ago · link · parent

Is it just me or does the dark blob in the center of the decagon look like a Mandelbrot set? The resemblance appears more acute in the images lower down in the article.

comment 3mo ago · link · parent

Partial summary:

-ESP32 based device that tries to detect bluetooth/MAC addresses of flock cameras and beeps when it does

- a Stingray detector that runs on a second-hand mobile hotspot

- a device that alerts you about things that are moving approximately with you (AirTags, SSIDs, etc).

comment 3mo ago · link · parent

Clocks like this are fun. I coded one but couldn’t decide how to handle the corner cases where the sun rises but does not set (and vice versa). You also have to decide if you’re showing the time that the sun rose today or if it should be tomorrow once you’ve already passed that time. Either way, at a certain point you’ll see the UI shift. At moderate latitudes it makes little difference but the effect can be quite extreme depending on the latitude and time of year.

20.

What happens when you put AI to work deciphering lost languages?(theconversation.com ↗)

3 points · by staplung · 3mo ago · discuss

comment 4mo ago · link · parent

The cast I was watching said that during the flip and boost-back the booster is pulling 11 Gs. That's a pretty hard hitting water-hammer for sure.

comment 4mo ago · link · parent

Summary: almost, but not quite entirely successful.

Launch successful. Booster separation and boost back burn looked good. Booster failed to relight some of its engines and hit the water hard. Successfully deployed the 20 starlink satellites. Successfully reignited an engine in flight to prove potential for de-orbit burn on future flight. Re-entry looked good and less spicy that some previous attempts (subjective). Such a soft landing that the ship flopped into the water without exploding and floated for a good long while (possibly still floating for all I know). Got some great drone footage flying over the heat-shield.

So the ship itself is looking increasingly good (so far) but they still seem to be having some issues with the booster.

comment 4mo ago · link · parent

I'm not sure I understand why even a truly obscure programming language article should ever be deleted; it's not like Wikipedia is running low on paper. If Odin ceased all development tomorrow it would be good to have some record of what it was.

For the record, I like Odin.

(On homebrew it appears to have been downloaded 6,707 in the past year. Compare to:)

zig: 71,565

rust: 304,405

golang: 1,246,300

malbogle: 9

comment 5mo ago · link · parent

Tom Scott did a video a few years ago about New Zealand's attempt to eliminate rats by 2050.

https://www.youtube.com/watch?v=wcp1BfPUeOc

The program is actually called "Predator Free 2050" and also aims to eliminate possums and stoats. No mention is made of Uruk-hai, orcs, or Balrogs.

25.

Trump admin tries to block Clean Air Act lawsuit over xAI's gas turbines(arstechnica.com ↗)

11 points · by staplung · 5mo ago · discuss

comment 5mo ago · link · parent

Ha! This set it designed to take 114 years to construct and for maximum verisimilitude, Lego will run over your foot with a Lego tram after only a few decades of trying to build it.

comment 5mo ago · link · parent

Oh, cool! I couldn't remember which way Marimo did it so just checked the homepage. The gif there still seems to show it the old way, just FYI.

Anyway, keep up the awesome work! I haven't used Jupyter at all since I started running marimo from uvx.

comment 5mo ago · link · parent

Reminds me of one of the more brilliant passages in Snow Crash, describing work in "Fed Land"...

'''

Y.T's mom pulls up the new memo, checks the time, and starts reading it. The estimated reading time is 15.62 minutes. Later, when Marietta does her end-of-day statistical roundup, sitting in her private office at 9:00 P.M., she will see the name of each employee and next to it, the amount of time spent reading this memo, and her reaction, based on the time spent, will go something like this:

Less than 10 min. Time for an employee conference and possible attitude counseling.

10-14 min. Keep an eye on this employee; may be developing slipshod attitude.

14-15.61 min. Employee is an efficient worker, may sometimes miss important details.

Exactly 15.62 min. Smartass. Needs attitude counseling.

15.63-16 min. Asswipe. Not to be trusted.

16-18 min. Employee is a methodical worker, may sometimes get hung up on minor details.

More than 18 min. Check the security videotape, see just what this employee was up to (e.g., possible unauthorized restroom break).

Y.T.'s mom decides to spend between fourteen and fifteen minutes reading the memo. It's better for younger workers to spend too long, to show that they're careful, not cocky. It's better for older workers to go a little fast, to show good management potential. She's pushing forty. She scans through the memo, hitting the Page Down button at reasonably regular intervals, occasionally paging back up to pretend to reread some earlier section. The computer is going to notice all this. It approves of rereading. It's a small thing, but over a decade or so this stuff really shows up on your work-habits summary.

'''

comment 5mo ago · link · parent

Pluto is great. I use it all the time. If you like the reactivity/reproducibility but are wedded to Python, you might want to check out Marimo, which is also great. [https://marimo.io/]

It too puts the output of a cell above the code so if you're unable to adapt to things that are different it's also probably not for you.

FWIW, Observable's Notebooks (Javascript) work the same way: output above the code that produces it. [https://observablehq.com/]

I too did not like having the output above the code but got over it pretty quickly. For plots, it's arguably better: usually, I want to see the plot before I see the 15 line invocation of some plot command. The thing that bugs me the most about Pluto now is that it really wants you to only have a single evaluating statement per cell. You have to wrap stuff in "block......end" if you want to e.g. define more than one variable in a cell.

comment 6mo ago · link · parent

The headline is perhaps overstating things a bit but they do discuss how this is different than e.g. rivulets

''' This technology is fundamentally different from the “rivulet (shark skin) process,” which is known as a typical aerodynamic drag reduction technology. The rivulet process mimics the fine longitudinal grooves in shark skin, and by carving grooves approximately 0.1 mm wide along the direction of airflow, it aligns the vortices that occur near the wall surface of turbulent airflow areas. DMR, on the other hand, delays the switch from laminar to turbulent flow by means of random and minute irregularities. The flow zones it affects and the mechanisms it employs are based on completely different concepts. '''

12345
12