skysight-inc/HackerNews huggingface dataset:
> Already have a central, configured and monitored server and need "just a small queue" for something.

Fine. So use SQS or cloud pub sub. Both take 0 "server configuration work", and you aren't adding load to likely the single most expensive part of your infrastructure (RDBMS).

(The exception to where a RDBMS is not the most expensive part of your infastructure is where you have very large data with either nosql something, or a machine learning GPU array.. but not sure that is super relevant here)
This is pretty much correct. Spreadsheets have two powerful ideas: (1) the show the data (one the Learnable Programming principles) and (2) they are inherently live.
"And I was fairly certain I
hadn't enabled the "FAIL_MAIL_OVER_500_MILES" option."

I laughed.
RabbitMQ is on docker, its more or less the same work to launch as Redis these days.

(It can take a bit more tuning so I think it is unfair to say it is the SAME work, but it is seriously not a huge deal to run RabbitMQ in the post docker world)
We are using the Sangria[0] framework with a Play[1] app. Sangria does all of the GQL related stuff and Play dos the usual server stuff. Sangria's documentation is quite good, but the part that answers your question will be in the "Schema Definition"[2] section, which is where you describe the schema of your graph, and how each field is resolved.

[0] http://sangria-graphql.org
[1] https://www.playframework.com
[2] http://sangria-graphql.org/learn/#schema-definition
Wake-up call for cyber security
A reblog vomit with a garbage bait headline composed of comments on hackernews? What a turd of an "article" and I assume it represents all of "qz.com" quality
When you are desperate, you are acting irrationally and, definitely, absolutely, not thinking long-term, but counting on potential short-gains to survive, and looks like that's Whalmart is doing.

They are doomed, of course, just a matter of how long it will take until they become irrelevant. And it's not like they couldn't study history or didn't have time or money to invest in whatever would have been required to mount a better defence, but in the end, hubris and misplaced confidence is going to claim another foolish company.
You could say: I'm responsible for the technical side.
Its called abusing power. And a lot of people who find a lot of overnight success unfortunately don't realize the responsibilities that come with having more money and power.
Obviously that slide deck was not the offense in question for Mr McClure. However, I'm surprised you think the slide deck is appropriate. Here's a good tip: sexual jokes and references are just not appropriate for a business context. And they become even more inappropriate the greater the gender imbalance is. When there's one or two women in a room of fifty men, and you give a presentation mentioning the supposed universal desire of getting laid, money shots, and showing a guy cuddling up with two adoring women, all of whom are partially undressed, that is creating an extraordinarily uncomfortable environment for those women. Combine that with near-constant "flirting" and come-ons those women experience from the men with more money and more power who surround them and can control their future in the industry and who often react very badly to any suggestion that they are being too aggressive or misinterpreting the women's behavior, and it feels like real menace, not harmless jokes.
Even the method cache seems expensive -- compared to an indirect function call (using a virtual method table). Can clang replace msgSend with direct calls when the destination class is known at compilation time? (perhaps with a guard to verify that the object class is as expected)
You've hit a (pain) point.
While graphql reduces the amount of trips to the backend for the browser, those round trips get pushed down to a lower level, between backend and db.
The reference graphql-js implementation, while at first looks so easy, you just write a resolver for a field, makes it oh so easy to have terrible n+1 problems. dataloader helps a bit but it's not as optimal as it can be.

You need to be very careful. To be optimal, you'll basically need to write very complex resolvers that inspect the AST themselves and fetch the data optimally which at that point is almost as writing your custom execution module.

