skysight-inc/HackerNews huggingface dataset:
> (If they passed by reference, you could change to which value a caller's variable was bound, like you can in C++)

I might be misunderstanding you, but I don't think you can do this in C++. References can't be changed to point to a different object after initialization. If you have code like:

void MyFunc(Foo& ref_param) {
Foo new_foo;
ref_param = new_foo;
}

The assignment above isn't "changing the value to which a caller's variable is bound". Instead, it's running the '=' operator on the Foo object to copy the state from new_foo to ref_param. To demonstrate this, you could run the following to see that the addresses are the same:

Foo original_object;
Foo& object_ref = original_object;
MyFunc(object_ref);
// object_ref still points to the same address
assert(&original_object == &object_ref);

Under the hood, C++ reference params are basically syntactic sugar for passing by pointer-value, so this behavior isn't surprising.
I've had fantasies of much worse punishments for package thieves, like a paint gun sentinel. I'd buy this if he'd manufacture it.
Coinbase Releases Cryptocurrency to Cryptocurrency Trading
Wonder how they will get Visa/Mastercard to support their new white supremacist crowd funding site.

Edit: Not sure how this violates the rules. If people like Faith Goldy are using the site then my statement is valid.
Almost as bad as m prefix.
Ko: fast Kubernetes microservice development in Go
Or the US?
PostgREST will generate a swagger spec for you from a database schema.
The people after 1995 are the next generation after millennials.
Fine, but Silver goes to extreme ends in my opinion to explain what a probability means. During the 2016 presidential election he was emphasizing "Hey, it's less likely than the alternative, but there is a real possibility Trump will win. There is a very plausible path for him to wrap up the electoral votes." And afterwards, I think the results showed how accurate Silver was - he gave a much higher probability to Trump winning than anyone else IIRC, and the outcome was pretty much that: An unlikely probability (many of the deciding states were very much within any possible margin of error) that actually happened.
I'm rather confused about this "reflowable" thing. Wouldn't the plain text itself be naturally reflowable, or wouldn't it be easy to automate that part?
I live in the South, and know two officers currently working on the street.

In the last five years, between the two of them: someone tried to run the officer over with a truck in a dark alley, a man pointed a shotgun at the officer's head from a few feet away (while carrying three guns and 400 rounds of ammo, and having previously fired several rounds through a house wall), a fleeing criminal pulled to the side of the road and opened fire at the officer, and while responding to an officer who had been shot in the woods, were ambushed by the suspect, who killed the officer next to him, and sent my acquaintance to the hospital for a month.

And I don't even live in a high crime area of country!
I don't know how to model this, but I can pretty much get this using a searzall. sous vide to desired temperature, briefly drop in ice water to lower surface temperature, then hit with a torch in bursts as desired
Gene-edited farm animals are coming. Will the public eat them?
I had exact same realization.
"For me event-sourcing is a historical layer below your existing database that allows you to replay the sequence of events that got your database to its current state."

In other words, a transaction log.
immediately think of Fezzik (sp.?) in The Princess Bride

https://i.kym-cdn.com/entries/icons/original/000/022/158/Pea...
Does it matter if it's fair? The shuttle was used for ferrying things to space for decades, so it is kind of a relevant comparison.
SpaceX, UAL, Ariane and Blue Origin are all doing launches today. We really need a global manifest with updated real-time links to livestreams ;)

GPS III SV01 Mission

https://www.spacex.com/webcast

New Shepard NS-10

https://www.blueorigin.com/

CSO-1

http://www.arianespace.com/mission/ariane-flight-vs20/

Delta-IV NROL-71

https://www.ulalaunch.com/missions/delta-iv-nrol-71
Idk, maybe because your arguments are bit shallow?

I like 'self'. There's a lot to complain about magical 'this' of every other language - especially in Javascript. Specifying self makes it really clear if it's a member method or a standalone function.

Python really likes the idea of 'seek forgiveness, not permission', aka. abusing try/except. But it's kind of nice:

# seek permission
if 'key' in map:
fn(map['key'])
else:
whatever()

# seek forgiveness
try:
fn(map['key'])
except KeyError:
whatever()

Just pray that 'fn()' doesn't also throw a KeyError.
France Will Tax Google, Apple, Facebook, and Amazon Starting Jan. 1 – Quartz
Isn’t it? Commercially price per kg of cargo seems like the most relevant metric.
The German language is superior in this regard because there it would we either "peanut, butter" or "peanutbutter".
Apparently:

https://en.wikipedia.org/wiki/Lockheed_Martin_Compact_Fusion...

> In May 2016, Rob Weiss announced that Lockheed Martin continued to support the project and would increase its investment in it
HN submission title is missing the "of the 'Intellectual Dark Web,'" bit.
They do not only predict top-line presidential results, but every race, in every state, for president, House, and Senate. Non-independence is accounted for in the model, so they have no qualms about you judging them by the calibration of their predictions, I. e. You want roughly 60% of their “60%” forecasts to be right, and 40% to be wrong. If all of the races they predict 60/40 go to the more likely candidate, they themselves consider this a failure: https://fivethirtyeight.com/features/how-fivethirtyeights-20...
I keep a backlog of reading and projects. I separate it into work and personal growth. I have things that have been on the list for years, and things I'll likely never get to. That's ok! But I review the list from time to time, re-order and sort it. I keep working on the top one to three things. Right now, professionally, it is becoming proficient with distributed tracing and kubernetes while enabling others on my team and other teams to do the same. Personally, it is improving my "handiness" around the house. Plumbing, exterior wood care, property maintenance, etc.
Three of the launches have been scrubbed already.
Hopefully you are also beholden to your own moral compass. There's a risk this new site turns into "Let's collect money to harass people we don't like."
After recently striking out on my startup I needed a cheap alternative to providing some gifts for friends and family. Making bath bombs is a nice touch, and is surprisingly effective. I had no idea they would be so popular. I recommend everyone does the same.
Man set for world's first head transplant cancels surgery after falling in love
It's been a while since I touched Python (thankfully), but there's also:

- The hideous __method__ and _private conventions

- A friend of mine was complaining about the implicit string concatenation: ["foo" "bar", "baz"] whoops forgot a comma and now there's a very hard to find bug

- pyc and pyo files littering the filesystem after running (yes, only a minor nuisance)

- import anywhere, the ugly __name__ = "main" hack

- GIL, reference counting GC, abysmal performance in general

- Dynamic typing, which is probably my most major complaint but I realize opinions differ
Quirks found while running Ethereum Nodes
Direct link: https://youtu.be/xoxhDk-hwuo
What might also be interesting is https://www.youtube.com/watch?v=rolfJR9ERxo
While that seems like a fun idea, I'm not a fan of the permissions the extension requires.
What about "peanut butter cookies"?
.app domains have HSTS enabled by default too. I think all domains should be HSTS enabled by default in the near future.
This is a phenomenal question. My gut tells me it has something to do with sequestered/topic-specific forums or boards. That linked with a karma system and ideologies have an environment that is almost cancerous.

High-karma posts and topics help to deter or teach new comers. They also serve to create a narrative and local extrema that begins to differ from more broadly held views.

Next, consider that a sequestered board also limits (even eliminates) any empathy a user may have had. No one thinks differently from them, no one has a differing opinion.

HN is in stark contrast to these other systems. The entire site may be self-contained, but there is no place for users to hide (in PMs, in sub-boards, etc.). If we want to be here (which I think we do) we have to deal with each other, listen to differing opinions, have real conversations. There is a karma system, and I'm not quite sure how it fits in...

\edit - stray characters
While all we can do to revenge is sometimes a fantasy, I'd say be rational when you turn your fantasies to reality, you might end up paying the hospitalization for the package thieves.
PS: I like "Wolkenkit is a framework that allows you to save and replay your entire business's history so you never miss a key insight again." :-)

