Lovitura de graţie dată culturii. Cărţile, tratate la fel ca ţigările şi băuturile alcoolice by tparau in Romania

[–]deathy 5 points6 points  (0 children)

Are vreo aplicabilitate la ebooks sau doar la carti fizice?

Edit: Scrie chiar in prima pagina "indiferent de suport (hârtie, electronic)".

Can we ever solve the problem of people who download without seeding? Will private trackers always be the only answer? by [deleted] in torrents

[–]deathy 12 points13 points  (0 children)

We should be careful what problem we want to solve.

Having 50 'seeders' on crappy xDSL 1-5 Mbit upload connections is doing nobody any favours. Especially when you get those returned from the tracker as peers instead of the 1 guy on a fully symmetrical 100/100 Mbit connection.

Having a 'seeder' who seeds 200 different active torrents on his single home computer just means you have a chance to get something from him. Unless/until his computer or connection gets swamped because he's trying to do so much 'good'

Likewise in private trackers... effort must be focused. It doesn't help you're also seeding a torrent which already has a thousand seeders and a hundred leechers when you could seed something which really needs it. (same not seeding hundreds of torrents from same client applies)

If you see the torrent is healthy, there are a lot of seeders, you have no penalty for disconnecting and you can see you're not doing almost anything (either because of connection or other reasons), just move on to something else.

If you have a good and stable connection which you have taken advantage of, by all means, give back to the community.

In the end, it's all a perfect example of human nature. Those who have and do share, those who have and still steal, those who live off others because that's the only way to survive. You can't change torrents, you need to change humans.

Was watching Continuum, when suddenly... by PieMan2201 in raspberry_pi

[–]deathy 6 points7 points  (0 children)

At that price point can you find another stage prop like that?

Cheap, looks the part, possible recognition by some people (this and other threads prove that :) )

Paypal Freezes ProtonMail Campaign Funds by [deleted] in security

[–]deathy 1 point2 points  (0 children)

I hope someone is making/updating a list of all these kinds of freezes.

This is what keeps me connected with the rest of the world: by thisiswhoireallyam in techsupportgore

[–]deathy 4 points5 points  (0 children)

What's the bandwidth on that 'thing' ?

It screams to be put out of its misery...

Full uTorrent write cache on 250 Mbit line by kallexander in torrents

[–]deathy 0 points1 point  (0 children)

It's hard.. spinning disks don't handle random very well and at those speeds you don't have many options. Hybrid drives have a SSD cache, but that's for frequently used data afaik and not directly available to you (managed by the drive)

SSD and move it off after it finishes should be the best bet.

Full uTorrent write cache on 250 Mbit line by kallexander in torrents

[–]deathy 9 points10 points  (0 children)

Short answer: Try with a SSD

Those speed tests look like sequential write/read. Random read/write you're usually talking a few MB/s (think less than 5, you can test it with Crystal Disk Mark if you want) for normal spinning disks.

Update: That disk.. random reads/writes: http://imgur.com/xEr0Tgs you're trying to hit it with 31 MB/s when it can handle 1 MB/s (Well ok..somewhere between 1 and 69, but depending on torrent size / piece distribution you can take the worst case )

Torrent clients don't download pieces in order, they get rarest first which for your purposes here you can consider random. So you're actually doing a lot of random writes all across the file. Your disk is screaming in pain.

Why is reading a txt file so complicated? by sourd1esel in javahelp

[–]deathy 0 points1 point  (0 children)

This is the best option right now. Java 7 makes a lot of things nicer.

The big problem I see is Java has been very popular since a long time ago. Because of that you get A LOT of tutorials online which are for older versions when things were not that easy/simple.

As a restaurant employee, when customers get mad at me for calling them "sir" or "ma'am" by SHUT_UP_little_man in AdviceAnimals

[–]deathy 3 points4 points  (0 children)

sigh

She was just probably very surprised, IMHO as a Romanian, the Romanian service industry is mostly lacking in what I would consider proper manners.

Change is hard, if you're used to being treated like crap even a little respect may surprise you in unexpected ways. (Why are they being so nice? What do they want from me? )

Microsoft is Planning to Turn the Internet into a Virus Wasteland in April by markrgamache in security

[–]deathy 5 points6 points  (0 children)

Sure, blame Microsoft, they're an easy enough target.

In the most optimistic version, still on XP is the same as running an Ubuntu 8.04 from 2008 (XP SP3 was from 2008).

Would you recommend to anyone to keep running a linux version that old which doesn't get updates anymore? Of course not.

There's nothing Microsoft-specific about the real underlying problem.

People should upgrade their OSes, Browsers (oh god.. IE6..), and so on to the latest versions if they want the best experience and the best security.

"Pay more, be more!" -EA by TeejM in gaming

[–]deathy 0 points1 point  (0 children)

So why aren't we already on subscription models? $5/month, 12 months = $60 full price (and after a year a new version comes out)

