skysight-inc/HackerNews huggingface dataset:
In all seriousness, reference_wrapper lets you:

1. Have a container of non-null references. As the example in your cppreference link shows, that’s convenient for efficiently providing multiple “views” of the same values.

2. Pass a value with reference semantics to a function that takes an argument by value. Mainly useful to avoid copying or reuse a function object.

3. Explicitly say “this is a reference to something I don’t own”, complementing unique_ptr’s “reference to something I own exclusively”, shared_ptr’s “reference to something I share ownership of”, and raw pointers’ “reference to something I may or may not own”.
> The point was that really few people tolerate other people's children. That people don't say anything has to do with politeness, fear of repercussions or simply because they've got children of their own doing the same things.

This is the very definition of tolerate:

allow the existence, occurrence, or practice of (something that one dislikes or disagrees with) without interference
From 1998: "With Capital in Panic, Pizza Deliveries Soar" [1]

http://www.washingtonpost.com/wp-srv/politics/special/clinto...
> Why does this even exist?

When you use `std::bind` or `std::thread`, the arguments you pass are captured and stored by value. What if you want it to be captured as reference? You use a `std::reference_warpper` instead. Note you cannot use a pointer here because the type won't match, while `reference_wrapper` implicitly converts.
Implying that having null is a good idea at all.
Hey, Alexa, What Can You Hear? And What Will You Do With It?
Um.. Wow.

> PHP 5.2

Why? The 5.2.x line hasn't been supported for 7 years.

> MD5

Wat. Just. No. Don't.

> chmod 777

Wat^2. Holy shit balls. No. This is ridiculous.
cppreference explains it pretty well:

>std::reference_wrapper is a class template that wraps a reference in a copyable, assignable object. It is frequently used as a mechanism to store references inside standard containers (like std::vector) which cannot normally hold references.

>Specifically, std::reference_wrapper is a CopyConstructible and CopyAssignable wrapper around a reference [...] of type T. Instances of std::reference_wrapper are objects (they can be copied or stored in containers) but they are implicitly convertible to T&, so that they can be used as arguments with the functions that take the underlying type by reference.

Sounds pretty reasonable and useful to me. No need for over-the-top head banging :)
I've never done any real development with a language that uses pointers. So noob question: why would one use a pointer over passing a variable? (those are the two flavors right?)
woaw this .png is updated in real-time
http://www.aerospace.org/CORDSuploads/TiangongStoryboard.png

From 11:05 to 11:25 UTC the perigee dropped ~10km (165 to 153)
Another abandoned Greek/Turkish city... http://turkishtravelblog.com/the-ghost-village-of-kayakoy/
Yeah, UK (Or should that be not sure).

Seems to be the same result by a different mechanism? I'm not entirely sure what the alternative view is of how this situation has come about. Why are students willingly entering into this deal. Is it being missold? Shouldn't there be a lack of demand.
This is not 'the end of Facebook'  yet investors sense blood in the water
Japanese Designer Creates Incredibly Detailed Realistic Maps of Imaginary City
Imho because the poster says: it is possible to have maintainable code without entreprization and the comment says: "that just due to good developers". Which is exactly the point of the post: you don't need entreprization if you follow the basic simple rules.
FB is/was regularly audited by Irish DPC, I think one of the topics was user data deletion. I think that the results were public.
Yeah because inheritance was always such a great idea :D
Somewhere in the middle, but have you considered a role that combines both non-tech and tech? e.g. Tech Product Management. It requires a lot more though (Design as well), but can provide you with a taste of end-to-end responsibility of launching products or features - which can either lead to more satisfying corporate roles or be a good training ground for startup roles.
>this accelerated process of mutating the language

Oh we can't be talking about the same language x) C++ moves fast? They took until 2017 to remove trigraphs for crying out loud! Absolutely nothing in C++>=11 breaks anything in the language.
Then however we're on a platform made by Paul Graham which stated that lisp delivers more value than any other language.
"The C++ Standard moves at a fast pace."

