skysight-inc/HackerNews huggingface dataset:
Am I the only one who wanted to try all of the different access methods to see what would happen? I didn't even know there was such a thing as a gopher portal.
https://twitter.com/jamesokeefeiii/status/115837860224274022...
Hrmm, I see. Using GET with a request body is undefined behavior as per RFC. What this means is that there's a very high likelihood of things breaking in the future, because each software vendor as their implementation. You'd probably need to test the software you are using internally.

Can't you use a range for said ids? Like

GET /blah?from_id=0&to_id=2000

Or are these said ids distinct from each other, like

GET /blah?id1=v&id2=v&idN=v ...

until id2000?

If the latter is what you're dealing with then this looks like bad design, IMHO. You might need to redesign this if possible, otherwise you'll be building on a house of cards. It's just a matter of time.
In a nutshell: Germans seem to love bureaucracy, process, and red tape.

https://www.dw.com/en/germans-and-bureaucracy/a-16446787
> And probably we'd all have loved to have Kotlin instead...

For what it is, I quite like Kotlin (particularly when placed against Java, of course), but I would not want to give up structural typing for much of anything in 2019. It makes writing obviously-correct code significantly easier.
> The material cost of most raw materials isn't very high, but ruining something you've already spent hours crafting is extremely costly.

Thanks to version-control software it's also incredibly cheap to experiment freely with an existing code-base in a completely non-destructive fashion. I see no reason to treat existing code as fragile or precious.
A 2019 Guide to Human Pose Estimation
“A 2019 Guide to Human Pose Estimation” by Derrick Mwiti https://heartbeat.fritz.ai/a-2019-guide-to-human-pose-estimation-c10b79b64b73
Maybe he gets his money back if it isn’t?
I've created a project with overview of existing solutions and to brainstorm together: https://github.com/mariusa/mosquito-eradication
> Guilds would have a major performance problem: can't allocate objects without GIL.

Why not? It'd be possible to have TLABs, isn't it? But yes, GC would still be for all Guilds at once.

Racket places don't allow to share objects, only arrays of primitive types, which seems very restrictive. And Racket futures are even more restricted.

I'm not sure about Guilds since it's not there yet, but it already sounds closer to Ruby multithreading and more flexible to me from an usage point of view.
>We're talking about hard work that is both interesting and rewarding.

Your hard work is way more rewarding to your masters than to you, though.
> Exports are less important to GDP than real estate construction and infrastructure development (subways, high speed rail, bridges, etc).

Exports have stopped mattering several years ago. Manufacturing is increasingly being moved to Viet Nam, India, and Africa. Countries with cheaper labour costs and that don't steal your IP and lock you out of their domestic market as part of the manufacturing deal.

You forgot the ghost cities, the buildings that crumble before they are ever populated, and the roads that fall apart within a year of being built. The backbone of the Chinese realestate economy.

The chinese real-estate investment bubble is a bomb and the trade war is rapidly counting the timer down to 0. Is it a bubble? Yes it is, the Chinese government has had to put in multiple controls over the last 5 years to slow its growth and try to prevent it from bursting[1]. They're in a difficult position. Letting it keep growing will guarantee it bursts. Stopping it entirely will cease only source of the economic growth that's kept the population placated with the authoritative government.

The more wealthy and smarter Chinese have been investing overseas. That investment has fallen exponentially since the start of the trade war[2]. This bubble isn't going to hold up for more than 2 more years, assuming the trade war continues. And if it bursts, it'll hit the world economy pretty hard.

Recently the Chinese government has also put in tight controls on who can move money out of the country and how much. This was in response to everyone trying to move all their assets overseas as the trade war ramped up. They're even going after party members now[3].

tl;dr: China's economy is large, but most of it is a house of cards built on a bluff. That bluff has been called during a downturn that the CCP didn't know how to address in the first place. Anyone with the means to do so is folding, cashing out, and leaving the country or at least sending their children overseas[4].

[1] https://www.scmp.com/property/article/2080470/more-mainland-...

