skysight-inc/HackerNews huggingface dataset:
The difference is the nature of the engagement.

Facebook is primarily organised around the individual. You are following individuals, talking with individuals, and participating on a reciprocal basis as an individual with all the others. There are groups, but it's less prominent.

Reddit and HN are centred around discussion. Be it individual articles of interest (HN) or further grouped into specific topics (Reddit).

I don't think either are benign. The upvote/downvote mechanism does "gamify" the experience and adds some additional meta-effects to participation, which I don't think are necessarily healthy. However, it's not as bad as Facebook by a large margin. There's no pressure to participate; I can read interesting articles, make the odd contribution, and dip in and out as the fancy takes me. It's not nearly as addictive. Though I have to say, I still spent a reasonable amount of time on both HN and Reddit, I could step away for weeks without feeling like I was losing anything. I'm participating on my own terms.
Do you think allowing people post directly without registration would help? (as long as spam was controlled properly)
> we do have reason to assume

> word would get out

> no significant user data

These, as you say, are assumptions. That's why I don't (still) buy it.

They are in "sell" mode right now. They would say anything to gain traction, and it's working. That's why they are pushing hard and investing a lot. Remember it's about making BIG money through an advertisement-based business, what could possibly go wrong?

Imagine that you are magically handled the DB for the searches done today. What would you can possible learn from that information? Perhaps you can't track what searches did HN user Vinnl, but the info has surely a value. They may not be honest about what are they doing with that information.
I like unit tests to test the expected cases (positive or negative, as long as they're expected), to prove to myself that they conform to the spec. Then, if bugs are found (ie unexpected cases are discovered), I like to add tests for those, but I don't need to try and think of them up front. This way the unit tests will prevent regressions (both on spec conformance and bugs) as the code changes over time.

Integration tests are necessary for the exact reason you mention: just because things works in isolation, doesn't mean they will work together.

Ideally, for catching unknown bugs, I would also have a property-based generative test suite that is run over night against lots of random scenarios. This isn't always possible (in fact, so far, I've sadly only worked on one project where we did this, but I'd like this to become more common).
You can always spend more on anything. That doesn't mean there's a good reason to do it.
Does this mean we'll get our Google Reader back?
huge mistakes I've made:

I made a little Sinatra server to get some data from an oracle database and then put it into a Redis Queue to be analyzed by a bayesian classified - 80,000+ documents.

The first version of the code was a little repetitive so I put a main part into a function, checked it worked, went home for the weekend.

Turns out after my code change it was opening a new DB connection for every document. Someone else caught it and turned it off, wasn't that big a mistake anyway because not in production but still embarrassing.

One time working international standardization, I asked one of the people on the committee I was on a question, sent to the mail list of course, I got a long 3 page email in response. I started reading, all they were doing was trash talking one of the people on the committee, who I thought was also one of the more helpful people to be honest. So after skimming through and realizing they never answered my question I answered some nice little thank you thing.

However I had my outlook configured to send stuff automatically to the email list when it had to do with this stuff, and I didn't notice her thing at the bottom of the email "for obvious reasons please don't send this to the mailing list"
The way I see it everyone should have some sort of personal data broker (maybe as a browser extension ?). Your data broker has all of your personal information and keeps it safe for you.

If you make a query on a search engine I'm sure we can find a way to have better results without the search engine retaining your private information. Either there is some kind of third party you can temporarily give your info to and trust it to forget it immediatly after giving you the results. Or the search engine could give standard results and your data broker then filters it using your info (which doesn't leave your pc).

I used to think of this data broker as some sort of AI but now that I think about it maybe a simple browser extension that filters Google search results or augments your DDG queries might do the trick.
It’s like saying some retaurants are started by immigrants so don’t complain that every kitchen is staffed by undocumented workers
I agree. But there's no reason that nobility could not also have domesticated peasants.

However, it's arguably not about the group "pruning of the most violent individuals". Rather, it's about pruning individuals with low social status who resort to violence. That is, individuals who don't follow orders. Morgan's Black Man (aka 13) is an interesting take on this.
The problem/fear isn't that kids run into this stuff, it's the media/lawyers blowing it out of proportion and negatively affecting the share value of Big Important Companies.
Israeli Scientists Claim They're on the Path to a Cure for Cancer
The U.S. has a funny policy of not redistributing the gains of society.

Why not instigate a universal basic income of say 5% of GDP, or $3k a year.

