skysight-inc/HackerNews huggingface dataset:
> Of course you could run your own internal Maven repository for your company and have every project rely on that exclusively, with only carefully reviewed and verified packages being imported there. Most won't have time to be so careful about dependencies.

If true, that seems like a serious problem.
Is someone using these 200GB? It seems slow.
Oh yea, I totally agree with the "encrypt it if you're worried" part. In my opinion, if you have any user sensitive info, you should absolutely use end to end encryption and ssl etc.
If you don't feel like a criminal in today's society, you are complicit.
The git integration is indeed something really cool.
Not true at all, my Japanese friends who learned some variant of American English struggle with accents such as Oxford English.
You can use Google search results as a Markov chain (with the ranks translated to probabilities). Then your chain is fitted to all of the visible web.

Another cool use for ML is for categorical and textual data. A fitted Markov Chain can give the probability of a string occuring. Strings that are more random (such as spammy text) get a low probability. Strings that are similar (such as certain user agents) get a similar probability, without having to directly compare these.
It's definitely their problem if more people who speak English don't understand them than do.
> Those people are crazy, he said.

It is human nature to want to associate with people who display attributes you wish to see in yourself, and to avoid the converse. The aphorism "you are the average of your 5 closest friends" is based on that idea.

If your brother is self-aware of his illness and doesn't like its effects on him then his response is perfectly understandable to me.
This really isn't an open registry or distributed package registry. It is yet another JavaScript registry. Also, check out Verdaccio.
Thank you for taking it to all 5 stars rating. That helps a lot!
All programming languages are "duals" of each other in the Turing complete sense, though that doesn't tell you much beyond: they're programming languages.

So here's how reference counting and garbage collection are duals: they both manage the memory lifetimes for objects not on the stack. If that blows your mind, you also might enjoy the above referenced paper and the meme that reference counting is "GC done badly".
The shape of your mouth and tongue position isn't really about tones. It's more that Mandarin has a bunch of sounds that aren't used in English. It's difficult to even hear them at first. For example, x versus sh, j versus zh, or ü versus u.
Many people just sort tickets by cheapest and choose that as their flight.
More than 500 software engineers leave Morocco every year
I created this myself!
The linked article says why, but to paraphrase, the training has always said to flip both switches. Previously the only time you’d need to flip the switches was due to an electric motor being stuck-on. It’s only with the MAX that there was an actual useful reason to flip one vs the other, but the training was always to flip both and Boeing decided to simplify it.

My personal guess is that it was internally totally disparate teams inside Boeing and neither communicated about the change. Is that bad? Certainly. But how often does that happen in big companies? All the time. Sadly it might have had a part in causing fatalities in this case, but doesn’t make it any less common.

Either way, it’s not like the change definitively had any bearing. Turning off all electronic control was still the training given to pilots and then reverting to manually turning a wheel that controlled the horizontal stabilizer via cable. It’s not an easy thing to do (turn the wheel manually), especially during a nose dive, but it’s been done before in an emergency and pilots are trained on it.

Ultimately, the FAA had a prestigious record due in part to having excellent checks and balances. Whoever decided to move away from DERs to ARs ultimately should get the brunt of this blame, but sadly, that’ll never happen.
I can't find anything in that article about "diversion of a year's worth of funding from low-income housing elsewhere in New York".

Though it certainly discusses some questionable gerrymandering of the targeted economic area.
The key takeaway is to be wary of cognitive dissonance. She just casually got into an affair at the office, while claiming to want to build a relationship with her existing boyfriend, for example.
I lived next to an airport, and really wasn't too bothered by it. The main problem was that it would set off car alarms, and those were unbearable
This one has been recommended to me a lot: https://scikit-learn.org/stable/tutorial/machine_learning_ma...

But I agree I wish there was more resources on that, it seems to be just a trial and error process.
Don’t they require that EV’s make noise to warn pedestrians?
> it takes longer to get on an escalator than it does to get off

How so? Everyone who gets off the escalator had to get on at the same pace earlier.
You Are Probably a Victim of the Largest Theft of All Time (3:49)
Most people don’t even think about the plane they’re flying in. It will not be that big of an issue to continue using them unless some group actively tries to warn passengers about flying in those specific planes.
You can't possibly know what will match experimental results in the future so that doesn't help determine good theories in the present.

And I would say that Newtonian gravity was a useful theory despite not matching experimental currently because when it was the best it mostly explained observations.
Math Teachers Should Be More Like Football Coaches
Agreed. The article that opened my eyes to this shows (IMO) a serious deficiency in C#'s type system compared to F#'s, which includes the concept of tagged-union types. It shows a very simple shopping cart program that can't be modeled cleanly in c# without using the visitor pattern....which is difficult to read IMO.

