HNHacker News
TopNewBestAskShowJobs

babby

322 karma · joined April 28, 2013

submissionscomments
babby··on AI Startup Says It Has Defeated Captchas
The part about Google offering a sort of vetting service sounds quite plausible, in a "Oh, shit" kind of way. For those of us that try to be anonymous we could have further encumbrance dealing with not being "Google Verified™".
babby··on Ask HN: What are you working on and why is it cool?
Nice. I think the price you're charging for the shirts is overall quite reasonable. Keep it up, ill keep my eye on the kickstarter.
babby··on Ask HN: What are you working on and why is it cool?
Well, I'm already sold on it, looks like a solid product; however my only questions now are:

- How much? - International shipping? How much?

babby··on Windows 8.1: Not Using Secure Boot? Don't Worry We'll Let You Know
I think the point he is trying to make is that MS falling into irrelevancy correlates with something else replacing their products, thus, the alternatives in this scenario are better.

It's a nice thought, and not en entirely pointless one. The more population that migrates to alternatives, the better those alternatives become. Of course it's not linear, but right now it's all likely positive gains.

babby··on Show HN: An open source music player in the cloud based on Backbone and Node.js
Probably heard it all before but spend about 10 minutes on http://coffeescript.org, read up on it, and you'll have it down.
babby··on Ghost Launches to The Public
I used this a bit :). I think everyone should make their own frameworks from scratch so they know exactly how it all works.

By the end of it you might, like me, just continue with your own framework (when you can of course).

babby··on Ghost Launches to The Public
I agree, you guys are right. Was in a kind of shitty mood when I wrote that and now I'm kicking myself for coming off like the egotistical bitter dick that I know I am. :p. HN deserves less Reddit type smugness.

The whole Ghost thing I should have mentioned is IMO a pretty sweet concept and not at all a bad followthrough. Their marketplace, partnerships, capital etc. make them a much better contender than my team could be.

babby··on Ghost Launches to The Public
Been watching Ghost for a while and ever since I saw it get so much funding I thought to myself; with those pledged features I could do this alone, better, faster. Since then I have been sidetracked with a closed source somewhat-overlapping project but now that Ghost is out I plan to steal some ideas people actually like from it and continue building my own platform. Kinda makes me chuckle in that they got payed to do this and yet their feature set is still so underdeveloped, for a blogging platform of all things.

I think now that you've made your point I may abstract models to the point where the database can be either MariaDB or a bunch of JSON files/SQLite. Its tricky because I build databases for performance and scalability over flexibility.

To give you an idea of what I mean, Wordpress makes me cringe in the way they handle their tags, categories etc. and the sheer amount of SQL queries and joins for a simple front page. I make at most 2 queries for the front page (excluding sidebar, which would be cached), the user session authentication and the articles. I make no queries if I can help it ( Caching in node.js is so fun ). Categories are always in memory, along with user roles, settings etc.

It's really quite glorious having a readily available memory store. I'm getting around ~500 queries per second to my front page in apachebench, which would normally have about 7-10 queries to the database.

babby··on Ghost Launches to The Public
But it's not. I just launched a website that handles many taxing db queries over multiple pages and I'm able to achieve ~500 requests per second on a single worker with some simple memory caching. PHP is a waste of resources in the proper sense of the terminology, thus this Ghost stuff is fundamentally better.
babby··on Poll: Are you an Introvert, Extrovert or do you have Aspergers?
Just want to say; very apt dissection of this article of self categorization. Took the works straight out of my brain hole.
babby··on Linux only needs one 'killer' game to explode, says Battlefield director
I keep hearing this in the thread but be realistic guys - never going to happen. Best you can hope for is early release on Linux.
babby··on Iconic: Advanced icons for the modern web
Thats a weak argument. The designers job is to choose sufficiently recognizable icons if they actually want them to be recognized. One magnifying glass looks like most others, and the same goes for most symbols in current widespread use.

Bad designers are the problem, icons are fine. Icons are more efficient. Reading the full word takes longer and recognizing an icon is something the primate brain has developed to excel at over millions of years, in the form of things like predators, prey and brightly colored, specifically patterned fruits shrouded in dense forests.

Pattern recognition runs deep. Icons aren't a problem any more than calling a search function "find" or "browse" or "look for".

babby··on Animation to Explain CSS Triangles
I'm with you. Anyone who says CSS is A-OK doesnt understand it fully or doesnt have the imagination for something better to replace it. It's really the most shite language I've ever had to deal with.

That's the thing though, we have to deal with it. I don't get why there isn't just a complete replacement trending on HN every other month. Sure, it needs browser support and it would forgo a lot of the CSS-specific optimizations baked into the browsers but there has to be a more efficient way to handle the DOM.

babby··on Animation to Explain CSS Triangles
Note: You only need to specify 3 borders.

Eg. a triangle pointing down:

  .triangle-down {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #444;
  }
babby··on Animation to Explain CSS Triangles
Why would he be when it's mostly cross-browser? It means you dont need to draw the triangle and throw it into a .png or your sprite then deal with all that crap. You have a triangle that you can use to point at things AND you can modify the borders to change the size of that triangle on the fly. Yay.
babby··on Dropplets - A simple database-less CMS
You apparently upload full .md files straight to the server via a frontend interface, it seems.
babby··on Dropplets - A simple database-less CMS
Seriously? (string) x fuzzy equals to (int) 0? Holy crap that is some cancer.
babby··on XBMC clone in Node.js
Very cool. Always thought Id make something very much like this in node as a native app (like with the node-webkit), but the idea of cross platform in the browser sounds like its a nice secondary option.

