skysight-inc/HackerNews huggingface dataset:
You're right, I updated it to reflect that it's paid. I think email address is implied by the newsletter though.

I'm obviously biased but I think the problems are fun and the solutions are valuable. Here are some blog posts I wrote that hopefully give you an idea of our questions:

Given a table of currency exchange rates, determine whether there is a possible arbitrage: https://dailycodingproblem.com/blog/2018/01/02/find-an-arbit...

Picking a random element from an infinite stream: https://dailycodingproblem.com/blog/2017/11/30/random-elemen...

Merging k sorted lists:
https://dailycodingproblem.com/blog/2017/11/29/how-to-solve-...
Decorators are great. One or two or three. 4 is pushing it. Some people get all carried away though. I saw code recently that had a stack of like 8-10 decorators on top of each function. More decorators than function in every case. Thinking it might be time to re-evaluate basic structure in this case but maybe I just don't get it.
Oh god! Hadn't heard of "meatspace" before to reference the world outside the internet. :D
Ask HN: How to get industry insights and meet people outside your bubble?
Ask HN: How to get industry insights? / Meet people outside your bubble?

I am very interested in the inner structure and dynamics of industries. In the last years I got to know a few industries through old friends and school buddies. Unfortunately the circle of my peers seems to narrow in on computer science from year to year and it becomes more rare to get such insights.

The industries can be as trivial as german christmas markets. For example:
Are the stands organized business or individuals?
How much revenue do you expect on a weekday?
How much value is captured by the organizer of entire markets (probably the district/city?)?
How much money is spent on marketing/advertisement?

Ultimately I am also looking for startup ideas:
Where in the value chain are inefficiencies? For what reason are they there? (precursor to Peter Thiels famous "thing you know, that no one else knows/believes")

The answers to some of these questions are not publicly available. I spent the day today in the library and found that information in books on these topics is often outdated or nonexistent.
This might be due to this type of information often being considered a company secret (e.g. revenue per day) or the data is never collected because of its perceived triviality (business size of christmas stands)

How do you approach these questions?

Ultimately this is a question on networking. How do you meet people from different industries outside of your cirlce?
Circular Runways
This.

Even the coolest idea requires scaffolding. The larger/more novel the idea, the more (re)scaffolding needed.
Dealing with ML often feels like dealing with climate change deniers.

But ML has pivoted away from nearly all of their major technology advances at this point, so they are much more likely to deliver now what is likely to be an underwhelming product that is little differentiated from Hololens.
That matters why? The majority of marketing materials for any technology are vague, abstracted and non-technical.

That someone would make an assumption about something that they have no knowledge about, that isn't even available to them, means what exactly?

You guys are shouting at clouds.
Yes, my response assumes that KC8ZKF is using a computer.
When the web was invented, we came to consensus there should be a single space after periods that close sentences in rendered HTML documents.

