skysight-inc/HackerNews huggingface dataset:
I've always had a pet theory that Judaism (and thus Christianity and Islam) had its roots in psilocybin mushrooms and cannabis, especially the book of Exodus. One of my Israeli friends always jokes that the story of Moses and the burning bush was actually about Moses smoking a joint, and if you imagine that Moses ate magic mushrooms when he walked up Mt Sinai, the story makes a lot more sense.
I understand that, but I think electric cars will make total number of trips to petrol station much smaller. It doesn't matter what percentage of your profit comes from the store part of the business if your customers no longer visit.

I don't own an electric car, but I would think that if I were charging at home every night (or at more and more carparks), a trip to the petrol station would almost never happen.
The media does not usually know how to report on scientific research. Unfortunately, the increase of pre-prints seems to have magnified this problem.

Taking a step back, scientific progress is poorly understood in general, even by many smart and inquisitive folks. In fact, I think no one really has a good concise, thorough description for how science unfolds. The reality of it is incredibly complex and messy (but nonetheless unbelievably effective).

Even something as seemingly basic as the “scientific method” as it is taught in schools and seen in popular discussion is pretty misleading. It is not a great model of how science is done.

Another concrete example of the confusion is the debates commonly seen about the definition of supposedly official scientific terms such as “law”, “theory” and “hypothesis ”.

Sean Carroll has a great episode on his Mindscape podcast that touches on this a bit and provides a decent if not fully satisfactory answer to the question of how science actually works. As a heads up, they spend a good chunk of time talking about the concept of truth and some related philosophy :) I found it interesting and useful, but I can guess not everyone will appreciate it.

https://www.preposterousuniverse.com/podcast/2020/05/04/95-l...
What stops me from writing a check to myself and cashing it?
100% this. Towing the party line at all cost is what the GOP are doing today.

20 years ago this wouldn't be the case, but keeping the party unified at all cost, against morals, ethics, logic, is what is happening.

What saddens me is the majority vote says they shouldn't be in power in many cases but ultra effective wielding our laws in corner cases has led us to this point. Even while I loathe it, I must say it is quite effective.
This. What actionable steps can I take to make a change?

- call your legislators / senators / city officials -- sure, but can I do more than a call?
- What is the form of a bill/law that I can get behind? How does such a process start and finish? I would donate $$$ right now to any organization with a clear plan to overturn this.
I'm currently teaching a friend of mine "Computer Science" (he means programming primarily, but a bit of theory). He showed me his spreadsheet where he laid out his grand plan for the summer, in which he plans on basically covering the whole of CLRS in a week.

I explain things and help him write better code when he sends me stuff he's written but it's difficult to best explain that I've spent years getting to the point where I can write good, efficient, code - let alone starting almost genuinely from scratch ("What's a terminal"), and with an all too common disease that I'm going to call "Let you google that for me"

There's probably a joke in that he goes to Harvard and I go to a university you've probably never heard of but hey ho
Preventing police officers from collective bargaining will not solve any problems and could actually make things worse.
Back in 1998 Andrew Wakefield duped Lancet with a concocted MMR autism study and the consequence of that study still haunt us to this day.

Now it appears this has happened again.
Andreessen Horowitz launches $2.2M fund to invest in underserved founders
You shouldn't have electoral lines at all. Proportional representation has a couple of advantages: all opinions, and not merely the majority opinion, gets represented; you're likely to get more than two parties, which means parties have to compromise with each other; and the system isn't nearly as easy to game.
The Go Compiler Needs to Be Smarter
Dollar-cost averaging is theoretically sub-optimal to lump sum investing in terms of expected return.

This was shown to be the case in a mean-variance framework in 1979 by George Constantinides [0]

[0] https://papers.ssrn.com/sol3/papers.cfm?abstract_id=148754
ASA Version 8.3(3)?

Or were they actually using the IOS Firewall on a router instead of a firewall?