Main features would be to track how long a file has been open and playing ( thus tracking the point at which the video is to be resumed at if you close it ). Then you could easily browse through your tv shows and movies, at a glance knowing what you've actually watched. Then ratings, prioritization, sorting. Additionally the ability to group any set of files an arbitrary number of times in any way, an example may be that one user of the service has a watch list ( like on a shared network ) and they generate groups for that, then they divide said groups up; eg. separating videos up for each day, or a group for when you want to take a set of videos on a device for a trip away.

A nice intuitive drag and drop interface and useful features like fuzzy match searching when you start typing, in every view. Filesystem manipulation. Drag/drop ordering within groups.

That and all the other easy fluff, like IMDB/TVRage scraping, custom skinning ( obviously an easy one considering html + css ) and integration with some RSS feeds I guess to generate a "This just aired/was released" with some user defined regex or something of that nature.

Though I've never really used a mediacenter before, shit would be cash. I hope this mediacenterjs is as cool as it sounds like it could be. Its too bad that those bugs are so critical and that crossplatform is so tricky.

babby··on Mozilla bug 923590: Pledge never to implement HTML5 DRM
I use both browsers regularly, but Firefox out of preference. It amazes me at how under performing chrome has become over the years. Font rendering, for one. The fact that they STILL don't have DirectWrite font rendering on Windows, something that has been with IE and FF since FF 3.6, amazes me.

Good luck trying to get a webfont to render the same (or look any good) in Chrome as it does in IE and FF on Winderps. The sheer fact that it isn't IE for once...

The font thing, while somewhat recent in usage, should have been in Chrome ages ago. Not going to bother getting into Chromes other more critical flaws as I feel like these threads devolve into this kind of shit too easily.

Just sucks that Chrome has gone from this cool browser that actually is progressive, to some kind of Ad-friendly extension of Google that just qualifies as "better than IE!".

Methinks you should jump on FF, it's better, and not because it may not support some arbitrary HTMl5 spec that we wont see for half a decade.

babby··on Ask HN: Freelancer? Seeking freelancer? (October 2013)
SEEKING WORK - Australia Brisbane/GC / Remote

Frontend: fluent in JS, CSS, HTML etc. Backend: node.js, PHP, nginx

* Github: https://github.com/nfour - email me for example work, more recent stuff.

babby··on The Faces of Facebook – Visualizing 1.2 billion Facebook profile images
For some reason https://www.facebook.com/undefined is different from a regular 404 like https://www.facebook.com/null
babby··on LASIK 6 months later
If yoiu cant see it, it's likely down to your display being miscalibrated/shitty.
babby··on Solved By Flexbox – Cleaner, hack-free CSS
display: table-cell, table-row, table sounds like it would be quite viable for an entire sites layout. I've never tried it but I'm tempted to blanket style all section tags as tables, article tags as rows, divs as cells - or some variant of that. Still, the use of existing tags is perhaps a silly limitation when we can choose to use a non-strict html spec.

Anyone know of examples of this, like a boilerplate called fuck-me-just-use-tables?

babby··on The Crystal Programming Language
Why go whitespace sensitive then actually choose to keep an "end" statement?
babby··on Rambling On [PHP] Internals
- nodejs: Write in coffeescript or javascript on the server, two bird with one stone philosophy. Will let you build better programming techniques in respect to structure due to (1) it's async and (2) it's module based. Unlike php the global namespace should not be used. Additionally, JS is just better than PHP in every way I can think of. Node has a thriving user module community. Cons are that you have to deal with async, module dependencies and setting node up on a server (or really anything besides PHP) is far more complex.

- GO: google's lang, seems to be trending lately. Lets you build potentially more elegant, higher performance web apps (if you believe the benchmarks) than node but will have a higher learning curve, less of a userbase.

- Python: Someone else will have to comment on python (and probably GO). Afaik it's a useful language to use overall.

babby··on AngularJS Tutorial: Learn to Build Modern Web Apps
I'm always excited to structure my projects in a different more effective way - well, it's more of a struggle - anyway, this sounds interesting. Can someone elaborate on the file structure and structure of files and the way they connect?

I'm rolling with a MVP structure that frankly is becoming cumbersome with my current project's size.

babby··on The CODE Keyboard
Yeah, this is my default posture. Something tells me a lot of this RSI nonsense is due to bad technique.

I code, game on a standard keyboard, no issues - don't get me wrong, I've had RSI before, but it was down to technique, posture.

babby··on I’m Thinking. Please. Be Quiet.
I wonder if the majority of the noise can be snuffed by using a battery powered electric motor, or if it's the fans that generate most of the sound...

A Silent leafblower sounds like a potential invention.

babby··on Use Node.js to Extract Data from the Web
Come on, that's not really a scraping problem, it's more of a text parsing problem coupled with an API lookup or scrape to verify the address.

Though, id probably just google for some good address regexes, match against pages, for each address just throw them into something like maps.google.com/?q=[address] then try to scrape whatever normally pops up for a valid result. Also helps if you're expecting addresses to be in a certain country.

babby··on Show HN: We structured and compared hospital chargemaster prices
Some tweaks to the design would help!

At the top of the page, the search boxes are mis-aligned to the text above them. Fix that. They could also take up more horizontal space, or simply be aligned better.

Add an extra ~3-10px of horizontal padding to table cells (td's) Table headings should be text-align: center except for the longest field (hospital). Also, vertical-align: middle on table headings.

Link color on the tables could also be darker.

Add left-margin/padding on the (?) question mark icon at the top right of fields.

Font size on the search drop downs could be bigger.

May want to try the font "Open Sans", too, on the tables.

Add a hover effect for all links and buttons. It's kind of nuts that you could overlook that.

Add a focus effect for all inputs. Also make input font color brighter, and on focus, make font color darker.

On the "worst hospitals" table, the percentages could use a + sign before them like "+97%".

← PreviousPage 5 of 6Next →