You can see the original discussion, on the www-talk mailing list in July 1993 [1]. In the thread "Space after Periods," Terry Allen (an editor at O'Reilly) advocated for rendering more space after a period that closes a sentence than after a period that marks an abbreviation (in keeping with TeX and troff conventions).

I proposed that, "A WWW document (which uses proportional fonts) should have the same space between sentences as between words" and cited as authority "Words into Type" and the "Chicago Manual of Style." in 1993, "WIT" and "Chicago" set standards for publishing much like RFCs do for the Internet.

Terry Allen and I engaged in some snarky backbiting, then Ken Chang of NCSA Publications said he preferred "'one space fits all' as writers of HTML really shouldn't need to know the fineries of typography" and finally Guido van Rossum complained that, "extra space after a sentence... is mostly propaganda by Knuth and Kernighan (TeX and troff)" and implored, "Let's keep HTML simple!"

If you don't like the way that browsers collapse spaces between sentences, you can blame me (and Ken Chang plus Guido van Rossum who clearly had issues with whitespace beyond Python).

[1] http://1997.webhistory.org/www.lists/www-talk.1993q3/index.h...
Isn't it feasible to construct two sets of legible texts with the same MD5 hash now?
Thank you, thank you, thank you.
Having to rebuild thousands of binaries every time a vulnerability is found in a popular library is seriously hurting Linux distributions.

That, and having to handle vendorized dependencies.
Anyone know how to stop dissociating?
That makes sense. I'm sure it gets better with some personalization, but still, let's say the navigation felt like an old version of Google Earth running on an old tablet. Very cool and definitely very pretty though.
No, but "being lazy" is an action, which can be stopped. It's much harder to stop being lazy if you are being told it's a facet of your identity.
I’m just starting a GAE app for the first time ever and I chose what you call “old school”, but they call “standard” because my understanding is that it’s more cost effective in that when you have no traffic, you have little to no costs.

Also, standard has start up time of like a second vs minutes for the “flexible” version. Basically standard, with Python 2.7 is a true app engine, where flexible is just a container service which runs almost whatever you want.

People really shouldn’t try to position flexible as a new version of GAE. It’s a totally different service. If everyone who’s currently using standard had to switch to flexible, Many if their bills would go up. Is Google EOLing standard?
You are right that it has always been "glasses" in a rough sense of the word- at least when I read the actual details, even though their simulated PR videos often showed it without glasses and way more vivid and with larger FOVs than it could have been in real-life. But the lightweight ultra thin glasses they promised and the tech they said would be inside them is not what they are actually delivering. But technically they are both "glasses".
The big lie is that these recessions hit everyone in society equally. They don't.
"people seriously asking if the internet would last"

I guess I can see this seeming reasonable in the early 1940s, but it was fully crazy even before Tim built this awful Heath Robinson hypertext system we're using, let alone this century. The Network is not like cars, or pants, it's not a passing fad that societies grow bored of, it's at the heart of what we are as people, it will outlive us all.

I remember trying to explain a lot of this stuff in the early 1990s when I was a teenager - to my parents and being bewildered by how little they understood what had already happened and what would inevitably happen next. It was really like I'm stood on a beach, there has been a distant rumble and the tide is going out very fast, and I'm saying "Inland. Mum, Dad, right now. Don't stop to pick up towels and stare at the horizon, we must hurry inland or we will drown" and they don't get it at all.
AFAIK, Ubuntu does as well (if you mean that you have to write 'python3' instead of 'python' to execute Python3)
Yes with kids you probably have to carry it out further. The point, I think, is to remove emotionally charged or conclusive statements. “I know you like the ability to afford a new computer every other year. That will be difficult if you don’t have the technical knowledge for a higher paying job.” Etc
This old chestnut. Yeah, if there's enough people who are willing to pay for it (time or money), sure, Python 2.7 support will continue.

I just hope those same people have used the past years to do calculate the cost of moving to Python 3 vs the cost of Python 2 support. Expecting Python 2 support to be free or even easy is delusional/selfish though.
For anyone else who may have fallen in this linguistic trap: it was a tiny projector that projected a lightfield directly into a user’s eye.
I can't believe this person is honestly advocating for eugenics. That should have died in 1945.
That list would be as long as the list of "all even numbers" because any list of primes immediately gives you a next prime that should be on the list, but isn't, in the same way that having a list of even numbers immediately gives you the next even number that should be on that list but isn't:

Given an ordered list of primes {2,3,5,...,n} one (of several) immediately known next prime number is simply (2 x 3 x 5 x ... x n) + 1. We know that number's prime because it cannot be cleanly divided by 2, or 3, or 5, or ..., or n.

As such, even if it might be useful to have a list of all known primes, annotated with what kind of prime each number is, such a list cannot be constructed: even just the subset of all prime numbers generated based on the simple above rule would be infinitely long, just like the list of all even numbers is infinitely long.
When you're writing a Go application and want just a few things out of a web server, something like this is a nice demonstration on how to do that with a few lines in your Go program. Yes, you could use Caddy, or you could even import it and use it as a library; but if you prefer something like this, there you have it.
Unfortunately it's largely unmaintained nowadays. Also it's written in rather esoteric Perl.
If there is Python 4, please, make it backwards compatible. Thank you.
I can see a company providing 2.7 support afterwards. I'm not sure if RedHat, but if there is demand, I totally see 2.7 support as a viable business, at least for awhile.

I think it's unlikely that the community will bring support. Most of the community already jumped to 3.x, and those who haven't will do in the next two years. Also, supporting legacy code is not something that volunteers love to do.
I so much agree that praising ability instead of effort is a mistake.

However, a word like "lazy" is a bit tricky. While you are saying "stop being lazy" (meaning - please cease the behavior you are exhibiting in this moment) it can have an undertone of "you are lazy", especially if repeated over the course of days/months/years.

I wonder if there is a better phrasing to respond in a scenario like a kid not searching for his own backpack. Maybe "Do the work!"
EURUSD: Upside Pressure Risk Remains Intact
>Unpopular but very probably true fact

Meta nit: prefacing an argument with this is irritating and is essentially a dressed up "I'll probably get downvoted for saying this."

Don't tempt me to not like a statement ahead of time, just make the damn statement!
No, because they have intrinsic value as a commodity. That doesn't make them immune to pump-and-dump schemes, but it means you can still trade them on a basis other than their USD market value. For example, you can buy gold to make jewelry that is sold in stores and worn in public. Precious metals also have a very, very long history of being used for currency and as a store of value.

No blockchain-based technology has been able to demonstrate anything close to this sort of intrinsic value. The claims of being an alternative currency have not been fulfilled and show no sign of improving. What they call a "scaling problem" looks unsolvable to me.
While true, our current environment of organized society of billions of humans, all within the same info-sphere[0] is significantly different than the environment our species developed in. A lot of our natural tendencies end up being maladaptive in this new world.

--

[0] - communication transcends distance now, and if something of importance happens anywhere in the world, almost everyone else on the planet knows about it in real-time.
A major version bump does tend to imply breaking changes.
It has to do with licenses. They're shipping the last GPLv2 version of bash for one, the new versions are on GPLv3.

I don't get why people bash things when they clearly don't understand the full context (pun intended ;)
Let's take all a minute to thanks the awesome cpython team. Most of the devs work on it for free. They have very little budget as opposed to corporation backed projects like go, c# or js.

Yet.

The language has helped us since 5 years before java was born. You can find it in websites like youtube and instagram, OS stacks like linux and mac, wall street and NASA analytics, popular GIS, dropbox UI, blender and maya, sublimetext...

Also thanks for having provided almost 15 years and many tools to migrate from 2 to 3. I know few languages that managed such a big update, but none that gave so much to help with the transitions.

Guys and gals, you rock.

And it needs to be said because we hear the people complaining the most loudly. Never all the people that are so grateful for it.
What font do you use to read hackernews?

I'm using the default Verdana font. Here's a screenshot of what the post looks like on my computer (Firefox on Windows).

https://imgur.com/a/QqmeC

I guess I should have added a disclaimer to say that the thin space may not always appear correctly depending on the browser/platform/setup etc. :-)
Ask HN: How long will Elon Musk's Roadster play 'Space Oddity'
My back of the envelope: assuming a fully charged 70 kWh pack, and 1 Watt consumption that would be 70000 hours or close to 8 years. Might make it into Mars orbit, assuming it doesn't blow up.
Ok, but nobody in the US calls it a pension so when you refer to a pension everyone is assuming the one you got from an employer.
There are two wrong assumptions you are making here.

