News for hackers. Stuff that matters.

timon999

I don't see why the nature of truth is relevant here, unless you are claiming that we can't make deductive arguments about anything ever (I never used the word "truth" in my comment anyway). Also, constant accusations of "bad faith", i.e. dishonesty, are poor debate etiquette and just give the impression that you have no point to make on the object level.
If someone claims that X is "always"(!) the case, then giving just one example where X is not the case counts as a refutation. The statement that the GP quoted is just obviously false and there is nothing "bad faith" about pointing that out.
Re:Ruby vs. Crystal Performance on Friday June 05, 2020 @03:42PM (#23432995)
Whoops. Thank you!
Re:Ruby vs. Crystal Performance on Friday June 05, 2020 @03:38PM (#23432944)
This article by one of the Crystal developers explains why this comparison is not fair: https://crystal-lang.org/2016/07/15/fibonacci-benchmark.html.

> When doing operations between integers, Ruby will make sure to create a Bignum in case of overflow, to give a correct result.

> Now we can understand why Ruby is slower: it has to do this overflow check on every operation, preventing some optimizations. Crystal, on the other hand, can ask LLVM to optimize this code very well, sometimes even letting LLVM compute the result at compile time. However, Crystal might give incorrect results, while Ruby makes sure to always give the correct result.

Re:Bosque Programming Language on Thursday May 14, 2020 @05:06AM (#23177229)
The Bosque paper says the following:

> JavaScript took an interesting step by decoupling the core compute language in the JS specification from the IO and event loop which are provided by the host [...]. We take the same approach of decoupling the core compute language, BOSQUE, from the host runtime which is responsible for managing environmental interaction.

So it seems that Bosque doesn't do IO directly, but instead specifies how a given input is mapped to some output.

Re:Logic Puzzles with Prolog (2017) on Wednesday November 20, 2019 @05:28AM (#21582628)
A isn't making two statements. The (single) statement "I am a knave, but B isn't." is a conjunction that is false because it's right hand side is false.
Re:Barak Obama wants to solve robocar "Trolley Problems" on Friday October 14, 2016 @03:38PM (#12710535)
Right - but laws should be based on moral considerations. You can't claim that a certain moral problem is solved just because there is a law that applies to it.
Re:Show HN: War and Peace and WebGL on Sunday January 24, 2016 @11:21AM (#10962919)
I'm getting some weird artifacts: http://i.imgur.com/U3sSkW3.png

Ubuntu Gnome, AMD open source driver

Re:How Not to Sort by Average Rating (2009) on Thursday July 09, 2015 @01:35PM (#9859414)
But this encourages donwnvoting, which is something you definitely do not want.
Re:Show HN: A simple password generator on Monday June 29, 2015 @02:45PM (#9800057)
'head -c 9 /dev/random | base64' works in my cmd.
Re:Show HN: QRUnity, One QR Code for All App Stores on Wednesday May 27, 2015 @02:52PM (#9613526)
What about smarturl.it?