That is basically what i did, custom execution module to translate a graphql request to a single sql query (https://subzero.cloud/)
Takes a lot of courage to do this. People that fight their employers can sometimes be seen a problematic during background checks and can be dismissed for BS reasons (or not providing a reason at all).
You seem to be a little naive when it comes to dating. Money by itself doesn't guarantee good partnership. There's also: personality, physical attractiveness, compatibility etc.
"Sex worker" denotes consensual sex work, while "prostitution" includes human trafficking.

Also sex workers includes dancers in strip clubs, phone sex operators and adult magazine models none of which engage in the physical act of sex with others as part of their job:

https://rewire.news/article/2008/05/06/sex-work-trafficking-...
That doesn't make it appropriate. If anything it's evidence that its author knew very well it was _not_ appropriate.
These cities in California’s East Bay are raking in venture capital
The last three packages I got from Amazon were late, even though they were Prime guaranteed. Only one of those was the fault of the carrier, the other two sat in the Amazon distribution center for the two guaranteed days, only making it to the carrier long after they should have been in my mailbox.

While I was able to get an extension on my Prime membership all three times, I'm starting to wonder if I should just drop it altogether. Yes, the shipping is "free" even if it's late, but it's damned annoying when I try to plan around a guaranteed date that ends up anything but guaranteed.
New Technologies from Cryptography to AI Rapidly Transforming Financial Services
I too have an IntelliJ IDEA subscription and I'm happy to pay money for it BECAUSE if I stopped paying, in my case, the community edition is open source and good enough. I basically could do all of my work with the free version, yet I pay them because I want to see Jetbrains thriving. But if they'd drop the community edition, I'd drop IntelliJ IDEA like a hot potato.

As a developer I got the best value from open source tools. I like the feeling of control that gives.

I do pay for Fastmail and for Dropbox, because my email and data are very important. And a good laptop is a must and I like MacBooks.

But my general rule of thumb is that subscriptions have to give a 10x return of investment to be worth it. And I'm sorry, but most tools don't deliver. You're claiming a 50x-100x return, but that's ridiculous.

As a dev I could do all of my work on Linux, using completely open source tools and I can get by with completely free documentation or by reading source code. I know that because I've been doing it for the better part of my career.

Basically productivity has more to do with knowledge than with tools and I'm not talking of the superficial knowledge that you get from beginner books, but the kind that you get by working on hard problems, reading academic papers and doing deep dives in source code that isn't yours.

So seeing OReilly change their business model, after years of recommending them, well, I'm not a cow to be milked or their personal ATM.
"The Software shall be used for Good, not Evil." clause made JSLint's license incompatible with MIT [1].

"He has, however, granted "IBM, its customers, partners, and minions" permission "to use JSLint for evil", a solution which appeared to satisfy IBM's lawyers."

:D

Given IBM's history of making Jew-counting machines for the Germans during WWII, that exception is particularly disturbing.

Also JSON [2].

[1] https://en.wikipedia.org/wiki/Douglas_Crockford

[2] http://www.json.org/license.html
Here's a good list: https://www.indiehackers.com/forum/post/-KneXD3g4ILXwNJdJ9nh
Dropbox Looking to Go Public
Protesters Physically Block HQ of Russian Web Blocking Watchdog
> There are many benefits to the transactional integrity you get when using direct connections to a relational database like PostgreSQL. Putting a queue outside of your db breaks ACID compliance

What? Most job queues are inherently to do something outside of the database. For example: I need to send some emails, or I need to resize some images. You cannot wrap sending an email in the same transaction as your queue work, nor can you wrap resizing some images in the same transaction. The ENTIRE reason you are using a message queue is to go to some external work. So this literally makes no sense.

> and may result in silent conflicts or corruption when different services read and update the same data.

You need to program this in one way or another no matter what. If you programmed your code to do "silent conflicts or corruption" then I guess you are going to be in trouble. So don't do that.

> DB transactions eliminate a bunch of the weird and dangerous corner cases you will get with data flows that are performed over multiple network hops having uncertain timing, congestion and reliability.

Again, you are missing the point. MOST job queue work is stuff outside of the database anyway. You still have stuff outside the database.

> The performance and scalability of monolithic dbs is often better than people expect because the data stays closer to CPUs and doesn't move across multiple nodes on a relatively speaking, slow and unreliable network.

Not that relevant. If you are doing 10,000 messages a second (or more!) to your job queue, and are looking to hold open a bunch of transactions, you are going to be in for some pain.

> Trying to add transactional safety after the fact on top of a clustered db/queue is a huge headache and you will never get it as good as transactions that happen inside a single server.

And trying to use PostgreSQL as a job queue is going to give you 1% or .1% of using RabbitMQ or Kafka or SQS or Cloud Pub Sub as a job queue. You are trying too hard to use a database for the wrong thing.
The GCC AST thing was due to politics inside GNU, not explicitly related to the GPL.
Hopefully this will backfire on Wal-mart.
BSD style licences dont require source code changes to be released. For example, the PS4 OS is based in part on FreeBSD, which is distributed as binaries. Sony is under no obligation to release any source code changes or contribute anything upstream. Copyright holders for people who wrote FreeBSD code have no legal standing to sue for access to these changes either (I think, but I am not a lawyer).

By contrast Android devices all run the Linux Kernel, which is licenced under the GPLv2. Android device makers are obligated to release the kernel code they use, so users or upstream developers could use it. It's a bit more complicated than that, because the code doesnt necessarily have to be able to be loaded on the device (GPLv2 doesn't say anything about locked bootloaders or cryptographic signing, for example, and binary blobs that work in tandem with GPL code are a bit of a grey area, as far as I know).

