Better HN
topnewbestaskshowjobs
Log inSign up

Mathnerd314

3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions

Making the ultimate programming language https://mathnerd314.github.io/stroscot/

In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.

Submissions

comment 5y ago · link · parent

What it sounds like is that they don't have many unit tests for jvmkit. So rather than write extensive unit tests, they're using integration testing with all the dependencies. I guess it makes sense, network stacks are hard to unit test.

comment 5y ago · link · parent

There's no way to entirely avoid breaking compatibility. If you allow small API breakages then at least all of the team is aware of the possibility and designs their processes to handle backwards incompatible changes. If you design your processes assuming backwards compatibility then you'll run into the 1-in-1000 case where it's not possible and have to stop everything to handle the major update.

comment 5y ago · link · parent

Well, MLIR uses block parameters: https://mlir.llvm.org/docs/Rationale/Rationale/#block-argume...

That could just be a Chris Lattner thing, but he's one of the main LLVM developers, so...

comment 5y ago · link · parent

The point of that section of the article IMO was to say that you always want to err on the side of more operations rather than more types. When canonicalizing, it is easy to reduce operations to their simplest form, but changing the type of an operand is a global operation and hence is a lot more complex. And x86 has mul and imul instructions operating on general-purpose registers, rather than typed registers, so using more operations is closer to the assembly.

comment 5y ago · link · parent

If the issue was UI they could have changed the text to something like "Report scam" or "Flag app".

It's probably a cost thing, they didn't want to pay a team to go through the reports.

comment 5y ago · link · parent

So this is replacing one cumbersome and unintuitive syntax (MultiError.catch) with a slightly shorter syntax (try except*). Given the amount of verbiage in the PEP and this blog post I'm guessing it will still be unintuitive though.

comment 5y ago · link · parent

The marketshare metric. By this metric I think Apple is already losing, they stopped publishing in 2018 because it started going down.

comment 5y ago · link · parent

I see duplication as a good thing. For every app on the App Store there are 1.5 Android apps. These extra apps mostly likely do similar things, but they offer extra features or perhaps are implemented more efficiently. In comparison the Apple apps will not offer these extra features/performance, following a one-size-fits-all approach. The more diverse ecosystem wins, because people have never really prioritized eye candy over usefulness. Of course, economically Apple development is more profitable, the same way that COBOL development is more profitable than webdev, but this is only a short term effect.

comment 5y ago · link · parent

It's true that having a single stack makes things more efficient, but it also makes the process less adaptive. Although Apple seems to have a policy of buying out/copying successful software and integrating them into the OS, they can't buy everything. So eventually the more open/diverse ecosystem is going to have the better value proposition - a computer is a general-purpose device, and the less it can do the less useful it is. Of course this assumes Apple never gets market dominance where it surpasses all other companies combined, but phone sales are maybe 20% of the market and the laptop sales are only 8% of the market, so this doesn't seem likely to happen.

tl;dr 80 developers working on an open stack, even with coordination friction, are going to outperform 20 developers on a closed stack.

comment 5y ago · link · parent

If there are frequent shortages but it's a different part every time, then flexible manufacturing techniques like 3d printing that can adapt to the market and print expensive parts.

comment 5y ago · link · parent

The harder part is probably fooling all of the static analysis tools that get run on the kernel, Coverity, Coccinelle, Smatch, and so forth.

comment 5y ago · link · parent

BotMon is a "DDoS botnet C2 command tracking system". So I guess they're doing some kind of traffic analysis. https://ddosmon.net/faq doesn't say much.

"0 VT detection" means that no virus scan on VirusTotal detected it.

The ZDNet article is a little more informative with regard to the terms: https://www.zdnet.com/article/rotajakiro-a-linux-backdoor-th...

comment 5y ago · link · parent

Looking at https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletio..., it only became a notable scandal mid-February.

As far as information consumption goes, though, I think if anything I've consumed too much. I don't live in NY and the stuff happening there has no relevance to me.

comment 5y ago · link · parent

To paraphrase Jamie Zawinski: Some people, when confronted with a problem, think "I know, I'll use Git submodules." Now they have two problems.

The real issue is finding a home. Someone's personal dotfiles aren't really usable, maybe https://github.com/tj/git-extras or some project along those lines.

comment 5y ago · link · parent

> To address these issues, I added a custom .git/_incr_version script which can add additional logic on a per-repo basis, and updated semver to call this script if present.

The article mentions several problems caused by this. An alternative method would be to check the semver script into each project repository. This is the way things tend to be done with CMake modules. It does make updating all usages of the script harder, but these sorts of scripts change once every few years if that.

comment 5y ago · link · parent

So that means that if the technology gets 10x cheaper then it'll be economically viable for the affected parties to pay for carbon sequestration. Charm says they think $45/ton is achievable. I guess the conclusion is that climate change will be solved in a few years?

comment 5y ago · link · parent

I think it'll have to wait until a non-surgical BCI gets decent performance. The study in the article uses implanted electrodes - forced surgery would be a nightmare.

comment 5y ago · link · parent

The loophole is someone hosting a modified instance without publishing their source code changes. I don't think it affects data or APIs at all.

comment 5y ago · link · parent

It sounds like the real problem is that the debugger (windbg) isn't smart enough to handle inline strings. If they had used a more powerful debugger they wouldn't have been confused enough to write a blog post about it.

comment 5y ago · link · parent

They link this paper in the bottom of the article as a different approach from the one they're using.

comment 5y ago · link · parent

They call it backward or bottom-up but really it's middle-out: they start with valid AST, learn how to compile it out, then add a frontend that generates ASTs.

comment 5y ago · link · parent

> clearing your cache and cookies every day

A good extension for the cookie part is https://github.com/Cookie-AutoDelete/Cookie-AutoDelete - it deletes all cookies from a site after you close the tab.

comment 5y ago · link · parent

Indeed, JS was off as it usually is.

comment 5y ago · link · parent

"Please head over the documentation site" is a link back to the site. The ballad links to an old repo (fortunately Github redirects it) The all-plugins page 404's.

After giving up on the website I look at the code. It's a shell script. Wonderful.

I'll stick with Nix any day. Or maybe conda.

comment 5y ago · link · parent

For handling rollbacks you can use a normal layout and an A/B partition scheme (https://source.android.com/devices/tech/ota/ab) or apt-btrfs-snapshot. The problem with NixOS's approach is you have to rebuild the world on every small change, because the folder hash changes. GoboLinux's layout at least avoids the cascading rebuilds.

comment 5y ago · link · parent

> cornflour (ground corn, water)

comment 5y ago · link · parent

There was an old HN post about the NYT recipe tagger. This seems to be the most up-to-date repo: https://github.com/mtlynch/ingredient-phrase-tagger

comment 5y ago · link · parent

They're considering dropping i386, which is interesting. Does anyone know more about that?

comment 5y ago · link · parent

There Google explicitly said that they were recording calls and that the calls would be used for service improvements. Maybe there would be trouble if the recordings were sold (although the recordings are Google's property), but training neural nets like Google is presumably doing falls within service improvement.

comment 5y ago · link · parent

I think the story is to always benchmark first, and also to make sure your benchmarks reflect real-world use. What's dangerous is assuming something is faster without benchmarking.
1
171819
45