shittyanalogy

Joined 13 years ago

Karma
661
Submissions
245
Member since
Nov 14
View on Hacker News

Recent submissions

Comment · 11 years ago
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.
Comment · 11 years ago
FAA says monetized youtube videos shot from drones are against the law.
Comment · 11 years ago
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?

Comment · 11 years ago
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.
Comment · 11 years ago
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.
Comment · 11 years ago
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?
Comment · 11 years ago
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.

Comment · 11 years ago
Can state taxes currently be pain in New Hampshire with anything other than USD?
Comment · 11 years ago
Comment · 11 years ago
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.

Comment · 11 years ago
"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.

Comment · 11 years ago
If youtube is switching, they'll switch. Slowly, but it'll happen. Simply because the ones that do first will get more customers.
Comment · 11 years ago
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.
Comment · 11 years ago
23 billion down to 4.9 billion...
Comment · 11 years ago
Too scared to let them because they fear physical attack? Or too scared to let them because they fear a bicycle injury?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton