skysight-inc/HackerNews huggingface dataset:
> You must be referring to just the table at the top, not to the detailed argument below

Well, not entirely, because in my opinion the detailed argument kind of hand-waves away the entire git worktree. Continuously switching branches inside a single large Git repo is certainly a suboptimal way to work with Git, but most of the time one should be able to avoid that with the worktree (though the worktree stuff is, of course, not a miracle cure for everything).
Actually, my hand-wavy answer would be: "probably a lot more than you would naively suspect." :-)
>until the courts forced them to remove it

Citation needed. Steve Jobs was incredibly anti-DRM and it was only added because the content owners wouldn't license the music to Apple without it. Once the iTunes Store exploded and became a primary sales channel, Apple renegotiated their licenses and required all media to be DRM-free because, at that point, they had the upper hand.
I've been using Elixir professionally for the last ~5 years on over a dozen projects.

I was originally drawn to it because of its superior support for websockets. It can trivially handle shitzillions* of simultaneous connections and thus make fully realtime, dynamic web applications within reach of small teams of developers. Other languages _can_ do this, but with much more complexity and cost to host and develop.

Currently I'm working on a fintech API that doesn't use websockets :). Elixir is a great choice because its syntax is the perfect balance of being expressive but not dense. I find that describing a solution in my head translates almost perfectly to a series of functions. It's my go-to language for any task outside of scripting.

I'd compare the experience of using Elixir to drinking a glass of lemonade on a warm summer day. Everything seems to happen very easily.

* technical term
It seems odd to want to preserve the ordering among the surviving letters while still involving alphabetical order somehow. Those motives are usually mutually exclusive in the real world.

As an engineer, before starting to code, I'd first ask if the customer would prefer "abcd" or "cbad" for the second example, as either would be far cheaper in terms of development and maintenance costs to do. It's somewhat common to discover that they're just taking the "acdb" you're giving them because that's exactly what they asked for, and then they're alphabetizing it to "abcd" afterward on their end, anyway. But sometimes, there is a legit reason for the weirdness, and the customer is willing to pay for the extra effort.

Whenever someone seems intent on aiming at foot and pulling trigger, always ask "Are you sure?" and "Why do you want that?" at least once before helping them do what they want.

The "read hypothetical; code answer" type of test doesn't quite capture that like the interactive interview discussion does.
What do you mean? Your mouse does not scroll the site?
Are hardware RNGs, such as the ones that plug into a USB port, of any value when the RNG in Linux is good enough for generating GPG keys? I'm wondering what the use case is for people that buy them.
True. I prefer working for startups and tiny companies -- not because of the income potential (as you point out, there are better ways of chasing that), but because the really interesting stuff is almost always done by startups and tiny companies.

Small companies make it possible, large companies make it economical.
I meant the first thing, physically holding someone in prison.
> Tech work isn't like coal mining where your health is legitimately at risk on a daily basis

You sure about that?

No, a coal vein isn't going to fall on our heads and the factory isn't going to burn down with the doors locked.

We still don't understand inflammation and stress, but it's not looking good right now, and death marches put you into both.
Saw the same thing with Microsoft's xcloud. Apples to apples comparisons are pretty lackluster right now, but it looks like Stadia has lower input latency. That might be in part due to the controller connection design. People using their Xbox controllers are going through bluetooth, then their phone. Overall, the normal laws of physics latency caused by distance look to be deal breakers for a lot of players, meaning cloud gaming in general might stay niche for a lot longer. Stadia is getting the bad press because it's first to expose the issue what would affect all the services. Xcloud has the potential to steam from a local xbox which might make things a bit more interesting, but the whole thing is still in beta.
Of course you can make money making physical things.The only problem is you either make them premium or you have to sell zillions of units to make profit. We have "Apple" in every industry ( fashion, automotive, catering,etc.), however that's still only a handful.Making software is probably more likely to earn you tons of meney.
Any information about the inspections and studies conducted by those pilots who make the claims? They probably "should" learnt a thing or two from this but did they?
The iRiver H340 came out in 2004, the iPod came out in 2001. Apple basically had the world's entire supply of tiny hard drives on lock for a year or two, after that other players could finally compete in that form factor (contemporary MP3 players either had little storage or were almost walkman sized).
You mean "swipe in from left of screen"? Sure it might only apply 80-90% of the time but I'd say that's about on par with the back button behaving like I expect it to..
There is already a book that details the origin story, but like most things, happenstance and early opportunities play a big role.

Carmack would have never met Romero or the others, who first worked for SoftDisk, and were later allowed to cherry pick “cool” kids willing to work crazy overtime and spin out their own business unit called Gamers Edge, much to the dismay of the senior developers. That’s where they made Keen originally. According to the story, the rest of the developers actually did “organize” and threatened to quit en masse because they were jealous of the special treatment that Carmack and Romero were getting. The owner had to tell them, like it or not, Gamers Edge was what was paying their salaries and he had no choice.

