skysight-inc/HackerNews huggingface dataset:
`set -e` is basically a way to find where you need better error-handling, not a way to make scripts safe. I'd much rather a crummy script run into trouble calling some new featuref, shrug, and move on to the core business-critical code, instead of erroring out and triggering a bunch of pages.
Hmm very interesting, I'd love to have more information on what this project is supposed to be and who's behind it? E.g. have they considered something like GraphQL being a potential solution for this undertaking?
Also interested to hear how it would relate to OpenCRUD.org
I used Powershell extensively before I ever had experience with a linux or unix shell. I still have more experience with Powershell than bash or zsh, but I can't imaging going back. I'm already much more capable in a *nix shell.

There are advantages to having a pipe based on structured data, but that also means you have to know what structure to expect at ever step of the way and whether or not other tools can work with that structure. There are also tons of little quirks about Powershell; enough so that I eventually just started writing most stuff in C# and then just using the Powershell scripts as glue.

Passing text means that every single one of the thousands and thousands of unix cli tools that accept stdio will work in your pipeline.

I think this industry needs to get away from the terrible/horrible, absolute thinking. Most tools have positive and negative
/bin/sh is most often either the C shell, Dash, or Ash, not the Bourne shell. Bourne shell extensions will cause the script to fail.

edit: bourne again shell
>> Snowden caused this.

No. NSA's reputation is its own. They were once trusted as experts but that stopped long ago. Clipper chips, lotus notes, echelon, RSA ... the decline in NSA's trustworthiness started decades ago and has been steady ever since. Snowden gave us shiny powerpoints and codenames, but the overall programs have been common knowledge in the community for generations.
One notion is that it reduces the time available where you can be more deeply involved together in activities that are more life affirming and relationship sustaining.
You're right. It's confusing, because the data that was supplied to CA was supplied by another Cambridge researcher.
Medium has consistently treated partners like this, though.

At this point, it's become clear that Medium likes burning bridges. I wouldn't trust them with my content any more than I would trust Facebook with my data.
Wrong. *BSD are not legacy systems, and many Linux installs don't have Bash. On top of that, new systems can't really implement Bash (because bash is defined by the implementation) but could easily implement POSIX sh (because POSIX sh is defined by the standard).
How would that even work? Cryptography is a small world. A submission from someone nobody's heard of would have no chance.
Welcome to philosophy and why we are still in this mess academically in the 21st Century.

Welcome to philosophy's number one question. What can we base anything on? To Spinoza it is rationalism. Soren Kierkegaard (My son is named after him) there is nothing but faith that we must leap upon when we have no faith.
Sorry for delay, am unsure what you're asking. Webview is a G gramework baked into all android & ios systems to provide web functions through apps(sans browser).
Facebook Transparency Report
> It's less portable than /bin/bash in my experience

/bin/bash breaks on FreeBSD, which installs Bash at /usr/local/bin/bash. /usr/bin/env bash works though.

> You also can't pass command line arguments.

Are you sure about that? Given this script:

#!/usr/bin/env bash
echo "args: $@"

it outputs:

$ ./foo 1 2 3
args: 1 2 3

Is that what you meant?
I said Python wasn't going to be more concise. I said it has a variety of other useful properties. For instance, at least as I write this, you have "cut -d’-‘"; I assume you meant apostrophes (something getting too polite in a c&p, I assume) but the apostrophes are unnecessary, but you're so used to the compromises in shell I talked about you probably put those in there automatically. I'm not criticizing that; it's a reasonable accommodation to shell's quirks. But it is a quirk.

Your code also breaks if the filenames have spaces:

$ ls -1
bar-def-gh i-jkl-mno-p
bar-def-ghi-jkl-mno-p
$ for i in `ls`; do echo $i | grep bar | cut -d- -f3,4; done
gh
ghi-jkl