That gives everyone an incentive to have GDP increase, rather than just the wealthiest.
this seems more humanitarian, but doesn't it reduce the disincentive to commit another crime, especially for people from unstable or low-income backgrounds where the prison may be more pleasant than home? Most prisons around the world seem to be far too inhumane but I can't help but wonder if you can go too far in the other direction.
Airport Taxi(Rank)Booking/Queuing Management and Optimization at Airports
Amazing, I made some of these same points last night on reddit and tried to discuss it here as well. Amazing.
To be a little clearer, the false negative rate is 10% and the false positive rate is 7%.
Not many social media platforms are safe these days. It all started with Facebook's user privacy drama that happened recently. But on a contradict to what I say, the big thing that motivates people to join different social media platforms is whether or not their friends or the 'cool' kids are using it. People are generally motivated largely by crows and if they see their friends or coworkers using these platforms, they will probably join them too to fit in.
We call it 'FOMO', the 'Fear Of Missing Out'.

Basically, your everyday Joe joins because that's where everyone else is. Businesses join because that's where their potential customers are. Websites are there so we can be FOUND, social media is there essentially so we can be KNOWN. But those lines are now blurring.

People are slowly realizing that social media is no fun anymore. So I am liking micro-blogging and interest-specific social platforms like Pinterest and WONDR(https://mywondr.co/).
The Three Stigmata of Palmer Eldricht is absolutely terrifying. I had nightmares about it.

Palmer Eldricht is definitely the scariest villain of all time for me.
So when medium folds, I wonder what line of work the ux/UI people will transition to.

At this point you are better off saying unemployed or I delivered weed.
Study claiming certain languages lead to more buggy code than others debunked
Wisconsin doesn't really sound like a big R&D hub to me. How would they get all those MIT grads to move to Wisconsin? I'm sure its a great place for various economic activities but tech?!
I had this flash of "old internet" the other day, when this little guy (https://twitter.com/andrezadelgado/status/108974537661637427...) had his drawings displayed on a Facebook page by his older brother, and everyone supported.

This pure feeling of "let me show you what I did", with no business involved, not trying to get a job, just happy with this thing he made. Reminds me of _why as well, which I miss for some reason.

One could argue that this is simply nostalgia of a time when I would do things just for fun... I might agree.
Interview with John Arundel, Co-Author of “Cloud Native DevOps with Kubernetes”
I'm sorry but you don't seem to know what kids kost.
Rent, childcare, clothing, food plus only one income are in no relation to some electronic toys or a fancy holiday.
It's unfortunately unusable in any language except English
Interestingly, some airplane types allow the use of thrust-reversal in flight, notably some fighter jets. It's apparently used when you do need to sink quickly..
Look at most of the comments replying to this, they all seem written by a clever PR agency trying to frame Facebook as a victim of its bad press.
> How do you justify your own existence

You don't justify your own existence; that was never your own decision. You justify your decisions, and having children is a decision.

Just picking that one nit. I do agree with the importance of hope, and I chose to have children. Though I totally respect people who make a different decision.
How to start a blog
WebAssembly Is Not a Stack Machine
> It's not nicotine

Neither is alcohol, nor is gambling.

To be less facetious, I don't see why the claim that facebook can't possibly be addictive, is so self-evident that it's a tautology. I can understand people having different stances in the debate on whether it's addictive, but denying that there's a debate to be had seems completely misguided.

(Also, there can be reasons other than addiction for people using facebook despite feeling strongly against it — e.g. peer pressure.)
If facebook wasn't continually mired in controversy, then maybe it wouldn't feature so frequently and so prominently.

Today, I've just read a paper copy of the Daily Telegraph (UK). The front page is a story about how a depressed 14 year girl committed suicide after being led into a downward spiral of despair by being fed a continual stream of self-harm images by a facebook property. Those lovely algorithms could have been made to make positive contributions to people in need of help. Instead, they caused a vulnerable teenager to end their life by making a bad situation even worse.

I do feel that companies like Facebook should have a social and moral responsibility to their users. They are in a position of great power and responsibility. And yet, they have shown scant evidence of any care in this regard, and they do have a case to answer. Not just for the single story I highlighted, but many years of utter callousness and greed in defiance of what most of us would consider acceptable ethical conduct.
Facebook users continue to grow despite privacy scandals
>The answers are ridiculing the OP for asking a totally reasonable question.

Isn't this fairly common for stackoverflow nowadays?
This! Which comes down to the basically stupid categories that we use to tag people (high/low performers, smart/dumb, even good/bad). Sometimes I wish for a better developed vocabulary for context, as context is much more important than any individual trait in most, if not all, cases.
Apparently it's bad if done at cruise (due to the small margins in thin air) but if done in mid-air it's controllable.

See this episode of Mentour Pilot:

https://youtu.be/OguKthkuaT4
$49.99 Offcloud Download Manager Lifetime Subscription
Yes, there is definitely a runner's high from endorphin release, and the whole process is somewhat meditative in its physicality.
This has nothing to do with AWS! I'm aware that elastic is available on other cloud providers :) this is an on premise alternative to S3.
All good points regarding Australia. It's worth pointing out over half the Australian population is covered by private medical insurance https://www.canstar.com.au/health-insurance/who-has-health-i...
So it's actually very much a thing. And my experience has been the same, more than half our Australian team use the health and well-being allowance we provide them for private medical insurance.

My company administers hundreds of remote workers in over fifty countries. A significant proportion of our clients and employees (in developed countries outside the US) ask us to provide private medical insurance. It's not as big a deal as the USA and not as likely to be a deal breaker when accepting a job, but it's actually quite common in many countries.
Creating new programming languages! Maybe just for fun, as in https://esolangs.org/wiki/Main_Page - or to find the syntax & semantics combinations that best match your intuition and preferences.
But this link has the cost of shipping wrong: $79.25
whilst the original NYTimes linked in op's link got it right: $483.88
Huge mistake I caught a consultant making at the same company where I made the Sinatra server mistake.

The company sent email alerts to customers whenever data changed. It turned out that a lot of people were not getting emails and they hadn't been for some months. The alerting system was written in Java (not my language), and was written by a part of the company in Argentina so not really anything to do with us.

The consultant was tasked with finding the bug, he stayed home to work on it so he could have no distractions.

I thought well I will look at code changes for the last few months, maybe I will notice something - and it turned out that the consultant tasked with finding the problem had some months ago made a change to the Java code dealing with alerting, which was weird. I went and looked at the before and after - the before was typical verbose Java code and I could sort of follow along and see it was for sending off alerts whenever the data changed ok. The new code seemed to just drop off into nothing halfway through.

So we were having a phone call with the consultant and he said well I am going to talk with 'head programmer in Argentina' in an hour to find out but can't figure out what is wrong.

And I Was like well I was looking through the code...

and you could see the consultant being somewhat annoyed at my chiming in because hey, what is Bryan doing looking at Java code he doesn't know crap about that language. I have to humor him, the big doofus. ugh. politeness sucks.

and I said so a could months ago somebody changed the code in this Java file here and their name was 'consultant name' and maybe that guy could help us figure out what the code is doing, because I don't think it will ever work.

And it turned out I was right and he was wrong and that was why many customers had not gotten their alerts for a couple months.

To pay for it he had to bring everybody pastries the next day.

About a week later I shipped a bug that made a bold text not bold on some types of documents. To pay for it I brought the biggest fanciest cake I could find, but I don't think anybody understood why.
Apple has realized that international iPhone prices are ridiculous
I agree that any social network can be used as an escape. People can get addicted to almost anything. The difference is in the funding source of the owners of the social network. How do they make money?

On most social networks (Facebook, Instagram, Reddit, etc.) the answer is simple: advertisement. To maximize revenue from ads, they focus on:

1) Getting people to spend as much time as possible on their platform (so they can show more ads), and;
2) Gathering as much information as possible about people (so their ads are more effective).

