Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jerven
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
481.
▲
by
jerven
12y ago
I personally really like RDF graph databases, because while they look like graph databases such Neo4J they might be implemented completely different. For example Virtuoso is one that is fast for some query types and underneath it is a colum
482.
▲
by
jerven
12y ago
You still have a roundtrip. The question is can angular use significantly reduce the bandwidth required. In my, limited, experience of any major js rendering on the client the answer is most likely no it won't.
483.
▲
by
jerven
12y ago
Different country similar issue. Yes people do the math, once the baby is there.
484.
▲
by
jerven
12y ago
The reliability and speed advantages of PostgreSQL over MongoDB. Plus the fact that sometimes KV/document is better and sometimes normalized relational. Is nice if one tool solves both.
485.
▲
by
jerven
12y ago
IMHO every automated test helps. Don't aim for 100% test coverage aim at using unit tests to develop faster and more efficiently and the test coverage stats will come automatically. I personally need to improve my TDD, but I am quite h
486.
▲
by
jerven
12y ago
I suggest you move the simple version into a unit test case. Making sure the simple version and the complicated one have the same results. Plus I like to add some perf test that shows the complicated version is faster than the simple one th
487.
▲
by
jerven
12y ago
Most code written in the US/UK does not care about multiple codepoint used to represent one glyph. But that does not change the fact that the String representation inside Java are actually encoded in UFT-16 since Java1.5 (i.e. since 20
488.
▲
by
jerven
12y ago
Flag Day means your project is now stuck on the version of the legacy runtime of your slowest dependency to upgrade. If you have a dependency that is no longer being maintained, migrating away from it is then required. This kind of flag day
489.
▲
by
jerven
12y ago
I really hope this gets into Java9 http://objectlayout.org/ Gives the same benefits as C structs while still behaving like Java objects. i.e. has the structs memory semantics while having java function/method semantic
490.
▲
by
jerven
12y ago
I strongly disagree, when I was 15 I got the same advice and it nearly turned me away from programming. K&R is not a good standalone text book. (Sure I had no internet and just a redhat5 clone, but K&R just was not that helpful) I w
491.
▲
by
jerven
12y ago
I like to think that I deserve my luck, and that my friends who don't have it deserve it too. They just don't have it (yet). The world did not change but this way I feel beter about it. Actually I believe every one deserves my luc
492.
▲
by
jerven
12y ago
Depends on which one, the Escape Analysis in java7 Hotspot is quite conservative. The one in Graal is very aggressive https://wiki.openjdk.java.net/display/Graal/Graal+Partial+Es... . Not sure what other VMs do.
493.
▲
by
jerven
12y ago
Even if you use 3 bytes per char you are not guaranteed O(1) string indexing as you will still have surrogate pairs :( So you need to normalize these first... or deal with them in searching :( String in more modern languages are standardise
494.
▲
by
jerven
12y ago
The community that takes design patterns to far just happens to use Java (1.4 ;( ) if they used a different language they would do the same to that :( Anecdote: I once saw a Perl shop that could have been the worst of Enterprise Java. They
495.
▲
by
jerven
12y ago
And the simple fact that taking code provided by a remote service and just using it as is just handing the keys of your server over. LISP homoicity is nice but its a bad, bad idea to accept LISP code over the network from any client. Docume
496.
▲
by
jerven
12y ago
Which python?
497.
▲
by
jerven
12y ago
Well in this specific case the patches would have been subtely broken. I.e. replacing a thread safe call with one that is not. So it was not just id deffing (thay even suggest some ways to do that better in the patches. E.g. capability base
498.
▲
by
jerven
12y ago
Nice to see a different solution than cgroups for this The Readme is rather sparse, could you add an example how to use it from a init shell script?
499.
▲
by
jerven
12y ago
Don't those correspond to runlevels? I can boot to runlevel 5 and not have all file systems present and working e.g. an NFS filesytem might not be available. So I would say it has been hacked around for decades. Not cleanly solved. But
500.
▲
by
jerven
12y ago
Yes, declarative unit files are simpler than Turing complete shell scripts.
501.
▲
by
jerven
12y ago
Simple one PID files. Assume server with lots of processes. Service A starts writes PID to disk, lets say 123. lots of processes start and stop as it goes along and does its work. Service A crashes/stops working PID 123 gets reused by
502.
▲
by
jerven
12y ago
:+= Returns A copy of this sequence with an element appended. Meaning the cache is no longer shared as all threads end up having a thread local cache. You can't update shared changing state and have immutability at the same time. Immut
503.
▲
by
jerven
12y ago
You can't make the cache immutable because then it will be empty at start and stays that way ;) The cache has to mutate and be shared as that's the work completed list. As each thread completes a bit of work (visits a node) it nee
504.
▲
by
jerven
12y ago
Great news! This is going to help java be gpu accelerated! Using Graal/Sumatra to speed up java8 stream based computations.
505.
▲
by
jerven
12y ago
I hope that the "pinning" work in the GC code is a first step for better CPython extension support. Classic C interop requires that some memory pointed from the C side in the Python heap stores the same thing. i.e. is not moved. P
506.
▲
PyPy IO improvements
(morepypy.blogspot.com)
107 points
by
jerven
12y ago
|
7 comments
507.
▲
by
jerven
12y ago
This is really cool. Reading about jitting C code with graal on the jvm made me think cool but no real world use. Glad to be proven wrong about this! and see that it has real world use cases that are great. It's also a nice idea for py
508.
▲
by
jerven
12y ago
The vast majority of which where actually in parts of the C++/C code used to implement the most popular implementation of the JVM. Which is in C++ for historical reasons not because C++ is needed to implement a JVM. And as other commen
509.
▲
by
jerven
12y ago
Not sure KDE went back to a relational model. The main change I feel was going from a single central database (Virtuoso) which had a copy of everything to keeping the data where it is as much as possible and only store copies where needed f
510.
▲
by
jerven
12y ago
Working on the UniProt RDF I find that everytime we make it easier for semantic tools to work with our data it actually improves the usability for human users as well. The RDF part of the semweb idea encourages us to be extremely explicit w
More ›