The natural Python code you'd write to replace it will do what you expect and print the file with a space in it in the way you'd expect. You can fix this in bash via "for i in [asterisk]" (or, in this case, "for i in [asterisk]bar[asterisk]"), but, well, remember when I said bash requires you to understand the half-a-dozen ways strings and filenames interact...? In Python, there's just the one way that strings work.

(HN is forcing me to say [asterisk]. AFAIK there's still no escaping for them.)

You lucked out a bit here too; I don't think I can get echo to do anything very interesting based on file names. Had you interpolated that somewhere more interesting I'd give you some security issues too, if anybody not trusted can create files, which, again, the naive Python code would be much more robust to, because in Python, you have to explicitly ask to bring a string up to an execution context or a function parameter context, unlike shell's complicated rules for interleaving them. You pay a steep price for the convenience.

Of course, this is a matter of scale. I use that sort of pipeline interactively every day. I just start shuddering when it goes in a file for a script, and shudder more if it goes into source control.
It's hard to make universal statements because the bible is shock full of contradictory statements. Jesus says explicitly that large is the path that leads to damnation and that few will be chosen by him. So, while some will have redemption, the story goes that most of humanity will end up in despair. Of course, other texts can be used to conclude the opposite, which is the normal fashion for bible interpretation.
Hah, thanks, learn something every day!
https://www.merriam-webster.com/words-at-play/bury-the-lede-...
Don't forget the girly bars. Never forget the girly bars.
Yeah. That fact seems pretty hidden in the reports. Due to proper CSP only local files will be executed.

If you are who I think you are, maybe you could speculate if there is actually any use for this other than loading local files (local file execution) and crashing signal?
Re. a recommended alternative to quick and dirty bash scripts, do you think golang would do? I've barely dabbled with the language, but its default packaging (a single, static binary) and build system (`go build x`) seem well suited to rapid setup, deployment and testing, which is presumably what you'd want in this scenario.
No one expects anyone to pass sensitive information in plaintext!
Only if you need portability. If you don't need portability, write it in whatever you want. I prefer bash because it's everywhere. Zsh is too esoteric for me, but I wouldn't judge anyone for using it.
Yes, but the claim is that there is such a number, not that it can be defined.
Your own comment equates the level of protection PGP provides to that of plaintext. Which sounds to me like another way of saying, “PGP is broken”.
It’s almost like capital tends to concentrate in the absence of regulated financial markets or something...
Some of the things Burt Rutan has said over the years imply that this niche is already filled.
> trap

I don't have more faith in Python's except than in Bash's trap.

If you use 3rd party code or a subprocess, then both are pretty weak compared to something kernel enforced.

> makes it massively easier to handle errors and give decent diagnostics to the user.

I don't really find that. You have to fight for input/output for subprocesses in Python.

Sure, logging is easier in Python/perl/PHP/whatever, than in Bash, but error handling is about the same. You have to do everything manually, and there's no compiler, nor type (or other magical) system, that'd warn you if you have missed something.
"Government agents can't bribe minors"

Government gets around a lot of rules by paying contractors for things which they acquire or develop in unscrupulous ways. We had hacker groups in my school. I wouldn't trust most of them if there were large amounts of money on the line or opportunities to have secrets/power others didn't have. There's always a set that would go for that doing even more damage than the average older person.

"Companies can't have bizarre rules about intellectual property and side projects."

They can. They'll just have to get the parents' consent. The kids are then forced to choose to not participate to avoid the conditions or participate despite the conditions. Most will participate.

I agree with you, though, that we need more programs hitting schools getting them more activities to do around building and coding things. There's a lot of potential. Funny that you were coding things on TI-84's cuz we were doing same thing on older calculators to sneak fun into classes where no gaming devices were allowed. :) Plenty of stuff we were doing mainly limited by lack of people who knew things and money. Also, you'd get posers or folks overselling their skills that end up wasting people's time or making them think a sub-field has more bullshitters than it does. Having good resources from real talent easily accessible helps counter that a bit.