First of all, "Doing the job as efficiently as possible" is not a user's desire. Users always want concrete things and developer's opinion on what that could be or how that will be achieved by a particular user is very often quite far from reality.

Second, it's not a developer's job to create a tool that will help users to solve some problem in the way he thinks it is right. It is not what developer is paid for. His job is to work together with marketing department to deliver a product that is always a compromise between the business and the user, a product, that is just good enough, in a deal, which is good only then, when noone is happy with it, but everyone can accept it.
Seeing a psychiatrist and a counselor.

Honestly, a mental health professional is the only one who can really provide the tools which fit your needs. There's a lot of coping mechanisms which can to be employed, from making extensive use of reminders, alarms, and schedules, to setting up routines, and sometimes just to acknowledge that your brain doesn't quite work right so you don't feel bad about having to work around it.

A psychiatrist is also the one who can prescribe medication. Those meds can help with the concentration issues - can help make it possible to even invoke the behavioral modifications - but medication alone doesn't solve the problems faced by someone with ADHD. I recommend a video [0] by Jessica at "How to ADHD" to see why medication can matter. Hell, I recommend that channel to anyone curious about ADHD - her story of coming to her current point in life is a great example of how medication alone is not enough.

Feeling like a constant failure has its own costs, which is why I also mention the counselor. The right one is going to be your non-judgemental sounding board for the myriad of frustrations in life. They are also cheaper than a psychiatrist, see fewer people overall, and can help take the tools provided by a psychiatrist and personalize them even further. You can even start with a counselor and find a psychiatrist they recommend from there.