https://fsharpforfunandprofit.com/csharp/union-types-in-csha...
One story that stuck with me was how one of my mentors got fired out of the blue at Christmas Eve after being at a well known tech company for 15+ years. Explaining that to your family that day is probably not fun.
That’s great to hear! What changes did you make?
Bungalow's leasing agent told me the house had air conditioning. There was a thermostat when I toured. Upon moving in I found out the house doesn't actually have air conditioning. Closing the windows won't be an option in the summer.

A lot of people say they are used to the sound and don't notice it. That's just not true though. I've sat outside at a bar and had a conversation interrupted because a plane flew overhead.
Online reward programs are a "bonanza", "gold mine" for criminals, where they can have a "field day", "orgy", "spree", ... consisting of "binging" on personal information. Let's keep "honeypot" what it has come to be, though, in connection with computer security.

https://en.wikipedia.org/wiki/Honeypot_(computing)

A honeypot is a decoy used to attract malicious activity, keeping it from legitimate targets, and accurately identifying it.

Honeypots are deliberately promoted in such a way that legitimate users will not find them, but criminals will end up harvesting their addresses. For instance a honeypot e-mail address wouldn't be offered to legitimate users as a contact, but only buried in some content where only a spammer will harvest it. When the criminal uses the decoy identifier, their connection attempts are subject to time-wasting pauses (the honeypot is "sticky"!), and their IP address is put into a blacklist at the same time, so then the have a hard time accessing non-decoy resources.
> Reference counts automatically collect garbage.

Reference counts are used to manage resources, one of which is memory (and I'm assuming you are referring to no-longer-referenced memory as "garbage").

But that's not the only use for reference counts! You can, and should, use reference counts for external resources, such as files, or memory buffers on a GPU, or….

Garbage collection is COMPLETELY USELESS for managing non-memory resources because you need to be able to deterministically release non-memory resources (and oftentimes, memory resources—e.g., on the GPU). And since all a GC can do is examine memory, well, it doesn't work.

Go ahead: point me to a 3D game engine using garbage collection for GPU resources. I'll wait.

So yeah: "reference counting is a subset of garbage collection" is absolutely not true, and even the most basic knowledge of how reference counting is used in practice should be enough to convince anyone of that.

Again: this meme needs to die. Garbage collection is not "super sophisticated reference counting", and in fact, can't even be used in most places where reference counting is used. It's not a substitution, or a superset, of reference counting.

GC is a compelling alternative to reference counting for resources just in the main memory heap in some situations where performance (esp. total memory usage) isn't an important concern relative to, say, programmer productivity.
The Microsoft interview experience remains awful, Satya or not. I’ve tried a few times but with one exception I was treated like dirt every time by recruiters and interviewers.

(Edit) One interviewer blew cigarette smoke in my face, for example. That’s not to say that there aren’t plenty of decent people there.
Some countries are just cheaper to employ in. That dooes not mean that people there are any less talented.
This does not seem reasonable. Internal combustion engines with mufflers are not very loud. If the goal is to reduce noise, why not simply set a maximum noise level, such as n dB at 1m from the tailpipe?
Ah, yes. Very well said!!

Hey, I'm in Bay Area also, we should meet up. I've seen you've commented here on HN on Rik's makepad WebGL stuff and Joseph Gentle's OT (chatting with him on Monday!), which are both people & projects I'm fascinated by too.
The point IMHO was that this business and work swallowed up all time from family and friendships.
I don't think it matters how big the global pilot pool is for 737s. What matters to a specific airline is how many of their pilots are type rated for a particular aircraft. An airline that has standardized on the 737 is going to have a pool made up of mostly 737 rated pilots.
Oh wow, cool!

I made a simple proof-of-concept realtime PEG parser a couple years ago, which ingests text OT/CRDT operations ("insert at position X", etc) and invalidates & recalculates the compiler output by invalidating all overlapping ranges and recalculating from the root. My implementation is way slower than I expected it to be - though I'm sure you could use a lot of tricks from well optimized parsers to speed it up. I agree - CRDT / OT / whatever is sort of orthogonal, although its really nice being able to feed the parser with the same operation format, and have it update its output.

https://home.seph.codes/public/miniohm/ / https://github.com/josephg/miniohm if you're curious.

I'd love to see this sort of thing applied at a larger scale in a compiler. For example, I could imagine editing a C program with a compiler running live. Instead of batch compiling artifacts to disk like its 1970, instead as I type each character the compiler recompiles just the parts of my program that could be affected by my change. The compiler passes code changes to the linker (maybe with a function level granularity). And the linker could then (live) manage writes to an executable, allocating new byte ranges for changed functions and updating references on the fly.

Even on very large C++ project like Chrome, there's no reason why incremental updates should take more than 1-2ms. If all you're doing is changing a single function in the binary file, why do our linkers rewrite the whole thing?
It is because GitHub employs a marketing strategy like Microsoft about selling something based on relationships but not product quality. They wine, dine and give kickbacks to those with the power to sign a multi-year contract.
Explain. What about it has made it a joke?
Sorry to confuse, I am not really interested in assigning blame. I am more interested to see what can be learned from this so flying continues to get safer. That will include looking at how the pilots responded to the training material in practice, and figuring out how that plays into designing future procedures, documentation, and training. I get that nobody here seems to have much appreciation for human factors, but I fly a lot. I do care :)
The stratosphere is quite a ways from space. Also what is the point you're trying to make? I don't think anyone on either side of the argument is very concerned with a one time world record attempt from 2012 when talking about helium conservation in 2019.
Why are hybrids ok? And what exactly defines a hybrid?
My mother actually escaped East Germany in her teens.

