HNHacker News
TopNewBestAskShowJobs

ajnin

3,349 karma · joined November 1, 2014

submissionscomments
ajnin··on CERN approves plans for a $23B, 62-mile long super-collider
FCC is the acronym for Future Circular Collider, the name of the proposed new accelerator.
ajnin··on How to implement search-by-color when all you have is a good coffee
I'm not sure HSL would be better in that case. For unsaturated colors (black to grey to white) HSL has many points that have perceptually the same color but different HSL values. If S is zero, then you have the same color for any value of H so you might get a large distance for two points that are actually white for example. At least when using Cartesian coordinates like he is here.
ajnin··on How much did AlphaGo Zero cost? (2018)
That match was still arguably not fair for the human because of the imperfect input and outputs he had to deal with. In the end I'm not sure it makes sense to put artificial handicaps on the machine to leave the human a chance. It's like a swimming race between a fish and some land animal but the fish is not allowed to use its fins. Sure the other guy has a better chance to win, but, what does that measure really?
ajnin··on Linux Mint Dumps Ubuntu Snap
> the next refresh can be delayed by up to 60 days, after which a refresh will be performed regardless of the refresh.hold value

Taking a leaf right out of Microsoft's book, I see.

ajnin··on Show HN: An API to store balances and transactions
He's talking about fixed point, not floating point. The decimal type in SQL is an exact, fixed point numeric type. It can avoid loss of precision, like integer, but without the scale conversion step.
ajnin··on Classic Calculator Was Reverse Engineered from the Bare Metal
OT but it's a real shame the bubble LED displays used in those calculators are not manufactured anymore. Something about the warm red glow and incandescent-like filament look appeals to me. They are also very compact, it's occasionally possible to find more recent bubble displays but quite bulkier, and outrageously expensive.
ajnin··on DIY Particle Detector
> There seem to be builds using a through hole resistor for R3

That's the "electron-detector" version, which uses a 10M feedback resistor. The alpha-spectrometer version is the one that uses the 40M SMD resistor.

ajnin··on Deno 1.0
The fundamental problem of dependency management, as anyone who ever kept bookmarks knows, is that the external sources might go away at any time. It's not a problem unique to Deno or Go. Take Java for example, its standard dependency management tool is Maven, which relies on external repositories of artefacts to function. From time to time, a repository might go down, or it might be moved to another address, or a library might be migrated to another repository. Whenever this happens, your build might break. The solution is to proxy all requests at the organizational level through your own server which keeps a mirror of any package that has been referenced once. That way, if it become unavailable externally, then you can still use it internally. You can also override packages with patched versions if they misbehave.

I think that Deno should define a standard dependency fetching protocol, and allow proxying transparently at a native level. If it does, that kind of dependency management will be fine.

ajnin··on Vanilla Production in Geodesic Domes
The article says he has yet to harvest a single vanilla pod from his plants. It very much looks like he intends to primarily create a business selling his greenhouses, rather than actually producing vanilla, which is a long and involved process, you won't simply harvest processed vanilla pods from the magic domes.
ajnin··on India orders coronavirus tracing app for all workers
> You know that the app can be removed at any instant, once the lockdown is over?

Not according to this article : https://www.news18.com/news/tech/aarogya-setu-registration-w...

> According to officials with knowledge of the matter, the government of India is making it mandatory for all new smartphones to be sold in India post lifting of the lockdown to not just have the app as a pre-installed service, but also ensure that individuals register on it and set it up, before beginning to use their new smartphones. [...] This will make the Aarogya Setu app an inbuilt feature on all new smartphones, that will be sold in India going forward.

