skysight-inc/HackerNews huggingface dataset:
Oh, yes, totally agree that the class action suits will result in a sweet $15 check or something. I guess my poorly phrased lament was just in reflection that even the max payout in small claims doesn't seem like a great result given that this stuff is out there permanently. I read some stats that indicated an average of 330 hours for a person to work through fraud on their credit reports or otherwise clean up an ID theft event.
>>> import operator
>>> def add(it):
... return reduce(operator.add, it)

Ooh, I like this one. Thanks!
There was a news article earlier this week IIRC that California banned marijuana delivery by drone.
Fuck the facts (musical theater about the Appelbaum case)
Good time to setup cross region replication with multiple CouldFront origins. I made a tutorial site to show you how: https://spwa.io
The OOP pattern dfox is referring to would look something like this:

class AbstractChoice:
# defines all common operations on choices
# plus potentially some useful stuff on top of those
pass
class Good(AbstractChoice):
# conatins the code specific to good things
pass
class Bad(AbstractChoice):
pass
class Ugly(AbstractChoice):
pass

This isn't a straight-on replacement though. It's especially bad when you want to separate your concerns not along the good-bad-ugly-axis but something different (which is when you'd e.g. go on to use mixins, or that ugly visitor pattern we've seen in the OP).
Umm that's a beautiful theoretical result no doubt. But in practice the choice of the "space" that determines the neighborhood, matters more than anything else on the top of that space. Also as another commenter pointed out the result is applicable when infinite labeled samples are present, which is almost never.

IMHO the reason Machine Learning is NOT Stats or Information theory because these beautiful fundamental result were found to be futile in practice.
Three things:

- My goal isn't to argue with someone who's just looking to have an argument with me. https://news.ycombinator.com/item?id=15250932

- Strain-the-metaphor is a terrible way to find clarity about anything, and a terribly unfun game to play along the way.

- Once again: this doesn't really address the things I've written.
Teenage Pregnancy in England: Do Parents’ Educational Expectations Matter (2014)
In contrast to humans, who have the right to live, companies have the privilege to exist.
It seems to me that being part of the CSM gives players a huge advantage in a game where economics are so important.
Sum types are not "everything possible in FP". I'm part of the group that views sums as an extremely basic language feature and I give an extreme side-eye to any language that still doesn't have them in the current year.
With the costs as they are in SF how can these people even afford to live in that area? Is there like low income housing like NY or rent control?
The ROI on keeping a personal blog up at 5 9s is awful... I understand the desire from a geeky perspective, but it's only really useful for personal enjoyment of the challenge, or bragging.
>5. I wonder which implementation of Lua they used. Lua can be pretty fast, one of the fastest dynamic languages out there.

I looked at the binary trees benchmark and while the Python version used multiprocessing to parallelize the code, the Lua version was not parallelized at all..

.. not that this is entirely unrealistic. Python comes with MP in the standard library while I am not aware of any "industrial strength" solution for Lua, whether MP or thread-based.
Yes. This text is new from a more recent privacy policy update. They made a big update a couple years ago and their warrant canary disappeared - the text changed to let you read between the lines like you did.. the pot is boiling, HN.
HP Updates Z8 Workstations: Up to 56 Cores, 3 TB RAM, 9 PCIe Slots, 1700W
Not sure why you have been downvoted, since it is a valid question and you phrased it in a productive way.

I think the reason people focus on border searching so much is that it's presumed to be one of the easiest entry points for the government to spy on you.

Many security researchers, such as people who work on Tor and related technologies, have had their electronics searched and sometimes seized at the border. That makes it particularly relevant to the HN crowd.

For me, I seriously doubt the government would ever be interested in my data. But imagine that the CEO of my company is suspected of some kind of crime. Perhaps when I am at the border they try to image my phone, in order to get access to things which may allow them to control other company assets (servers, etc), which would get them closer to their target.

I doubt it would ever happen to me, but I'd rather take precautions. Being searched at the border seems much more likely to me than, say, the NSA/FBI targeting me remotely with malware.
Wikipedia says they own 21,000Km of power lines:

