skysight-inc/HackerNews huggingface dataset:
Even with them historically always bullying businesses, this and the other recent stories certainly do feel like Walmart is acting like they have already lost to Amazon. I was hoping Walmart would get better in their fight against Amazon. Naive me hah!

At least they are letting Lore handle online business for now.
So in the past you were a "windows jerk" but now you dropped Windows?

Seems like things haven't changed much.
‘this’-less JavaScript Development
Sentry and tools like it are reporting errors that are happening in production to real users.
It's more likely that OP finds such errors just as frequently but because they are relatively straightforward to fix he doesn't weigh them as much as edge case debugging.

I've heard this same argument from a coworker working on a different project recently working on React/ES6 stack - I check their TFS history and find 3 such fixes in last 2 weeks (and they have reviews before checking in to TFS).
Show HN: Get Better Luck – Your daily stream of opportunities
A nice guide to a lot of the things that make me redflag a website and any credibility it could have, before this list, had.
That I can definitely agree with.
It was my first time reading about it; it was fantastic.
Speaking of Chinese, I wrote http://pingtype.github.io to add pinyin, tone colours, literal translations, and a real translation to Chinese text.

I use it every day for reading the Bible, and I also processed music lyrics, movie subtitles, and restaurant menus with it.

I also made my own keyboard that works by decomposing characters into their radicals. You can also load Word Lists (HSK or TOCFL) to highlight the words you know, or hash-out the characters in the text that you don't know.

Please tell me how to market it. I keep posting on here when I finish new projects that use Pingtype, but I still haven't got many users.
I'm not too familiar with licensing, can someone ELI5? Eg, normally I just choose MIT because licensing is not a concern of mine. I'd like credit, but beyond that, do whatever the hell you want with my work. Now, I'm not making core nix tools, but should I be choosing a different license?

Man do I hate licensing.
Do you have a citation of an actual case of a VC falsely accused and then exonerated, or is this all in your head?
The Age of No Privacy: The Surveillance State Shifts into High Gear
Short answer no, it doesn't (at least now, release 1 week ago :) ), but dismissing it only for that would be a superficial look. Most cases don't need those guarantees, i.e. you can tolerate a few lost messages.

For example, you are implementing real time updates in your app using this.
What's the probability of a network glitch happening at the same time as two users being logged in at the same time in one system where an event produced by one needs to be synced to the other, even more, say he lost that event, is it that critical considering he will soon move to another screen and reload the data entirely?

From rabbitmq point of view, db&bridge are producers. You are really asking here, does the "producer" guarantee delivery?
To do that, it means the producer needs to become himself a "queue" system in case he fails to communicate with rabbit.

Considering we are talking web here, the producers are usually scripts invoked by a http call so there is no such guarantee in any system (when communication to rabbitmq fails).

However i think network (in the datacenter) is quite reliable so there is no point in overengineering for that case.

If the system can tolerate a few seconds of downtime, it's easy enough to implement a heartbeat system which would restart this tool in case it's needed, also, you can run 2-3 of them to make it redundant then use corelationId to dedup the messages.

A more robust tool would be https://github.com/confluentinc/bottledwater-pg but it's for kafka and the major downside for me is that it cant be used with RDS since it's installed as a plugin to postgresql
Depends on what you're adding. Running Redis is dead simple and easy to have visibility into. RabbitMQ / Kafka are much larger undertakings.
A C implementation of objc_msgSend would look like:

... objc_msgSend(id self, SEL _cmd, ...) {
fptr = ...lookup code...
return fptr(self, _cmd, args...)
}

There's no way to express that args... argument when calling the function pointer, and no way to express forwarding an arbitrary return value.

However, Objective-C does not require objc_msgSend. With objc_msgSend, a method call site generates code that's essentially equivalent to (for a method that takes one object parameter and returns void):

((void (*)(id, SEL, id))objc_msgSend)(object, selector, parameter);