Thanks for the idea!
We load the entire book in one shot and offline it immediately using a service-worker [0].

Feel free to test it! Bookmark the url and turn off the Internet. Now close the tab, hard refresh or restart your computer if you want to test that far. Reopen your browser and open the bookmarked url and the book will open up on the last page you were on and work normally with full UX/UI without Internet connection.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
I suspect the main reason he was attacked by Taleb was this misuse of language, which can be misinterpreted as meaning a 50-50 chance. Like others have said, he could have said "far from impossible" or "entirely possible" to convey that he meant the estimate had a large variance. Then again, I think Taleb should have realized this and not attacked him for simply failing to convey variance correctly. This seems like another example of Twitter bringing out the wrost in people...
301 Redirect Permanent -> https://cant.stopdatamining.me
Text-Based CAPTCHA Protection Defeated by Machine Learning Algorithm
It's not strictly related to C++ and/or STL. This is how computers work nowadays.
It gives access to an archive containing a huge quantity of irreplaceable material. Here are the requirements: https://www.archives.gov/research/start/researcher-card.html
It sounds like you met a bunch of arseholes tbh. Sorry about them. We are not all like that.

The only people who I have experience with who are overly classist, tend to be a bit older (50+) and consider themselves above other people, and are as mentioned arseholes. The vast majority of people think this whole thing is old fashioned, out of date, and disgusting. It is not something that people (at least myself, and the people I know) overtly come into contact with on a daily basis.

This is not to say things are perfect, or that there are not people like this. But that modern Britain is not, aside from some annoying exceptions, like this.
That part is an absolute joke.
No. In the real would "anything" is not possible, and that it is an odd statement to make. It's not at all uncommon for me to see or be a part of a problem solving process that at some point includes a statement like "given the constraints we're under, there is no current solution." Now the next stage might be something like "We can eliminate one constraint by doing X, which will cost Y dollars" etc. So in the MU problem one might say "Given the string transformation rules, MI cannot become MU. However, if we added rule X, then such a transformation would become possible."

All of which is besides the point: "Puzzle" and "Riddle" are pretty much interchangeable. They appear as synonyms for each other in thesauri; "riddle" is given as one of multiple definitions for "puzzle" in wiktionary. Many sources treat "riddle" as a kind of "puzzle". The degree to which riddle might be more appropriate in a given context relies on a few factors, for example riddles often tend towards more verbal basis, spoken or written. A puzzle is the broader category and can include things like physical object such as a 500-piece jigsaw puzzle. But any difference is still only that of broader category and specific type. Either term is valid here.

So stating "It's not a puzzle, it's a riddle" is indeed splitting hairs, or simply not knowing the nuances of the actual definitions of those words. The OP of that comment appeared to be doing so with the implication that the whole problem was somehow unfair as a result. I cry foul on that assertion for the reasons stated.
* Versions and installation: Consider doing all dev work in a virtual env. It installs the correct python interpreter on your PATH, and installs pips in that isolated env.

$ python2.7 -m virtualenv .venv
or
$ python3.6 -m venv .venv

$ source .venv/bin/activate

// dev + test here

$ deactiveate

> This worked great until I started on a second project that needed Python 3.6. Two concurrent projects with two different versions of Python -- no, that wasn't confusing.

Note that Java also comes in various version of the compiler and jvm, and its common to have several versions on the same system. They are backward compatible but forward compatibility issues exist: your main server app runs on java7 but your batch process is running java9. you might not want to make java9 the default on the system without formally upgrading the server app.

* Syntax/spaces : you get used to it. Hey some people write code in perl :)

* Includes: In principle, this works somewhat similar in Java: You use imports and the imported package hierarchy can nest quite deep so you need to look.

> The import function also allows users to rename the imported code. They basically define a custom namespace..

This can be a good thing, it helps you prevent name clashes. C++ also lets you do this, its called Namespace aliases.

namespace fbz = foo::bar::baz;
std::cout << fbz::qux << '\n';

* Nomenclature:

> In every other language, arrays are called 'arrays'. In Python, they are called 'lists'.

Thats because it is a list. Nodes are dynamically allocated and appended to the list. You can expect similar algorithmic complexity for the operations.

Python also has arrays if you want the better efficiency:
https://docs.python.org/3/library/array.html

* Pass By Object Reference: same as java
The problem is that the smart arrogant jerk may have the right answer sometimes when it counts, while being a pain in the ass the rest of the time. Better just to stay open to all feeds. He does come off as an arrogant dick, wow.
That header animation was cool only the first 50 times I saw it
The proper analogy for a Python object is `std::shared_ptr<Foo>`: in Python, all "objects" are actually reference-counted pointers to objects (thus making them shareable). And then yes, in C++, you can change to which object the caller's "object" (pointer-to-object) points to, if you pass a reference to that. This is not possible in Python: all you can do is pass that shared-pointer value around, not the value of the object itself, nor a reference to the shared pointer.

This is a well-known distinction that goes by several names, see e.g. https://en.m.wikipedia.org/wiki/Evaluation_strategy#Call_by_...
“Known unknowns” vs “unknown unknowns”.

Despite the sniggering at the time, those terms are quite smart.
I use this website/app which is very well maintained, and even includes an API if you want to use it!

https://spacelaunchnow.me/

It includes locations, payload information, launch company and rocket, links to livestreams, notifications for launch updates, and more.
“Alexa, Drop a Bomb”: Amazon Wants in on US Warfare
Love it! I have a similiar idea on my backlog, love to see that it's come to life. :D
Ignoring whatever views you may have about him and those he associates with, at the end of one of Carl Benjamin/Sargon of Akkad's recent videos on his Patreon removal [0] he starts talking about 'alt-tech' (Gab, Voat, whatever this alt-Patreon ends up being) and tells his viewers to join with him 'to essentially build a new Internet that _they_ can't attack'.

This has me wondering about the long-feared Balkanisation of the Internet. It's always been assumed that nation state conflicts would bring this about [1,2], but this incident has me wondering if we might not see it come about based on ideology instead.

With all the fuss made about how people on social platforms live in filter bubbles, at least those bubbles coexisted on the same platforms and there might be at least some chance of piercing them. What's going to happen if we create two (or more) entirely separate service ecosystems for people to sort themselves into on political bases?

On the flipside, maybe this is a _feature_ of the market rather than a bug and everything'll work out fine [3]? It might even lead to a drive to develop resilient, distributed services that don't run the risk of a single provider being strongarmed or being able to revoke service on ideological grounds that everyone can benefit from.

I'll be interested to see how this all develops.

[0] https://www.youtube.com/watch?v=qXRx98gpuRY

[1] http://newdigitalage.com/

[2] https://www.rt.com/russia/446502-russia-legislators-internet...

[3] http://slatestarcodex.com/2014/06/07/archipelago-and-atomic-...
That semi-automatic AI seems like a useful product as well, for a different task
Hmm I wonder if it is gaze detection. Seems like if you can detect gaze direction fast enough you could use the presence
or absence of saccades to tell if it's a real live person or not. Doing that in a mask/bust would be fairly difficult.

It could also be looking at small changes like the periodic flushing that happens (see [0]). Though I'm not sure how well that would work on a moving phone but it could work I think just at a broader scale. FaceID is really fast though so not certain there's enough time to gather the data for that either.

[0] http://people.csail.mit.edu/mrub/vidmag/
That's not really that relevant after 29 March 2019.
Easy enough via "processing is necessary in order to protect the vital interests of the data subject or of another natural person", or "processing is necessary for the performance of a task carried out in the public interest or in the exercise of official authority vested in the controller", and such.
This is a bit dismissive of anything that considered valuable RIGHT NOW.

Gone are the humanities, the social sciences, the histories, the ancient linguistics, all of which depending on who you are could consider to be play around, while the rest of us serious people work for a living building software.
Nice work, but I think I am not alone in hoping we get to see photos of the skunk-glittered thieves soon!

