skysight-inc/HackerNews huggingface dataset:
> To that end, it is nice not having to effectively do a "loopUntilChangeReflected" after every write and checking to see if it is safe to do the next thing. Which you have to do in an eventually consistent world.

If you have to do this, you probably shouldn't be using an eventually consistent system. Eventually consistent systems should only be deployed when a stale read is harmless. For example, it probably isn't a big deal if something reads "5 upvotes" instead of "7 upvotes" before a change fully propagates out.

Wrapping every write in a "block to ensure consistency" loop is just a lossy, slow, terrible and dangerous way to recapture a tiny amount of the consistency available to those who use a system that suits their needs.

I know that in the real world, we don't often get to make these decisions, or there may be one-off edge cases (though really just put these on a system that's safe for them). But I just want to point out to other readers that if you catch yourself doing this, you just need to use a datastore that fits your application's use case.

Yes, even if you just read an article in TechCrunch about the Hippest Coolest Hottest Big-Dataiest 2.0 3.0 4.0 5.0 Data Storage Project That Makes Google and Facebooks' Mouths Water Hadoop-Daboop Machine, That Only Cool People Use, and No Uncool People Or Trump Supporters Of Any Kind Allowed.

Read that article, and then go use Postgres.
> If that bothers you, perhaps you should reconsider what offends you. Because like it or not, "shithole" is an accurate description of Nigeria

I am neither telling you to stop using that word nor expressing offense. Language is complicated. Two words with similar definitions can mean vastly different things. Understanding that is part of communication.

You now know this term carries additional implied meaning. Ignoring that fact could be used to communicate a message. Similar to how some people selectively use the words "retarded" and "fag" loosely to communicate something meaningful. (Others are simply linguistically clumsy, or mean to communicate something hateful.) Depending on the circumstances, that may be what you want to communicate, completely unnecessary (thereby lowering your signal:noise ratio) or even debilitating to your argument. Knowing that implied information simply allows you to control that nuance.
Author here.. happy to discuss anything! It's been a really great pattern to use so far. Hope someone else can benefit from this!
What I find most interesting about Bitcoin are its inherent contradictions - the tragedy hidden amongst the tensions in the inventor's world-view.

Some of the aspirations are really interesting - a currency which no-one controls, a currency without built in inflation, which is stable in value, a financial system with low fees and without government control, untaxable and ungovernable. A currency where the people own the means of production.

The implementation however expresses the contradictions hiding beneath the surface of these seemingly benign ambitions:

A stable currency cannot simultaneously be a valuable asset. A money supply which cannot be manipulated means an economy completely at the mercy of economic cycles. A system not amenable to government also means one not amenable to regulation. A fully distributed eventually consistent ledger cannot form the basis of a fast global payment system. A partially anonymous yet public ledger is open to abuse and but not redress. An immutable ledger doesn't match how we think of social transactions (which are usually reversible or revokable). A fixed money supply in practice means deflation, with all the problems even a little deflation causes.

If nothing else I hope the bitcoin and cryptocurrency experiment brings us all to question just how much inflation is good, just how well politicians manage our economy, and how much good a fractional reserve banking and arbitrary money supply manipulation really does. Are the fictions and confidence tricks we live by at present much better than the cryptocurrency systems proposed? Perhaps marginally, but they too will be replaced in time with something better, hopefully something which no one government controls.

This development though hints at a darker future, where corporations issue or control their own money supply, and force others to use it.
As a Canadian, this has always seemed weird that they were Canadian victims too. Sure Canada is a US ally, but there's been a pretty big difference in policy toward Cuba between the two.
And I also like planes with four engines.
This is my favorite weekly newsletter type thingamajig. I can't wait for it to return.
That's so strange! They're so progressive and liberal there, though. I can't believe they'd let their fellow citizens struggle to get by and live in poverty!
This comment is such a perfect example of the reasons I come to read the comments here on HN. Thank you for the info.

