skysight-inc/HackerNews huggingface dataset:
Cannot believe this is being downvoted. "Dumb fucks" is a direct quote from Zuckerberg that he said himself.
I think it all boils down to how much can it scale. At what point do # of processes tip over a server versus how many # of threads can it handle versus how many # green threads a program runtime can manage.
I'm not using Swift, so I don't get rights conferred by the Apache license.

I make a language with "Apple's" claimed invention. (EDITED)

Apple sues me.
Stop? Probably not, but my point is rather that oil production by Aramco is dependent on the political regime, which imply that there are additional costs that do not apply to US shale.
I really enjoyed SCGI in Lua:

https://github.com/blitmap/lua-snippets/blob/master/scgi-ser...
The two points I wanted to know about their differences:

> Badger is different from other LSM tree based DBs in that it colocates only small values or pointers along with these keys, storing the values separately in a value log.

> we decided to cut out RocksDB and Cgo entirely from our code base and write a fast key-value database purely in Go
Interested to know in what situations you anticipate this would cause problems?
They deserve it, but, does the law have your back on this, or are you accepting some risk of being charged with false accusation?
> Loud motorbikes are very bad for your own hearing and disturbing everyone else's peace, but it does make you safer as cars can hear you come. Except if they are playing some loud Metal on the car stereo.

My car would be more noticeable (and therefore safer) if I held my horn down while I drove around.
I should have phrased this another way: I believe fraud happens.
Not being published on WikiLeaks for some reason.
If you'd like to donate to the ACLU in a way that lets you easily change/cancel your donations, I recommend using Sublime Fund (https://sublimefund.org/). Disclaimer that I am a founder. We deduct the cost of credit card processing, but we don't charge any sort of platform fee.

Donating should be easy, but canceling should be just as easy. You can do it through our website anytime without speaking to anyone.
>Avoid threading headaches

>Each inbound WebSocket connection runs your program in a dedicated process.

Not the best design decision
But the things they own service the needs of the many; when the many become poor, why do you need to own a factory which produces a phone at scale when there aren't enough people to buy it?
You know what else is stupid loud and annoying? Ambulances. Fire trucks. Diesel buses. Electric ones arent great either if they have those wire systems overhead, those hanging systems make lotta noise too. Sometimes they're separate but they have to make an obnoxiously loud whirring sound while accelerating anyway. Large trucks used for hauling stuff. (Ever notice how loud a ups truck is?) Buses with air suspension that raise and lower and beep all the time with stupidly loud systems (PSSSSST!!! BEEP BEEP BEEP BEEEP BEEP WWHOOOOOOOSH BEEP BEEP BEEP!!!!).

I've lived in enough metro areas to know loud bikes are low on the list. There's plenty more annoyances. God forbid you live near an airport, hotel (idling diesel buses), or a plethora of other annoyances.
Try moving a domain off Network Solutions. 3 days to send me a computer generated code so I can transfer.
In every situation? The API interface doesn’t match.

Websocket isn’t a stream, it is framed. Obviously it can be used like a stream but that depends on the client and server. The issue here is that all the client side (browser) APIs expose frames instead of streams.

Suppose I send a JSON object I have no idea what framing this socket server will use and if it’ll break it up into multiple pieces and require the client to reassemble it. If I send two JSON objects in a row does it arrive in two websocket frames or could it buffered into one?

Secondly the websocket protocol is much more complex than a tcp stream. It has keep alive packets that can be sent, it has close packets that allow a connection to terminate with a given code that can be handled by the client. How are these exposed?
A way to redirect emails to a Slack channel, even on free plan
Some standup comedians self-disclose for entertainment. Now you can too.
Yeah, they might as well require you to write "under penalty of murder" while they're at it.
7th grade is completely reasonable to start opening their eyes to how the real world works - i.e. pretty much every person/company/entity you encounter is trying to manipulate you according to their own agenda. I wonder how we can balance the sense of wonder and optimism of youth with the hard lessons they need to know as they sally forth in the world.
If every city in EU+West had

Electric Bus's that were ALWAYS on time and effient with a proper ticketing system

Along with electric trains for long distance

AND proper dedicated push bike lanes with push bike parking

it could go a long way to remove the "need" for most people to drive to the city every day
Why do you prefer ads targeted to your interest? What % of your purchases are improved and not merely influenced by your ad viewing? I prefer untargeted ads since I'm not about to improve my knowledge or shopping performance just by viewing ads, and I'd rather not have my privacy compromised.
> The issue of contention was whether or not understaffing of fact checking departments is the cause of diminished trust in the news industry.

Sure, but people distrust things for irrational reasons all the time.
A big component is the class issue. Since dialogue about class is verboten, it is never discussed.

