skysight-inc/HackerNews huggingface dataset:
That degree of laxness when using the term "AI" physically revolts me.
Even though they are not based out of EU and only operate in EU?
I don't think so. This effect, at least as described, can change even as the phone remains static, e.g. if you head moves while the phone sits still on the table.
Scheduling Blog Posts Efficiently (Kraftblick’s Editorial Calendar Revealed)
I don't know what you mean by EU, but most of EU countries except for the west are more corrupt than the US.

EDIT: Downvotes? I'm stating facts. How can you downvote facts?
Exactly what I mean, thanks for sharing.
If i can't convince someone based on reasoning and need social manipulation, then i shouldn't want to convince them.
Could you elaborate on the other ways that 'nerds' could be wrong?
This is the most succcinct proof, it's an ancient Chinese visual proof:

https://www.dbai.tuwien.ac.at/proj/pf2html/proofs/pythagoras...

It's not labelled this way but notice that the BIG squares are identical, having sides of a+b. Only the four triangles are rearranged. Just subtract the four identical triangles.

In the second arrangement, a c^2 area is present in addition to the same four triangles. In the first arrangement this had been rearranged to an a^2 and a b^2 area.

It's important to assure yourself the triangles are the same and the big square is the same - there is no tiny hidden sliver or something, and right angles are preserved, there are no shenanigans.

second explanation of same:

http://www.math.toronto.edu/colliand/notes/pythagoras.html
Funding Infrastructure: Why China Is Running Circles Around America
Here’s the thing, they don’t need to convince you, even five percent of people seeing this is enough. Bombard them with this nonstop and like legit warp their reality so that they believe it. This vocal minority can influence quite a bit of the rest of society.
Hacking a $30 Xiaomi camera to do more than it’s worth
Thanks for the response, it's great to see what you're doing and working on, do you have a blog talking some of this stuff at all?
How do you protect the signing key?
An unusually good life and doing poorly in school both seem correlated with an intolerance for bullshit.

I feel like the raw statistics are a bit misleading here, because yes, on average, formal education improves outcomes. And I think most of us here are hardcore outliers, and have a passion for learning and self-development outside of a formal education context.
> She said to him that she wanted a more ambitious man

Most likely that was not the only reason why she dumped him. May be she wanted to have children and he was against it. May be he was not intellectually challenging enough.
Some of them are pretty incredible - you can not tell at all they are fakes. I think it depends on how close the face matches the person being faked and how generic the lighting is. If you scroll down in the OP article you'll see some impressive examples.
Medium is on my mental block list, when I do accidentally click a link to that site my immediate response is to click the back button... That is how bad the ux medium has gone out of their way to create
Isn’t serving multiple jurisdictions the default online? You have to go out of your way to treat them differently.
It's the cycle of people who want to "do things better".

Step 1: Find a type of website experience that sucks for users. Example: Blogging, image sharing.

Step 2: It's so simple! Just do the same, improve on the UX, don't plaster ads, have a clean site and give it a cool name. Example: Medium, Imgur.

Step 3: As people flock to your site because it's cleaner than the alternatives, have the lightbulb moment: "Oh wow, I could monetize all these users!". So you plaster the site with ads, marketing gimmicks and what not and you don't suffer for it. It's not that it works. It's just that you have a userbase that trusts you and is already used to you. They don't know anyone else.

What are your users gonna do, build their own site that doesn't suck?

It really is a depressing, wasteful cycle.
The difficult part is the "in a way that cannot be faked". If you can record it using a device you control, you can generate a fake made to appear as if it had been recorded with that device. If you do not fully control the recording device (say because it uses a secure enclave to generate signatures), you'll need some way to generate realistic inputs for fake data, but that might be as easy as photographing a high-resolution print.

If the effort to document the truthfulness of data is much higher than for unverified recordings, the majority of the evidence anyone can come up with will be of the variety that is trivially to fake for someone determined.
I would second the motion that copyright laws are a f*ing joke. But given that laws are the way they are, there isn't clearly a good guy and a bad guy in this story. I really don't think it's wrong for German courts to intervene when German laws are broken in the way that a U.S.-based party facilitates a German-based party (who reads copyrighted material without paying for it) infringing on the rights of another German-based party (who authored or otherwise acquired rights in the material).

I think it's wrong for the U.S. to be a "safe haven" for people whose attitude towards the rest of the world is "screw you and your laws." That's exactly Google's legal strategy with privacy laws: They make sure everything they do when they violate E.U. privacy laws somehow comes under U.S. jurisdiction, which says something to the effect of "...well U.S.-based persons have a right to privacy, but, as for the rest of the world, dear Google, you hereby have permission to do whatever you want". (At least that's my non-expert understanding of U.S. privacy laws. Feel free to correct me if I'm wrong).

I'm a huge fan of PGLAF and the work it's doing, but I'm sorry to say that, in blocking all of Germany for everything, I do see a little bit of a reflection of this "screw the rest of the world" notion. Of course I do recognize that it's probably not borne out of pure bad attitude, but rather limited resources. When they clear works to be published, their clearance process is probably based only on U.S.-laws, and then they put it up globally. The solution would have to be to clear the rights on a matrix where every work needs to be looked at from the point of view of every jurisdiction, and access-controlled accordingly. Obviously that's a resource-intensive task, and I totally respect that PGLAF says they don't have the resources for that.

So really, what this is probably driving towards, is that every jurisdiction needs its own Project Gutenberg, with access restricted to that jurisdiction, and clearing rights according to its own laws. If a German legal expert reading this is interested in taking on such a task, please do get in touch. I'm up for the role of being the techie in this operation.
Parent's comment mentions front facing camera. Probably for the same reason.
As it does me, who are they to say what I hate? I most certainly don’t hate the ‘notch’ - I couldn’t care less about it other than hey - I’ve got some extra screen real estate on either side of the speaker and cameras so that the clock and indicators don’t have to cut into application space.
Installing uBlock Origin on mobile Firefox is trivial.
Long live io.com
Having jurisdictional restrictions on things like tracking cookies and other invisible forms of surveillance doesn't prevent the internet from working, it does interfere with malicious business models though.
The judgement clearly states that the books in question should be blocked from being accessed from Germany. The court is aware that such blocks can be circumvented but that's still fine. They never claimed jurisdiction over what happens to users outside of Germany and explicitly haven't ordered the site to take down those books completely.
I don't want to start a war. I'm neither an expert programmer nor a smart person. But isn't it better to put data and validation all together? What if someone forgets to call the validation function? I mean in some complex projects, there may be tens of those validation functions that need to called, probably in a special sequence.
Presumably you should also be interested in writing content that generates credibility and a long term following.
A Guide to DTrace Basics on Linux
Sending credit cards via FAX to be printed out is not only OK with PCI DSS, it's recommended. The reason companies like Booking.com do this is because the credit card companies wanted it this way.
Eavesdropping on Baby Monitor Apps
I think we developers might comply/violate terms because we face no consequences, but mostly because we're not aware when we're violating terms.
You go to the company that runs the lottery and ask "hi, if I buy 100k tickets, what sort of discount can I get?".

As long as there aren't laws that prevent selling tickets below the nominal price, it's no different than going to a company and asking for a discount when buying bulk quantity of their product.
It is an interesting solution but then you have to be assured that your links won't get deleted and so on.
In this example, the main point is to have the type system do work for you. Some languages have bad type systems and I agree in those languages it is often more work than it's worth to write type safe code. However, in general, I would much rather have an EmailAddress type and if I am passed an EmailAddress I can be confident it is actually an email address.

For example I could have the only way to construct an email address be (in Haskell)

makeEmailAdress : String -> Maybe EmailAddress

With the validation logic in the constructor. This is no more complicated than your solution.

As an added benefit my type signatures are now also doubling as documentation.
I’m looking forward to the GDPR. It seems to target all the failures of the cookie law.

The GDPR will not allow blanket consent statements, it will not allow “permission bundling” (eg. allow acces to everything or you can’t use the site).

The changes Twitter rolled out in preparation of the GDPR look like a good thing.

We’ll see how it turns out, but I think the GDPR will actually force companies to change, beyond cosmetic changes. And since it is valid for all “data subjects” in the EU, companies will have to consider that. The EU is too large a market that companies can ignore it.
Perhaps, but it's an anecdote the specialist volunteered when we were talking after I got the diagnosis. I guess he didn't think it that ridiculous.
Ask HN: Is conversational landing pages a new trend?
Hey Hackers,

couple of weeks ago i came across of a product on Product Hunt, that is building conversational landing pages, where instead of simply showing all info to the visitor, the information is presented interactively via chatting with the landing page bot. I thought the idea is fresh and decided to give it a try.

here is the landing page that I have rebuilt

https://zenifyapp.com

and here is the old one

https://zenifyapp.com/old_index

what do you think?

which one would you prefer?

Thanks

Levon

Zeroqode
India ka Talent
india ka talent also is a great platform to showcase our talent and get Popularity. I got many assignments from www.indiakatalent.com .
Download App here: https://goo.gl/x2MNZD
How to Find Plus Size Women on Free BBW Dating Sites
Isn’t that literally the plot of Life? That didn’t end up well....
Populists win the italian elections
>That is not true. Assuming that both have same functionality, e.g. both either validate address correctness or both don't, you need exactly same test cases. The only difference is that they will be structured differently - in one case you validate address as part of `AddressObject` test and in another as part of `func email` or `func validate_email_address`.