Could there not have been a compromise for those devs who didn't want ABI compatibility? For instance with Apples handling of Mac OS apps and then carbon and then cocoa?

Meaning, some sort of optional emulation layer?
Of course, the system architecture may be so different as to make it impossible, OR the business decisions needed at the time couldn't afford a middle layer.

Either way, this was one of my favorite comments on here, so thank you :)
"[Up­date: Now you can, be­cause this piece went a lit­tle vi­ral. But you sure couldn’t ear­li­er in the day]"

And that's kind of the point, right? Beyond a certain threshold of popularity, some things aren't always available from every search query, because a distributed system can't have 100% uptime, consistency, and tolerance to network partitioning.
Dont think too much about it. Some of us linked in the parent comment dont post here a lot...and my comment wasnt pro-cryptocurrency.
This was eye-opening. Thanks for posting. I will share this with my friends.
It's funny that he would take the famously lazy and impatient Leonardo as a role model here.

Unless he thinks The Last Supper is supposed to be like that.
China builds world’s biggest air purifier
No worries.

Thomas Piketty [1] presents a convincing case that Bill will continue to have resources to fund activities he thinks are helpful.

[1] https://en.wikipedia.org/wiki/Thomas_Piketty#Capital_in_the_...
I have a suspicion which is you are right, ticket prices don't capture full cost. Especially for business passengers.

Problem with the spoke and hub model is passengers not only decide on whether to fly based on price but on psychological stress[1]. When that gets too high they won't fly no matter what the price is. Airlines probably make more money if they _all_ charge more for lower stress flights.

[1] More stress means business travelers need more down time after flights, which lowers productivity and moral. Long stressful flights impacts the quality of vacation travel.
They said that they typically started their engineers out on the (assembly) line, then moved them into engineering after a few months. Um, no. I wasn't that desperate. I was looking for something better than my current job.

And I found out later that this was kind of a scam, where they tried to have engineers working on their assembly line. It wasn't easy to get moved into engineering off of that line.
Apparently you can still hack the sqlite database file on the newer Kobos to bypass online registration:

* https://www.mobileread.com/forums/showthread.php?t=223155

Afterwards you have a thing that will happily add any epubs you copy to it over USB. Alternatively, use a third party reader program:

* https://github.com/koreader/koreader/wiki
Older language designers seem to have held natural language as their ultimate syntax, so reserving keywords would be anathema to that goal. It's probably also in direct conflict with efficient parsing. And you still see some people thinking along the same lines when they obsessively over-value "DSL"s and

like().writing(all.their.code()).like(*this)

In which case, the programmer doesn't have to memorize keywords, but they do have to memorize these obscure, unpredictable, and noncommunicable features of where to properly put their dots and parens. Which is far worse, in my opinion.
I've noticed the same and if you look across internet and search properties it's trending the same way.

I'm not certain yet, but I think it has to do with systems relying more and more on the the system giving a high weighting on popular or frequent searches. In other words, these systems are filtering content by how frequent they are searched and annealing returns which have low frequency.

This makes sense from a machine learning perspective. If I want to build a system which returns a search quickly, then it will be biased towards pathways with strong weights. So in the end, systems would be biased against outlier searches and very specific terms which have low or weak search pathways. Effectively the system is getting really fast and good at giving you the most popular return, rather than a precise return.

The major problem there is that over time the search space will atrophy, much like memories do, and will kill off pathways which have low frequency. It's unclear if this is good or bad long term for a search engine, because it will remain popular for the majority of users, so long as their search terms and desired results live within the same space. In other words, we're creating a less diverse and more homogenous space by virtue of giving higher weights to more common thoughts/searches/desires.
> Combining the two would make more sense, meaning put the airport farther away where land is cheap and the flights won't annoy people and run passengers too and from via a high speed shuttle. Bonus you can put security on the pickup side of the rail line.

