Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gattr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
gattr
4y ago
I use GTK3 with Rust for my video acquisition tool [1] and it's been quite pleasant so far. However, from my testing GTK3 & 4 don't play nice with OpenGL drawing areas, so the next project I'm writing (also in Rust) using
152.
▲
by
gattr
4y ago
Even if they make perfectly human-like, realistically acting sexbots with HW failsafes, there's the question of trusting the SW. It would be inadvisable to use such a black-box proprietary machine which is probably recording and sendin
153.
▲
by
gattr
4y ago
That's not accurate. Only the inner core collapses (hence the "core-collapse supernova"; there are also other types), the rest rebounds, is heated up by core-produced neutrinos, and gets ejected. The Wikipedia article is a go
154.
▲
by
gattr
4y ago
Regarding China, the book "Guns, Germs and Steel" gives the following explanation: due to a lack of major geographic barriers, China became unified under a single rule early, and subsequent irrational decisions by despotic rulers
155.
▲
by
gattr
4y ago
I wrote a video acquisition tool for astrophotography [1] (and I dogfood it). Uses GTK3 for GUI. [1] https://github.com/GreatAttractor/vidoxide
156.
▲
by
gattr
5y ago
I myself can't remember seeing Gy in astronomical papers, but I've seen Ga (gigaannum). https://en.wikipedia.org/wiki/Year#SI_prefix_multipliers
157.
▲
by
gattr
5y ago
In a similar vein, a high-res ISS image by Alessandro Bianconi showing a damaged radiator: https://www.astrobin.com/375799/?nc=all (Taken with a 14" telescope. Good "astronomical seeing" conditions and n
158.
▲
by
gattr
5y ago
Somewhat related: [1]. A bit provocative title, but it's actually about "teaching (the newcomers) C++ constructs first before going through C-era ones". [1] CppCon 2015: Kate Gregory “Stop Teaching C" ( https://
159.
▲
by
gattr
5y ago
On a related note, if one's willing to forego proper mechanics and lighting, for imaging small stuff you only need a digital video camera and a microscope objective lens (or just a photographic lens with some macro rings). I got good r
160.
▲
by
gattr
5y ago
FWIW, my smallish project [1] (Rust + GTK3) builds and works on Windows out of the box. I use the MSYS2 build environment. [1] https://github.com/GreatAttractor/vidoxide
161.
▲
by
gattr
5y ago
In my small project ([1], Rust + GTK3) I pass the program state wrapped in Rc<RefCell> to my update functions (closures-as-event-handlers) and so far it's been OK (after all they're executed sequentially from the main thread
162.
▲
by
gattr
5y ago
There is a subplot about intelligence-enhanced cephalopods in Stephen Baxter's SF novel "Manifold: Time".
163.
▲
by
gattr
5y ago
Interesting. I haven't seen it here in Europe, but there is such a jar in Mrs. Nguyen's nail salon in the TV series "Better Call Saul" [1]. (Well, I'm not sure about the rose petals.) https://www.youtube.
164.
▲
by
gattr
5y ago
But if the torpedo has pinged, the sub knows something's afoot, and it could quickly scan in that direction with its own active sonar (giving up your position be damned, we're under attack already) to guide its interceptors. Plus,
165.
▲
by
gattr
5y ago
Sure, but here I imagined you could just home on the attacker's active sonar.
166.
▲
by
gattr
5y ago
Ah, good point about the structural issue. But as for giving your position away, I meant it to be the last resort, when you're detected and under attack already.
167.
▲
by
gattr
5y ago
A bit off-topic, but maybe some experts could answer a question? I've recently re-read Clancy's "Red Storm Rising", the sections on submarine (and anti-) warfare are really interesting (I understand some of it may be sim
168.
▲
by
gattr
5y ago
It gets better; one of JWST's uses will be whole-planet monitoring of Mars (which can't be conveniently done by Mars orbiters): https://www.nasa.gov/feature/how-the-webb-telescope-will-exp...
169.
▲
by
gattr
5y ago
Ignoring the (rather slow) orbital motion of the Moon, consider: the sky (and the Moon) appears to rotate 360°/24 h. This amounts to 360/(24*3600) = 0.004167 °/s. The apparent size of the lunar disc is about 0.5°, so it takes
170.
▲
by
gattr
5y ago
In that link it is due to the wavelength used (extreme UV, which shows only active regions as bright, and the prominence layer surrounding the limb.) However, in many amateur pictures taken in the H-alpha wavelength (like in TFA), the artis
171.
▲
by
gattr
5y ago
Back in 2015 I needed a convenient & fast post-processing and image alignment tool for (mainly) astrophotography time lapses, that's how ImPPG was born [1, 2]. (If GIMP had had high-bit-depth support back then, I'd probably tr
172.
▲
by
gattr
5y ago
A few fellow astrophotographers have built and used them successfully (forum link in Polish): https://astropolis.pl/topic/71039-monta%C5%BC-wirus-2020/
173.
▲
by
gattr
6y ago
I'll mention the SF novel "Black oceans" [1] again. It describes a scheme where someone extremely driven and confident of success, but utterly poor, can make a deal with certain shady organizations, which - in case you don&#x
174.
▲
by
gattr
6y ago
If anyone begins to feel trapped in a cage, please don't just yet. For instance, astronomers currently estimate on the order of 10¹² planets in Milky Way alone, of which up to 11 billion could be Earth-sized and orbiting Sun-like stars
175.
▲
Galactic internet made possible by star gravitational lensing
(arxiv.org)
2 points
by
gattr
6y ago
|
0 comments
176.
▲
by
gattr
6y ago
This idea is fully escalated in J. Dukaj's 2001 novel "Black oceans" [1]. > Dukaj extrapolates from the current trend of increasing lawsuits and political correctness: in his world many people willingly live under constant
177.
▲
by
gattr
6y ago
As for malloc/free, I'm guessing the recommendation is to allow the user to pass their own allocator on library initialization? Non-checked malloc returns - ouch, I count 12 (out of 56) without a check. Thanks for pointing this ou
178.
▲
by
gattr
6y ago
To practise Rust, I rewrote my small C99 library in it [1]. Performance is more or less the same, I only had to use unchecked array access in one small hot loop (details in README.md). I haven't ported multithreading yet, but I expect
179.
▲
by
gattr
6y ago
On a similar note [1], there is a few times more trees on Earth (ca. 3 trillion) than there are stars in the Milky Way (100-400 billion). [1] https://eu.usatoday.com/story/news/2015/09/02/earth-three
180.
▲
by
gattr
6y ago
It's the same for the recent Dell laptops, unfortunately [1]. [1] https://news.ycombinator.com/item?id=25940172
More ›