ajnin··on Why isn't the external link symbol in Unicode? (2018)
At this point I think a submission of 8 generic "arrow exiting square from top, top-right, etc." might have a better chance of being accepted as it holds a general meaning of exiting something and is not specific to hypertext as seems to be their objection.
ajnin··on How does the coronavirus kill?
From my layman understanding the initial viral load is a strong factor in how well you can respond to the infection. Immune response more or less happens in a constant time, while the unchecked virus spreads roughly exponentially. If your initial load was low, then by the time your immune system responds, the infection will be relatively little spread, but if your initial load was high, the virus will have spread much more, which can be challenging for the immune system to handle, event for healthier people.
ajnin··on ICANN delays .org selloff after California’s attorney general intervenes
When you know that Ethos Capital (that wants to buy .org) was co-founded by an ex-ICANN CEO, and that it employs several other former high-ranking ICANN staff, then it starts to make a lot of sense.
ajnin··on A (possible) solution to Covid-19
The idea of voluntarily infecting the entirety of the population with a virus to prevent economic downturn seems a very dangerous idea to me. The purpose of society is to ensure the well-being of the people. It is not economic growth.

Furthermore, I see a few problems with that idea :

- it seems very hard to create a truly harmless virus. Viruses still destroy cells to replicate, they cause immune system response, inflammation, what would happen to weak or immunocompromised people ?

- if immunity through vaccines lasts 6 to 24 months, why wouldn't this be the case here too ? You'd still need to develop a vaccine or keep infecting people with new strains of this virus

- why would the deadlier strain disappear ? Unless you also engineer the mild strain to be much more infectious, both strains would still spread equally in the population. Presumably the milder strain would be less symptomatic so it would in fact spread less

- it's not demonstrated in what way economic downturn would be more harmful in the end. Economy is a means not an end.

ajnin··on Cellular Automata: Rule 30 fed as input to Conway’s Game of Life (2019) [video]
Same account posted a similar video for rule 110 : https://www.youtube.com/watch?v=P2uhhAXd7PI

Pretty interesting !

ajnin··on How much ‘normal’ risk does Covid represent?
What that comment is saying is that the two axis have different units (a unitless risk for covid case fatality and a time^-1 rate for mortality), so you can't compare them. Which is true, but if you multiply the rate by 1 year, then the units become the same and the values don't change, so that becomes comparable. I still think it makes sense to compare the risk of dying of covid-19 if you catch it vs the risk of dying of any cause in the next 12 months. 1 to 2 years worth of risk still seems like a lot to me
ajnin··on Welcome to the Virosphere
How is a virus species defined ? As I understand it a species is a group of organisms that can reproduce viably with each other. But a virus doesn't reproduce like that, they clone themselves by hijacking a cell's machinery, so there is no notion of compatibility between viruses. The article says that Covid-19 is "similar" to SARS so it was put in the same species, but that seems a rather soft definition. Especially if there are trillions of different viruses like the article says, some objective criterion is needed. Not to mention viruses mutate all the time, at what point does it become a new species?
ajnin··on Covid-19: the harms of exaggerated information and non‐evidence‐based measures
What Ioannidis is advocating is to do nothing until we have scientific certainty of what the correct decision should be, and only then act. What he's not taking into account is that the situation is unfolding right now, and if "do nothing" turns out not to have been the correct decision then you can't go back and change that. If we overreact and cause 20% unemployment for the next year, then a harm has been caused, but if we underreact and 20 million people die, then another harm would have been caused. In the face of this alternative, with not enough data to know the probability of outcome #2, but with enough to know that it can happen, then I think it is rational to choose the route that most surely avoids it.
ajnin··on USA tried to pay Germans so coronavirus cure vaccine would be exclusive to USA
Withholding access to a vaccine to a disease that is causing thousands of victims, thousands of deaths, would be quite literally a crime against humanity. To even consider the idea, presumably for political purposes, is insane.
ajnin··on EOF is not a character
It seems weird that Go considers EOF to be an error condition. Reaching the end of a file is a normal, expected outcome of reading files.
ajnin··on OpenJSCAD
Not OP, but :

- you can't store objects in variables, so code looks convoluted with deep nesting as you need to apply multiple transforms to objects

- there are no real variables, more like constants that take the value of the last assignment, so you can't do basic stuff like x = min(x, 5)

