skysight-inc/HackerNews huggingface dataset:
Seems like a design pattern from Java which often are badly converted functional programming snippets into OOP. I once loved C++, now I can't force myself to read the code anymore... Please add some monads there to destroy my hope for humanity once for all!

I think maintainers of C++ have a case of "functional programming" envy.
Indentation is implicit, because you can't see the characters that cause it without turning on whitespace rendering. You only can tell it's there by either moving the cursor around or by observing gaps between characters and other characters or characters and the left margin.

And the end of a block, the lack of indentation that denotes that, is absolutely implicit.
I would find it a little if it were called the GNU or the GNU/Linux default shell
Thank you, that was an informative explanation.
It's exactly a matter of semantics. Condemning people for saying water isn't a human right is also a matter of semantics.

The Nestle CEO was using the correct definition of "human right". Now people are going to attribute their inaccurate definition of the term to his statements, and condemn him for it (like the parent comment did).

It's all semantics.

Now how about we start using the word correctly so we can avoid this? Or how about the liberals condemning him try being intellectually honest for once, and stop deliberately and knowingly misinterpreting what he said just because it's convenient for the argument they're trying to make?
Signs your "profession" has been changing... When I click a story with "DOM" in it, expecting to read about a new Depth of Market interface.
If its a "personal itch or curiosity", sure.

If its a business process, lack of any form of requirements is how technical debt is guaranteed from the start.
Price goes down? bitcoin is dead!

Price goes up? e-tulip, don't you see?

A government accepts bitcoins? Fools!

A government doesn't accept bitcoins? Of course! Why should they?

Just a counterpoint, the truth is probably in the middle.
One of the main benefits of a LEO colony is you can design it with 1/10th or less of the shielding mass of deep space colony, because it's shielded from radiation by Earth's magnetic field. Such a design would not be able to keep people healthy beyond LEO.

A LEO colony would be a staging point for colonists and ships, but not a ship itself.
Yes, tell that to Greek citizens that were buying houses for 300k and now their value is less than 100k for the same house. Real estate is not a store of wealth, this has been proven many times in the past in several countries.
I agree though that the prices on real estate are more stable than any cryptocurrency.
Open Source Smart Home Security Solution
CVPR2017 posters with MIT authors (For phones). NOTE: app tracks user interactions
You could argue, using the same logic, that when using {} languages, the computer can serve you by automatically doing the indentation anyway. This is the case in practice: I never have to worry about indenting my code in C, as support for that in most editors is great.

{} languages have the advantage of allowing you an immediate restyling of the code when the original author (who can be of varying skill level) wrote something you don't like looking at, or when you want to change the style of your own code for various reasons.

I find that Python-style blocks generally cause me more mild annoyances than {} blocks.
A frequent thing that happens is copy-pasting/moving a line from some place to another with a different depth: In C, I paste and run my automatic indentation, while in python I have to specify manually by how much I want to indent my new code so that it can know within which block I want it.
... And it's not like you could do so automatically: if I want to paste something after the code of an "if ...:" block, the editor cannot know if I want it inside or outside the block.

On a more abstract level, I personally prefer a language where the end of a block is explicitly specified by the presence of a visible character rather than by the absence of an (arguably) invisible one, and where the form of the code does not affect its function in any way...

I'm not trying to argue that much against the python logic though, because the potential for disastrous style is indeed limited, it has its specific advantages, but I don't think delimiter-based languages can be qualified as more primitive just because of this.
Isn't it Equifax?
Many border agents, it seems, have the “if you have nothing to hide” mentality. So if you’re refusing to unlock your phone, clearly you’re hiding something.
What do you mean when you use the term "qualia"?

What do you mean when you use the term "exist"?

I cannot fathom the semantic meaning of "qualia don't exist".

Either you are the legendary "P-Zombie" or you're using the words fundamentally differently than I am, I think.

I hope this doesn't sound offensive, and apologize in advance if so. I am genuinely and sincerely curious about this.
>Making users enroll on https://www.equifaxsecurity2017.com/

