157 karma · joined Feb 23, 2012 (14y ago) · 49 submissions
* https://github.com/nilium
* https://spiff.io
* https://twitter.com/nilium
[ my public key: https://keybase.io/nilium; my proof: https://keybase.io/nilium/sigs/wIqioJjlg1gUxzhAMmpJJzXq0ACfR6q3c0BMQGHjlb4 ]
comment 12y ago · link · parent
I make a lot of my own docsets as well (i.e., ones for GLFW 3, Gambit Scheme, JeroMQ, and so on), since kapeli was hesitant in the past to add docsets that would be only of interest to really narrow groups of people, though it looks like the user docset thing on GitHub sort of fixes that. Either way, it not being closed off to outside docsets was nice, since I imagine it would've been easy to not allow it.
Anyway, glad to see it on HN since I'm a huge fan of Dash after using it for years. Sort of a shame it's Mac-only, since I keep looking around for ways to jump to Linux, but it looks like there're some open source alternatives. So, yeah, Dash was probably the best $30 I spent back in 2012.
comment 12y ago · link · parent
Plan for now is to release it under the GPL version 2 or 3 to hopefully compel people to make their modifications available (plus there's not much use for a lenient license here -- it's not a library, though some of the code could be moved to one later). This might take a day or so, so I expect this post to disappear into complete obscurity before I'm done. Might create a new HN submission for that just to let people know. At any rate, my net access is down so I have to write this on my phone, meaning any release is going to wait on my ISP to determine what's up and how to resolve the issue.
So, open source is planned, I'll just suck it up as I usually do when I release every other project of mine. Re: malware, I've decided it's not my responsibility to protect people from the malicious few. I'll let Google do that.
comment 12y ago · link · parent
This is definitely true, though it's possible to write code that avoids it. It just ends up being slightly uglier Scala. The renderer in Ascension, for example, is all fairly bare-bones Java-like Scala because I have to be careful about how certain code is generated (i.e., prefer a while loop or tail recursion to a for comprehension or .foreach). So, it's possible to get performant code, it just ends up being more like Java usually.
In the UI code, you can get away with a little more depending on where it is. If it's inside an adapter, it pays to avoid the heavier tools Scala gives you. If it's responding to a button press, you probably don't need to worry as much. The GC will run a little more often, but the GC in Android has improved a fair bit over time.
I'll second the Java collections recommendation though — as much as I like the immutable collections provided by Scala (and I do use a few of them), they're much free-er with their allocations than Java and Android's. I haven't tried anything with actors on Android yet, though, so I can't comment on that. I just use AsyncTask as carefully as possible right now, but I really need to get familiar with an alternative to that. I'd like to try actors, plus I'd also like to get into using something like RxJava/Scala, but I haven't had anything come up where I could afford to experiment with it. Also need to see how Akka fares on Android, but same problem as RxJ/S.
comment 12y ago · link · parent
Because of the issues, I decided it was better to just block the device entirely rather than have people suffer through the performance issues with the Galaxy Nexus.
comment 12y ago · link · parent
Besides that, my argument is that if a you spend a lot of time in your launcher, it might affect battery life in a somewhat noticeable way. Typical usage should have you in another app most of the time, but that's speculation on my part. I could imagine folks using their launchers a whole lot if they were packed with widgets that did more than just display things, but I've never had a lot of luck finding widgets I liked. Ultimately, if you or anyone else is concerned about squeezing every possible minute out of your battery, your best bet might be to have a solid black static wallpaper. Mostly comes down to priorities.
Edit: http://android.ccpcreations.com/mariolive ⇐ I think that might be the same live wallpaper from back then? Can't verify it right now, and I'm wary of installing foreign APKs these days, so exercise caution.
comment 12y ago · link · parent
comment 12y ago · link · parent
That also makes it difficult to introduce new features since I can't just switch them on and I don't really want to pester users about it. Not entirely sure how to handle that yet, but I've been focusing on other personal projects and job hunting. Worrying about adding stuff to Ascension hasn't been a huge concern. It does what I want, so I haven't found anything else I'd like to add to it just yet.
comment 12y ago · link · parent
The important thing for me was that it compiles to JVM bytecode that's compatible with Java 1.6, so the resulting code can all be converted to Dalvik fairly quickly. The main downside right now is that you have to heavily prune the Scala stdlib, since it's packed with tons of methods and dex has a 16-bit method limit[1] — and you will hit it if you don't prune it (using proguard or another tool of your choice).
[1]: https://code.google.com/p/android/issues/detail?id=7147#c6
12.
Show HN: I built an Android live wallpaper with Scala – now it's free(play.google.com ↗)
64 points · by nilium · 12y ago · 38 comments
14.
Freesia – a new, dark purple-y Sublime Text 3 theme(github.com ↗)
2 points · by nilium · 12y ago · discuss
comment 13y ago · link · parent
[1]: My IPA is rusty, so bear with me.
16.
So I Learned To Code(spifftastic.net ↗)
2 points · by nilium · 13y ago · discuss
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
So, overall, this just comes across as hyperbolic and silly. It's cute and I'm sure the author felt smart by making this an image (why is it an image?), but it's mostly devoid of substance.
comment 13y ago · link · parent
Before all that, I spent a lot of time climbing trees and wanting to be an architect and writer (the latter of which I've been pursuing for a while now). My brother and I'd drag planks into trees and we'd build little things we called forts and make up our own currencies (using the tabs on soda cans, for example), we'd play with our family's chickens and cats, and we'd grouse about picking up fallen apples (because it was boring) and so on. Odd to think how little of any of that I'd get away with now -- now I'd suffer some odd looks from folks for climbing a tree that looked especially climbable. Really, the computer was just for Doom and Encarta and writing book reports. That's just rambling though and not all that interesting or indicative of any change other than growing up a bit.
Unfortunately, I was a child back then, so my memory of pre-Internet computer use is probably different than that of someone who was an adult the entire way through. Would be nice to see a bunch of people writing about it - not so much about how computers and the 'net changed things, but what they were like beforehand without concerning themselves too much with the difference between now and then.
comment 14y ago · link · parent
It's not a hard and fast plan since it depends on what I'm aiming to do with any given source code. That said, I would prefer the source code and resources necessary to work with said code were available to everyone, especially users who might feel like they completely lost something post-mortem, after a project is effectively dead.
22.
Ask HN: What are your plans to deal with the bus factor?
2 points · by nilium · 14y ago · 2 comments
comment 14y ago · link · parent
> The final release will sell for $69.99, with an upgrade available to registered users of Kaleidoscope 1 for $49.99
So, save $20. Not terrible. My gripe right now is that to save the most money, I have to pay for software that is incomplete and I have no promises about what will happen if it never makes it out of beta. Granted it seems likely they'll finish it, but not knowing their plans for failure bothers me.
24.
Kaleidoscope 2.0 Beta - Diff and Merge Tool(kaleidoscopeapp.com ↗)
13 points · by nilium · 14y ago · 6 comments
comment 14y ago · link · parent
In the meantime, I guess I'll go look at the source and see what kind of changes would need to be made to use Cocoa in place of GTK on OS X.
comment 14y ago · link · parent
My argument isn't to do nothing - again, this looks like a nice gesture - but that you should do more. Maybe take all your earnings for a month and donate them to help the victims. You can evidently afford to give out almost-free accounts, can you do anything better?
> I have plenty of photo albums in my closet and if those somehow got lost or destroyed then I'd be devastated (more than any other physical object in my house).
Then scan them and throw them on Dropbox. Your service actively costs the victims money, Dropbox does not, so which helps more?
> Really? If we get more feedback like that then we're happy to change or give refunds. We're set up for subscriptions so it's the easiest way to do address verification. If a penny a year is too much, we'll gladly fix it.
These are people who are already financially strained by the hurricane. They may not even have a penny anymore. Did you consider this?
comment 14y ago · link · parent
Either way, looks like a nice gesture, but one that's ultimately meaningless since I doubt a lot of the victims care about your service. It's rather useless compared to actual help.
comment 14y ago · link · parent
With Windows 8, I think we'll probably see more mild annoyance as folks buy new PCs for their homes. After two weeks, they'll likely get used to it, then we'll never hear another word about Windows 8 failing. I just don't see the change being so enormous that users will really care long enough to affect anything.
It'll probably be like Vista: a lot of people dislike it without using it, some dislike it for a specific reason (like drivers), and most get along with it just fine and don't really have any problems. The UI changes are enough to probably increase the size of the group complaining, especially the group that hasn't used it, but I don't think it's enough to stop Windows 8 from succeeding in the long run.