skysight-inc/HackerNews huggingface dataset:
Kafka as database – is it safe?
Specifically, how strong are the durability & backup guarantees?

The setup is:

-kafka is the underlying source-of-truth for the data.

-querying is done on caches (I.e. Redis, ktables) hydrated from kafka

-Kafka configured for durability (infinite topic retention, 3+ replication factor etc)

We are not allowed to lose data in any circumstances

Is the proposed setup nuts?

In theory the replication should guarantee durability & resiliency. Confluent themselves encourage the above pattern.

The only flaws I can think of, are:

- cache blows up and needs to be rehydrated from scratch

-broker disk gets wiped/corrupted -> kafka rebalance, resulting in prolonged downtime if topics contain mountains of data

Has anyone run and battle tested this kind of setup in production? I.e. encountered disk corruption, brokers going down, but still retain data?

My gut feel is, this is a bad setup, because kafka wasn't originally designed for RMDBS levels of durability, but can't point to a concrete reason why this would be the case.
Quickfire with blues is my favorite keyboard.
I think you swapped the complexity that each language provides. If C is anything, it's the patty, and C++ literally everything else that makes up the burger.
Sadly they wouldn't have to, because he (presumably) didn't put Swahili on his CV.
rr does use fork() internally to create checkpoints, and checkpoints are created implicitly as the program executes to support time-travel. The COW behaviour of fork() is extremely helpful for performance.

There's more to checkpoints than just fork(), though; for example, when two processes are sharing memory, checkpointing the process group fork()s both processes and then must explicitly duplicate the shared memory region, otherwise the checkpoint would share memory with the original, which would be disastrous. Unfortunately this means we don't get COW behaviour for shared memory regions; unfortunately the Linux/POSIX APIs are a bit deficient here.
I'm curious whether they see some kind of writing on the wall and realize that while they embrace renewable energy and lead the nation in Wind Power they also need to pump hard so this vast resource of oil (1 trillion barrels) is not left stranded when/if the day ever comes where oil is not required (in vast quantity).

They are incredibly smart business people and a State Gov that is incredibly business friendly, which has made Texas an energy powerhouse from renewable energy, oil, natural gas, refining capabilities and the infrastructure to move it all to market.
why for? It will never produce more energy than it consumes.
I'm pretty sure the voltage wouldn't need to increase for a bigger aircraft. The current would increase as you ionize more nitrogen molecules, but the voltage required to tear away the electrons doesn't change.
> Did your desire to use the word fungible outweigh the fact that the US has drastically reduced its dependence already?

No, facts are facts. Your own citation shows the US is still importing 3 million/barrels a day from OPEC (~33% of US daily consumption), and has held somewhat constant at that level since 2013. The price of oil would rise if those 3 million/barrels a day weren't on the world market, or if the US was required to source those barrels elsewhere.

https://www.eia.gov/tools/faqs/faq.php?id=727&t=6

Not a lot of electrical generation sources in the US run by authoritarian governments compared to oil producers. If it's not Saudi Arabia, it'll be another government attempting to control energy supplies. Can't control a country's electrical generation so easily, and therefore it makes the most sense to incentivize the rapid electrification of transportation.
i know it runs in docker but

string contents1 = File.ReadAllText("/etc/passwd");

Console.WriteLine(contents1);
Chrome to Get “Tab Groups” to Organize Tabs Better
The question is whether they bought that housing for themselves because they're being moved or if they bought it to resell at a profit because they had internal knowledge of this neighbourhood being used for HQ2.
This engine will struggle at high altitudes because there’s less air molecules to ionise
It is hard to convince oneself that this is substantially different from a glider.
We're gradually getting to a point where the hiring process is merely about bots outsmarting other bots.
You should know that oil is hardly used for elec. gen in developed countries. They are only indirect competitors - through the automobile.
Natural gas is an alternative to oil for long distance transportation, although both are still fossil fuels. Progress is being made on algae biofuels. If electricity gets cheap enough it can be used to make synthetic hydrocarbon liquid fuels.
Because it's nerds building products at Google. Not even trying to be overly negative or critical here, just an observation. It can actually be seen as something positive in many ways (Android being super flexible vs iOS being more limited) YET (Android being less intuitive vs iOS being a lot more user-friendly).
Domain-Adaptive Neural Machine Translation (report, November 2018)
https://bugs.chromium.org/p/chromium/issues/detail?id=905491...

I think many would agree this is long over due.
(1) Nice interactive demos of the things being discussed, with live code.

(2) Math being directly applied to near-hardware level, the GPU, with a good explanation.

What's not to love?
Fair point. But why not make it an option for "advanced" users.

E.g. A slider, 1 - we'll save your data everywhere, 2 - locally only, 3 - no history saved at all.
"Imagine if the apple you were eating for breakfast had 291 ingredients, or if the car you drove to work had 291 parts. You’d be worried, wouldn’t you?"

That's literally comparing...apples and cars. I would be shocked if a car only had 291 parts.
The name is actually a very important part of the algorithm they use. That's why companies have chosen unique names (Alexa, Google, Bixby, etc.)- they standout clearly when a speaker uses them.

If they let you use any word, it would suck the battery life away so quick.
C is not the first programming language out there, you know. And for its first decade it wasn't even the most popular. There are still architectures in production and use that you'd struggle to find a conformant C compiler for.

It's really bizarre how you expect the world to revolve around it.
Any reason the technology isn't explained in text? A video how fast a program starts under Windows isn't exactly a scientific measurement.
Sewer in London’s East End Menaced by Giant Fatberg (2017)
> persuasion by example

A bit of an odd example that the catholic church chooses to set...
Maybe "killed" is a strong word. My feeling is that when Google exposed that part of the internet to the web, it became interesting for spammers to target USENET much more than in the past, which was a very strong contributing factor for USENET to die. Moreover once no longer an "hidden gem" many felt exposed posting to USENET, now that it was trivially web accessible.
Walter's D9000 computer is monitoring this thread in his stead.
Your dad is cooler than my dad :)
Beware of silent drones with ion drives. https://www.youtube.com/watch?v=boB6qu5dcCw&feature=youtu.be...
"Route 53 Resolver Rules" seems like a strange resource to launch this service with...
Goldman Sachs Sued Over ‘Central Role’ in 1MDB Scandal
Shouldn't the period go outside the parens?

> Capable of understanding business requirements and working with the team to achieve the best
solution (technologically or pragmatically.)
Surveillance itself is opportunity protection job to be done better and effectively. The problems is with possessors of surveillance data and decisions makers. No man, no problem. May be regulations should be more stricter in not allowing people to abuse surveillance.
The first fully self-driving car to market will be from the company that cuts the most corners and compresses schedules the most. I'm sure it will be fine.
I think you should reread the GP, what you're responding to is the opposite of what was said :)
So the values in the environment are single use? I’m going to think on this...
To be clear, I mean both. IMO, the "social" work is the more valuable work that gets done, things like discussing proposals, working on new ideas, coordination between different projects, that kind of thing. Code happens too, of course, and sometimes, the ability to pair in person with someone you're not usually located near can be invaluable.
One Third of Condos at Four Seasons Toronto Sold for a Loss
Why insurers spy on sleep apnea sufferers via connected CPAP machines
Ruby is used in a lot of places where Rails isn't, by a few large companies. The one that comes to mind is Stripe, which has at least a couple hundred engineers writing Ruby code that has nothing to do with web development (much less Rails).

While Rails certainly did a huge amount to make the language popular, there's lots of things Ruby is good at aside from concatenating snippets of HTML.