Too obvious.
The point is, sometimes you do want to test the full environment including the touch screen. For example, you may want to check if the touchscreen locks up after a number of taps, if your OS/input parsing layer can cope with the jitter (a finger, in contrast to MITM-injected events, will almost never hit the same x/y coordinates in a row), or you want to check against real production hardware/software and not against something that's been modified for testing in any way.
From what I know, British PhDs are positions that pay a wage. Whereas in the US, you need to find your own funding.

Thus, in the US there is more pressure on a PhD, because they need to take care of their pay.
That's far too big a question to answer here, but consider for example writing a function thst modifies its arguments.
When passing a pointer, if you want the resulting state of the variable, the function doesn't need to return a value. Also if the variable is a large object, then passing just a pointer to it saves time spent copying the object.
Does ocular dominance have anything to do with the ability to close one's eyes?
That only works if you are working alone. In a real world team environment you can’t always enforce your preferences on your teammates
Just because a bunch of idiots on the internet are convinced that FB did something wrong by creating a platform to target ads... which in turn led to takedown of their crooked hag in the election, it doesn't mean all FB employees will buy into that nonsense.

These "concerns" were never hidden from anyone.
It's on Netflix UK.
There's absolutely no reason to use pointers, unmentioned detail is that c++20 will bundle v8's garbage collector in the runtime to support this removal.
I just think 'academic stuff' has a danger of being too broad and nebulous a goal. Just don't do things for the wrong reasons, and recognize that the end of undergraduate studies is a big life change regardless of what you do.

I'm quite far removed from it all anyway. It was just clear to me 15 years ago that there were problems then already. I would tend to believe that computing is going to suffer less as there has been more tangible progress in the field. Although I would add from an outsiders perspective, we do seem to get very little out of computing academia in my opinion. By this I mean usable new languages, libraries, hardware ... etc. I know this is not often the primary goal of research, but it feels like it should exist more substantially as a by product of all the activity in computing academia.
Delete-Everything Verifiably Null Universially Lossy Logarithm Encryption
The elephant in the room is that science is hard. You should expect failure to be the dominant mode of operation and this is antithetical to healthy mental state in general. As science progresses the low lying fruit get picked and this becomes increasingly worse.
The study to which the blog links is about a survey, and
it finds that among those who chose to respond to the survey, about 40% have moderate-to-severe depression, and
40% have moderate-to-severe anxiety, according to a certain clinically validated scale. Also, among those who reported their work-life balance as "healthy", the percentages where about 23%, while for those reporting "unhealthy", 55%.

I take issue with the notion of "work-life balance".
Metaphors do matter. This one, contraposes "work" and "life". They are now mutually exclusive, and "life" has
a well known meaning, and living your life is what you certainly want to do.

And so, if you take the metaphor for granted, then when
you're in the lab, or next to a blackboard, during your best years, during the most sunny hours of the day, you are not
living your life. It is very easy to feel depressed in these
circumstances. There is this famous Russian fable, about a girl who invented a monster, and now she is afraid of it.

My point is, a platitude when spelled out like that,
that this kind of work is a part of life, not a mere
staircase to some dubious place where you have "made it".
I'd conjecture that a large fraction of these depressions
are inner conflicts resulting from buying into the
narrative that there must be some end-game to this "work",
while the only thing that does not require an end-game is
"life", which allegedly consists of cuddling with your loved ones, raising children, watching TV and climbing the Kilimanjaro.

Nothing wrong with caring about those, they are essential, as well as financial stability. But if you're in research due to your curiosity, its part of your life. Its an also an opportunity. And, although society wouldn't generally perceive it as sexy as Kilimanjaro, its still way better.

The only caveat is that, as with everything in your life, it requires taking responsibility. If the attitude is "I've been in the system for all these years, did all they asked me to do, and what have I got for it?", that's a problem.
The Nazi History Behind ‘Asperger’
Show HN: A community of electronic music curators and artists
Interesting that we're now posting blueprints instead of code. I think that's a good development!