PIX and ASA appliances used to ship with "ESMTP inspection" enabled by default -- which would strip out the "STARTTLS" advertisement (replacing it with "X"s) from a server's response.
It has no API as well
Where do you draw the line? I mean github.com is the corporate email domain of the GitHub company, it also hosts repositories (user generated content)
Sure, but their owners do. Perhaps the majority of petrol stations are owned by big business, but I am not so sure. I think many are franchisees/small businesses.
a) it is absolutely conceivable to write a cheque to yourself. For example, to move cash between bank accounts

b) the bank has a big database and a system of clearing cheques that ensures you cannot double-spend money by writing yourself a cheque. If you try to kite cheques by abusing the latency in the system they notice because it turns out you can just write that down in a central database too and it's pretty effective
It's actually worse than that, if you can believe that that is possible: https://scholar.valpo.edu/cgi/viewcontent.cgi?article=1198&c...
So no one said anything remotely racist, but it's not the line they're supposed to be toeing.

How dare they have an alternative opinion?
Longer ranges needs more battery so it makes cars really bigger and heavier but it's not preferred on some countries outside US.
If criminal cases are a red herring, then why do we even need laws or police at all?

It's eminently possible for anyone to go around tasing anyone else. Law enforcement fundamentally relies on post-facto punishment. Most people don't tase pregnant women due to a sense of common decency, but most of the remaining don't do so because of the threat of punishment. When you remove the threat of punishment, it allows the deviant group to act out their desires with literal impunity.
Best Practices of Modern CI/CD
In parliamentary democracies, this sort of thing is normally a devolved ministerial power. Of course, it’s a lot easier to get rid of a naughty minister.
This seems like an interesting idea, citizens could do things that are legal and peaceful but which convey a strong message. Other examples might be to stop buying, driving minimum speed everywhere (though you might still get ticketed for blocking traffic), submitting complaints, turning off services for a month, living without using power for a while (difficult but possible), and making telephone calls.

What else is within the power of people to control themselves in a legal and peaceful fashion? One thing business and government really does not like is uncertainty and it doesn't take much random disruption to mess with plans, especially now when things are already messed up.
It would have to be something people can easily do, without much impact to themselves, that a lot of people will agree to do, which will have a noticeable impact on a sector that has been behaving badly. Company/product bans have been attempted without much success, but if people are motivated perhaps it is possible. It would essentially be citizens going on strike. It doesn't necessarily have to be directly related to the bad actor. I'm not sure there is a way citizens could strike against the police since few people usually interact with the police on a daily basis, but they might strike against government with the stated goal of changing governments oversight of the police.

There have got to be lots of ways the police, government, and business rely on ordinary people. That reliance is power and in many cases it would be legal, legitimate and peaceful to exercise that power.
I'm not sure where we disagree? What's the difference between your "easier operationally" and my "more liquid and convenient"? You agree in your other comment that the ETFs were more liquid than the underlying. And I agree and noted previously that issuers benefit from working (secondary) capital markets.
[C] Long lived tools one throws together oneself