[2] https://www.abc.net.au/news/2019-04-08/chinese-investment-in...

[3] https://www.scmp.com/economy/china-economy/article/2167731/d...

[4] https://www.cnbc.com/2018/07/05/more-than-a-third-of-chinese...
I'd rather companies did this, than governments.

Like how some companies won't service porn-related ventures.

It's fine if a company doesn't want to make their money doing this, but it shouldn't just be, "Oh something bad happened... time to react..." They should take philosophic stances, "I don't want to help with un-moderated user content. Show me your moderation policy and plan, and then we can do business..."

What bugs me is that the Cloudflare CEO flip-flopped on this like 8 times. They have no coherent policy, other than, "Don't give us bad press before our IPO." Shitty.
Much too big? Have you ever cooked for more than 5 people? Ya, maybe a gigantic layout isnt great for family dinners in the evening, but the moment you have a party it provides a great space to prep and layout finished foods.
I've created a project with overview of existing solutions and to brainstorm together: https://github.com/mariusa/mosquito-eradication

Would you please share the details of your idea?
McDonald's paper straws cannot be recycled
JRuby has no support for C extensions.

TruffleRuby supports C extensions, and has no GIL for Ruby code.
Let's do it! I've created a project with overview of existing solutions and to brainstorm together: https://github.com/mariusa/mosquito-eradication
> The problem is that being "flatmappable" very strongly implies that it's a container

Can't fully agree with that, although I see your point. "Mappable" doesn't imply a container more than Functor's fmap method implies that all functors are containers. And "flattening" something is basically Monad's join.

But still, even if "FlatMappable" has a strong container connotation, I think it's good enough for establishing a first intuition. I think that once one shows what flatMap looks like in terms of e.g. Promises, the notion that it's about arrays or containers will vanish pretty quickly.
In such cases that same backend can send an XML (or JSON if you will) DSL payload that generates such UIs on the fly using the native widgets.

Pretty easy to create such framework in something like C++ or having a scripting language that drives the native UI widgets, something like JavaScript.
Since Perl 5.14, it could be simplified to

$data = "foobarfoo"
say $data =~ s/bar/baz/gr

say is like print, but adds a newline as well.

The /r option does a non destructive replace and returns the result.
Not surprising. The EU capped interchange fees at 0.3% for credit cards back in 2015. You can't really run a rewards card with that cap in place.