Parent commenter prefers the latter style, or possibly even GPLv3, which imposes additional restrictions on what you can do. See Tivoization [0].

[0]https://en.wikipedia.org/wiki/Tivoization
Which n+1 problems doesn't dataloader solve?
I was also working in the industry at the time.

Microsoft leveraging monopoly power was certainly a/likely the major factor, but Netscape also had serious execution problems trying to get out an email server and directory management product.. at the time they could have stolen significant share from Novell.

A lot of this is I believe covered in the famous "never do a rewrite" JWZ essay and in Ben Horowitz's book.
Of course, there's a lot there because it simply ain't as simple as:

"Do you sexually harass?" or "Do you have consent?"
Such statements underestimate the untold complexities pretty much all social interaction are based on.

That's why solutions to these problems are not as simple as some people like to pretend. Nobody really likes talking to each other bluntly, everything always has to be implied or "said trough the flower", leaving way too much room for ambiguity and as such misunderstandings that keep on going on as nobody wants to be the guy/gal angering the elephant in the room.

About your VC pitch question: Really depends on the type of sexual advance. While I don't practice it personally I don't see anything wrong with somebody telling another person "I consider you very attractive, do you want to have a good time with me?", it's a given that some people might not be as classy with their choice of words.

Yet it's quite direct, it's to the point and thus doesn't leave much room for misinterpretation or waste anybody's time with ambiguity.
As such I don't see why anybody would need consent for asking, first and foremost it's just a question and not an insult, order or the "objectification" of somebody.

It's another story if with "sexual advances" you mean something like groping, uninvited kissing or any other uncalled for body contact. Needless to say, that's a no-go and nobody ever claimed otherwise.
It's not a paranoid atmosphere. This harrassment is real. If the comments are come-ons are among peers and welcome, then that's one thing. If the come-ons are coming from someone you are asking for investment from, that's inappropriate. If the person is rebuffed but continues making comments or propositions, that's harassment. I'm hoping you didn't browbeat your spouse into an abusive relationship. Presumably your come-ons were welcome. The problem happens when they aren't, and when a rejection results in continued repetition of the behavior or worse, retaliation.
15 lessons from Steve Jobs (written by his biographer Walter Isaacson)
Do I care about the state more than myself and my family? No. I'm going to do what's best for us. Encouraging people to stay goes against their best interests.
A better question would be: Should programming be liberated from the von Neumann style?
Well, given every A-series chip has a lot of special purpose transistors (GPU, encoding, decoding, etc.) and I notice the bitcoin crowd has a lot of love for special purpose transistors, I don't think the lessons of RISC are that cut and dried. I would imagine a dynamic dispatch instruction would be an interesting addition that would require some thinking on the CPU and MMU.