Stable tools designed for oneself
this program is a sham, few places tried signing up and its designed to make you go bankrupt
I left scala in 2014 because pure functional scala was clearly a dead-end (in industry) and why else would I use it, but in 2020, ZIO + Scalajs is making me want to try pure FP again (for industry). (I'm a ClojureScript programmer)
I used Zim-wiki for years, and loved it. However, there is a fatal flaw in Zim that people using it for notes about code should know about. Zim parses all text as "wiki text" and some computer code snippets get parsed and interpreted as formatting. See this bug:
https://bugs.launchpad.net/zim/+bug/585300

Other than that issue, Zim is brilliant. The developer is very responsive to most issues and feature requests. Sadly, Zim wasn't for me as many of my notes involve code.
Aren’t these masks largely manufactured outside the US? Were these masks made in China which were shipped back?
Why do you dislike "threat model", it's a necessity. There can be no productive security discussion without a model present to frame and ground it in actuality. Given a determined, resourceful adversary, you're toast regardless of what you do to protect yourself.

It makes sense therefore to have a realistic model and prepare accordingly. The probability that "100 channels full of randos" are going to use any of the -aspecific, hand-wavy- vectors you mentioned to defeat my security posture (which includes an IRC client written in a memory-safe language whose code I've reviewed that is masquerading through CTCP version as something else entirely) is miniscule. I can live with that but I've also spent some time to configure Emacs according to guidelines I previously mentioned and review code that I'm using and exposing to potential attacks.
Ask HN: How do you implement search in your app?
Some apps I use have really great search functionality at scale (Alfred, Facebook Messenger), others don't (Slack). How do you implement search in your app?
The correct response is to require TLS before auth clientside (as well) unless expressly configured to not attempt TLS auth.
The nucleus is on the scale of 10e-5 (1/100,000) to the size of the whole atom (cloud).
Humans are better prepared for next pandemic, knowing what to do. This should be a factor to consider. We have adapted.

Also, I'm sure coronavirus is now a high priority for science to master.
Twitter account posting Trump tweets suspended in 3 days
> iow, things get trickier once I need more than one input one one output. :)

you can pass as many FDs to a child as you want, 0/1/2 is just a convention
Seems like red hearing - why are we ignoring the criminal prosecution system whenever such crimes happen? Relying on civil cases to resolve crimes against the people is step backwards from justice.

Police officers abusing authority, recklessly endangering the lives of others, and committing acts violence against citizens creates a chilling effect even more harmful than the suffering the citizens first endured. Money does not need to come into play here. Arrest, charge, and put them in jail for their crimes against society.
It's a tough pill to swallow, but people need to realize that police are not social workers and must not be treated as such. They are violence workers. Their purpose is to fulfill the objective of the state using force if necessary.

If the goal is a smaller amount of police related violence, something as vague as "de-escalation training" training is the wrong way to get there. If you want less police related violence, focus on minimizing public interaction with police.
George Floyd death: China takes a victory lap over US protests
One thing you could do is have the camera hardware sign the raw image, then make a zero knowledge proof that says original photo was signed by real hardware, and then the only edits applied to it were simple things like cropping, changing colors etc

Seems reasonable to coordinate the updates with a blockchain (though not necessary for use cases where you trust the platform / coordinating entity).

Disclaimer I work at a zkSNARK / blockchain company :)
> Does anyone know if that would stop this problem?

Based on my experiences with Dovecot, I believe it would,

> Saying that, someone with MITM capability could just modify the response and advertise auth pre-tls, so it probably wouldn't help.

Well, hopefully your client isn't braindead and will negotiate an encrypted session first, before sending credentials unencrypted -- especially if you've configured it to use STARTTLS.
There's some theories that the burning bush was an acacia tree, which could contain DMT. [0]

[0] https://en.wikipedia.org/wiki/Burning_bush#Biblical_entheoge...
also
https://www.rickstrassman.com/publications/dmt-and-the-soul-...
I meant it constructively. But I accept your criticism that it sounded condescending. I'll try to work on that.
One approach is to shift to multi seat constituencies under a proportional representation system. These are effectively impossible to usefully gerrymander.
I think by “people” he meant people qualified to discuss medicine.
At least according to their previous comments, they work for Google[1].

[1] https://news.ycombinator.com/item?id=23322664
I think it's much more likely Wei Dai is Satoshi.
Select from among the 400 organizations that are signatory to this letter: https://civilrights.org/resource/civil-rights-coalition-lett... , or, by default, the ACLU.
would `become` be a good alternate name for it?
I don't think that anything published under Bourbaki's name is considered research work, though.
Quite brave leaving random Internet generated content on the front page of the site.
>Banning AFADS from use in outer space and the seabed may have secondary national-security benefits, such as reducing the risk from drone swarms to sea-based nuclear forces.