Oh -- and to the engineer who made that: you've got a billion dollar idea on your hands if you include a camera that takes video from inside the device when it's opened. I can think of at least 14 people to whom I would send one of these for Christmas, birthday, etc.
Yeah. Very very suspicious. No proof though.
I smell a market for facial prosthetics (good ones) and sunglasses. Maybe large hats.
It's the same in English in this case. There's no pause when you talk about "peanut butter", but there's a significant one when listing the two.
Ask HN: What do you do to get mentally stronger?
I have watched a fantastic documentary about Shaun Whites comeback [0], where an essential part of his daily routine targets mental strength. One exercise he does is bathing in freezing water for a couple of minutes.

I would like to know some other exercises, maybe you want to share yours :)

[0] https://www.youtube.com/watch?v=bFz52xVQIos
What was the topic of your startup?
> The whole point of probabilistic modeling

The whole point about the current topic as well as of my post: You missed by about a thousand miles. Please read it again. It's really pointless to argue about a strawman created by you. Your model is useless, that's the point! It makes no real(!) predictions - not usable for anything apart from blowing ever more hot air, and if it doesn't come to pass, you are never wrong because you left the door open by not actually saying anything in the first place.

Do you not understand that the guy/his company did nothing at all? And that giving some arbitrary probability was/is utterly devoid of any meaning (especially if you can't be wrong whatever the actual outcome)? They could have made any prediction at all, what difference would it have made? That is the value of that "work".

However, I realize there's people who like such meaningless drivel. It is a version of appearing to actually do something while not actually doing anything. You make it into the news but you can never be held accountable because whatever happens happens, you just helped create a few more entirely useless headlines (apart from helping with page views and ad impressions of course). It's actually quite ingenious to misuse actually useful tools like statistics.
Signal is great and all but does it scale? If half a billion people sign up tomorrow can they cope? How deep are their coffers?
You just discovered market capitalization. Congrats!
Realize that there is more content created per day than can be consumed. You can't drink the ocean, especially with all that ice melting into it.

I just mentioned this in another thread. Make a backlog (I have two, one personal, one professional). Keep it sorted with the top things you want to do or learn about in each. Set goals around what it means to have learned that thing and strive to reach that goal. I'd recommend prioritizing based on utility and entertainment.
It wouldn't help much with tokenization of spoken words since it's hard to tell from its pronunciation whether an English phrase is compounded, hyphenated or separate words.
Nah... that's not the way the law works.

I would love to see a thief try and bring that case...

EDIT:

NAL but... It's my understanding that the likelihood such a case is brought is small

1. Because it pretty much guarantees the alleged perpetrator will have charges brought against them and

2. Contributory negligence would make that case very hard to win.

It is my understanding that yes there have been cases where such cases are brought before a court, but they are infrequent, and not easy to win.
Personal care product preservatives associated with earlier puberty in girls
Not the same type of things. Space X doesn't dock with space stations or repair telescopes, space shuttle doesn't launch commercial sattelites.
It's not Molniya orbits. Molniyas are highly elliptical.
You mean Fayetteville? I loved it there. Want to go back.
> The fact that the UK can have its officers not carry by default and armed officers only show up for the most extreme situations is a testament to how they are conducting their operations.

They also don't enforce every little law with force. They'll often just warn people to not smoke/drink in public, have people shake hands after a small bar fight with no injuries, and generally focus on restoring order rather than locking people up. If someone drives off, they run the plates or use CCTV, dashcam footage, or helicopters to track the driver rather than engage in dangerous chases.

Their entire model is "policing by consent"[1] and an American cop would eat their service revolver if they were told they had to approach a yelling homeless man and say "Hi there, is something bothering you? Can we connect you with a social worker?" rather than demand compliance then tase them.

https://en.wikipedia.org/wiki/Peelian_principles
Today in London, Richard Nixon was seen at 37 coffee shops, 18 shoe shops, and even buying a Lambo.
wow that really was infuriating