We are building a trolley line in San Diego to alleviate car traffic along a main freeway artery (Downtown -> UTC). There were several lawsuits along the route from property owners. A complaint which surfaced again and again was: "building a trolley station near my house will cause a decline in the neighborhood because there are homeless people and druggies near the trolley stations."

Never mind that a multi-million dollar train line is being built right in your neighborhood. If you own property in San Diego, you will never take the train. Because the train is for homeless people and drug addicts.
Probably a lot smaller now that cruise ships can't use the ocean as a driving range. Most of the balls from the Monterey Peninsula come from just one golf course, and certainly a lot more than 50000 have entered the ocean from that course alone.

Edit: 50K golf balls is about 3000 square feet of surface area. So imagine three apartments' floor area worth of plastic surface representing that amount.
APD identifies bank robbery suspect who used e-scooter for getaway
It's not possible to live up to it with the golden rule alone. It's the lengthy political and social processes that shift the behavior over time. Then people remind each other of the golden rule as if thats how we got to where we did.

The golden rule as a meme certainly has a function. I'm implying that it's the perception of the golden rules function that is flawed.
https://www.courtlistener.com/recap/

https://free.law/recap/
I agree that pride and identity are important to people’s well being. What are some suggestions to help people gain those back, perhaps in a still viable industry? Until AGI is invented, there will always be jobs available [1] but some jobs are unnecessarily looked down upon despite being important to society and safer than mining.

Since pride in one’s work tends to tie with the value that broader communities put on the work, would a broad-based ongoing PR campaign by well-resourced organizations (incl. local and federal governments) help with that? Perhaps we can put the DeBeers experience with creating a shared cross-generation myth of diamonds representing true love to good use.

Elderly care, for example, would be hard to automate cost effectively over the next couple of decades and possibly longer. If society puts more value and gives more prestige to the job, more people would be willing to train to do it.

(Obviously, the society should help people transition to their new roles as well for example by covering the costs of living and training for a substantial period.)

[1] Lump of labor fallacy
https://en.m.wikipedia.org/wiki/Lump_of_labour_fallacy

As concrete examples:

- Has every piece of potentially useful land well-developed as a magnificent public or private space?

- Has all public infrastructure needed been built and well-maintained to the best quality possible?

- Does every person, adult and child, have access to world-class education/training they want or need, including private tutoring if they wish?
> I accept that ads are currently necessary to fund companies

I don't. Facebook (and Google and Twitter) have inflicted the ad-supported business model on themselves. If they were really concerned about their users, they would figure out how to allow their users to pay directly for their services, without seeing any ads or having any personal information collected. Call it the "premium option" or something, like so many app developers do. These companies are perfectly capable of doing that; they're just too lazy to try.
What kinds of non targeted ads would be "relevant" to someone viewing Facebook? Like outdoor gear in a nature magazine, except Facebook isn't a nature magazine, so instead the ads should be for...?
Fork() the process, fork the database. That would be pretty interesting.

Long running jobs where transforming a consistent snapshot is required.
From the advertisers perspective; they may not want to spend ad dollars on people who are already highly likely to use their product or service. Ideally ad spends have you picking up customers on the margins that you otherwise would not have and this is very likely to play into targeting decisions.
Thanks for the explanation; this really helps readers of the article who are not totally familiar with the environment. I've done UI programming before, but not in JS, which has a similar feel. Async certainly makes things more interesting, but I maintain that it's still possible to make the code simple and without needing an explicit state machine, by essentially adopting the "continuation passing style"[1] exhibited in the first example and adding guards to make the sections execute in order; one of the other comments here mentioned disabling buttons after they're clicked and not enabling them again until whatever async operation they started has finished, and that's the usual solution to problems like this. Besides acting like a "gate" on the code to prevent the state problems described in the article, the obvious disablement also informs the user to not click again.

[1] https://en.wikipedia.org/wiki/Continuation-passing_style
Undercover agents target cybersecurity watchdog Citizen Lab
WTF is "salary adjustment meeting"?

Is that a thing where you trying to prove your worth to get a raise and your boss is trying to politely convey that you're "more than ok" as is?

Create "salary adjustment meeting" on your terms.
Get a [real] offer from another place and put it on your boss desk.

Salary adjustment accomplished.

Unless of course your boss will shake your hand and wish you a good luck.
> Most Internet content isn't nearly as "contextual" as a nature magazine. Probably 99% of the content I read won't help target ads much at all, because it's mostly NYT news articles and the like.

Really? What section were you reading? What was the article about? This seems way more "contextual" than an entire issue of National Geographic. If you're reading an article about college basketball from the sports section, you might be interested in shoes or a fantasy sports league. An article about the Hamptons in Real Estate? Polo ponies and expensive watches. One about Somalia? Either a Toyota Hilux, or you're probably not worth advertising to.

