skysight-inc/HackerNews huggingface dataset:
Thanks for this suggestion.

In case anyone else is interested, there is a freely available ISO of the the book available from Dr Dobbs Journal. From the README in the ISO:

>"Welcome to Dr. Dobb's Small-C Resource CD-ROM, the definitive collection of
Small-C related information and source code. This CD-ROM includes the full
text to James Hendrix's book "A Small-C Compiler: Language, Usage, Theory,
and Design," selected articles on Small-C from "Dr. Dobb's Journal" magazine,
and Small-C implementations for a number of processor platforms, including
the 8080, Z80, 6502, and others."

It's available here:

http://www.drdobbs.com/developer-network-small-c-compiler-bo...
I question your statement that building apps on weakly-consistent systems is so difficult. I’ve worked on very large scale systems that you’ve definitely heard of and probably used that are built atop storage systems with very weak semantics and asynchronous replication. Aren’t such systems existence proofs, or do you think there’s just a huge difference between the abilities of engineers in various organizations?
It also reacts very badly to liberators zones, compared to like tank zones.
Arbitrary data querying are literally the problem databases exist to solve. It's a monumentally hard problem.

And there's another issue on top of it, the company 'crown jewels' problem. If Spotify makes it too easy to query Spotify, then it becomes ridiculously easy to compete with Spotify. Which isn't a bad thing necessarily, but not something we should expect Spotify to expend millions of dollars to enable.
The post talks about Spanner using "a specialized hardware solution that uses both GPS and atomic clocks to ensure a minimal clock skew across servers." But what it fails to mention is that is that this time is distributed using a software solution --- NTP, in fact.

Google makes its "leap-smeared NTP network" available via Google's Public NTP service. And it's not expensive for someone to buy their own GPS clock and run their own leap-smared NTP service.

Yes, it means that someone who installs a NewSQL database will have to set up their own time infrastructure. But that's not hard! There are lots of things about hardware setup which are at a similar level of trickiness, such as UPS with notification so that servers can shutdown gracefully when the batteries are exhausted, locating your servers in on-prem data centers so that if a flood takes out one data center, you have continuity of service elsewhere, etc., etc.

Or of course, you can pay a cloud infrastructure provider (which Google happens to provide, but Amazon and Azure also provides similar services) to take care all of these details for you. Heck, if you use Google Compute Platform, you can use the original Spanner service (accept no substitutes :-)
Yeah that's pretty common today even at a lot of places, no hard drives leave the premises.

Generally though there's not much to be confused about in my experience, it is typically in the contract. When I went onsite if they demanded the equipment for security reasons I just handed it over... you'd be surprised how often security guy or IT security guy suddenly doesn't like being responsible for some cards or such and lets you go ;)
"I love C++. I also love safe code and not having to worry about dangling pointers and iterators and views. So I’ve been doing some work to make my life less conflicted"

I love the honesty there :)
I'd like to introduce you to the wonderful world of templates.
True, but you have missed the part that makes C++ safer than C.

- User defined types with invariants

- templates, const, constexpr and if constexpr instead of macros

- proper string types

- proper vector types

- type safe enumerations

- many implicit conversions in C are compiler errors in C++

- RAII

- contracts

- generic data structures

The iterator invalidation is easy to find out in compilers like Visual C++, their STL implementation can be customized to validate iterator invariants.

The danging pointers, use-after-free, use-after-move mentioned by you are the purpose of this proposal.

I was an early C++ adopter in 1992, LLVM rejuvenated language research in 2003, DirectX and Metal shaders are a C++ dialect, AUTOSAR has migrated from C to C++14 only two years ago, NVidia GPUs since Volta (2017) are now being designed to run C++ code efficiently.

A time frame of about 30 years for C++ to become widespread as it is.

I am all for Rust or similar language to replace C++ and do away with C copy-paste culture, but I am not throwing away all my code just because.

So yeah, it isn't perfect, but it surely is way better than plain C coding and the community does try to promote not doing C in C++.

CppCon 2015: Kate Gregory “Stop Teaching C"

https://www.youtube.com/watch?v=YnWhqhNdYyk
GTKmm. GTK uses GObject to implement inheritance between C structs and it's easy to go wrong when extending. GTKmm wraps GTK in C++. It's a joy to use and is safer.
It's not a scooter vs. car question, it's a scooter vs. public transportation question. Or scooter vs. bicycle. And while I am pro-scooter I really think the upsides of public transportation and a city being bicycle friendly are greater than a city having pay per minute-scooters.
Advice for interpolation or extrapolation
Disagreement about what though? Does Spanner's solution have an objective problem? Do you or others in your community have specific reasons to believe that it cannot deliver on its promises?
I'm surprised at how much it's deteriorated in just 10 years if it was last open in 2008.
Yeah, good question. I agree, lol.

In my particular case I do need some C#/Backend functionality that I don't want to have to call a server for.
I cannot access the paper proper. What is tha actual actuator made out of?
Thanks. I added a parenthetical remark to the post to indicate that I was talking about DynamoDB's default settings.
Nothing will change until there is a significant attack on BGP resulting in widespread network outages.
I had a blast at Meow Wolf. This short video sums it up for me. https://instagram.com/p/BfmE-lVHHV-/
From 1880 to 1916 Ireland was 25 minutes and 21 seconds behind UTC
I'm confused why you lead with "This is nothing surprising." The article does not present it as a surprise, but as something the reader may not know - which is standard for any article. The author is also clear in explaining that this process has been going on for decades.
Understanding Machine Learning: Supervised, Unsupervised, Reinforcement
CEO’s job is a full-time fundraiser – and how we could change that
I would not judge things on aesthetic quality, but simply on results. In general code faces difficulties that grow exponentially with with time, size, and the number of contributors. Millions of lines code, thousands of contributors, decades of development and it's still at the top of its game? In spite of its complete lack of aesthetic appeal, that's the Linux kernel.
Wow! Nice article! I'm thrilled to know more about Kotlin's type system.
I would wager you coulld weaponize a micro/cubesat enough to cause much more than icbm levels of chaos by attacking other sats (GPS, Spy, Comms, etc.) Thinking in terms of 1940's missles is a bit outdated.
this isn't a "solution" in the sense of solving a problem that people use to build upon or share to help others not deal with that problem, rather its an essential part of the educational process of a course to derive the answers yourself to actually learn the material

there is a big difference
why didn't you disclose your connections in your post? It appears you've written much the same article for FaunaDB's official blog in the past (https://fauna.com/blog/distributed-consistency-at-scale-span...).
Crooked Coin Probability Puzzle
promoting friends over high achievers,
nepotism,
gaming performance metrics,
gaming peer-reviewing systems,
deny profusely blame for things you did,
framing others for your mistakes,
withholding key information from peers,
installing hidden scripts to break things when you are not at work,
closing unresolved support issues to reset SLA metrics,
clock-in to work then take a stroll through the office until lunch,
clock-in to work from home and go watch Netflix,
take sick days off to undergo cosmetic surgeries...

just some examples from the past couple years that came up real quick =)
I’ve seen comments on HN over the years in which someone Dunning-Kruegers their way into saying that TrueTime is easily replicated. I always wonder if they have sixteen senior SREs in their pocket, because that’s the level of production engineering Google applies to the problem. Time SRE has at various points had take measures up to and including calling the USAF and telling them their satellites are fucked up. If you don’t have the staff for this, the easiest way to get access to TrueTime is probably to just use Cloud Spanner.
This happened to me a lot when I was younger, it still happens now but not as much. I'm thankful for friends that noticed I was retreating a little and would go out of their way to invite me to hang out, or just bring me out of my shell.
The five Regional Internet Registries (ARIN, APNIC, LACNIC, AFRINIC and RIPE NCC), who are responsible for registering IP addresses and AS Numbers in their respective regions. They have the authoritative information on who is the legitimate holder of a resource, so it fits the model.
When you study something, you have to focus somewhere. It is not "daft" to focus on something, even if you and everyone else know there is more out there - you only have limited time and effort. The hope is that others will focus on the other things.
Yeah, it's nothing like 1-2 storey buildings with exposed brick and wood, often conjoined in pairs, triples or long lines, that take up large swaths of land on a small island.
Redis GeoHash Port
How design thinking can make you a better leader
The basis of copyright is that you own what you make and you retain the exclusive right to publish it and decide how it should be published.

