skysight-inc/HackerNews huggingface dataset:
Google Advertising-Machine Explained
"optional fees" doesn't sound very legitimate to me
A reentrant mutex will allow you to unlock it multiple times so long as you're on the same thread. That means if Thread A takes the lock then later some code on Thread A tries to take the lock again to get a connection to pass to Thread B you'll have the connection the mutex was protecting on two threads at the same time. The rust version of the mutex prevents this by making the data the mutex is protecting unable to be sent to other threads. That means you can only share the mutex which will block on Thread B when you try to take the lock, as expected.
I think something we haven’t learned from the Colgan disaster is how regional airlines are configuring these smaller jet and turboprop planes to fit more passengers, in ways they were not designed. That is leading the way towards profit over safety.
This reminds me of the Fyre documentary.
Ha ha yes!

One of my old employers dutifully did tape backups every day, and one of the bosses took them home.

During an upgrade it was revealed that the drive wasn't working, and hadn't been working for at least a year (I think that's how far back the backups went).
That appears to be the case. The post says that hacking into all of these systems required access to multiple passwords, and because of the speed with which the systems were destroyed, I would guess the attacker had them all in hand to begin with.
You don't need a SQL dump to backup a PostgreSQL database. It has a mechanism (pg_start_backup) where it will only write WAL (journal) files and will not remove them while you use your filesystem backup (eg. rsync) as usual until you signal completion (pg_stop_backup), after which you also need to back up your WAL archive.

This gives you everything you need to recover to any point between the start and stop of the backup operation, and it's guaranteed to be consistent assuming the data itself was copied successfully. This is because any inconsistent files modified during the copy will be recovered from the archived WAL files to attain a consistent state.
There are a couple of known memory leaks. They'll be fixed soon, and RAM usage should be 10-20% of Slack's.
Gavin Newsom abandons SF-to-LA high-speed rail
I just bought a car and at the VERY last moment they brought up forced arbitration...
Apple is sure concerned about privacy of their users until the Google dump truck full of cash arrives. Apple isn't the one tracking you everywhere but they're happy to sell access (to you) to someone who does!
Adium was awesome! I miss the days of good native apps.
Not really. At major airlines there are special programs that help with this (even with DUI's surprisingly) mainly because pilot unions make it part of the contract. For a corporate pilot, there is rarely any recourse. one other thing to remember is that the environment in the aircraft is not very friendly: very low humidity, constant changes in pressure (even if the plane is pressurized). Flying a lot of passengers also means you are exposed to a lot of germs. On top of it all, add constant lack of sleep, sedentary lifestyle, etc. You have to be very proactive to stay healthy.
> And this in turn illustrates the obvious limits of using law as a solution for society's problems.

This problem is a result of people being prevented from using the normal legal process to handle their disputes. "The limits of the law" only applies here so far the Supreme Court has ever-expansively applied the Federal Arbitration Act to override the laws of the states.
There is no need for a creation of the Independent Press Standards Organisation, it already exists and over 1500 print and 1100 online outlets in the UK press are members (notable exceptions are The Independent and The Guardian). Independent journalists usually publish in one of those newspapers, although the NUJ could be used as a suitable alternative?
for many people neoliberal is a tag for anything they don't like
Besides the framework itself the website is glorious.
Kudos!
Playing with Styled Components
I personally like the model of burp[1]. The clients can be configured to not have delete or even restore access to their backups and the backup server is responsible for rotating backups.

[1] https://burp.grke.org/
If you already have the DBs in S3, it seems obvious that you could bring up EC2 instance(s) with gigantic EBS drives attached, restore a DB to it, and run verification measures on it. Parallelize as your budget allows.
Build a Clojure web app using Duct
This sounds similar to the advice often given to budding photographers back in the day -- learn the ropes on black and white film, and only then move into color.

Focusing on B&W forces you to work on your composition and be able to produce an interesting, captivating image without letting colors "compensate" for subpar composition by drawing the eye to a brightly colored object or patch. Even if you're mainly interested in color photography and eventually want to focus on properly using colors, starting without them will give you a foundation that you might otherwise never acquire.
Show HN: A collection of Make includes
The users get to use a pretty good search engine.
There is a huge aftermarket for iOS Entreprise certificates.
They either get stolen or attacker get their hands on the users credentials.
This sounds like an amazing pain in the ass. I wonder if this impacts my own lambdas.
Well if your a doctor, %2/%10 is %20 of revenue for the doctor, which feels large. AFAIK it's doctors or their hospital that pays for malpractice insurance, so it come out of their pocket directly.

They probably have stories of malpractice insurance not working that well, creating ruin for the doctors because of a relatively uncommon event, much like patients using the medical system.
Sorry, it's a really early release. The first public version was released 5 days ago.

For me everything works fine, but this is complex stuff. I'm working hard on fixing things. I wish people would wait a couple of weeks before posting this.
More likely people will start developing with compiled languages, compiling down to WebAssembly, then still use Electron for the UI end just for the cross platform support.
Sure work doesn't need to completely halt while we wait for a perfect solution. But I think that where there are safer and more intuitive tools we should use and promote them.
Doesn’t help that so many in the US have no realistic choice for transportation beyond an automobile.

I’m a 90 minute walk from the nearest bus station, I work from home luckily (and have no license either) but my wife has to drive literally everywhere. We bought a used 2006 Prius now almost four years ago, so we’ve reduced our emissions as much as is feasible for now - but we still use roughly 300 gallons of fuel a year at 40MPG average.
Types gain you some things, but there is an overhead, both of expressibility and of terseness. The costs (and gains for that matter) are different for different languages, and also different languages are used for different things, which make different trade-offs worthwhile.

This means that the trade-off Crystal give could be way better than the one Ruby gives, despite Ruby giving a better trade-off compared to Java (for some use cases). For other problems Rust, Go or C could give a better trade-off.

It is not a discussion about if types, all other things equal, are good or not. The reason behind this is simple: Not all other things are equal and not all type systems are equal.
Fuze | Senior Front End Developer | Ottawa, ON, Canada | ONSITE Full-time

Fuze is a global, cloud-based unified communications platform that empowers productivity and delivers insights across the enterprise by enabling simplified business voice communications, flexible video conferencing and always-on collaboration. Fuze allows the modern, mobile workforce to seamlessly communicate anytime, anywhere, across any device.

You will help to lead a team of front end developers transforming the administrative experience. We are currently migrating from AngularJS to React. Note that an in-depth knowledge of React is not a pre-requisite. We are willing to train a strong candidate on the React library and its ecosystem.

For more information, including how to apply, please visit:
https://www.fuze.com/careers#!/job/1416409
Exactly.

The key difference, though, is that my wallet is unlikely to be directly useful for the creation of a public good. Some portion of the contents are frequently used to that end though.
This sounds like excellent practice compared to something where much more of your time is in level flight.
Bitcoin never sleeps is not technically correct. Contrary to popular misconception, have been periods of unavailability in the Bitcoin network.
Or Cobol on Wheelchair

https://github.com/azac/cobol-on-wheelchair
But if Fake News institutions like Infowars-types were required to be members, the IPSO would have to revoke their membership or face ridicule and undermine the trustworthiness of the rest of the members. And if Infowars wanted to be published on Facebook and Google, they'd have to abide by the IPSO rules.
Queued Linux Patches to Better Track AVX-512, Allowing for Better Task Placement
| In 20 years, my life has come full circle, 360 degrees for real. People often say 360 degrees when they mean 180. They say full circle when they’re really talking about a semicircle.

I've never experience this, is it common for some group of people to use 180 to mean "the same" vs "completely different"?
Lena here: completely agree avip. In terms of fraud losses, most companies are really worried about fraudsters that can scale their operations, not super targeted attacks. If you can increase the cost (in terms of time and money) of committing fraud, it becomes less scalable and less profitable for the fraudster. So certainly, a fraudster can get a card embossing kit and start making cards, but this is going to be much slower. Without our solution fraudsters are just typing in a card number, which takes seconds! Unless each instance of fraud is highly valuable (for example, as is the case with banks as Julia mentioned earlier), the economics start to look worse and worse. On top of that (and this certainly applies more to any deep-learning based solutions trying to bypass us) our models will constantly improve and so we'll force the fraudsters to constantly improve any fake card generation, making the fraudsters spend time on that rather than defrauding.
Anyone can create a virtual reality experience with this new WebVR starter kit
For the most part the model should generalize pretty well to new formats, but we do constantly monitor and update to catch up with any holes.
If some data does form a manifold, then you just need to learn one continuous function per class. If it doesn't, then you need to learn several functions for different continuous regions per class. You need many more parameters to fit data that is fragmented essentially. "Separating tangled manifolds" is really learning the functions for each manifold. ( I may be off base here, the material is not fresh in my mind )
"Written in blood" is the way I heard it, but yes. Agreed.
I've been thinking about this idea over the past few months. My main thought is whether it passes muster in terms of economics. Revenue can be estimated as a multiple, say, FedEx or UPS revenue. Maybe it would be 2-5x of whatever those do now, to account for the increased convenience. Do you have any rough ideas on what the cost would be?

Also, another big issue is permitting. Which govt bodies would have to issue a permit to allow underground tunnels? Eg. I if I want to build some tunnels under Palo Alto, who has to approve it?
they should make you CEO! Shareholders would love you!
I'm actually kind of surprised that programmers, of all people, would oppose guard-rails.

At university, it was a meme that no one's C program ever compiled the first time they tried.

I can't imagine even the best programmer in the world can avoid that kind of problem, without static analysis and static typing. Maybe you can have a 90% success rate on short programs, I'd believe that (my first-compile success rate on AoC was closer to 50%, and I was like #30 or so on the leaderboard [1]). But to do it perfectly, in real-world code? That I don't believe.

The nice thing about static typing is about catching mistakes earlier, and making it easier to figure out what your mistake was. Without the type annotation on the function, when you get a crash a few days later, it's harder to figure out "is the function wrong, or is the code calling the function wrong?" With it, those questions are automatically answered.

The best I've heard is that for short scripts, static typing doesn't help _enough_ to be worth the extra time it takes. But with modern type inference, it takes very little extra time at all.

And the extra time it does take, to write out interfaces and stuff, you can avoid in TypeScript with type assertions and `any` assertions. But honestly, it's usually worth it: It's not like you _don't_ plan out the interface; you just used to keep them memorized instead of writing them down, and then regret it a few weeks later when you want to make a change.

[1] To be fair, it was 50% because I was optimizing for programming speed for the leaderboard rather than accuracy; I'm sure I could have gotten closer to 90% if I were optimizing for accuracy. But anyone who argues that avoiding static types saves time has to accept that you make a lot more mistakes if you're trying to save time.
If you know what sorts of data your variables denote and your functions take and return, being explicit about it is not much of a burden for the benefits it brings.
>Although I mostly agree with you, it's worth noting that static typing only goes so far. When I worked in a large-scale Java codebase, it always seemed like half the code only existed in order to "work around" the type system.

I don't think that's fair.

I'd say that "half the code only existed in order to" use patterns and OO hierarchies for the sake of it.

Java can be programmed as lightly as Python or as a full-on J2EE monstrosity. The difference is cultural ("idiomatic") not brought about by types.
Reading in the Age of Constant Distraction
I think we dipped briefly during intraday trading a few weeks ago.
I was curious about the empirical evidence supporting the notion that SemVer is "better" than what came before it. Does anyone have any pointers.
California abandons $77B high-speed rail plan
There is the saying “always speak softly but carry a big stick”. It’s good to build up personal author but in the end it’s good to have the final say. Hopefully with buyin from everybody else.
That's still good. In that case the language even writes the documentation for you!
The big thing that makes Burning Man what it is, is the attendees.

The work involved in preparing, travelling, and surviving on the Playa is a big part of attendee self-selection.

There is a tension between radical inclusion and radical self-reliance. If you make BM too easy for people you end up with more tourists. Tourists and social media influencers do not positively contribute, IMO.
I would imagine that you could have read between the lines here, but since you apparently can't....

How about - 1 - the Peace of Westphalia has nothing to do with the behavior of private companies or 'influence' within other countries, which has been rampant ever since, and 2 - Saudi Arabia has been one of the top offenders in both dodgy 'influence' in other countries and outright intervention (including things that actually violate the principles you set out) ever since it has been around.

So it's pretty funny to imagine that KSA should be handled with kid gloves in this situation, especially when we're talking about the behavior of private companies.
Wait a minute. Google is the market leader in search. Apple offers/highlights DDG, Bing and other engines, but many folks want Google.
In fairness, at my company we use a custom dialect of CL which does not have a type system, so I may not have enough perspective to make broad statements about the Lisp community. Though, intuitively, I'd think that in a language all about dynamic data structures and self-modifying code, static analysis would be really hard. But I may just be ignorant in this area.
Giving a single entity like your bank, credit card provider or PayPal your whole transaction history is quite different from giving many merchants a small part each.

It also allows you to pay digitally in person and avoid transaction records in some cases.
More complicated example:

var seniorMales = from c in customer where c.age > 65 && c.Sex == “male” select new {c.FirstName, c.Lastname, c.Age}

foreach(var customer in seniorMales)
{
Console.WriteLine(customer.Firstname + “ “ + customer.Lastname);
}

Why would I create a class/struct for that use case?

Side note: this is why I find ORMs in most languages besides C# useless. Here, “customers” can represent an in memory List, a Sql table or a MongoDB collection and the LINQ expression will be translated appropriately to the underlying query syntax.

The “ORM” is integrated into the language and yes anyone can write a LINQ provider.
Exactly. When you've got active destruction going on, power down everything first.
> This rule has been controversial though, not least of all because both pilots in the Colgan crash already had more than 1500 hours.

Is there a term for this: reactive legislation that wouldn't have covered the incident it was in response to?
It can be changed to another search engine without even opening Safari.
Some languages don't care either way, and will let you add those types.
Apple could have it both ways. Keep the App Store, but make sideloading possible—without this stupid certificate program. Make it semi-difficult: maybe users have to tap their version number twenty times or something. Just keep the avenue open.

It does not harm your security if other people are able to sideload apps. Apple should just flip the damn switch.
They're undercutting loan sharks and overdraft fees by a huge percent. I wouldn't be sad to see those go.
The Long, Weird History of Strobe Weapons
Hey stranger, thanks for telling me that the lecture I gave last week was the right thing to do, even though I will be told that "those things do not belong to 'Data Structures and Algorithms'" :-)
There are many local (and at least one national) papers using this exact same site. Both the Detroit News and Detroit Free Press (my local papers) use it, along with USA Today. It's maddening.
My question is, would Apple default to different search engine if they weren't getting paid? Given Google's utter dominance in search, it would likely be seen as anti-user behavior to default to something else.

This one and the fact that Microsoft takes all the licensing revenue from Android seem to bubble up every few months. Head-scratching stuff from companies playing on levels of scale where strange things start to make sense.
Build a to-do list app for the Apple watch
I don't think there's really any irony here, these are just two different concerns:

- I want Apple to do the job we pay them for and ensure that their store doesn't distribute malware.

- If I buy a device I want to be able to run whatever I want on it.
iCracked (YC W12) Acquired by Allstate/SquareTrade
So they require you to do forced arbitration, then just refuse to act on it (or act very slowly).

Move slow and break things now? I guess whatever feeds the VC's.
I suspect that fatal accidents that are due to roadway design issues are more likely to result in the roadway being changed quickly; so it doesn't happen again. Especially if the fatalities are at the scene.

Minor accidents can happen for years at the same intersection, because of the same design issues, without triggering urgent followup, if it doesn't somehow trigger a response from officials.
IBM Is Looking at Adding AIX Support to LLVM / Clang
I don't know that Hickel's title was a great choice of words, and I do expect he's being intentionally inflammatory, but it seems like you're getting completely hung up on very literal, possibly pedantic, interpretation of only a few of the exact words written, and ignoring the primary broad implications being made.

> The data says poverty is decreasing.

The data show "extreme poverty" decreasing. It's a lot less clear that poverty in general is decreasing... stagnating would be more appropriate to describe overall global poverty. If you can ignore the specific claims and accept the argument as a whole, Hickel's thrust is simply that global poverty is not declining like the graph of extreme poverty would have you believe, so it's not doing justice to the issue of poverty to tweet around charts of extreme poverty in rapid decline, it gives the wrong impression.

> So how can Bill Gates possibly be wrong?

Again, Hickel's article covers this in quite some depth, with many reasons. If you don't like it, that's fine. If you disagree with it, that's understandable. But your incredulity here is misplaced.

> Hickel just wants to talk about how neoliberalism and globalization is bad, i.e. not actually anything that either Gates nor Pinker claimed.

You're probably right that Hickel wants to talk about how neoliberalism is bad. Tweeting to the masses a picture of extreme poverty in rapid decline, however, is a claim and is part of what Gates and Pinker "said".
And as the owner of a Jailbroken iPhone, I'm quite happy they exist!
Wow, as someone working on an email service provider startup… this is basically my worst nightmare.

On the upside, the tooling around infrastructure has improved so much since vfemail launched in 2001 that there's a lot more I can do. With AWS, I can do automatic database backups, S3 bucket delete versioning, IAM auditing, whitelist firewalls, etc.
There was a joke when the XBox 360 came out: "it's called the 360 because your turn 360 degrees and walk away" but that doesn't answer your question, sorry.
Incognito tab works.

I did quit using Medium (content create) over that shit.
Good chance the SSH private key for that offsite host was on one of the servers the attacker compromised.
> it could well be that the cheapest option is to absorb their emissions from the air and inject them into the ground, rather than producing carbon-neutral jet fuel

I am not sure if you want to capture carbon or just CO2. If you want just to capture CO2, that's a different consideration but there is AFAIK no scalable technology that can store CO2 reliably.

So what you need to do is to actually break the C-O bonds in CO2, which is very energy expensive.

In theory you could burn methane (natural gas) or other hydrocarbon in system (airplane) A, producing more energy than needed by system (factory) B, which would recapture carbon from the air and convert it to pure carbon. That way, you would produce net energy by burning hydrogen into water (methane and carbon, respectively, are the most efficient choices for this).

Somebody can calculate it precisely based on the enthalpy, I am sure, but it seems to me that the both systems together would have to be at least 40% efficient (that is the product of their energy efficiencies would have to be that) for this to be energy positive. I don't think anybody has demonstrated this level of efficiency yet, and it might well be impossible (if we also consider the dispersal of CO2 in the atmosphere, as somebody else has noted).

Assuming this is possible (unlikely), in practice this would also require the operator of the system A to pay (at least) the cost of energy used by the operator of system B for the recaptured carbon. And this can be a practical problem, because people cheat in various ways and they would probably lobby to pay less at the expense of the environment. It seems much more transparent solution is just to forbid drilling for hydrocarbons outright.

That's why one should be careful about using dollars for these calculations. All externalities are rarely counted in costs. It is easy to fool yourself or other humans this way, however, the nature cannot be fooled.
I think its a gannet standard template