skysight-inc/HackerNews huggingface dataset:
*(++p) --- what did you think it would do without the parentheses...?
isdigit(ch) && ch != '8' && ch != '9' --- why not the simpler ch >= '0' && ch <= '7' ?

That code reminds me of FizzBuzz and the huge gap in competence it demonstrates, i.e. a surprisingly large number of "programmers" fail to write correct solutions to the simplest of problems. Perhaps "unescape a string" needs to be an interview question with as much attention as FizzBuzz, both because it has a practical application and can show a lot about someone's skill. Admittedly, I may be biased because I have done a lot of parsing and other compiler-ish work, but parsing text is really not an uncommon thing to do in a lot of applications.
It usually opens fine in incognito mode.
There will always be groups of people who wish to be independent. Regardless if they're travelling to the new world or into a space. Some kind of authority trying to keep everyone together would not end up in the utopia scenario that you are imagining.
> A “single human race” would be [...]

A single human race is what we actually are.

Wake up and set your tribalistic thinking aside, it's not helping anyone.
ETFs are trade on exchanges for cash, but the fund manager is not involved in that. You simply sell your ETF shares to another buyer. Redemptions are something different that only "authorized participants" can do, and as far as I know the ETF share is traded (or actually destroyed) for the underlying securities in that case.

https://www.investopedia.com/terms/r/redemption-mechanism.as...
Bit confused how they've got 450 cases but no certainty?

Surely 1 out of 450 has a sample left that can be tested thoroughly?
Disclaimer: I'm Swedish so I guess you could say I'm culturally biased, but I have no economic interest in this.

You can always try "snus". Snuff has a bad rep in the US because of the association with chewing tobacco and old westerns, but snus in a pouch under your lip is actually very hygienic, easily disposable, practically invisible and obviously spares your lungs, while still giving you a nicotine buzz.

Obviously no way of consuming nicotine is risk free, but I use it every now and then and I enjoy it, especially with beer or coffee.

I think Swedish Match is attempting to market snus in the US under the "General" brand[1], might be worth checking out if you want to try an alternate way of consuming tobacco.

[1]: https://www.generalsnus.com
The people involved are executives responsible for the safety and development of minors.

Bringing a known child predator in those spaces, and socializing with him in order to fund the institution is not ok.

People at MIT, most notably Ito, have defended those decisions as innocent mistakes.

You seem to agree, and you and anyone else who feels that way should enjoy MIT. There’s a lot there to enjoy.

But the rest of us are saying, the institution has revealed itself as unfit to care for minors.

And anyone who takes that mission seriously is right to resign.

There are other schools which do take these concerns seriously.
Perhaps the studies are weak because we can’t study it easily. In any case, the drugs aren’t that harmful so we might as well give it a good shit to see if they work. I’d prefer them being legal even for the short term effects.
https://beta.trimread.com/articles/189
Ephemeral clubs happens on reddit, in many subreddits, involving many types of media.
Boston is similar. You can walk across the entire city in a couple of hours, and anything within half an hour is selling for a million dollars plus.
I've never heard anyone in my life say they could rebuild MS office in a weekend.

What, in your opinion, would be the work needed to go from a 100k monthly active user site to a wikipedia scale site - that would be comparable to rebuilding MS office?
I know several Indians who live in nearly all white suburbs and they get along just fine.
I really do think we're brainwashed in the U.S. to think with money to the point that we can't make rational decisions about resource allocation, because everything has to somehow involve money and money-gains. After a lot of thinking I came up with some non-money values:

>healthspan or health-outcomes

>access to edible food and drinkable water

>literacy

>net pollution

>net resources (e.g. soils, forests, drinking water, etc.)

I think it's important to optimize all these factors and I have noticed that under capitalism it is very easy to mask the massive failure to do so. Capitalists just point at their increasing capital and say "Look! All is well! We're gaining capital!"
Calibre can download metadata and covers from a number of sources, mine lists: Amazon, Big Book Search, Edelweiss, Google, Google Images, OZON.ru, Open Library, and Overdrive.