(For comparison, it's roughly 10x that in the US for the higher-end rewards cards.)
Nice writing, and very educational for someone who never had reason to take a lens apart. Explains part of why they're so expensive! :)

I think it's a bit more glue than I like, but still reasonably serviceable for something with small parts in a restricted space. About on par with a Toshiba laptop, not as good as a Thinkpad (based on my experience with now outdated hardware repairs).
This is plain garbage. The best way to get visitors to your website is to create good content. No marketing, no click-bait or other garbage, just good content.
Does the AUM cult in Japan not disprove most of his main argument? They didn't have easy access to guns but still found it relatively easy to commit mass murder. More recently it took little more than some gasoline to murder 33 animators in Kyoto. Guns are an easy method of mass murder but hardly exclusive. Is there any reason to believe these murderers wouldn't switch methods? The attacks in Japan show that it's still easy to commit mass murder without guns.
This is why I'm glad we have both; I don't think one resource could ever satisfy everyone. Pumped to see Rust in Action getting closer to publication too!
I have some lenses (Nikon 35mm and Pentax 55mm) that are identical other than having single-coating (thoriated glass) or multi-coating (non-thoriated glass).

The multi-coated versions all have a little bit more saturated colors. Other than that I have never noticed a difference.
India set to withdraw Kashmir’s special status and split it in two
I do the same thing. I work 4 days a week, to spend one weekday (as well as the weekend, of course) with the kids.

Still, my wife regularly points out that I again forgot to do the laundry on that day off, and most of the time she still cooks that day. I want to, but still haven't fully picked up my share of the household work. And the worst part is that she still has to point this out to me.

I do better than most men and am still falling short.
> I've seen probably hundreds of moral panic stories about DEEP FAKES (which sound so scary!), and have yet to see a malicious use.

Because this is a long-term operation designed to make you question what your own eyes see. There will be a day when an extremely damaging video of a politician/celebrity comes out and our trusted media sources will say "we've determined this was merely a deep fake" and thereby dismiss it out of hand.
actually, i'm not clicking on that.
Uber and Lyft Admit They're Making Traffic Worse
I think it's okay to discriminate or moderate against a set of beliefs if you can show that the spread beliefs lead to the widespread harm of others.
One Terabyte of Kilobyte Age Photo Op
The verbose mode helps a bit.
I did a quick check and C# seems to have tricks to accomplish "verbose" RE.

But still, if you have to comment RE to improve readability is that really an improvement or one more thing to maintain?

My preference is to avoid RE in larger code bases.
Sounds nice on paper. Reality is, you figure things as you go along. Plan for 6 months, and you will see you have 6 months of work.... Get to action first, and you'll have maube 6, maybe 7... Anyways...
> That being said, when there is a pattern, there is a pattern.

There is a pattern of mentally unhinged men being radicalized by the right wing and committing heinous acts of violence with guns.
This seems both highly plausible and deeply chilling. We already saw what happened with electronic voting.
Very nice. Hopefully PyPy compatibility will be added, for speed. Good luck with your aspirations.
It doesn't matter. Cloudflare is a private company, and as a private company, they have a right to discontinue any service with anyone as long as it isn't some sort of discriminatory act based on a protected class.

Considering that 8chan has a proclivity to be a haven for mass shooters, the site needs to be excessively curtailed regardless of whether they're affecting the businesses services directly or not just for the sole fact that they don't seem to police the people or content that are on the site.

For example, do you think a business shouldn't fire an individual after he committed a murder of some person who isn't affiliated with the company?
Keys to Overcome Scary Startup Uncertainty [audio]
> performance issues (thanks to infinite scrolling)

This problem is already solved by virtualized lists available in any decent framework. Why people don't use it is beyond me.
I didn't use the term "bad". I said it was based in economics.

It's called a work/life balance. Work, and the related money are a means to being able to live in this society. And how we choose to use the money and power, is how we affect society. But running to work after everyone else "goes to sleep" doesn't appear as a healthy relationship.

And I know of nobody who said when they got old, "I wish I spent more time at work".
I don't disagree, that is why I choose the term link as opposed to causation, it could very well be that they are choosing to immerse themselves in violent content because they have a predisposed desire for it.

It is also why I am anti-censorship, as I believe it is the opposite side of the same coin as blaming the gun for mass murders.

Just as guns are linked to these issues as the tool of choice, we find back linking to excessive immersion in violent media.

I just find is strange the cognitive dissonance people make when wanting to ban the one but not the other when they are both clearly linked. They want law abiding people to give up their guns but find all kinds of reasons to deny the link with violent content.
Because that would be inaccurate.

https://www.statista.com/statistics/476456/mass-shootings-in...

Number of mass shootings in the United States between 1982 and August 2019, by shooter's race and ethnicity

White 64
Black 19
Latino 10
...

Comparisons to population percentage, etc.

Female shooters are rare, but exist. " Women accounted for nine of 251 active shootings in the United States — or roughly 3.6 percent — between 2000 and 2017, according to the FBI."

https://www.baltimoresun.com/news/crime/bs-fe-female-shooter...
no, they are not:

[1] https://www.cnn.com/2018/09/20/us/maryland-shooting/index.ht...

[2] https://www.cnn.com/2018/04/04/us/who-is-nasim-aghdam-youtub...

[3] https://www.cnn.com/2015/12/03/us/syed-farook-tashfeen-malik...

[4] https://en.wikipedia.org/wiki/Goleta_postal_facility_shootin...
No they're not, see steve's explanation above.

Putting a semicolon after an expression makes it into a statement, which are unit-valued, which is why the expression's value gets suppressed. It's a subset of "statements not ending with blocks" (since an expression-statement doesn't take a statement-block even if the expression itself has one).
Turn Python scripts into handouts with Markdown and figures
I always find the utility comparison an interesting one. If the water supply was poisoned, would you expect the utility company to cut your supply until it could be cleaned? If they could cut it off closer to the source of the poison so you weren't affected, would you prefer that?

You don't expect 1000V from your electricity company. You don't expect arsenic from your water utility. You expect the fcc no-call list to be honored. Very few utilities are truly dumb pipes.

(Not trying to draw the obvious comparison between 8chan & arsenic. Just that I think when we're holding "dumb pipes" up as a holy grail, it'd be worth remembering that the holy grail is a myth.)
Write an article with the title "how to get X users to your website" and pretend you're not click baiting
“Most people think calculus is absolutely impossible no matter how hard they think.“ This is how people who KNOW calculus think. In fact, it is INDEED impossible for people weak in algebra and trigonometry, which is virtually the ENTIRE set of people who wash out of calculus.
I have extensive experience in journalism and media, what you're saying is just factually incorrect.

Business publications like FastCompany run uncritical puff pieces all the time. There's similar content in in-flight magazines, on many blogs, on various TV profile segments and much more. You're free to decide if you enjoy reading light, superficial, and purposefully positive stuff like that. Often the writers and the subjects of the writing run in the same circles, are even friendly. The content is often predictable and boring.

I'm not a huge fan of the genre either.

But it's still journalism. There's a difference between paid placements and journalism and it's a distinction I believe is important.
Netflix Culture Memo (2009)
Going from one extreme to the other is not the right way. Try to find balance. Kids need to hear no from time to time or they become insufferable brats.

What happens when your daughter is an adult and hears "non" for the first time ?

She will melt away. And will probably needs a lifetime to grow up and learn that she can't always get what she wants (which seems a common theme in western society nowadays).
Show HN: How to sell your side projects
> America is not a violent country,

The general crime rate in the US is not too different from the crime rate in most other developed countries; see point seven:

* https://www.vox.com/policy-and-politics/2017/10/2/16399418/u...

However there's a lot more violent crime; see point one (ibid).

> it's about average, and far better than our neighbors to the south.

And yet as someone who lives in Canada, your neighbour to the north, we have a lot less gun crime. The difference is that we have good social services and decent filters on gun ownership. I don't know all the nitty-gritty details, but it seems that Canada's laws are roughly in line with what Massachusetts has:

* https://www.vox.com/2018/11/13/17658028/massachusetts-gun-co...

There will always probably be mass shootings:

* https://en.wikipedia.org/wiki/2018_Toronto_shooting

But I think adding some filters or speed bumps to ownership (and especially CCW) will weed out the hot heads and incompetents that cause so much low-level carnage:

* https://twitter.com/Well_Regulated_/status/11582078708082647...

* https://twitter.com/Well_Regulated_/status/11575509903437127...

* https://twitter.com/well_regulated_
I thought your comment would be a good GPT2 prompt so I tried it. First result:

The fish will have to be delivered right at the time they are needed, since our current technology is geared towards delivering fish at the beginning and then moving on to the next species. At that time, they will have to be fed at the right time, but you don't have any idea how long you might wait or how much time you'll have, and who could possibly get the fish if someone decided to eat the fish anyway.

You will end up with something like this:

In this case, you can even have an artificially intelligent fish, for example, that will be bred so it is much easier to keep the fish alive, but it won't do any better in terms of efficiency of operation. It will simply end up doing less work. A fish with artificial intelligence will just get tired and lose its ability to perform their job.

Another concept is that you could simply use roboticized boats that operate like a large farm or factory, with lots of fish and then moving animals into the water as needed.
of all the deepfakes we can identify, they are all obviously fakes. of all the deepfakes we dont identify, we don't count them in our identification. therefore we catch 100% of deepfakes.
Spotify thrives because it is more convenient than piracy.
How are you selling to universities? Do you mean individual labs, or departments, or enterprise level university accounts? My experience has been that individuals are easy, departments are hard, and universities are next to impossible. Since your product is ad hoc, perhaps it's easier. You might want to think about how you could offer this as a SaaS.
I don't think that necessarily implies that the inside will get dusty. For example, if the air intake had a HEPA filter with a sufficient lifetime, only particles smaller than the filter's rating would be able to enter the body of the lens.
What are we supposed to be looking at if not numbers with regards to "better rewards" like yalogin was talking about?
No, because the dollar they created and wired away based on the 10 cents of reserve they hold might be itself deposited. Or the 10 cents might be the deposit of a bank-created dollar. It's a feedback system, it doesn't strictly need a central bank to work.
I think slippery-slope-type arguments are they, themselves a slippery slope. What if nobody ever again acts on their moral courage because they’re afraid of hypothetical bad actors abusing that precedent? Oh My! [clutches pearls] Not everything is relative, you’re not smart or ethical because you can make up hypotheticals to oppose any action. You’re just a nihilist with no grounding in reality and no value system. It’s ok to say something is bad, and then act against that bad thing. /rant

Edit: and when you do fall into that relativist trap, the bad guys win because they don’t care about any of it. They don’t worry about slippery slopes, or unintended consequences. Overthinking and other various mental masturbation by good people let’s bad people win.
I live in Africa and around here, people don’t trust men with this kind of work. I have a housekeeper and so do many people, and every single one is a women. You might not be able to prevent them from stealing, but you feel a lot safer than you would with a man.

This has to do with the different evolutionary strategies that women and men pursue. Women tend to pursue a low variance and consistent strategy (which makes sense considering their reproductive cap) while men take a high-risk high variance strategy (which also makes sense given their lack of a reproductive cap).

Women here take stable but probably mediocre jobs: hotel waitress, cleaner, food vender. Men on the other hand are always trying to get a big break and are never satisfied with a job and consequently often jobless. In fact there’s a saying over here translated goes something like this: A man that walks for nothing is different than the man who sits for nothing.
On the other hand Chinese goods are now cheaper which should be good for exports and the economy so that would encourage you to want to hold the currency.

That is an economic argument over something that seems to be a political valuation though.
Regarding #5 - thinking about a schema is the hardest part! The rest is just busy-work.
This is the same kind of thing as guitar lessons you Youtube.

There is a lesson for free for zillions of songs on Youtube. The people in the videos are excellent. They might have different approaches that offer different insights.

But none of those videos will have the instructor pause, look through your computer, and tell you your fingers are out of place. None of them will notice which part you are having trouble with and create a new exercise tailored to you on the fly.

Yoga with a good instructor in person is the same thing. You're doing it wrong, you could hurt yourself. You can't even tell you're doing it wrong. The instructor can see it and correct. The video cannot accomplish that.

Some of this stuff it's debatable whether a 2-way video setup can do it. You could have lessons on skype or something but the camera limitations might block this kind of interaction from happening.
As far as I know, remarketing hasn't yet been shown to be valid at all under GDPR. Someone probably needs to make a test complaint. There may already be one in the works. It's but a detail within the general case of Google or FB advertising in general.

Google Ads have already been fined €44m under GDPR, and I believe there is another case already in the French system.

Showing ads is not the service provided as no one at all would accept them optionally. FB, and Google, should be targeting in non-personal ways even where that necessitates less targeting. That was part of the point on which Google got their €44m fine.

As seen in TFA, the web of third party tracking appears more liable, and in need of consent than many, particularly American companies with a vested interest, have claimed whilst hiding behind those.
The engineer probably isn't going to get paid any more for finishing it faster, so what incentive do they have?
Premature optimization is as much a problem today as it was in 1974.

When you build a framework to support a feature you decide to never implement, that's premature optimization.

I'm not concerned with optimizing code, generally. I'm concerned with optimizing developers. Don't waste time on unnecessary work.
That’s not the connotation of “hate” when used in the term, “hate speech”.
Previous thread: https://news.ycombinator.com/item?id=20073072