HNHacker News
TopNewBestAskShowJobs

nachexnachex

40 karma · joined February 24, 2015

submissionscomments
nachexnachex··on A barbarian tribe's mythic origin story is true, ancient DNA reveals
Yelmo for helmet
nachexnachex··on Job queues are deceptively tricky
Similar to what gp mentioned, max latency. You can tune your consumers to burn through the queue and push messages, but when you have latency constraints e.g. a very tight deadline the first few messages in the queue might achieve it but not the 20000th.

When you want to switch from no processing to say 2M messages than need to be sent within 5 minutes it's difficult to appropriately provision without fast scale out.

nachexnachex··on Job queues are deceptively tricky
Properly scaling queue consumers is a problem I've spent a lot of time on in the last few years. Working on a messaging platform with highly variable traffic, including close to zero during the night, means that capacity provisioning according to the max will be very costly, and lead to a lot of frustration when you are saturated anyway.

Indeed you need backpressure but the traditional methods (CPU usage or similar metrics) are difficult because many consumers aren't high on those metrics --imagine a messaging plaform, pure IO. Also you'd have to tailor to the consumer itself and that's difficult, which is what you mention on the next-to-last paragraph.

In the end I helped solving it by scaling based on queue size and input/output rates, agnostic to the consumer itself, but with the hypothesis that you can scale consumers linearly (or at least monotonically, some sublinearity is allowed). The queue scaler watches for incoming and outgoing traffic on the queue, plus items on the queue itself, and it can scale from 0 to 11 in seconds for gusts, then shutting everything down.

It's a satisfying problem to work on, but its proper solution demanded quite the investigation. Now every queue we've got in the system is managed by this autoscaler -- except when we can't ensure linearity.

nachexnachex··on Microsoft kills official way to activate Windows 11/10 without internet
I've been playing it on linux since I started. Just run steam, install, Start.

Happy diving.

nachexnachex··on Underwater turbine spinning for 6 years off Scotland's coast is a breakthrough
That's correct, while clean it'd be a mistake to classify it as "renewable".

https://cs.stanford.edu/people/zjl/pdf/tide.pdf is a pretty accessible entry.

nachexnachex··on Before Squid Game, there was Battle Royale
I read the book first and I've got the same impression as you, the movie felt lacking and certainly not as fruitful in fresh ideas as the book felt.

I'm very surprised the post's author finds the book shallow (he uses "lacking in depth" I think).

nachexnachex··on Turkish language has a gossip tense
Julia habría dormido con Pedro anoche.

As explained, mood is implied. This is a common pattern in news reports, etc., not quite colloquial

nachexnachex··on A Uruguayan company teaches people how to turn regular cars into EVs
The (state-owned) power company owning the grid and much of the generation for the country has been pushing this change forward. The country has transitioned from almost pure hydro to wind and has an excess of this type of generation, especially at night when it would be the ideal charging time.

There's also initiatives to encourage permanent grid use by the cars since the batteries can provide capacitive load which locally counters the grid's natural inductive load which is beneficial if it can be leveraged.

nachexnachex··on 4T transistors, one giant chip (Cerebras WSE-3) [video]
She's got strong merit to be spared by the Roko's basilisk ai.
nachexnachex··on I can tolerate anything except the outgroup (2014)
Thanks for sharing this.

I've got a take that's a bit of a hot take, but experiencies like yours make more sure about it.

I don't think _any_ of the flat-earthers actually believes it. They're just there for the attention/lulz.

nachexnachex··on Ask HN: Can you both take climate change seriously and against nuclear energy?
I'm against it because nuclear waste.

IMHO it's a false dichotomy to think that if I understand climate change to be an existential threat, then I must be in favour of nuclear. Other renewables combined with less energy usage could be my preference.

nachexnachex··on Ask HN: Has anyone found a job from the monthly Who's hiring on HN?
Five years myself. I submitted about twenty five applications, got to the final stages in six and got two offers, one of which I got my current job from.

Usual recs apply, job spec tailored resume, cover letter, etc.. No network use until I had to submit recommendations.

nachexnachex··on KDE: A Nice Tiling Environment and a Surprisingly Awesome DE
3.5.10 was the pinnacle of desktop experience. But plasma is now close to that
nachexnachex··on Cultures where men and women don’t speak the same language (2017)
We can say "muy agradecido" or agradecida in formal context. It's unusual, but works as an example
nachexnachex··on Thoughts on chess improvement, after gaining 600 points in 6 months
Losing is normal. Learning the moves is easy, learning to play not so much. Think of it as any non trivial card game.

Two pieces of advice: 1. Play longer times. This happened to me when I started with 5+3. Play 15+10. 2. STUDY YOUR LOSSES. sorry for yelling. Try to understand what did your opponent that you didn't see, try to understand if it was a tactic you missed or a strategy general loss. (in parallel with those) study endgame (mate with queen, K+R v. K, etc) and the tactics by name. X-ray, what's a fork, what's a skewer, etc. By name only, avoid puzzles. Think of them as the for and whiles of chess.

nachexnachex··on Haters (2020)
In my case, it helped me make the connection hater = - fanboy, which is pretty obvious now having read it (an probably was obvious to many), but I hadn't ever seen it laid out so plainly. On this regard the article was illuminating to me -- granted if you consider the fact obvious, it's not.

