HNHacker News
TopNewBestAskShowJobs

shittyanalogy

661 karma · joined November 14, 2013

submissionscomments
shittyanalogy··on Rent Control Creates Higher Rents in SF
Rent Control is about enabling community through housing stability. Places where the housing costs have skyrocketed out of the reach of anyone but investors are also the places with the lowest community participation and highest Landlord rights. If you want to run a city where only the rich have rights then don't have any rent control. But if you rent to people who aren't rich, and then when housing goes up you try to throw them out to make more money, they're going to want to get together, contact their politicians, and secure their housing stability. Just because you want to piggyback on the poor and lower middle class to float your investment until it starts making real money doesn't give you the right to complain about the poor and lower middle class for still being there. If you consider housing in one of the densest cities in the planet to be solely for investment purposes I think you have something wrong with your moral compass.
shittyanalogy··on FAA says monetized videos shot from drones are subject to commercial regulations
FAA says monetized youtube videos shot from drones are against the law.
shittyanalogy··on Is Blockchain Really the Killer App?
In order for bitcoin to "win" it needs to get massively more valuable. Valuable enough to move the equivalent of trillions of dollars per year and users need to be able to make million dollar purchases without drastically changing it's price. Otherwise it will never be truly useful as a currency and as interest is lost and prices go down parties concerned with verifying the blockchain will become sparse and the whole system collapses, magical blockchain and all.

Bitcoin has far from "won" in the sense of a currency and if another crypto-currency surpasses it's current popularity the faith in any crypto-currency being stable enough to move trillions of dollars each year is irreparably harmed.

People raising a few thousand dollars here and there in other crypto currencies is fun but it's not only paltry and not generally useful but can easily be attributed to entertainment more than economics. Once the novelty wears off, where will crypto currency stand. That's the most important question we need to ask ourselves. All these alt-coins aren't evidence of a thriving eco-system, they're evidence of the very reason why a cryptography based currency is inherently valueless.

The blockchain cannot last without bitcoin becoming massively more valuable. Many people already see bitcoin as being too valuable and alternatives too easy to create. What needs to be done to scale crypto-currency to the level of an actual currency? Government backing?

shittyanalogy··on A summary of ECMAScript 6 features
ECMAScript 6 is a mess

Now there's a completely new function syntax that doesn't use parens and has different scope rules

    var odds = evens.map(v => v + 1);
Enhanced object literals:

    // Computed (dynamic) property names
    [ 'prop_' + (() => 42)() ]: 42
what?? So it uses parens if there are no params, but not otherwise?

Template Strings:

    `In JavaScript this is
     not legal.`
Seriously another String delimiter?

    `Hello ${name}, how are you ${time}?`
