HNHacker News
TopNewBestAskShowJobs

gattr

666 karma · joined December 6, 2017

I like graphics algorithms, astronomy, Rust and Linux.
submissionscomments
gattr··on S3 standby support removed from BIOS in recent Dell laptops
The Reddit thread suggests making Windows Registry changes to re-enable S3; however, in the latest laptops S3 is no longer even advertised by the BIOS. Just as in my December Inspiron 7506 - I got suspicious when, after putting to sleep, the fan would randomly turn on for a short time, and the laptop would stay warm. After some digging it turned out S3 is not available at all (i.e., under Fedora cat /sys/power/mem_sleep returns only [s2idle], and not deep.)

There are justifications floating around such as "certain devices/Windows drivers don't handle wake-up properly" or "CPU idle states are not re-enabled on wake-up", but still, I would like to have the option of deep sleep mode and just deal with any HW problems at my own risk. The "always connected" sleep functionality is of no importance/use to me at all.

Too bad, as I really like the build & screen quality on this model, and I guess I'll just get used to turning it off (which is not terrible, booting up takes only a few seconds.)

gattr··on GNOME has no thumbnails in the file picker and my toilets are blocked
Non-integer scaling has been working fine for me for a few years now. I use Fedora + KDE, 175% on my 24" 4K monitor and 225% on 4K 15.6" laptop.

I just had to manually increase the mouse cursor size, and in Firefox change layout.css.devPixelsPerPx to the scaling factor.

gattr··on Booting an M1 Mac from an external disk
Regarding display scaling: it's been working well for me in Fedora (X-Window + KDE) for a few years now, on a 13.3" FullHD laptop (scale set to 118%) and a workstation with 4K 24" monitor (scale 175%). Just had to manually increase mouse cursor size and set the "Force font DPI" value higher.
gattr··on Reasons to prefer Linux over Windows (2014)
> The things that annoy me about Linux are the lack of system upgrade options, you basically have to reinstall from scratch every time

I'm using Fedora as my main OS (on the laptop since 2011, on the desktop since 2015) and here it's easy to upgrade to the next release, I've been doing it for years (with only 1 full reinstall at some point):

https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-u...

gattr··on Glass viscosity calculations debunk the myth of flow in medieval windows (2017)
That's incorrect. We do use glass for large mirrors and it works just fine ([1], [2.1], [2.2]). Do not confuse these two effects:

1. Viscous liquid-like creep (does not occur).

2. Elastic deformation (sagging) under gravity - this of course takes place, and is compensated for by multipoint support and, in larger professional telescopes, "active optics" (actuactors that counter the deformation depending on mirror's orientation; not to be confused with "adaptive optics", which deform a mirror with high frequency to counteract atmospheric image distortion).

[1] https://en.wikipedia.org/wiki/Hale_Telescope

[2.1] https://en.wikipedia.org/wiki/Large_Binocular_Telescope

[2.2] https://www.newswise.com/articles/steward-observatory-mirror...

gattr··on Glass viscosity calculations debunk the myth of flow in medieval windows (2017)
To add some detail: a common minimum quality criterion for optical surfaces is λ/4 (divergence from an ideal surface), where λ is the wavelength used. For visible light this gives about 100 nm (though large professional telescopes are "figured" to more like λ/20). Any alleged glass creep visible in window panes over a few hundred years would quickly ruin any astronomical mirror (which definitely does not happen).
gattr··on A 20-year-old CRT monitor can be better than a 4K LCD (2019)
Same!

I do it for both the monitor and the TV, with two cheap "Ingared" lamps from IKEA; can recommend.

gattr··on HBO Max drops Linux support in all browsers?
Tangentially related - I've just checked, luckily HBO GO still works (Fedora 31, Firefox 78.0.2).
gattr··on Scientists Discovered a Gigantic Structure in a Hidden Zone of Space
I guess - we have maps of galaxy distribution out to a few billion light years, like the one from the 2dF survey [1]. "Celestial North/South Poles" are just the points in the sky in the direction of the Earth's rotation axis.

[1] https://en.wikipedia.org/wiki/2dF_Galaxy_Redshift_Survey

gattr··on 'Black neutron star' discovery changes astronomy
Seconded. As I mentioned when this last came up, I encourage to read also Stephen Baxter's "Flux". (Even crazier, here the lifeforms dwell inside the neutron star, in the neutron superfluid.)
gattr··on My dad launched the quest to find alien intelligence
As regards frequency of civilizations occurring, I've read recently an interesting take: when we look at the Earth, each of the following milestones seems exponentially more difficult (i.e., probability density is far smaller for each):

- simple unicellular organisms to eukaryotes (~2 billion years)

- eukaryotes to multicellular lifeforms (~a few hundred million years)

- humans + consciousness + language + prehensile limbs (only a couple of million / a few hundred thousand years ago?)

In addition, if panspermia (exchange of biological material via meteorites/comets etc.) is in fact effective, the conclusion was: Earth-like planets may very well be (almost) universally covered (infested?) with one or another kind of unicellular goo; but only some tiny fraction has anything more interesting, and we could be one of the handful - or even the first technical civilization in the Milky Way.

gattr··on Our deepest view of the X-ray sky
"But wait, how can you perform telescopic observations in X-rays? They tend to penetrate matter (including telescopes), right?"

Correct, normal optics would not work. X-ray telescopes use grazing incidence mirror arrangement (Wolter telescope [1] [2]).

[1] https://en.wikipedia.org/wiki/Wolter_telescope

[2] https://en.wikipedia.org/wiki/EROSITA

gattr··on FFmpeg 4.3
And here's my incantation for screen recording under X Window (also used one like it under MS Windows, but I don't have it on hand):

  ffmpeg -rtbufsize 2147M -f x11grab -video_size 1920x1080 -i :0.0 -r 30 -preset ultrafast -vcodec h264 output.mp4