Of course I'm only searching for one book at a time.
Liability boundary is an important question. There is no simple answer. Couple of years back owner of the abandoned building was declared liable of the death of the kid who entered to the fenced building despite all the signs no trespassing and so on. Neither your example nor mine negates that there should liability for various voluntarily and involuntarily acts, own or third party.
> It is my understanding that Apple has never worked with any government agency from any country to create a "backdoor" in any of our products and services.

So Craig's declaration is not that they haven't created any backdoors for governments, just that he doesn't know of any.
Sandboxing doesn't need apple's app store, it's manual policy enforcement and arbitrary anti competitive rejections. Many, many sandboxes have existed with well documented permissioning systems that don't need anointing by manual reviewers.

Where is an example of that actually working in the consumer market? How has that worked out for Android?

2. Speaking of flea markets and the false equivalency of the app store to a Walmart, Walmart doesn't require banning flea markets but the app store (Apple) bans sideloading. Walmart and flea markets coexist peacefully.

Android and iOS also coexist. If you care about “freedom” you are free to use Android like 80%+ of the rest of the smart phone market.

Just because you enjoy being chaparoned on iOS, doesn't mean everyone does. Go ahead and enjoy willy-nilly installs from the app store, but don't block user's choice to circumvent Steve Jobs' image of the universe

And it’s your choice to buy an Android device....
I do not know if you receive this post because I am shadow banned because I posted unwanted truth.

I agree with your first sentence. I have upvoted your post.

Unfortunately the second sentence is not always true. We all suffer from the insane democratic majority and the related media.
Unless Goodreads is returning 50x errors then it is not "broken", what a misleading title.
I think we are talking past each other. America is always defined by its ability to take bold steps that come at Human costs. It’s written in their DNA. Not that India as a nation is risk averse, but whenever a human life is involved Yes they tend to be conservative. I think that’s what is driving their space program- to make these small incremental steps towards a final goal and they have ways to go before they get there. I personally think that ISRO has come of age and all it needs is some private equity participation to give it a much needed kick in the butt!
High school tutoring appears to be the same thing but in person: the tutors basically do the homework for you (ahem, "with" you).

It was so bad that in one class at my son's high school, the kids were turning in great homework but failing the in class tests, so the parents protested and had the homework's weight increased (and test weight decreased) in the computation of the overall grade -- and had the change made in the middle of the year!

I was quite naïve and was shocked by this. I'd gone to schools where where external tutors or essay-writers weren’t really viable.
Texas boosts U.S. science with fastest academic supercomputer in the world
"easily"
It’s a bit of a false dichotomy, really. It isn’t as if the US is behind on accessing the moon or space in general.

Nothing more than distracting partisan virtue signaling.
I like the idea of building small groups on platforms like WeChat, especially the online school. Sounds like a good way to leverage one instructor helping 100 students.

The big problem however is getting locked in on one proprietary platform. I guess what we can realistically hope for is for there to be three or four big players and competition will keep them from being exploitive monopolies.

I still think that we are going to end up with a world out of William Gibson’s cyber punk sci-fi novels: a few mega corporations with small groups, arcologies, and individual hustlers living on platforms they don’t control. A mixture of mega corps with small scale entrepreneurs.
> I am looking for Ronan Farrow’s ‘Catch and Kill.’ It appears, inexplicably, after two books not titled ‘Catch and Kill.’

This bothers me to no end in Google maps search results. It seems like every time I'm searching for some chain> the first two results are for stores that are hundreds of miles away and in towns that I've never visited (which Google should also know!). The one that's a couple miles away / the one that I've been to (and mapped to) a dozen times? Third or fourth on the list. Insanity.
Elaborate on how a D3 map would break?
PredictionStrike Product Launch
With the start of the NFL season… PredictionStrike is back! After a successful beta through the 2018-19 NFL and NBA seasons, we launched our official product this past week.