Actually, that being said, while maybe 90% of personal Ruby projects don't use Rails, a good half use ActiveRecord in some capacity. I wonder how much that makes it a Rails project, by some reasonable definition.
UAE and UK are pretty must best friends. Historically they have strong ties from the days of the British empire (Britain was allied with most of the Gulf countries to secure trade routes to India), and even now there are very strong political, economic and royal ties to the country. Most of the Western expats living there are from the UK, and there are a lot of UK financial companies with offices there. Going the other way, London is the place to go for Emiratis that want to escape the summer heat. I'm sure there is a lot more going on behind the scenes to provoke this reaction.
Both of my jobs (though you can tell how new I am to the field from that number) have been cold submissions.
How do optical mice work?
I've been willingly unemployed for months and somehow it hasn't negatively affected my ability to get interviews. I think the obsession with gaps is dying out as the old guard retires. Companies run by boomers might think negatively of gaps, but ones run by Gen X'ers and beyond don't seem to care at all. Some of them have even been curious as to how I've been able to quit my job without another lined up!
Real estate as a whole needs newer and much stronger restrictions. It's an inarguable fact that it's a "housing market" and speculative investment tends to be bad for everyone.
You're way off. Modern cars turn about 30% of the energy in gasoline into forward motion. However, electric cars do have a lower carbon impact in almost all cases.
What I find interesting about this is that in the RC and drone building and flying community, you have generally two categories of aircraft:

a) Aircraft that are designed to be a faithful scale model of a real thing, with all of the intricate modeling and painting work that goes into it. For example there's a person who built a model of an Antonov 225: https://www.youtube.com/watch?v=WRI2y0cwHd0

You can find flying B-29 models, jet airliner models, etc.

and then

b) Aircraft that are designed for a dedicated purpose and look nothing like anything that exists in the 1:1 scale aviation world, such as the "Believer" foam first-person-video plane: https://www.youtube.com/watch?v=qf4x5XhHvD4

where (b) includes other clean sheet of paper designs like Zipline's blood bank delivery drone, which has a recovery method not dissimilar to a Boeing/Insitu ScanEagle:

https://www.youtube.com/watch?v=FeSCEalMOL8
>Android being less intuitive vs iOS being a lot more user-friendly

This is a piece of received knowledge that in my current experience of both is no longer true.
It all depends on the conditions, if you have access to an attorney and are in general safe situations

I would take that than say 1 day in a mexican prison run by the drug cartel
>There are no electric alternatives for most long distance transportation, which is a huge chunk of our energy consumption.

What about trains?
Why Do Monads Matter?
No criticism for India. But there is for uae
No. That would be like someone taking GeoCities down in 1998 and claiming you took down 30% of "The Internet. You would have gotten a bunch of stuff, but obviously not 30%

At best they took down 30% of hidden web services with published addresses at aggregator sites like Hidden Wiki.

It's not that you don't know where its hosted, it's that you don't know who is using it or where they are. That includes publishers with hosted content, even from the host itself. 5Eyes couldn't just drop a tap in front of Danial's Host and see anything useful, just intermediate nodes with no idea what was on the other end. (barring a >51% attack where they own the first and last nodes in the circuit.)
Yes, anything that eventually got patented.
> 1. Candidate probably local? {check address, if listed, else check location of previous roles} (required by our clients)

So wait, are you going to dismiss my resume if I live far away, even though you don't know whether I'll actually want to move to your town on my own dime? This is something you should be figuring out in a phone screening, not just using your intuition by reading a resume.
Reminds me of The IT Crowd: https://www.youtube.com/watch?v=uyV0IVItlM4
Which is what we do at one of my startups... our monthly AWS bill is $5.
Full C++11 support has been on their roadmap for years. http://e2e.ti.com/support/tools/ccs/f/81/t/542711

And IMO, the final Embedded C++ spec is such a terrible idea that it doesn't absolve them. Having written a C++14 RTOS, if I had to give up multiple inheritance, namespaces, sane casts, and templates, I would have just written the damn thing in C to start off with. The value proposition of institutionalized C with Classes doesn't do it for me.

