9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions
comment 8y ago · link · parent
I think we're all doomed.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
This is why very terse dynamic languages like Clojure often have relatively low bug counts despite a lack of static checks.
Some interesting reading on this topic:
https://cacm.acm.org/magazines/2017/10/221326-a-large-scale-...
comment 8y ago · link · parent
Come to the dark side and start programming Clojure. Because there, meta programming is no different than regular programming -- your macros are just normal Clojure functions that happen to run at compile time, and they have the full language to do whatever you want.
comment 8y ago · link · parent
> You declare that your app needs a permission by listing the permission in the app manifest and then requesting that the user approve each permission at runtime (on Android 6.0 and higher).
> Beginning with Android 6.0 (API level 23), users can revoke permissions from any app at any time
[0] https://developer.android.com/training/permissions/requestin...
comment 8y ago · link · parent
This is actually a fairly recent change to Android. It did not used to provide you with these choices. It demonstrates that user privacy is a bit of an afterthought with Android.
For Apple, these kinds of user choices have been there since the start.
comment 8y ago · link · parent
Hm? There is a very simple Storage page in the Settings that shows you exactly how much storage each app is taking up (including things the app is storing) and it is ordered by size so you can immediately see what's using up your space and delete it if necessary. I have an old 16GB iPhone that is still chugging along after 7 years and is my daily phone but it is a bit lacking of space and this Storage area is a simple fix.
comment 8y ago · link · parent
This is a curious point, especially considering the recent FB Android app revelations about lots and lots of things the phone was doing that nobody realised, things that cannot happen on iOS due to stricter privacy enforcement.
I suppose no month is complete without an iOS/Android flame war, but hopefully that won't happen here. For what it's worth, smart phones are all pretty darn awesome and if there is one key distinguishing factor that seems to persist across generations of devices, it's privacy and security, of which Apple is far different. If that doesn't matter to you, pick a year, any year, and you will find one or the other platform to offer features that the other lacks.
comment 8y ago · link · parent
Which function were you thinking were explicitly added to the language that are in use here?
comment 8y ago · link · parent
https://en.wikibooks.org/wiki/Clojure_Programming/Examples/N...
1043.
Ask HN: How did the pros manage source code decades ago before modern SCM?
2 points · by hellofunk · 8y ago · 2 comments
comment 8y ago · link · parent
It's quite common to rent a house when it is worth X, and for that rent to remain nearly the same even if the house becomes worth X+Y. Due to common restrictions on how much rent can be increased year to year, the taxes on the house can (and often do) grow considerably for the owner, while the rent stays nearly the same. In this very common scenario, the taxes are not at all baked into the rent and the owner starts to lose out until you move and they can raise the rent considerably for a new renter.
In other words, renting does in fact protect renters from a rise in property values when real estate tax enters the equation.
The flip side, of course, is when property loses value, the renters potentially lose out since they continue to pay based on prior taxes.
I should add that the pros and cons are often local to the country you live. In many places, Germany for example, mortgage tax is not deducted from income tax. Which is perhaps why half the population in Germany rents a house for most of their lives.
1045.
JxBrowser vs. JavaFX WebView(jxbrowser.support.teamdev.com ↗)
1 points · by hellofunk · 8y ago · discuss
comment 8y ago · link · parent
I've owned three Macs over many years, and at least in my own experience, they have been the most reliable machines I've owned in the twenty years I've been developing. I still have a 2011 13-inch MBP that despite a hard drive replacement is still whirring along fine. My main dev machine is a 15-inch 2016 model that is the most dependable I've personally experienced.
comment 8y ago · link · parent
comment 8y ago · link · parent
I realized to my astonishment last week that despite using my Macbook for 12+ hours of coding nearly every day, I had not rebooted it in nearly four months! This only became clear when I did an OS update that needed a reboot.