skysight-inc/HackerNews huggingface dataset:
What happened was that the newspaper/media industry was gutted when social media became popular. Most people, especially under 40, are unwilling to pay for news that they can just get from a Tweet.

Because of this, they can't pay to send a journalist overseas anymore. Most news has become conjecture, rumors, and anything that can be done in the comfort of a nice office.

Nearly all large, independent news organizations (Breitbart, Huffpo) were started by wealthy individuals with a political axe to grind. The rest have been grandfathered in from before the days of social media (CNN/Foxnews) and can survive based on pure momentum.

We need real journalism again.
Can the President do this? The article mentions that pardon power extends beyond criminal offense. However, it doesn't seem clear to me that pardon power covers allowing undocumented immigrants to stay. If, say, I stole $3 million dollars from the US and got pardoned for the crime, they might still want the $3 million back.

I suppose I don't understand the pardon power very well. Could the US illegally deport a citizen, pardon everyone involved, deny the citizen entry, and pardon everyone who conspires to keep the citizen out of the country every time they try to enter? It seems somehow like this, like this use of the pardon power circumvents something more fundamental.

I think the article raises this point somewhere around:
"As we have repeatedly said for years, only Congress can create legal status for undocumented individuals," a White House official told BuzzFeed.
Huh, that's new. You can now type ` and ``` first to start code/pre tags. https://i.imgur.com/brsG4BO.png

Shit, they added that back in November. I probably should have checked first before writing my review.

https://blog.medium.com/introducing-three-new-features-to-te...