Typically when you make a class. You create additional methods under that class. Those additional methods such as getters, setters, constructors, all need to be unit tested for full coverage. Like I said... Cruft code.

>Whether you go by functional or object oriented way, validation should be separated from main. It can be in another object or in another function, but it definitely does not belong to main function that does also sending. There is very little difference between two, the only one is that whether you validate before hitting send function of after.

We're in agreement here except I never brought up functional programming. Where in my post did I say it? I'm talking about procedural programming. Like C.

>It is not big deal either. It does not make it harder to understand, both variants are dead simple. Both are immediately readable. Frankly, people who have low abstract thinking or were lazy to learn basics of OOP hate it. It is the same as with people who hate any other paradigm - functional programming and what have you. Functional programming is too hard to read unless you have put work into learning it.

This is besides the point. I don't care about how hard or how simple or how lazy people are. I'm talking about pointless logic and unneeded abstractions. This is what the article is talking about. Here is a way to make it even more clear. Compare the two below:

Class Email(AddressObject, SubjectObject, MessageObject, ConfigObject, ClientObject).send_mail(msg: str, subject: str, address: str)

func send_mail(msg: str, subject: str, address: str)

Do you see how the send_mail method is IDENTICAL to the send_mail function? The class and the dependencies getting injected into the class are a pointless layer of abstractions when ALL you need to send an email is the send_mail method. This is the core of the argument. Don't get into semantics about people being lazy.

And also, again, I never mentioned functional programming. I'm not talking about it. I'm talking about straight up procedural programs of just regular functions that you see often in C code.

>There is such a thing as bad OOP, but when you pick dead simple easy to read example and claim it is something complicated, the the issue is not with OOP.

I picked something dead simple and easy so readers can understand what I'm talking about. You'd rather me hand you some OO source code so you can parse that insanity?
Eh - https://vimeo.com/257360045

Definitely not perfect, but this is hobbyist grade work. With the recent work around parallelized WaveNet synthesizing 10 seconds of audio for every second of wall clock time, a live fake that fools 50% of regular people is probably a couple of years away at most. Particularly if you can control the setting to ensure lighting/angles/etc match up reasonably well.
As far as I can tell, the endurance running hypothesis is not considered a settled matter, but even if it is true, it doesn’t mean that subsequent adaptations in all or some groups of humans hasn’t compromised this ability. Moreover, perhaps the environment when humans evolved on the plains of Africa didn’t provide much selective pressure for joints to last as many years as modern humans expect their joints to last.
A medical company owner I brought my attention to the possible downsides/side effects of statins; those side effects put him in a wheelchair. In light of statins (in)efficacy it made me question my use of statins. I’m going to wait until I consult my doctor before going off them.
The problem I see here is the more users you have, the more it costs to keep the hardware running, so at some point you have to monetize in some way or another.
It appears to be an easy way to at least weaken this practice:

Why doesn't chrome prompt it's user / demands a confirmation of permissions when an extention changes ownership, before updating it again?

It could at least impact the rentability of this buying up of extentions, but definitely help alert users of such things
> Just because education is A Good Thing™ does not mean we should ignore the detrimental effects of its implementation

I have long believed that education and schooling are not as linked as society pretends.

Children aren't served by locking them in a room with barred windows for hours on end and telling them to pay attention and not fidget and do your work and go home and do several more hours of work and then repeat.

Distraction is a part of being a child. There are productive distractions and unproductive ones, but the solution is not to pump children full of drugs. You're robbing them off their natural connection-making process, and of the chance to learn how to handle distractions as they grow up in a society of smartphones and advertisements.

And all that is assuming that we're even trying to educate the kids while they're in school. https://www.maa.org/external_archive/devlin/LockhartsLament....
Ask HN: What's the minimum info you should collect from the user in a SaaS?
What's the least amount of info we can collect while still staying compliant? I see tech-savvy users do not like offering info unnecessarily.
Watir comes to Python as Nerodia
Yes, the GDPR affects everyone who processes data of people in the EU, regardless of where they are based.
Le Corbusier’s Algerian Fantasy: Blocking the Casbah
Women cybersecurity leaders: RSA Conference can't find you
If you run a blog, yes, the global nature of Internet ensures that. If you're running a business, you must abide the law of every jurisdiction you operate in. Companies invest lots of money and effort doing this, from operational (having a physical presence in each region) to technical (e.g. how Amazon has separate sites for each region).
Brace Yourselves for Video-First Content Marketing
Find why the video-first content strategy is the next thing for content marketing.
http://bit.ly/2F2S3qv
I assure you none of them lost any sleep over this. All those carefully planned and shot takes were "leaked" completely accidentally at exactly the right time to ensure maximum media uproar and their personas appearing on the front pages of every tabloid in the western world. If you think they play by the same rules as you and me, you are naive.
May be filter HN, for not reading stories that make you feel worse about yourself. I just looked at my saved stories, based on that, I would say "not, at all" to leaving HN. Sample below:

1.
Ethereum programming for web developers (happyfuncorp.com)
202 points by aaron_p 45 days ago | un-favorite | 76 comments

2.
Email is your electronic memory (fastmail.com)
1248 points by brongondwana 18 days ago | un-favorite | 287 comments

3.
The Great American Share – Sam Altman Interview on Basic Income (spectacle.com)
134 points by kevin 81 days ago | un-favorite | 375 comments

4.
How Roy Baumeister challenged the idea of self-esteem (2014) (medium.com)
141 points by evilsimon on Feb 15, 2015 | un-favorite | 82 comments

5.
SpaceX’s Falcon Heavy successfully launches (techcrunch.com)
2968 points by mpweiher 26 days ago | un-favorite | 888 comments

6.
Stanford CS007: Personal Finance For Engineers (cs007.blog)
1089 points by destraynor 3 months ago | un-favorite | 345 comments
The runtime error can still occur... just in a different location and obscured by useless abstractions and code surrounding it.

One point of a type such as EmailAddress is that the validation is invoked at one place (inside the constructor) as opposed to an invocation at every usage site like send_email, which is a lot of work and error prone.

Another point is that when validation fails you get the runtime exception with a useful stack trace: instead of "address X was not valid when trying to send email" you actually get "you tried to convert string X to email address but it's not valid". In the first case all you can do is fail to send the message, but in the second case you can ask the user again, fix your escaping code etc.
It's probably best to completely avoid all third-party resources in most cases. You never know if the service will still be around a few years later, or even worse the service could be taken over by a malicious actor.

I'd extend the restriction to third-party APIs as well. Instead of hitting third-party services directly, consider proxying all requests. Aside from protecting the user's privacy, it makes it easier to switch out the underlying implementation if the need arises. Oh, and it lets you avoid CORS, which developers still occasionally screw up with.
> The reason i'm speaking in probabilities is because that is what the facts are, that we have more variance within races than between.

thank you, exactly.

> africans are genetically predisposed to be taller.

"african" is not a category that has any meaningful genetic definition.

> genes play a predictive role in attributes like height and IQ through twin studies, but we have already begun to find genes that can predict physical attributes like height.

none of which means that "race" has any meaningful existence.

>Category theory is made up, does that make it not real? Something that has no value whatsoever?

it has value in organizing information. another system of organizing information might be harmful. suppose you had a system of organizing information that weighted irrelevant data and disregarded relevant data. would it have positive value or negative value?

> you seem to believe race is subjective

race is intersubjective, as is language and culture.

> to the point it has 0 predictive value

what are you trying to predict? either the trait that you select for when you delineate a sub-population is connected to the variable you predict, in that case you define the category by the specific trait, not some giant bag the size of a continent; or the trait you select for when you delineate the sub-population IS NOT connected to the variable you predict, so you're spouting nonsense. there is no third option.

> we can say that what people see as race almost perfectly corresponds to what a computer would sort them into based on purely genetics.

the computer is just doing what the programmer told it to do based on a bunch of genetic categories that are artificially constructed. you get a guy's genes. what makes you say that guy is asian? oh thats right, a hand wavy mix of phenotypes and culture. thats entirely objective, dont know what I was thinking.

> We can say that a self proclaimed hippie is more likely to smoke weed than a self proclaimed Muslim or Christian. Do you believe we cannot do this?

you're going to classify him as a hippie because he smokes weed and predict that he smokes weed based on the fact that he is a hippie. and you dont see the circularity?

> Race isn't some wavy concept where you have asians thinking of themselves as africans

actually it is much more fluid than you seem to think. parts of africa and asia are geographically close, and have mingled for millennia.

> Sure you can point to exceptions but they are just that, not even 1% of the people in these studies when using more than just a dozen SNPs

thats more an artifact of the limitations of your studies, if you know anything at all about this subject you should know just how genetically diverse the human species is.
Encryption 101: ShiOne ransomware case study
Medium is dead. This is not a problem since yesterday... Medium has fallen in the same trap it wanted to solve at the beginning. I advice everybody to stop using Medium for their practices...
Your metaphor is incorrect.
Oh no! Brainwash was awesome. I missed the news.
Artificial intelligence selects blockchain contractors
Reminds me of His Master's Voice by Lem.
https://en.wikipedia.org/wiki/His_Master%27s_Voice_(novel)

It goes beyond the medium.

Humanity could receive a schematic for an extinction device and wouldn't know it until it's turned on. How long would we last before we caved? We could project any potential use for some mysterious alien tech; debate and rationalize at every moment of weakness. Could it cure a plague or teach us even more? Someone could build it in secret.
I know Haskell. We don't even need to address replacing exceptions with monads to show how and why OOP and patterns are in many many cases a bad solution.
Signal is down