News for hackers. Stuff that matters.

jkeler

Re:Building a BitTorrent client from scratch in C# on Tuesday July 05, 2016 @03:41PM (#12038967)
> I also found a Rust implementation which seems not to compile, but is useful as I'm trying to teach myself Rust https://github.com/kenpratt/rusty_torrent I think the work to get it to compile might be minimal.

There is also another project in Rust, it looks more active: https://github.com/GGist/bip-rs It is a collection of libraries.

> If anyone who hasn't tried doing this before, the "official" BitTorrent spec docs, namely BEP-3 (http://bittorrent.org/beps/bep_0003.html), seem little more than a vague blog post turned in to a "spec".

Doesn't look vague at all. What do you think is missing from it?

Re:Improving Color on the Web on Saturday July 02, 2016 @04:09AM (#12021825)
Wide gamut is not enough, we also need HDR (that is Rec 2020 color space with Perceptual Quantizer). This will allow to show much brighter (and darker) colors.
Re:Bitcoin Guarantees Strong, Not Eventual, Consistency on Saturday June 18, 2016 @10:56AM (#11928873)
> Because the probability drops exponentially with Ω, it's easy to pick an Ω such that the chance of observing a blockchain reorganization is less likely than having the processor miscompute values due to strikes by alpha particles. If that's not sufficient for pedants, one can pick a slightly higher Ω such that the chances of observing a reorganization are lower than the likelihood that all the oxygen molecules in the room, via random Brownian motion, will pile up into one corner of the room and leave one to suffocate in the other corner.

This guy obviously doesn't understand what he is talking about. I would more probably remine the whole bitcoin blockchain on my cpu in a second than this thing happens.

> They can't upgrade to recent GNU tools because of the GPLv3.

They can but it is their choice not to use GPLv3 tools.

Re:There Have Probably Been Aliens on Saturday June 11, 2016 @06:25AM (#11882919)
It's not about how probable are these conditions but given these conditions how probable is that life will appear.
Re:There Have Probably Been Aliens on Saturday June 11, 2016 @05:07AM (#11882751)
For people who want an alternative view on this problem: http://biologydirect.biomedcentral.com/articles/10.1186/1745...
Re:There Have Probably Been Aliens on Saturday June 11, 2016 @04:54AM (#11882717)
> a probability for civilizations to form of one in 10 billion per planet was considered highly pessimistic

I think people underestimate how low probabilities can really be. According to wiki the shortest self-replicating RNA is 165-bases long. Even if you convert all observable universe in RNA this is still not enough for this RNA to form by chance (4^165 is much larger than number of atoms in observable universe).

Re:Google endorses the Trans-Pacific Partnership on Friday June 10, 2016 @07:07PM (#11880865)
I would better trust EFF on this: https://www.eff.org/issues/tpp
Re:Google endorses the Trans-Pacific Partnership on Friday June 10, 2016 @07:01PM (#11880822)
First they manipulated search suggestions in favor of Hillary and now this :(
You don't need DNS, access it directly by IP: http://31.184.194.81/
Re:Flatpak – Standalone Apps for Linux on Sunday May 29, 2016 @02:17PM (#11797505)
While I like idea I don't completely understand it. What 'runtime' is actually supposed to be? What if I need two runtimes? I will probably need to bundle one of them with the app. E.g. if I write a C++ Qt application I will use Qt runtime, if I write command line Python application I will use Python runtime, but if I write Qt application in Python I will need to bundle either Python or Qt with my app, correct?

Also, is there support for applications without any runtime?

Re:Bullshit fighting on Sunday May 29, 2016 @10:31AM (#11796478)
http://www.stoa.org.uk/topics/bullshit/pdf/on-bullshit.pdf

> One of the most salient features of our culture is that there is so much bullshit. Everyone knows this. Each of us contributes his share. But we tend to take the situation for granted. Most people are rather confident of their ability to recognize bullshit and to avoid being taken in by it. So the phenomenon has not aroused much deliberate concern, or attracted much sustained inquiry. In consequence, we have no clear understanding of what bullshit is, why there is so much of it, or what functions it serves. And we lack a conscientiously developed appreciation of what it means to us. In other words, we have no theory. I propose to begin the development of a theoretical understanding of bullshit, mainly by providing some tentative and exploratory philosophical analysis.

It defines extensions but no way to detect them. Am I missing something?
Re:Why C++ sucks (2016 edition) on Monday February 22, 2016 @05:35AM (#11149869)
You are probably talking about static typing, not strong. Strong typing implies that there are no implicit type conversions which is not true for C++.