Pulling out the iAPX 432 (or even the Itanium for anything VLIW) is a nice historical note, but they are single projects that had more than technical problems. Not thinking about all the possible solutions when a company controls not only the software but the hardware at such a low level would be sad.
If you haven't read it before, there's also "The Story of Mel" which is quite a bit older (1983) but is also a very fun read. http://www.catb.org/jargon/html/story-of-mel.html
Check out Purescript [0]. I've used it in production.

[0] http://www.purescript.org
IBM is competing with Palantir via a product called Analyst's Notebook, which they bought from a company called i2 a while back. Prior to the buyout, i2 sued Palantir over how Palantir's "import from Analyst's Notebook" functionality had been implemented.

It's entirely possible that there are other things going on between Palantir and IBM, but I'm not aware of any other specific squabbles.

Disclosure: I worked at Palantir from mid 2009 to early 2014 and still own some stock.
Nice. By the way, it would be interesting to see a Bittorrent tracker ported to WASM, so it can run in the browser.
Compared to JS, yes. But it's not JS that Dart truly competes against, it's all the other compile-to-JS languages some of which I mentioned, and Dart simply can't beat their pragmatism and/or expresiveness.

Elm is deceptively easy since it has great docs, the best compiler errors in the entire industry (no exaggeration here) and skips all the voodoo incantations of pure functional programming favoring a familiar language instead. Took me a couple of days to start writing toy websites with it coming with no functional experience, and a week to be productive.

I'd suggest you take a look at some of the talks on Elm. This is a good one: https://www.youtube.com/watch?v=EDp6UmaA9CM

Anything by Richard Feldman is great, too.
More advisable? Yes. More necessary? No.
Or regarding Visa transaction fees in Canada.
I guess the cold war started.

I hope it isn't true. Amazon is not walmarts enemy: they should focus on low prices and growth using new technology. Their ceo said they reached employment peak [1]

Truckers and delivery people dont hate each other or have any competitive spirit among each other. Pay me to make a delivery. End of story.

The ups and FedEx guy(s) and i all bitch about the same thing: why cant these healthy lazy people go to the store. Day after day the same people get packages. What do they do all day, shop$!! Its so funny it could make a screenplay.

Truckers dont care either.

[1] http://abcnews.go.com/amp/Business/wireStory/walmart-traditi...
In science, you can either be funny or credible
A transaction in a database does not help you here.

Let's say these are your steps:

1) Open a transaction

2) Claim an email to send

3) Send the email

4) Make email as sent

5) Close transaction

Say your web client crashes between 3 and 4? The email is not going to get marked as sent, and the transaction will rollback. You have no choice but to resend the email.

You could have done this same exact thing with RabbitMQ and an external worker (Celery etc. etc.). You chose to either ack just BEFORE you start the work (between 2 and 3). You will never double send, but risk dropping, or you choose to ack just AFTER you start the work (between 3 and 4), and guarantee to always do the work, but at the risk of a double send.

If your task is idempotent this is super easy, just ack after the work is complete and you will be good. If your task is not idempotent (like sending an email), this takes a bit more work... but I think you have that same exact work in the database transaction example (see above)
Who is the hardest-working person of all time?
You don't have to worry so much about n+1 (once you're using dataloader) as much as you do deeply nested queries, or queries that run against a large number of datatypes.
Great thing.
Show HN: Bootstrapped Marine Electronics Device (From Itch to Launch)
Examples of the World’s Hardest Working People
Radiation from the bomb will immediately vaporize a thin layer of material on the portion of the asteroid exposed to the detonation. This happens very fast and imparts an impulse to the asteroid. It's an ablation blow-off event.

This will divert the asteroid. How much depends on the mass of the asteroid and the magnitude of the ablation push. The latter is complicated: bomb yield, distance, yield spectrum, asteroid material, etc. If the asteroid is quite fragile (think comet nucleus instead of metal or rocky asteroid), it might break into smaller pieces.