PredictionStrike is a fantasy sports stock exchange on which users can buy/sell shares of individual athletes, build portfolios, and make real money. Each game acts as an earnings report, and stocks move based on if an athlete beats/misses their projections.

Check it out here: https://predictionstrike.com/, and respond here or email brad@predictionstrike.com / deven@predictionstrike.com if you have any questions, are interested in helping out, or just want to talk. Happy trading!
I guess it it's a political question then Californians don't elect representatives reflecting Californians' interests?
I disagree with everything written in that article. Goodreads has been the best books discovery site for years.
Try doing that with a for profit business....
Show HN: I built a static blog generator in Ruby
Don't Kindles cost a lot to make simply due to the expensive display? E-Ink has a monopoly pretty much which keeps costs high
The state almost always wants to make a plea deal in criminal cases, since trials are really time-consuming and expensive. IIRC, upwards of 90 percent of US criminal convictions arise from guilty pleas for this reason. Typically, accused criminals are much less powerful than the prosecuting attorney’s office, so the state more or less gets to set the terms of the plea bargain. (This isn’t really a good thing!) But when the accused criminal has hundreds of millions of dollars, and access to high-powered lawyers like Dershowitz and Starr, then he has a lot more power to set the terms. No prosecuting attorney wants to be on the wrong side of an acquittal like OJ Simpson or Robert Durst.
It may be hyperbolic, but it is drawing attention to the fact that a cash-strapped system has spent money trying to (and failing to) fix something that was not broken.
But, does it meet the "doesn't taste like beer" requirements mentioned in the article?

From the article, it doesn't sound like White Claw, et al, are skipping their own brewing and buying from those "commercial scale providers".
Calling CSRF dead is the wrong way to interpret it.

There would be few security issues surrounding web apps if devs were security conscious, unfortunately only few are.

There are many mitigations for security vulnerabilities surrounding web apps, CSRF is very much alive, and it is a common finding of mine.
How Online Tracking Works
Idea for a million dollars and even more looking who will help me quickly scale
> The recommendations suck, the lists suck — it’s like, 100 lists telling me to read The Handmaid’s Tale and Harry Potter.

I had the same experience with GR and also Amazon.com which constantly peddles the vampire romance books when I am looking for recommendations for horror/fantasy. Both Amazon and GR strategy make sense because best-selling books sell the best, so they should recommend them to increase profits. However, it does suck being a reader looking for new book suggestions.

I've spent a good deal of time making my own book recommendation algorithm which has been working well for me for the last two years. [1] Through it I've discovered old authors I didn't know (Ted Chiang, Clive Barker) and new authors which I wouldn't have noticed (Scott Hawkins, China Mieville). Of course, it always helps to get recommendations from friends with similar tastes, too. :)

[1]: https://nowwhatdoiread.com
Okay interesting, so thats not what Apple was referring to

Its a suite of best technologies that have little to do with the version of html supported by a browser

This gives a lot of insight into this whole comment thread
We were at Ikea today and I thought - they should have a "lazer" game where you try to get as many tags as possible. Players would be required to walk, you could only tag someone once and they could have tags on furniture [or only on furniture] that encouraged kids to "catch them all" ensuring the parents visited a particular room or item that Ikea wanted to sell.

Maybe ...

MVP would be just have some of the barcodes with a different colour background and give people barcode readers "capture 30 tags and get an icecream"; improves engagement, keeps kids interested in the "hunt"??
Multiple Code Execution Flaws Found in PHP Programming Language
This seems a bit of pearl clutchery itself.
All your points are true - but I think using the API to essentially just create a “better front end” for Goodreads would be the the new idea here because of that momentum. You wouldn’t need to add your books or friends on this new app, you would just login with Goodreads and it would all be there. It could also two way sync so even if your friends want to keep using goodreads, any ratings you put on this new app would still show up on your goodreads profile.

