skysight-inc/HackerNews huggingface dataset:
It is not not uncommon for enterprise focused and traditionally hardware-strong businesses to try to pivot into SaaS as a way to bolster their revenue.
I imagine that's part of why different programming languages exist -- IE you have slightly less footguns with Java than with C++.

The problem is, the nature of writing software intrinsically requires a balance of art and science no matter what language it is. That is because solving business problems is a blend of art and science.

It's a noble aim to try and avoid solving unnecessarily hard problems, but when it comes to the customer, a certain amount of it gets incompressible. So you can't avoid it.
Maybe you'd like to try us out at https://3scri.be. Like I offered above, if you'd like to sign up and drop us a line at support@3scri.be mentioning this thread I can add a hour on top of the 30 minutes trial.
How about we throw Clean Architecture in this while we're at it. And also realize that the only rule in SOLID that isn't defined subjectively or partially is the "L".
Has anyone done a comparison with Minix 3? What are the (dis)advantages to a new microkernel rather than building on Minix 3?
Headline: "NATO says Russian aircraft violated European airspace nearly 300 times in 2019"

Article: "NATO jets intercepted Russian planes flying close to NATO airspace nearly 300 times in 2019, an alliance official said"

These do not mean the same thing.
My information is different (e.g. Greenwalds account: Without enough fuel to fly an alternative route, the Bolivian pilot was forced to make a U-turn and land in Vienna.)
Yes, a plastic guard creates opportunities for catching fingers and clothing, but (unsurprisingly) people think this is preferable to their child's head getting caught in the treadmill[1]. A child was killed by one of these things.

It is absolutely a massive design flaw that this treadmill lacks a protective guard and/or an automatic cutoff that triggers when it sees an unexpected level of resistance. You know, like if a child's head gets caught in it.

[1] https://www.youtube.com/watch?v=onXNnlCYJ4Y
I didn’t and don’t appear to be able to downvote, but your comment appears super orthogonal to the title subject, far enough afield to be considered trolling or just trying to drag Pelotons name through the mud in unrelated discussions. That to me would be what I would speculate led to the downvotes.
He wrote what he knew, and he dedicated time to knowing more.
The sooner the "we" stops pretending to care, the better for everyone involved. The environment is going to take a beating for as long as humans walk the earth. No one here actually gives a rat's tail about the environment. If we did care we'd have to talk about accountability and we all know where that road goes.
Apple is moving in the opposite direction in macOS, so I wouldn't hold my breath on them choosing to do this whatsoever. Sideloading goes against their entire iOS app philosophy.

This would also mean that Facebook would start sideloading and attempt to circumvent any of the tracking/privacy enhancements they've built in to iOS.
Reuters seems to have reposted a shorter version of the .by statement. They should have waited until Lithuania publishes their transcript or some amateur listening station releases their audio recording.
Mental Canvas–Reimagining Drawing for the Digital Age
Hinting a dark matter nature of Sgr A* via the S-stars
Well what does violating the airspace in pursuit of the passanger plane achieve in this case? Of course the implication is that the MiG could have shot them down.
Disclaimer: I am not a security expert! This is my layman's attempt at mentioning a common vulnerability too many programs have but not enough knowledge is spread about it. It's easy enough to mitigate in most apps but I don't think most do.

I know this isn't directly related, however one of the vulnerabilities is prototype pollution [0], a deceptively simple technique that I think so many apps are vulnerable to. It goes like the following:

- Get an application to serialize or take `__proto__`, `constructor` or `prototype` as an input so it's a key on a JS Object

- Serialize its value to something nasty, like `'{"auth": {"name": "user", "password": "pwd"}, "message": { "text": "", "__proto__": {"canDelete": true}}}'` [1]

This high jacks the prototype of the object and adding those specified properties. If you do things like deep merging of objects on data, you are susceptible to this without the proper guards in hydration / rehydration. The mitigation is simple: don't allow objects to have `constructor`, `prototype`, or `__proto__`. You can delete them by customizing JSON.parse (by passing a reviver [2]) or using something like `mergeWith` to skip these keys