See https://www.youtube.com/watch?v=TYqbgvHfxjM for what you need to do to have C level perf while using the type system to still get you something.
His book on coding theory was an epiphany for me....

ie. Most books on technical are hard to understand, not because the subject is so hard, but because most author's are crappy at writing books and explaining there field.

Hamming is an example of how are hard topic could be made readable.
Yes, but mostly hydro for power generation.
> doesn't have any built-in capacity to hibernate/serialize compilation results (parsed AST) to disk

It turns out there isn't much purpose to that. DMD can build an AST from source so fast, that building an AST from parsing a serialized version will hardly be any faster.

Vladimir sidestepped that by saving a memory image via fork.
"Pardon me, HAL..."
Falcon Heavy 1/48 scale model, flight 1. (YouTube)
neediest ?
Thanks. I had them backwards. I had one of these portable radios as a kid.

Been a long time. :D
The Rust compiler uses LLVM, and so fares roughly as well as clang.
Trains don't get you and your overseas goods across oceans (yet).
Sorry - British. Sarcasm is our art.
Boring in what way? Some of the coolest stuff we work with is built with C. C is ace. C is cooler than C++
Not going to happen. Maybe after half a century or more (I'd bet close to one hundred) assuming everything goes perfectly, but not even close in twenty - at most they'll be a very strong regional power and their sphere of influence will push the US further out of SEA (which is still heavily favoring the US as of today).

China's economy will probably be the most powerful in the next twenty years, but that's not nearly enough. People vastly underestimate how interconnected and influential the US is economically and militarily - the idea that the US will not be the world's dominant superpower for the next fifty years is click bait in the era of Trump.

We're also quickly increasing the number of unknown variables as the years go by - no one knows how or when the next financial crisis will play out in China, or the volatility of their governmental system - countries often do well until one day they don't. The same could be said about the US, but the country has proven itself to be incredibly stable thus far.

> 3rd world/developing countries and America's numerous enemies alike are lining up to ally themselves with China

As you mentioned, 3rd world - they are playing the long game, certainly longer than twenty years. The payoffs they are hoping for are fifty to one hundred years away (in Africa, etc.)
i am mistaken. But the idea is , if they were not based in europe , which country's DPA is going to go after them? Where will the money be paid?
Ah, perhaps that's the difference. I use the iOS app and don't see a prompt.
To avoid disturbing others in the same room, I watched this at first with sound entirely off. Watching it again with the benefit of sound it's blindingly obvious that this is slowed down significantly... Facepalm time.
I do know that. I'm commenting on the fact that Texas is investing in renewables while at the same time investing nonrenewables at the same time.
Don't roll your own crypto. If that was much better encryption, everyone would be using it.
> There is no electrical generation source that is worse than oil, for any electric car. Only 1% of energy makes it to the wheels when burning petroleum to propel a vehicle forward.

What? You say "there is no electrical generation source that is worse than oil" then say "Only 1% of energy makes it to the wheels when burning petroleum to propel a vehicle forward." A gasoline powered car is not an electrical generation source so I'm sure what your saying, especially because coal is a much dirtier source for generating electricity. Also a quick google search shows that gasoline powered vehicles have a tank to wheel efficiency around 16%[1][2] which is much higher then the 1% you stated.

And my original point was, If a electric vehicle is being charged from a dirty source like a coal plant then it can be more polluting then driving an efficient petroleum car. Coal is more polluting then Oil when burned and converting the heat to electricity is a huge hit to efficiency. Only about 30% of the energy from coal is turned into electricity. Plus you have transmission loss from getting the electricity from the power plant to the EV.

[1]: https://cleantechnica.com/2018/03/10/electric-car-myth-buste...

[2]: https://matter2energy.wordpress.com/2013/02/22/wells-to-whee...
possibly useful for flying contraband over a prison or border wall
Depends on a lot of things. But a big one is the amperage used. There's a parallel frequently used. Voltage is the reach, and amperage is how hard you can hit. This is why a lot of Tesla's demonstrations weren't fatal to people (and being high frequency).
This device, probably not using high amperage anywhere that would really matter. But they are pulling high amps from the batteries, which is then converted to high voltage. So there is a distinct possibility that it could kill someone. But not likely in this small of a form factor.
Humane AI Newsletter #13: Origin of the Mechanical Turk and Stalin’s “deepfakes”
You went totally the other way with the China angle though.

For high profile spying you would get consular help and maybe a spy trade.

No way you would be brought up on made up charges. You also have to consider the free press and the pressure they can apply in the US vs elsewhere.

The UAE press (or KSA, China, etc) operates under much different constraints.
It is fascinating - and unsettling - how many people react to this on range of "ha-ha, stupid medieval idiot, deserved to be murdered" to "typical American!".

I know some cultures don't value human life as high as we in the Western culture do, and murdering people for trespassing on some taboo barely comprehensible to outsiders is not very far from our culture either. But what I see is a person trying to do a subjectively good thing to the islanders (even though one can certainly disagree about it being objectively good, but it's clear he meant absolutely no harm to them) and objectively at least not doing anything we'd consider harmful - getting murdered.