I probably never would have made it on my own since I don't deal with either and it's not a problem I suffer, in a way anybody with a different point of view can teach us some, even if they were detached.

nachexnachex··on Oliver Heaviside (1850-1925) – Physical Mathematician (1983)
Such an interesting character. I can't recommend enough 'Oliver Heaviside: life, works and times of an electrical genius of the Victorian age' by Paul J. Nahin, it's written in such a way that won't make it hard to you if you don't want to dive too deep in the math, but every chapter does include appendices and notes that do go deep, so you get all the details. A treat for EE history lovers.
nachexnachex··on A package for presenting person names
Seems to assume a lot from https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-... unfortunately. It's probably a good idea to flag it as language-specific.
nachexnachex··on Polynesian DNA suggests epic voyage to South America 800 years ago
The book 'first migrants', which I recommend, covers this topic in detail offering several hypotheses. In particular, the founder myth ran and runs strong in our (H. Sapiens) blood.
nachexnachex··on Scuba diver accidentally discovers prehistoric industrial complex in Mexico
First migrants by Peter Bellwood
nachexnachex··on Tips for Mathematical Handwriting (2007)
I'm like this, and many I know. I suspect the actual memorising comes when writing, creating the muscle memory. If not written, I can't ensure I'll remember.
nachexnachex··on On Mathematical Beauty in Physics
Just a note on the author's comment under Goya's painting. She advances that "unlike painting", in physics beauty can only be appreciated by those who understand their meaning. I disagree there's a difference in these disciplines, case in point, I knew Goya's painting long before becoming interested in grecoroman mythology, and I plainly didn't like it. Today I can appreciate the brutal tone of the painting knowing the story behind, and that has turned my view of the opus.

Another shocking example is El Expolio by El Greco, shocking technique but doubtful setting... until the author's intention is explained (or understood without further word), at that point it just becomes beautiful.

And in the same way that it's not necessary to know the story behind in art (you could like a painting for technique, looks alone), a layperson could like a mathematical formula for purely aesthetic reasons.

So all in all, I don't think mathematics and physics stand out in this regard.

nachexnachex··on Five Hundred and Seven Mechanical Movements (1908)
The left wheel rotates at fixed speed, it's the source of the movement (connected to the source of power). The right wheel rotates according to the relative radii between them, the constant speed of the left wheel dictating its speed.
nachexnachex··on On Tolstoy's “War and Peace”
¿En un lugar de la Mancha...?
nachexnachex··on Power Worth Less Than Zero Spreads as Green Energy Floods the Grid
> Enron

"Quien se quemó con leche, ve una vaca y llora."

It can seem weird to have an excess of power availability, but it's a consequence of electric power not being easily stored -- electricity is just a good energy _transmission_ system. While using electrostatics (batteries) is possible for storing very small amonts of energy, when you think at a state or country scale, it's just too much to store.

This means excess energy must be either immediately consumed, or transformed in order to store it. The most common storage system would be gravity -- build a pump right besides your dam, and pump water upstream so you can use it later when power is not readily available. There are already some reservoirs using this -- at least one in Wales and I've recently read they'd like to build one in Hoover Dam. It's not simple though, because usually water is left to fall yet another bit right after the dam, so a second reservoir right below the dam would be needed.

So, what does a negative price mean. As the article puts it, its a signal from the grid that it has no use for your energy, _right now_, as there's an excess of generation. But if untapped, wind and solar will be just lost, so why not offer it to the users.

As renewables continue to grow, probably more storages will get built that can buy that excess and this anomaly will cease.

nachexnachex··on CIA rendition flights from rustic North Carolina called to account by citizens
False dilemma is related.
nachexnachex··on Lemon – An embeddable, lightweight programming language in ANSI C
It is. It allows to search for function declarations with the regex '^[^( ]+[(]' (or similar) -- while more common in the past, many have adopted it and keep using it.

Personally I've come to find it nice to read, particularly when you're returning complex, long types.

nachexnachex··on How Did Anyone Do Math in Roman Numerals?
It's useful for solving (or partially solving for a set of conditions) linear differential equations, say in the fields of mechanics or electromagnetism. One can work with dx and dt as if they were just factors and move them around quite intuitively.

In the same line, it's great at shining a light on the substitution rule for integration.

Given that your point that it can be obscure at first remains valid, I'd walk the middle line of introducing students to the f'(x) notation first; and after the introduction to integrals introduce this notation to them.

nachexnachex··on Ask HN: What linux distro should I start with?
Since your intention is to learn the C language, I'd recommend Gentoo. Building is at the heart of the distro, so you'll be piggybacking learning how deploying and installing works, what are the challenges of bootstrapping, and compile flags as you go.
nachexnachex··on Is the C++ preprocessor still needed?
I don't see how losing backwards compatibility would be a good thing per se. Even if the preprocessor were considered a problem (which is disputed), it could coexist with a new FFI system that could be implemented.

Losing backwards compatibility is usually a price to pay, not an objective. As an example, Python 3k chose to lose partial compatibility to 2.7 in order to change some parts of the language. While the user and maintainer community still debates if the change itself was a good decision (a different discussion IMO...), probably most will agree that the incompatibility bit has been and will be for some time a source of pain.

Page 1 of 2Next →