This is exactly what Hong Kong did: http://www.mtr.com.hk/en/customer/services/complom_checkin.h...
You most certainly can rely on engine braking in those conditions. In operation, the battery quickly warms up and can easily be set to warm before the car is started. It's also common to not fully charge a large-battery EV unless you need to. It helps battery life if you only charge to ~90% anyway (no one drives around with a fully-fueled conventional vehicle at all times).
Does it? 7k is close to the max towing capacity of most half-ton pickups so you'd basically be towing a trailer to match the capacity of an empty truck.
I mostly break-down leadership tasks into 4 groups

1. delegation

2. negotiation

3. vision

4. inspiration

A typical EM only needs to do two of those well, same with higher up the ladder, though not the same two through the ranks - in my experience, great ones hit all 4.

Delegation is mostly about tasks, negotiation is about interactions (either salaries with HR, deadlines with PMs or even figuring out what a specific employee wants out of a job, because not everyone responds to just money or prestige).

Vision is more complex - a manager needs to be able to guess the rate of funding for the current project, read the way the wind is blowing and navigate the team.

Inspiration is so rarely seen, because it is hard to connect the results to the actions (the "be positive" part of the blog) - but I've had engineering managers who've made me feel that I'm in a "safe space" to do interesting things, instead of the reality that I'm in a closely watched, judgemental situation with large sums of money attached to each action and reaction.
It's probably architected to err on the side of giving you something over giving you nothing, because the common use-case for <not-in-index>+hit+hit+hit is "not-in-index term is a typo," not "not-in-index term is an intentionally-crafted attempt to zero the results."
Bitcoin is a portal, not a coin you'd use for actual exchanging.
Most people don't get consistency right...

Outside of AWS, Google and Azure I see few cloud services that define their consistency models. And support always says: we are high availability and always consistent.

Same goes for distributed software, few projects define their consistency model, and even fewer honor it.
I don't think it is good?Okay , I choose the Signal.
Deepgem cannot view it, do send a hi at
sud.rat79 at gmail.com
I can't think of anything more quintessentially British than tea and a curry.
I don't know if it's normal, but I was washing dishes at a similar age and later cooking for the family as a teenager.

My children are 3 and 5 which is why they're not much help with washing/drying and why the bedtime routine is more involved - bath, drying, brushing teeth, packing up, reading, answering questions about why they have to go to bed, why it's still light outside, how they are actually tired and so on.
Really? By that logic the private interest of a lot of non-white drivers of staying alive must be against the law. The time for hero worship and blind trust is over.
"giving to other engineers features that I would like to do myself" is one that I struggle with as a data science tech lead. If I'm leading a team of people and deciding who does what, I want to give my team members the interesting work and not hog all the cool stuff myself, but I don't think it's a good use of my time to be doing only the tedious stuff. I'm not sure how to strike a balance there.
I'm not sure how you could see enough bots to actually put a dent in the 1.4 billion user number. Maybe you suspect you saw 100, maybe even a 1000, maybe 100,000 bots. Which is 0.007% of their users.
Searching using “Verbatim” can be helpful.

What’s particularly infuriating is when searching with verbatim still ignores keywords.
Well if you had to write a highly concurrent script, like to test a network or something, Go would be a good fit.
Smart Networking with Consul and Service Meshes
Anyone got experience with it as a skype replacement? If it has IM functionality and desktop sharing with voice chat and it works remotely well then I'd love to replace skype and webex.
I can one up that: I was living in Dubai a few years ago and have a number of photos of fancy cars I could never even dream of affording. If I search for “Lamborghini” or “Rolls Royce” it gives me the photos of those cars. I’ve never tagged them and I’m not an Android user, so they aren’t reading my messages.

https://imgur.com/caz8D2Y

I even have four photos I took at night, in burst mode, as a Bughatti Veyron zoomed passed, and yes, it can recognise those...
> Who did the "denying" though?...Some team in San Francisco remotely shut down

"Uber", the legal person is who. Why does HN think the law is a series of fixed instructions rigidly executed by a computer and can be easily hacked by overly clever constructs? "Well, I didn't shoot my wife, I just set-off the first domino on this rube goldburg machine - the hamster pulled the trigger - gotcha! ha ha ha".