[0] https://www.youtube.com/watch?v=rD9qK8-sMGQ
https://en.wikipedia.org/wiki/Laziness

"Laziness (also called indolence) is disinclination to activity or exertion despite having the ability to act or exert oneself. It is often used as a pejorative; terms for a person seen to be lazy include couch potato, slacker, and bludger."

To clarify: I'm talking about "laziness" as a pejorative - e.g. something to be ashamed of.

Your example is about good prioritization and saving precious energy and there's nothing bad about it especially when food is scarce.
Indeed, they've run afoul of this before when mirroring sites, often niche ones that notice the uptick in traffic and whose users are attentive to their content rights.

It's an interesting conflict -- there is a benefit to saving things in case of site failure, but simultaneously it is a problem on a copyright basis, particularly for written works where the author themselves feels small next to the Internet Archive. They've walked a fine, fine line with various items like DOS abandonware games where the owners are potentially in more of a position to "lawyer up."
"Putting everything in one binary" is what we learned in the past 20 years. Most major languages either compile to a single artifact or they have some "bundling" trick to minimize runtime dependencies. Besides that, there are things like Docker which exist to solve the same problem.
Did you read the article? The premise of her question is that she thinks she is lazy AND she is not satisfied with that. Clearly, being "lazy" is not good if your laziness makes you unhappy.
> If by that you mean typesetting, I agree. Typing and typesetting are two different activities.

Exactly, and many (non-developer) folks may not have ever experienced the "two spaces after sentences" convention if they haven't sat in a typing class with old-school typewriters, and haven't been instructed on formatting monospaced type.
Like with any other system where some old version just won't go away, the ones who absolutely will not switch to Python 3 will eventually (literally) go extinct.

What we can do, as the people who live in the present, is educate programming/python newbies to use the newer/better Python 3, instead of clinging to something that will soon lose official support (for AFAIK good reasons).
http://www.thelancet.com/journals/lancet/article/PIIS0140-67...
रुपन्देहीमा वर्षैपिच्छे गाेली हानी हत्या
> Having to rebuild thousands of binaries every time a vulnerability is found in a popular library is seriously hurting Linux distributions.

Do you have a source for this?
Note for readers - this is a new story, based on the idea of circular runways that's been submitted many times before, but talking about actually building one for real for drones.

Here's a discussion of the main idea:

https://news.ycombinator.com/item?id=13883954

Here are other submission of the same story, and the inventor's rebuttal of some of the criticisms:

https://news.ycombinator.com/item?id=14163971 (Inventor's defence)

https://news.ycombinator.com/item?id=13901392 (submitted video now unavailable)

https://news.ycombinator.com/item?id=13890437

