2,688 karma · joined Jun 6, 2012 (14y ago) · 1,369 submissions
comment 9y ago · link · parent
Also, tiny nitpick, but `bc` is a common unix command, so maybe a different shortname would be better.
comment 9y ago · link · parent
The response to those arguments, at least here, is simple enough. There are currently about 7000 jobs in the Scottish space industry and in the last two years Glasgow has built more satellites than any other city in Europe. Yet, we have to go to another country to get these satellites launched!
And I suppose the choice of phrase, "space industry", is what makes the difference. It can seem reasonable to say, "this country shouldn't have a space program" but it sounds far less defensible to argue, "this country shouldn't have a space industry".
And so with India. This particular launch was for the Indian government, but the article mentions the previous record-breaking launch of 104 satellites at once. Of those, 88 were for a company called Planet, "a US private imaging company". And the others were commercial launches for various other countries.
Since the space industry is rapidly growing with huge commercial potential, it seems ludicrous to argue that you shouldn't be developing it. It would be like someone 20 years ago arguing that you shouldn't be developing Internet connections when you had poverty issues to deal with. How exactly will avoiding hi-tech industry help that in any way?
comment 9y ago · link · parent
`if LC_ALL=C BLOCKSIZE= df --portability $DATADIR/. | tail -n 1 | awk '{ exit ($4>1000) }'; then`
There's `df` being called without the full path and that's what would be spawning Dwarf Fortress.
comment 9y ago · link · parent
No they're not. Cancer mortality rates (per 100,000) are:
UK: 109.97, USA: 105.78, Spain: 98.06, Australia: 96.36
> It’s not so black and white that “single payer is better.”
In the vast majority of measures, it clearly is.
( Stats from: http://www.cancerresearchuk.org/health-professional/cancer-s... )
comment 9y ago · link · parent
Google can. I did search by image and it identified my picture as a dog. And if you search for "tic-tac-toe" it has a built in game which has difficulty settings up to Impossible (which presumably plays perfectly).
comment 9y ago · link · parent
https://code.google.com/archive/p/pyp/
"Pyp is a linux command line text manipulation tool similar to awk or sed, but which uses standard python string and list methods as well as custom functions evolved to generate fast results in an intense production environment."
comment 9y ago · link · parent
" "Well," he says, "if you are going to write what a friend of a friend once called 'Made up space shit', then if it's going to have any ring of truth that means sometimes some of the horrible characters get to live, and for there to be any sense of jeopardy, especially in future novels, the good people have to die. Sometimes."
Banks freely admits that he enjoys writing his SF novels more than his "literary" novels, and the Culture novels more than his other SF. The hedonistic, anarchistic, post-scarcity series is "a hoot. It's my train set. I adore the freedom and the size of the canvas," even though writing them "requires a greater degree of concentration. And there's so much baggage with the Culture now that I have to get each new novel aligned with earlier Culture history. I don't have the same leeway to make things up compared with when I started." "
From his last(?) interview: https://www.theguardian.com/books/2013/jun/15/iain-banks-the...
comment 9y ago · link · parent
"Editor's note: The author of this piece, Randy Simmons, is the Charles G. Koch professor of political economy at Utah State University. He's also a senior fellow at the Koch- and ExxonMobil-funded Property and Environment Research Center. These ties to the oil industry weren't originally disclosed in this piece. "
Might have known as soon as you used the "#FakeNews" tag...
comment 9y ago · link · parent
comment 9y ago · link · parent
"It also massively increases the granularity of object time-stamping: APFS supports nanosecond time stamp granularity rather than the 1-second time stamp granularity in HFS+. Nanosecond timestamps are important in a modern file system because they help with atomicity—in a file system that keeps a record of writes, having nanosecond-level granularity is important in tracking the order of operations."
Full thing is at: https://arstechnica.com/apple/2016/06/digging-into-the-dev-d...
comment 9y ago · link · parent
site:businessesforsale.com "going concern"
you get 16,400 hits. Just on that one site. I can understand that one person might not have come across it, but when it's so many folk on a site like HN where you'd expect people to have an interest in businesses...I truly find it a little bizarre.
comment 9y ago · link · parent
comment 9y ago · link · parent
For example, they could like to your Forum page (which doesn't have a link to your main page). Or to your Github page (which has a link to the Forum, but not to the main page). Or your Docs page (which...well, you get the idea).
Sites that have witty and inventive 404 pages sometimes get those publicised. You really never know what someone will choose to submit.
comment 9y ago · link · parent
On the negative side, your stats page doesn't have a link back to your main page, so you won't even know how many folk had a look based on this HN post. It's a good idea to ensure that all your pages have a link back to your main page.
comment 9y ago · link · parent
comment 9y ago · link · parent
Of course, I first tested this on our main production repository at work because...oh, wait, I didn't because what were you thinking?!
comment 9y ago · link · parent
$ sha1sum shattered*
38762cf7f55934b34d179ae6a4c80cadccbb7f0a shattered-1.pdf
38762cf7f55934b34d179ae6a4c80cadccbb7f0a shattered-2.pdf
$ md5sum shattered*
ee4aa52b139d925f8d8884402b0a750c shattered-1.pdf
5bd9d8cabc46041579a311230539b8d1 shattered-2.pdf
As you can see.comment 9y ago · link · parent
It read:
"Yes, that is kind of funny way of saying that there's no reason why Python 2 and Python 3 can't coexist other than the Python project's incompetence and arrogance. Obviously it's theoretically possible to run Python 2 in Python 3, but until they do it then they have decided to say that Python 3 cannot run one other Turing complete language so logically Python 3 is not Turing complete. I should also mention that as stupid as that sounds, actual Python project developers have told me this, so it's their position that their own language is not Turing complete."
See: http://web.archive.org/web/20161123042252/https://learnpytho...
comment 9y ago · link · parent
Git sees them as different despite them having the same hash. You can test with:
mkdir shattered && cd shattered
git init
wget https://shattered.it/static/shattered-1.pdf
git add shattered-1.pdf
git commit -am "First shattered pdf"
git status
wget https://shattered.it/static/shattered-2.pdf
sha1sum *
md5sum *
mv shattered-2.pdf shattered-1.pdf
git status
So it doesn't see the files the same.Apologies for those on mobile (please fix this HN!): the commands are: mkdir shattered && cd shattered && git init && wget https://shattered.it/static/shattered-1.pdf && git add shattered-1.pdf && git commit -am "First shattered pdf" && git status && wget https://shattered.it/static/shattered-2.pdf && sha1sum * && md5sum * && mv shattered-2.pdf shattered-1.pdf && git status
EDIT: Ah, of course! git adds a header and takes the sha1sum of the header+content, which breaks the identical SHA1 trick. You can add a footer on and they keep the same SHA1 though. Don't have time to play about with this more just now, but try it with `cat`ing some identical headers and footers onto the pdfs.
EDIT2: Actually, this is discussed more extensively in the other thread which I hadn't read yet. Go there for more details: https://news.ycombinator.com/item?id=13713480