If you don't have any terms of service or any kind of licensing info on your website the default is: it belongs to you and you choose to exclusively publish your work on that website. Just because there's no license info doesn't mean it's public domain. You have the right to cite the content properly (meaning attribution) as part of anther work under fair use.

The problem here is the technicality of what it actually means to publish on a website.
What's the maximum gravity we could survive?
Ask them to lead the clean up it themselves. This let's you acknowledge their good intentions and doesn't feel like you are throwing them under the bus behind their back (bad analogy).

They screwed up, but this lets them look responsible and self accountable. There is no cure for bad management, but with decent management the friend will be more embarrassed than anyone would be judgemental - screwups happen, coverups or ignoring them is the thing that is far worse.
Social Capital Founder Gives His Account of Turmoil at Firm – The Information
Your farebox recovery ratio is way off - the DOT statistics I see show 42% [1], significantly lower than both Vienna and Munich.

[1]:https://www.transit.dot.gov/sites/fta.dot.gov/files/transit_...
> but even Tegel is a bit of a disgrace for the main airport of the German capital

Yes. A total disappointment. And the "main" terminals are the worse, the low cost ones are less crappy.
I strongly second that. We are more and more former users of LuaJIT who either don't use LuaJIT anymore, or think it is not a good long-term solution, because of those two issues (and absence of support of recent Lua versions).

In addition to that, people working on Titan say it could become an alternative to C for people who write applications in PUC Lua + C:

- It has an FFI so it can be used to implement bindings.

- It can also be used to extract performance-sensitive code from Lua into a compiled language.

- It should support newer Lua versions, being developed by people from PUC / close to PUC. Yay, 64 bit integers and bitwise operators!
It wasn’t “centuries”, it was barely 50 years. The USSR itself didn’t last 80 years, and before WWII most countries in the area (with the notable exception of Poland) were just fine - in fact, they were pretty happy after the fall of the Austrian Empire. Warsaw Pact countries were still relatively free to chart their own path in non-military matters until the Prague Spring of 1968.

Russian influence on the region is a related but separate issue, but let’s not paint central Europe as some sort of perennial victim.
Granted I haven't read much open source code but when I was working in Flask, I found the source code to be awesomely clear and well-documented. I actually learned quite a bit about Python by reading Flask code. Also, no-one could explain "g" in a way that made sense, but the source code made it obvious. Would recommend reading it if you're into Python at all.
I think it is pretty logical in general, not much weirdness anywhere.
The US and China Are Running Out of Things to Threaten to Tariff
iPhone XS and XS Max Teardown
I think if we had a single chip solution, we could make it work, but since we're using 2 chips, it would be tight. I posted schematic in other comments.

Maybe one "affordable" idea could be to stack 2 two-layer PCBs XD.
When I Was a Boy (1997)
Kind of. While some are 'van lifers' many are poor who still prefer slumming in socal to affordable housing in say, tennessee. Never underestimate the innate stubborness of humans.
>A postcard sent by me to my friends with a cute cat is not a meme.

And when they send it to others, who send it to others, then it is a meme.
I grew up literally behind the Moscow Academy of Sciences, and loved looking at that building every day.

It was also fun when they started tearing down the statues; just these huge, metal bodies and heads laying in the courtyards for us kids to clamber over.
The corporation is allowing it to happen. Users won't do it otherwise.
Yeah, geezerjay has it right. For a new programmer trying to get a "crash course" in Qt, app.exec() is a black box you don't really need to mess with.

