skysight-inc/HackerNews huggingface dataset:
Similar situation here, but in Finland. I use 14 MWh of /electricity/ each year (medium-sized house, three-person household). That excludes the firewood that we use for heating the sauna, and to keep the house warm during winter, when the cold is too much for the heat pumps to manage. Oh, and travel.

In order to reach the goal in the article, a three-person household would need to restrict energy use to 52560 KWh/year, /including/ all those things AND the production of everything that household consumes.

I can't see how it's even remotely possible with today's technology and societal climate. That being said, there's no harm in researching and developing more efficient technologies. I don't even want to think about how bad the energy crisis would be if we were all still using 60w/40w lightbulbs.
There’s nothing to fix, basic or otherwise. Safari is following the specification. There’s even a clarifying note about exactly this:

> Because <number-token>s are always interpreted as <number>s or <integer>s, "unitless 0" <length>s aren’t supported in math functions. That is, width: calc(0 + 5px); is invalid, because it’s trying to add a <number> to a <length>, even though both width: 0; and width: 5px; are valid.

— https://www.w3.org/TR/css-values-4/#calc-type-checking

(This also appears in the latest Editor’s Draft.)
> Kotlin was designed to replace Java 1.6 and that's about all it's good for.

Not sure what K was designed for. But we use it to fix J's billion dollar "implicit nulls" mistake, and terse syntax (making it useful for templating: Kotlinx.html), and pass-as-value method references. We love it's hang towards immutability.

K is not Haskell, but it sure feels a lot safer that J (where a lot of strings were used to refer to methods, and strings+Groovy was used to do templates).

Bottom line: I'm too old --and life's too short-- for NPEs.
I mean, you can, but everyone involved has already ruled out doing any kind of root cause analysis because they don't like the obvious solutions to the causes, so both "gun" and "mental health emergency" and "shooting by police" are treated as natural events like weather that we cannot hope to understand or control.
Why are the outcomes relevant if you agreed to them knowing them beforehand and without coercion?

About being illegal, I am not talking about that either, legal or not if you agree to something having all the facts clearly portrayed to you, you are responsible for what happens if you agree to it.

I think the real root cause is you and others seem to think lack of alternate opportunities equates coercion, which I disagree with. I also disagree that improvement of people's lives can be more important than basic fairness,equality, accountability and justice. You are only formalizing fraud and corruption that way.

You make a good point about forced arbitration, but with that it isn't specific but general to cover all disputes which you don't know when you sign that agreement. It also circumvents legal procedure where even if you think it is in your best interest and agree to it, it isn't in the interest of justice. Oh and how is that not enforced but plea agreements are?? (Is there anything more slavery like than prison???)
Grew up in Brevard county and still swing through from time to time!
But if there is no obviously desirable move, and instead a wide array of potential equally good moves, then picking the same as the computer picked gives a high probability of cheating. That being said, I find it unlikely that that's the case here.
It's open source, just add the feature yourself
Face to face.
Munger.
Gustafnk/h-include: Declarative client-side inclusion for the Web
I start a small Minikube instance and then hook its Docker daemon back to my Mac terminal.

Either way is absurd, tbh, but here we are.
An medical sensor filling in "plausible" information is not a show stopper? I hope you are never in control of making decisions like that.
> the excellent toolchain and numerous libraries