This will be put in front of a judge, and they will see through this for what it is.
Just as an aside: the (optimistic) 50% efficiency figure is lhv, which doesn't take into account all the chemical energy available. 46% if you use HHV.
Hell... I would think those types (Helicopter) would be the first in line.

Think of it... self flying vehicles that control where your kids go.

That's right up there with iPhone tracking your kid.
> I see this sentiment a lot, but it’s not a useful one...

Consider this response for entertainment purposes only. It’s easy to become insult(ed|ing) or get into a holy war, but I’m really not invested in any of that.

That said: it is a useful sentiment, and a kubernetes script written in sh(1) is not the answer to the question.

That one “can” does not mean one “should”.

The reddit comment cites init scripts (I happen to use RC scripts, and haven’t viewed init scripts in a while) as an example of why shell is so great - everybody uses init!

1) of course everybody does. And it -happens- to be written in shell. So what?

2) this is fine! The scripts I see are 10s of lines long and practically flow top->bottom w maybe one or two conditionals.

This is more akin to a job control language. A perfect application for sh(1).

I just feel it (and you can too): sh(1) (or bash - nobody cares) features feel archaic and brittle. People have written impressive work in brainfuck[0][1], or C that just emits mov[2] instructions; is that a case for brainfuck projects or mov-only assembly? No. It’s just interesting. And kubernetes scaffolding or anything else big that happens (by some miracle) to work are not excuses for huge shell scripts. That’s just tautology - otherwise we’d be talking about the virtue of these scripts. For a boot sequence (rc/init) even if we ignore that the short scripts are actually suitable for the important job, I’d say their other grace is that sh(1) is demanded by POSIX, so you don’t need to wonder if it’s available in this nascent state of booting your OS - you’re guaranteed. The same couldn’t be said for ruby or python.

From the “see this comment” comment:

> Have you ever written a bash completion script yourself? I did a few years ago and I am scared to ever touch it again! I have a non-deterministic bug that I can't figure out, so I just restart my terminal every time completion gets borked. And I know bash very well.

The comment admits what a warzone the space is... Sure, fix it, but we don’t need to promote it.

The sentiment of discouraging huge shell scripts the GP expressed is useful. Resist.

[0] https://en.wikipedia.org/wiki/Brainfuck

[1] https://rosettacode.org/wiki/Category:Brainf***

[2] https://youtu.be/R7EEoWg6Ekk
Laziness, impatience, and hubris enough to dabble in lots of fields. Leonardo was truly a great hacker.
Thank you for the response, and I will Google Terrence Tao for the link, but maybe adding a link will help others?

I don't disagree with you, but honestly, Id rather argue science with a crackpot that only has 50% of the info than the crackpot who refuses to, and can't understand anything above 0%.

It's like literacy. I'd far rather live in a world where most people have a 50% literacy rate rather than in a world where 0.5% has a genius level of literacy and the rest are illiterate.

Sure it's a weird, cold calculation, but in the pragmatic part, I'm happy to accept the compromise.
In my honest opinion, you just can't punish someone for that long because the person you have after 20 years isn't going to be the same person who committed the crime.

Can confirm. Brother committed murder at 16. Was tried and sentenced to 70 years (as an adult, thanks Texas). He’s 34 now. Totally different person. He was a kid then.
Why do you assume same sex couple? It could just be a couple that decided to have a child together without getting married,

I actually chose to use the word "partner" because it is more closely analog to the startup metaphor (i.e. "business partner") so it fit the joke better.
Actually, that's counter intuitive to one Tesla recruiter that I once spoke with. He said that Tesla does not want to take away the driving experience from users which is why having autopilot was good enough for them right now.

This makes sense because without the human driving experience, there's really no differentiation from one self-driving car to another.

