HNHacker News
TopNewBestAskShowJobs

secoif

840 karma · joined April 19, 2011

submissionscomments
secoif··on Google Apps drop support for IE9
Sounds like your company has far bigger issues than people sharing confidential information.
secoif··on CSS “px” is an Angular Measurement?
right. looks like this one is debunked.
secoif··on Riot.js 1kb client-side MVP framework
> No "Backbone way", "Angular way" or "Ember way". Frameworks come and go but classic programming skills are forever.

Finally somebody gets it. Building on top of some giant abstraction over abstractions is not an investment in the future, it's just a timebomb of technical debt. The landscape changes so fast the ability to easily replace a tool is a very desirable feature. This author has the right attitude, everyone else seems to be going around with blinders on, searching for a silver bullet.

secoif··on Learn Node.js The Troll Way
Agreed, but it'd be different if this was aimed at seasoned developers, but it's aimed at beginners, as such, it's irresponsible.
secoif··on Learn Node.js The Troll Way
> possibly be OK in nodejs but is not OK in the browser.

I think you've got that around the wrong way. It's more of a problem in node/browserify because you're typically working with very many more 3rd party libraries.

secoif··on Learn Node.js The Troll Way
He/she should have just used a regular method. Yeah it makes the code pretty, but it pollutes every library in your environment. You don't do this for the exact same reason you don't use globals. String.prototype is a global. Don't mess with it.

By not messing with globals, node allows you to safely load multiple versions of the same module and not worry about strange runtime environment changes. It probably doesn't matter in this trivial case, but node's primary win is how easy and safe it is to write and share modular code so yeah, prototype pollution is a destructive anti-pattern.

secoif··on Learn Node.js The Troll Way
> "I decided to bring a gun to a knife fight and add methods to String’s prototype."

Don't do this. Extending native prototypes in node is terrible practice since it ruins the thing node gets very right: code encapsulation. Not good advice at all.

secoif··on Poll: What OS do you prefer for Web Development?
I'll move from OSX to Linux as soon as the Adobe suite runs on Linux.
secoif··on Signet: Sign your work in the development console
developers need bling
secoif··on The Impossible Music of Black MIDI
http://www.thefreedictionary.com/close-minded
secoif··on C--
According to this infographic, a C-- was the influence for JavaScript.

http://www.georgehernandez.com/h/xComputers/Programming/Medi...

If this has any truth (perhaps a different c--?) I'd like to know which one is being referred to.

secoif··on Shumway - Mozilla
alternatively, you could try the html5 youtube player http://www.youtube.com/html5
secoif··on I don't know Regex
Unfortunately you're going to encounter regex a lot in your programming career and this tool won't always be there to save you, so you are going to need to learn regex one way or the other. You might as well get it over with sooner rather than later.

This tool just hindering your progression and yet another abstraction someone has to to learn if they are going to deal with this code. It would make sense if this was a one-off thing and you'd be saving someone the effort of learning some weird protocol or syntax, but since regex is so common and most programmers have just learned to deal with them, you're actually adding more cognitive load, since now they have to know two things instead of one. Imagine coming across this in someone else's code and discovering the regex didn't work as expected. Now I have to debug the regex and figure out whether it's a bug in the tool, or in my regex, etc…

secoif··on Do we need a new PDF reader?
what specific needs do you have that aren't met?
secoif··on Wood Egg (my new company)
Just some feedback on your pricing: $50 is very steep for a kindle book, in fact I don't think I've ever seen a kindle edition so expensive. If this was around $20 I'd have bought it.
secoif··on Pin Payments is Australia’s first all-in-one online payment API
After paypal shutting down my account on a number of occasions while organising campjs.com, we switched from Paypal+EventBrite to Pin+Tito and it's been smooth sailing ever since. The Pin team has been a joy to deal with, responsive to feedback and I highly recommend them. Congratulations to Pin.
secoif··on Pirates playing a game dev simulator complain about piracy
Massive missed opportunity to convert all those pirates into paying users.

Instead of focussing on teaching pirates a lesson, they should have set up an in-game option to "pay $x to remove piracy issues from game".

secoif··on Clojure: All grown up
just learn emacs or vim. it's for the best.
secoif··on Show HN: Save Memory in Google Chrome
If this appeals to you, I have 2 words: Tab Wrangler.

As a compulsive tab hoarder, I've been using Tab Wrangler for this same purpose for over a year and I believe its approach is far superior: it just closes tabs that you ahven't visited for a period of time. If you haven't been to a tab in ~20 minutes, likely you don't need it on hand. I can't know when I'm done with a tab until I've moved onto my next task, which means I'm no longer thinking about that tab.

Also, you can lock tabs, have a minimum number of tabs (I set mine to 5) and easily list any auto-closed tabs so you don't lose anything, though I find myself only needing to look through that list once or twice a week.

Anyway, Tab Wrangler absolutely changed my life.

Not my project, just think it's awesome: https://chrome.google.com/webstore/detail/tab-wrangler/egnjh...

secoif··on Redline Smalltalk V1.0
You want block scoping. Block scoping is coming in ES6 with the let keyword.
secoif··on Client-Server Domain Separation
Great response, thanks. Incidentally, this is a trap I find myself falling into over and over. Too much decoupling, too many moving parts. It is hard to find that line between good design and over-engineering.
secoif··on Client-Server Domain Separation
Co-design is unrelated to encapsulation.
secoif··on Flatiron, A framework for Node.js
Angular has absolutely nothing to do with whether you use express, flatiron, rails or php?
secoif··on Joyent's SSL certificate expired?
Screencap: http://i.imgur.com/ExMCo.png

Doesn't instil confidence.

secoif··on Simple Helper to Extract Values from a String
You can use tiny modules like this with near reckless abandon in node. Due to the way node's require() works and the way the package manager installs modules locally by default (rather than system-wide), most of the FUD of using 3rd party modules in other environments simply doesn't apply in node.
secoif··on Show HN: Summaries of interesting content, written by people
Planning on creating API for this? I can see content aggregators being very interested in integrating.
secoif··on Show HN: Summaries of interesting content, written by people
You should always link to your twitter when mentioning it so I don't have to hunt it down.
secoif··on Let me guess: You sleep with your iPad, don't you?
You can also lock orientation on iPhone in the menu that appears with the triple-press of home button.
secoif··on Show HN: GoScale Cloud Scaling in Milliseconds
Ironically, the site doesn't scale very well on an iPhone.
secoif··on Berliner: Sinatra like Framework written in 16 lines of CoffeeScript.
>Do you know how much boilerplate crap is required before you can do hello world with express?

This much:

var app = require('express')(); app.get('*', function(req, res) { res.send('hello world'); }); app.listen(8080);

Hello world probably a bad example.

← PreviousPage 3 of 9Next →