HNHacker News
TopNewBestAskShowJobs

chilldream

388 karma · joined August 3, 2013

http://chill-dream.com
submissionscomments
chilldream··on Do I Really Need a Programming Language?
I started Learn You a Haskell a couple days ago on a lark and I'm also loving it. I've also heard a lot of praise for Real World Haskell which I plan to look at next.
chilldream··on Citibank India wants credit card, bank account numbers to stop marketing emails
As someone who gets hit by reverse identity theft[1] regularly, I'm convinced that requiring anything other than "proof that the email address is actually yours" makes you scum. If your only point of contact with a customer is an email address that isn't actually theirs, they aren't getting your communications anyway. And with that, I'm off to call a hospital I've never been to because they don't even have an unsubscribe link or any email point of contact at all.

[1] http://xkcd.com/1279/

chilldream··on Sherlock Holmes Is in the Public Domain, American Judge Rules
> Authors have the legal right to go after fans, but choose not to?

This is actually pretty much exactly how it works. Fan fiction is generally a "derivative work" but most creators and publishers realize that there is no real incentive to go after most of it, and a serious disincentive in the form of bad PR among the exact groups of people who are already buying their stuff.

chilldream··on User Culture Versus Programmer Culture
Teaching Shakespeare should only happen with students who are already literate. This discussion is about people who are learning to read.
chilldream··on Sorry, RSA, I'm just not buying it
It seems to me that she addressed those exact concerns:

> So, yes, it is possible that, in 2004, nobody at RSA had any articulable suspicions about Dual EC. They may have taken it on faith that this was another DES situation where the NSA knew it was better but couldn't disclose why. Okay. Is that fair? I think that's fair.

> If that were the end of the story, I would be standing here saying “poor RSA! How cruelly the NSA mistreated them!” But, guess what, it isn't. In 2007 the possibility of a backdoor was made very public, and after that “everyone knew” not to use it. None of us knew for sure it was backdoored (even if some people retroactively pretend they did) but that was kind of a crazy risk to take when there were other RNGs to pick from with no known risks and were faster to boot.