Green Mountain Power (GMP), a subsidiary of Gaz Métro, is the largest electricity distributor in Vermont, serving over 70% of the market and more than 260,000 customers. GMP’s core business includes the distribution, transportation, generation, purchase and sale of electricity in Vermont and, to a lesser degree, electricity transportation in New Hampshire and electricity generation in the states of New York, Maine and Connecticut.

The GMP network comprises over 1,500 km of overhead transmission lines, 18,000 km of overhead distribution lines and 1,600 km of underground distribution lines, located mainly in Vermont but also extending to New Hampshire and New York.[17]

https://en.wikipedia.org/wiki/Gaz_M%C3%A9tro#Vermont_operati...

You may be confusing them with Green Mountain Energy, which got spun off and bought by someone else:

https://en.wikipedia.org/wiki/Green_Mountain_Energy
As always I recommend people practice Chaos Engineering [0] to minimize the impact of such events. Even if the complexity of cross-region failover is to expensive, having some sort of graceful failure is preferable to simply dying. Netflix's Simian Army [1] toolset is particularly useful here, though I don't see an OSS version of Chaos Kong (which simulates the failure of an entire region) sadly.

[0]: http://principlesofchaos.org/
[1]: https://github.com/Netflix/SimianArmy/wiki
Should we reach out to media? We are #2 Fintech Trending on ProductHunt
For a Google Maps alternative on mobile, Maps.me works better than anything I've found, including Google Maps. Its offline support is great, it takes up very little space, and you can even load mapped out itineraries via KML (though you might have to pay for that).
Funny enough, std::visit was one of the features of c++17 that I was looking forward most to. Something that I don't entirely understand, though, and the author brings up is the lack of a function like make_visitor. Does anyone understand why or was there a late addition of a function that I'm not aware of? And, yes, std::visit is nonideal, but I do think it to be a much better option to using double dispatch and the visitor pattern, which is what we had to do before.

More generally, I write numerical software and I do with there was a better option for writing this software outside of C++, but I don't see one right now. Specifically, C++ gives us direct access to the c-api of other languages and some pretty powerful tools to handle that. As such, if we want our software to work across multiple languages like Python, MATLAB/Octave, or a variety of other languages, C++ appears to be the best fit. Yes, it's possible to hook something like a Python code to MATLAB/Octave, but it's hard because Python and MATLAB/Octave handle memory in different ways. For example, they differ on how and when objects are collected by the garbage collector, so it makes it hard to use a Python object directly in MATLAB/Octave. In C++, we have enough tools to handle hooking C++ objects and items to other languages. Certainly, it's a pain, but I contend it's easier than to hook two other languages together through the c-api, but I find this more difficult to manage and we now have a bunch of additional code to maintain as well. As such, as many disadvantages as the language has, I appreciate new features like std::visit because it means that I can write easier code for my algorithms and still be able to hook to others.
This should be a default feature of Cloudflare going forward if they experience massive S3 issues through their customers...? Right?
It doesn't need to ape everything possible in every FP language. Just sum types. To me, "closed type hierarchies" are a pretty fundamental thing in programming regardless of how they are represented (OO style subclasses or otherwise), perhaps more important and fundamental than other FP things such as closures/lambdas (which Java, C# and C++ all adopted).

It's already possible to make the class hierarchy in most/all OO languages but it takes 150 lines for what can be expressed in 5 with some help from the language. Most importantly, without lang support the compiler can't validate exhaustive matching.
Boost Your Brain – Exercise
If a parent doesn't want their child watching certain types of content the parent needs to monitor the child and not rely on youtube filters.

If you do not approve of 50 shades it is up to you to police that. Another parent might be offended by religious vidoes. Another by non religious. Some may not allow Trump in the home while others might burn any Hilary comeback book.

