HNHacker News
TopNewBestAskShowJobs

spinlock

1,333 karma · joined March 21, 2008

submissionscomments
spinlock··on Program your next server in Go
Personally, I think "cowboy coding" is the best derogatory name for this. IMO, what all of these ninjas have in common is that they don't realize that software development is a team exercise. Berkeley did a study on BSD and found that a file was opened 10x more often for reading that writing (i.e. people read code 10 times for every time they make a change). To my mind, "cowboy" conveys the proper amount of ignorance of the other people on your "team."
spinlock··on Angular Material 1 will enter a maintenance mode
This is just going from version 1 to version 2. It's not like the new framework[1] that's replaced React. /s

1: https://github.com/developit/preact

spinlock··on Angular Material 1 will enter a maintenance mode
Google does expect you to put in a lot of continuing effort to use their APIs as well. I suspect this is deeply engrained in their culture.
spinlock··on Thiel shows why tech billionaires are the new robber barons
Or, you could spin this as ethical investing. Presumably, Thiel backed Hogan with an expectation of being compensated if Gawker lost the suit and had to pay damages. So, from an investment perspective, this was a good deal that paid off. It also punished a bad actor that invaded a celebrities private life. Smells like a win-win to me.
spinlock··on Web Storage: the lesser evil for session tokens
I'm not using fastboot (just not worth going from rails to node in our use case) but if you have set that up, won't all of your users see a non-js website before they see your js website?
spinlock··on Michael Dell Bought His Company Too Cheaply
That is the greatest rebuttal of all time. There's no way I'm going to read that page so, instead, I'll just thank you for your diligence and be on my way.
spinlock··on Michael Dell Bought His Company Too Cheaply
because you aren't a qualified investor and the SEC mandates certain obligations that the company must comply with to have you as an owner.
spinlock··on Web Storage: the lesser evil for session tokens
I'd argue that there's a resurgence in non-JS web sites due to server-side rendering. React and Ember both support this really well at this point. So, you'll actually get a non-JS view of your SPA then progressively enhance this with JS.
spinlock··on React Tutorial: Cloning Yelp
I prefer mocha to qunit and I'm a fan of coffeescript (ES6 can wait. I love the existential operator). My company had made a few decisions before ember-cli that weren't on the Ember Happy Path. I've tried to stick to those decisions to avoid making people learn a different stack. It's not that easy to rip and replace pieces of Ember.
spinlock··on React Tutorial: Cloning Yelp
This is why I like Ember: you get setup in 2 seconds. Sure, I don't like all of the decisions they've made in the framework but it does work really well out of the box.

I think having a cli will become standard for JS frameworks. You just need to have the batteries included to capture the newb mindshare.

spinlock··on React Tutorial: Cloning Yelp
The problem is working with fanboys who refuse to use the tools that you've spend a year or two investing in. When the people you work with throw away your projects every couple of months, there's nothing you can do to keep using what works.
spinlock··on React Tutorial: Cloning Yelp
We started a brand new project in Ember (our second Ember project) in December; launched it in January. We've now started another project in Untangled because nobody wants to work in Ember anymore (apparently, it stopped being cool last year).

So, yes, this actually happens and it's incredibly painful for those of us who want to build a business not throw everything out and start over every few months.

spinlock··on Show HN: Dead Yet? – Keep an eye on dying startups
I think the difference is public vs private money. If we are in a bubble (which I'm not sure of but let's assume yes for the sake of argument) the investors that stand to loose their capital are all "qualified investors." There are few public companies that are "frothy" this time. Personally, I think the fact that the public markets appear to still be functioning well is _why_ few startups are going for IPOs.

Of course, if startups do start to IPO and the public markets catch the over-valuation bug, then we could see a repeat of 2000. Barring that, I think a correction would not infect the markets at large and may drive more capital into the public companies that are not over valued.

spinlock··on Sam Altman's Bubble Talk Bet Is 1 Year Old
It's not a claim. It's a bet with $100,000 backing it.
spinlock··on Ruby has been fast enough for 13 years
> For my part, high performance means peace of mind. I can write my application more quickly, using brute-force algorithms and other quick implementation tactics. I can tune my application later, if and when the need arises.

This is funny. The only think I like about writing VBA plugins for Excel is that I get to put my algorithms hat on and go for the optimal solution. I remember bringing one implementation from O(n^2) to O(nlgn) and being blown away by how much better the performance was.

