skysight-inc/HackerNews huggingface dataset:
Well, to be fair, the first sentence in OPTIONS is:

> All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked.

It's easy to miss though, when one's accustomed to quickly searching with "/".

EDIT: On the imagined env, it might be possible. I wonder what aspects of shebangs are portable across the various unix derived OSs. It may be that there's some systems where it only takes non-whitespace characters as the first argument and drops everything else after encountering another space. There might be also other limitations that one should consider when making more use of shebangs, like the character limit of the lines. For example, I think linux only takes the first 127 characters of the shebang and ignores everything else; other systems might take less. I encountered that limit when writing this answer:

https://unix.stackexchange.com/questions/365436/choose-inter...

EDIT 2: If you were to do such a program, it will probably also need to implement quoting and escaping syntax. The difficult part is that, since it wouldn't be a standard program to have, it'd have to be listed as a dependency of whatever projects you use it in, and I wonder if the benefit really outweighs the cost of having yet another dependency. I can't see something like this gaining wide adoption.
De Blasio: Blockchain to Stop Manhattan From Capsizing
Here's how I would do it, my 2 cents:

1) Find a good source of information --- typically, this is either very good lectures (like on youtube), a good textbook, or good lecture notes.

2) Do problems. There is a fairly large gap between those that just watch the lectures and those that have sat down and try to go through each and every step of the logic, and that's what everyone here (on HN) is pointing out when they similarly mention doing problems.

2b) Have solutions to those problems. I make this a separate point because it's important to spend quality time on a problem yourself before looking at the solutions. At the end of the day, if you read the problems and then the solution right away, that's much closer to reading the textbook itself instead of the more rigorous learning one goes through when trying things themselves.

If you were to ask me what textbooks or lectures I recommend, I think that's a more personal question than many here might guess. What topics are you most interested in? Are you really just solely interested in a solid background? How patient are you when doing problems?

Regardless, I'll give my two cents for textbooks anyway. In no particular order:

1) Griffiths E&M: https://www.amazon.com/Introduction-Electrodynamics-David-J-...

2) Axler, Linear Algebra Done Right: https://www.amazon.com/Linear-Algebra-Right-Undergraduate-Ma...

Good luck!
> The world still needs (and runs) untold millions of lines of Cobol.

shrug python organization isn't responsible for delivering a Cobol toolchain. They said they've set a deadline and it's open source so there's bound to be some popular vendors out there who you can buy support from. Just like you buy support from your Cobol vendor.

Most people who consume python are consuming it from a downstream vendor like a linux distro anyways. Commercial distros will likely offer extended support packages.
Forcing a company that employees 75,000 people in China out of business doesn't seem like the right outcome. I would expect the U.S. and China to negotiate some sort of more appropriate remedy that is better for all sides.
This is a very good comment and perspective. I am not a vet and don't have anything close to the experiences that it seems that you have. That being said, many of my friends and roommates from college are in active duty military positions, and it's scary to hear when they're being deployed.

Even though a program like this might save some lives in the short term, training machines that don't have empathy and can be programmed for whatever means to kill seems like a Pandora's Box that we should be damn sure we want to open before actually doing so.

Also, my apologies for the less-than-respectful replies that you are getting. You should not be chastised for respectfully sharing an important opinion, and their behavior is unbecoming of what we should expect of American citizens.
You will immediately find lots of great and challenging AI work pushing humanity forward.

They'll find jobs quickly, that's for sure.

But "work pushing humanity forward"? There's precious little of that in any skill sector - not at FAANG salary levels, anyways. The vast bulk of the work that the vast majority of us do is simply about pushing the investor's balance sheets forward - not "humanity".
Resource: http://dev-books.com/
Does that scale? In a neighborhood of 2, offspring of family A would be living with family B and offspring of family B would be living with family A. The only way that this could be avoided is if all families lived next door to an empty house.

Is living with someone else's parents more acceptable?
Why 2.7? Why not 2.2? Why not 1.3? Why not 1.0?

At some point you need to require others to update. Or they can hire consultants like companies do for Cobol.
I am a doom-and-gloom type myself but, uh:

https://en.wikipedia.org/wiki/The_Better_Angels_of_Our_Natur...

> Pinker presents a large amount of data (and statistical analysis thereof) that, he argues, demonstrate that violence has been in decline over millennia and that the present is probably the most peaceful time in the history of the human species. The decline in violence, he argues, is enormous in magnitude, visible on both long and short time scales, and found in many domains, including military conflict, homicide, genocide, torture, criminal justice, and treatment of children, homosexuals, animals and racial and ethnic minorities. He stresses that "The decline, to be sure, has not been smooth; it has not brought violence down to zero; and it is not guaranteed to continue."
SIGINT, that is spying on electronic communications, has always been a core part of the NSA's mission.