You are binning all Tesla owners into just a single category of futurists. In fact there's another group that's in it for the luxury brand and prestige.
This is something I think about a lot nowadays. You have to try and fail a lot to develop an intuition for good design. How do you give people the room to experiment without paying for all the mistakes? It is tremendously expensive to produce a senior developer yet vital to do so because junior developers mostly produce crap. We could only assign them projects off the critical path, but we can't really afford to have anyone working on anything but the critical path. Plus it's a lot to ask of someone's ego to say, here work on things that don't matter for 5 or 10 years and we'll talk.
Car mechanics have "book hours" for each task. It may take them less time, or more, but they charge what is in the book. For example, changing a headlight is 1/4 hour, at $120.00 an hour, so they charge $30.00 plus parts.

What I'd like to see for medical services, is something like an apendepticamy takes 1 hour to perform, plus 4 hours of prep, and 2 hours follow up spread over several weeks. The procedure uses one primary surgeon, one assistant, 2 nurses, an and anesthesiologist, each charging x per hour (depending on role / specialty). The hospital charges y per hour for the room, z for the supplies.

All of this is known ahead of time. Yes, there can be complications. Just like a mechanic can run across rusted on bolts that take longer to remove. But going by book time for everyone works out in the averages.

Heck, both dentists and optometrists work in this fashion for most of their services. Why can't the rest of the medical world get it together?
double quote each term/phrase and intersect with + sign. this tends to work.

"lkasdfjer" + "samsung galaxy s8" : brings up this discussion
The RRP of a terabyte of hard drive on NewEgg has almost nothing to do with the cost of provisioning an additional reliable terabyte of datacenter storage + IOPS
> where land is cheap and the flights won't annoy people

You'd need to back this up with strong zoning. I think it was Sacramento where they put the airport out in the countryside .. and then land developers discovered all this cheap land near it. Sure enough, the new residents started complaining about the noise from takeoffs and landings.

Flight paths is one of the things I look at when I pick a new place to live.
I have a slightly different perspective.
I think defaulting to NoSQL is simply removing a mature toolset from the developers kit, that they would have a lot of great use cases for.

If you use it in the wrong places, then that almost certainly means increases complexity where you don't necessarily have to.
Whether or not that results other positive behaviours seems a bit beside the point to me.

If you managed a team of rock climbers, you could say "I prefer it when my rock climbers don't use safety ropes. It improves their climbing, because if they make a mistake, they'll fall to their death". It could be 100% true, but it doesn't mean you shouldn't simply be picking the right tools for the job.
This same AI effect can be seen in the Android keyboard, where _properly_ spelled words will be replaced after typing another word or two because it's been determined to be more likely what you want. It's infuriating.
I believe the sickness you're thinking of is "distributed data index."

Consistency, availability, tolerance: pick two (https://landing.google.com/sre/book/chapters/managing-critic...). If you think about the uptime constraints of www.google.com, you'll possibly conclude that the limits of distributed systems necessitate a solution where some data is transiently unavailable.
Feel free to disagree with me:

In my mind, serverless functions are akin to database triggers: they do one thing and one thing only, in response to an event.

If one tries to make a serverless function do too much, it tends to get somewhat difficult to debug.

If one stays within complexity boundaries analogous to that of a database trigger, things may be more manageable.

Just as you would not abuse a database trigger to do wacky things, it may be a good idea to not overextend serverless functions.
Now is the era where companies are racing to replace Bitcoin. We'll see what happens at the end of this year.
Reduced, the assertion made is: Because Proof of Stake requires less energy and is less secure than Proof of Work, all block chains are secure if and only if computing blocks requires a large investment of energy.

I don't think Proof of Stake is sufficient evidence to make that assertion. The source makes me even more skeptical, as they are invested in Proof of Work's continued dominance.
I still remember the day that stopped working. I decided that was the day Google died.
Their "intelligence" metric was simple IQ, and the average management IQ of their sample was 111, which isn't exactly genius.

Managers need a degree of social intelligence that won't necessarily show up in a basic IQ measurement.