In other words, take objc_msgSend, cast it to a function pointer of the correct type, and call it.

Instead of objc_msgSend, the runtime can provide a function which looks up the method implementation and returns it to the caller. The caller can then invoke that implementation itself. This is how the GNU runtime does it, since it needs to be more portable. Their lookup function is called objc_msg_lookup. The generated code would look like this:

void (*imp)(id, SEL, id) = (void (*)(id, SEL, id))objc_msgLookup(object, selector);
imp(object, selector, parameter);

However, each call now suffers the overhead of two function calls, so it's a bit slower. Apple prefers to put in the extra effort of writing assembly code to avoid this, since it's so critical to their platform.
To be fair, the linked page does not adequately explain what Alice is. To me it was clear that it was some important court case and they just want to call it "Alice". But I can understand why it might be hard to understand for some.
How is this not tortious interference? Walmart seems to be making this threat in order to undermine the contract between these truckers and Amazon.
else they be never true scottsman.
I bit on that one. The Skimm email was so useless I was offended. It hurt my view of Scott's cheap flights.
There are three important and recent US Federal Court decisions relating to software patents. Alice [1] and Bilski [2] strongly limit business method patents as falling under the abstract idea exception [4]. Enfish [3] goes the other way and protects software patent claims relating to the functioning of computers themselves.

[1] https://en.wikipedia.org/wiki/Alice_Corp._v._CLS_Bank_Intern...

[2] https://en.wikipedia.org/wiki/Bilski_v._Kappos

[3] https://en.wikipedia.org/wiki/Enfish,_LLC_v._Microsoft_Corp.,

[4] https://www.uspto.gov/web/offices/pac/mpep/s2106.html
Fast Deterministic Selection [pdf]
Only skimmed the article but i think they want something like this

<T> objc_msgSend(Object *receiver, String *method, ...)
{
return get_method(receiver->class, method)(receiver, ...);
}

where the tail call is translated into an unconditional jump (like goto).

EDIT: this GNU C extension could help avoiding assembly for implementing objc_msgSend

https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/Constructing-Ca...
What about all the poor people who want to work but can't find a job, or all the poor people who do work but just don't earn enough to stop being poor?
I'm learning french but experienced this before then.
Let's Update and Create Better Content
Apologies. Consider my ire directed at the people you describe, not at yourself.
Surely a more necessary risk than ev-, wouldn't you agree?
> What is the difference between setp, setf, defvar, and defparameter?

In very simplified terms:

Use defparameter to define a variable at top level (let's call it "global" for simplification.)

Defvar does the same, but if the variable already had a value, then it won't change that value.

Once you define them you can later change the value using setq or setf.

Setf does everything setq does and more. Setf can change the value of "places". "Places" is a great fundamental concept of CL.

> Why is the documentation so technical and dense?

Because Common Lisp is technical and dense. But it is that way for a reason, and as a reward, it "just works" and allows you to do things impossible or really difficult on other languages. It has no limits. CL is dense in features. It isn't a "watered down" language like python (btw i like python and use it). Python is restrained on features (compared to CL) thus there is less to learn. Thus it is easier to learn.

> What are multiple return values and how do I get to them?

Functions can return more than one value. This is not the same as putting many values on a list and returning said list. CL also allows true multiple return values.

This is explained on the CLHS. Use "multiple-value-bind" to get them.
Notify is very lightweight in postgres, it takes up very little cpu if that's your worry.
anyway, this is not meant for log storing/streaming (same as postgresql). My usecase for it is "real time updates" (reasonable amount of events, that need to be routed in complex way to multiple consumers)
Powershell?
> Which is why our society should fight any type of inequality until it's completely gone.

I don't think this actually follows from the prior premises you put forth. If I'm the 10x programmer, do I need to have my performance handicapped because some psychopaths exist somewhere in the world? That's a kind of inequality which I would argue isn't relevant.
Starting at the beginning of that slide deck, it really seems to be mocking the culture
Android is open source and the Pixel allows custom ROMs. Worst point ever seems like a stretch of a statement.
How do you know that this didn't all go down in last 72 hours?
Truly universal: concerns raised on unlawful surveillance around the world
This is a pretty good argument, or way of looking at it, which I almost dismissed simply because of the hostile tone you state it.

In particular, the last paragraph you could have done without. These discussions already get heated enough, IMO.
In support of your comment on ML/AI...quora has a post on that

https://www.quora.com/How-is-the-state-of-ML-in-Palantir/ans...
Yes, and as you said, the work was directly job related, he developed a tool to make his work more efficient. Then he didn't tell about the tool to his employer. Obviously he should have.

They pay for his time. He should have disclosed that he can now perform the work much faster so that they can use his time for other stuff.

Why is this so hard to accept?
> Intent matters. Men who use positions of power to intimidate women into doing things they don't want to do should absolutely be punished. Men who happen to be attracted to women that they work with/around who decide to politely ask them out shouldn't be.

I agree with your statement that intent matters. But also what matters is your sensibility in propositioning others for more personal purposes. Any person in a position of power has to realize this and learn how to communicate more clearly. So its both intent and appropriate action. Men/Women attracted to people they work with should realize that propositioning women at work is NOT the same as doing the same in a bar, and MUST tailor their approaches accordingly.

I think there was some research that said that 30% of people meet their spouses/ better half at the workplace. So lots of people do ask out coworkers, but most seem to know how to do it better.
Money isn't the thing that prevents self-driving trucks from becoming a reality.
I've looked at GraphQL a number of times. Does anyone have any practical examples of integrating it with backend(s), APIs, and/or specific databases?

So instead of "we use GraphQL, much love" + basic example and how it looks on React - a "here's how we take that structure and resolve it and return it." Because that structure looks amazingly sweet - but if in the background it's requiring circles of work, work and rework...

Anyhow, maybe I just don't understand it enough.
You can also do it in PowerShell, which is on linux now.

PS C:\Users\erk> Get-ChildItem | Sort-Object LastWriteTime | Select-Object -first 1

Directory: C:\Users\erk

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 17-06-2016 16:08 Tracing
The statement of "Facts are the opposite" isn't a compelling argument.

I wrote that there is a social stigma against women, in the United States, against going into technical fields. If you want to view that as "society keeping them out", then fine.

But women aren't being kept out in any overt way. Women would have been accepted just as anyone else in my Computer Science university program. These would be women who hadn't even gotten started on the career paths.

If they are being kept-out, then why are the foreign women that I work with, who don't share the same sense of social stigma, able to have such productive careers? Are they immune from the bad treatment?
I'm extremely skeptical of this. Analog on such small scales is overwhelmed by noise and very low precision. Analog computations aren't magic either, they still take energy and produce waste heat. You are fighting the laws of thermodynamics. I certainly don't see how it beats quantum computers at the things they are good at over classical computers.
This is a wonderful thread for all the employers out there that want to see how ethical the people applying for their jobs are. If they have a HN account, just read the comments here.
Why would you use Kafka as a queue? It's not a great fit, I mean, you could make it work, but it's a similar square peg in round hole design choice as using a relational DB as a queue.
> WSJ's Christopher Weaver and Theranos

FWIW, I think it was primarily John Carreyrou. At least that's who Jesse Draper blames

https://twitter.com/JesseDraper/status/799108097675378688
These cheat sheets are not to replace official documentation, these are to help. And we are not having a competition here, if these are useful for you use them otherwise don't.
There's a day every decade where the U.S. Census does their best to get an accurate count of every human in the U.S. [0]

Combine that with the data from the correspondinc Apr 15th, and we should have something pretty close to a "poverty election day".

[0]: cell phone and spotty network made it too hard to look up a good source - please feel free to add them if you can)
It does for skin cancer screenings and most other care.
The row lock is held by the RDBMS itself on behalf of the client. When the client goes away, times out (configuration) etc. -- the transaction aborts -- then the RDBMS releases it. You don't get exactly once here, because between performing some action on the work item and marking the item as finished and committing you can still crash. This is an at least once solution in the general case.
Does current economic theory include this common malfeasance among successful dominant businesses as efficient?
If you discover an exploit for iOS, it can sell for up to $1 million on the open market.

