HNHacker News
TopNewBestAskShowJobs

babby

322 karma · joined April 28, 2013

submissionscomments
babby··on Pentagon’s $55B mystery plane is secret, but debate on cost is appearing
The title is a bit misleading.

    Pentagon's $55B mystery plane is secret...
Yet the planes only cost half a billion each:

    ... The service estimates it will cost
    $55 billion to build as many as 100 of
    what it calls the Long Range Strike Bomber ...
Here I was thinking they built the most reckless single aircraft ever.
babby··on Hyperloop Construction Starts Next Year With the First Full-Scale Track
"Anyone can buy a ticket and climb aboard, but they won’t see anything approaching 800 mph. Getting up to that mark requires about 100 miles of track, Ahlborn says, and “speed is not really what we want to test here.”"
babby··on Goodbye “undefined is not a function”
Bug or feature?
babby··on Scientists are suggesting that depression is a result of inflammation
>Diet Can reduce inflammation

>Sleep Reduces inflammation http://www.sciencedaily.com/releases/2010/11/101114161939.ht...

>Exercise Reduces inflammation http://www.ncbi.nlm.nih.gov/pubmed/22390642

>Vitamin D Reduces inflammation http://www.sciencedaily.com/releases/2012/02/120223103920.ht...

We might have a pattern here.

babby··on Mistakes Node.js Developers Make
Or better yet, use PM2 instead of forever. As someone who has spent years with forever, I was ultimately happy to drop it into the trash after discovering PM2.

https://github.com/Unitech/pm2

It's significantly more advanced. Create a "process.json" file in your project directory (As you would a nodemon.json), like so:

    {
    		"name"				: "someApp"
    	,	"script"			: "./index.js"
    	,	"node_args"			: "--harmony"
    	,	"log_file"			: true
    	,	"merge_logs"			: true
    	,	"exec_mode"			: "fork_mode"
    	,	"ignoreWatch"			: [
    			"\\.(css|styl|log)$"
    		,	"static/.*"
    		,	"views/.*"
    		]
    }

This will show logs intertwined just like forever, merge logs from seperate forked processes and you can even throw in watch rules like nodemon.

    pm2 start process.json
Then to make all of your processes always restart do this:

    pm2 save
    pm2 startup centos
Replacing centos with your distro. Couldn't be easier. There are a lot of other features I don't use (such as deployment, which I suspect will be significant for some big websites), but definitely consider dropping forever/supervisord and even nodemon in favor of PM2. They merge pull requests quickly it seems, too.

The only issue I've had is that for some reason using the "watch" functionality on a lot of files causes massive CPU overload, or at least it did, it may be fixed by now. If you're going to use the watch functionality (to reload stuff like nodemon), consider whitelisting and not blacklisting files.

babby··on Elixir plugin for SublimeText 3 providing code completion and linting
No, I got excited as well for a JS intellisense plugin from the title too.
babby··on Benchmarking Phoenix vs. Rails vs. Sinatra vs. Express vs. Martini
Probably the same if it uses EJS. That's really what is being benchmarked here, which is confusing, as EJS is one of the slower templating languages.
babby··on Why Is Node Being Forked?
Been using node in production at work for 6 months, and 2 years in general with zero immaturity issues. The only downside is userland modules which seem stable and active now days.
babby··on Adobe joins the Chromebook party, starting with Photoshop
As a weh developer, I need photoshop, thus I'm stuck with either a Mac or Windows system.

I'd much prefer to drop the VM's and go full Linux. I can't. Because of Photoshop.

babby··on CoffeeScript 1.8 released
https://github.com/xixixao/coffee-script

I just include this is my package.json at the moment.

    "coffee-script": "xixixao/coffee-script"
Have been for the last few months. It uses --> and ==> for generators with version 1.7.1

The only issue I've found with this fork is "if not yield something()" results in a syntax error, but "if not ( yield something() )" works as expected.

Just fork it to your own repo and forget about it until it's added in stable.

babby··on Choose Firefox Now, Or Later You Won't Get A Choice
A practical reason not to use Chrome is the chrome app store.

It's littered with garbage-ware. Outdated extensions, broken extensions and extensions with fucking ads. It seems like anything can get in and you don't know if it's broken until you test it yourself.

It's a mess. At least with Firefox addons you can expect a certain level of quality, especially with the vetted addons, and you know before you install it whether it;s likely to be compatible.