iD would not have existed without Gamers Edge, and Gamers Edge would not have existed without SoftDisk.

Wolf3d and Doom would not have existed without both of them. And the world would be very different without those.

Carmack is smart and might have done something else cool, perhaps in a different industry with a different group, but it wouldn’t have been Wolfenstein or Doom. He would have been unemployable because he could not stand college, and he would likely not have started his own company, because business and management was what he detested and relied on his partners for.

https://en.m.wikipedia.org/wiki/Softdisk
> This doesn't sound right; a behaviour is just a set of functions to be implemented in a 'callback module';

Going back, I see that you are right: the Behavior is technically the common pattern that is shared across specific processes. Is there a name for a process that is defined in a callback module?

And really, this complaint about confusing modules spans to more than just callback modules. Most processes define both the client and server functions in the same module. For small modules it's not too big a deal, but even then it is very difficult for someone new to the language to learn how follow the flow of data.

Dave Thomas has some interesting ideas about this and other problems, but as I don't do Erlang programming professionally at the moment I haven't had time to really dig in deep.
First of all marketing != advertising.

But they certainly do advertising specifically. A lot has been oriented around photography for a while but that's hardly surprising as people certainly don't upgrade phones for texting or phone calls.
> The injectable molecule binds to misfolded tau and releases a radioactive signal researchers can visualize via PET scans.

I just want to say that this is really cool. Biology is such a weird field to work within.
Buzzfeed later wrote an explanation of their reporting[1].

It's interesting - Buzzfeed's claim is:

The facts of Cohen’s lies and his interactions with Trump are, largely, now settled. Our sources — federal law enforcement officials — interpreted the evidence Cohen presented as meaning that the president “directed” Cohen to lie. We now know that Mueller did not.

The Mueller denial of the Buzzfeed reporting is very limited:

"BuzzFeed's description of specific statements to the Special Counsel's Office, and characterization of documents and testimony obtained by this office, regarding Michael Cohen's Congressional testimony are not accurate,” Robert Mueller’s spokesman, Peter Carr, said.

This was prior the Mueller report being released.

We now know Mueller report says: "While working on the
congressional statement, Cohen had extensive discussions with the President's personal counsel, who, according to Cohen, said that Cohen should not contradict the President" and "Cohen also discussed pardons with the President?s personal counsel and believed that if he stayed on message, he would get a pardon or the President would do "something else" to make the investigation end.[2]

The dispute seems mostly around the term "directed", and if it was directly by Trump or by his legal team. Both Mueller and Buzzfeed's sources agree that Trump and his legal team knew in advance that Cohen's congressional testimony contained lies.

The Buzzfeed reporting was based on an official's notes that said “he was asked to lie by DJT/DJT Jr., lawyers.”

Politfact agrees it is open to interpretation.[3]

In any case, it seems calling it "fraudulent" is going too far. It seems like there is broad agreement that Trump didn't use the words "Please lie", but he did imply that is what he wanted and that Cohen would be rewarded if he did, and Trump's legal team approved the statements that they knew included lies.

I'm going to do a HN taboo here and talk about voting. I realise this is an emotive subject and people have their predefined views. I'd ask people not to just vote on if they like Buzzfeed or not, and if they support Trump or not and instead consider if any of the things here have information they didn't know before. I believe that the answer to misinformation is information and I've tried to gather as much relevant information as possible here, and present both sides in as clear way as possible.

[1] https://www.buzzfeednews.com/article/bensmith/how-we-charact...

[2] Muller Report, part 3, page 134 https://www.documentcloud.org/documents/5955118-The-Mueller-... (Note that because of the weird pagination in this document you need to go to page 346 of this link to read part 3 page 134)

[3] https://www.politifact.com/punditfact/article/2019/feb/28/di...
So, this fixes the MCAS problem (Where the plane plunges nose-first into the ground, despite the best attempt by the pilots to pull the stick up)...

But how does this fix the problem that MCAS was supposed to be a band-aid over (That the plane is aerodynamically unstable during take-off, and pulling too much on the stick will cause the plane to easily stall)..?

The new MCAS sounds like it will only protect against this instability once - and, if overriden, will not do anything to protect against a stall?
There's an effort to write a Ruby implementation in Rust: https://github.com/artichoke/artichoke

At the moment it wraps the mruby VM, but I think Ryan's plan is to switch to the CRuby YARV VM and then replace it with a VM written in Rust.

I'm also working on a CRuby JIT compiler written in Rust using CraneLift (a new compiler written in Rust).
I find the choice to use "beauty" over the more standard "bottom" interesting. Perhaps it's because LHCb(eauty) uses it, in which case I guess my question transfers to that experiment?
> with RTX2060 (mobile) graphics cards