Not sure how many people would choose to make a publicly released jailbreak instead of taking the $1 million.
There have been numerous threads about this:
https://hn.algolia.com/?query=facebook%20listening
> And I was fairly certain I hadn't enabled the "FAIL_MAIL_OVER_500_MILES" option.

If this actually was a config option, I would bet anything the default would inexplicably be set to "true".
That's only true strictly in the context of dating within the professional pool. I would argue that having more money and power is good in general, but NOT for dating subordinates and coworkers.
GERD can also be caused by bad posture (which is often a problem with IT folks).
> "dial" these "low" numbers by just quickly pushing and releasing the hook button

In New Zealand as a kid, we dialed numbers using the hook by subtracting the digits from 10 because the rotary digits were labelled the reverse of other countries. The pay phones there in the 1970's required 3 two-cent coins for a call, but not if you dialed using the hook. In the first season of The Wire, the drug dealers use the same subtract-from-10 system, but it's for their secret code using push-button pay phones.
What Chinese bosses think of American workers
Why is hn so negatively biased towards blockchain Icos ethereum BTC?
Why is the hn group so negatively biased towards blockchain technology Icos ethereum BTC and other cryptohacks?

Is there a FOMO or is this based on lack of technical merits, or is it the intensive CPU requirements and green house emissions as a result of ETH BTC and other GPU/CPU intensive crytocurrencies

What makes the ETH BTC Blockchain so inefficient and so harsh on the environment Is there an alternative why are these block chains design to be so power and CPU and GPU hungry ?
There's an ad block wall. Brave will get you around it.
Then those guys you are talking about need to learn to behave better with responsibility. I am not saying this from a social justice/feminism viewpoint that many other commenters are, but from the point of view of leadership. If you're a man or a woman who gets involved with your subordinates, that's a failure of yours as a leader and it's unethical.

It's unethical, because the superior/subordinate relationship makes a romantic affair coercive even if nobody participating intends it to be.

It's a leadership failure because the superior should behave better than the subordinate as part of providing their leadership function. Yes, you could say the suborndinate started it or whatever, but the superior is supposed to know better than to get involved with that. If you don't want people to be confused, don't add to the confusion by dipping your pen in the company ink.
> If you use bytes that are invalid in UTF-8 (e.g. 0xF5-0xFF) as delimiters / structure characters

No need for that. UTF-8 is a superset of ASCII, and ASCII already includes a handful of control codes that could be used here.
But that's really a symptom of a "big ball of mud" design (non-design, really), where everything has dependencies scattered all over the system, and to change anything you have to consider everything.

Type checking can help you with a few kinds of problems you'll have trying to make changes in those kinds of systems, but you still have piles of problems and it doesn't do anything to help improve the underlying issue.

Static types can help you with some small problems, but that doesn't mean much when the problems you have are big.
If you invented a new sort of internal combustion engines and I disputed whether it could work based on abstract ignition theory, my claims are still implicitly dependent on my understanding your design and the actual physical device, regardless of what I concentrate on in my abstract.
There's a lot of type bugs in my code as I type it, and while I'm writing the unit tests, but I've been keeping track for the last year or so when they happen in QA or Prod and they are quite rare for us (as part of an evaluation of if we should move to Flow/TS).

But there was a heavy correlation between type bugs and the kind of code being written. Our transactional frontend apps? Most bugs are browser css issues, weird environment specific edge cases, misunderstandings of the backend, memory leaks, etc.

