HNHacker News
TopNewBestAskShowJobs

roskilli

400 karma · joined January 2, 2013

submissionscomments
roskilli··on Using Swift with Cocoa and Objective-C
Well this is rather upsetting, it seems extensions still cannot add stored properties... Back to using objc_setassociatedobject and objc_getassociatedobject it seems for extension properties, sadface.

Also seems you can't override existing methods or properties still (actually achievable with swizzling of methods & property getter/setters on init but always seems way to heavy to use in reality). I would love to have a more mix-in friendly environment at some point in time.

“You can use extensions to add properties (including class and static properties). However, these properties must be computed; extensions can’t add stored properties to classes, structures, or enumerations.”

“You cannot use extensions to override existing methods or properties on Objective-C types.”

Excerpt From: Apple Inc. “Using Swift with Cocoa and Objective-C.” iBooks.

roskilli··on Debugging Asynchronous JavaScript with Chrome DevTools
Now if only they could make a standalone IDE backed by chrome dev tools! Then I could use it for Node too :D
roskilli··on How to cope with “idea overflow”?
I use a really simple spreadsheet to handle this backlog for my small dev team, it allows us to select the really critical things to work on for a sprint as we can sort the backlog depending on what is happening that month by weighting different attributes, such as:

* How much does the feature align with our vision

* How much joy will this bring our customers

* How long have customers been asking for this feature

* How equipped are we to tackle this feature

* Will this feature help bring us more revenue now or later

With all these scored we can dynamically weight each attribute and sort and select the top features to attack each sprint based on the needs to address revenue or customer satisfaction at any point in time.

roskilli··on Today’s outage for several Google services
The main thing that comes to mind is why they do not deploy these kind of changes to a small slice and smoke test the slice before deploying to all users? This seems to be a pretty common routine for services at scale nowdays...?
roskilli··on Dijkstra on Haskell and Java (2001)
That may be true, but it will not be until you descend the stack you start to code like someone who understands what they are doing. For instance I started off with PHP in high school and was using arrays with each entry as a string with a colin in it to split a key and value apart. So essentially I created the worlds worst hashmap and each lookup was O(N) - not to mention the actual string splitting I was doing on each element which would've most likely caused several memory copies.

Why not at least start with some basics at the bottom of the stack and ascend quickly? As Dijkstra mentions he believes a lot of people have had at least small exposure to programming prior to their tertiary education - hence they probably already started at some point in the stack anyhow.

roskilli··on Web.go – Web applications with Go
Will be interesting to see the difference in how Go and Nodejs grow considering the module system and time of reaching popularity will be similar
roskilli··on ARM64 and You
This was one of the most interesting things the post detailed for myself, makes so much sense - we do a substantial amount of allocs and reads for NSDecimalNumbers, etc in our payment based app and I can imagine the heap savings and mem write/read savings we will get as a result would of some significance. Pretty interesting innovation.
roskilli··on I cannot afford to go back to engineering school
I'm an Australian ex-patriot who went straight to Microsoft after study and although myself and other friends who did the same aren't paying back their HECS now we all agree in the mid-to-late future when we return to Australia we will pay our HECS in full and likely later than others so with a little more interest too.

Honestly I think the brain drain is the biggest downside to Australians moving overseas after higher education, it's hard for me to move back after seeing the opportunities here.

roskilli··on VLC for iOS returns on July 19, rewritten and fully open-sourced
The Dropbox integration may very well make it that easy, simply drop into your Dropbox folder and hey presto. Although waiting for it to sync to AWS might be painful, I wonder if the iOS and Android clients do local syncing like the desktop clients do when on the same network?
roskilli··on Andrew Mason's album "Hardly Workin'" now available
They do pay their employees you know ;)
roskilli··on The new php.net
That blog post is a piece of art.
roskilli··on Tesla announces 90 sec battery swap
I believe he was referencing the Uranium required for Nuclear Reactors that currently is the most efficient/green standard for generating electricity at scale, althought Thorium-based nuclear power could well solve the "rare" issue