I have plenty of criticism of what's wrong with the US. For example:

https://news.ycombinator.com/item?id=19888281

But I don't actually agree with your assertion, nor with other comments suggesting that the US is currently about as bad as East Germany was.

After she escaped, my mother helped multiple relatives get out. Family stories indicate that part of the process was sending enough cash to help them cover bribes to get their papers. My dad was an American soldier. The exchange rate was 4 West German marks to the dollar and 4 East German marks to the West German marks, or 16 East Marks to the dollar. My father's relative wealth and pragmatic attitude facilitated a lot of this.

You didn't have any means to wire it or whatever. You sent cash. Sometimes it got to the intended recipient. Sometimes it didn't.

It took tremendous faith, willingness to trust and callouses to keep sending help in the face of that and not just accuse desperate people of lying, etc.

My dad was a remarkable man.
For my final project in control engineering I was tasked with writing a couple of ml algorithms and rank them to suggest the best one. The code I was working on was not good at all and all the data was being processed in Matlab, so I spent all the project refactoring and proposing a viable solution to using python as a math backend for the java application.

Anyways I had to research a little into the subject and what I found is that there isn't a straightforward approach to choosing algorithms. I could be mistaken, but I believe the best approach for you would be to get intimate knowledge from every ml algorithm and maybe use a cheatsheet to guide you, but ultimately only knowing well your data set (distribution of classes, occurrences, which traits are better for which categorization you want to do etc..) will bring you farther than looking for a recipe for choosing an algorithm.
It's a smug and mean-spirited site, even though what it says about McMansions is generally true.
Knowing how to change a diaper when you're a parent is not optional. But you shouldn't shit your own pants when you don't absolutely need to.

You may think you're clever enough to sneak out a little one-liner that nobody will notice, but all too often you underestimate the task, and it blossoms into a big messy shart script that other people have to deal with.
Consumer Robotics Company Anki Shuts Down
There's no fundamental design flaw, the aircraft is sound. The problem came from using software systems to artificially make the plane behave like older designs to avoid entirely new training and certifications.

Even that would've been acceptable and similar systems are already in use in other planes but it was the inadequate info, redundancy, warnings and controls to disable the system that created the problem.

It's easily fixable but still a tragedy of greed and oversight that led to the situation in the first place.
Official sources deny it, from Wikipedia Aeroflot 1492:

The information that evacuation was delayed because some passengers grabbed their baggage have not been confirmed. According to TASS's law enforcement source the majority of passengers in the tail end of the aircraft had practically no chance of rescue. "This is evidenced by the position of the bodies of many passengers who were found in the tail of the aircraft. They did not even have time to unfasten their seat belts, they died of poisoning in their seats. Someone might have lost consciousness when the plane hit the runway. The causes of death of all the victims are now established" - said the source. He added that the passengers from the tail section of the aircraft, who managed to escape, moved to the front of the aircraft even before it stopped.[10] According to witnesses some baggage fell from overhead compartments during the hard landing and passengers removed them in order to free the passage.[11]
Look up the "conditioned head turn procedure" as a means of testing phonetic perception in infants. It is pretty well established that infants have a much greater ability to distinguish phonemes compared to adults.

What you said is true the other way around too. Infants can't look something up in a dictionary, or ask a bilingual person to clarify the finer points of a word or phrase in a language they already know. Infants aren't just learning the language but also the concepts behind the language, which would seem to make what they're doing more exceptional than adult language learning.
Pilots are highly trained. They go through many hours of simulated flights. After an incident like this, any pilots still flying a MAX will be drilled on this specific failure. If you start to see pilots refuse to fly it, that’s when you should worry.