There isn't a technical solution to parenting.
My first girlfriend really had her act together financially and got me setup on something like this 15 years ago. I thank her for it to this day, but this looks so much nicer as an app than my hand rolled Excel spreadsheets based on her advice!
Someone should create a pattern catalog for bots to enable easier discussion about them.
I was present when a facilities manager explained why we shouldn't use spray-cleaner to clean whiteboards, because it wore down the paint faster, and repainting it cost $10k, and that they had already paid to repaint them twice.
It’s primarily just due to the incredible scale of the region. It’s easily twice as large as any other, so any issues relating to scale appear there first and are fixed before they affect any of the other regions.
I agree with this. Think of the mid to low-tier restaurants and the coffee the serve.

Unless I'm in some big city, most of time I'm just getting whatever bulk coffee they happened to buy from some wholesaler. They arent serving me $18/lb coffee from some boutique farm in Nicaragua.
The syntax might seem strange to you, but this is pretty slick:

bool batch_failed = std::any_of(
jobs.begin(), jobs.end(),
[](const auto & job) { return job.failed(); }
);

In C++03-plus-auto, you'd have to define an helper function or class:

bool isJobFailed(const Job& job) {
return job.failed();
}

And then use find_if, I guess:

auto last = jobs.end();
auto iter = std::find_if(
jobs.begin(), jobs.end(),
isJobFailed
);
bool batch_failed = (iter == last);
That graph is so bad people are going to discuss it more than the article itself.
Common misconception: If you have crossed the boarder, then within 100 miles of it they can search you.

Of course, how you prove you didn't cross the boarder is an open question. But you can in fact refuse the search on that claim. I suppose they may detain you then.
Third party cookies have very few non-tracking legitimate uses, I block them and nothing I actually want has been broken.
If the goal is just to avoid using Google, you don't necessarily need to sync contacts and calendars over USB.

You can use CalDav and CardDav with a non-Google online service like Fastmail.
S3 is natively cross-AZ. You can’t opt out of that.

Active/active cross-region is possible, but far more complex.
Adiabatic, compressed air, looks to have some of the best, most realistic, future potentials.

https://en.m.wikipedia.org/wiki/Compressed_air_energy_storag...
Owncloud/Nextcloud has WebDAV support as well, though that's not great either I guess :/
I just got tired of having to unlock my phone every time I asked my boyfriend to send a message while I was driving, change what music was playing, etc., so I enrolled his fingerprint. I imagine most people that do this are thinking on the same lines... I would say that this is an indication of trust, as I trust him not to go snooping around on my phone.
You're not wrong. I'm sure there are points to debate, but the US does provide a free military to the EU.

https://www.cato.org/blog/us-taxpayer-subsidies-european-wel...
If someone applies for it on the baby's behalf. It's still an optional program as far as I know.

If you don't have a SSN, you'll need an ITIN for taxes.

(ITIN - Individual Taxpayer Identification Number)
That's two questions.
So it could be [efficiently?] decidable if you forced the function specification to adhere to certain rules that ensured a standard, easily-comparable format?
I'm not sure why it would be a default feature. HTML caching should most definitely not be enabled by default.

However, I do agree that it should be possible to turn on without pagerules for these sorts of scenarios.
I'm not following. How does that help my visitor see the latest version of the page when coming from a search engine or external site?
Don't forget completely irrelevant HN comments, the only kind of bragging that matters. "S3 is down, but check out my .01RPS multihomed Wordpress which doesn't use S3 in the slightest, and the meta posts on it about how I did it!" Never fails.

I should start talking more about my 100% availability on a blank white page I use for parked domains. That's right: I see your nines and raise you zeroes, baby!
I want to change the OS, but lineageOS is based on android, I specifically am done with google.

I will see what I can do in my extremely low knowledge in how I can contribute to postmarketOS as I think that is the best route and will hopefully allow me to play with it in a similar way I play with a linux box.
I've experimented in this space. The biggest challenge, IMO, is that we don't have good federated user authentication.