https://news.ycombinator.com/item?id=13885124 (Repeat of 13890437)
Theoretically speaking, you are right, and at some level of technology it might be possible to implement this. However, "drinkable but hot" setting is quite far from "surface temperature at 100 degrees", right?
Every keyboard has one, every microcontroller reading pushbutton inputs will have one. There is one in your mouse.
I was using GAE Standard with Python on my last gig for a couple of years, and now I'm using GAE Flexible, and I totally agree with you.

My guess have always been that the naming choice was an attempt at rescuing the somewhat bad PR they had with GAE Standard by "polluting" (improving) the GAE brand with this new thing.

(I was seriously concerned when I was told during the interview that they were using GAE on this job, but reliefed when it turned out to be GAE Flexible. However, I do miss some of the magic provided by Standard, but do not miss Python 2.7 and some of the restrictions.)
> Last week I learned Groovy in about 4 hours

How well did you "learn" Apache Groovy? Just enough to change a small Gradle build file?

And did you already know any Java beforehand? If so, then there's a lot less Groovy that needs learning.

Did you write enough Groovy code to stumble across some of its many gotchas, or did you skim some docs and just learn what Groovy should be?
Among big tech companies, Facebook had the highest employee retention rate
Thanks, I stand corrected :) That makes me wonder , I have not been able to imagine a usecase for it when it doesn't return a callable, the article doesn't help in that regard either. Got some thinking to do I guess.
Yes indeed. We've un-clickbaited the title. Nothing is safe, it seems.
Yes, but also my role as parent is not necessarily to be liked: I'm concerned to help him develop resilience and self-reliance above my own desire to be liked. It's a delicate balance.
The examples are odd because he doesn't incorporate any notion of differentiability.

So a Generating RNN is not quite like foldr, since foldr has no notion of differentiability.

One needs to show examples that pulls in some kind of automatic-differentiation capability.
From that PEP: It is anticipated that there will eventually come a time where the third party ecosystem surrounding Python 3 is sufficiently mature for this recommendation to be updated to suggest that the python symlink refer to python3 rather than python2.
Golang is self sufficient for a small scale web app.

It has HTML templates library, decent error handling, rpc, logging, built-in http server. Many people choose golang for that reason.
Have any evidence that IQ is "the biggest predictor of life success of any kind, especially in relatively well developed societies"?
Integrating dumb lights in my smart home
People indicate the methods from that book saved their marriages. I’m not aware of any studies because I don’t have time to become an expert on this. Violence comes in many forms and diminishes peoples’ autonomy. That’s almost the definition of violence. So remove the diminishing language as a start.
How to Sleep Better?
> Because contemporary moral codes delineate women as vulnerable or marginalised

Back in the day when social/legal barriers were removed for women, general expectation was that women would rise to the top in wide variety of fields. But that hasn't really materialized(eg: only a handful of noble prizes), despite decades of preferential treatment, despite women being educated in number much higher than men.

So obvious conclusions to draw would be either 1. Admit the mistake in the feminist theory ( One is not born but becomes a woman). 2. There must be something else.

Only obvious answer is option 2 and the failure obviously should still be borne by the other party.

I remember reading a shocking line in nytimes article, something to the effect of

"I still believe in humanity of men, despite evidence to the contrary"

Basically distills the current attitude, womens' failure is mens' failure to be human. There is calls for all men to come forward and publicly admit this shame[1], maybe convince society that men are human too.

1. https://www.nytimes.com/2017/10/19/opinion/metoo-sexual-hara...
This shouldn’t be downvoted. The reason to have a branch predictor is so you can speculatively execute down the predicted path when you hit a branch. Although I think the Spectre attack requires not only speculation, but the ability to perform loads out of program order.
I like how you, as the owner of the repo and poster, agreed with me, yet I got -3 points...
I never said it is not a cool exercise. I meant more like it is not something one would download and compile and run it... like it is not a useful tool. Just a cool one. And that is fine.
Sort of, in PDF form, by inserting invisible images/data crafted to create the collision.

I haven't seen a collision demonstration with plain text that could be a practical attack.
The fight for net neutrality has only just begun