babby··on Choose Firefox Now, Or Later You Won't Get A Choice
Multi process is coming soon, it will be enabled by default at version 35 in nightly.

I feel the same way about Firefox's performance. If it can be overcome, I'd not have a reason to touch Chrome again.

babby··on Fenix – Quick and Easy Local Web Server for Static File Testing
I've done all of my client sidy test/prototyping javascript with plain .html and .js files.

<script src="app.js"></script> Should work in all browsers, at least on windows. It just looks for app.js relative to the root html file.

babby··on Poll: What is your #1 productivity killer?
The easiest and most most acceptable solution to that is earbuds/earphones. Put music on, put rain sounds on. If someone comes up to you to talk about non-work stuff decide whether it's a good time to take a quick break or to breifly explain; I'm busy, man.

I've got the same layout at work and I'm even the go-to tech support guy, but when I want to get shit done I'm not afraid to tell anyone to stop bothering me.

babby··on Show HN: Instantly Understand Any Spreadsheet
The first thing I noticed about your site is how obnoxious the fixed header is. Please kill it! Not everyone has high vertical pixel density.
babby··on Ajenti – Web admin panel
Use nginx to password protect the path!
babby··on Show HN: Fast.js – faster reimplementations of native JavaScript functions
That seems like something well suited to compile-to-js languages like Coffeescript. It could substitute cases as you mentioned with fast.js equivalent functions.
babby··on Ask HN: What do you do when your entire being opposes the task at hand?
> "This is the realistic world of grown-up work life."

Actually this sounds like a statement from someone who is fulfilled outside of work, or on different projects within work. I'm of the same opinion. Most people can't have ann interesting workload, so why does this guy have to be "unimaginative" and "uncreative"? Why attack anyone for a statement like that? I'd much rather not work with someone like you.

babby··on Ask HN: Screenshot Saturday
Thats actually pretty amusing, though I can't help but wonder whether it will only be convenient if actually integrated into DOTA/Facebook etc. At the moment, isn't it just DOTA: Stalker?
babby··on Julie Ann Horvath Describes Sexism and Intimidation Behind Her GitHub Exit
Holy shit, that is fucking hilarious!! It's like you know it's going to be her before you open the article, in the back of your mind, "Wasnt there some other sexist nonsense generated by Github a few months back with crazy feminists involved?". Yes mind, yes there was, and it's the same fucking attention whore.

So, as with these outrageous stories there is always a highly commented /g/ thread.

http://boards.4chan.org/g/res/40840868

I'd say it supplies much needed contrast to this thread's aversion to calling this chick out on her flawed character.

Githubs image is being crushed. Schadenfreude. They only need to grow a backbone.

babby··on Julie Ann Horvath Describes Sexism and Intimidation Behind Her GitHub Exit
You're implying 50% of the startup population is female. That is obviously laughable and thus you should stop spreading erroneous statements.

Making HN a better place, thanks for your time!

babby··on Julie Ann Horvath Describes Sexism and Intimidation Behind Her GitHub Exit
Aggravated bleeding heart observed.

>suffer >irrelevant anecdotes to contrast against OP's "battle"

Why do you think he cares about children dying? Is it really so hard to grasp the notion that we are emotionally compelled by things relevant to our own lives at any given time?

This may be his battle, or maybe it's not a battle at all. Maybe you should stop this hyperbolic nonsense, because you're the one making it a battle.

>suffer

cringe

babby··on An open question (rant) about Node.js
Sync is great for initialization. Due to the fact you only start up once, you can be as reckless with your performance hindering practices as much as you want as it will never amount to anything more than a few hundred extra milliseconds of startup time.
babby··on An open question (rant) about Node.js
>A couple of years from now, you won't see promises on the server. You should see tjholowaychuk/visionmedia's co[1]

Dont you mean you won't see standalone Promises, and instead Promises + Generators?

babby··on Show HN: My Desk Chair
https://www.youtube.com/watch?v=bHLR3faI7lU
babby··on Popcorn Time Is So Good at Movie Piracy, It’s Scary
If you knew how it all worked you would know that such information is just that, information, quarantiened information proxied tens of times until it gets to me or you, and no one in their right minds would care about that or deem it harmful.

And yeah, sure, the pirate bay knows it, I know it, it's facilitating illegal stuff. Is it immoral? I don't believe so.