Why aren't we just using #{} like everyone else?

    // Construct an HTTP request prefix is used to interpret the replacements and construction

    GET`http://foo.org/bar?a=${a}&b=${b}...
What??

Destructuring:

    var [a, , b] = [1,2,3];
Is that seriously just whitespace and another comma?

Splats (spreads?)

    f(...[1,2,3]) == 6
... means destructure?

This is not readable code:

    let fibonacci = {
      [Symbol.iterator]() {
        let pre = 0, cur = 1;
        return {
          next() {
            [pre, cur] = [cur, pre + cur];
            return { done: false, value: cur }
          }
        }
      }
    }
    
    for (var n of fibonacci) {
      // truncate the sequence at 1000
      if (n > 1000)
        break;
      print(n);
    }

Symbols without a literal syntax: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... Jesus Christ.

Unicode:

    "𠮷".length == 2
Awesome, still wrong.

Modules are cool. Promises are cool. Tail call optimization is cool.

This is not readable code:

    // Proxying a normal object
    var target = {};
    var handler = {
      get: function (receiver, name) {
        return `Hello, ${name}!`;
      }
    };
    
    var p = new Proxy(target, handler);
    p.world === 'Hello, world!';
ES6 is a mess. Javascript just got harder.
shittyanalogy··on Sriracha CEO on why he chose not to trademark the brand
Huy Fong Foods is the brand, sriracha is the product. It's because he likes the fact that he created a new condiment and is satisfied with his current wealth and business size.
shittyanalogy··on Analysis of a Brute-Force Shuffle
You didn't cover the expected randomness of distribution of cards with each algorithm which can be the most important factor. And what does "properly shuffled" mean?
shittyanalogy··on No, More Running Probably Isn’t Bad for You
All of this, all of it, is excruciatingly stupid. There are not enough people for a reasonable conclusion, the arguing is amongst a bunch of people who don't understand statistics or that this is an extremely hard subject to study and one in which the results are very person specific.

We don't need more poorly done, argumentative, non tech related research on a news site for computer programmers.

Can we please, please stop with the diets that have only been tried on mice and the exercise warnings. None of this in informative or even interesting, it's just trash tabloids masquerading as research that's pertinent to anyone's life.

shittyanalogy··on New Hampshire Bill Backs Bitcoin for State Taxes
Can state taxes currently be pain in New Hampshire with anything other than USD?
shittyanalogy··on Why Learning to Code Is So Damn Hard
Motivation.

If you don't have the motivation you'll never be able to do it. If you can't sit in front of a computer for 8 hours a day reading documentation and hunting for syntax errors you're not going to be able to do it. If re-writing algorithms doesn't give you an intrinsic satisfaction, you're not going to be able to do it. No amount of everybody can code tutorials is going to help. They should all be, "how to find the motivation to keep coding" tutorials.

Unrelated, but related to the article, the word sociopath get's misused a lot and this article is no exception. http://www.thefreedictionary.com/sociopath

shittyanalogy··on Replace CoffeeScript with ES6
Mmmm without drastic syntax changes?

Classes:

    There is no semicolon after the function name
    The function keyword is omitted
    There are no commas after each definition
Interpolation:

    `${1 + 1}` <- why not just # like everyone else?
Multi line strings:

     ` Now we have a 3rd
       string delimiter`
Fat arrow:

    $("button").on("click", () => { 
      // really? hanging parens? no function keyword?
    });
Destructuring:

    var [first, , last] = [1, 2, 3]
    // thats a var to assign vals inside an array
    // and just two commas touching to ignore a value

The whole post is about drastic syntax changes. The brackets are optional in coffeescript.

Besides coffeescript is just a tool.

shittyanalogy··on Isomorphic JavaScript is not the Answer
"isn’t there a better way to speed up client side loads times without having to mix server side and client side code?"

You're not mixing them, you're using a javascript engine serverside to pre-run your client side js. There is still code separation and your back end doesn't have to be written in JS to accomplish this.

Separately the notion of "isomorphic javascript" if that's what it's called, is not to "mix" client and server code. It's 2 fold: 1 to take down the boundary between client and server code so that there is much re-use and code can just be "marked" as server or client only. 2) So that you can re-use many of your tools like libraries, testing, and language best practices across your whole project.

shittyanalogy··on YouTube now defaults to HTML5 video
If youtube is switching, they'll switch. Slowly, but it'll happen. Simply because the ones that do first will get more customers.
shittyanalogy··on Learn Vimscript the Hard Way
There is a difference between neovim favoring lua, and vim still existing. Plus their official stance is that vimscript is a worthy language for it's job and support for it isn't going anywhere.
shittyanalogy··on Let's stop laughing at Groupon
23 billion down to 4.9 billion...
shittyanalogy··on Evaluation of New Zealand’s bicycle helmet law (2012)
Too scared to let them because they fear physical attack? Or too scared to let them because they fear a bicycle injury?
shittyanalogy··on Gotham Air: Manhattan to JFK in 6 minutes for $99
Y'all are falling for it, this isn't an existing service, it's a hype page. The flight cost is just filler made to excite you, it will most certainly be much more, none of the links work, there is no app, no faq, no privacy policy. This isn't tech related, this isn't even a product announcement it's just straight hype advertising and y'all are falling for it. Links like this hitting the top of the front page and spurring 150 comments indicate quite comically to me the sunset of what was once an insightful, interesting technology news site.
shittyanalogy··on How to Send Postcards as Effortlessly as Email
You should send me these so I don't leak out of your conversion funnel.
shittyanalogy··on Ross Ulbricht’s private journal shows Silk Road’s birth
Someone should invent a usb dongle that detects a nearby rfid chip that you keep on your keychain. As soon as that keychain is out of range, say 5 feet, the computer locks and encrypts itself. Integrate this into the computer and you wouldn't be able to tell who has one and who doesn't. Think you're being arrested with your computer open? Toss your keys.
shittyanalogy··on Ross Ulbricht’s private journal shows Silk Road’s birth
how about an rfid device that simply locks the computer when you're more than a few feet away?
shittyanalogy··on Mockups: How Apple can catch up to Yelp reviews and Google ratings overnight
This doesn't solve any trust problems, there is still no guarantee that the ratings can't be covertly skewed. I don't need even more things messing with my text app and don't want anyone parsing my texts looking for restaurant names. My friends opinions of restaurants are not generally useful. I can't see if they have happy hour, wifi, or take credit cards with just 5 stars. Many restaurants have the same name. Restaurants are location dependent.

Ironically this would be most useful if it clicking on the rating took you to the yelp page so you could see the details, photos, menu, read reviews, and confirm that it is the actual restaurant you're talking about.

shittyanalogy··on Front End Developer – Interview Questions
It's also kind of sleazy as you're getting them to do work for you for no pay. I've been in interviews where similar questions were asked, and they had me go into more detail as I was actually solving problems for them.
shittyanalogy··on Feeling Sad Makes Us More Creative
Feeling sad can sometimes make some people more inspired. But then again so can everything else.

Creativity, inspiration and quality of art are not quantifiable. This is pseudo science backed by anecdotal evidence wrapped in an emotional swaddling blanket.

shittyanalogy··on Suspended jaccuzzi
Some people do things. Some don't. Do you do things?
shittyanalogy··on A 12-Hour Window for a Healthy Weight
Cool, another useless diet article:

"Scientists, like mothers, have long suspected that midnight snacking is inadvisable."

"began experimenting with the eating patterns of laboratory mice"

"Precisely how a time-based eating pattern staved off weight gain and illness is not fully understood"

"To date, Dr. Panda’s studies have been conducted with only mice"

shittyanalogy··on How the Camera Doomed Google Glass
Including a camera also made it hard to see past the camera. The only think people would ever talk about is the camera, and argue about whether people should have a camera on their heads, wonder if they would want to use a camera that way, tell people to take it off because of the camera. If there was no camera, I wonder what aspects of it's technology would have been the focus of discussion. Then again if there was no camera, would it have even appealed to people in the first place?
shittyanalogy··on Bitcoin plummets 32% in two days, threatens mainstream adoption
2.7 billion market cap, not available to you. Say you needed to make a $10,000+ purchase. If you can't buy or sell that much bitcoin without considerably altering it's price it becomes a hassle of a currency.
shittyanalogy··on New, more powerful Google Translate app
You can download the language for offline usage, at least in android
shittyanalogy··on Bitcoin plummets 32% in two days, threatens mainstream adoption
Yahoo is doing just fine
shittyanalogy··on Bitcoin plummets 32% in two days, threatens mainstream adoption
If the value of bitcoin is so low that you can't buy enough of them to pay for your purchase without drastically changing the value of the currency then they're not particularly useful as a method of payment.
shittyanalogy··on NW.js
the logo is a combination of webkit's and node's.
Page 1 of 8Next →