They have always been a spy agency.

See https://en.wikipedia.org/wiki/ECHELON
>It could well be that he’s the strongest negotiator we ever had in that position.

So strong that he can't negotiate deals beneficial enough for him that he can afford to hold up his end of them, and instead files for bankruptcy so that he doesn't have to pay for it. He's taken such good care of all of the hard working US citizens he's interacted with in his days as a business man.
Read the press release again, NYC isn't spending $200MM on blockchain, that would literally be insane.

They're just doing some of the usual EDC stuff, announcing some partnerships, opening some kind of coworking space for blockchain people or similar, the usual.
Interestingly China is simultaneously seeing problems in its tech IPO listings. The private equity market has massively overvalued the companies and now they can't properly exit by IPO at the formerly anticipated valuations.

"Two-thirds of the 21 tech IPOs in the past year are below their issue price, with shares down an average of about 20 percent through Friday. Leading the wipe out are online financing platforms Qudian Inc. and PPDai Group Inc., which plummeted 55 percent and 48 percent respectively, while search engine Sogou Inc. has tanked 27 percent."

"The extraordinary surge in private valuations that has seen China sprout 164 companies worth at least $1 billion now presents a challenge in public markets."

https://www.bloomberg.com/news/articles/2018-05-14/strugglin...
The problem with dangerous technologies isn't when they're used under the best possible circumstances. It's all of the others. Nuclear bombs can propel spaceships or dig canals, but nobody is protesting that.
As an example, we've had cases where judges/clerks refuse to do their jobs (certify marriages) based on their personal choices. The institution provides a substitute, possibly terminating the employment of the individual who chooses to not do their job to minimum required standards.
Gandi.net doesn't charge extra and also has reasonable prices.
^^THIS.
Further, when it comes to other high offices, like judges, the appearance of conflicts are as problematic as actual conflicts. Such that care beyond standard conflict checks is required to prevent having to investigate every relationship and decision.
> "The history of technology and the military in the US is more complex than the myopic "Military is Bad" style of arguments that have been vogue as of late."

It seems to me the "Military is Bad" idea goes back to 60's and is more about "the status quo U.S. foreign interference system is bad" than the myopic "the Military is Bad in principle" you seem to suggest. People mostly know it is important to have a military. But that does not mean supporting all its current activities.

> "Preventing the US military from using that technology doesn't stop China or Russia from upgrading their systems to use it."

I think the general opposition to drones killing people is directed at all countries, not just the U.S.A., so your response is no argument.

The history of technology and military also shows that Russia and China creating new dangerous ways of killing and destruction is closely linked to U.S. technology lead. One can go as far as say that the faster the U.S. develops it, the faster the Russians and Chinese will have it.

The only working way to prevent those technologies from being used on people is to desist developing them, guard the existing ones and agree on not using them - treaties, like for nukes, bioweapons, etc.
I'd add to this a somewhat controversial stance: I'm not sure that the world needs or can sustain journalism as a job anymore.

Let me explain a bit. By "can sustain", I mean that the whole point of being a journalist is objective reporting, with cultivating trust as a goal. Without trust, a journalist is no better than a blogger with a writing degree. Except I don't think that trust meaningfully exists anymore. Most news in the largest nations is in the hands of a handful of gargantuan monied interests, and with there being no legal obligation to divorce fact from opinion from advertising, they probably will not, so long as not doing so remains as profitable as it has been.

What's the substantial difference between a journalist you can't trust to distill pertinent facts from events, and a random blogger you have no reason to trust in the first place?

One makes more money. Maybe. Are you sure you didn't just read a native ad?

By "needs", I mean that faced with this loss of trust, individual people are going to have to do what they should have been doing in the first place, namely choosing their news sources carefully and paying more attention to subtle and not-so-subtle bias. It's a huge mistake to rely on media credentials as a proxy for likelihood of telling the truth, yet that is the entire concept of journalism as a career path.
Yeah, the American populace might not care, but the victims do care, and how upset they are made directly affects all other efforts in that area. Peacemaking and nationbuilding only gets more difficult the more people that have lost family members to the invaders.

If we'd gone into Baghdad WWII style, carpet bombing and all that, we'd probably still be fighting a significant war in Iraq. Or the country would be depopulated. Presumably the appearance of ISIS was largely a reaction to western actions in the region, and its initial strength was proportional to the outrage that could be drummed up. Sure, there are probably asinine military commanders that don't account for this, but it isn't the universal rule.
Well, it can be tricky once you start getting accurate, but I'm not sure any display ever looked like these screenshots, or even very close to it. There was always some visual bleed to eyes as well, not just pictures.

I'm pretty sure even LCD panels just repeated lines and didn't leave them blank, so some portion of people actually used an LCD to play these originally might have close to perfect accuracy if they repeated lines.