What do I mean? Pretty much all major social networks need to re-invent user authentication, and then taking your profile from one social network to another is a very inconsistent user experience. Can I "friend" a Linkedin user via Facebook? If I sign into other sites via Facebook, they often demand that I enter personal info that I don't want to enter.

A decentralized social network needs to be built upon a better authentication system.

What we really need is something like government-backed user profiles. Imagine if the US government provided a government-backed user profile. Now imagine that web sites had to allow interaction with government profiles without registering, providing email addresses, ect.

That's the point where a decentralized social network could start working. Otherwise, the social networks end up needing to perform services that really are the government's job.
Probably anything that Perl and Python are used for.
Just because a certain algorithm was created to handle a very difficult problem doesn't mean it can't be used to handle much smaller problems.
Seems to be resolved.
"I'm sorry but the entire page exhibits a sense of extremist tin-hat individuals living in an alternate reality from the rest of us. That is why I feel as though this will be a flop."

I would not use "extremist tin-hat individuals", but yes this project caters to people that are ready to make some compromises to not betray their ideals. Where you put the line of what you are ready to compromise on is the key.

What I like though is that if the HW is good enough and open, nothing should prevent from porting something less "extreme", like AOSP or something derived from FirefoxOS. So just for that possibility, they need to be supported!
I know you say you're not excusing her but forgive me because it seems like you sort of are, especially with this: "its what she'd learned and knew no better." I understand giving victims of abuse a bit of lee-way and understanding, I think that Michelle's crime though absolutely blows past that understanding though. If Michelle Jones was thrown in jail for using drugs or prostitution or any number of things I would be able to side with her on this. Child abuse, child neglect, child murder though? I can't do that.
I don't follow Apple open source, so I have a lot of questions: What parts of MacOS are open source, and which are not? How is it licensed? Why is this on their website rather than GitHub?
Actually, the article says, "A sum type, also called a discriminated union..."
There's a much cleaner solution. Just live in China and don't use a VPN. Unless you stay in an expat bubble, you likely won't even hear about Google very often.
I'm doing mostly Ruby now and I miss the Python docs.
It might also be related to IAM and some other stuff being "based" there.
Go to Japan.
So this study totally vindicate the "Tiger mother"[1] types?

[1]: https://en.wikipedia.org/wiki/Tiger_mother

[2]: https://en.wikipedia.org/wiki/Battle_Hymn_of_the_Tiger_Mothe...
Or you can host a mirror at home on a raspberry pi and redirect the dns when you have to.
Which android app do you use for OpenStreet map?
Depending on how heavily the Python code leveraged Numpy.
If you are using App Engine, Google is terminating the TLS connection regardless...
Thanks, I tried Blender but had to do research to learn to use it properly or "get it". On the other hand I used OpenSCAD and being used to code it really fit my mindset, thank you! In a few hours I had what I had in mind in a STL model :) Thanks
Undecidable in general, but there are two approaches I've seen work based on AST manipulation and comparison:

1. Solvers that search for applicable re-write rules to transform X into Y, such as Cossette for SQL. These may not terminate because undecidability lol http://cosette.cs.washington.edu/

2. Canonicalization of the AST. This is a form of #1 but much more restricted, and the hope is that functions that are equivalent end up canonicalized in the same way. LLVM and GCC do this for a variety of reasons. In the example given, you'd hope that both functions get canonicalized to either the left or right hand side.
https://gcc.gnu.org/onlinedocs/gccint/Insn-Canonicalizations...
http://llvm.org/docs/MergeFunctions.html
Thank you for your excellent reply. I stand corrected that regard.

However, the fact that the period to which your refer is some 250 years in the past supports my wider point that it is specious to claim that the the wealth of current-day first world nations derives from the historic use of slave labour.
The notion that that is how it work probably stems from you not having flunked computer science.
looks like s3 apis are starting to respond correctly now.

hopefully this raises awareness on how important planning for failure is before you make a design choice to introduce a dependency.
What is the best resource to publish my own article for free?
I've written an article - a kind of general instruction about a process of participation if a common Ethereum based ICO. Could you suggest a resource to publish it?
Its really really hard to believe after hearing what James Damore has to say how dedicated Google is for semi forcing all this diversity classes on googlers.

