Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amadvance
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
amadvance
5y ago
There are tools that allow to sign a PDF with the mouse. I started using it and HR didn't complained.
62.
▲
by
amadvance
5y ago
As European, that shocked me more is the phrase of the Democrat senator: "If I sit down at a restaurant with a gentleman or a woman who has a holster on their side and a gun in it, I want to know that person is well-trained in the use
63.
▲
by
amadvance
5y ago
The MIT license has a legal disclaimer, so the responsibility is not on the author of the software.
64.
▲
by
amadvance
5y ago
Not to mention that you also lose the error context. That boolean "is_valid" flag is not really informative of what happened. For example, if the image to load doesn't exist, you may want to print/log such path. The goto
65.
▲
by
amadvance
5y ago
For such disruptive events the most logical reaction would be to shutdown all the possible causes. But wet markets and virus laboratories are still on...
66.
▲
by
amadvance
5y ago
Did you donated to it ? Because this is possible only with donations. I did, but if at some point they will have to add some ad, I won't consider that awful if done in the right way.
67.
▲
by
amadvance
6y ago
When doing this kind of in-work fixes, I use "add -p" to make an independent commit only of that specific change. Later with "rebase -i" I move all such commits at the start of the branch, and in case deploy them with an
68.
▲
by
amadvance
6y ago
Hobbyists driven by passion tend to evaluate their work on quality. Contractors mostly evaluate on quantity, especially if their pay depends on such quantity.
69.
▲
by
amadvance
6y ago
I think that adding a feature to an existing software product is more like adding a new floor to an existing house.
70.
▲
by
amadvance
6y ago
Also consider that all video have a H264 encoding to play on low end devices. Any additional encoding, in VP9 or AV1, is an additional cost as the H264 encoding cannot be avoided. Even VP9 is not used for all video. Only if the video is 4K
71.
▲
by
amadvance
6y ago
Finding 179 bugs in SQLite in less than a year is astounding!
72.
▲
by
amadvance
7y ago
> may be 1% in Italy because the population of Lombardy was overwhelmingly old Multiple official sources in Italy estimate that the real number of infected is 10 times the reported one. This explains the high dead rate.
73.
▲
by
amadvance
8y ago
He made me smile when he says: "there’s very little information for Bomb Jack on the web" hardware schematics, dumped rom, source of a working emulator... What do you want more ? :)
74.
▲
by
amadvance
8y ago
I also wrote my thesis in LyX! About 20 years ago :)
75.
▲
by
amadvance
8y ago
For avoiding unexpected effects on legacy code, I use: -fno-strict-aliasing -fno-strict-overflow (like -fwrapv but valid also on old gcc) -fsigned-char (for building on ARM)
76.
▲
by
amadvance
9y ago
Yep. Myopia move the focus of the eye from infinity to 1m/diopters. I'm myope with 4 diopters, and my focus is at 25cm. This means that even being also presbyope, I can read a book without lens if I put it at 25 cm from my eye.
77.
▲
by
amadvance
9y ago
Applications that already put an effort to minimize syscalls are the ones that most likely depend on syscalls performance.
78.
▲
by
amadvance
9y ago
Italian keyboards don't have { and }. In DOS I was using ALT+1+2+3 and ALT+1+2+5. Now in Linux, I use SHIFT+ALT+[ and SHIFT+ALT+] After some time, muscle memory does the work, and you don't even realize.
79.
▲
by
amadvance
9y ago
I interact daily with colleagues from China, and I think it's a lot more problematic to have work resources blocked than WhatsApp. They cannot even do a simple search with Google. It's frustrating for me, I can only imaging how is
80.
▲
by
amadvance
9y ago
They are replacing it with S3, but reducing a lot the shared data, and you have to pay S3 to access it.
81.
▲
IMDb closing FTP site with free data
(getsatisfaction.com)
3 points
by
amadvance
9y ago
|
2 comments
82.
▲
by
amadvance
9y ago
> it’s all written in plain old C without leveraging the synergies of dozens of frameworks. One wonders how they managed. As a C programmer it seems obvious that it's efficient exactly because it doesn't use dozens of framework
83.
▲
by
amadvance
9y ago
greydius corrected me asserting that the factor between ligth speed and car speed is 10 millions, and not one million as I said. But in true there are production cars that pass 430 km/h, resulting in a factor of about 2.5 millions. A l
84.
▲
by
amadvance
9y ago
My car is a lot faster than 108 km/h (0.03 km/sec) :)
85.
▲
by
amadvance
9y ago
You car is million times slower than the speed of light :)
86.
▲
by
amadvance
9y ago
I recognized my experience, and really liked: Software Craftsmanship - The New Imperative, Pete McBreen http://www.goodreads.com/book/show/1035377.Software_Craftsma...
87.
▲
by
amadvance
9y ago
I suppose you mean SSD disks. Rotating disks are surely affected by not contiguous operations, even if done with sector granularity.
88.
▲
by
amadvance
10y ago
Coverity is a static analyzer, and it can detect bugs in code that is not run.
89.
▲
by
amadvance
10y ago
Modern C compilers also allow to control the integer overflow behavior. For example, with gcc -ftrapv you can make the program to abort on overflow.
90.
▲
by
amadvance
10y ago
A near optimal one is f2(x) = 5 :)
More ›