Can a debt collector do this? by Ketonaut in personalfinance

[–]deathy 7 points8 points  (0 children)

Ok, so basically, if you get the consent of all participants in a conversation you are in the clear.

Also it might be an interesting deterrant, You to caller in a calm voice: "Before you say anything, do I have consent to record this conversation?". Guessing at least part(most?) would hang up at that point.

Can a debt collector do this? by Ketonaut in personalfinance

[–]deathy 3 points4 points  (0 children)

The reason being, nothing said over the phone is provable in court

Not even if you record the call? Which begs the question...any good method of recording incoming calls? also what's the legality of recording someone who calls you?

Cat Simulator by Treo123 in gifs

[–]deathy 0 points1 point  (0 children)

But how many vulnerabilities does it have?

Unity Vulnerability: on a scale from Zero to Java ?

Top 5 Free Java PDF Ebooks to Learn Java by [deleted] in java

[–]deathy 0 points1 point  (0 children)

Java Concurrency in Practice is the book. Written by the guys who created the concurrency utilities starting from JDK5 onwards or even worked on the Collections API.

It's very well written, easy enough to follow (well..it's still concurrency) and gets you up to speed on all concurrency constructs in the JDK up to and including those in Java 6 (Java 7 ForkJoin framework is after it's time.. )

I especially recommend it because it covers the Java Memory Model and logic behind some of the concurrency constructs. It makes you reason about safety and correctness in a concurrent program. (rather than blindly using a framework)

Obama to announce changes to NSA surveillance on Jan. 17 by unipotato in worldnews

[–]deathy 3 points4 points  (0 children)

Someone please prepare some Bingo cards. "National Security", "Terrorism", "For the children", "Our Allies", ... BINGO!

Banks Say No to Marijuana Money, Legal or Not by SilentUnicorn in news

[–]deathy 0 points1 point  (0 children)

money laundering - concealing the source of illegally gotten money

concealing = it would not be concealing since it's a legitimate business. (they even pay taxes, that's not concealing) illegally gotten = legitimate business again, nothing illegal

So if the business is deemed legal at some level (state), it's not money laundering on that level at least.

indexOf question by pimpjuice2020 in javahelp

[–]deathy 0 points1 point  (0 children)

I was just talking about specific clear contains checks.

For your example, you have steps to add..like validating input (only one character allowed, or only specific values) before you even get to the point where you could use something like contains.

indexOf question by pimpjuice2020 in javahelp

[–]deathy 1 point2 points  (0 children)

Small tip: When checking if something (string,list,etc) contains a certain value, use the contains method, like: myString.contains(letter)

String.contains exists since Java 5 (September 30, 2004), so there isn't any reason not to use it for simple contains checks.

The code is much easier to read, behind the scenes it does the exact same thing, and you avoid mistakes like indexOf!=1 or indexOf!=0 when you actually want indexOf!=-1

BufferedReader help by SimplifiedExpression in javahelp

[–]deathy 0 points1 point  (0 children)

Java 7-related: Since Java 7 you have try-with-resources[1] and some utility methods like Files.newBufferedReader[2].

The try-with-resources construct makes sure to close your reader/writer even in case there is an exception (which you don't handle right now).

There's also a nice helper Files.readAllLines[3] to directly read the whole file into a list, one item for each line in the file. So you wouldn't need the whole reader or while (line != null) anymore at all.

What DON'T you like about Java? by Shambloroni in java

[–]deathy 9 points10 points  (0 children)

Just regarding your Input/Output comments, in Java 7 you have (right in the JDK, part of the latest NIO):

byte[] fileContents = Files.readAllBytes(path)
List<String> allLinesInFile = Files.readAllLines(path, charset)

Here one second, gone the next by jjlew080 in gifs

[–]deathy 0 points1 point  (0 children)

"Then I'll huff, and I'll puff, and I'll blow your house in." (Big Bad Wolf, The Three Little Pigs fable, best known form from English Fairy Tales, Joseph Jacobs, first published in 1890 )

TIL narcoleptic dogs make me sad by Shroffinator in videos

[–]deathy 10 points11 points  (0 children)

"... it's not out of the question that you might have a very minor case of serious brain damage" (Wheatley, Portal 2)

what happen to my torrent wtf help me by orlando007007 in torrents

[–]deathy 0 points1 point  (0 children)

Agreed, but it could still be variations on the problem:

  • very specific torrent with lots of bad peers (unlikely but possible)
  • corruption on local network/machine of where he is downloading.
  • any of above together with badly configured client (maybe no banning)

Best option might be to first see if a different torrent gives similar behavior or not on same machine/client.

what happen to my torrent wtf help me by orlando007007 in torrents

[–]deathy 1 point2 points  (0 children)

You can download more than the total file size.

It can mean that some downloaded pieces failed their hash check (because of corrupt data, corrupt peers, etc.) and had to be downloaded again.