skysight-inc/HackerNews huggingface dataset:
Unfortunately all programming languages are flawed. It's kind of funny how we still have no programming language that does everything to a satisfying degree instead of having one major wart that always means that a different problem requires a different programming language.

There are not many languages with a lean runtime. The JVM needs a lot of memory even if you have 0 bytes of heap usage. Javascript applications are often tied to electron.

There are not many fast languages that do not cause security issues or cause hard to debug segfaults. The two obvious choices are Rust, Java (or C#) and maybe Go. I personally set the cutoff point for fast enough to be Javascript with v8. Not everything needs to be fast enough to be used for a game engine but at the same time I don't want to CPU or user time on gross inefficiencies.

There are not many modern languages that everyone agrees to use. Javascript is the pinnacle of this because people are forced to use it. The JVM suffers from having too many languages. Kotlin is the only winner but I am still bitter about that one JVM language that died. I don't know why but Rust is one of the most hated languages on HN.

There are not many easy to learn languages. C++, Rust, Haskell, Scala all tend to suffer from the ability to write convoluted code bases that nobody understands. People become experts within their own small islands. Java EE also had a phase where everything was done with impenetrable xml files that were getting closer and closer to turing completeness. Java and Go are both a direct response to C++ being too complex.

All easy to use languages (primarily JVM languages but also many interpreted languages) fail because they are not fast and lean and nobody uses them.

All fast and lean (=low level) languages fail because they are too complicated or suffer from security problems.

The answer? I don't know. I thought graalvm was going to solve this with it's native image mode but my preferred JVM language doesn't run on it. I'm hoping that Java will be good enough if I'm going with a slightly non standard setup (immutables). The lack of reflection means that you have to avoid a lot of libraries. Ecosystem advantages are disappearing if you go down this route.
Yep. Exactly the same reason we break up procedures and functions into smaller units in procedural code, to be able to reason about individual pieces, and understand each step.

I've never used Pandas, but I imagine I'd have the exact same instincts to break calculations up as you do, since Excel was my "first programming language" that I was first exposed to in the 4th grade, haha. I certainly didn't learn much advanced stuff at that point, mostly because of the time period and being in a rural Midwest area there weren't a lot of programmers around to learn from and the internet was rather different in the mid 90's. :) But Excel planted the seed of programming in my mind, even though I didn't know what "programming" was.
> The county health department noted in a statement that film crews are regularly tested for the virus and that, unlike at restaurants, people do not mingle for “extended periods of time without their face covering.” Audiences are not allowed at film sites under the county’s guidelines.
A suite of open source tools that help organizations collect and manage data
> US has a culture that knows that resisting the change isn't way to stay as #1

Are you kidding? This is the country that avoids the Metric system remember. https://en.wikipedia.org/wiki/A_Metric_America oops.
HN rules state "use original titles." And there's a character limit.
There is a logic explained in the article.
This is corporate restaurant (cafeteria) with employees routinely tested & little churn.

If office restaurants are opened that seems logical.
I work in TV, in an environment that's very strict. We're tested up to 4 times/week (I have friends who are tested daily), asked not to use mass transit, and many of us work so many hours that we have no time to do much socializing outside of the group of people working for the production who are all in the same boat. It's really the only place I go where I feel perfectly safe. Even when unmasked to eat, we don't sit together, we're always socially distant.

Contrast this with my friends outside the business...they're going out semi-regularly, have only been tested when they want to see their family or get out of quarantining for 2 weeks after travel, think nothing of eating in the outdoor huts that are slowly getting more and more enclosed as the NYC weather gets colder. I'm very sympathetic to this woman and all restaurant owners in general, but the situations are not the same.
I had had some pretty positive experience with docker-in-docker running in podman for ci/cd until podman v2 was released. Then I started getting a lot of weird crashes and segfaults and ditched podman.

Yes, you read it correctly, running privileged docker-in-docker containers with podman to spawn docker containers in dind containers. The good thing is that networking was handled flawlessly. And there were no conflicts between docker and podman
How does this idea apply to mobile networks? Would it require access to cell tower infrastructure to work?
I second this, we've been running Docker Compose in production for years and love it. It's massively simplified our production environment, and for a company that only serves 100,000-1,000,000 monthly hits it's the perfect middle ground. We've tried k8s several times and have always ended up going back because we didn't need the complexity.

We even run compose v2.4 to retain the ability to set container memory/cpu limits and define startup order with healthchecks because we don't need the complexity of swarm and v2.4 provides everything we need. Sometimes simple is best.

I personally use compose to manage services on my own laptop and homelab as well, it just has the massive advantage of being the greatest common denominator that everyone can pick up in a few days if they're familiar with basic container concepts.
Its much easier than the legacy garbage that many office users are stuck with.

My guess in my organization (huge, 100k people) we probably have ~50 FTEs who do stupid work solely because of this feature not existing.
> You'll also be a bit bored

I don't understand. Am I the only one around here who gets a kick out of watching my software perform like a well-oiled machine?
Everything looks hard if you lack the fundamental knowledge.

Doesn't mean that the tool itself is complicated, and spreading propaganda is plain wrong.

Instead, I recommend to read the docs, watch videos and, most important, try it out.
Fans break in a couple of years, so for my home Network Attached Storage I chose Raspberry Pi over a PC because Raspberry Pi is cheap and does not need a fan. I use the Flirc case (mentioned at the bottom of the page) to dissipate any heat the Pi does generate. It seems to work well. I run Samba, MySQL, Docker, Jenkins and so on just fine on my 8GB Pi 4, without needing a fan.
I was under the impression the primary use for ORM isn't because SQL is complicated (it really is not) but rather because it is embedded in strings and therefore un-testable and opaque to the compiler.

And the complexity of SQL to someone who already codes is marginal. Here in Excel we are talking about the complexity to someone with no coding experience.
I like the Fargate model. It's far lighter and easier to work with than EKS. I haven't tried GKE so I can't speak to that comparison.

All I've ever really wanted is: "take this container with this config and auto-scale it for me".

Of course it should also be run in a private network, have blue-green deploys, auto-restart containers on failure, have geographic redundancy, etc. etc. but I don't want to have to think about any of that.

Fargate gets reasonably close to this ideal.
> Even more depressing is that macOS still doesn't seem to have native containers.

Docker containers are reliant on Linux cgroups, so even if macOS had its own native containers, it would need to add a Linux cgroups compatibility layer on top of it for Docker to work natively.
At least when I was growing up, we burned them after Christmas. Wouldn't that release the carbon? I guess some of it's still left over as ashes.
Gilead’s revenue rises 17% driven by sales of coronavirus treatment remdesivir
Show HN: A physically based, CPU-only path tracer written in Rust
I use Docker Swarm (basically multi-node Compose) in production, and am also really happy with it. It's an order of magnitude simpler than k8s, and perfect for small-medium scale deployments.

In terms of configuring your stack, you use regular Compose files, with a few enhancements available (such as better support for secrets). I love it!
It is, however, relevant to my claim—which you took such offense to—that it is virtually impossible to become a self-made billionaire. The Economist author seems to agree that capitalist class struggle will help the would-be billionaire, not just his ability (pace Graham) to Build.
It's not IPS: Asus gaming monitor with standard HDR10 support.
> The most successful "colonizer" has always been Microsoft! In most schools around the world the PCs are running Windows exclusively and you are taught how to use Microsoft Office tools.

Years ago I briefly worked adjacent to the MS education team.

One of their KPIs was how close they were to catching up to Google.

Chromebooks came in and swept the market. Microsoft was blindsided, I'm not sure how their efforts to catch up have been going.
I have used container based technology for about 20 years now, starting with Virtual Vault on HP-UX, and happen to know a couple of things about what containers are supposed to be.
An open source rendering engine like this can open doors for new products in simulation/training. Not having to write an image generator from scratch will sure be a huge time saver.
TransferWise also supports instant SEPA payments. The first time I transferred money to my bank in a different country and I received immediate confirmation I was mindblown.
A workaround for broken development practices.
GestureSign – Remap touchpad gestures or hotkeys
Very cool app to customise and change trackpad gestures/remap hotkeys/change touchscreen.

It's significantly easier than working with AHK scripts (although less powerful).
To be fair, the article you cite is from 2018, and the OP is from 2012 (if the arXiv dates are right).
How do you load balance across replicas? How do you shard across replicas?
“Why don't you put in the work to find a solution instead of demanding others do it for you?”

I think that’s what OP is criticizing the author for. It’s far easier to point out problems (especially when lots of other people have already written about them) than it is to suggest a solution.
The big difference between the two is that the film crew is likely tested each day before stepping on set and are also adhering to strict protocols. My best guess is that the seating is more separate.

> I work in film and can confirm that the cast and crew test 3x per week to be able to work. Only 2 people per 6 foot table while eating. Tables are actually 6 feet apart. Covid positive numbers in the LA film industry are about 1 out of every 3500 test. Also since filmmaker have to test negative to work most filmmakers, in their personal lives, don’t socialize with the outside world hence the very low positivity rate.
from /u/Alexis-in-Texas, https://www.reddit.com/r/CoronavirusCA/comments/k71v7w/outdo...

> My Roomate works on set for a network. He/everyone he works with are required to get rapid tested before they step on the set every single day. Anyone he comes in contact with on set has passed the same rapid test.

from /u/buffyscrims, https://www.reddit.com/r/LosAngeles/comments/k6y5f5/bar_owne...
I'll take this opportunity to share this cool video: https://www.youtube.com/watch?v=08K_aEajzNA
I'm a sysadmin and dev with 10+ years of experience, I've literally written my own cluster container management system, and I've spent probably a hundred hours learning and using kubernetes for months with dozens of services. After a few months I switched everything back to docker compose because it wasn't worth the complexity for our small sized company. k8s is not a magic bullet, it's an incredibly dense and nuanced piece of technology that is only the right solution for a certain class of problems.
How come people in Sweden don't use masks, run their lives normally and their Covid statistics are better than the ones in the USA?

Turns out the Swedish declared they didn't know how to deal with Covid, and by not knowing they decided the best course of action was to do nothing as far as lockdowns and other authoritarian measures were concerned.
Because, California has declared entertainment industry workers essential... so they operate with a special permit, and they do "get tested regularly", but frankly this is still a bit outrageous.
I actually just got an HDR tv too, in addition to the computer display... Luckily HDR wasn't a selling point for either decision. On the TV (samsung q70 qled) I just don't notice a difference on or off.
Different Career Paths in Programming
Meanwhile, Congress is working hard to ensure that we are all competitive.

https://zeenews.india.com/world/relief-for-indian-it-profess...

Into the arena for the glory of Rome, I guess. (“Competition”)
Here is a HN thread about the subject from last year: https://news.ycombinator.com/item?id=18837561

> A 2019 US academic study found "brain abnormalities" in the diplomats who had fallen ill, but Cuba dismissed the report.

BBC writes that "Cuba dismissed the report" but failed to mention that many others did too:

> The latest brain scans may provide fresh evidence of some injury, but the study was not without critics and some researchers have questioned whether there was any kind of attack at all.

> “Finding evidence of brain change doesn’t provide evidence of brain injury or damage,” said Dr. Jon Stone, a professor of neurology at the Centre for Clinical Brain Sciences at the University of Edinburgh, who was not involved in the study.

> Dr. Sergio Della Sala, a professor of human cognitive neuroscience also at the University of Edinburgh, in an email called the study “half baked.”

> He noted that 12 of the affected workers who had a history of concussion prior to going to Cuba were included in the analyzes. “In comparison, none of the controls declared previous brain injury. This in itself could cause statistical group differences,” Della Sala said.

https://nationalpost.com/news/world/scans-show-changes-to-br...

The microwave thingy is just so far-fetched. If such a weapon exists, wouldn't the US intelligence agencies already have developed it? Sounds implausible that China, Cuba, and presumably also former Soviet states, would have access to this super-sneaky microwave weapon but not the US.
I suppose the distance between being the sole provider, or having exclusive control over, office suite software and the 5 million businesses paying for GSuite as of last year? Or the 2 billion active GSuite users?

Lets make the unit of measure a paying business subscription. We will call them business units, or BUs. Microsoft Office is 5MBUs(mega business units) away from being a monopoly.
>I don't see what exists to be gained by explaining the function of a weapon that jeopardizes and frightens your diplomats.

Why would that be more frightening than releasing a report saying they were probably attacked by an unknown microwave weapon?

I think a radiation beam powerful enough to hurt people as described but able to avoid detection seems unlikely. Anything similar to interference is unlikely to cause damage.
I'd expect most things to work and have native versions by next year, with the notable exceptions of virtualization software and package managers like Homebrew.

Virtualization software likely will never be fixed if you expect an x86 guests to work. The hardware obviously cannot natively virtualize x86, nor can Rosetta cannot emulate privileged x86 code. x86 Docker images will also not work.

Homebrew itself will probably be ported to ARM by then. However, there will likely be a long tail of packages that won't have ARM builds for some time.
I was literally just thinking about this yesterday, and am so excited! CF Workers already run at the edge and have a globally distributed kv store... you could use this coupled with Workers and KV to run an entire site along with data storage fully on the CF edge. That would get ridiculously low latency, automatic https with termination in the same DC as the compute (whereas with Netlify you either use their CDN and https or you run it thru CF and have 2 hops), and the ability to run lambdas in multiple languages with CF workers. I’m going to have to give this a try as soon as it’s available.
Forget Snapchat, this app is the next big thing with teenagers
Couldn't agree more. compose is a wonderful tool that lets you avoid the k8s complexity if you don't need it.
No, you sue for false advertising, not the electricity.
Microsoft: Hey, we have this new feature. It's called Macros. You can execute any code you like and use it as functions in your spreadsheets.

Users: Great! Let's start using it everywhere!

Users: Hey! Our spreadsheets have become very slow and hackers break into our systems by executing arbitrary code in our spreadsheets

Microsoft: OK! From now on you will have to save workbooks that can execute arbitrary code in a dedicated file format, which will only open after showing 15 warning messages.

....

Microsoft: _Hey, we have this new feature. It's called Lambda. You can execute any code you like and use it as functions in your spreadsheets._
I wasn't suggesting that the actual code be in the README--that was laziness on my part--more in terms of what's used and expected output characteristics.

I would specifically want to know if I was using a library with a certain implementation, changed how it did its main thing in a potentially meaningful way (e.g. dependencies, formulas, character set, output length, etc). A README is a good place to document these points.
64bit support still appears to be in beta, really needed for the 8gb ram RPI 4
Curved origami offers route to making robots and other mechanical devices
The Death of Tony Hsieh: A Spiral of Alcohol, Drugs and Extreme Behavior
Yes, if the target is C++ then the whole output will be in C++, including code for GC operations, so you can directly inspect how this is translated. You can actually choose between several GCs for different needs: https://nim-lang.org/docs/gc.html

It's worth mentioning that by default all types in Nim are stack allocated, and you have full manual memory management to the same level as C/C++ but with better type safety and less boilerplate. The GC is only used when you tag a type as `ref`, in strings, and the 'vector' dynamic list type, `seq`.

The newer GC, ARC (not related to Swift's ARC), is similar to RAII - scope based, non-atomic, deterministic, shares memory between threads but not stop-the-world, and uses move semantics: https://nim-lang.org/docs/destructors.html

This makes the GC a nice to use addition for resource management but not a fundamental requirement or speed limitation.

In my experience the default (thread-local refc + cycle collection) GC is very performant already, but it's straightforward to write code that works entirely on the stack, or create objects that wrap manual heap allocs, or use custom external memory allocators. Passing `--gc:none` removes the GC entirely from the compilation target, for example if you're working with very constrained embedded devices with the caveat that less of the stdlib is available (currently).

The ARC GC (doesn't handle cycles unlike it's sibling ORC) is aiming to be lean enough to be used in hard realtime and memory constrained embedded systems. For hard realtime though I'd expect most people would just manually manage their types anyway on the heap or stack.

If you're doing interop between Nim and C++ and want Nim's GC to manage types that you're passing directly to pure C++ code, you can tell the GC that the data is still being used with GC_Ref() or not with GC_Unref(). There are a few libraries for C/C++ interop, such as: https://github.com/nimterop/nimterop

Personally in this case I would probably just manually allocate memory memory in Nim or C++ and not use GC'd types across boundaries for clarity if nothing else, still it's an option if your design requires it.

Finally, there is a tool to help auto-translate C/C++ to Nim with the c2nim tool: https://github.com/nim-lang/c2nim and docs: https://github.com/nim-lang/c2nim/blob/master/doc/c2nim.rst
For everyone saying "oh wow, we can go back to SVMs now, huge speedups, etc" - that's more than a little premature. This is purely a formal equivalence, but not very useful computationally.

The math here is pretty much first-year undergraduate level calculus, and it's worth going through section 2 since it's quite clearly written (thanks Prof Domingos).

Essentially, what the author does is show that any model trained with "infinitely-small step size full-batch gradient descent" (i.e. a model following a gradient flow) can be written in a "kernelized" form

y(x) = \sum_{(x_i, y_i) \in L} a_i K(x, x_i) + b.

The intuition most people have for SVMs is that the constants a_i are, well, constant, that the a_i are sparse, and that the kernel function K(x, x_i) is cheap to compute (partly why it's called the 'kernel trick').

However, none of those properties apply here, which is why this isn't particularly exciting computationally.
The "trick" is that both a_i and K(x, x_i) involve path integrals along the gradient flow for the input x, and so doing a single inference is approximately as expensive as training the model from scratch (if I understand this correctly).
I sort of assumed that if this is an RF weapon the attackers would just have a hotel room directly above or below the intended target, maybe even some structural modifications to the floor/ceiling.
Had the same experience and the compose equivalent was barely functional.
Are you saying that because of It's refusal of metric system, It has lost its #1 spot?
I agree and I’d go further that when possible having the student code their own solution would be far more educational than using a package/software someone else built
I'm aware of podman, which is more or less a drop-in replacement for Docker, but is there anything comparable to Docker Compose and Docker Swarm?

I use Docker Swarm (technically "Swarm Mode") in production, and I'm really happy with it - it's so easy to configure and operate, but I am worried that it will no longer be maintained at some point.
It is worth noting that the author is the same of a very nice book to popularize machine learning, “the master algorithm”.

https://homes.cs.washington.edu/~pedrod/
Microsoft tests new method to release Windows 10 features and fixes
How to Do a Flying Armbar
I see Bohemia, I upvote
> So if I make a man page for my CLI tool you would assault me physically?

What, and ... what?
Razer’s Tomahawk modular gaming PC is finally a real product
We're fortunate to live near a national forest here in Oregon where we can get a $5 permit, and go cut our own tree. They're not so 'perfect' looking, but it's a fun family experience.
There's no money in backends unless you have a great enterprise sales team.

SAS, Matlab, Oracle, Arc, there's lots of really boring backend systems with plenty of FOSS alternatives but you need sales.

If the customer is the developer, then they might ask their manager for a text editor with a nice UI. If the customer is the whole enterprise, then someone needs to wine and dine the CEO to get that $10,000 per core contract signed.