In any event, there's no need for intervening air to couple energy from a nuke detonation to an object in space.
TIL: units is a really useful utility command that I had forgotten even existed.
India GST: Sweeping tax reform introduced
It is probably the first paper where FP ideas are introduced. I remember this title so well even after almost 40 years because my junior year CS thesis was based on this paper!
That is a strawman though.

"Why would you need to buy an expensive screwdriver? Your hammer will do a just dandy job of putting in screws"
If men feel the need to "walk on eggshells" to avoid offending women, then they're already in a bad place. Most men don't actually feel this way. If your first instinct in dealing with a woman at work is to make a sexual joke, or comment on your colleague's attractiveness, or to scheme about how you could convince her to date you, then _you_ are the problem, and you have problems, and you should do something about it. That is not normal or excusable behavior.

As for "women generally date up", that is a near tautology given the imbalance in power generally between men and women. By the mere fact that men overwhelmingly hold positions of power, women will typically "date up". There is no way around that. So it's not a useful statistic and certainly isn't evidence of anything.
15 of the hardest-working humans you'll ever meet, in photos
Yeah - I do know people of a lot of nationalities (my office is full of folks from around the EU and elsewhere) but overall I can imagine being here one might here different views than they would in another country.
In cities with booming economies this is accurate. High income newcomers spend a lot of money which creates more jobs and raises wages for existing residents. Any long time residents that own property have newfound wealth, and local businesses thrive.
Is Docker really necessary for this? I've never had any trouble just installing RabbitMQ from the package manager, and running it with only a tiny bit of initial configuration.
I have/had money to blow but I still didn't enjoy Vegas a bit.
It's probably one of the highest quality emulators out there. For example it is fully compatible with the Gamecube and Wii controllers using your computer's Bluetooth. They've reached a level where the console can even access the Wii Online community and appears to Nintendo's servers as a legitimate Wii (you still need to grab the encrytped blobs from your console though).

To all intents and purposes they've completely emulated a Gamecube and Wii and then gone many steps further in improving audio and graphics (original Wii is capped at 480p - Dolphin can go to 4K or beyond with visuals rivalling even the new Nintendo switch).
"Kildall, meanwhile, often didn't even seem certain he wanted to be running a business in the first place:"

I should mention Gates wrote the Open Letter to Hobbyists. Of course, this was before "open source" or "free software" even was a term. At the time, CP/M had a "BDOS" supplied by DRI with the OEM having to write the "BIOS". There were firms such like Lifeboat which had writing the BIOS as part of their job.

Thinking about it, I wonder if it would have been feasible for Kildall to work on CP/M full-time at Intel and release CP/M source to public domain instead. It would be nice if CP/M was the first thing ported to 8086 back in 1978 for example.
And a VP who doesn't dine alone with women.
You don't have to add types to start using a new library or web extension. At most you have to add 'declare var foo: any;' or cast a builtin to any if the type declaration doesn't have the property you need. Typesript always lets you use the any type as an escape hatch if you don't have types.
It eliminates n+1 but not in a perfect way.

If you have a 3 level query (3 tables), the best you can hope for is to get 3 sequential queries, like get first level, collect the ids, request the second level, collect the ids, get 3rd level. It gets even more complicated teh more levels you and the bigger the dataset returned.

all of this can be done using a single join which is one roundtrip and it's faster.
No, this never happens. (Method implementations can be replaced at runtime.)
Multilateral Security [pdf]
One of many SEC rulings to come for the crypto space.
Types document the code. Types replace a whole class of tests. A lot of code written with TDD is the result of a bad type system IMO.

Also it makes intellisense and refactoring easier.

Types are great! Believe in types!!
Nevada becomes fifth US state to allow cannabis sales for recreational purposes
That was my first thought: restraint of trade, or whatever someone who knows what they're talking about would call it.

Besides, what is Walmart going to do when AmazonTrucking is the only trucking company left?