Slashdot Mirror


User: piojo

piojo's activity in the archive.

Stories
0
Comments
813
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 813

  1. Re:Experience-based opinions on Perl is the Most Hated Programming Language, Developers Say (theregister.co.uk) · · Score: 1

    Point of fact: for a simple pool of worker threads with a single work queue and a single result queue, the threading model is perfect. You just write everything with no need to lock. There are some difficulties, but no more than in a language like C#. For more complex computation models, I agree that perl's threads can be a non-starter.

    In a recent project which had to do 5 billion operations, I used thread queues as I've described, and the result was faster and easier than with the popular threading libraries I found on CPAN. Perhaps these libraries are more useful for other computation models?

    Sadly, I no longer work with old perl since I discovered Perl 6. Perl 6 seems to combine the best ideas of every programming language I've used. (The only thing I would wish for is even earlier static type checking, though it does check quite aggressively.) And it could be faster, but I'll take a slightly slow programming language that is fun to write (and yes, it's readable).

  2. Re:Hated because of the Perl community on Perl is the Most Hated Programming Language, Developers Say (theregister.co.uk) · · Score: 1

    Have you looked at the stackoverflow questions on perl? Most don't even dignify a response.

    But I've found the community to actually be very nice. I've been in the #perl6 IRC channel a ton lately, and the people are all extremely nice. Asking Perl 6 question on stackoverflow always gets nice responses.

    If went to a C# forum and just asked someone to code something for me (with a list of specs), the response would be just as dismissive.

  3. Re:Unique look and feel? on Essential Announces $200 (29%) Discount on Phones -- Price Dropped To $499 (cnet.com) · · Score: 1

    I've had LG and Samsung, to my lasting regret. OnePlus has good value for money, and the best user interface (both hardware and software) I've seen on a phone. I haven't tried Xiaomi or Meizu--I don't remember what made me choose OnePlus over Xiaomi and Meizu, but there's not really anything I don't like about this phone, and I'm picky as hell.

    (LG: manufacture phones that fry themselves after a few months due to a motherboard defect, then refuse to repair them for the cost of parts.)

  4. Re:I'm surprised on Pirate Bay is Mining Cryptocurrency Again, No Opt Out (torrentfreak.com) · · Score: 1

    This is a complex issue with lots of sides, but I'm really anti-DRM with regard to books. It must be because I see books as more archival than any other type of media. Since a book should last for at least a hundred years, it feels much less valuable to "own" a book which depends on the bookseller's blessing to open (or perhaps depending on old hardware/software), and it feels wrong to give money to such a system, even though my friends assure me it's easy to strip DRM from e-books.

    (Writing this post has inspired me to order a used copy of the latest book I've been drooling over. I'm outside the US, but increased shipping price is the cost of pride—not paying for anti-consumer technologies.)

  5. It being hell does not mean we should placate it.

    What a cruel sentiment. If you suffer severe pain, will you not take a painkiller? If you suffer severe enough mental anguish, will you not seek counseling? If that's the case, investigating the most effective treatment is much more moral than saying it should not be treated.

    Besides, lumping all trans people into a single category for the purpose of "suicide rate" is a really bad statistic. Unless you meant to write more than you did, you haven't even separated the group that's had medical/surgical intervention from the group that hasn't.

  6. Re: Oh please on PewDiePie Is Inexcusable But DMCA Takedowns Are Not the Way To Fight Him (vice.com) · · Score: 5, Interesting

    Maybe if he hadn't previously spouted racist, white supremacist nonsense, it would be excusable.

    The thing is, he didn't. If you're referring to the little media outrage about him some months ago, that was all cherry-picked to demonstrate something quite different than what he actually said. He published a video making fun of neo-nazis, and someone cut it to look like something else entirely.

    It's because of that episode that I'm *more* inclined to give him the benefit of the doubt. He's been targeted by false accusations before, so isn't it likely there's some spin on the story this time? (For example, is the word "n****r" used the same way in his country as it is in the US? If not, that would be one potential fact that was left out of the story. I know "cunt" is used much differently in some parts of the UK, and it would be wrong to assume "n****r" has exactly the same baggage in Sweden as in the US.)

  7. Re: Command line on Linux.com Raves About New Snap-Centric 'Nitrux' Distro (linux.com) · · Score: 1

    Type it enough, and you will pretty quickly. You should know the name of the software you install.

    Since neither my job nor my hobbies involve typesetting, and my resume is in LaTeX—I install/upgrade openoffice more often than I actually use it. I'll save my cache space for something more interesting.

  8. I never minded the indentation, except in the REPL where it just gets in the way. What I did mind was forcing every statement to be on a new line and every class in a new file, robbing me of the ability to say "this stuff isn't important, so it's squished together". For example, adding a two-line helper class to a script, which most people would just stick at the bottom of the script.

    (Note: if my info is out of date, it's been a few years since I've used python.)

  9. You might be interested in Perl 6. It's a mutt, with the pattern matching of Haskell, the the list processing of perl, the introspection of Python and Ruby, and a type system that's more comprehensive than what I've seen in any one language--yet optional, for lazy scripting when the type constraints aren't needed.

  10. Re: Command line on Linux.com Raves About New Snap-Centric 'Nitrux' Distro (linux.com) · · Score: 1

    If tab completion were good enough, I wouldn't need to remember whatever soffice is calling itself this year.

  11. Re:Just because you can doesn't mean you should... on AI Can Detect Sexual Orientation Based On Person's Photo (cnbc.com) · · Score: 1

    Bah, that's just moralizing. First of all, curiosity and the state of the art need not hold itself back because you think the questions aren't legitimate. Next, sexuality is such an important trait that you really need to know it if you're going to have really successful interactions with people. When you make an analogy referencing dating or sexual desire, you need to meet your audience where they're at. When I talk to a straight friend, I'll normalize heterosexuality, since this is our world. With a gay friend, I will not, since that world perception is not accurate anymore. Is this category only for exclusion? Nonsense. It's used for inclusion as well. (I see no reason to assume everybody is individually male/female/neither/prefer not to say, and everybody's sexual preference is straight/gay/bisexual/none/other, though some people would probably like to see a culture where I can't think in more specific categories.)

  12. Re:I had a similar problem on How One Writer Is Battling Tech-Induced Attention Disorder (wired.com) · · Score: 1

    You better get that need for "validation" out of your system, or your retirement is gonna suck.

    Another benefit of taking a step back from social media is that it let me develop more interesting hobbies, which don't have much novelty, since hard things worth doing generally don't have five-minute payoffs. The validation is there, but not like with social media. It feels fantastic when my a friend wants to buy as much of my home brewed mead as I'm willing to sell. The products of woodworking are their own reward. If only I could make working out a hobby—I still haven't trained myself to do it consistently.

  13. Re:I had a similar problem on How One Writer Is Battling Tech-Induced Attention Disorder (wired.com) · · Score: 1

    Agreed. The value proposition of sites like Reddit is all wrong. They're not real communities because the members don't know, let alone like, each other. The emotional effect of writing a comment is always negative—usually it's ignored or people don't like it, and when people do like it, you're trained to want more (because there always is a potential for more). The main benefits are indirect—since Reddit is such a stark example of what's wrong with certain types of social networking, you can gain useful mental habits such as realizing the site operators and community don't have your interests at heart. This is less true with sites like Quora where the site's focus is ostensibly on helping people, and not relevant on sites like Slashdot where the goal is learning about news and other written articles. I don't see problems like this at all on narrow-band sites like Stackoverflow, since the topics are strictly limited (you can't post just for validation), and there are strict criteria by which content is rated.

  14. I had a similar problem on How One Writer Is Battling Tech-Induced Attention Disorder (wired.com) · · Score: 4, Interesting

    I used to have a similar problem. It's why I don't use Facebook more than once a day, and I never use reddit except when I have a specific question to answer. The constant cycle of needing a spike of validation or novelty then getting bored again within a minute was driving me crazy. But I suspect my problem is more common than what the author writes about. It also sounds worse. Her problem can be solved by not picking up the phone, but the novelty addiction manifests as a gnawing addictive craving.

    I'm a lot happier now that I limit myself enough that my brain doesn't get used to that crap.

  15. Re:It's about wavelength, not brightness on Amazon Sold Eclipse Glasses That Cause 'Permanent Blindness,' Alleges Lawsuit (arstechnica.com) · · Score: 1

    But yeah, far IR is the only potential problem, since near IR hits water and turns into heat. It doesn't penetrate far enough into flesh to reach your retina.

  16. Re:It's about wavelength, not brightness on Amazon Sold Eclipse Glasses That Cause 'Permanent Blindness,' Alleges Lawsuit (arstechnica.com) · · Score: 1

    After some digging, I'm not sure. You do bring up a very good point, but I'm unable to answer whether far IR is the concern. I found this graph that shows the sun's spectral emissions in absolute radiance:

    https://en.wikipedia.org/wiki/...

    But I couldn't find a similar graph for other heat/light sources, since the ones I've found list relative radiance, which will show far IR as much larger than it actually is.

  17. Re:It's about wavelength, not brightness on Amazon Sold Eclipse Glasses That Cause 'Permanent Blindness,' Alleges Lawsuit (arstechnica.com) · · Score: 1

    Are you sure it's not IR that's the problem? The evidence for this is large. UV is easy to block--you don't even need darkened glass to protect against a welding spark--auto-darkening welding masks offer this protection even when the batteries are dead. Welding sparks generate a similar amount of UV to sunlight--both given sunburns. And welding masks don't block as much IR as glasses for looking at the sun, since sunlight gives off more IR than a welding spark (as evidenced by the lack of immediate full-body warming when you strike the arc). The final evidence for my claim is that eclipse glasses and IR-blocking glasses alike are usually mirrored with a layer of metal, and welding masks are not. Metal blocks or reflects almost all IR. Welding goggles are mirrored, since they're less dark, and are intended for lower-temperature flame welding, which produces much more IR than bright light.

  18. Have they announced a phone that won't self-brick? on LG Announces V30 Smartphone With 'FullVision' OLED Display, Dual Cameras (phonedog.com) · · Score: 1

    My first LG phone had a motherboard problem that limited it to less than the speeds of 2G half the time. I thought it was just a bad network connection, until a replacement part made it ten times faster. Since that was a Nexus, I thought I'd give LG another chance. My next LG phone died after six months due to a processor defect which is common to every handset of that model. LG wouldn't repair their garbage phone since I had no warranty. (They clearly *could* have repaired it, but wanted me to pay the price of a new phone to correct their mistake.)

    I wonder what the predictive power of LG's record of zero for two is. What's the base rate of smartphones (from all manufacturers) having serious defect that makes them unfit for general use as a smartphone?

  19. Re:Officially Freaked Out on How the NSA Identified Satoshi Nakamoto (medium.com) · · Score: 2

    In the process, they created a fingerprint of hundreds of thousands of other people for this search, so they now already have the database to compare new anonymous people to.

    Not quite. The fingerprint was based on Nakamoto's 50 most common words. You might say they created a fingerprint for every person in "Nakamoto space", but the fingerprint can't be reused to search for a person with a different set of common words. (It could, but the range would be too low--everybody would end up looking too similar.) I think you're right about them intending to reuse this technique in the future, though.

  20. Re:Woo hoo! on Scientists Finally Unlock the Recipe For Magic Mushrooms (gizmodo.com) · · Score: 1

    PMS may be a cultural symptom, not a biological one.

    I'll re-emphasize the bold text in that article: Just because something is a social construction does not mean we don’t experience it.

    If you have a problem and it's affecting your life enough that you feel you need a cure, then the causes are immaterial except where they're related to the cure. In this particular case, good luck coming up with a societal and psychological cure for PMS.

    Also, if you're thinking it's an anglo issue, you jumped the gun. PMS is a thing in China, though I don't know about the numbers.

  21. Woo hoo! on Scientists Finally Unlock the Recipe For Magic Mushrooms (gizmodo.com) · · Score: 4, Interesting

    Personally, I'm excited to see what this brings for treatment of depression and social anxiety. And maybe in twenty years, we'll come around and be willing to explore micro-dosing for medical purposes. (There is anecdotal evidence that it reduces emotional PMS to zero for a lot of women, and I'm curious what it does for those with reduced attention spans.)

  22. That's ok, I have a One plus phone. Odds are it'll reboot when I dial for the emergency services ðY

    That was fixed the same day it was reported. At this point, if you want to experience that problem, you need to go out of your way to find an old build.

  23. Re:They wont get in trouble on Google May Be In Trouble For Firing James Damore (inc.com) · · Score: 1

    It's true that shitty things happen to white people, same as black, hispanic, asian, or any other race of people. However it is important to take a step back and realize that shitty things tend to happen significantly more frequently to non-white people.

    I believe you, and it is a problem. But that doesn't negate the uncomfortable facts. For instance, if my company hired a team of 50% female developers, our product quality would go way down. Is this because of biology? No. Does that fact disprove discrimination? Also no. The numbers demand that since female developers seldom apply (for whatever reason), we would have to drop our standards if we wanted a strict 50/50 gender ratio.

  24. Re:Not entirely correct. on The Man Who Wrote the Password Rules Regrets Doing So (gizmodo.com) · · Score: 1

    Let me say first that I agree--a password that's pure lower case letters is not a strong password. But that said, it looks like the numbers you ran are contrived, and I can't tell whether you cherry-picked them to show a larger difference than is realistic. (The fact is, when I ran the numbers, I only considered printable ASCII keyboard characters.) Regardless, I think that's an artificial choice--when I decide how to make a password stronger, I think about adding 1-2 characters. I think about adding 1-2 character classes (whichever it doesn't already have among: symbols, upper case, numbers). In the numbers I ran, the difference between adding a character and adding a character class is one order of magnitude or less. And again, if your password is shitty and short, and you're only willing to make one change, adding a symbol is a better change than adding a character. Discussing different scenarios does not disprove that.

  25. Not entirely correct. on The Man Who Wrote the Password Rules Regrets Doing So (gizmodo.com) · · Score: 1

    The exponent of the equation (alphabet_size)^(length of password) matters MUCH more than the mantissa.

    I only checked for 6-8 digit passwords, but having upper case letters allows far more different combinations than adding an extra character. You're correct if you consider the small-alphabet version to already have upper and lower case letters--in that case, adding an extra character gives more possibilities than allowing ASCII special characters.