HNHacker News
TopNewBestAskShowJobs

corwinstephen

682 karma · joined April 24, 2012

www.stephencorwin.com
submissionscomments
corwinstephen··on Delegated Types in Rails, handling models with overlapping attributes
specs--it's basically the same question as with changing the structure of any db table. How do you know some code doesn't rely on it?

We also use/love this gem https://github.com/scenic-views/scenic to version our views

corwinstephen··on Delegated Types in Rails, handling models with overlapping attributes
Whoa, cool feature I hadn't heard about. Good to know!

Another approach to this problem I've used in the past is Postgres views, which basically let you create a third table that's either materialized (constructed in advance) or generated on the fly and has columns based on transforms of the first two tables. So in this case you could create a Post model backed by a view table that pulls in the names and other metadata it needs from the text and video tables and merges them into columns that function as a third table in the eyes of the Post model. But there's no actual duplication / denormalization happening, which keeps things clean..

corwinstephen··on Ask HN: Have you been laid off?
I spent most of the last 4 years running a startup that has proven to be the steepest or uphill battles. Struggling to find investors willing to take a chance in our space vs the trendier ones, struggling to convert slow moving clients, struggling to find engineers willing to work in our very unglamorous niche.

We’re a platform for designing and managing digital government processes for permitting and licensing.

After for years of pain, struggle, and doubt, we’ve had more inbound interest this week than ever before, and I feel incredibly lucky to have landed in that small number of startups.

corwinstephen··on The Next 10 Years Will Be About “Market-Networks”
Yeahhhhhh I'm not so sure
corwinstephen··on Ask HN: What has the past 12 months taught you?
Best part is, it doesn't even have to be something new or innovative. Even spending time creating a really excellent meal is rewarding.
corwinstephen··on Reddit just passed Facebook as #3 most popular website in US
Though it certainly isn’t a perfect solution for all use-cases, I think the comment system is so incredibly useful for the things it does well that it’s worth dealing with it’s issues. Key example for me is getting answers to questions without someone’s personal bias / agenda leaking through. Five years ago if I had a question about, say, which vitamin supplement brands are good quality, I would have googled it and imply clicked on one of the first few links. In all likelihood that would have led me to a blog post written by one single person making recommendations based on who pays them affiliate dollars. THese days though, I do the same search, but I append “reddit” to the end of the query. Invariably someone has already asked the same question in a subreddit, and the first comment is an answer that survived the onslaught of downvotes that come from spam, bias, etc.

It’s not a perfect system, but it’s loss better than the next best option.

corwinstephen··on Traffic flow measured on different 4-way junctions [video]
Yup. I'd also like to see a couple other figures alongside traffic flow like, "total square footage of structure", "collision rate", and "number of displaced residents."
corwinstephen··on Show HN: CityGrows is a transparency platform for government processes
Thanks!
corwinstephen··on Get away with Google Flights
I've been using Google Flights for over 2 years. Why is it just now getting announced?
corwinstephen··on Show HN: StoreDirectory. It's what it sounds like
Haven't posted anything here in a while. Here goes nothing.

I recently discovered a new businesses in a mall near my house that I never used to go to because I thought nothing was there, which immediately made me wonder what else I was missing at the place. I googled the name of the mall, but of course nothing came up.

It occurred to me that most shopping centers and malls (especially ones of the strip variety) probably don't have the money to build themselves a website, despite the benefit. Huge, well-known malls of course have their own custom sites with built in directories, but that leaves out the little guys.

I also figured if people are listing their businesses, they could also benefit from listing the empty space they're looking to rent out. StoreDirectory lets them do that, and then lets people looking for space search for it by location and square footage. Assuming people take to it, there's obviously many more search params to be added.

Anyhow, that's my pitch. It's pretty simple, but I have an inkling that people might find it useful. Thoughts?

corwinstephen··on You Don't Need JQuery
This guy's argument is strikingly similar to that of the one made by those people who are anti-Apple, despite the fact that working with Apple products is a commonly pleasant experience, simply for the fact that they're Apple.

Just because a lot of people use something that they're not being forced to use doesn't necessarily mean that they've been "tricked" into doing so.