I don't think it warrants derision and mockery that I am reading here, and I don't think such reaction would follow if he wasn't an American Christian. It is true than in the past Christians participated in many atrocities (not that it's in any way unique to Christians), including against indigenous people - but this person has nothing to do with it. He meant no harm, and he got murdered for it. It is tragic, and should not be a place to make fun of his religion (even if you consider it and all religions stupid in general, there are many more befitting opportunities to make fun of them than a murder of an innocent person) and blaming him for being American.

Yes, maybe he is not the cleverest cookie in the jar, and he probably shouldn't have done what he did. But making fun of his murder goes far beyond that, and I am positively horrified of how many people jump into that so readily and with such gusto.
At my last apartment, I was paying only about $40/mo for 100% wind/solar. It's incredible what a little government-mandated competition can do.
Sure, all of us execute stuff on kernels that are written in either C or C++ or C# or Objective-C, utilizing runtimes that are written in the same languages and calling APIs that are defined by the C application binary interface. That family of languages isn't going anywhere and choosing C instead of raw assembly is often chosen out of practical reasons, such as code maintainability.

Still, I find it hard to put an equality sign between "X has a runtime written in C" and "X is written in C".
I'm excited to see what happens with Embark Studios; EA SEED started using Rust for stuff, and Embark is a new studio founded by some ex-DICE/SEED folks that's doing everything in Rust. There's also Ready at Dawn and Chucklefish...
"Use the code on windows" and "support msvc" are orthogonal properties. Gcc and clang both compile windows binaries.
PHP zero-day vulnerability.

Better off offline, honestly.
I wonder what they are valuing their mining equipment at and if that includes crypto mined so far.
>for military strategic advantages in the middle east.

Really? As a European, I feel much closer to Iran's history and culture than Saudi Arabia's. My understanding is that the US chose a side a long time ago (cf. ARAMCO foundation) and decided to go "all in", even if it goes a long way against its interest. And things are getting worse with time.
We're also the largest electricity consumer, so that might not mean anything special.
It's anecdotal of course but before my wife and I married we negotiated two rules: no going into politics and no being a landlord. The latter was the result of her parents holding commercial properties and having one tenant who upon eviction for non-payment broke into second floor they weren't rented and stealing everything.

Sure enough every few years that particular motorcycle dealership has a going out of business sale and move locations, so it seems like a pattern. But the point is even in commercial real estate you may be completely in the right and still get ripped off by professional scam artists or left spending tens of thousands pursuing justice in the courts as my in laws had to do.