- you can't access object attributes (size, etc.) so it's not possible to generate features that depend on another object. You always need to have lots of parameters in scope. A simple use case would be to punch 4 holes in the corners of a box cover.

- string functions are very limited, there is only str() to convert a value to string but with no control on the formatting, there is no printf-equivalent

ajnin··on Ask HN: Do you ever truly use your revision history?
I just want to point out that it's possible to migrate an SVN repo to git while preserving history. I used svn2git (https://github.com/nirvdrum/svn2git) to migrate many repositories, although not very large ones.
ajnin··on Pollution from tire wear is worse than exhaust emissions?
How do you know if that soot came from exhaust, tyres, or something else ?
ajnin··on Elon Musk’s plan to build one Starship a week and settle Mars
No, not in aerospace. The common approach is to spend years designing, simulating, and then actual tests come at the very end, and sometimes you don't even test because you can't or it would be too expensive. That's what Boeing are doing with their own rockets; Mars missions until now didn't really go through an iterative process; satellites are usually manufactured only by one and they better work once in orbit.
ajnin··on Travelling with 24” Monitors
You could probably go even lighter by removing the power/control box entirely from each panel, and replacing it with an after-market board and a common supply for everything. It's easy to find control boards with HDMI inputs for your LCD panels on eBay, simply search for "<panel reference> control board". The control boards alone are very light, and low-voltage so safe. Presumably your panels are LED-backlit so safe, low-voltage too. You can then use a single external power supply to power the whole thing, easy to find on ebay/aliexpress too. It would also avoid the safety issue of stitching together the 3 power cables, and reduce the weight of cables as well. Then package everything in a nice box with hinges and some padding and you have a nice multimonitor transportable PC ;)
ajnin··on Brunsli: Practical JPEG repacker (now part of JPEG XL)
Do you have a link for JPEG XL comparisons ? The comparisons on that page are with JPEG XR, which is a different thing.
ajnin··on 2020 Leap Day Bugs
You're assuming a source of monotonic nanotime is easy to get and will always be available. This is not the case. As far as I know you have either "wall time" as usually defined, with all the problems associated with clock drift, NTP syncs, computer going into sleep mode, etc, or "nanotime" which is some time delta from some arbitrary reference and which can only be used to compute time differences and not arbitrary instants in time. One can not be converted into the other easily, or at all.
ajnin··on Things about the new Firefox browser for Android
I'm using Firefox Preview regularly for a few month now, and it really is a huge step up in performance. Javascript and CSS-heavy sites now behave as they should, and browsing feels smooth overall. However the UI changes are a big step back and the main reason why I've not completely switched over from the regular Firefox (now I won't have that choice it looks like) :

- The address/search bar is much much inferior. Much less relevant results now come up first. When typing the domain name of a site I visit daily said site will come up low on the list, needing to scroll, while some autocompleted address I've never visited once will be on top.

- Extensions are not supported. A single supported extension does not count.

- The thumbnails are removed from the tab list. Not a huge loss but I had gotten used to it

- Popups each time you close a tab use up unnecessary screen space. Also they often just stay there.

- The address bar is now at the bottom. Change for the sake of change.

I don't know if all of these issues will transfer to the new Firefox, but I wish they would have brought in the engine changes only. Current UI is fine.

ajnin··on Becoming a high performing software developer working from your bedroom
Erasable blue ink tends to fade away after a few month/years if the paper is left a bit exposed to air or humidity, since the eraser uses a chemical that is also present in the atmosphere. So be careful if you intend to use it.
ajnin··on Scaling to 100k Users
This is the conventional wisdom but the more I think about it the less I agree. I think we have a duty to minimize resource usage and waste in general. The part of energy used by IT infrastructure is constantly increasing and has a significant impact on the environment.

Let's put your statement on another perspective : it is worth investing a few days/weeks of work of a low power machine (a human) to reduce significantly the long-term power usage of a high-powered machine (a computer or cluster thereof).

← PreviousPage 12 of 24Next →