Which isn't exactly what people want when they go on Facebook. This puts the objectives of the social network and its users at odds.

Compare that to Hacker News, which is in itself an advertisement for Y Combinator (I wouldn't know of YC if it wasn't for HN, or at least it wouldn't be the first accelerator in my mind). I feel the objectives of Y Combinator with HN are much more aligned with my own objectives than Facebook's (the company) with Facebook (the social network).

I'd be worried when/if ads start appearing on HN...
it should make a loud grinding noise though,
First on CNN: NY Attorney General Targets Fake Social Media Activity – CNN
Those countries import a ton of food...
8 bit games show what is possible when hard constraints are imposed on programmers. They did so much with so little. There's a great documentary about game audio, called "beep!" [1], where musician-programmers share stories about how they were given the absolute bare minimum memory to create sound effects and music. It's inspiring to hear what they managed to create.

[1] http://www.gamessound.com/
Quit like a year ago, it's great. So much less attention drain. Then I quit Twitter not long after. But now there's Instagram, a bit tricky as my whole yoga community hangs there. Back to square one.
> Ideally, for catching unknown bugs

I forgot to mention this part. We have data recorded from external sources, which we run through our code. Millions and millions of state changes, along with their summary states. This also helps to find cases we didn't think of.
I notice you're a fellow Londoner, so here's my take on your comment from the perspective of someone who is a hiring manager and thus has had the displeasure of dismissing staff:

Even if that is a sackable offence where you work (which I'm highly sceptical about), that would still be breaking UK employment laws and thus the terminated employee would have grounds for unfair dismissal. This is even taking into account how sensitive to discrimination our employment laws are.

Usually what happens when employees are fired over seemingly trivial things, they already have a string of misnomers on file and really the trivial occurrence is the "final strike" (to use a baseball metaphor).
I mean, if you want to go back to prison you likely aren’t going to commit a violent crime (even if you did for your initial visit), so that’s a win.
I'm used to people worrying about overpopulation and too much immigration. The opposite is rather refreshing.

A lot of countries subsidise child care to some extent. That seems reasonable way to enable people to have children despite having jobs. Although obviously jobs shouldn't take up too much time either; 40 hour work weeks should be the max, and I'd really prefer to move to shorter work weeks. Otherwise what's the point of our increased productivity?

But beyond that, I think it's a good idea to prepare for a smaller population; the world population is pretty big. Figuring out a way to live here with less people doesn't seem so bad, it's just the transition we need to get used to.
> I know plenty of older folks that are great software engineers and can't find work because nobody will give them a chance to interview.

maybe tell them about triplebyte
It could also be that right now the camera is not used but in a future it will. It would just require updating the terms and conditions. No need to send new hardware.
The Virtue Economy
>If social media makes you unhappy just stop using it.

This answer is far too simplistic for the reality of the situation.

For example, what of the people who never used it (or did stop using it) and their correlated shadow profiles?[0] What is the supposed answer, then: Don't give your contact information to your friends? Don't use the internet, at all, because of Facebook Pixel?[1]

...but the bulk-share of the problem, for me specifically, is that treasure-troves of information on people are the ripest targets for either exploit or out-right theft. See the OPM hack[2] for a principle example of such theft and then look at the Snowden leaks, where he shows that <insert three-lettered agency here> was in major tech companies' bases, killing their do0dz.[3]

The potential problems (and their requisite solutions) aren't as simple as you're trying to paint them to be.

To summarise this long diatribe: I don't pretend to have an answer, to be sure, but to say that stopping Facebook usage is sufficient is disingenuous to the realities of what the company does; especially, since data about you is still being collected anyway.

[0] - https://www.cnet.com/news/shadow-profiles-facebook-has-infor...

[1] - https://www.oberlo.com/blog/facebook-pixel

[2] - https://en.wikipedia.org/wiki/Office_of_Personnel_Management...

[3] - https://www.theguardian.com/world/2013/jul/11/microsoft-nsa-...
The second line is not a corner case, that is simply not legal XHTML. You cannot have an unescaped < in an attribute value. You will need to take comments (and DTD's and CData) into consideration of course, but you can do that in a regex.

In any case, how would you use xpath or CSS to identity self-closing tags? They operate on the parsed tree, not on the token level, and the question is about identifying specific tokens.
Next iPhone may swap Lightning port for USB-C, have three rear cameras
I'm not sure why this is modded down. There is a general trend up in the market over the past few days, and given that the FB price has recently been displaying a higher volatility than its peers, you would expect the kind of movement you are seeing with respect to the rest of its peers.
How to read a research paper?
Could you provide a cost breakdown of the first 10 years of raising a child in, say, SV or NY? I can't follow your thinking here at all. Childcare, from what I hear is immensely expensive, and after a certain age, you need a bigger home. Conversely, staying without kids means you don't spend on any of those things. What have I missed?
For more like this, see pluggable transports [0] from tor.

[0] https://www.torproject.org/docs/pluggable-transports.html.en...
Ideally you would ask someone for something they need that you can do (Say an app for your barber friend to schedule haircuts for his clients. But in 2019 this probably was already solved by a funded company with 50 engineers. You can still do it though.)

Otherwise its always fun to automate something in your house/life. http://reddit.com/r/diy is a good place for ideas.
Facebook is creepy. They engage in deep cloaked surveillance, capturing as much as technologically possible of people's behavior in the world and mining it for profit. They don't want the people to know how and to what extent they're mining their personal lives, because they know people would be disgusted by it.

IMO the core reason people keep using this shady service is that they've just never been exposed to the truth.
Maybe not very constructive, but I think it's a technically fair answer given the question. The person asking is not intending to match individual tokens one by one to feed into a parser, but simply to use a regular expression to extract all instances of a set of opening tags in a whole document. The trivial solution he proposes, while perfectly sufficient for some subset of documents, quickly breaks in the general case when you consider comments and CDATA sections. For that you need to maintain an understanding of the whole document.

That said, this answer frequently gets linked in discussions even where using regular expressions is an entirely valid approach.
Why shouldn’t we hold ourselves responsible for the current state of society?

What we inherited is done, we can’t change that any more. But we can certainly make tomorrow a little bit better than yesterday.
I believe this is more or less how it works in the Netherlands. Insurance is private and not directly paid by the state unless you're under 18 or you cannot afford it (but then subsidy is given to buy private insurance). Insurance is compulsory for everyone. It is well regulated. Insurers compete on premium options, hospital choice, etc.

In practice, monthly insurance premiums are around 110-130eur per month with a minimum deductible of 385eur. GP visits don't cost anything additional and only specialist care eats into the deductible.
Racket v7.2
OxyContin Maker Explored Expansion into “Attractive” Anti-Addiction Market