The toolchain in both cases is basically IntelliJ (rebranded as Adroid Studio)
Color of the Day
Wait until they try a GUI with windows
I just inverted the logic of the original comment and a argumentative device. I see no evidence for what you are saying.
Thank you, but I wish we could manually select it and copy the desired part (for example when converting days to seconds I'm only concern about the actual seconds, not the "seconds" suffix)
This is the most enlightening comment I've read about this case.
A balanced summary of the lead-up to the First (1988-1994) and Second (2020) Nagorno-Karabakh war.

Note that this is article is NOT about the recent escalation on 2022-09-13 when Azerbaijan attacked inside Armenia's internationally-recognized territory, in territory unrelated to the Nagorno-Karabakh question, clearly well past ridgelines used for the border. Technically the border is "undemarcated", but it's a cheap claim that this is a mere border dispute.

Instead, many of the actions of Azerbaijan since the November 2020 ceasefire agreement have been applications of Salami Slicing and Borderization: occupying chunks of the Republic of Armenia bit by bit, to pressure Armenia for a settlement more favorable to Azerbaijan. Specifically, Azerbaijan wants a route between its mainland and its longstanding exclave Nakhchivan (which borders Turkey).

Article 9 of the 2020 ceasefire agreement provides for such a transport connection, but does not use the word "corridor" in reference to it. This is contrasted with the 'Lachin Corridor', mentioned several times in the ceasefire agreement, which provides a connection between Armenia and the Armenian-ethnicity areas of Nagorno-Karabakh. Since 2021, Azerbaijan has unilaterally begun using the term 'Zangezur Corridor' to refer to their desired connection, anchoring their expectation that its guarantees would be similar to that of the ceasefire-defined 'Lachin Corridor'. Despite several rounds of working groups and mediation, no progress has been made on a solution acceptable to both Armenia and Azerbaijan.

Azerbaijan has the upper hand, with superior military and economy, less democratic government (top-down leadership), and a better geopolitical situation. And it's been steadily bullying Armenia to get its way.
Ask HN: Simplest Way to Distribute Custom C++ Computation in the Cloud?
Hi,

We have a commercial app that we call a "Decoder." The Decoder is a wireless signal processor that consumes an analog time-series waveform and extracts digital information from it using different digital signal processing / demodulation techniques.

Improving our signal processing involves reprocessing a large database of analog signal examples and grading the performance after changes. Tweaking filters, settings, techniques, etc can all make improvements, or regressions, on a large or small scale.

We have a Windows App (C++/Qt) that can reprocess and "re-decode" the data. You pass it a CSV file containing the analog waveform and it produces many output files of different types.

My current architecture is that I developed a custom work/job runner that can be installed on any windows machine. It calls into AWS and watches a SQS queue for jobs. It downloads a job, fires up the worker utility, waits for it to process the data, parses the output files, and then stores the result into a SQL database.

We need to expand the scale at which we do this 10X, maybe 100X to experiment with some machine learning approaches we're considering, basically just running 10X to 100X more simulations or reprocessing jobs.

The utility takes 1-10 minutes to process the data depending on the CPU and length of the analog waveform.

My existing architecture seems kind of flimsy and I am hesitant to rely on it to do 100X more jobs than it can. Also, it doesn't scale in parallel well. I'd love to be able to process any number, 1000 jobs, all within 10 minutes. With the existing architecture I have to spin up a new worker and the jobs are divided among all workers. The workers are a mix between EC2 Windows Server VMs and physical machines.

We are considering porting the utility to linux so that we can it in on AWS Lambda or Batch.

My team and I are a bit new when it comes to cloud processing hence the post.

Primary Question: What would HN suggest as the simplest way to scale this up?

Sub-Questions:

Are there any straightforward ways to achieve our goals with the existing Windows CLI processor utility? Or should we port to Linux?

We'd prefer not to have to manage VMs/Physical machines/interact with the OS if we don't have to. What's a good cloud tool for distributing this computing given that?

Thanks for your time.
The Swift libraries are not all that large, perhaps a dozen MB or so.
I'm in agreement with almost everything except the tires. Unless your commute has a significant portion of rough surfaces, you definitely want to use some road tires. Not the super skinny ones used on road bikes, so you don't have an issue with tram lines/pot holes/curbs, but good reinforced road tires (so you don't have flats when going over glass/nails/whatever).

I've been commuting daily on a mountain-bike (chosen for the comfort of a full suspension and the braking power of disk brakes), and switching from the factory all-terrain tires to road tires about 2/3 the width has been a huge improvement: a lot less rolling resistance, and a lot more grip, especially when it's raining (despite less width).
The "embodied energy" calculation is always going to be somewhat arbitrary based on what one wants to include. With more or less relevance.

E.g: human rest power is ca 100W at ca 20% efficiency. The agricultural production is at best 2% efficient. That's already 25kW, just to survive. * Edit: partially wrong, see comments below. *

But it is perhaps relevant to exclude all non-CO2 energy sources? Thus putting the agricultural efficiency much higher since the sunlight would be "0".
I agree with them in principle but unless that is law it is a meaningless sentiment.
Playing on a physical chess board instead of on the computer.
ooooh I love this. So I use fathom for video transcripts and adding bookmarks, todo list there. I love using fathom but I do not have a way to manage all the todo lists created from there, it is usually just embedded to the specific video calls. I would love to be able to manage all the todo lists and label them (e.g bugs to check, follow up, etc)
I just tested Cogram, it does require right now little bit of manual work, which I assume will be all automated once you have a zoom app. I like the way it summarized the call for me, created bullet points and next steps. It also understood my accent, which is a huge plus :D It would be helpful to have integration with hubspot and to do add summary there as well, as well a call log. And to have centerlized to do list would be amaaazing
In that case deadlines are useful because you have so many people depending on you that you don't know which or how many of them have real dead lines. That isn't as common in software I think?

But needing a new working iOS by ship time for the next phone? That is a pretty hard deadline, and why apple doesn't use agile. They say agile doesn't support synchronous hardware/software releases.

The problem is when I bsupport multiple efforts, some with deadlines and aome without, the ones with deadlines always get "done in a minute" descoped so that I don't starve an ongoing que as is described here.
It was 1.09€ before Aug 2021 and decreased to 0.99€ then.
Not online, i.e. face to face.
I don’t know what you mean by strings embedded in Rust syntax nor package management (unless you mean crates and modules, which are basically just namespaces; the only “package management” is done by higher-level tools like Cargo).

To answer your other questions: no, Rust has neither garbage collection, nor templates. I don’t know what you mean by hardcoded weird and expansive memory allocation model; Rust’s is basically the same as C++’s.
"We have to have to keep our systems unsafe so we can have rooting exploits for our devices" is an interesting viewpoint. I can understand why somebody would demand the ability to safely access root, but demanding unsafe code is just wild.
New evidence for habitability in ocean of Saturn's moon Enceladus
The same reasoning in the article applies: it's a lot of added complexity that isn't related to its core use as a general purpose in-process SQL database.

Usually OLAP at these scales is fast enough with SQLite or you can use DuckDB if you need a portable format before graduating to a full on distributed OLAP system.
How would that work in the C/C++ world? For example, a.cpp #include's <a.h>; a.h doesn't produce any compilation artifacts. We change a.h but not a.cpp; since a .cpp is unchanged, there's nothing to do in the build?
If the author is to be believed, all you need to do is wait 5 to 10 years. Try to join a local hackerspace in the meantime.
Ok, but their responsibility is first and foremost to earn a living. It is the government's job to define and prevent exploitation.
This is what agile actually wants you to do.

You can have a deadline but no fixed scope, this what CI/CD is for. So when deadline day happens what you have is already released.

Or you can have fixed scope but no deadline.

Or you can have fixed scope & deadline, then pad things to hedge risks that might pop out.

Agile prefers the first.
This has been a long standing practice for pilots. Operators would have the pilot sign a training contract requiring either repayment or some number of years of service. The reasoning is most operators will spend $20-30k+ getting a pilot fully certified for their aircraft and operation.

I successfully avoided any of those situations but the common knowledge was that you could walk away and tell the prior employer to stuff it. It’s not worth their time and effort to pursue it beyond some threatening phone calls. I’m not a lawyer obviously.
I agree, except on the electric part. Where I live e-bikes don't assist over 25/kmph, and I'm always above that... until, my ride home. Which is steep hill, and I'm tired, and I just want to go home. As an all-rounder it's been the best bike I've had yet, I can do just about anything with it. Very utilitarian.

I ride a heap, I ride MTB, commute and also a gravel bike for fun, so I feel no shame getting that e-assist on the commute. I don't need it for the fitness, I'm just getting to work!

One of the big benefits of a gravel bike is indeed the tires, they can be tubeless so no more annoying pinch flats, and they can be run at really comfy pressures depending on your personal preference.
Big gaming companies get DHS help to keep players from becoming terrorists
Yeah, but I clearly remember there are 2 types of NVMe drives, the old sata based one, and the "new" one.
Inflation is the highest it’s been in nearly two generations.

Why do you believe holding cash is a good idea?
Maybe CSS is evolving toward TeX?
You cut out the words “statistically speaking”, which entirely change the meaning.
Inotify (and various equivalent change notification mechanisms on other systems) is probably ideal, but needs a fallback for a cold start. If a cold start isn’t the common case (as it is in Make), using slower cryptographic hashing instead of less reliable mtimes might be a good tradeoff. But I don’t think you could marry this to Make without major surgery. (Tup, mentioned elsethread, is this + automatic dependencies based on syscall tracing.)

This is not what the article is about, however,—it’s about building a build-input-addressable artifact cache that can be shared across machines, à la Bazel or Nix. (That Nix is a build system—and NixOS is a distro built on said build system, the same way that Gittup is built on Tup, the BSDs on Make, or Gentoo on its thing—seems to be a well-kept secret. The distinguishing idea that in that case “build artifact cache” = “binary repo” is brilliant, though.)

What I don’t get is what purpose Make serves in the context of the article: when the build process turns a whole bunch of files into one with no intermediate steps or separate compilation, it seems a plain shell script would do just as well as Make + auxiliary shell scripts. You could perhaps obtain some more structure (less strict source ordering?) with Make, but the article doesn’t seem to do that.
> By foregoing on training, they can free ride off of the training the subject employer paid for.

Boo-hoo. Companies benefit from things they don't pay for all the time. Not to mention pushing their externalities (like pollution) on the rest of society. Trying to capture all the benefits of money you invest while dumping your costs/externalities on others is the definition of greed. If you had a friend like this, they wouldn't be your friend for very long. But we seem to tolerate it from our "corporate citizens".
I think these things make sense where intended. My last employer will pay for a graduate education - you’d get a decent MBA or other degree and pay nothing. They’d even give you time off for certain things.

In exchange, they wanted a 30 month commitment post graduation. I think that’s fair and very much employee driven.

The problem is when you apply this to unskilled labor. “Training” someone at Petsmart in how to wash and trim a Labrador retriever is a basic task and nobody should be on the hook for that.
Zenith TVs were pretty great but I don't recall any Made in America-ism around them. The only comparable/better TVs were Sony Trinitrons and they were more expensive.

I owned some of both. The last TV repair store in Manhattan (NYC) closed up around 2007. It was on 14th St around 1st or Ave A on the south side of the street. I'd had a beloved Zenith TV repaired there just a few years prior.

There's still a guy in California who repairs the broadcast monitor versions of Sony Trinitrons, which were still in pr. He's retired, but has a bunch of parts and still repairs these monitors (mostly for gamers) to keep busy. Sony stopped producting those tubes in 2004.

Interestingly, Sony's Trinitron equipment ended up getting sold to a company in India that's recycling CRTs. I believe they also tried making new ones but it turns out making quality tubes is practically an artform and requires deep skill that nobody left working has.
Same here, different set of 8 or so languages I cycle through. I stopped caring. From time to time I'll make a silly mistake like using "def" in rust instead of "fn". The highlighter or the compiler will shout at me, I'll fix it and move on.
I’m sorry but Jan Heine has unscientific methods and his products are of questionable reliability. You can drop 200usd on his tyres. It’s like hifi nerdy but for rubber.
> - using no glue or snaps

What's the reason to avoid snaps?
The font looks atrocious without enabling antialising (which I abhor). Compare the headlines text with the menu bar image at the top left of the page: https://i.imgur.com/0MDGYpn.png

Taken on Windows 7/Chrome
> Hard to imagine how to solve it without surveillance.

Really? Hopefully not

How about giving support for people who need it? How about giving teens options to do something else than roam the streets and gang up? How about giving support to stop generational drug use? How about showing these kids that they have a brighter future ahead if they choose to act on it? How about figuring out how to fix the massive polarisation of opinions, beliefs, income, opportunities etc.?
I would say any compression is abstraction in a certain sense. A simple example is a gradient. A lossy compression might abstract over the precise pixel value and simply records a gradiant that almost matches the raw input. You could even make the argument that lossless compressions is abstraction. A 2D grid with 5px lines and 50px spacing between them could feasibly be captured really well using a classical compression scheme.

What AI offers is just a more powerful and opaque way of doing the same thing.
The word "rule" doesn't imply how old or recent it is (most rules aren't things like "rules of physics", they're things that governments, parents, bosses, teachers etc. make up quite regularly).

The rule (in this case, rule of law) that forbids slavery is pretty modern, surely that doesn't make it any less important?
I can take a copy of linux and modify it to produce a kernel that can't run anyone else's binaries.

This is irrelevant to the essentially infinite value created by linux being open in the first place. You still have access to the same linux I started with to make my custom one. I didn't need anyone's permission to modify it for my purpose, and you don't need anyone's permission to take my same starting point and 99.99% of the engineering in my product.

This is just from the basic availability like MIT/BSD where I don't have to give back, not even counting the extra boost that gpl or cc-sa creates.

I don't think immediate interoperability is a very important part of this. It's already good enough that the open nature makes interoperability possible if anyone happens to need it and aren't getting it from a vendor. Same goes for things like extended support or adding or removing features. If a manufacturer stops selling a chip you want, or triples the price, or adds hostile features, or any of the other ways manufacturers use to control consuption, anyone else is able to start supplying the same thing.

It still costs resources to do it, but there is no artificial block because of patents.
The problem is the ""good"" kills should also be regarded as failures of the system in a lot of cases.

> They don't want the rate to be low, they want it to be zero

Well, yes. "Thou shalt not kill" does not have an "unless you're a cop" footnote. There is no acceptable number of your children you would tolerate the shooting of.
In the real world a relational database is the single most useful tool short of a compiler/interpreter. SQL is anachronistic but still works well even if its a pain.

My advice: avoid MySQL like the plague. PgSQL and SQLite is all you ever need and all you ever want.
> "Innocent until proven guilty" is not just a legal concept but a social norm.

I think the question is whether it ought to be a social norm.

What do you think of Prince Andrew? Hasn't been proven guilty. Should we just go about our business with him as usual? What about everyone else who settles a case?

I think of "Innocent until proven guilty" as a sort of viral trope. People think it's the norm, so when the question comes up, this phrase appears in their minds and is the first thought on justice. But I'm not sure it's a good norm, at least I have yet to hear arguments about why we should follow it, especially outside of the legal realm.
> Have you ever heard of "innocent until proven guilty"?

In the criminal court of law, that's the burden of proof. This is not it.
Funny, I don't see many Europeans buying this story
offline / in-person
Sometimes a job is just a job. It puts bread on the table. Nothing more.

Most people aren't working on something they care about.
The last Euro change was in Aug 2021 when it decreased from 1.09€ to 0.99€. The Euro/USD was at about 1.2/1 then, where as now it's at parity.
This kind of already fits a little bit with how the brain processes images where there is information lacking. Neurocognitive specialists can likely correct me on the following.

Glaucoma is a disease where one slowly loses peripheral vision, until a small central island remains or you go completely blind.

So do patients perceive black peripheral vision? Or blurred peripheral vision?

Not really…patients actually make up the surrounding peripheral vision, sometimes with objects!
Nah. When a company says "The training budget this year is zero" - it doesn't matter how good my immediate manager is. They can't fix that for me.

That's not me leaving a manager. That's the job abandoning me.
No, the hardest part is likely to understand statistics, have data on cheaters and non-cheaters, analyze the differences, develop and test your methods on validation data, iterate on your process etc.

>includes having the entire tree of variations for every position in your mind while investigating

Too bad even Magnus can't do that and the closest you can get is by writing software to do it for you.