Better HN
topnewbestaskshowjobs
Log inSign up

oh5nxo

30 karma · joined Apr 4, 2018 (8y ago) · 31 submissions

Submissions

comment 7y ago · link · parent

Is there a nice alternative for seq or jot ? Something neater than for-loop in awk ?

comment 7y ago · link · parent

~/etc would have been so nice.

comment 7y ago · link · parent

Via Xlib, with USB keyboard, 10 Hz starts to become uncomfortable, 10% in system time.

Had to test ! :)

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

Regarding 1) could you offset ptr backwards and y forward, so that last iny makes zero?

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

It also partially depends on how the client program has configured her windows, and how the X server handles related stuff.

comment 8y ago · link · parent

If you liked that, you might also like http://homepage.divms.uiowa.edu/~jones/bcd/decimal.html

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Water lily seeds float away with help from some gas. Wikipedia tells it's just trapped air, but ...

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

Are there any other accidentally light sensitive devices?

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Strange to use 0x0 instead of NULL in XOpenDisplay().

comment 8y ago · link · parent

'From Acorn to Arabella', ongoing shipbuilding series on youtube, recently taught me how insane lead ballasts even a small ship can/must have.

comment 8y ago · link · parent

Regular bathing forces you to do lots of auxiliary physical activity. Firewood, ashes, etc. Enough to distort statistics.

comment 8y ago · link · parent

The wood looks like somewhat dried aspen, not the worst to chop. Not to dismiss her skill, at all.

comment 8y ago · link · parent

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?

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

City of Espoo is testing, 6+ km hole for energy, google for "Otaniemi drill hole" for more information.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

On FreeBSD, in addition to the ^T, procstat -af is often useful.

comment 8y ago · link · parent

68xx is another case that got the conditions which set flags _just_ right. IMHO, obv
12