Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
densh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
densh
14y ago
> Redundancy helps to recover partially damaged data. Redundancy 1:5 means that for every 5 consecutive data blocks, if one block is completely unreadable, PaperBack will be able to restore it. To reduce damages caused by coffee pots an
152.
▲
by
densh
14y ago
> Following the acquisition, Digia plans to quickly enable Qt on Android, iOS and Windows 8 platforms. Gods have finally heard my prayers. What have they been waiting for all this years?
153.
▲
by
densh
14y ago
Qt is about as low level as iOS's Objective-C runtime (both are compiled to native code and offer semi-manual memory management.) Meanwhile Android is based on full-blown virtual machine (Dalvik) with garbage collection. HTML5 on the other
154.
▲
Internet map
(internet-map.net)
8 points
by
densh
14y ago
|
0 comments
155.
▲
by
densh
14y ago
> It's working extremely well on Symbian and Maemo/MeeGo, where it's the recommended way of building apps (still on the Qt4 branch). Of course it is. Nokia might have bought Trolltech just for this reason. But the fact that it isn't sup
156.
▲
by
densh
14y ago
It extremely saddens me that Qt is still not heavily working on mobile. I would gladly pay for official support on Android and iOS. They could have become the cross-platform mobile toolkit. I wonder if Nokia is the reason why that's not hap
157.
▲
by
densh
14y ago
In my opinion Photoshop is absolutely inappropriate tool in this new era. It was never really meant to design user interfaces. Designers should finally stop thinking in terms of pixels as they don't really make any sense if your application
158.
▲
by
densh
14y ago
If nothing changes until release it should look like this in Scala: # without macro def addTwo(x: Int) = x + 2 # with macro def addTwo(x: Int) = macro addTwoImpl def addTwoImpl(c: Context)(x: c.Expr[Int]): c.Expr[Int] = c.reify
159.
▲
by
densh
14y ago
People never seem to fully understand namespaces. You don't need any additional prefixes for classes and functions inside of your module. Its name already does separate it from everything else. Moreover "from module import *" is evil. Perio
160.
▲
by
densh
14y ago
As far as mine understanding of JVM goes it works with memory in quite a different way. When JVM starts up it allocates large chunk of memory up-front (usually hundreds of megabytes) even though it doesn't really need all that memory. Usual
161.
▲
by
densh
14y ago
> If Clojure could dump the Lisp image like SBCL's save-lisp-and-die function, the startup time would be greatly reduced. I wonder if JVM itself can dump its current state and then restore execution. It's still hard to understand why ar
162.
▲
by
densh
14y ago
At first one should expect it to be at most as fast as cpython. If you don't do type inference and a bunch of other advanced functional language friendly optimizations you will get quite poor performance compared to JVM. Even haskell which
163.
▲
by
densh
14y ago
It's easy understand that developers don't really want support older platforms as that might be quite of a burden. But please don't drop support if you can. Not everyone likes updating to newest version of OS on their phone all the time esp
164.
▲
by
densh
14y ago
I was really excited until they mentioned a rewrite in favor of "Html5". It's really hard for me to understand why do sane people choose resource-hungry technology to work on resource-constrained hardware despite existence of much better al
165.
▲
by
densh
14y ago
Thank you for pointing out that other chapters are available for free too. It's indeed an amazing read. (It contains chapters about internal organization of Mercurial, Puppet, Haskell compiler and so much more.)
166.
▲
by
densh
14y ago
This is basically an explanation of flask internal organization for flask hackers and extension developers. You do you not need such knowledge to create flask applications. Actually due to this features it's possible to have nice and clean
167.
▲
by
densh
14y ago
Currently it's mostly written in Scala but does support Java alongside.
168.
▲
by
densh
14y ago
I've never heard of any plans regarding JIT in CPython. You might have mixed it up with PyPy or Unladen Swallow. Both of them use JIT to speed up their python interpreters. CPython developers quite often expressed their opinion against havi
169.
▲
by
densh
14y ago
Aren't imports ugly, or is it just me? // js var Bridge = require('bridge-js') // python from BridgePython.bridge import Bridge // ruby require 'bridge-ruby' --- First of all you don't really need language name in the name of each of the bi
170.
▲
by
densh
14y ago
I don't know if it's a good place to ask this question but what happend to Firefox for Android tablets? I hasn't been updated for some time. Can developers share any details about that?
171.
▲
by
densh
14y ago
Firefox used to have their own API for such things. If I'm not mistaken it's still used in tiddlywiki [1] to persist changes on a local filesystem. [1] http://www.tiddlywiki.com/
172.
▲
by
densh
14y ago
When it comes down to end users permission systems never work. Let's take Android as example. It allows you to view fine-grained permission list for each application which you are going to install -- that's good, right? For end users -- not
173.
▲
by
densh
14y ago
Please never consider such characteristics (number of cores or their frequencies) as an advantage when buying any mobile gadgets. Mobile technology varies highly and such characteristics are usually can't be easily compared between differen
174.
▲
by
densh
14y ago
Wow, they really thought that inner classes were an elegant and supreme solution. That strikes me as a really weird aesthetics attitude. Inner classes always felt like an accidental misfeature which everyone regretted about but couldn't rem
175.
▲
by
densh
14y ago
IMO The right way is to have a slice filled with pointers rather than bare structs: https://gist.github.com/2975397 Btw code that uses range will always be faster than alternative with for loop and indexing (obj[i]) as range-based code ca
176.
▲
by
densh
14y ago
It's such a grief that there is no ruby support yet. It would help a lot with our current project where we have site written in ruby/rails and backend services in python. We currently use Redis a broker between the two. At the same we've be
177.
▲
by
densh
14y ago
They dropped JavaFX Script in 2.0 release. So now JavaFX is just another library for java that is going to be part of JRE/JDK after Java 8 release. It's also bundled in recent releases of JRE for windows.
178.
▲
by
densh
14y ago
As far as I know MonoTouch uses Ahead Of Compilation [1] on iOS. So there is no JIT in compiled binaries. [1] http://docs.xamarin.com/ios/about/limitations
179.
▲
by
densh
14y ago
IMO the correct way is to include subset of JRE that's actually required for given application. This can lead to relatively small total application size and deployments that do not require any knowledge of java and java world from end user.
180.
▲
by
densh
14y ago
Nothing has been said about packaging for Android or iOS. From the info that's actually in the article -- currently it targets desktop applications. From my point of view, iOS is extremely improbable target unless Apple changes their applic
More ›