http://en.wikipedia.org/wiki/Thorium-based_nuclear_power

roskilli··on Letter To A Young Programmer Considering A Startup
I agree, the whole post seems to be written by someone writing a sad and sullen reflection of their last decade or two.

I think having a mix of both startups and high profile tech companies in one's CV is great backing to do your own startup, enter contracting or find yourself in a challenging and stimulating career job at your employer of choice.

I think the article makes some good points about potential bad eggs in the startup world but is not a balanced true representation of the landscape.

roskilli··on The Startup Side Project Bubble
I agree with the article to some extent, however I do feel like a lot of people find if they don't have something to tinker with on the side get incredibly bored. I know I like many others need variety in the types of stimuli I find in my work/development/entrepreneurial pursuits and I think this is perfectly healthy.

Once you start stringing along your employer, just pushing buttons and not giving them some of your best work hours - then yes I agree it is frustrating, but I don't believe this is the case with the majority of engineers/others who work on side projects. Surely people doing this are the minority and can receive stern talks and/or let go if they are really not worth their salary?

roskilli··on Redis as the primary data store
I'd be really interested in seeing if you benchmarked fsync at every query vs your fsync every second policy.

My main beef with fsync every second is just that you will never, ever get a "this is what the server looked like when it went down". If the fsync at every query was only worse by a relatively small factor, and if you used write transactions for the majority of your writes (meaning fewer times needed to fsync for every query) which I'm guessing you are to protect integrity on writes, I don't see why this wouldn't be more appealing than fsync at every second?

roskilli··on Show HN: CommitQ – Programming language-aware Git repository hosting
Giving more "engineering" tools to devs is finally getting more attention which is awesome. I'd love to use this kind of tech but don't want to move source repository host and also want something that would work with my stack and intricately so, ie providing more than just code modification but introduction of potential security holes and/or perf issues (like doing database queries in for loops, etc), regardless of whether it was RoR or ASP.NET MVC or X, Y, Z.

I would be really interested in some kind of open source project that offered this kind of tooling with said vision that I could use and commit back to...

roskilli··on Jedi Knight 2 And 3 Source Code Released
Searching 1897 files for "goto " ... 603 matches across 121 files

cocks gun, blows brains out

(Yes I know the evil goto supposedly has its time and place, blah blah blah)

roskilli··on Rendr - Use Backbone on both the server and client
More background and discussion about Rendr and how it fits into the stack of the nodejs app AirBnB built: http://nerds.airbnb.com/weve-launched-our-first-nodejs-app-t...
roskilli··on Show HN: See the number of DOM elements on a web page
Does this execute domready as a headless browser or is this just parsing the markup directly into a DOM tree?

I'm sure there will be a few sites that this won't be reflected accurately just because a lot of the content might not be there until loading asynchronously with Javascript unfortunately.

roskilli··on Show HN: Simple HTML pitch decks for your startup
What's to stop people visiting the demo page and copying the markup, stylesheets and JS?

I guess $10 is less valuable than your time of 1hr writing the equivalent but I'm also sure you'd have to invest time to customize the deck anyhow to make it original and there is tons of open source HTML slide deck alternatives already to start from, like Bespoke http://markdalgleish.com/projects/bespoke.js/

roskilli··on On Task Systems
Looks similar to what Kue http://learnboost.github.com/kue/ already does. I wish node had less fragmentation and more consolidation on these types of libraries/frameworks.

Nice article breaking down the features and patterns of queue/task engines if nothing else!

roskilli··on [dead]
What tech are you using for the streaming? Streaming seems such a mixed bag, seems to be pretty low latency. I've experimented with AudioStreamer but there's so many forks
roskilli··on Action.IO: Web Development Server with Full Console, Online IDE and SSH Access
Cloud 9 seems like a better solution IMO
roskilli··on How To Build A Kick-Ass Growth Team
A few who have used the term have mentioned it refers to scrappiness/hacking together, definition of the word hack is:

* to cut, notch, slice, chop, or sever (something) with or as with heavy, irregular blows

I think it's quite fitting

← PreviousPage 4 of 4