Piss off.
Other developed countries are often more conservative when it comes to covering experimental treatments.

Since many of these countries are in Europe and Europe in general has an attitude of "prove that it's harmless before you go to market" (over the American "you can always sue for punitive damages when things go wrong"), that's probably less a property of the health insurance system than of society as a whole.
One of the dangers of Paul Graham's now famous startup advice "do things that don't scale" is when you no longer are on a path to a scalable product or service. The whole point of a product company is to achieve scale, this should not be forgotten. Customization is fine, it's when your attention is split across different types of users that you can get into trouble.
Former Google Employees Allege Bias Against Women
I agree completely with everything in this article. But in addition, I think std::variant also misses the point of sum types in a big way.

Sum types don't just store values of different types. They store different states, with associated data. So, for instance, consider the following simplistic expression AST; how would you store it in a std::variant?

enum Expr {
Number(usize),
Negate(Expr),
Add(Expr, Expr),
Sub(Expr, Expr),
Let(String, Expr, Expr),
Var(String),
}
I'll have to give that a try. I just moved phones, and I want to get the custom ringtones I've already created onto the new phone. I don't particularly want to delete them. :)
Children all over the world still do. The families would die if they did not. This is why many farming families have large numbers of children, labor (that gets paid in food and family love).
FTPS lets you (easily) use entirely virtual (custom to the FTPS server) users.

SFTP requires the use 'real' users (maybe not with fancy daemon software or a headache of PAM rules).
> There are a lot more updates on Arch that require manual actions to be taken in order to work correctly, when compared to Mint or Ubuntu.