It's why I like the makerspace movement so much, esp recent trend of combining them with libraries:

https://tascha.uw.edu/2014/06/libraries-makerspaces-a-revolu...
The scary thing is he read this on article and other "educated" people read the article believe this shit too
Announcing the Coinbase Suite of Institutional Products
Here's one that I use: https://github.com/AndrewDryga/vagrant-box-osx/blob/master/R...
>but then what kind of script you'd want to run there? Okay, maybe all of them

I think you answered your own question here.

I can elaborate, though. bash isn't portable, it uses Glibc-isms. It has to be explicitly ported to new platforms. I also pointed out elsewhere that the value-add of bash is dubious at best - if you need to use bashisms you're better off not writing a shell script at all. So really, the question is: why do you need bash? You have to justify using non-standard tools, not the other way around.
AI designed to solve one problem is not the same kind of AI needed to do NPL and argument construction. We’d probably need a middle layer AI to interpret the one module and communicate to the second. Turtles all the way down.
Yes - The Art and Science of Technical Analysis by Adam Grimes is fantastic.

Typically these kinds of books take one of two extremes:

1. Markets are psychology and TA patterns will unlock profits

OR

2. Markets are mathematics and algorithms will unlock profits

Books in #1 will tell you all about Ichimoku clouds, fibonacci levels, fractal patterns, and how to read tea leaves.

Books in #2 tend to ignore the (real) psychological aspects of trading and don't give you much edge beyond a random walk.

Grimes book holds a special place in this dynamic: He discusses price action as psychology, but applies statistical tests to common trader folklore.

As a programmer and beginning trader/quant, Grimes book was exactly what I was looking for.
The idea that the Internet is just Facebook for most people is absurd. Yes, there exist people who essentially only use Facebook, but this is not the norm.

Google is worth 755 billion dollars, and they didn’t get there just by being the easiest way to find Facebook. Pinterest has amassed a 12 billion dollar valuation just for managing to insert themselves between Google search results and a the billion blogs you think most people don’t even know about.
> If performance matters, use something other than shell.

I wrote a script that wrapped compiler calls to make dummy output files to debug a huge compilation. Since startup time was the most important metric, bash actually had by far the best performance.
Because it's actually valuable.
Yeah, but then you have to use Linux.
I'm waiting for more Dell laptops with Ryzen APUs.
That, unfortunately, only works if you don't need to maintain backwards compatibility with older systems. `python` will exist and point to python2 on any system. `python2` may not if it predates or ignores the PEP. `python3` didn't even come installed by default on a lot of nixes until recently, making it the worst of option of the three.
It doesn't seem physically impossible, but this would mean "past lives" can only be from your direct ancestors.

But regardless, there's no evidence to support it and even this snail experiment is a far cry from proving memories can even be transferred to humans, let alone inherited.
I never asserted that the two are exclusive. Individual action is satisfying and does demonstrate what is possible.

However, I still assert that to make changes on a huge scale you need to make the economic choices and desired outcomes align. Using plastic for packaging and single use containers is just so ridiculously inexpensive right now that its often the cheapest, most convenient option. If we change that equation then collective behavior will change.
3Blue1Brown has a good series on YouTube for building intuition in linear algebra:

https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2x...

In one of the last videos in the (relatively short) series, he discusses eigen-*:

~'eigen-stuffs are straight-forward but only make sense if you have a solid visual understanding of the pre-requisites (linear transformations, determinants, linear systems of equations, change of basis, etc.). Confusion about eigen-stuffs usually has more to do with a shaky foundation than the eigen-things themselves'

https://youtu.be/PFDu9oVAE-g

All of the videos in the series, including this later one on eigen-things, focus on animations to show what the number crunching is doing to the coordinate system.
That's not a great article. In reality, nobody thinks Speck and Simon are backdoored --- they're extremely straightforward block cipher designs with well-understood components. Unless the NSA knows something that breaks all modern block cipher designs --- in which case, why tip your hand? --- there's no place to hide a backdoor in either of these standards.