gattr··on The Rise, Fall, and Rise of the Home Office
I second that (I've been using a Markus for >10 years). I only wish it had larger/adjustable armrests; though it's easy to replace them with something home-made (and reuse the mount points).
gattr··on 17yo guy built 14.7“ f/2.89 Newtonian reflector telescope
Dobsonians scale well; here [1] is Dr. Hänssgen's 42" telescope, which can be de/assembled and un/loaded for transport by one person.

[1] http://www.cruxis.com/scope/scope1070.htm

gattr··on Why did I wake up before my alarm clock went off? (2015)
I also often wake up before the alarm, and the delta is on the order of tens of seconds. I'd say I definitely get to become fully awake and start thinking about the upcoming day before it rings. Apparently, just a matter of quite a precise internal clock.

Another situation when it can trigger is when I brew tea. I like a "reproducible" brew, so I'm used to setting the timer to 3:30 minutes after filling the cup with water. When I then go do something else and become engrossed in it, I'll often suddenly realize "Oh no, what about the tea?" I then look at the timer and see there are 5-10 s left.

gattr··on What Happened with Lego
Me and my brother also played with Lego since late '80s (and we too didn't have many sets). Once we moved from "Castle" to the simple "Technic" ones, I kept dreaming about getting one day the Supercar set or one of the largest ones with pneumatics... and then in, my later teens, I discovered programming - which turned out to be the ultimate, highest form of DYI activity.

Nevertheless, it's interesting to watch people who kept working with Lego into adulthood; e.g., I spent quite a few hours watching Sariel's YT videos. Friction-operated automatic transmissions and whatnot...

gattr··on Giant magnetic ropes seen in Whale Galaxy's halo
By measuring polarization of the received radio-frequency signals. The polarization is affected by magnetic fields ("Faraday rotation", see [0, 1]).

[0] https://en.wikipedia.org/wiki/Faraday_effect#In_the_interste...

[1] https://www.mpifr-bonn.mpg.de/research/fundamental/cosmag

gattr··on Counting in the wrong language
The word is derived from "wrzos" = heather.
gattr··on You Promised Me Mars Colonies but I Got Facebook
Charless Stross has illustrated this in his novel "Accelerando" (strongly recommended!). In the future, even though interstellar travel is technologically feasible, (almost) no one does it - because why the hell would any of the post-human superintelligences want to venture away from the hyper-connected, inner solar system-spanning Network where all the power, resources and fun are concentrated?
gattr··on How to not rewrite it in Rust
I have rewritten my small-ish image processing library [0] in Rust (from C) and liked it! I mainly wanted to learn, also Rust forced me to improve the API a bit.

[0] https://github.com/GreatAttractor/libskry_r

gattr··on Earth and Sun
The free, cross-platform program Stellarium [0] will show that (among other things).

[0] http://stellarium.org/

gattr··on Japanese ninja history student gets top marks for writing essay in invisible ink
I heard an anecdote from a ninjutsu instructor (a European). He was visiting Japan, meeting with friends; and to one of the meetings he wore a T-shirt with the Nin kanji. Suddenly one of his hitherto very friendly acquaintances changed to being only coldly polite. Later it turned out he was from an old samurai family, which was mostly wiped out by assassins some 400 years ago.
gattr··on Hard comp-fi reading list
For me, I would like to have the Focus available, lock up a few hundred volunteers somewhere for a few months and have thew rewrite the Linux kernel in Rust or something...

"A Fire Upon the Deep" and its differentiation are referenced in this interesting article [0].

[0] https://ristret.com/s/qk8wpt/philosophy_computational_comple...

gattr··on Hard comp-fi reading list
Vernon Vinge's "A Deepness in the Sky". Includes very well put thoughts on the far future of software. Also his "A Fire Upon the Deep" with a fascinating take on AI, cryptography and more in a slightly alternative universe.
gattr··on World's largest optical lens is 5.1 feet wide and took 5 years to make
You are mistaking two effects. Indeed, glass does not "flow" (it's not a "very, very viscous liquid"); but most assuredly it does sag under gravity - just as a heavy steel beam supported at the ends would.

This problem is much simpler to solve for mirrors than lenses, as mirrors can be supported under their entire surface (see [0] for how it's done in larger amateur telescopes), while lenses - only along the edge.

[0] https://www.cloudynights.com/topic/562906-18-point-flotation...

gattr··on Black Blacker Than Vantablack
An interesting usage example for very black materials (which are required to be effective also at grazing incidence angles) is flocking the insides of amateur telescopes. Not that it's always necessary, but can help in some poor designs where the light beam might reflect off some optical tube elements etc. (which results in a decreased overall contrast).

One of the popular choices these days are adhesive sheets of black velour. Another option is thick dark paint mixed with sawdust.

gattr··on Google Maps shows sunken car where missing man’s body was found
Also the Fresnel reflection coefficient comes into play [0]: water surface has higher reflectivity at grazing-incidence angles than at those close to the surface normal.

[0] https://en.wikipedia.org/wiki/Fresnel_equations

gattr··on Rust 1.37.0
To be precise: lifetimes are denoted by an apostrophe. (Backtick can be used in comments for Markdown formatting.)
gattr··on Planet: Imaging the entire Earth every day
Seems to work fine here (Firefox 68.0, Radeon R370, Fedora 5.2.7-100.fc29.x86_64, KDE/X-Window). That is, I can see the satellites and the rotating globe with strips of land gradually revealed.
← PreviousPage 7 of 9Next →