And I honestly wouldn't mind the Viagra and diet pill ads. If I'm going to see ads, I don't care if they're relevant or not; I just want them to be unobtrusive. Google crushed AltaVista not just because it delivered better results, but because its keyword-based ads were plain text on one side of the page, not giant animated GIFs.
Which authoritarian militia is in question?
There's some merit to this argument. If your goal is to hurt China's competitiveness in spite of what it costs US buyers than its a legitimate strategy.

However, this policy is being sold as a way to help US manufacturers and that's not quite the same thing. The benefits could easily go to other imports with weaker tariffs. This coupled with the problem of hurting down stream US manufacturers means that the only benefit is hedging against a Chinese monopoly and not the direct benefits that are usually talked about.
If I run a firm with lots of capacity and a thriving overseas trade, why would I buy up a competitor with no overseas business just to shut down their plant?
It's line based. A newline character separates messages.

https://github.com/joewalnes/websocketd/wiki/Ten-minute-tuto...
This is amazing! I'll be letting my kids play with it tomorrow!

And JS is a great choice.
Concise articulation, and valuable. My comment is that this is happy-path advice.

Corporate culture has changed to where instead of handling conflict according to principle (e.g. Harvard negotiation project, getting to yes, principled negotiations etc), today people are trained to out-passive each other, and marshal political campaigns to isolate opposition. (salience, political survival, working the ref, etc.)

The moment you acknowledge that the person you are dealing with is being disingenuous and manipulative is the moment you have lost. That you can see the mechanism critically signals you do not have power, and that you cannot be trusted to "keep the ball in the air."

The typical response to this is, "that's black and white thinking, people have different perspectives and views, which are valuable and legitimate." While that is generally true, different perspectives aren't the problem, nor are they new. It's a minority of people who exploit the agreeableness and civility of others with a small toolkit of negative plays, and who cluster in high-status organizations because they are motivated by proximity to power, but without responsibility itself.

The OP articulates valuable patterns for navigating flat organizations in calm seas. A set of patterns that describe when the knives are out would be a helpful follow up.
> My original point: "expand the current rail system so that it can handle even more freight as well as performant passenger service

My own point: the freight rail system is optimized for freight. Nationalizing it does no good. Build a totally separate passenger rail network with different loading gauges, requirements and signaling that is designed for passenger trains.
A real dichotomy is a binary choice. Any false dichotomy is that binary choice forced to the absence of other possibilities. This is a false dichotomy.

First of all it excludes the idea that there are revenue options other than advertisements. Secondly, it excludes the idea that advertisements can be relevant to a user's session that are contextually valid and otherwise ignore user history, which often tend to produce the most relevant ads. Third, the relevance of ads shown to users is highly debatable as most of the supposedly relevant ads shown to me are only 1 step away from the spam I get in email. Fourth, relevance can be determined by factors other than user data, such as search term auction. Fifth, privacy violating ads have shown to be extremely effective, such that if a person buys something ads for that thing are shown to the person's friends with compelling social pressure.
Is there not a dark side? The media is really pushing this anti-Russia agenda super hard. Got old after the first few weeks.

Beware the Russian boogeyman haha..... They do have lots of nukes.......
It's not listed in https://github.com/minimaxir/hacker-news-undocumented/blob/m... or in https://drewdevault.com/2017/09/13/Analyzing-HN.html

It's the first time I hear anyone mention it. It would be great if OP had some supporting link.
Hahaha well that's all you had to say! You're more informed than your first comment led me to believe. Thanks for writing this out. If you wish to avoid my disparaging remarks in the future, lead with this and not vacuous negativity on someone else's thoughts.
Then you run a GC and dirty all your pages.
CGI 20 years later? can somebody explain what they mean by this

edit: okay this is pretty cool, what use cases is there?
It probably scales better than a forking HTTP server, but probably not much; modern HTTP connections tend to be at least a little bit long lasting and few people would dare serve a large site on a forking webserver (in part thanks to the fact that most webservers have moved on to workers or event loops.)

It certainly would hold up inordinately poor to a DDoS attack.
This is why I keep coming back to HN -- thanks for recommending Apache James.

I thought I searched far and wide for other mail servers, yet only came up with postfix, iredmail and cyrus, I clearly didn't look hard enough
Well if it was popular or well known why would it be news-worthy?
Password Typos and How to Correct Them Securely (2016)
"People consistently tell us that if they're going to see ads, they want them to be relevant."

"If". This is a conditional sentence. What if the condition is not met?

What if they want to avoid ads? What do they tell FB when asked "Ads or no ads, free or small fee, which would you prefer?"

I suspect the participants in Facebook's questioning were not asked that question. Or, if they were, FB is not going to use the results in their PR and lobbying efforts.

There is a slogan one might see on the FB homepage, something like:

"Facebook is free and always will be."

As if the user's primary concern would be that they would sometime have to pay for using FB. (Not privacy or the security of their personal information.)

The slogan raises more questions than it answers.