spinlock··on Ruby has been fast enough for 13 years
exactly. Rspec/rails is my favorite vim plugin but I really hate the time I spend waiting for the spec to run after I've typed \s (note: that's the actual key sequence not an indication that I'm being sarcastic).
spinlock··on Ruby has been fast enough for 13 years
Maybe I've missed the meme that Ruby isn't fast enough but I've always found the ability to easily write my tight loops in C and compile it as a Ruby module to make Ruby a go to choice _for_ high performance.
spinlock··on Facebook relies on editors' judgment for trending news feed, documents show
HN editorializes much more than Facebook.
spinlock··on Facebook relies on editors' judgment for trending news feed, documents show
Are you claiming that Facebook was responsible for the "free speech zones" that silenced our protest against the march to war in Iraq?
spinlock··on Facebook relies on editors' judgment for trending news feed, documents show
Do intelligent people believe this? That's as nieve as thinking hacker news' front page is determined solely by the up arrow. Or that product hunt isn't controlled by insiders.

Children believe in Santa Claus and the Easter Bunny. Is it shocking that they're wrong?

spinlock··on PictureSwap: Upload a picture to discover what the last visitor uploaded [nsfw]
Why is hackrrnews linking to a site with porn ads?
spinlock··on Senator Seeks Answers from Facebook on Political Censoring Allegations
Only as part of an organized millitia.
spinlock··on Creating a Redis Module in 15 Lines of Code
I was talking more of my experience than C projects in general. However, I'd expect a smaller percentage of C projects to support modules compared to Ruby given the differences in the language.
spinlock··on Creating a Redis Module in 15 Lines of Code
The only other C project I know of with a module system in Linux. I've actually found that Linux modules make development _much_ easier because you can isolate your code from the rest of the Linux code base. Of course, the last time I was professionally developing with the Linux kernel, git hadn't been invented yet and you really couldn't keep the entire kernel in version control without going insane. So, maybe things are different now.
spinlock··on Creating a Redis Module in 15 Lines of Code
What projects are people using Redis for? I'd love to know how others are using Lua or plan to use the new module system specifically.

We're using redis as a queue (Sidekiq) and also to store the index.html page for our SPA. We have an "active" key in redis and its value is the key for the current index.html. This let's us push new versions of our app into redis (each generation of our asset files has a unique name so a new index.html gives you a new version of the SPA). We can then add a get param to our URL and pull a specific version of the index.html out of redis. Once we've smoke tested, we update our "current" value to point to the new index.html and, boom, zero downtime deploys.

What's your story?

spinlock··on Senator Seeks Answers from Facebook on Political Censoring Allegations
I'm confused. Are corporations only entitled to 2nd amendment protection when we're conflating money with speech or does it also count when it's actually speech?
spinlock··on Today I accept that Rails is yesterday’s software
Pheonix looks promising. It's basically Erlang on Rails.
spinlock··on Ted Cruz Ends His Campaign for President
There are 3 main areas as I see it: healthcare, foreign policy and rebuilding NYC after 9-11.

On healthcare, she was influential in getting SCHIP going (after the Clinton administration took a huge hit for pushing for universal healthcare). That expanded coverage to millions of low income children. I used to live in Vermont and I've voted for Bernie ... but ... he's never secured healthcare for anyone. Then, there's the Pediatric Research Equity Act which she authored. It requires drug companies to study their products in children.

Next is foreign policy. Clinton authored the sanctions against Iran and got China, Russia, and the EU to support them. That's after 8 years of Bush that alienated the US in the international community. US exports to China also increased by 50% when she was Secretary of State. And, she was also influential in the work that finally got Osama bin Laden.

And, we can round this off by noting that, as NY Senator, she secured funding to rebuild NYC after 9-11.

spinlock··on Ted Cruz Ends His Campaign for President
I like Hillary because of HillaryCare. It's what we used to call ObamaCare when Hillary was laying the groundwork for the ACA. I also don't care what she says; I'm looking at her accomplishments.
spinlock··on Catching a Flight? Budget Hours, Not Minutes, for Security
This is why we need a guaranteed minimum income. Hopefully, TSA screeners would stop showing up to work.
← PreviousPage 8 of 22Next →