What happened here seems like a combination of two things: first, a general statement that the community is skeptical of NSA-related standards after the Dual EC fiasco, just on principles, and, second, process concerns about the way NSA interacts with standards bodies --- their work is considered poorly documented and their engagement with the academic research community (for instance, to answer concerns about flaws in their designs) is poor.
Java Service Provider Interface (SPI)– Understanding It via Code
I think this is in reference to his family moving due to religious persecution.
Your Next Desk Lamp: A Plant That Glows?
I'm not OP, but I finished House of Leaves a year back and you definitely want to read the footnotes and everything else that Danielewski (or Zampano, if you like) has put on there.

It really is a terrific book.
Curious as well. Particularly regarding:

- how do you provision & manage systems/instances?

- relative to any other ways you've done this, how much effort goes into standing up the first server, any additional servers, and ongoing maintenance/management?
our hoster offers Nixos VMs only; flyingcircus.io
Vagrant box setup for running macOS
Google's linux systems are standardized, there isn't a concern about running a script on 10 different OS variants
Microsoft Toolkit 2.7.6 Office and Windows Activator Download
No. Read this https://blog.coinbase.com/coinbase-institutional-deea317d23a...

They are getting lower latency, secure storage and new trading products -- only available to Institutions.
https://en.wikipedia.org/wiki/Ashur

He's also been working against the US national interests before: http://www.cs.technion.ac.il/~biham/Workshops/Cryptoday/2015...
Yes, none of these things the OP described exist in the regulated markets such as equities, bonds, or futures.
> bash is completely out of date on macOS

I love finding and removing all the GNU/Linux-ism in my bash code when I move it from a dev host to my personal laptop. macOS coreutils don't have GNU longopts, surprise!
Assuming 1) a trip is about 10,000 miles in distance, 2) acceleration is constant and speeding up for 15 minutes and slowing down for 15 minutes, they are looking at (very roughly) 0.4g of additional acceleration i.e. you would feel 1.4 times as heavy as you do standing still on takeoff and landing. As you angled horizontally, the effect of earth's gravity would be counteracted by your centripetal acceleration so that you would feel approximately 0.4g at the midpoint of the flight. So 1.4g at takeoff and landing, 0.4g at the midpoint (again assuming constant acceleration due to thrust)

That sounds not too bad. Two 15 minute burns sounds in the realm of possibility.

Edit: changed some numbers and my conclusion.
Blockchain professional network SpringRole closes a $1.3 M private funding round
How can I contact you? ;)

Not at hft but also ran a fast bot.
They have a standard setup everywhere, with the same Python version, and the same libs available.

So basically, for them, Python requires no fiddling and works as is.

Same for the shell. They say "use [[]]" because they know that compat is not a problem: it's the same bash everywhere.

Google has millions of servers, billions of lines of code and surely of lot of experience with deployment, managing complexity and handling teams.

I'm kinda trusting them on this choice.
D can be used as a scripting language:

#! /usr/bin/env rdmd
import std.stdio;
void main() { writeln(2); }

Just add the shebang line. https://wiki.dlang.org/Why_program_in_D#Script_Fan
I don't get that from "Whelp, wrong off the bat", which seems to imply that there is a more unambiguous right answer here, and Google is wrong for deviating from it.
virtual and physical items are rather distinct in nature, and comparing them is often useless.
Of course, it will take time for this to become effective. But this is the portable solution. Systems for which this does not work are broken and should be fixed, software should not be updated to accomodate for broken systems.
Again, the cleartext virtually always fits trivially in RAM, and when it doesn't, it can error out and require a flag to process. Yes, this is easy to fix.

OpenPGP needs to change as well, but that doesn't make insecure behavior acceptable in the interim, no matter what Werner Koch thinks.
> 91% of the homeless in Seattle are from the greater Seattle region