Now if only we could have the requirements posted and discussed first :)
Getting Rid of Rust with Ada
April Fool?
The continuous play does not work, SoundCloud closed its API =(
Funny because there was a time where Disqus comments actually improved the quality of commentary.
This article describes live programming which is something that dates back to some of the older programmers. It's a common methodology that crops up often. It's not about the number of times it takes you to run something or finding spelling errors. Fixing spelling errors still counts as "running the first time" as long as you're not changing the structure of the code.

This article describes the idea of an interactive programming environment with a single language for all problems.

This method of development, as described in this article, is very common in industry but not very productive. It is still lot of trial and error and in that same time I can be doing something that I know I will do correctly.
A company near by uses big industrial robots for credit card reader testing. I am just curious what grey applications are possible.
Why was this downvoted? What in this comment is untrue?
There is nothing wrong with using null in PHP...
> We'll fly you to the ends of earth![0]

WOW!

[0] https://cdn.theatlantic.com/assets/media/img/photo/2014/04/f...
Yeah but you see, "entreprization" can help less skilled developers to stay on track and produce maintenable software.

It's the difference between flask and django in the Python world.

Beginners tend to go for flask. It seems easier.

But I actually always recommend Django to beginners, and only flask to experts.

Why ?

Well, because I've worked on a lot of code bases with both django and flask, and when you don't have good devs, the result with flask is disastrous. Indeed, flask delegates a lot of decisions to the dev, and as a result, if you don't know what you are doing, the project ends up with bad structure and terrible security.

E.G: django out of the box rotates your session key, provides csrf token, and en entire auth system. But I've worked last year on a flask project that used unsalted md5 password hashes. Their auth backend returned 403 for most errors in the authentication process, even for bugs, with unrelated 3 words messages.

The thing is, if your project is not a success, you don't care. But the goal of a project is being successful, and if it is, less skilled devs will probably have to work on it.

Hell, most projects don't even start with skilled devs. The reason is simple: there are too much demand for tech, and not enough devs. So we do with what we have. I mean, I have companies in the silicon valley paying a lot of money for me to work from my bedroom in France because they can't hire the expert they need around them anymore.

And when I arrive on a new project, guess what happens ? If it's a framework I know, I can start working on it from day one. If it's not, I'll need time to adjust. It's it's custom, I'll need more time, in direct correlation with the skill level of the other devs that worked on it.
Lambo currency on coinmarketcap
Same here. I created a few service listings this weekend. I really like the technology (can I use the word "platform" here?) and the vision.

I wonder about the business side though. Vendors need many buyers and vice versa, yet download and installation presents significant friction.

For OB, what might become a kernel of serious market activity as collectibles apparently was for eBay in their early days? I believe you are targeting Crypto trading, right?
As I understand it, it's more of an internal clock that can be shifted by sunrise/sunset light/dark - but there appear to be a biological/inherited component. Hence some mammals have evolved a rhythm more dependent on seasons than day/night, due to polar day/night cycles:
https://www.researchgate.net/publication/41942188_A_Circadia...

Which in turn might imply that humans still being rather young species is tuned to a rather strict day/night cycle, as seen close to the equator.
>I can imagine that it becomes very difficult to keep track of.

The GDPR prompted them to make the data resurface, so it's not impossible to track this data given a few months of warning. It's just that Facebook as a company does not have an interest in deleting data they collected.
With Facebook selling everyone's data, they could have gotten a lot more data from them.
Let's say comments make up 10% of my lines, white space makes up 10% of my lines, and a single } makes up another 10% of my lines. That makes 7000 lines. Let's say every line is filled with 80 characters that I have typed (no auto indent). Let's assume there are 5 characters in the average word and I type at 80wpm.

With those paramaters it would take about 23hr to type. Luckily I have an IDE, I comment a lot, and I indent and make a lot of whitespace to separate ideas between lines.
Another interesting (and sad) recollection about games in early Apple products: https://www.folklore.org/StoryView.py?project=Macintosh&stor...
Tiangong-1 Re-Entry Live Updates
Google Java Style Guide
The re-entry dashboard has the live details, but its preventing direct links, so I've linked to the main page.
Moment gives a Kickstarter lesson
> but that doesn't explain why Facebook decided to include so-called deleted files in a download of user data.

This happened because the person tasked with writing the code to build the archive forgot to include the filter for "deleted" records somewhere in the code.

I.e., they forgot the "where is_deleted = false" part below on one or more DB query requests like this:

select * from table where is_deleted = false;

This is the biggest problem with the "soft delete flag in database" method of deletion. Every single query writer, everywhere, forever, must always remember to include the "is_deleted" filter in their queries. And when they don't, what was deleted reappears as if it had never been deleted at all.
Quite informative..!!
11 March 2018: ASM 6.1 (git-tag: ASM_6_1)
Really nice..
>wifi for yourself on your vacation, but that doesn't have anything to do with how much effort and money it costs to maintain those wifi access points

If I am able to provide a wifi hotspot for a year at some cost, that has some relevance to providing a wifi hotspot at some other cost.
IMHO it is just set of inept politicians not being able to negotiate properly for decades.

Also they tried to unite the island but South rejected in a UN supported referandum.

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

At this point, how can we negotiate with people who call Turkish people as cockroaches and so on, really.

Now Turkey has upperhand of https://en.wikipedia.org/wiki/Northern_Cyprus_Water_Supply_P... for the negotiations, I hope they will use that and in next decades the island will unite.
From Buying to Mining Bitcoin: A Canadian Journey Through Cryptocurrency
Exactly. Anyone who puts “interesting ideas” in quotes is literally a blub programmer, as Paul Graham described:

http://www.paulgraham.com/avg.html
DesignLarge: Daniel Jackson: Rethinking Software Design – Juin 2016
Sounds like Sun Tzu applied to geopolitics. I can see you being right. But I can also see this all just being too large to be anything other than what it evidently is.
History of Spring Framework and Spring Boot
Both. And the social strain of not being able to meet people that work on regular schedules.

I seem to recall that working just regular night shifts (eg 2300-0700) will cut an average 5 years off your life. Rotating shifts with half+ during night is even worse.
>Because the parameters to zip aren't positional, they are just multiple parameters of the same type.

How is that a counter-argument? It makes sense then that the method belongs to that type (iteratables).
Really nice introduction !
Bunnytoken is (not) for April Fools
Gary Vaynerchuk Joins DULO as Head of Marketing
The best introduction ever !
The Dozenal Society of America
Think a little more deviously: you block someone but your personal data, slanderous fakes, etc. is still out there. They can’t message you directly but can send it to everyone you interact with. They can setup new accounts faster than you can block them and those could either swamp a target or try to impersonate them so it’s hard for the target to have any unpoisoned interactions.

A client side solution can’t stop any of that. Anyone thinking about social software needs to look at what motivated assholes like 4chan have done and think about how they’d stop the next weev, GamerGate, etc. If you don’t have a good answer all you’re doing is building weapons for them.
Zifi – Make Stories Everywhere Using React
The challenge isn't coming up with moon shot ideas, the challenge is implementation -- putting the bell on the cat.

Legislation without popular support is authoritarian, which people resist, even if they like the law. They claim there is an environmental crisis, but when voting, Americans don't see it that way.

You'll find no greater fan of science and education than me, but we need to get to the next level of conservation isn't more facts nor moon shot ideas from scientists who know that these things can work in principle.

We need people with the social and emotional skills of leadership -- not likely forefront scientists, though basic scientific knowledge would help.

What works?

Speaking of successful moon shots, JFK wasn't a rocket scientist. He was a skilled leader. He led and motivated people based on the situation of the times using social and emotional leadership skills.
Excited to welcome GaryVee as our Head of Marketing.

We look forward to working together in building DULO into the first two trillion dollar company. Apple/Amazon might beat us to the first.
1.1.1.1: Fast, privacy-first consumer DNS service
I was speaking in context of what facts the article stated. I would not assume 100+ users per hotspot given the total population is 834. At 50+11 hotspots that's around 10+ users per hotspot.

I could provide wifi access to 10 people with only my cheap data bill + phone. It wouldn't be an ideal situation, but it would still be a better user experience than the dial-up internet I grew up with.
As a suggestion, add the name of the project to the title of the submission.

When I visit the page I get a email signup form and no information.

What are the central ideas of your language?

Does it look like C or LISP?

With or without GC? A borrow checker like Rust?

Everything is an object like Java or C#?

Mutable or immutable data types?
Thank you for 21 years and onto the next chapter
I seem to recall a recent paper about hunter-gatherer watchkeeping; that certain age groups would be more alert at certain times. That one paper wasn't all that convincing, but it's an interesting idea.
Sometimes I do want to see the messages of people I did not subscribe to. For example when they reply to my message. In this case I need to have some filtering (read: moderation) system in place that ensures I do not get overwhelmed with spam, or gore[1] for that matter.

[1] of course the beauty of a distributed system is that those who want to see gore can not be denied this right.
The HN headline is deceptive. You want your Federal Reserve bank to be close to the big banks, there are trillions of dollars at stake. The real question is: are FOMC staffers leaking Fed moves before the general public knows?

From the article:

"The data show a striking increase in rides from the commercial banks to the New York Fed almost immediately after the midnight lifting of the communications blackout. Tight restrictions on Federal Reserve staff communications are in force until midnight the day after an FOMC announcement, and rides to the New York Fed are elevated between 1 and 4 a.m. thereafter."

Unless I'm reading this wrong, staffers meet with bankers after the embargo is lifted -- which is normal.

Also from the article:

"Analysis of nearly coincidental drop-offs suggests that offsite lunchtime meetings between New York Fed insiders and commercial bankers increase around FOMC announcements."

Are they leaking FOMC moves or not? This just says they had lunch. What if it's Fed regulators plying bankers for market conditions? The authors assume it's the regulators dishing info but it's probably the reverse: before making a call on raising interest rates Fed regulators probably want a qualitative assessment from people in the trenches, a picture beyond what the raw numbers say.

Unless the authors have evidence that banks consistently profited from timed bets on interested rates after meeting with FOMC staff before a public announcement I'm skeptical this is anything dastardly.

I'm not defending Wall Street, I'd just like more evidence accusing people of law-breaking then "they met after the embargo was lifted" and "they had lunch around times of announcements."
In other news: Bjarne Stroustrup hast been fired by the C++ language committee, as one data member declared "we are sick and tired of this backard compatibility with C mantra, we all want to party like Rust!". Today everything is possible...
I worried that PHP would go too much 'pro' when they started consolidating things. But I thought they wouldn't reach JavaEE levels of fluff.. since most PHPers were more into pragmatics than hyperstructure.

I pity them
Mostly incompetent politicians...
Lambda Diagrams [1] are a more abstract, less circuit-like, notation.

[1] http://tromp.github.io/cl/diagrams.html
Norman: Psychopath AI
Arguably, if you can't just get rid of the scourge of central banks, they should at least make decisions via an algorithm. At least one Nobel prize winner believed that.
What robbery?
Google employees organize to fight cyber bullying at work
>"Who is the "user" product being sold to? A business, right?"

Yes and you just illustrated my point. Advertisers aren't buying software from FB they're buying access to FB users.
Another blogger wrote about this : https://www.fluentcpp.com/2018/04/01/cpp-will-no-longer-have...

Is this actually a joke ?
I'm just curious how is that information useful at all. A bolt falling from space will penetrate any house, so I guess you'd need an underground bunker to protect yourself - but then the chances are so incredibly low, is it worth bothering with?
Sorry, none of them were legal. This was pure and simple the idea of the Turks being unhappy with Greek Cypriot rule. Source: lived in Cyprus for 5 years.
Adoption des sinogrammes pour les options courtes des programmes GNU
As my Mom is wont to say “Both people in a fight can be wrong. And they usually are.”