Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alfiopuglisi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
alfiopuglisi
2y ago
The are negative wholesale, not for the private end user unfortunately.
32.
▲
by
alfiopuglisi
2y ago
> the fast orbit of Proxima implies it is gravitationally unbound given the visible mass of A and B Since when? For example these measurements from 2016 say the opposite: https://www.aanda.org/articles/aa/full_h
33.
▲
by
alfiopuglisi
2y ago
> Woops. Yes, galaxies. Too late to edit. Not even galaxies, but massive galaxy clusters. The spatial smoothing used for the ring image is a 2D gaussian with an equivalent width of 11 Mpc, or 37 million light years, big enough to contain
34.
▲
by
alfiopuglisi
2y ago
You can still opt out, just fill out a declaration that you don't have a TV. It can be done online in two minutes (it must be repeated every year tho). The difference is that before it was basically opt-in, with spotty enforcement, and
35.
▲
by
alfiopuglisi
3y ago
Wouldn't it be the smell of space suits and space stations, rather than space itself? I don't think astronauts have tried to breath the few particles in the vacuum.
36.
▲
by
alfiopuglisi
3y ago
Not true, but you still need a pretty big one. In order to resolve a 50cm object 238k miles away (average Moon distance) at visible light wavelengths you need a telescope with a diameter of 500 meters. In order to resolve some details on su
37.
▲
by
alfiopuglisi
3y ago
The ESO observatory in Paranal has its own electricity power plant, both natural gas and - recently - solar. Computers: multiple TB of data per day will be generated and will need to be archived, backed up, and made easily accessible. Every
38.
▲
by
alfiopuglisi
3y ago
The segments themselves are 100% modular and you could tile an US state with them. The main problem is engineering: the whole thing needs to behave like a single object, turning 360 degrees and moving between horizon and zenith (horizontal
39.
▲
by
alfiopuglisi
3y ago
More than temperature, the main problem is the atmosphere. Hubble can see a lot of infrared, and also ultraviolet, because it is in space. Ground-based IR telescopes are somewhat limited, and UV is non-existent.
40.
▲
by
alfiopuglisi
3y ago
Mostly size. Ordinary shooting stars are grain-of-sand sized, and what you see is actually the superheated air that they displace coming in at 10+ km/s. Something slightly bigger, like a rock a few cm wide, can cause a blinding firebal
41.
▲
by
alfiopuglisi
3y ago
Probably a satellite in low-earth orbit. They only take a few minutes to go from one horizon to the other. Since it is very bright, I am guessing it is the ISS. Update: Iceland is too far north (64°N) to see the ISS (max 51.6°N). Too bad.
42.
▲
by
alfiopuglisi
3y ago
Interesting. I am Italian and I had no idea. From the sound of it, these tourist-specialized trains will be a small niche. To be fair, trains are already heavily used for domestic tourism, in addition to personal or business travel. Most bi
43.
▲
by
alfiopuglisi
3y ago
Photons travel at the speed of light, and at that speed, any "subjective" time is zero. In Einstein's theory of special relativity, the faster you go, the slower your proper time appears to an external observer. At the speed
44.
▲
by
alfiopuglisi
3y ago
What about translation?
45.
▲
by
alfiopuglisi
3y ago
Short answer: no. Except maybe for picking up a word here and there. Reading Latin is somewhat easier, except for poetry, where the word order is completely hopeless. Source: I am Italian. Edit: most Italians study Latin in high school, but
46.
▲
by
alfiopuglisi
3y ago
Shameless plug for my own python GUI toolkit: guietta! http://guietta.readthedocs.io/en/latest/ It is built on top of PyQt5. But be very careful if you use conda, because conda decided to rename the PyQt5 packag
47.
▲
by
alfiopuglisi
3y ago
For certain values of "food and resources". Incoming solar energy is 7000x humanity's energy consumption, while one trillion is merely 125x the current population, so it's physically possible. Probably the biosphere woul
48.
▲
by
alfiopuglisi
3y ago
Was my C64 different from yours? When I was a kid, I was doing exactly what you describe: throwing together BASIC programs from the prompt, run them, saving and loading them from disk (actually the cassette). The manual even had a BASIC cra
49.
▲
by
alfiopuglisi
4y ago
Maybe avmich is thinking of the STS (the Space Shuttle)
50.
▲
by
alfiopuglisi
4y ago
Actually, LLMs are completely deterministic. Their output is a list of possible word, ordered by probability. If you always choose the highest-ranked word for the next iteration, they will always generate the same sequence for the same prom
51.
▲
by
alfiopuglisi
4y ago
I don't know about the UK, but in Italy everyone is on WhatsApp, grandparents included, and without it the country would shut down in a couple of hours. In addition, Italians create WhatsApp group chats for everything. Heck, my sport c
52.
▲
Guietta: The simplest Python GUI library
(github.com)
3 points
by
alfiopuglisi
5y ago
|
0 comments
53.
▲
by
alfiopuglisi
6y ago
I stumbled on this pipeline idea reading this page: https://mtomassoli.wordpress.com/2012/03/29/pipelining-in-py... but the implementation looked quite complicated. The code in this github repo is both simple
54.
▲
Show HN: Function and Generator Pipelines in Python
(github.com)
2 points
by
alfiopuglisi
6y ago
|
1 comments
55.
▲
by
alfiopuglisi
6y ago
Yes, any QWidget instance can be used directly in the layout. If then you want to reference it, the best option is to use the tuple syntax to assign it a name: (widget, 'name'). Check the slider example out (slider.py), it does ex
56.
▲
by
alfiopuglisi
6y ago
If you look in the tutorial, there is also a ___ (three underscores) magic widget for special layouts :) I can see the difference between one and three, but between two and three it becomes difficult :)
57.
▲
by
alfiopuglisi
6y ago
It has matplotlib support: https://guietta.readthedocs.io/en/latest/tutorial.html#matpl... or were you thinking of something else?
58.
▲
by
alfiopuglisi
6y ago
'result' and 'Enter numbers:' are exactly the same thing - two QT labels. The example code just changes the first one's text. If you run the code, you'll see it by yourself. PyQt is not really difficult, just b
59.
▲
by
alfiopuglisi
6y ago
No, you have to manually update widgets assigning them their new value (strings, and for labels also lists and dicts). I will think about such a feature but I have no experience with such dynamic frameworks :)
60.
▲
by
alfiopuglisi
6y ago
Quit is a built-in class, because is very common. There are also Yes, No, Ok and Cancel builtins. You could do the same writing ['Quit'] and binding it a function that quits the program. Binding is done using QT's signals
More ›