Aviation adapts to problems and it always has. Southwest installed additional gear on their planes to help prevent this when the first plane crashed. It’s not far fetched that companies in countries with lesser regulations might skip out on training or plane enhancements that would lessen the chances of this problem.
Not true at all. Money isn't everything. Culture and value mean a huge amount to me as an employee. I'd take 60k less a year or more based on culture and value.
got about 60 sentences in, and my name popped up here and there. my name's first occurrence was at sentence ~40.

Pretty neat.
Why reinvent the wheel. Just use NestJS.
This article requires more computational resources than a Cray-2 supercomputer (1985).

It loads much better in Lynx with a tiny fraction of the resources.
I'm just learning this, but it seems to be that in some CRDTs "a" and "b" represent two different edits to the common state made by two different users and the join operations is how you combine those two edits into a single joint edit that will produce the same results regardless of which order the edits arrive at the "server".

In other CRDTs "a" and "b" each represent the new states after two users have made different edits to the same common source, and the "join" function is how you combine those independent edited docs/states into a single state again.

Ie if you think of fit branches, set of rules on edits to ensure that no matter the order you merge branches back together conflicts can be automatically resolved and will always reach the same end state with the changes "appropriately" incorporated.
The 757 "max" is a 767. 757s and 767s share a common type rating.

It's not so much that the pilot pool is lacking, it's that a lot of airlines have a pool of existing 737 pilots already on their payroll. If you need to lay off half your employees, and replace them with an entire new pool of people, half of them are going to be terrible employees, and it will take you years to weed out the bad ones. For better or worse, pilot unions tend to be very strong. Firing them is difficult.

The 737 MAX wasn't beset by technical problems, they were social and political ones.
My friend's catheter has full self-driving hardware but hasn't downloaded the auto-pilot software update yet.
Notice on chosen-prefix collisions for SHA-1
Exactly. Structurally it is sound.

Tear out the MCAS and get the bodies in the air. Period.

However, fuck boeing's engineering team on this one.

They should pay a price.

Fuck you for downvoting, be informed:

https://www.vox.com/videos/2019/4/15/18306644/boeing-737-max...
Facebook Suing Rankwave for Privacy violations
They have 3D Touch for keyboard cursor control. At least the X/XS
$90/gb! Yikes!
Same for a bunch of noise at home (mostly from the fridge).
Most of Atlassian customers are using their cloud solutions at this point.
So they used clever tricks to get around network latency, but there was still latency in the transaction at some point.

Saying there they removed latency is like saying they’ve removed the speed of light. Didn’t happen, they just preload content for you, because in you’re case, it’s possible to do so.
I replied with my thoughts to the github issue, but they might be of interest to people reading along here too. I've got some experience on these systems (wave, sharejs, sharedb, etc).

> As a side note, I've heard an interesting theory about why CRDT-type solutions are relatively popular in the cloud. To do OT well, you need to elect a centralized server, which is responsible for all edits to a document. I believe the word for this is "server affinity," and Google implements it very well. They need to, for Jupiter-style OT (Google Docs) to work.

You don't need to do this. (Although I'm not sure if we knew that on the wave team). You can implement an OT system on top of any database that has a transactional write model. The approach is to enter a retry loop where you first try to apply the operation (but in a way that will reject the operation if the expected version numbers don't match). If an error happens, fetch the concurrent edits, transform and retry. Firepad implemented this retry loop from the client, and it worked much better than I expected. Here is a POC of a collaborative editor on top of statecraft - https://home.seph.codes/edit/test . The only OT code on the server is this middleware function:

https://github.com/josephg/statecraft/blob/b6a82f34268238c90... .

In my experience the reason why semi- or fully- centralized systems are popular in products like google docs is that they're easier to implement. Access control in a decentralized system like git is harder. Gossip networks don't perform as well as straight offset-based event logs (kafka and friends). And if you have a canonical incoming stream of edits, its easier to reason about.

---

> I have a stronger conclusion: any attempt to automate resolving simultaneous editing conflicts that, e.g., git merge could not resolve, will fail in a way that fatally confuses users.

I think you have to act with intent about what you want to happen when two users edit the same text at the same time. There are basically 2 approaches:

1. Resolve to some sort of best-effort outcome. (Eg "DE F G" or "E F GD")

2. Generate an error of some sort (eg via conflict markers) and let the user explicitly resolve the conflict

As much as it pains me to say, for code I think the most correct answer is to use approach (1) when the code is being edited live and (2) when the code is being edited offline / asyncronously. When we can see each other's changes in realtime, humans handle this sort of thing pretty well. We'll back off if someone is actively editing a sentence and we'll see them typing and let them finish their thought. If anything goes wrong we'll just correct it (together) before moving on. The problem happens when we're not online, and we edit the same piece of code independently, "blind" as it were. And in those cases, I think version control systems have the right approach - because the automated merge is often wrong.

(More: https://github.com/xi-editor/xi-editor/issues/1187#issuecomm... )