wish they had chosen a more Linux friendly card. Going full AMD would have been nice.
>Are you implying that most JS is currently used for malicious purposes?

I classify most ads as malicious, so yes.
>didn't bring out a walkman phone

This isn't true but maybe that verifies exactly the point you're trying to make. Sony had a whole line of Walkman phones including a Walkman brick phone, a flip phone, and an awesome switchblade-style phone. They were able to sync music to your computer directly, without any software, and stored it all on a Sony memory stick. Unfortunately, they also did not have a standard headphone jack and relied on connecting headphones through the same data/sync port which meant that you had to use and buy the Walkman-branded headphones from Sony.

They were soooo close but a few key decisions made them fail miserably.
The overall context is a government that has been openly antagonistic to the NHS for at least a decade, pushed for disastrously expensive "privatisation by stealth" efforts [0][1][2], and is now effectively trying to outsource the digital side of NHS operations to private companies [3]. Strategically starving certain departments is par for the course.

If the goal is to "starve the beast" NHSX isn't having trouble with retention then are they?
Are they doing anything about floating videos? It's annoying on desktop, but on mobile it's so bad I just don't bother. Typically it's "news" sites that use it.
I actually mean double tap zoom that zooms to HTML element that your cursor on. Amazing feature for browsing experience. Chromium has this feature since a lot.
We also have no idea what the margins are on AirPods. It's not at all accurate to apply overall Apple gross margins (which include high-margin offerings like their services and iPhones) to AirPods, which are likely one of their lowest margin products.
An amusing point from the comments

> It’s not even trying to be competitive, it’s just guessing how the game will continue. If you blunder, it might guess that this must be a game between two blundering fools, and play accordingly.

In a certain sense, GPT-2 is optimized to "look good to people interested in AI." Above all else it tries to generate plausibly-human-looking things, while completely oblivious of any other goal. This makes it an interesting fit for scenarios with objective scoring criteria. It may never be "good" at the scenario, only entertaining to human observers.
It's about time that the "productivity boom" actually provided some benefit to the people who do the work.
Btw, it should be easy adding fsync to ClickHouse. For instance VictoriaMetrics uses similar file format as ClickHouse, and it issues proper fsyncs at least every second, so it may lose only the last second of data on unclean shutdown such as OOM, hardware reset or `kill -9`. [1], [2].

[1] https://medium.com/@valyala/wal-usage-looks-broken-in-modern...

[2] https://medium.com/@valyala/how-victoriametrics-makes-instan...
How do these differ from their prior missiles?
Hi bchurch,
I wonder that Gitlab sponsor for working visa in certain countries.
FYI, I am currently working in Australia under working visa. If I apply to Gitlab, I prefer to stay in Australia.
Best regards,
aladine
For example... ?

I’m totally okay with pure science for science’s sake, but you left me hanging.
There is an interesting, if quite technical, answer here about Goodstein's Theorem which is a very reasonable number theory theorem which cannot be proven in first order logic.

So questions around statements which are true but not provable in certain logical systems do have concrete examples and are interesting imo.

https://math.stackexchange.com/questions/625223/do-we-know-i...
As a user, I want websites to just send cookie headers without asking. I'll decide if I want to store them and send them back.
They have high margins on products that retail for multiples of their relevant competition. The same is not true for AirPods. I find it extremely unlikely that their margins are greater than 10%.
I hear this a lot: "Wellll, Machine Learning isn't TRUE artificial intelligence..."

Seriously people: are you THAT insecure? I realize it is a cutthroat hiring market and companies are stuffing extra zeroes onto signing bonuses to get anyone with an AI background, so maybe there is lots of jealousy and FOMO. I dunno, but it seems awfully gatekeep-y all of a sudden.
Is there a generic reference for what these levels denote? I work in software but not at a FAANG, and haven't seen them used before.

Edit: I've now found levels.fyi - these are Google's internal progression levels.
I'm definitely not going to defend the industry's interview processes' effectiveness at consistently and/or accurately extracting useful information (or even just the information that it is intended to). When faced with the output of the process indicating this "flat" trajectory (however inaccurate that may be), that's just how some people interpret it.
Apple actually had a product for this too (itunes), which integrated with the ipod, and allowed you to seamlessly rip your existing CD collection and sync it to your ipod in one relatively simple piece of software. You can tell how important this was by the fact that apple produced a windows version of itunes.

I believe CD ripping software was relatively niche before that due to legal concerns. I don't think it was just marketing.
Oh no, I think they should have the right to negotiate an exclusivity agreement. And if the business takes it, so be it. I don't think they should be allowed to impose that agreement on the business through law.

When you come here, I will scab you, and picket them if they consider signing exclusivity with you. And that's okay. You can picket them for the opposite and eventually one of us will win.
I mean sure? Does that really change the point of the article?