A similar vulnerability exists with `constructor` and `prototype` as well [3]

[0]: https://portswigger.net/daily-swig/prototype-pollution-the-d...

[1]: https://github.com/Kirill89/prototype-pollution-explained

[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[3]: https://shieldfy.io/security-wiki/prototype-pollution/introd...
Which forum?
That's nice but, seeing it's backed up by investors, what's the monetization plan for this? I don't think people will pay for support for such a tool so selling binaries or extra features to paying customers?
Drivers say they are getting paid pennies, and riders are saying Uber is way too expensive now. What the hell is happening?
That’s mostly because you live in a society which doesn’t value burials or the afterlife and which worships information, which must be acquired at any cost.

No ancient Egyptian Pharaoh would be happy with being dug up and placed in a glass box in a museum. They didn’t build the pyramids because they were bored or wanted people to visit them as tourist attractions. To the very real human beings of ancient Egypt, becoming an anthropological exhibit would be deeply troubling, a massively negative outcome.
https://www.vultr.com/?ref=8372242-6G

$100 USD in free credits if anyone interested.

Disclosure: Affiliate link to secret promo.
On signup page, you need to stick valid payment method in. (customer must link a valid credit card or Paypal method to be eligible for the $100 credit)
The radio exchange with Captain Sully is burned in my brain.

Departure control (15:29:21): Cactus fifteen twenty nine turn right two eight zero, you can land runway one at Teterboro.

[...]

Sullenberger (15:29:25): We can’t do it.

[...]

Departure control (15:29:27): Kay which runway would you like at Teterboro?

[...]

Sullenberger (15:29:28): We’re gonna be in the Hudson.

Departure control (15:29:33): I’m sorry say again Cactus?

Stone cold and matter-of-fact!
>because they answer to a board and the board answers to shareholders.

Because customers will purchase alternatives that are 5% cheaper.
That feedback paints a really clear picture in my head as to how you see us falling into the larger ecosystem; thank you!

I'd love to get more clarity into the "advantages" of each type of solution you mentioned above. When would you use a headless CMS vs. a static site generator with a custom template?
> Russia and Belarus are very close allies. I doubt anyone who is at risk by transiting in Moscow would be safe in Minsk

You cannot really call them allies. Better to say its Beijing, and Pyongyang type relationship.

Lukasenka can't even sneeze without Kremlin's approval.
Microsoft Build 2021 (Day 1)
A Meta Consequence of Remote Work
> That’s like saying Apple has a monopoly on laptops.

They do have a monopoly on MacOS computers, some software requires to run on MacOS, in such cases users have no choice at all.
I always hesitate to praise new plants in the US. They added a Sketchers distribution center in my home town and they just closed the other locations laying off a ton of workers. It was so automated it replaced a couple other plants with less than half the workers that were laid off. With the tax breaks it was given, it was a net negative for the city even accounting for the jobs it "Made".
Governments can't feasibly sustain themselves without taxation. Apple already drives industry-leading profit margins on their hardware side, so nobody's really fooled when the largest company in the world complains about how hard it is to turn a buck.
> Just as an example, if I wanted to get a list of every song I liked on Spotify and import it into Apple Music, how would that even work? The songId of Spotify is undoubtedly different than the one Apple uses.

Artist + Song Title (+ Album and track number, if it's from an album) should be enough to disambiguate in enough cases for someone to consider this "portable".

Beyond that, we have music fingerprint IDs that a service could output in the data dump along with their own service-specific ID.

> Are Apple and Spotify supposed to agree on a common file format?

For something as simple as this, yes, absolutely they should. It's bonkers that they don't and wouldn't, aside from garbage anti-competitive lock-in reasons.
Compare it to the world population. It's currently about 7.8 billion. So if 50 million years are lost in total, everyone lost on average 50 million years / 7.8 billion ~= 2.4 days of life.
Foxconn has a long history of doing exactly what they did in Wisconsin - over and over and over again. That's ignoring the fact their initial claim of investing $10 billion was absurd on its face.

Peloton has a very real financial incentive to do this. Treadmills and bikes are HEAVY, and as they called out in the article the demand has outstripped supply and rush shipping from overseas has been extremely expensive for them.

Foxconn's reasoning was essentially: we don't want to be caught up in Trump's trade war so we'll say we're building this factory and get a bunch of tax breaks.
I've seen juniors with better judgment than "seniors".

But they were not in the same comp bracket. And I don't think they gravitated in the same ecosystems so to speak.
How often do you guys do really crazy stuff with git? I do some rebasing (interactively and not) and some cherry picking, very rarely do I touch reflog (in which case I do use the CLI).

What kind of race car stuff does git CLI offer that makes you have to go through weird contortions in magit :)?
> I know you don't _like_ documenting, but thats not the point.

On the contrary, I like writing documentation. What I can't stand is unnecessary documentation; documentation of obvious things; documentation as a replacement for self-documenting code; documentation for a vague ill-defined future use-case that probably won't exist (YAGNI); and many of the other documentation failures I've already mentioned. It has nothing to do with my professionalism. It has to do with wasting time and energy and using it as a crutch in place of more valuable knowledge transfer mechanisms.
I've been a unix user for more than 2 decades now and have seen many of projects like these. And I've dismissed all for the simple reason that they don't fix the problem at its roots: getopt et al should be instrumented to provide valid completions for all unix commands. A layer on top is destined to be out of sync with the actual implementations soon. We only get one more level of indirection, one more abstraction layer that can go wrong. I simply don't get it.
I agree.

Despite approaching this from completely different angles I think we're roughly pointing in the same direction.

A pragmatist would allow for a strong baseline of good practices and automated rules, with some room for discretion where it counts. That way, no one gets bogged down in exhausting debates, and people who work better with strict constraints can avoid ambiguity, but you can still bend the rules with some justification. I don't like all of the rules, but it's easy to fall back on the tooling than it is to hash out another method length debate.

As far as maintaining code goes, I've had the (mis)fortune of dealing with overly abstracted messes and un-architected spaghetti. I'm not sure which is worse, but what I rarely have to deal with now is all the crap that is auto-formatted away.

If I'm involved in any debate, it's around architecture and figuring out how to write better code by properly understanding what we're trying to achieve, rather than trying to lay down Clean Code style design patterns as if they were Rubocop rules.
Without paywall:
https://arxiv.org/abs/2105.06301
> my lived experience as a person of color working at the firm was consistently negative. So many traits of white supremacy culture were rebranded as professionalism. Perfectionism, a perpetual sense of urgency, paternalism, power hoarding, fear of open conflict, and individualism were proudly on full display.

This has to be the fastest way to discredit oneself. None of these cultural issues have anything to do with race. This seems like just another instance of shoehorning race into everything because it's the issue of the moment, and I think it does a disservice to actual race issues and those who genuinely care about them.
Yep different cultures have very different ways to signal these things. For instance in Vietnam my understanding is that Hairdressers are often sex workers, but in the US that is not the case.
Not if those CPUs share one cache!
Now I'm getting ads for my mom’s toothpaste brand
I suspect few people actually want to work at manufacturing factories
Part of the cynicism is that we've seen announcements like this before get quietly abandoned once the fanfare fades away. Apple was making Mac Pros in Texas... then they stopped and moved production to China. Microsoft was making the Surface Hub in Oregon for a little while... then they stopped and moved production to China. And don't even get me started on the Wisconsin Foxconn fiasco.

Cynicism is a perfectly justified response to announcements like this.
In other words, we agree "shall not be infringed" has exceptions, and are just haggling over where the line is.
"real security" means security that is not dependent on secrecy of implementation to remain secure. In the context of this post, it means configuring key-based access and disabling password-based access. If you do this, then the security-by-obscurity-based technique in the OP is unnecessary and redundant. Could key-based SSH access theoretically be cracked? Maybe (probably not, but let's say maybe for the sake of argument). But if so, a rotating listening address is probably no obstacle to an attacker of that caliber.
I know the phrase gets overused but that would be a prime example of virtue signaling.
Thanks for the advice! We have a telemetry opt-out which turns this off.

Currently, we would still send a daily ping so we can track retention, but after the feedback from HN, we'll turn this off as well.
That's exactly right. Apple is the users' union that protects them from developers.
Is this specific to Ryanair? I imagine a plane not landing at the intended destination airport is much more disruptive than being late to that destination. E.g. passengers waiting at the destination airport for a flight involving that incoming plane, different airlines having only a fixed number of gates leased at a specific airport, etc
Didn't realize Hackaday and Tindie were making $70m in revenue. Siemens seems to have good track record in other acquisitions in EE space. I guess they're trying to go up against Arrow, Avnet, etc
The phrase, "don't blame the player, blame the game" comes to mind. Not that I fully believe that, but it's so easy to get a prop on the CA ballot that you get this sort of total nonsense every year. Sometimes it passes.
Clearly violates the commerce clause. No chance of this sticking, even with the current courts.
I’m surprised they don’t already have a North America facility for final assembly. The idea of shipping finishes treadmills and exercise bikes just seems impractical and expensive.
I am actually not convinced it is that different. Method is perhaps different, motivation and effect (had Snowden been on board) is quite similar.
And yes, the threat to the flying airplane is the same: it would be a shame of something happened to that nice plane of yours in our airspace.
I’ve responded to a few of these “share if you’re downvoting” comments and usually they’re just a vehicle for an argument.

But whatever, I’ll do it this time too. I downvoted your comment because it bored me with how repetitive the idea it expresses is. I don’t need to go into every Apple thread and be reminded they have a walled garden, every Microsoft thread and reminded of their antitrust stuff, every Peloton thread and reminded of the treadmill. It was mainstream news in the US, dude.

I have only so much time and I don’t want to spend it reading the same thing over and over again.

Hence a downvote for boring me.
Belarus is the last Soviet satellite.
No, it isn’t, it’s being realistic. Human beings aren’t going extinct because of climate change, nuclear weapons, or anything else. Some people would survive and they would inevitably repopulate.
That might have become more true recently because of the Racket-on-Chez compiler, but until then Racket was in most cases slower than Common Lisp because it wasn't AOT compiled to the metal, which Common Lisp is.

I also like CLOS (the Common Lisp object system) better than the object systems available in Racket, as well as Common Lisp's macro system. But that's just personal preference. The existence of Typed Racket is pushing me to explore Racket more.
Primer: /dev/random Random number generation
The model has never been economically sustainable, and it only thrived due to subsidies from venture capital.
You're right in a sense, in that even really hairy decode problems like x86 only add 15% or so to a core's overall power usage.

But on the other hand verification is a big NRE cost for chips and proving that that second ISA works correctly in all cases is a pretty substantial engineering cost even if the resulting chip is much the same.
I don't agree with the comments in question but downvoting them to oblivion is a bit harsh and uncalled for. It's like that scene from the high school movie trope where a group of kids tells another kid they can't sit at their lunch table.
I think it may be harder still: typically, when writing against a third-party API, I usually consult that API's documentation. The documentation thus becomes a part of the abstraction boundary, a part that isn't expressed in code.
Is there a way to supply a PeriodicWave a specific wavetable or series of floating points to represent the wave form? It appears from the docs that PeriodicWave is a way to generate waveforms by shaping sinewaves

One problem I've had in the past trying to do audio on the web is I struggled to find any reference material on how to generate my own waveforms and rely on the browser APIs only for playback. This tutorial, with the AudioWorklet, is the first piece I've seen on how to easily do this.
Shareholders getting paid?
Not sure what went wrong and I'm not sure about the exact measurements but your synth has huge input or output latency, maybe around 100ms or something like that? Other WASM/web synths I've tried doesn't suffer from the same problem.

Otherwise it's a nifty little toy, thanks for sharing :) Lots of fun.
Foxconn didn't get paid cash up front. The tax breaks are on earned income over the next several decades. They didn't earn any income. They didn't get any tax breaks.

Yes, the state of Wisconsin sunk some money into infrastructure in the area, but that just means infrastructure got built in Wisconsin. That's not profit for Foxconn.
> My primarily concern with Apple is their lack of ability to weed out scam apps from the App Store.

Apple weeds out a huge number of scams from the app stores. Their ability to do so is enormous.

Removing Apple from the equation would massively increase the number of scams.
Exactly. Having data leave our network (major corp environment) is a huge issue. Even when we are working with vendors, data comes in, but rarely, and only with many levels of authorization does it ever leave.

Any tool that is sending any information to the cloud is DOA for our org.
NFTs may be a way for open source developers to make some money off of their work. Linus Torvalds could make a few hundred millions by selling an NFT for Linux, considering a JPG file sold for $69 million [1].

[1] https://www.nytimes.com/2021/03/11/arts/design/nft-auction-c...
It's a good reason to always default to "NO" for propositions that you know nothing about.
Is code just a byproduct of specs then? Any thoughts on literate programming?
Each needs to define an autocomplete script.
oh-my-zsh provides plugins that do that for common tools like git.

Those scripts are usually supplied by the CLI tool itself. For example for terraform: https://www.terraform.io/docs/cli/commands/index.html#shell-...
Just two weeks ago, I've been in talks with a co who is in the process of building a car factory, and possibly a second one in a few years.

And not of a OEM kit assembly type, but a proper on with body shop, and everything. Price? A bit more than $110M
Is there any book about this phenomenon, that people spend fortune on memes?
As I understand it from the context - if you make yourself able to find flaws, you'll constantly find them, or think you have found them.

If it's something you love, it may make it your enjoyment a bit less.

For me, it's why I don't watch my wife pop zits in the bathroom. It's nice to not know about those flaws. :)
As of this writing, the majority of root-level comments are some mix of extreme cynicism and knee-jerk reactions. But you're right, at least they're downvoted.

I think the reason is that most of HN is not very knowledgeable of manufacturing generally (one commenter was shocked at spending $400m on a factory), combined with hatred for Peloton (for whatever reason) specifically.
Letterboxd is a shining pinnacle of a website for me. It's more or less unchanged in the 7+ years I've used it as their product is so good that they don't feel the need to change it up to much. This is so counter to most other websites and social networks where there's a disastrous rebrand every 3-5 years.

All they've added is solid features that add value to the product without ever touching the branding or core platform that has been working for them for so long
In my view it’s because democracy is somewhat orthogonal to capitalism or collectivism, and masses are easily controlled anyway (they can live with the illusion of being in control). A democracy loses something central to the concept when a restricted group has a very concentrated power (be it political, as in the case of pure collectivism, or economic, as with pure capitalism). In my opinion there can’t be true democracy when there are strong imbalances in a society, even when there are regular democratic elections.
It won't recover, our species won. It'll be just us, and whatever we eat and keep as pets. So prepare for a world of cats, dogs, cows, chickens and pigs.

I don't like it but that's the natural course we're taking.
> If you told this to an Apple Engineer, he'd look at you in the eye and tell you that the iPhone isn't for you and to buy an Android.

Easy solution for Apple then: stop selling things labelled as "pro". I was already burned when I bought the 16 inch Macbook Pro, which was a shockingly incapable and undocumented device. Lenovo provides better documentation on their entry level laptops than Apple provides for their Pros, despite the order of magnitude difference in price between both devices. So to the "Apple Engineer" out there, I'd encourage you give people the choice anyways.

In other words, North Korea doesn't justify their atrocities by telling the rest of the world that their culture "isn't for them". Apple is no less accountable for their own product line, particularly when they're some of the most profitable electronic hardware being manufactured right now.
Speeding up compilation itself is one approach to the latency issue. And there's also the idea of blending compilation and interpretation using e.g. https://github.com/JuliaDebug/JuliaInterpreter.jl .