"equal or similar work" Yeah sound more like similar. I I hope its all BS, they will not get some Feminist SJW Judge and this gets thrown out fast, then I want to thank and saltmine the hell out of them.
Thanks. I appreciate it. The polarization I refer to is more apparent in political threads here and in US society at large, not specific to HN. To be clear, my assumption at the start was as I described in my second comment: I did assume that you were sincerely trying to help. Your response was what made me question that that was the case, but I suspect your response was colored by the snark that I allowed to slip into my initial comment. I generally strive to keep that at bay because it's so rarely helpful in conversation, and it was a lack of discipline on my part that I didn't keep in in check here as well.

Would you mind sharing with me how you would have written my initial comment, (given what you know of my intention) that would have had the most positive effect on you? I'll take my answer off the air. Thanks again for your time and attention here. It's a rare opportunity and I do appreciate it.
Social Capital to take startups public without IPO
"There is no reason why a union has to do anything in particular at all if you don't want it to."

Yes there it. If a union takes over the workforce of your company, now you have to follow the union rules.

If unions were just opt in, them yes you'd be right. But unions are NOT opt in for many states. One you are a union shop, you are screwed if you disagree with the union.
The ultimate guide to writing a Go tool
You said KDE was non-free and therefore it doesn't respect freedom that much.

I argued that KDE acknowledged that depending on a non-free toolkit was not really OK for a free desktop. Therefore, from the very beginning it tried to fix that. And it succeeded very early by making Qt go open source.

Even rms considers KDE free.
>Android can be used without Google very easily.

Android is a Google product. :/
We get a first-draft transcript made through rev.com, then manually editorialize and format to make it easier to follow for folks who prefer to read.

The player itself is built with video.js which, when combined with the ttml format for the final transcript, allows us to provide that click-to-time interactivity.
Nuked from orbit. It's the only way to be sure.
Short functions can be equivalent for all but a vanishingly small subset of inputs:

f1(x) = (x==7239829489) ? 0 : x
f2(x) = x

so randomized tests would probably say they are equivalent.
And now you get neither exhaustive checking nor type-safe unwrapping, at this point is there really a point to variants? You may as well be using the old enum+union.

(get_if at least nets you type-safe unwrapping similar to `if let` in Swift or Rust, though it returns a pointer rather than a reference)
We use airflow mainly for ETL work, backfills, and batch processing. We do a lot of work with clickstream type data, be it taking data from analytics.js and loading it into redshift, or taking analytic data from redshift and loading into Google analytics. We have developed many pipes and connectors for airflow that allow us to connect to many data sources, both at the source and sink ends. I mainly work on the DevOps team, running our infrastructure and working on back end systems, so my knowledge of airflow is more high level. I just keep the system up so it can run ;P FYI I work for a startup out of Cincinnati, OH called Astronomer, you can find us at https://www.astronomer.io

Also, we weren't like all down, we just saw lots of time out issues when reading/writing to S3.
This was already posted earlier this week, wasn't it?
>IIRC dead coroners are not a novel ingredient of such conspiracy theories.

Yes, because it's tried and true and works for them.
It depends on how restrictive your "certain rules" are. It's quite possible to restrict things so much that functions will be comparable in terms of both structure and functionality. But usually that's way too much restriction.

Consider the example of writing a function that does the collatz sequence computation and another function that just returns one. How would you compare them? It will most likely return Equal but even the greatest mathematicians can't say for sure.

Now consider another example where you restrict the function definition to only include simple arithmetic (no control flows i.e. no conditionals no loops no function calls). A good CAS system can already simplify these functions and you can compare them quite easily (though not trivially).

Or you can omit arithmetics in your language and use a strongly normalizing language like [Morte](http://www.haskellforall.com/2014/09/morte-intermediate-lang...).
An important point: the would likely confiscate any devices you refuse to unlock. Is it worth that?