Even 25% of those numbers gets us to really impressive revenue numbers.

Additionally the author's conclusion that although Airpod revenue is relatively good for a technology company, it's small compared to Apple's total revenue and as compared to the future value of services revenue this hardware enables.
This is absurd. You keep "bigger countries off your ass" specifically by informing them you have nuclear warheads. The whole point is to inform them. How exactly would you deter them otherwise? This has been established for decades: https://en.wikipedia.org/wiki/Deterrence_theory#Rational_det...

And if Iran has secret nukes, how do you possibly explain Stuxnet?
The iTunes UI was, by far, the best for legally acquiring digital music when it launched.
Important point: GDPR allows you to use strictly necessary cookies without asking for consent.

So if you hate to put cookie banners onto a site, just stick with storing only strictly necessary cookies without data that identifies your users and you are fine.

The problem is, many people don’t even know what cookies their own site stores with their users and they store a ton of tracking cookies on their user’s devices.
And soldiers. You'll hear rumblings that both are a form of class warfare.

I'm not trying to lump game developers into that class, but it makes me wonder what kind of 'happy accident' that is for influential people.
Cloud Native Tools That Enterprises Should Be Using
Whenever you hear about military tensions, retrace the news in that region and you will find newly discovered oil fields or pipeline plans.
Thirteen rockets hit Al Asad Airbase, which hosts US forces in western Iraq
The person flying a Cessna literally has their life on the line, the drone operator does not.

Also, the person flying a Cessna has to get significant training and has to follow the same rules as someone flying a 737, the drone operator does not.

This kind of attitude is precisely why the FAA is adding additional requirements for flying a drone.
The software did exactly what it was told to do.

The error was in the specification.
Any data or sources to back this up?
The mass transit point would get my vote, specifically so you can ignore them more effectively than is currently possible (even with noise cancelling headphones).

On various modes of UK public transport, I regularly have to listen to people who shouldn't ever be given access to a PA system struggling to complete their obligatory yet pointless announcements.

There was a period a couple of years back when Waterloo station was going to have work done over the summer and there were times in the winter and spring months leading up to it when they would announce this at EVERY single station stop, day in day out on the way in and the way home. LE Audio would have been heaven for a scenario like that!
Unchecked capitalism.
How to write a blog post: The four-drafts method
Not when the orders of magnitude are different.
You are definitely not alone! I have a very small antitragus, earbuds are not an option for me. They hold so poorly that I can't even walk around without them falling out, much less do any real activity. And if that weren't bad enough, for some reason they cause a significant amount of pain after 10 minutes or so.
GraphQL in Ten Minutes
This is the chess version of all those "type these two words into your phone and keep clicking the next word" memes

it's not going to generate anything meaningful, it's meant to get close enough to realistic to be either funny or interesting

I was very tickled.
You are overly pedantic on a detail point that doesn’t matter: yes shell scripting is technically a programming language, but my point is that it is a terrible one worth ditching for any non trivial task. Perl was created precisely more than 3 decades ago to address this problem. Nowadays there are alternatives such as Python, Powershell or even scripting wrapper for compiled languages (such as C#) that allow to do the same job very well, with less surprising behavior and that can be refactored later more easily.
We are living in a simulation of a game of Risk.
I'm with you, Apple contact lenses would be amazing.
Guess I'd better order one soon.

I find it surprising that a service that delivers better pizza than Domino's/Papa John's, at a lower price, in less than half the time, to college campuses would not be popular.

Perhaps the Zume name didn't help or maybe their promotion was poor. Or maybe they needed a better pizza app. ;-)
What do you consider a 'modern' codec? SBC is the only codec that basically can't sound good. AAC, MP3, and even ATRAC can all easily deliver 'CD Quality' sound over bluetooth, and they are all officially part of the A2DP spec. Not required codecs, but part of the spec and far from a 'non-standard vendor extension'.

The only reason you need something that supports more than SBC and AAC is because of poor AAC implementations for most Android devices. AAC is very well understood, performs well, has very inexpensive FRAND licensing, and works well for every non-Android platform.

And, as aptX has become incredibly common for Android, practically speaking audio sinks should only have to support AAC or aptX really. AAC for iOS/Windows/Mac/Linux and aptX for Android.

Check A2DP section at https://www.bluetooth.com/specifications/assigned-numbers/Au...
> Union endorsements are valuable, union money, union member donations.

This is why a lot of people oppose unions. You could be contributing for causes you actively oppose, and on top of that against your will.
Remember when the airpods first came out? SNL, Conan O'Brian, all of twitter were basically dragging it through the mud and making a mockery of them. 3 years later you can't walk around a major city or airport without seeing a significant amount of people using them.
Iran Says It’s Fired Missiles at U.S. Base in Iraq
That is exactly what my comment stated.