There's more, but I don't think a lot more. Also, if the automatic config in Ubuntu fails you, it's a lot harder to get in and manually override their settings.
Well I see this playing out similar to the Adblocker scandal (i.e. pay Google to get on a special "Google Approved" list, and then you'll bypass the blocker.)
In borderline hire/promote situations committees are more likely to hire (and promote) women than men. If you don't know that, you haven't been on a committee. It's not that much help, but it's help nevertheless.
Google Hit with Class Action Lawsuit Over Gender Pay
If you think the US is on the brink of civil war you've been spending too much time reading fnords on the internet.
What "advanced stuff" was/is Diaspora lacking for you?

The problems I had with it I can't imagine being able to solve technically. It was merely not top-of-mind for the group I set it up for. They came for a little while but weren't inherently invested (e.g. you're "inherently invested" in your football team's communication mechanism. don't log in, and you don't find out about a schedule change). Instead it was just a group of friends I wanted to "facebook-verb-without-facebook-noun with".

Point is, Diaspora worked for me technically, just not socially. What was it missing in your eyes?
Ask HN: Is AWS S3 down?
Our personal webapp is having S3 problems, and I can't seem to upload files for slack. Is anyone else having these issues?

Generally getting 503 slowdown errors and more recently 500 internal server errors.
Good question. I did have a situation where looping over a fairly large Pandas dataframe took 12 minutes, but using the underlying numpy values took only 3 seconds. The looping was required to do complicated row and column operations.

Similarly, naybe the C++ code was using an inefficient data structure for a large dataset compared to using something like Numpy.
If the chosen groups are crushed or loses a lot of territory yeah pretty easily.
Positive rights are very much a thing - we have a positive right to at least some education in the first world.
I think those people must be choosing to put chemicals into their bodies.
> Which is why I, for one, feel they're a far better model for a tech union than an AFL style one.

First, SAG-AFTRA is a part of AFL-CIO.

Second, over the years, SAG received a number of special exemptions in law that no other union today has received (and after 2012, that's very unlikely to change). So SAG-AFTRA is not really a realistic model for any hypothetically newly-unionized industry.
Exactly. I often hear this whole "water a human right" argument from the left and when asked about what would change they really can't answer that. I think everyone knows how water is essential for the human life but declaring it a human right won't change anything. After all what would we do the next day after making it a human right?! Send the US Army to Malawi bearing Super Soakers?
Google hit with class action lawsuit over gender pay
DevSwap: An Experiment in Randomizing Teams
The idea that sufficient resources mean you can just ignore politics has historically proven inaccurate.
A Peek Inside a 400G Cisco Network Chip
Leads and Accounts LinkedIn Sales Navigator Extractor
> accidentally mix tabs and spaces, which can get... ugly.

This is trivially solved. You can find and replace with sed[0] if you want to be fancy, or just use your favorite text editor/IDE. The teams I've worked on have never had a problem with this. There is always an established convention in a project, and if you're breaking the convention -- e.g. because you prefer tabs -- you're doing it wrong, just by virtue of breaking the convention. If your project is new and you need to set a convention, do that. (also, PEP8 recommends spaces, so there is an authority to reference as a tie-breaker)

[0]: something like: find ./ -type f -exec sed -i -e 's/	/ . /g' {} \;
Absolutely, and the solution to this is not a law that makes their best option to survive illegal, but to offer them a better option.
One valid point I've seen someone say about this in a tweet (I'm paraphrasing it):

By the time you read this comment, Facebook (presumably) already made enough profit to pay this fine.
Those programs are mostly cargo culting and fail to address the essential aspects of an entrepreneurial environment. It's a way to seem like they're doing something rather than making the hard changes that would piss off some powerful special interests and rentiers.
I am getting a 503 Slow Down from S3 requests.
Though I guess the important point is that the technology shouldn't care--if you want, you can put your own hardware in your basement, or host it with some local cooperative, or with amazon, whatever you prefer.
The only difference between labor and management is that when management does all of the same things, it's somehow considered acceptable.

Whenever you think about some corrupt rent-seeking union bureaucrat being a drain on an efficient system, just think about Mayer's compensation package relative to the value she created. Unionized workers just want basic needs like health care and a chance to not retire in poverty. As a taxpayer who gets the bill for the externalized costs of labor extraction by executives, you probably also want this.
NIPS 2017 Accepted Papers
Completely control on the people spending it. Government will be able to put taxes on the people and no one will be able to hide their earnings. Also I suppose it would be much cheaper than circulating paper money.
But then people you hand your phone to wouldn’t be able to use it
San Diego shows path to biotech success
Agreed. I do like the trivia of malloc() likely being "map alloc", and free() originally being called mfree().

The article also quotes Lions, which is a fun read. You get the sense that the Unix philosophy of "everything's a file" originally had a sibling: "everything's an int".
I wish counter culture had cafes in the Bay -- they have a huge roasting center in Emeryville and their beans are delicious.
> Once you grok the virtual environment thing

I wish this would die, it just scares off newbies. In my twenty years of Python I encountered conflicting reqs once or twice. It's easy to direct folks to the documentation in those circumstances rather than cramming it down every newbie's throat---YAGNI.

Now that pip can install with --user and containers are popular, the problem isn't even possible in production in many circumstances.
This blog post is not to be taken seriously in my opinion. For one thing, `printf` is obsolete in C++. This is how you should output values in a tagged union:

std::variant<size_t, std::string> var = "test";
std::visit([](auto &&val) { std::cout << val; }, var);

If you also want to print the name of the type of the variable, along with the value itself, well, C++ doesn't have reflection (yet). So you're going to have to write a function that takes a value and returns its type as a string, which you can already do using the typeid operator. This is basically implementing reflection yourself, it is cumberstone but doesn't require advanced template programming.

There no need for any of the madness with explicit types inside the visitor lambda, which is deemed as neccesary by the author.

Edit: here's another way to map types to strings. So no templates necessary at all for this entire problem.

std::map<std::type_index, std::string> typeIdxToString;
typeIdxToString[typeid(std::string)] = "string";
typeIdxToString[typeid(int)] = "int";
// ...

Edit2: Turns out C++ has some form of reflection after all. You can just use:

typeid(val).name()

If your compiler supports pretty names.
Also a victim. I personally would rather get a 4-figure settlement in small claims court instead of a $5 check in five years from a class action.

IANAL, but it doesn't look like Legalist is handling any information that you wouldn't be making publicly available in a court filing were you to do this yourself. As someone who doesn't have the time or diligence to do all this myself, I actually find this pretty useful.
A Rudimentary Threat Model Framework for Password vs. TouchID vs. FaceID
Encountering Slow Down errors as well
I don't see how you can point to the years where Qt used a bad license, without seeing that the only statement that it proves is not true is the one where you wrote "that's not true". (And there were plenty of people arguing at that time that the Qt license was no big deal and the free desktop community should just move on to more productive things.)

I know what Qt's licensing situation is now. But it being under a free license today doesn't mean that software freedom is one of two things that the KDE community cares about above all else. If I meet a man today and he's wearing a blue shirt, that doesn't mean it's true that you can infer his personal moral code means he will only wear blue shirts. (In fact, it can still be untrue even if he personally tells you that this is his code.)
We are seeing both "Slow Down" and "Please reduce your request rate."
Delta transfers? Multiple freshness checking methods? Multiple transport protocols? Built in checksumming? This is not your grandfather's rsync, mind you - the protocol is at version 30, IIRC. (As opposed to FTP which has made zero progress in the last two decades) Now, I'm not pretending it's a universal tool (there are far more efficient protocols for e.g. file distribution), but at one way synchronization tasks, it excels.
They can request your PIN all they want, but you are not obligated to provide it. They can temporarily detain you but not indefinitely, and the EFF is challenging their authority to even do that. [0]

Personally, I would refuse to unlock my phone. My privacy and upholding civil liberties is worth being detained for a few hours (or even days).

[0] https://www.eff.org/press/releases/eff-aclu-media-conference...
My bad, this is what I get for not reading the article. I added a note to my comment, thanks.
Nah, "don't do that; you'll die because you may get hit by traffic!" is constructive criticism. You have to give a reason for your positivity or negativity.
I laugh when people propose this. I moved to Silicon Valley from across the country because there are good opportunities to learn from companies here. If I'm forced into a union my company will shortly be going under so I'll just find a new job. Silicon Valley workers are already the most overpaid workers in the entire country. A similar job elsewhere pays 50%-75% what I make here. If you try to unionize to force wages higher, all this does is causes the exodus of companies from Silicon Valley even faster.
Do you know how Mitt Romney made his ~500M fortune?
> Did Google admit that these candidates were "less qualified" than Ellis, or is it just the perception?

My guess would be perception. Honestly though, is more "qualified" the absolute end goal of any job? Thinking back to extracurricular activities in high school or college, the most qualified person didn't always get the spot - whether it be a sport, band, cheerleading, whatever. Sometimes people who weren't the best today were still chosen because coaches and instructors saw greater potential in them. Or someone less qualified with a better personality and mindset about success and what it takes to achieve success is preferred over the more qualified person that could create division within the team. This extends to professional sports as well.

Why do we pretend likes there's one objective measure for "qualified" in employment?
> When Apple first announced the limitations to cross-website tracking in June, the company said the changes are meant to improve trust with users, explaining that “users feel that trust is broken when they are being tracked and privacy-sensitive data about their web activity is acquired for purposes that they never agreed to.”

This!

I switched from Windows+Android to the Apple ecosystem in 2015. Because I love so many things about Apple products. But this alone (Apple taking measures to protect its customers' privacy concerns) is a huge huuuge selling point and a competitive advantage for them.
Long way to go to get up to the Clinton Body Count, famously debunked by Snopes. IIRC dead coroners are not a novel ingredient of such conspiracy theories.
oh boy... you're really peddling a web service over a self hosted and completely self owned system?

has the ability to develop and work on technology dropped this low? this is a regression.
Getting 503's and slowdowns for everything on s3 and cloudfront randomly
Just because a company owns two of the same thing, doesn't make them the same. Using that logic, Blue Bottle is now just Folgers.
I have noticed a significant speedup using LuaJit, similar to PyPy compared to normal Python. I'm guessing if LuaJit & PyPy were used, the performance for Lua & Python would be similar to JS in these results.
Depends on how you create it: in HTML, it matters but JS created script elements are async by default.
Facebook tried to pull a similar gimmick in India called "Free Basics". It was dealt with criticism and the regulatory authority in India was smart enough to reject the proposal. Reliance, one of the sheepskin corporation in India wanted to embrace Free Basics with Facebook but could not. Now Reliance is trying a similar act with "Jio" cellphones.

Its a good thing that many countries are realizing that US based monopolies are not good for their economy. Take China for example, their companies are well off like AliPay, WeChat, Tencent. Its because they are protected from monopolies who have the firepower to kill them. Keeping the monopolies in check will spur the growth & innovation in developing countries.
They have. They just cost money.
Ideological battle-style comments are against the site rules. We ban accounts that post this way, so please don't.

https://news.ycombinator.com/newsguidelines.html
The struct solution seems OK to me, and the alternatives don't seem to accomplish much, brevity-wise. What's the problem with it?
There's also webdav, or simply, HTTP PUT, which works through any firewall and simply requires 'curl' on the client side. Recursive is still a problem (but the unstandardised list format of FTP isn't that much better)
Everyone should probably have

$ sudo !!

ingrained in muscle memory. The other even more useful one is !$ to get the last word of the previous line. It's probably the terminal feature I use most.
CopperheadOS is de-Googled and works great. Only supports four phones, though: Nexus 5X, Nexus 6P, Pixel, and Pixel XL.

They will probably support the upcoming Pixel 2 as well.
A 1.2M euro (non) fine? I hope it's a "first offense" discount.
I see they monitor a complete process lifetime, not just the active workload. A quick grep of the paper didn't turn up anything discussing this. And it would seem to hurt dynamic languages and runtime-JIT languages a lot. Perhaps the active workload takes long enough that the transient is washed out. Anyone have insights?
Problem is, on what basis is a person's "private data" worth $100,000, or will the exposure thereof cause damages of $100,000? The average person's entire net worth is only a fraction of that.

There is such a thing as punitive damages but in most civil cases a company or individual is not going to be held liable for more than actual damages.
Unless Apple provides only an API to interact with the model, not actually use it. Which, considering it’s Apple, I’m sure they did.
> Well, you can't just create more BTC, but if you fork it, sure, you can create a parallel currency called BCC where everyone who has BTC gets BCC too. The challenge is persuading people that BCC has value. Which apparently happened.

Until the debate of changing the algorithm is opened again. Following the algorithm is only a convention. Conventions can change.
I use a Chromebook with Crouton as my main personal laptop now, and it has worked well for me. I'm using i3wm instead of a traditional desktop environment.

http://bryangrohman.com/ubuntu-i3wm-chromebook/
No Julia?
Uber for lawyers reminds me of the street walking lawyer skit on Seattle's old Almost Live TV show (with a pre-famous Bill Nye not being a science guy): https://m.youtube.com/watch?v=B7QtRCGQmrc .
HN ate my reply, apparently I was posting too fast, but as a TLDR you can avoid the overhead of encryption and authentication by revisiting the trust framework in the design of your network and simply assuming that you don't trust your sensors. This moves the overhead from the sensors and the network which are heavily constrained to the processing of the central authority where you have a lot more lee-way and moore's law to help. If you are interested in learning more about this sort of system, it is a topic of research in control theory often lumped under robust systems.
CopperheadOS for both security and privacy. But device support is limited to the Google flagships.
Today, reading the comments, I have learned that a lot of hacker news readers do not understand FTP.
All the people in this thread arguing about the "right" of water should sign a waiver of liability, then abstain from water for a few days to show how it's not a right, but just "a nice thing someone should have."