babby··on Popcorn Time Is So Good at Movie Piracy, It’s Scary
This is suprisingly convenient; but I've always wanted to build something like this for years, but for power users.

Instead of streaming, it would be a node-webkit-esque app that allows one to; - Sync media over LAN, sync user's catalog everywhere with the option to sync data from one PC over the internet - Manage and browse media (By building a catalog of items from several watched directories) - Delete, move, rename media easily. Perhaps even manage archive formats automatically (autoextraction) - An api for subtitles - Build statistics, time watched, tv shows added per x time etc. - Store metadata like time media was paused at (to resume at), with a visual indicator in the catalog view - Automated parsing of releases, soft renaming - Scrape data for each item, generate tags from that data, categories - Archiving, sorting, grouping - Personalized catalogs of "what I watch". Kind of like how you might customize http://pogdesign.co.uk/cat/ - A real-time tracker for new releases. It would query a web service which has a bot idling in a prechan, then after parsing each release it is able to match to any item that you watch and notify you that "this just came out". Alternatively, it could, for TV, just utilize airtimes from TVRage - Personalized page that lists all of the stuff you are looking for. List of things that you haven't downloaded yet but are in your list etc. - Integrated user defined searches. Allowing one to search their favorite sources autocompleted with things in the application's local catalog of "stuff you want/watch". - A nice dark interface, surprisingly a lot like what Popcorn Time is doing, though much more complex and functional. - The ability to choose your own media player to launch, thus giving up statistics, pause time and "watched" states. Would require the user to commit this info themselves, with a form popping up whenever they launch something from the app if they so choose. - Multiple sub-users per "catalog", so that one person would have access to the same file but may not have watched/behaved the same way as another user on the network - Integrated "coming soon" feed for tv and movies that you could preemptively select to be notified about. - One big database file that would be dynamic to the content available to it. This way the installation could be portable, and whenever it detects its on a different system (Synced by a dropbox service or a USB drive), the app will ask to specify watch-folders to sync with the database so that one could keep track of their "catalog", add things to it etc. - Open source, built on node-webkit like Popcorn. No datamining, pro privacy. - Works in a browser, thus on phones (I guess some TV's/Consoles too?) connected to the WLAN - Integration of a "WebUI" from popular torrent clients, with a custom standardized interface for all of them.

So basically XBMC for pirates, I guess.

Something tells me it's a niche market.

babby··on Hum
It even happens in chrome. I don't even compute how the developer could fuck this up this badly.
babby··on A critical look at Atom.io
I tried opening an 98MB SQL dump the other day to restore some wiped data. Sublime choked incredibly hard where the editor was unusable and turning off syntax highlighting did nothing. I eventually just used something else. Really would have thought Sublime, being native, could handle a measly 100mb.
babby··on Atom
I've been observing the reactions to this over several communities and I find it all to be rather interesting! [ Warning; meta comment incoming ]

http://www.reddit.com/r/programming/comments/1z0ykn/atom_lau...

Almost every single comment is negative, dismissive, one liners filled with half truths and very few child comments seek to rectify any misinformation or support a discussion.

The first and by far most-upvoted with a 700 point margin.

>I must be out of touch with modern development. I don't understand the thought process that leads people to be excited about a closed source, node.js text editor that reports your usage to Google.

It suggests the user simply scanned over other comments, glanced at atom's site and proceeded to regurgitate karma bait. I suppose it says a lot about the attention span of these people as there are also highly voted "tl;dr" request comments.

A perfect example of misinformation:

>[ unquietwiki 70 points] Isn't Brackets this already? Node.js/Chromium app with plugin support? > --- [ MrSenorSan 67 points] yup, but atom is not open source yay! wait a min... > --- [ kmeisthax 17 points ] Yes, but with Atom, you have the priviledge of paying GitHub money for a software product in a market with numerous competent free and Free Software options.

The supply of vitriol is unending.

It was the same with the /g/ thread, though surprisingly not quite as bad.

http://archive.rebeccablacktech.com/g/thread/S40550074

My point is, stay classy Hacker News. While you may even have similar opinions with these communities, the reception in this thread has been far more exciting and you put effort into your discussions. The contrast is massive, and especially interesting considering this is one the highest upvoted articles on HN, sitting alongside Neovim. suggesting we desperately want to replace our editors.

← PreviousPage 2 of 6Next →