The reason “better frontend” is in quotes is because it wouldn’t stop at just making the UI/UX better, but also do better search using Algolia, a better book recommendation engine, etc. but there’s no reason it couldn’t just use the goodreads api as essentially the backend for user profiles and ratings
Are we living at the most influential time in history?
Maybe that's what they want. A lot of people in general hold the view that high grades just equate to work ethic, so in the case of financial institutions perhaps they are really just concerned with the ability to produce consistent results.
Yes, my objection is about the word; that's why I put "kowtow" in quotes.

My argument about that specific anecdote, that Ito called Epstein & Epstein delivered $100k, on demand, for exactly the purposes Ito requested, is that it is more supportive of the idea Epstein did MIT's bidding than the other way around. (I'd still not use the word "kowtow", but the other posters brought that word & that anecdote up.)

And still, none of the details in this article (or others) suggest MIT Media Lab or Joi Ito were "kowtowing" to Epstein, by the definition of "kowtow". It's poor, misleading, derogatory word choice implying things other than what is in evidence.

(Unless, of course, someone can point out some cases where MIT people were "excessively subservient" or "worshipful" towards Epstein. I'd still welcome new information!)

Some peoples' attitude seems to be, "these people were bad, hence we can and should use derogatory exaggerations towards them, without concern for the details".

I think instead it's especially important to be precise & accurate when criticizing people, or assigning them a sticky "shunned"/"unethical" status.
Lots of features within Amazon Connect are console only.
Nice. Couple of things:

1. Why not integrate and let user monitor all their SSL certs for a domain in a single shot? Like retrieve all certs for a domain (similar to https://crt.sh identity like search result)

2. When registered, I did not receive an email confirmation/validation. So I am not sure if I will get an email before my certs are up for renewal.
Any serious mitigation solution must be BGP based, not proxy. Besides its technical merits and convenience, it also minimizes the risk of a benevolent controller (e.g. Matthew Prince of Cloudflare) ruining your company, because it becomes your upstream provider only during the attacks. Otherwise the GRE tunnels are not in use. The IP addresses are still yours always.

We used Verisign for mitigation of a 44Gbps volumetric attack and it worked very well. We also evaluated Neustar, but Verisign's infrastructure seemed to be more robust.
I've had to use AWS in the past professionally. The general categories of problems I've seen with AWS are threefold:

1. Each individual service in AWS may be perfectly well designed, but there are now about 5000 services in AWS, which means there's 5000^2 possible interactions between services. Services interact in strange ways, and there's no visibility (and no documentation) into exactly how. You can write 5000 bug-free functions, but that doesn't mean you'll end up with a bug-free program.

2. The craftsmanship that goes into each element of the AWS console is poor. Controls don't work like I expect, and don't work like similar controls elsewhere. Error messages are terrible, or missing, and don't give any clue what is actually going on, or what secret AWS-specific trick I need to use to fix it. I've wasted hours of my life on those spinners because it's not even clear if an action will occur right away, in 30 seconds, or 30 minutes. What is one supposed to do when they click a button, wait a few minutes, go to lunch, and come back to see "at least one of the environment termination workflows failed"?

3. The documentation and support is lousy. I've asked a few questions on AWS's own forums, and never gotten any response at all. The above error message appears in exactly one forum post, and AWS finally got back to them after 2 weeks, and it was all done via PM so I learned nothing from it. I've used the 'Feedback' button, and when I get a reply, it feels like some combination of "it's your fault" and "you should have googled harder".

> designing, leading, and building the frontend for an AWS service

Designing the frontend for an AWS service doesn't help with the biggest problems. It's like designing a city by designing apartments and offices, with no thought given to roads or signs.

> The universal thinking within AWS is that people will ultimately use the API/CLI/SDK.

I can't understand this. If someone can't get the web console to work, they're not going to say "I know, I'll just write everything by hand with the API instead". The web console is essentially your landing page and your trial combined. Do all your "personas" consist of people who build for the web but never use the web? Or who try a service, and when they can't get it to work, they double down on it?
Hacking extreme poverty with maps, crowdfunding, and data-verified impact
If you watch Joe Rogan you'll often hear something like "if only more people took psychedelics, the world would be a much better place".

There are places, like Peru, where psychedelics were in widespread usage for a thousand years. Yet Peru is not associated with an utopia, the best place to be on Earth, or anything of that sort.
There’s a world of difference between say Cleveland, OH and Zanesville.
At 4s it's not too bad. I mean, I don't have anything to compare to, but we're still talking tens of thousands of miles per replacement.

Obviously that's not like, a full throttle acceleration and slowdown constantly, just merges.
And I did. That's not related to my parent commenter's point, I think.
Not anymore as it became ubiquitous for the things people actually develop in the webdev community, but it is still the term for what is being described

I see your confusion and frustration now, just a misunderstanding
I struggle to come up with a reply to the comment you are replying to, because eating is such a subjective experience and hard to describe.

But I think that quality of an out-of-region bagel is also something I find in regular bread out here.

Also I infer from what is stocked on shelves and what I see friends and acquaintances buying that people here have much higher tolerance for stale bread.

Like the commenter above I was not seeking out these experiences, but felt like they kind of smacked me in the face when I got here. It used to be I could shop for bread without thinking. Now I need to be careful and sometimes shopping in the "wrong" place means I have to deal with worse options.
As engineers? Like, actual individual contributions and not managers? Doing what?
Why does it even need to presumably parse escape sequences in an SNI? AFAIK that extension holds a hostname and nothing else, and is length-delimited anyway. I'd consider the buffer overflow merely a side-effect of what is really a fundamentally wrong design decision leading down a codepath that should've never been reached in the first place.
It’s sorta interesting how the replies to this digressed into linguistics about systems architecture, and nobody called out the “elite engineers” statement.

I’ve worked with a couple of engineers who are now on Wikipedia’s SRE team. They’re good engineers, but not elite by any means. Not “10x” developers or wizards in castles or whatever. Good solid engineers who I would work with again and fight to hire. But they’re not savants or even the top 10% of folks I’ve worked with. Solid mid to sr level engineers I’d be happy to hand a project off to with ambiguous goals and little oversight, and I’d expect them to get a team of 4 or so other engineers to be more productive.

These are the engineers who meet the job requirements for SRE positions.
>It's pretty misleading that all the headlines are just calling this "vaping-related" when the actual cause is probably bad THC oil.

That's pure speculation on your part.

All of them are vaping related, but not all necessary THC related:

>Many patients report using e-cigarette products with liquids that contain cannabinoid products

The might be under-reporting due to THC legality fear. Or it may not be. Who knows?

>at a greater risk for a litany of awful illnesses.

Long term maybe. But whatever this is it seems to kill pretty fast.
Yet big tech is not investing in remote work, but into new factory housing or co-suffering spaces.
I think some onus is on Apple, the only other player that could deliver hardware and has A complete store for books.

I understand it that they would not release any ink devices that fragment their product lineup beyond iPhone and iPad.

However, Apple‘s lack of action in providing quality reading experiences that reduce eyestrain and effectively Compete means that everyone has to deal with Amazon’s garbage.

I hate to say it but I think reading is a niche market. Not enough people do it, a lot more people want to watch YouTube then read Cormac McCarthy.
What a load of garbage. Seriously go consult some psychiatrist at the earliest.
My ISP, at&t, sells my dns queries by default. I turned it off in the account privacy settings, but I still dont trust them and they are the only ISP that serves my house. As well, firefox lets you choose your dns over https provider in settings, its hardly "hardwired".
"I believe that work life balance is key for happy people and happy people deliver better results. It so happens that working here with this company would allow me to cut my commute, providing better work life balance, allowing me to provide even better results than I already do today."
I actually remember reading about their lunch habits which are relatively unique in Europe

https://www.bbc.com/worklife/article/20190103-the-norwegian-...