chilldream··on YouTube Blocks Game Videos, Industry Offers Help
Nintendo is and has always been an outlier when it comes to clamping down on "their" IP. This is the company that tried to sue Blockbuster for renting games (the fallout from this suit is why rental games didn't come with the official manual). They also tried to sue Game Genie out of existence. If you were bothered by the Super Mario JavaScript thing or Nintendo leading the charge on this YouTube drama, it's nothing new.
chilldream··on YouTube Blocks Game Videos, Industry Offers Help
Some people on YouTube play entire video games start to finish without even adding any kind of commentary. On the other end of things, you have things like some of the stuff mentioned in the article, or that TotalBiscuit/Garry's Incident blowup in which a company was clearly just trying to squelch negative reviews. The latter is clearly fair use, while the former is at best a very grey area.

While there are some games where videos are clearly not a substitute for playing the game (puzzle games, multiplayer games), there are others where they might be (low-difficulty games with a lot of FMV cutscenes)

chilldream··on Why I won't do a startup and (probably) neither should you.
There's an old legend about an artist (I want to say a musician) that took the same tack: if anyone asked him if they should try to go pro, he said no. He figured the people who should wouldn't take his advice.
chilldream··on FuckIt.py - The Python Error Steamroller
The fuckit context manager is actually pretty close to a real feature in Python 3.4:

https://github.com/davidhalter/jedi/pull/202

chilldream··on Chain of fools: Upgrading through every version of Windows
sologrrl: You seem to be hellbanned (I looked through your comments and didn't see anything objectionable, so I guess you tripped something automated)
chilldream··on Scala – 1 Star – Would Not Program Again
> most unexpected behaviour in js comes from people not knowing the language

Isn't this just a rationalization? Any unexpected behavior is by definition something the user didn't know to expect.

chilldream··on Why Hacker News should use a different Deterministic Algorithm, Not a Random One
imo the best argument for randomized algorithms is that you may want to show more "underexposed" articles without seeing all of them.

The issue with deterministic algos is that you basically have two options:

- Treat new things as guilty until proven innocent and don't push them to the front until they get votes. This is the current approach here.

- Push new things without "enough" votes to the front. This makes the front page almost all new items, invites spam, and generally defeats the purpose of a sorting algorithm.

The problem here is that you're necessarily combining both the act of "learning" article quality and the act of exploiting it, which necessarily makes at least one of those tasks suboptimal. One advantage of randomized algorithms is that you can add a third option:

- Show just enough underexposed articles to gather evidence (votes) without polluting the front page too much.

chilldream··on Linux Mint 16 "Petra" MATE released
MATE is the most popular Gnome 2 fork for people who hate GNOME 3. Cinnamon appears to be an attempt to adopt some of the good qualities of Unity but without the drawbacks.
chilldream··on Writing a Program in Pokemon Blue
I love these.

https://www.youtube.com/watch?v=ALFvB-UWaxg (Chrono Trigger in less than 4 minutes)

chilldream··on Writing a Program in Pokemon Blue
It's neat how many glitches people have found in these particular games. A couple other Pokemon "arbitrary code" hacks (in the Yellow version):

http://www.youtube.com/watch?v=3UnB1fomvAw (Pi day celebration)

http://aurellem.org/vba-clojure/html/total-control.html (proof-of-concept for a clojure-to-pokemon-to-assembly compiler)

A "normal" playthrough in which the author shows off various glitches (most without any kind of cheat device): http://lparchive.org/Pokemon-Blue/Update%2001/

chilldream··on Choosing Scala

    scala> 5 + "5"
    res0: String = 55
chilldream··on Choosing Scala
You start with an integer and end up with a string. The intermediate steps required to get from one to the other aren't particularly relevant to the point I was making.
chilldream··on Choosing Scala
The thing is, it's not just an overload; it's an overload and a typecast. Those are two separate questions, and OP is really complaining about the typecast, not the overload.

The ints vs. floats thing is kind of a red herring. In that specific case, at least you're still talking about numbers. The argument against having contagion for 5 + 5.5, and overloading for "5" + "5.5", but throwing an exception for "5" + 5.5 is that the first is a pair of numeric types, the second is a pair of strings, but the third is a pair of unrelated types. You can say white is lighter than black, and a feather is lighter than an anvil, but you can't say that white is lighter than an anvil because that's nonsense.

Incidentally, this is why, say, Python and Ruby (and I imagine Lisp) people insist upon the distinction between dynamically typed and weakly typed. If I fire up a node.js repl, I find that '50' + 5 is '505', but '50' - 5 is 45, and am reminded why JavaScript drives me nuts. In the extreme you get things like [this](http://phpmanualmasterpieces.tumblr.com/post/33198366857/lay...) and [this](https://www.destroyallsoftware.com/talks/wat). I realize that Java probably doesn't do anything near that bad, but the point is that it's a question of balancing convenience vs. error prevention, and that we're talking about a very strictly-typed language which will naturally attract people who tilt toward wanting the error detection, and even dynamic languages that swing the other way on most things often find that you don't need to make your math operators cast numbers into non-numeric types (and risk the resulting runtime errors) to have convenient string handling.

In fact, I think Ruby's string interpolation is actually a better syntatic sugar than Java's `+` cat overload. Consider that I want to print a string along the lines of "1 + 5 = 6" but with arbitrary integers. Here's how it might look in Ruby:

    puts "#{x} + #{y} = #{x+y}"
It's hard to imagine a syntax much better than this, especially for short strings, since the shape is basically identical to the string it's creating.

Python 3 is less pretty, but still reasonable:

    print("{} + {} = {}".format(x, y, x+y))
    print(x, "+", y, "=", x+y)
Meanwhile, neither Ruby nor Python makes you declare types as a rule. In fact, one of the non-backward compatible changes in Python 3 was to make it so that 1/2 returns .5, since that's how numbers work and it's probably what you meant (there are still ways to specify integer division if you want). However, in either language, if you write "5" + 5, they will raise a ValueError because that doesn't actually mean anything, is likely to be a bug, and is always easily rewritten in a concise but less ambiguous way. Speaking of which:

> have no potential to mean something else than what the programmer meant

is just false. There is a very obvious way for it to mean something other than what the programmer wanted: When the programmer forgot to cast a string to a number and tried to add it to a number. This is particularly a risk in dynamic languages or those using type inference (it's harder to pull off in languages where you have to explicitly declare all your variable types, which may make it a non-issue in Java speficially).

chilldream··on Choosing Scala
The issue isn't what `print` does. It's what `"5"+5` does. Even Ruby and Python throw a ValueError there.
chilldream··on Utah Couple Fined $3,500 by Online Merchant KlearGear for posting bad review
There's only so much oversight such a bureau can have, especially if a company is willing to lie to them. According to Popehat, they've also done things like falsely list positive BBB ratings on their website, so it's not hard to imagine them coming up with some way to pretend the charge is legitimate.
chilldream··on YouTube Addresses Massive Spam Problem Following Rollout of Google+ Commenting
Here's a non-exhaustive list of annoyances just off the top of my head:

- The site uses a lot of JavaScript but seems to assume everything will be loaded immediately. I've had days where my connection is slower than usual and the page looks like it's loaded even though it hasn't. The worst part is that the links are some of the last things to load, and the "everything in a tiny box" layout means I can't actually do anything meaningful without clicking a link.

- The site puts everything in tiny boxes and assumes that you want to view everything in that same tiny box. Actually, maybe they've eased up on this lately and I just looked and it doesn't seem as bad as it used to be, but clicking on a YouTube video in my notification feed still plays the video in my notification feed, which is brain-damaged.

- I thought the two-column layout was a ludicrous waste of space (and it confuses me anyway because there's no obvious pageflow), so I switched to the one-column layout. The one-column layout uses the same column width as the two-column layout.

- The sidebar on the left is apparently engineered to be as confusing as possible. It's autohidden even though it could be visible if the overall layout didn't have so much gratuitous blank space. The way you get to it is by hovering over what looks like a dropdown. If you mouse over to what looks like a dropdown and immediately click it before you realize that the UI is lying to you and it's not a dropdown, you'll accidentally go "Home" because that's what appears under your mouse. Even if that space said something else before you moused over it! (FWIW, Facebook isn't too wrapped up in their own cleverness to realize that maybe a sidebar should just be a sidebar)

- I was about to say that the site may be optimized for mobile at the expense of those of us using computers, but the iOS app isn't better. I haven't used it in awhile and have apparently blocked it out of my mind, but it's annoyed me in some way nearly every time I've used it, and in fact I have a notification that I'm not getting rid of right now because it would require me to use the stupid thing. Yeah, I realize they probably put more work into the Android app for obvious reasons, but c'mon (I guess it's better than the YouTube app, which I deleted after discovering that it apparently only wanted to play videos in portrait orientation, upside-down)

- A regular occurrence: "You have X notifications" (click notifications feed) "Please [link]sign in[/link] to view your notifications." The link doesn't work. In fact, no joke, this just happened, just now: Sign into YouTube from being completely signed out. Click notification feed. "Please [link]sign in[/link] to view your notifications." The link doesn't work.

- Speaking of YouTube, someone had the bright idea that there should be no character limit on posts, but that the only collapse link should be at the bottom of the post. "Just enough text to trigger an expand link followed by the full text of a public domain novel" is now the funniest troll I've ever seen.

- I started using my G+ account for real because of one community. It's literally the only thing I'm ever interested in when I visit the site. The first five or six times at least I couldn't figure out a better way to find the community than typing its name into the search bar. Even though I was following it and it was the only thing I was following. After that my desperate ad-hoc fix was to unsubscribe from all the autogenerated "What's Hot" type garbage figuring that at least one post from that community would be in my feed.

- I can't find a "no, I will not spam all my friends, stop interrupting me every time I log in with a full screen splash page to ask me you jerks" button

(FWIW, I used Hangouts recently and I actually liked it. In fact I had to use it all of once to prefer it to Skype. That's the worst part about this G+ fiasco; it's not just that I think G+ is bad, it's that Google's insistence on equating "unified login" with "Facebook knockoff that you will join or else" has singlehandedly caused me to hate the company to a degree that even I wouldn't have expected a year ago. I actually think it's too bad that Google's worked so hard to turn themselves into an anti-brand.)

chilldream··on Will online classes make professors extinct?
Completion rates are a red herring for a variety of reasons. The biggest is the total lack of risk inherent in joining a free class with no transcript. In college you should be more conservative about enrolling for classes because you can ruin your academic record or waste money, and you also often have degree requirements and schedule conflicts to worry about. With MOOCs you might as well join whatever you're even half-interested, even joining more classes than you can possibly realistically complete and finish whichever ones seem the most promising after a "trial period".

Generally speaking, for any system, reducing the cost of failure will make the failure rate go up.

chilldream··on How Python became the language of choice for data science
I recently saw this (which goes into far more depth): http://www.talyarkoni.org/blog/2013/11/18/the-homogenization...

Summary: "Constantly switching languages is a chore, and while Python isn't the best at everything, it's the best at some things and good enough at almost everything else."

chilldream··on Automattic sues, strikes back at fraudulent DMCA takedown notices
Some added commentary from a lawyer:

http://www.popehat.com/2013/11/21/wordpress-goes-on-the-offe...

chilldream··on High Frequency Dating
> Right but the use of men by women is almost always negative and dehumanizing.

I'm 30 and I haven't seen this be the case anywhere ever.

I have encountered some people who condescendingly use "boys" when they want to disparage adult men. It's always bugged me even when I was a teenager, although for some reason all the gay men I know use it. I think a similar dynamic exists with women and "girls".

I find myself using "female" occasionally, not to refer to women I would date but because English doesn't have another good word for "feminine humans of an indeterminate age". I occasionally use "chicks" for similar reasons.

chilldream··on Ask HN: Google employees, why is G+ more important than your users?
BTW I have my own story about this.

I actually have two Google accounts, my "real" one and the one I use to joke around on video game clips on YouTube. When Google strongarmed the second one into g+, I knew that even if I decided I wanted g+ for some reason, I would never, ever, ever want a g+ page on that YouTube account.

So imagine my surprise when I received an email beginning:

"This email was sent to you because you indicated that you'd like to receive Google+ Pages performance suggestions and updates"

Go to Hell, Google. I asked for no such thing, and if you somehow tricked me into accidentally not opting out of any such thing, you can still go to Hell. So if anyone says g+ tricked them into something, I'm going to believe them barring hard evidence to the contrary.

chilldream··on Dear Googles: G+/YouTube Anschluss – you've done outed me
Man, I didn't.

Did you notice that if you get a notification about a video, and then click the notification to watch it, the video continues to play in that dinky little notifications feed taking up like 1/5th of the screen at most?

Did you notice that if you change your layout to single-column, the column is the exact same width as each column was in the two-column layout?

I use G+ for one community. I regularly can't find that community from the main page and have to type its name in the search box.

I can't talk about the new Gmail interface because I swore that off a long time ago.

chilldream··on Ask HN: Google employees, why is G+ more important than your users?
So I guess you also missed the part where her comment showed up on her real name and it surprised her?

(and let me ask in advance not to give me that "she may have accidentally clicked some button on one of those popups and given permission" crap. That's like seeing the vampire's fangs in someone's neck and saying "But you invited him over for dinner!")

chilldream··on Ask HN: Google employees, why is G+ more important than your users?
You'd think they'd have learned from that woman whose info got sent to a stalker ex by the Google Buzz account she didn't want.
chilldream··on Ask HN: Google employees, why is G+ more important than your users?
When I looked at the Google+ account I didn't want or ask for, the default picture was from an Orkut account I signed up for on a lark before Google bought them.

I don't think some people in this thread understand that having something stored on the Internet, and having it be public, and having it to be tied to other public identities, and those identities being tied to your meatspace identity are four different questions.

← PreviousPage 4 of 6Next →