big guys from the elite nuke wielding club naturally wouldn't want small guys being able to threaten them. Reminds this saying "God created men equal. Colonel Colt made them equal."
With a few people and some decent preparation you could probably fake most of this without too much effort.

In fact, I wonder what the smallest amount of people and effort you'd need to get past this: if you can get away without having face-to-face you might be able to pull and do it with 1 person, a bunch of emails and some AI generated faces (inspiration courtesy of https://youtu.be/bqPARIKHbN8 )
This is an interesting line of thinking, but I think it tries to apply the author's values to be everyone's values, which at least doesn't match my own values, but I think doesn't truly match enough of the population's values in order to speak for everyone's values as a whole. This is why building new ecosystems is hard, it's not a tech problem so much as a political problem. Different people have different cultural values and the bigger the group of people the larger the tent has to be to encompass their values, some of which may conflict.
China forgets about the supression of any type protests in China or about the Tianamen massacre
What percentage of protesters beat up old ladies and burn stores, vs. just peacefully protest?
But not for any binary content as uploaded by the user, that's served from raw.githubusercontent.com.
> As in Unix signals? tbh those seem ugly too; sigwinch, sighup, etc ought to be connected to stdin in some way; it'd be nice if there were a more general way to send arbitrary data to processes as an event

Well, as the process can arbitrarily change which stdin it is connected to, as stdin is a file, you need some way to still issue directions to that process.

However, for the general case, your terminal probably supports sending sigint via ctrl + c, siquit via ctrl + backslash, and the suspend/unsuspend signals via ctrl + z or y. Some terminals may allow you to extend those to the various other signals you'd like to send. (But these signals are being handled by the shell - not by stdin).
Given how crowded Tesla Superchargers are, its not that crazy of a concept
There's one big problem with this line of thinking: states don't vote. At least, not once you get rid of the electoral college. Once the EC is gone, it's people that vote. So cities don't dominate, people do.

And that's not just semantics; at the moment there are millions of conservatives in California whose vote gets ignored. There's millions of liberals in Texas whose vote gets ignored. Cities are not a homogenous voting bloc.
There are extreme construction costs for petrol stations. It's highly regulated due to the fire risk and other issues. You can't even lead surface water into the gutter without prior filtering.

https://www.abwasser-analysezentrum.de/branchenuebersicht/mi...
But it isn't... directly.