Don't know where you are getting those numbers but only 20% were born or grew up in king county according to the most recent report: http://allhomekc.org/wp-content/uploads/2016/11/2017-Count-U...

And I would be fine spending 10 times this money if there were any indication that it would fix the problem so my girlfriend could actually feel safe walking around downtown without getting assaulted again but it does not seem that way.
Unit conversions and arithmetic are computers' work.
A few weeks ago I posted here [1] how I think that Containers should really work.

I think your observation is a good one, and a rule for it should be added (or actually the third rule should be modified).

[1] https://news.ycombinator.com/item?id=16866086
I agree that this is the wording of the comment - if having a PGP-encrypted message intercepted in transit compromises it, something has gone horribly wrong.

Fortunately, it's not true; the situation is actually much better than the comment suggests. As the Protonmail rundown points out, the better PGP clients should be unaffected, and secure even with in-transit interception.
What kind of novel dataset are we talking about?

Just from the top of my head, you could have encountered eigenvectors/eigenvalues:

- if you ever used spectral graph algorithms

- if you ever done dimensionality reduction via principal component analysis

- if you ever calculated the steady state distribution of a Markov chain
Key point:

>According to WikiTribune’s source, experts in the delegations have clashed over recent weeks and the NSA has not provided the technical detail on the algorithms that is usual for these processes. The U.S. delegation’s refusal to provide a “convincing design rationale is a main concern for many countries,” the source said.

So it's not just "We don't trust anything the NSA puts out." It's "The NSA is refusing to explain their algorithms in lieu of saying 'Trust us,' and we don't."
I am most likely explaining this wrong, but because building derivations are isolated from the global environment variables, any way of accessing configuration options seems like a kludge.

We ended up adding a hashicorp vault server to our deployment, but that felt like adding a lot of complexity for a very basic part of the deployment process.

A blessed solution for a common setup that doesn’t involve checking in secrets into the repository would be very useful. Better yet, some first-party support through nixos or nixops.
One interesting thing the article doesn't seem to cover at all is what it takes to push a community in a particular direction.

It sort of asserts various things work or don't in the real world, which is strange to me, as a lot of that behavior depends on what incentives/etc exist and these are very emergent systems that change.

It doesn't seem to consider very heavily whether vgo will be successful in changing the way people operate at all (despite this kind of thing happening all the time), and instead asserts based on the current state of the world , and random assertions about how people work, what the future will be, and asserts vgo won't change that in various ways. It's all very minimal actual explanation wrapped in a lot of language.
It's also all random opinion, simply stated in a matter of fact way, with no real data cited anywhere to back it up. The only thing coming close to presenting a data backed argument then says "we'll look at this in a future part of the series".
>> .. more like RNA stores/caches the response mechanism of a pain receptor.

The point? We all evolved from very tiny/primitive creatures. It's reasonable to speculate that all of our memories are stored in a similar manner. At some root level all of our consciousness may be conditioned responses by individual cells. All our other complex systems evolved from relatively simpler mechanisms.
How to contribute to Bitcoin blockchain research
Many people use go for such things. I simply don't like go, it's too crude (too C), and the packaging system is. Well, it's not Cargo.

But probably for deploy scripts, go with a static binary (hosted on, let's say your GitLab instance - using the GitLab HTTP API with a token to wget/curl it) is nigh unbeatable in end-to-end development and deployment time.
There are some characteristics, shaped by evolution, that are typically human. For instance, humans are social.

That doesn't mean that you can derive a formal system of ethics that is "true", but there are clearly some trends. Trends that an AI, that have not evolved as us, don't need to share. I don't think is a sterile debate.
Eating half of the stuff wouldn't be so difficult in a diet that needs to replace 7000-9000 calories each day. 750 g of almond butter has around 4600 calories. A reasonable value to eat if choosen as the main source of fat in the diet.
Well, even within Google I think this policy is stupid. Any software they make open source or have to port to new platforms that was based on this policy is going to break, and for what? Bashisms provide a dubious value-add.