Better HN
topnewbestaskshowjobs
Log inSign up

phaemon

2,688 karma · joined Jun 6, 2012 (14y ago) · 1,369 submissions

Submissions

comment 9y ago · link · parent

A good and interesting explanation. Though, since it doesn't mention transactions at all, it might leave folk thinking, "So great, I've got a chain of hashes. How is that in any way a `coin`"? A Part 2 with that concept would be excellent.

Also, tiny nitpick, but `bc` is a common unix command, so maybe a different shortname would be better.

comment 9y ago · link · parent

There are a couple of dead comments that, essentially, made the same argument that I've heard here in Scotland when there was talk of a Space Port being set up: why are you wasting money on this when there are problems with poverty etc right here at home.

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

It isn't `apt`. See how they mentioned that `mysql` packages were installing? Well, in the `preinst` shell script, in the .deb, there is the line:

`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

> Cancer death rates in the UK are 255 per 100,000

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

> Your mom is an outlier.

That comment is funnier when you haven't read the parent comment. I imagine it as a statistician's snub.

comment 9y ago · link · parent

> And yet we don't have have an AI which could tell us if a photo is a bird and win at checkers (or tic-tac-toe).

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

There is "Pyed Piper" aka `pyp`

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

This seems an appropriate place for an Iain Banks quote:

" "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

From the Newsweek link:

"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

More than just the UK. See: https://global.vanguard.com/portal/site/home for a list of countries.

comment 9y ago · link · parent

Hah, you were too quick for me! Must type faster!

comment 9y ago · link · parent

Yes, exactly that. I had to follow a few links, but Ars Technica has a better story. To quote:

"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

I guess CDs are outdated now, but perhaps they could go retro and do a vinyl release?

comment 9y ago · link · parent

It's really not a rare phrase. If you Google:

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

Maybe it's a call to arms? "Creators! Update!"

Or maybe it's just a bug... ;)

comment 9y ago · link · parent

> the same place

What's the place?

comment 9y ago · link · parent

Maybe they could check if you have an ad blocker and only show the site if you do :)

comment 9y ago · link · parent

I didn't mean that I'd expect a physicist to understand every part of Climatology. I meant that I'd expect any competent physicist to understand the basic principles of the greenhouse effect, because that part is physics.

comment 9y ago · link · parent

Ok, not geneticists, but radiative transfer is physics. What else would it be?

comment 9y ago · link · parent

Scotland already generates more than 60% of its electricity from renewables.

comment 9y ago · link · parent

It's actually POSIX standard. See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3...

comment 9y ago · link · parent

Death is not an illness, it's an essential part of life. If I had the magic power to eliminate death today there is no way I would do it.

comment 9y ago · link · parent

Indeed, but you never know what page someone might submit to a site like HN, so it's usually a good idea to have a link back to your main site on all pages.

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

This looks pretty cool, and I'll definitely look at it as a Dropbox replacement.

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

I found this guide which seems fairly complete: https://davidyat.es/2016/09/08/gpu-passthrough/

comment 9y ago · link · parent

Since they invented the term, I think it pretty much does.

It's nice that "open source" is now so commonplace that people think it's a natural term to use, but if you think about it, it really isn't (something like "source available" would be more normal).

comment 9y ago · link · parent

As mentioned in a previous comment ( https://news.ycombinator.com/item?id=13722469 ) git doesn't see these the same as it hashes the header+content which breaks the identical SHA trick.

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

Heh, because those are the md5 checksums which don't match.

  $ 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

You didn't read it carefully enough. It did exist.

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

There is some speculation on whether Linus got it right or wrong, but I haven't seen anyone actually test this with the shattered-1 & 2 files, so I did.

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

1
181920
46