In apps that are data heavy though, or backend JS apps, its a whole other story. Type bugs all day every day (though a part of it is because we don't do many and they aren't high profile here, they're very light on tests).

So we moved the later to using tests. While it helps a lot, we did end up with a different kind of issues: broken type definition issues and bugs in the type system. Turns out a very large portion of DefinitelyTyped definitions (especially those of the more obscure libs) are broken and you can't trust them, but you lose a lot of time fixing runtime bugs the type system forced you to make. And while they never hit production, there's more bugs than expected in TS itself, and it takes a while to figure out if I'm doing something wrong before I go look at the bug tracker (the issues I hit have almost always been reported already, but I don't expect them). Fortunately that last category rarely cause issues in production.
The first sentence of the article is:

> In Alice v. CLS Bank, the Supreme Court ruled ...

That introduces the context pretty early and clearly.
I don't understand whole this ethics talk, should ethics be 2 sided ? do companies usually do their part ?
Indie Hackers just did a podcast with Scott Keyes of Scott's Cheap Flights on that topic:

https://www.indiehackers.com/podcast/020-scott-keyes-of-scot...

But in his case, his subscribers mostly came from a story Business Insider did about his two month round-the-world trip on frequent flyer points. The story took him from 300 subscribers to 5000 overnight. (Sounds like he's now over 150,000 paid subscribers). Another takeaway is that he doesn't used paid ads, and puts the money towards on-theme giveaways instead. Since the newsletter is about cheap flights, the giveaway was for free international flights.

In another HN thread, someone suggested looking at the Cooper Press mediakit to compare your metrics, most of their lists are in the 10,000 - 20,000 subscriber range and 'only' grow at 100/week: https://cooperpress.com/advertising/

I've been trying to get subscribers to my own http://indieconference.com list, but a couple of HN comments are the only traction I ever got. I thought monitoring HN automatically for opportunities to mention would help, but it was a colossal waste of time - lots of noise and very few relevant moments to mention. So don't spend time on that :)
If you're using Rails there's a very good gem with some great examples:

https://github.com/rmosolgo/graphql-ruby

Ryan supports development with a pro version that has a bunch of neat features, including built-in support for a handful of common authorization frameworks. I highly recommend it.
It is difficult to get a man to understand something, when his salary depends upon his not understanding it!

- Upton Sinclair
This is a good question, and perhaps the best thing to do is to have a clear policy in place on whats OK and whats not. Beyond that, of course its completely upto the person. You can never know how someone will behave in every circumstance, so you can only do so much.
As it seems, there are only two good options if you need a decent cross-platform desktop GUI without having the means to go full-custom for each platform. These are Java and Qt. I'm heavily biased towards Qt since all serious image processing in the world is still done in C++, but without this constraint, I'd like the safety and tooling support of Java.

Of course C# is just a much better Java, but AFAIK its crossplatform capabilities aren't mature. And it has a tendency to evolve a bit too fast. Your desktop codebase will probably live for at least 10 years, if not more, so it's better to start with a stable technology from the right family (i.e. not overly deficient from the modern perspective.. Qt somewhat fails on this front).
Keep using Common​ Lisp and unite with us aliens on #lisp at freenode IRC!!
You can't be serious. The very first words of the article are:

"In Alice v. CLS Bank, the Supreme Court ruled that ..."

That makes it clear that "Alice v. CLS Bank" is a court case, and Alice was the name of one of the litigants. That phrase is linked to another article, whose first sentence is:

"In a long-awaited decision, the Supreme Court issued its opinion in Alice Corp. v. CLS Bank today."

Anyone older than six who can't figure this out on their own should be ashamed of themselves.
> Why use a database as a queue?

Quote from the article:

"You don’t need to import a large and complex 3rd party app or library to implement a queue, and you don’t need to deal with the key mapping and namespace issues with advisory locking."
On the Insecurity of TIOCSTI
My backpack has no problem fitting under the seat.
TeleBots are back: Supply-chain attacks against Ukraine