You can explain that it drives all the mouse, keyboard, and QTimer signals when you begin to implement the event slots on your widgets, but as far as getting an app to run it's a matter of calling app.exec() and leaving it alone.
>This sort of adversarial judicial system is akin to Democracy, in that it's the worst system of its type, except for every other system we've tried.

Except that's not really true. Democracies are split between highly adversarial common law systems, and civil law systems where judges take a stronger role in the process. People living under civil law, with less adversarial systems and more inquisitorial judges, don't seem notably more or less happy with their justice systems than those with adversarial systems.
Equity Investment Platform Preparation Best Practices
You make a perceptive point about the metaphor being wrong. Code reviewers should be more like advisors and less like gatekeepers. I've had to go through too many reviews where I end up having to bend backward to please the reviewer.

Gatekeeping is occasionally needed, like in case of someone outside the team contributing a change, serious bugs, egregiously bad coding style like global variables and gotos, new team members/employees, people fresh out of college, etc. But I've seen reviewers going too far in the direction of gatekeeping.

I tried to improve myself as a reviewer by asking if I can approve the change in the first round of review. I don't hold back from giving as many comments as I feel like, but I also try to approve in the first round, reminding myself that the other person is also a competent engineer who can make the right decisions even if I'm not looking over his shoulder every second.
It is no joke, the language offers the tools for security conscious developers not to write plain C, while being able to easily write safe wrappers to C libraries.

And since no one is going to rewrite all UNIX derived OSes and their C userland into Rust, that kind of compatibility is desired.

Anyone that spends a couple of minutes going through C++ conference talks knows that the community does care about how to make those language features to good use.

When was the last C conference with security related talks?
Ask HN: How to handle a record during an interview?
I have a record, I was convicted of a handful of felonies roughly five years ago and ended up going to prison. I have since then gotten an awesome job and am doing well. On a whim I put a few application in to some dream jobs (I reverse commute at the moment and would like to get closer to the city) and a few companies are actually very interested. I even have an interview coming up in a few days for full-stack React development. Do I disclose up front? Any input from people who do the hiring would be greatly appreciated. I would hate for it to be a perfect fit and no one says anything, only for it to be a huge issue down the road. I am confident that I can get a job on the merit of my code and I do not want to shoot myself in the foot. Thanks for any input!
You couldn't because of a work-related IP block or was there something else? Because honestly my stuff is pretty fast and loose compared to their coverage, though it pains me a bit to admit it.
Cloudflare Ends CAPTCHAs for Tor Users While Blocking Bad Actors
Yep agreed. Though you can communicate design intentions in comments, no ? There is another argument that programmers might not follow the comments, so strict enforcement by types helps - I don't believe in such a philosophy though. Most programmers will do the right thing and mistakes are not intentional.
I generally agree with all of this.
Read "Road to Wigan pier" by Orwell.