You still have to start the code block (```) first before pasting I think.
If they're like the ones we saw a demo of then they have a panel(s) that opens on the top for you push the snow off. I seem to remember something about plowing the snow around the dome too, but it was a decade+ back.
Social Media Influencers in Las Vegas
No idea, never tried it -- not sure why you would want to run a terminal emulator remotely. Isn't it easier to run the terminal emulator locally and ssh into the remote server inside the terminal emulator?
Hello, can anybody explain in simple words what this script does? How will it affect the behavior of my windows installation? Should I run it?

Thanks !
Please don't attack other users like this on HN.
I'm guessing "lol you think the data mining is actually disabled now, Mr. Smith of St. Louis SSN 291-52-xxxx, who prefers to have taco night on wednesdays, and does most of his online shopping sunday mornings."
This is a clickbait site that perpetuates thoughtless slander against toddler art.
Actually this happened after Firefox and Chrome had already been out.
Yep and they're presumably with guests. And it's not like all the guests head off to the Westworld Hilton after dinner every evening so that the park can do its daily cleanup.
I have a space alien.

Obviously you are a retard nigger.

God says...
Deanna's sail jackasses colonies bulldogging heckler's blank Soweto's trotters sleazily faceting Anselmo blustering bladders Rossetti's aneurysm hymens decanter's reenactments pilgrim voter Fosse's suppurating traction's Deidre's happiest ravine's tremor's brasses disappointing clasped Mancini
Neat. I had a similar idea a few years ago to make NextBus times more accurate... but fell down a rabbit hole trying to implement it as a cross-platform HTML app and never actually launched.

If anyone wants my idea: My perception of NextBus's arrival times are that they're based on a very naive algorithm. I think it might literally be assuming that all buses always move at an average 15 mph. Lots of ways to make that more accurate with collecting just a teensy bit of actual arrival time data.
You can also add the huffington post and salon to your list.
Once again, cryptographically speaking, there's no practical sense in which a random is "high quality" or "low quality". There are cryptographically unpredictable numbers, and there are insecure numbers. As you can see from the Illumos code, unless Solaris deliberately broke their urandom (hint: they did not), urandom on Solaris produces (so long as it's seeded) cryptographically unpredictably random numbers.

That's the second randomness canard introduced on this subthread (the first being that there is a kind of cryptographic random number that is suitable for IVs and nonces but not for "long-term" cryptographic secrets). The two canards are related, but not identical.

I doubt the Solaris KCF team is thrilled to be virtually interposed into this argument; it is unlikely that they disagree with what I'm saying, since I'm making a pretty banal observation about FIPS cryptographic DRBGs and about the plain meaning of the KCF random code.

The Solaris urandom story is, in practical (end-user) terms, the same as urandom's story on Linux. There's some confirmation of this on Twitter, if you care to look.
META

Why are people still posting things on Medium?

It's a platform that the founder knows has absolutely no clue about how to sustain it. After 5 years, and over hundred million dollars of investments.

end meta

This is a good post, and it should be put somewhere that will keep it.

That said, "RH" stuff now:

Fuck Riemann. An entire school of music theory that has almost nothing to do with him is named after him. It's a ginormoulsy idiotic way to understand music.

The people who think of him as a great thinker as it applies to music are completely out of their minds.

/trolling, sort of. a little.
I posted this yesterday, but the article references the huffington post, so I figured I'd drop it here too: http://m.huffpost.com/us/entry/us_586d37bce4b014e7c72ee56b
To be fair, these types of necessarily clientside restrictions as "rules" exist in many popular games: Starcraft 1 and Warcraft 3 for example had a limit on the number of units you could select / command at once: there is absolutely no technological way for the server to enforce such a restriction if clients can be modified, but its a deliberate game rules restriction.

It sounds like your understanding is "the game is the server sends and receives packets: the goal is for the server to say that you win" which would be a view mischaracterizes almost all player's expectations: if you just wrote a client that has AI playing that only uses the info a player has that would also be very clearly cheating even if it only acts on information that players could act on.
I think it's cleaner to allocate the header information before the actual pointer (or, conversely, to return the pointer sizeof(array_header) into the allocation). Then it's trivial to pass around.

struct vec_header_t {
size_t length;
size_t capacity;
};

static inline struct vec_header_t *vec_to_header(void *vec)
{
return ((struct vec_header_t *)vec) - 1;
}

#define _vec_length(vec) (vec_to_header(vec)->length)

static inline void vec_free(void *vec)
{
if (vec)
free(vec_to_header(vec));
}

#define vec_foreach(vec, iter) \
for ((iter) = (vec); (iter) < ((vec) + vec_length(vec)); ++(iter))

It's slightly more cognitive overhead when, for example, debugging, but the vast improvement in usability (no special macros for normal/static declaration, trivial passing to functions, etc) is worth it IMHO.
> Once a C program gets large enough, it seems to become rather "OO" naturally

Very well put. One of my current projects started in plain C but gradually evolved to the point that it just "became" a C++ project. Once you write the same code a few times in a few different places, it's blindingly obvious what would be would be less painful if represented as objects. And so on with other language constructs (inheritance, templates, etc.).
Hacker Finances: Stocks versus Mutual Funds, Part II
To summarize: the point is not that carrot and stick doesn't work for programmers.

The point is that no single approach can work for all people.
Young Russian denies she aided election hackers: ‘I never work with douchebags’
I leased an Infinity over a year ago... it has the same "problem": the connected features rely on an ATT 2G radio. They made me sign a form acknowledging it would stop working January 1, 2017.

There is zero chance Muni wasn't aware of this. I have no idea why they didn't ask for money to upgrade the system earlier... it seems like a tailor-made situation to get a budget increase: legitimately blame it on someone else and use the largesse to buy a brand new much better system that you normally can't get approved.
This is a very interesting concept and another example of what can be done with Rust. However and without the intention of discouraging the author, I did not find any performance improvement from Alacritty using Ubuntu 16.04 on an i7-4500U (using integrated graphics HD 4400). Here are some numbers, simply printing the contents of 446 files:

At 80x24:

gnome-terminal:

real	0m0.848s
user	0m0.032s
sys	0m0.072s

Alacritty:

real	0m6.832s
user	0m0.032s
sys	0m0.164s

At fullscreen:

gnome-terminal:

real	0m0.819s
user	0m0.020s
sys	0m0.088s

Alacritty:

real	0m8.972s
user	0m0.064s
sys	0m0.164s

The font was a tad smaller by default on Alacritty, changing it made no significant difference in the numbers. Since the difference in performance was quite noticeable I decided not to test other possible configurations, but I could do so if it might help.

My graphics card has a pretty poor performance in general so that might be an indication that, since the performance of Alacritty is directly impacted by the graphics card, it might be useful for the author to determine the "minimum requirements" for Alacritty to outperform the competition.

In any case, it might not be a fair comparison as the author has stated that this is a pre-alpha release, but maybe he can find it helpful in some way, as he suggests he hasn't been able to find a test in which Alacritty didn't perform as well as another terminal.
Containers from scratch: an into to containers without Docker
The story doesn't explain how a spy working as a waiter, purchase manager or "artist" can gain access to military secrets.
> Same way a vaccine becomes cost-effective, I'd imagine.

Huh? You are comparing the process of scaling up vaccines to the potential process of scaling up implants and saying they are "the same way"?

I'm not a medical professional, but you do seem to be glossing over the whole "surgery" bit with all of it risks - even in the best of environments. I don't think you know what you are talking about :/
Bullet vs. Prince Rupert's Drop at 150,000 Fps
Seconded. Arch has some nice properties from the developer's POV. For example, every library package comes with its headers by default, so source code often compiles without having to install additional -devel packages.

Also, you can try out the hot new stuff (e.g. Vulkan, or the recent stable Rust) without having to enable backports repos.

Edit: And you don't have to sacrifice stability. Arch is surprisingly stable. I run three servers on Arch without any issues.
I realise in a sense this is not a particularly nice thought, but:

> Colleges and universities need to join forces to encourage poor, high-achieving students to attend top-flight schools and nudge accepted students to enroll. Doing the right thing for students has never been so cheap.

Do they?

Competition is so high, however cheap it is, I can't see any upside for the university other than image. And that image is unlikely to do anything for their 'traditional' full-fee-paying applicant base.
Kitten – A statically typed, stack-based functional programming language
The economy (US or global?) was forecast to go into recession in Nov 2016 but didn't. Granted, there seems to have been a post-Trump election business bump. That can easily wear off.
Telemetry existed before. Was named CEIP but is the same thing.
"Suppressing 'Fake News' argues against this..."

Anyone fluffed up about 'fake news' is ignorant of the history of journalism. It's always been yellow journalism, propaganda, pamphleteering, grinding of axes. William Randolph Hearst?

We had brief respite from 1945 to maybe 1990. And sadly we thought the pretense of objectivity and efforts at fact checking was the norm.

"The media is owned by a few large global conglomerates and there are no investigative reporters under their employ."

There are four styles. Ad-based, subscription/endowment supported (Economist, CSM), reader/viewer supported (eg public radio), and whacko bloggers [0].

It's all about the incentives. "MSM" is corporate media infotainment, nothing more.

A comment down-thread suggests that any media that is ad-supported is now suspect. I agree.

[0] Like me. I was an activist who blogged. FOIAs, public hearings, fact checking.
With so many websites, would it be better combining them all into one parent website, like Reddit and their sub-reddits?

I see you have links to your other sites, but maybe Google rank for a parent site would be more prominent since the one parent address would have a lot of traffic.

Maybe have a parent site that lists/links out your 45 (or just the a group of related sites) and maintain the individual addresses. Then have a link back to your parent.

I guess this is more of a branding idea. Google Parent Alphabet, with Google Mail, Google Drive. Also, honda.com

(You obviously know what you are doing, so take this is just a question, not a suggestion)
Out of curiosity, what methods of initialisation are you confused with?

We have default constructors, copy construction, move construction, braced initialisation and std::initializer_list.

For my part I am working at work on a C++2003 codebase and although I can initialise my C-style array with braced initialisers, I would love to be able to initialise my vector in the same way, but I cannot as it is C++2003.
eg.

int myArray[] = { 0, 1, 2, 3};
vector<int> myVector = {0, 1, 2, 3}; // This is impossible in C++03

It may be that the OO implementations you have seen are bad because they don't understand encapsulation or haven't designed their classes from the outside in (i.e., design them interfaces first so that they are expressed from the simple point of view from the vocabulary of the user, not from you who designed the class).

I have worked with horrible C++ that had a hierarchy of inheritance yet failed to understand the point of virtual functions so would cast to child elements from a base class to decide which function to call on the child object, or would have functions in the base class that would dynamic_cast to every possible type of possible child to work out what to do. This was truly horrible. (The correct solution is to use a virtual or pure virtual function on the base and implement this in the children so that the right function gets called). This was within an apparently "object-oriented" system, so if this is your sort of experience I can understand why you would detest it.

The other horrible thing is writing C++ like it is C - pointers everywhere, no understanding or use of RAII, C-style casts everywhere (do you really know better than the compiler what a type is???), writing a million functions to do the same thing instead of a single template function etc. etc. And no const correctness, no use of STL algorithms, putting everything in a C array instead of using the correct STL container for the job, etc. etc. the list is endless
The Store is not included in Server SKUs.
(except Essentials)
That looks very promising, actually, thanks. I'm defininitely going to try it out the next time I have a problem involving a graph of workers.
So you wasted your own time by posting without pointing out even a single example of such an unfounded assumption?
It will disable a lot of the Windows 10 telemetry features. Those are the features that send a bunch of data about your usage back to Microsoft. This includes Cortana and the Bing search tool in the normal windows search for example.

If you want to run it you should read through it first, it says above every function what it is going to disable. I would go with a simple rule: If you don't understand it, don't disable it. Otherwise it contains code for enabling all features again in case you start to miss something.

Edit: especially UI part seems to disable a lot of things by default that you might not want to disable!
Bear in mind that snow is a pretty good insulator. After all, igloos are viable housing for some people and many animals hibernate in burrows under the snow. This means that in the winter the snow should stay on the roof. Assuming the weight isn't an issue and the house is sufficiently insulating that it doesn't melt it, then you would actually prefer this. Above the arctic circle this isn't much of a problem for illumination because it's dark all day anyway (typically you get a brief twilight period).

https://nsidc.org/cryosphere/snow/science/characteristics.ht...

Solardome can produce double glazed systems as well, but presumably single glazing is a lot cheaper.

http://www.solardome.co.uk/domestic/dome-uses/domestic-self-...
Thanks, your first sentence is more like what I was expecting before reading the example.

I'm not familiar with that definition of induction, but I haven't studied ML at all.
For many years now I treat C++ as "C with destructors and the STL". Examples:

1. RAII: https://github.com/akkartik/mu/blob/61fb1da0b6/010vm.cc#L484

2. STL: https://github.com/akkartik/mu/blob/61fb1da0b6/020run.cc#L50

I really don't use anything else.
I agree with this - I finished reading this just before last year and I cannot recommend this book enough. It really is excellent (including topics like reference collapsing, type deduction in different scenarios, idiosyncrasies of async tasks). A great book and essential.
Glad to see they finally changed the name from YAPC. Ovid goes over that in one of his recent talks. It is much easier to tell your boss you'd like to go to the Perl Conference than "YAPC".
With that kind of tech, they wouldn't allow him the option of choosing. It'd be classified immediately as a national security issue and the government would assert ownership via eminent domain. We do not live in a world where a lone genius would be allowed to do what happens in that show.
>you can find pearls hidden deep in the mud. For some time at least.

They won't necessarily stay for long though.
How would that be a good idea? I don't understand how I could write effective software without polymorphism or inheritance, other than in tiny tiny applications.
"there isn't a truly compelling reason to believe that RH is true, aside from numerical evidence and a belief in beauty."

You wouldn't consider the analogue of the Riemann hypothesis for the zeta function of a smooth projective variety over a finite field, proven by Deligne, to be a compelling reason to believe the RH is true?
What Is This? Help Identify UFO Filmed by Chilean Navy
Sam - In your experience, how much time does it take for founders to get rid of a co-founder who isn't performing up to par?

Is it a decision by consensus? Or does the CEO take the call?

How do they evaluate each other when everyone is an expert in his/her own domain?

I would love to know how successful startups have dealt with these situations, and if you can share any experiences, that would be very helpful, since fights between co-founders are a major reason startups fail.
Yup. I switched from Ubuntu to Arch after I realised I was trying to make Ubuntu work like a rolling release distro. This lead to frequent breakage. Arch definitely has a learning curve, but it also helps you realise that some things really are as simple as they appear (if that makes sense).

That said, if you're like me and prone to fits of 'mad science', you will find yourself breaking your OS from time to time. But I've yet to get myself into a situation I couldn't recover from, largely thanks the the excellent Arch wiki. The 'big jumps' (i.e. staged distro) leading to 'big breaks' can happen to Arch, mind you. It's not a distro you want to 'leave alone' for too long.

So I guess if you're going to use the machine daily, Arch should be fine. If we were talking about a server or something, or maybe a work laptop that would go unused for a few weeks from time to time, I'd probably suggest sticking with Ubuntu or the like. Trust me, I've attempted running Arch on my NAS and it was not very fun. Ubuntu/Debian is much better suited there.

I guess the other downside of Arch is that there's less official packaging for it (whereas there's an rpm and deb for everything, it seems). But I think the AUR more than makes up for that, and simplifies quite a lot of things that are complex to do on Ubuntu (e.g. compile FFmpeg with HW accel support, and with all the other fancy encoder dependencies etc.).
Right now the situation with macos and Windows 10 has spawned a bit of a migration. There is a growing trend of people buying pc hardware and running Linux on it. I think you will find that the most common choice of os among these people is Ubuntu. This is because it's designed with user friendliness in mind and has a lot of support for new users. It wouldn't be a bad choice.

I personally am using elementary right now. It seems to take advantage of the macos/win10 exodus by offering the next closest experience. It takes the principles of user friendliness from Ubuntu and takes it a step further. As others have said here, it sets up quickly, has an awesome terminal, has a great default text editor, and looks sublime. It's great. It has the occasional bug but I still find myself using it. I really believe that elementary is the closest thing that there is to a universla, open source os that makes computing accessible to _everyone_. I have been doing a lot of rust stuff in visual studio code and everything works very well.
See https://news.ycombinator.com/item?id=13307924
That's what Debian backports (https://backports.debian.org/) are for. Best of both worlds - run stable as your base distribution, use backports whenever you need a more recent version of something.

E.g. Debian stable comes with kernel 3.16, but 4.8 is available as an official backport, should you need the (almost) latest and greatest. Just add backports to sources.list && apt update && apt -t jessie-backports install linux-image-amd64.
Yes I cannot fathom how you could write successful and maintainable C++ code without using RAII. How can you guarantee safe deterministic lifetimes of objects without using RAII?
It will convect a lot less than a 15 knot wind...

It will certainly cool down, but there is no way the dome is anything but a net-win in terms of thermal efficiency (is it enough to offset the cost of the dome? I don't know... but it will absolutely reduce the amount of heat lost by the house)
I've never lived without a laptop since 2002, and this year I'm going to get Razer Blade 14".

Laptops are getting desktop like performance with the portability of a small backpack and the weight of under 2kg. Full HD with 14" laptop looks just right.

With the human size not changing at all, I see that there's always a need for a PC.
all the negative attacks. Obama didn't do that.

http://blogs.wsj.com/washwire/2012/07/23/obama-wins-attack-a...

"Did Obama run the most negative ads in us history?" (Probably not, but he ran a lot of them. The article goes into detail on numbers)

https://www.washingtonpost.com/blogs/fact-checker/post/did-o...

The reality is, negative ads work, so politicians will continue to use them.
Well there is Signal for Chrome... fwiw
What makes a top-ranked institution better than a "second-tier" school? The kind of applicant who would do well in the former will certainly do well in the latter.
> A possible approach is to use a macro

When macros start being used for metaprogramming in C, it's time to reconsider using C++.
Wonderful resource!