If FB is "free" forever, then who covers the operating costs of FB?

Where does Zuckerberg's fortune come from?

Who finances the next FB acquisition of a perceived competitor or their risky bets chasing "the next big thing"?

If it isn't you the user who is about to sign up or sign in, then how much does your opinion matter to FB?

Wouldn't it stand to reason that FB would be catering to whomever is paying the bills for FB? (Not you.)

FB is not free for them.

Of course investors and advertisers paying FB expect something in return for their payments. They are not paying into FB's accounts just to keep FB afloat. They are not paying FB simply to sustain a website and apps for people to share photos, video, messages. (And that is probably all users want or need. They certainly never told FB they wanted data collection, monitoring and manipulation of their online behaviour, nor advertisements.)

Assuming FB has covered its operating costs, then whatever it is that FB must then deliver -- i.e. not the webpage and apps to help people to communicate, but the data collection, monitoring, manipulation, etc. -- comes at a further cost, not necessarily a monetary one. The question is, "Who bears it?"

I think it is becoming clear that this "cost" is more than simply "attention" or "time". There are serious impacts FB's work is having on an enormous number of people. The jury is still out on whether this is a net positive or a net negative.
Most probably Facebook didn't make the games themselves. And I thought one had to be at least 13 years to use Facebook, but probably some parents are allowed younger kids access.
A horse-drawn chariot is nowhere near as noisy and air-polluting as a 4-lane highway or a gridlocked inner city intersection with horns blowing
>I haven't seen any careful research justifying it.

You can literally google it and find an innumerable number of papers. Here's one[1] with over 3,000 citations.

>We still live in a democracy, 1 man 1 vote.

You do know she won a majority of votes cast.

More votes than Bush beat Kerry. More than well loved Kennedy beat Nixon who ended up resigning rather than be impeached.

Even more than Gore beat Bush.

So more of a flawed democracy[2] with 1 man, 1-ish vote

[1]https://www.nber.org/papers/w4486
[2]https://en.wikipedia.org/wiki/Democracy_Index
Because you do technical work for the founders, here's a quiz for you:

You own 5% of common shares in a startup and startup got an $10M exit.
How much did you get?

A: $500K

B: $50K

C: $0
Question: have you ever bought anything from a targeted ad?

Do you go out of your way to try to buy things from ads in the media you read? Do you feel bad if you don't make buy anything that was advertised to you in said media? Why or why not?
That’s the problem. What’s good for freight is bad for passengers and good passenger lines are horrible for freight. Even the model is different (B2B versus B2C). The mixing is a big problem and any disruption in the current network would affect a lot of people. The private freight carriers are doing a fine job.
It is really, really hard to scratch a [modern] lens. Tony Northrop demonstrated this by stabbing the lens with a knife repeatedly and it never left a scratch.

UV filters though degrade image quality. Why buy nice glass just to put a “protective” filter on it that gets in the way of the image?!

The real concern is decentering the lens by dropping it, but no filter will protect it from that.
"If you're not paying for it, you're not the customer. You are the product."
+1 for the idea

I use Python and TensorFlow at work but for at home side projects I am very much enjoying Julia and Flux. I haven’t tried FluxDiffEq yet.

Jeremy, please :-)
Newlines. Each line written to STDOUT is sent as one frame, and each frame received is read from STDIN followed by a synthetic newline. The FAQ explains how to escape multiline messages (or binary data, presumably).

https://github.com/joewalnes/websocketd/wiki/FAQ#how-can-i-s...
This is probably where we differ -- I don't think limiting email to asynchronous communications helps anyone, and it could have been written in an extensible manner to also support synchronous communication.

Even if I'm completely wrong and email should be left asynchronous, SMTP could at least have introduced some standard around chat negotiation and a protocol negotiation process for remote chat servers/agents.
USA and a number of Western countries are waaaay more protectionist than China.

The idea that China is the most protectionist country in the world is no more than a meme.

Ranks of ease of market entry are very objective proofs of that.

It gas been definitely easier to setup a viable business in China than in US for a few years now.
Pablo Stanley is Mexican.

I find it unsettling that people here try to read too much into this choice, it was released a month ago on Designer News and there's not a single mention about it:

https://www.designernews.co/stories/98999-humaaans-a-library...
... and yet Unix was critiqued for being written in a high level language instead of assembler
535 + 1 persons were at play here. This was a complete bipartisan disaster, and sadly it doesn't seem like it's over yet.
The catch is FB requires that users be 13+, and someone younger than that using FB is a violation of their terms. Some if not most of these kids may be younger than that.
Average age of angry bird user was 5 the article says
> a walk or bike ride across a city block absolutely foreboding

i can't imagine taking a car to get to a bodega on the other side of the block or across the street is easier than just walking to the bodega directly.
Any advice on the BBB complaint? I’ve never considered it before now.