The only times I can particularly remember scanlines being really bad and noticeable were on the old CGA displays in the 80's. And those didn't look like this representation by a long shot, there was a lot of bleed in those as well, the lines were just big enough the bleed didn't obfustate it quite as much. I can't comment on EGA/VGA, we went straight from a CGA monitor to a SVGA one in the late 80's or early 90's, I don't recall exactly when. It's possible there was a display type in there that I didn't use much which actually makes this representation more accurate.
And yet he still has 4 billion dollars and is a president of the US. Must be pretty good at negotiating.
Talking with a few NY traders I was told that they may use Technical Analysis Theory as a secondary framework to see what is going on just because if enough trades are made following these rules, the prices will follow the TA rules. TA is heavily relaying on human psychology.

These traders also told me that do not know anybody at the trading desk that has not quickly felt out of love for TA.

TA will work when nothing major is affecting the market.

Special events will affect the price is a way that TA cannot predict. Who has enough money or influence can also manipulate the prices. Changes in fundamentals can also affect the price in a way that TA cannot predict.
He supposedly did a lot of research on just how the hook-up culture on campuses worked. (Don't mean that cynically or suggestively--just that he always worked hard for his source material.)
Yes, it is. They're trying to replace it with Teams, though, which is way better.
> I’m out.

So do you admit you're wrong to the degree you think your comments shouldn't be seen? Or can you just not stand the downvotes?

I think withdrawing and mass deleting half of a conversation is kinda bad form.
I think when someone like the NSA provides you an algo you either decide you can’t trust them or need to ask some heavy hitting questions to make sure it’s not broken somewhere along the line for their benefit.

I’d opt for not trusting them, but even if they did provide some details elsewhere I’d imagine ISO had some questions the NSA didn’t feel like answering...
They are appropriate for a late 80's EGA monitor. It looks a bit weird with VGA.
That's a different crime (obstruction of justice) and a different tort (Uber office/management vs victim, not driver vs victim), not covered by the EULA.
" Indent 2 spaces. No tabs."

Oh dear, here we go....
> Instead of bailing out at the first error, you parse invalid portions of the input and sync up to the next point where you can recover and keep parsing

People like saying that, but I've never seen it work well or provide any benefits. Because these tools are necessarily imperfect, you will get false positives, i.e., an earlier error will confuse the system sufficiently to generate later errors that aren't really errors in the program. So you have to fix errors in order anyway. So there is no benefit to producing further messages. You just risk producing several pages of spurious diagnostics for a simple typo.

Of course this is not completely true, but it's true enough. Or if it isn't, I'd like to hear about examples of systems that never produce such false positives, and where for some reason it makes sense (and is actually beneficial) to change something later in the file first.

Until then, just give me the first error. I won't look at the rest anyway, so no need for the compiler to be "clever" about it.
But before the algorithm personalized ads journalism wasn’t “dying”, there is ways to do personalized ads without tracking my every move.
I agree with this suggestion. It took me a year to slowly absorb the entire book of Statistics [0] including solving all exercises. It's just like walking to school but there is no external supervision. I made a rule to complete one chapter every evening including exercises and sticked to it.

[0]: https://www.amazon.com/Statistics-4th-David-Freedman/dp/0393...
Getting the right material to study is only small part of it. The real difficult part is finding all the time it takes and also finding company that has similar interest and is willing to invest time seriously with you. I struggled with the latter part. It is very frustrating to not be able to ask someone if what I am doing is right or not.
Maybe this is my limitation, but it still looks like "love" means about the same at its core, thru the times - I don't see a "lost meaning" to it. But I do see "flavors" for love, if you will - motivations or contexts for the love. And I accept the point that "not every culture has written about love or valued it in the same way."

Yet the cited article does not indicate "love" as meaning "suffering for someone or something else" or anything like that. Instead, we get something about "tragic love" (an apparent "contradiction in terms"): "In the Middle Ages, the idea that suffering was in some way productive was very widespread."

Earlier in that article: "So what changed in the Middle Ages? 'There was a transformation in culture,’ said Professor Ashe. ‘A series of church reforms in the 12th century took Christianity from a rather austere view of God the Father to a new focus on Christ's humanity. 'The spiritual lives of ordinary people were recognised, and people were encouraged to have a more emotional and personal relationship with God as individuals. And romantic love - giving yourself to another person - provides a justification, in the medieval moral compass, for the pursuit of self-fulfilment as an individual."

And from there, I would argue, "passion" took on a definition of "love" (and not the other way round).
What deals? What complications?
You know that was written in jest, right? Thompson and Wolfe were great friends.
Feature Engineering: The key to predictive modeling
They probably understand others have different values. The confusion is, some values seem so self evident that its bewildering anyone with a certain level of intelligence wouldn't realize the same values.

I think the answer might be that they do have the same values, but they have a different model of the world overall, which calls for different ways of achieving those values.

To take this to an extreme, imagine a person fighting for their life against actual criminals threatening vs a person fighting for their life against a random person they think is a shape-shifting alien impostor. Both are internally justified by the same values, one is externally justified by a more correct perception of reality.
American Bioweapons
Does anyone who's been following these IoT encryption standards think that new algorithms are truly needed? Considering that even the most trivial embedded devices these days get powerful microcontrollers and megabytes of RAM -- often running a full operating system! -- is there any perceptible gain with one of these unknown lightweight algorithms compared to using a well-known and standard algorithm like AES?

I took a look at the performance tests of AES vs NSA's Simon/Speck done by the CryptoLUX group at the University of Luxembourg[1]. They have so much data comparing different scenarios, processors, and implementation versions that it's difficult to summarize the trade-offs. But my brief look at AES vs Simon/Speck on an 8-bit Atmel AVR processor is that the difference in code size and RAM are in the hundreds of bytes (bytes, not megabytes) and AES performance might be approximately equal (if AES is implemented with large code size and RAM) or up to 10-15 times slower (if implemented with small code size and RAM).

Seriously, embedded software these days is so bloated (just like in web development), and processors and RAM are so over-provisioned, and encryption is such a minuscule part of the tasks of a system that I wonder if using a standard algorithm like AES would make a perceptible difference to anybody.

[1] https://www.cryptolux.org/index.php/FELICS_Block_Ciphers_Det...
This says that a completely silent computer would be 0dB. But it's a logarithmic scale, so I think it should say -Infinity dB.

This is admittedly pointless pedantry.
In this case, aren't we discussing Uber passengers? Not people out in a powerless position at the outset.
You think so? Due to inflation, I think the bar for "accredited investor" feels pretty low these days. HN must be full of middle class individuals with $1M+ USD networth.
> There is no particular reason why we can't maintain stability. I can still run [some] Microsoft DOS programs from the '80s

In fact, there isn't, you are 100% correct. I don't think anyone on the python dev team thinks that somehow 2.7 "can't" be maintained.

Grab the 2.7 branch [1] and build and test it on your favorite OS. If it still works tomorrow or next year, or in the 2080s, congratulations! You got a working product and you apparently didn't need any support.

> That's code from 1977 - 40 years ago!

Python's popularity will ensure that some group, somewhere will champion 2.7. And maybe in ~2030 we'll still see active support.

[1] https://github.com/python/cpython/tree/2.7
"Dear Editor: Once again this Journal has published research supposedly supporting a null hypothesis on the basis of null-results. Even a large-scale study, laid out carefully, cannot support the notion that a phenomenon or relationship does not exist. A null result is no result at all. Please preserve the integrity and reputation of Psychological Science.
Erhard Eimer PhD
Professor Emeritus of Psychology
APS Member"

https://www.psychologicalscience.org/news/releases/womens-pr...
"Employer's NI" means "employer's contribution to national insurance" - a UK tax.

Here's one article: https://www.theguardian.com/technology/2016/oct/28/uber-uk-t...

There are many more.
Facebook Answers Requests for Transparency
Canonical React to Ubuntu Snap Store Cryptocurrency Mining Malware
Yep. And video and screen sharing. It's pretty good.

The chrome support is still a bit lacking, so Linux users are second class citizens for now. But it's improving steadily.
I wish there was a legally-enforcable version of Douglas Crockford's "Good, not Evil" license. I haven't released any source code that could have military applications yet, but if I ever do, I want to make it 100% clear that it's not to be used for any task related to the killing or injuring of other people. We're in a unique position as programmers where even the tiniest bit of our code can affect thousands or millions of people across the globe, and this terrifies me.

The GPL has already shown us that a license has the power to change culture and behavior (in however small a way). We should be able to extend this approach to other values we hold dear.
I haven no strong feelings personally one way or the other, so could you enlighten me as to why 16:9 is a mistake, or why 4:3 is preferred?
I don't understand how "sexual assault" was part of this. That would fall under criminal law. So even if the victims couldn't sue Uber due to the ridiculous arbitration clause, the person committing the crime could still be arrested and go through the usual criminal justice process. Is that correct?
I think it may have been the case that a TV producer thought it would be fun to get him a badge more than he was any sort of serious volunteer for the particular police force.
No the company made itself go out of business. First they violated export restrictions, then after apologizing and paying a fine it turned out they had explicit intent to continue violating export restrictions.

In response they were told they could no longer purchase American technology. Then they chose to go out of business.

They chose to go out of business. No one required that they break the law, and if they hadn’t they would be fine. The alternative is that companies can break the law however much they want if they’re large enough.
Ask HN: Which tech meetups do you regularly go to?
Interested in discovering new meetups, especially in the Bay Area.