Github.com is their corporate site, hosts their application, and is how we all interact with repositories (via https or git://). But, the only data you get from that site has been processed through their application and sanitized.

The only way to get access to the raw user-generated data is through raw.githubusercontent.com or Github Pages which hosted on github.io. And the data from raw.githubusercontent.com has the MIME types set so that you don't get HTML rendered -- only the raw plaintext (I think).

So, in this specific example, if there was someone hosting a phishing site in a github account, it would have been active only through github.io, not the main github.com site. (You could have likely seen the source code from the main site, but it would not have actually generated an HTML form).

For historical views, here is the Github blog post that details the change (2013): https://github.blog/2013-04-05-new-github-pages-domain-githu...
For some reason I was under the impression that cannabis was a new world plant, but apparently it hails from Asia.
Once we get rid of QI (which we obviously should because it has warped into a nonsensical concept), is there any reason to believe that the police unions won't end up shoving indemnification clauses into their contracts, putting us right back to where we are?
1990 Trump Interview in Which Trump Praises the Tiananmen Square Massacre
"Some plug somewhere"... A 120V plug functions... But you will need to come up with something to do for the next 12-24 hours.
whats a simple example of using this?
This[0] PR should fix some of it is my understanding but will have to wait and see -- not playing with /tip!

[0] https://github.com/golang/go/commit/fff7509d472778cae5e652db...
Ask HN: Basic cryptography course for average developers?
When I was working with JWT, I realized I have no idea about the difference between different types of algorithms: RSASHA, ECDSSHA, RSAPSS,... What are they used for and when to use what? Why different algorithms require different types of public/private keys, what is a PEM file, what is a certificate...?

I understand hashing, signing, how public/private keys work in general, but that's about it. So I'm looking for resources where I could learn more about this and to discover the unknown unknowns area of my cryptographic knowledge.

Some of the resource online I found (mostly blog posts) usually cover only 1 topic or sometime very shallow. I'm looking for something organized, good coverage, and practical. Definitely not planning to become an expert or anywhere near it, just enough for an average developer's daily works.

If you have any suggestions, online courses, books, lecture videos... please let me know, I don't mind paying for quality contents. Thank you very much!
I wouldn't call pure functional Scala a dead-end, but it's definitely a niche that not everyone will be comfortable with. For those that enjoy it it works great, but this book is intended to promote a style of programming that is perhaps more approachable to programmers coming from outside the Scala ecosystem.

Scala.js amazing. It just works. I've picked it up after multiple years of non-use and it everything worked perfectly with no surprises. I don't cover it in this book, but might write about it in another book in future!
"When the students poured into Tiananmen Square, the Chinese government almost blew it. Then they were vicious, they were horrible, but they put it down with strength. That shows you the power of strength. Our country is right now perceived as weak … as being spit on by the rest of the world—"

— Donald Trump, 9 months after the Tiananmen Square protests

Edit: Saw this story on Daring Fireball, and found the original interview.
This comment was originally a reply to https://news.ycombinator.com/item?id=23421388.
I want all the brutality to stop, not just the murders. Any effort to prosecute will get so watered down that only the worst will be punished so we can act like we're doing something about the problem.
I think it’s a pretty good case. But it’s also iffy. I mean you could say an army corps armed with machine guns are capable of destroying half a city or a column of tanks is capable of destroying half a city too.

But I think the autonomous part and the fact capabilities will keep ratcheting up and more actors enter the arena make it a type of WMD.

WMD is characterized by the low effort needed to sew massive destruction (and inability to distinguish civilians from military) once you have the tech —but getting the tech can be difficult. A full invasion army takes effort. A swarm of drones once you have the tech, is not much effort.
My bad, you worked for Apple.

Clearly there is a conflict of interest you didn't disclose.

That being said, I do agree the original comment in this thread wasn't appropriate either.
> why are we seeing lines of cops firing tear gas at peaceful protests

You mean marching down neighborhood streets and firing unprovoked at people on their own porches while yelling, "Light 'em up."
Assumingly because GitBook didn't expect Google to be so reckless and tone-deaf.
Which liberals? All of them? I highly doubt that. The vast majority of political leaders on the left have been highly deferential to health experts. I am sure you can find a stray tweet or two to support your narrative, but show me concrete examples of policy decisions by liberal leaders that were made regarding HCQ due to misinformation about its deadliness. Meanwhile, the Trump administration stockpiled HCQ and caused a run on supplies of the drug based on a flawed study. This put lupus patients at risk of not being able to access necessary medicine.
Also consider the social effect. To the ordinary eye, it's not obvious that this blur is resistant to reversal, unlike standard blur effects. However, someone seeing the use of this blur effect, without understanding what it is, may come to the false conclusion that a non-Signal blur is safe too.
I've always found the idea of words that can't translate to miss the mark, especially in the context of articles like this that provide a translation. It's really just that we don't have a singular corresponding word, not that they can't be translated.

It's kind of like how people say Eskimos have 50 (or however many words for snow). Any word they have for snow can be described in a corresponding way in English using adjectives, but for them it makes sense to boil down each of those concepts to a common word, since Eskimos have a more frequent need to describe snow than most English speakers.

What's interesting to reflect on is why some cultures need a singular word for something while others don't. It's why I love the word schadenfreude - not for what it means, but for the fact that Germans so readily identify with the idea of taking pleasure from another's misfortune that they coined a word for the term.