corwinstephen··on ASK HN: Any Hacker Newsers in Stockholm, Bergen, or Copenhagen?
Hey there! Tonight happens to be my last night in Stockholm, as I'm leaving for Bergen tomorrow. I don't have any plans though. What part of town are you in?
corwinstephen··on ASK HN: Any Hacker Newsers in Stockholm, Bergen, or Copenhagen?
If only I'd known!
corwinstephen··on Why Startups Need to Focus on Sales, Not Marketing
Even though I agree, this is a combination of baseless speculation and pontification which I find to be obnoxious.
corwinstephen··on The crushing lameness of April Fools Day on the Internet.
Little do we know, this entire post is an April Fools joke. Better not agree with the guy, or you're in for a world of trouble tomorrow!
corwinstephen··on How not to write an API
Rails + Devise = answer to all these problems.
corwinstephen··on Show HN: I made an HN for the financial industry
At the expense of a few rep points, this site is going to fail not because it isn't a good idea, but because finance people are just so frequently miserable human beings.
corwinstephen··on Hyperloop
For 300 miles? Or are you proposing spacing hubs out along the journey, in which case, wouldn't frequent reconnection be an issue?
corwinstephen··on Hyperloop
Are you? I wouldn't rule it out, but personally I think getting an outside signal into a sealed capsule which is moving so rapidly that it must use battery power rather than a physically connected power source seems more than trivial.
corwinstephen··on Show HN: I built an urban development tracker for Los Angeles
I live in downtown Los Angeles, and I built this site out of my own frustration with not being able to find a cohesive way to learn about and keep up with all of the city projects and developments happening around me. Problem is, I'm not content with the way this first iteration came out, and I could use some help.

My ultimate goal is to build a service that's fully integrated into the city, in such a way that new buildings, businesses, and projects are not only fully documented with everything you would want to know about them, leaving behind a timeline for posterity as they progress, but also so that the purposes of those buildings are well-categorized. New apartment building? Here's when it'll be done, what amenities it will have, and how you can apply to live there. New bar going in in that building across the street? Here's a community where people can discuss its impact on the rest of the neighborhood.

The problem is, I haven't quite managed to settle into a solid structure yet. My initial thought was to have everything be user submitted, but I'm wondering whether things like building information might be better managed by an admin. On the flip side, construction photos are obviously something more suited to come from the public.

In short, to anyone out there that likes urban development, I ask you, would you use something like this? And if not, what can I improve in order to become something that you WOULD use?

corwinstephen··on How 'One Weird Trick' Conquered The Internet
The culmination of this article was just as obvious and unsurprising as the very ads it describes.
corwinstephen··on Self-Destructing Cookies – add-on for Firefox
Clever idea... makes me wonder why no one came up with this in the past?
corwinstephen··on Instagram Video and the Death of Fantasy
I can partially agree with you here; The way we perceive the present is certainly not the way it comes through on camera. However, I don't believe that adding a filter to an Instagram photo brings the photo any closer to the way we experienced that moment either. People slap filters on photos to give them an artsy touch and to make their lives look like something to be jealous of when the photo shows up on some social network's news feed.

So yes: if someone were able to devise a way of capturing memories that could be played back the way the really felt, that would be ideal. But since we can't, I'd rather see that event as it was than distorted in some mostly random direction.

Having said that, this is not me taking a swing at Instagram. I think it's a great product, and I have a lot of fun with it. I'm just saying that the author's logic train here is rather faulty.

corwinstephen··on Instagram Video and the Death of Fantasy
So basically this guy is saying he'd rather remember his life as a distorted story that airbrushes away reality in order to embellish an element of perfection that never actually existed than as the actual real-life moment he experienced. Sounds strikingly similar to:

-Brave new World -The Matrix -The Truman Show

and all those other "is a fake bliss bliss nonetheless" type stories.

This guy took the blue pill.

corwinstephen··on Sales of George Orwell’s ’1984′ up 69 percent on Amazon
There's also my personal favorite, "A Nice Cup of Tea."

http://www.booksatoz.com/witsend/tea/orwell.htm

corwinstephen··on Obama, NSA, Verizon and DoJ sued for $3B over PRISM
Somehow I have a feeling jemfinch really didn't know that was his middle name.
corwinstephen··on LinkedIn: The Creepiest Social Network
I'm sure this is the case. They probably keep track of all the accounts that have been logged into from your computer via a cookie, and then suggest friends based on those accounts. Creepy, but understandable.
corwinstephen··on I Am a Bad Developer
I once had an interview in which I solved the entire esoteric question with relative ease, and then proceeded to entirely forget how Ruby's block syntax worked. Literally couldn't figure out how to use max_by. The dear in the headlights syndrome happens to a lot of us, and when it does, it really makes you feel stupid. Trust me, you're not the first person in those shoes. You WILL find a job, and over time your confidence will be renewed. In the mean time, why don't you take some contract work? There are always just-starting companies out there who barely even know what they're looking for. I can almost guarantee you'd be able to be of service to them.

Keep us posted my friend!

corwinstephen··on In 1897, a Bicycle Superhighway Was the Future of California Transit
Thanks for that video. Really cool to see what they've done!
corwinstephen··on Experiment in paying villagers in India an unconditional basic income
I'm in love with this idea, but I'm concerned that it wouldn't work on a grander scale. If everyone in the country had the same basic income, wouldn't the cost of goods and services naturally rise just high enough that the basic income becomes negligible? If I were a land lord, my first thought would be, "Okay, so since everyone is now making $300 rupees/month more, I'm just going to raise the rent by $300 rupees." I feel like it only works in the experiments because the BI group still interacts with the non-BI group.
← PreviousPage 2 of 6Next →