He became seriously disillusioned with socialist ideals later on in his life. And famously said "Socialists don't care about the poor, they just hate the rich"
"Tracking" is probably too aggressive a word here. Sounds like they're counting, while "tracking" opens up a lot more metadata potential.
This is definitely a time when I'm annoyed to be a New Yorker -- we're shut out of all of these developments. We committed to Citibike (provided by Motivate), and now we're stuck trying to protect the granted monopoly by shutting out all the dockless e-bikes and electric scooters in favor of the overpriced incumbent.
Thousands of WordPress sites backdoored with malicious code
Google to lawmakers: Yep, Gmail data is still open to app developers
The Best Books of the 21st Century (So Far)
Man scammed into purchasing computers
At least with Haskell (I can't speak for the others), you don't redefine existing operators, you add new ones. Which is less confusing in some ways
'Don't steal from Americans. Ever'
They had drafting working just fine in a previous version of the AI. (The one that played against semi-pros a month or so before TI.)

One theory I heard was that the pre-made matchups at TI were designed to prevent the human players from getting out-drafted. (The hero pool was pretty limited, which could result in a different meta from what the human players were used to.) They wanted to make the matches purely a test of in-game skill, not about the metagame. As far as I know though, the OpenAI team hasn't explicitly confirmed that.
I can't tell if you're arguing that the Metro should be expanded, or that is a waste of resources.
And to boot it requires heating up the alane to +80C so you're going to need some sort of priming battery in addition to the tank.
I find Highcharts' pricing model to be pretty fair. It's free for personal sites and nonprofits so you can experiment with it as long as you need to before making a decision. For the paid licenses, I'd much rather pay a one-time fee than be on the hook forever with monthly fees.
Encryption Bill sent to joint committee with three week submission window
Tempelhof was started during Weimar, but it was rebuilt by the Nazi government, which is why it looks how it looks (and why nobody wants to reuse it, given a chance).
CockroachDB's performance is dependent on time synchronization. If a node detects it's too far behind, it will commit suicide.

However, before it detects it, there is a possibility of stale reads.

https://www.cockroachlabs.com/docs/stable/recommended-produc...
Libuv is one of my favourites
https://github.com/libuv/libuv
Aren't administrator permissions necessary to write in the other process memory?
Yup, this is the idea. :)

If you don't mind, I'm curious about what applications you currently use Lua for.
Relativity is essential for nuclear physics, because of the high energy densities.
That's pretty idiomatic in Python and often is fine. But surely can be abused. Pathlib let's you use / to append paths. You're not dividing anything but it's still quite intuitive.

And python sets let you subtract to get a difference, similar to your clever trick. I think it helps when these things are core to the language and broadly known. Otherwise you're scratching your head at what - will do.
I'm a Linux fanboy myself but come on - we're talking about nearly 30 years' worth of commits from thousands (tens of thousands?) of developers.

The only thing I can say is that with this in mind it's actually a lot better than I'd expect - testament to Linus's iron fist, perhaps.
AdGuard resets all user passwords after credential stuffing attack
The article specifically states that Calvin comes out of his research group and that FaunaDB was inspired by Calvin.
In the post and another comment here it is stated that Calvin can handle any real-world workload. However, according to my reading of the Calvin paper, one must understand the update keys before starting the transaction.
I also experienced limitations when trying to use FaunaDB: it doesn't support ad-hoc queries and it only allows for indexed queries.

I really like the Calvin protocol, and is does seem perfectly suited to many application workloads, but it is odd to me though, to see Calvin presented as purely superior to all alternatives. It seems like more research and work needs to be done to create systems that can address its shortcomings around transactions that query for keys (3.2.1 Dependent transactions in the paper), including ad-hoc queries, and even interactive queries (with a transaction).

Disclaimer: I work on TiDB/TiKV. TiKV (distributed K/V store) uses the percolator model for transactions to ensure linearizability, but TiDB SQL (built on top) allows write skew.
I think that django-rest-framwork is one of the best software implementations out there!
Canadian retailer's servers storing 15 years of user data sold on Craigslist
Meow Wolf is quite a thing in New Mexico. I've been there half a dozen times and I always find some new room or closet full of wonder that I missed before.
It is.

RustConf 2018 - Embedding Rust in C/C++

https://www.youtube.com/watch?v=x9acx2zgx4Q
since spanner is distributed on the backend, any function that uses multiple sql commands that might be called or ingested by multiple sharded servers which are then sent to spanner, should always have these calls sent in a single transaction
This is exactly how to start a good conversation. People make small talk as a way of signaling that they'd like a conversation. All you have to do is say something that keeps the conversation going. The best things to say are positive statements about how you feel or what your background is because it gives the other person a chance to relate to you.
I agree. Attempting to remove the GPS and atomic clocks from the system seems like a premature optimization to me. They are cheap and the ability to order events according to an actual wall clock is a huge benefit.

Some basics for less-critical applications: https://github.com/jrockway/beaglebone-gps-clock/blob/master...