HNHacker News
TopNewBestAskShowJobs

oh5nxo

30 karma · joined April 4, 2018

submissionscomments
oh5nxo··on Problem solving with Unix commands
Is there a nice alternative for seq or jot ? Something neater than for-loop in awk ?
oh5nxo··on Dotfile madness
~/etc would have been so nice.
oh5nxo··on Serial Port SDR
Via Xlib, with USB keyboard, 10 Hz starts to become uncomfortable, 10% in system time.

Had to test ! :)

oh5nxo··on The Power to Serve – FreeBSD Power Management
Just as random someone who likes reading your posts, maybe there's a third way: An appendix in handbook that links to blogs like yours.

I see that there already is "an aggregation feed of dozens of blogs" linking to planet.freebsd.org which does not respond :)

oh5nxo··on The BNC Connector and How It Got That Way
Also, it's better shielded than twisted pair.

It's funny, keeping everything else constant, the center conductor can move quite a bit away from the exact axial center of the shield before the impedance changes very much.

PS. Neill, not Neil

oh5nxo··on A Minimal C64 Datasette Program Loader
Regarding 1) could you offset ptr backwards and y forward, so that last iny makes zero?
oh5nxo··on Threads and fork(): think twice before mixing them
You could fork a "forker" process, early in the program and use pipes to make it do what you can't later in time. socketpairs if you need to send descriptors as well.

closefrom(2) is nice bsdism, btw. After setting up stdin, out and err, just closefrom(3). For the same money, it could have been designed to close a range instead, odd this was not selected.

oh5nxo··on Pause/unpause any X11 application
It also partially depends on how the client program has configured her windows, and how the X server handles related stuff.
oh5nxo··on Apple 1 ROM disassembly
If you liked that, you might also like http://homepage.divms.uiowa.edu/~jones/bcd/decimal.html
oh5nxo··on Tidying One’s Room
I've found a solution to keep most "cabley things" in order. I keep them straight, high up the wall, in a 2m wide hanger made from 1x1 wood.

Hanger is high enough for mouse & cord, wall wart & cord and so on. There are conical holes, every inch, deep ones on the left and successively shallower on the right. Far left holds RG-8 with connector nicely, or most power cords, and far right fits 3.5 audio plugs, mini-usb, etc. Holes are 1 inch apart and opened with a slit from the front. The slit gradually gets narrower from 12mm on the left to 3mm on the right.

It's hard to misplace things, as each cable only fits into certain area, and shirts or headphones or ... are not easy to insert into the hanger at all.

I think it's tidy. Some might not.

oh5nxo··on Spontaneous knotting of an agitated string (2007)
There's a neat way to roll cables, called Roadie Wrap. Best described in video, but basically, you alternate the twist direction while you add each loop to the roll. Every other time the free end goes under the forming loop.
oh5nxo··on Sand scarcity is about more than “running out” of sand
I don't get the reasoning. Unweathered sharp sand has more surface area than stuff that has been tumbling in water for a long time, no? In my experience the received wisdom is, that glacial esker sand, sieved, is good for concrete. Somewhat like the manufactured sand.

But I might very well have misunderstood, or the old folks advice might not be right. Or it does not scale to industrial uses.

oh5nxo··on Scientists pioneer a new way to turn sunlight into fuel
Water lily seeds float away with help from some gas. Wikipedia tells it's just trapped air, but ...
oh5nxo··on A new way to remove ice buildup without power or chemicals
Not directly related to ice, but...

A fellow lives near a new wind farm, and a TV transmitter. Both the windmills and the TV tower are in direct view. He, and I assume also others on that area, have had great trouble receiving a good picture. Even the technicians from the broadcasting company are scratching their heads. 100m rotating blades create awful changing reflections.

It would help if the blades were coated by some absorbent material. Just the sharp edges, if the material is too costly.

The defence forces have even banned wind farms from certain areas, I read on the papers last week. Too much interference on radar.

I don't know what the current situation is with fellows TV reception. I assume careful aiming of TV antenna has helped.

oh5nxo··on How to use LEDs to detect light
Thanks.

I grabbed a multimeter and checked the first part I could find. 1mV DC covered, 10mV DC uncovered (it's a bleak cloudy day). Magnifying glass reveals it's a 6v2 zener :)

oh5nxo··on How to use LEDs to detect light
Are there any other accidentally light sensitive devices?
oh5nxo··on Are we alone? Tiny spacecraft will head to Alpha Centauri to find out
Voyager transmitters are in 10 watt range. On 2 and 8 GHz bands.

Lots of interesting reading, for those so inclined, at https://descanso.jpl.nasa.gov/DPSummary/Descanso4--Voyager_n...

oh5nxo··on How Amsterdam’s Airport Is Fighting Noise Pollution with Land Art
Article did not spesifically mention air layers, temperature inversion and downward refracted sound waves. Curved waves in the images imply this condition, no? Tropospheric propagation in hamspeak.

Changing the color of the landscape might also have a small effect on how the area heats up on sunlight and so how often unusual sound propagation develops. silly...

oh5nxo··on The TTY demystified (2008)
One possibility is to carefully arrange file descriptors manually, so that fds 0 and 1/2 go to the socket. Check out dup2(2).

But that's not probably what you want, or sensible.

oh5nxo··on TinyWM – A tiny window manager in around 50 lines of C
Strange to use 0x0 instead of NULL in XOpenDisplay().
oh5nxo··on Why the Swedish Vasa Ship Sank – An Engineer's Explanation
'From Acorn to Arabella', ongoing shipbuilding series on youtube, recently taught me how insane lead ballasts even a small ship can/must have.
oh5nxo··on Regular sauna users may have fewer chronic diseases
Regular bathing forces you to do lots of auxiliary physical activity. Firewood, ashes, etc. Enough to distort statistics.
oh5nxo··on Riving, a Viking-age woodworking technique
The wood looks like somewhat dried aspen, not the worst to chop. Not to dismiss her skill, at all.
oh5nxo··on Riving, a Viking-age woodworking technique
Funny, I'm always knee deep in long shavings when cutting that way, much shorter knotty lumps which won't split with an axe. Matter of wood, or special chain perhaps? Birch, pine, spruce and normal cutting chain&teeth, in my case. Or maybe there is a non-obvious technique?
oh5nxo··on Nordic Ice Skating on Thin, Black Ice in Sweden Is an Art and a Science
If there is no ice on the lake, how about water motocross. With a dirt bike, not an aquabike/waterjet. https://yle.fi/uutiset/3-10298809 (finnish text).
oh5nxo··on Nordic Ice Skating on Thin, Black Ice in Sweden Is an Art and a Science
There seems to be a rule of thumb for black ice strength: kilograms = centimeters squared times 5. Seems to jibe with recommendations for a 80 kg walker (4 cm), 2000 kg car (20 cm) or big 48 ton truck (1 meter).
oh5nxo··on What's the Deepest Hole Ever Dug?
City of Espoo is testing, 6+ km hole for energy, google for "Otaniemi drill hole" for more information.
oh5nxo··on Steve Wozniak Recounts His Efforts to Engineer the Apple II Floppy Disk System
Also, you could find the sweet spot in step interval, making seeking super smooth and quiet. Oh, this was with a PC, Apple drives must have been optimally adjusted by default ;)
oh5nxo··on Progress – A Tool to Monitor Progress for Commands in Linux (2016)
On FreeBSD, in addition to the ^T, procstat -af is often useful.
oh5nxo··on Ask HN: What are some examples of beautiful x86 assembly code?
68xx is another case that got the conditions which set flags _just_ right. IMHO, obv
Page 1 of 2Next →