Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
RyanZAG
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
661.
▲
by
RyanZAG
13y ago
Your whole argument seems to base around List<T> allowing for duplicate entries while a Team would not. I don't think this is a very good argument, because you could just extend from Set<T> instead which ensures uniqueness
662.
▲
by
RyanZAG
13y ago
Composition making more sense is exactly why you'd use an interface, as the function inside the class depends on the internal implementation of how you'd store the players most efficiently while still giving a common method to acc
663.
▲
by
RyanZAG
13y ago
I don't really know of any OOP language that doesn't have some concept of multiple defined interfaces (eg HasPlayers, HasHomeCity), which is really what you'd want in this case rather than traits or modules.
664.
▲
by
RyanZAG
13y ago
Thanks for the info, salted+multiple digest means this isn't nearly as bad as it could be. Any chance you could give us information on what kind of attack vector was used?
665.
▲
by
RyanZAG
13y ago
While you are an exceptionally skilled software developer and investor, you probably need to work on communicating in a more amiable fashion. You don't come across very well here and nknighthb's point is both argued better and mor
666.
▲
by
RyanZAG
13y ago
Aryan superiority was very much non-scientific and is a long way from any sort of fact. Either way, it's completely tangential. If certain nationalities are more prone to some diseases than others, then it's important to recognize
667.
▲
by
RyanZAG
13y ago
Some really interesting results here, if you target the JVM you should probably check this out.
668.
▲
Exception performance in Java
(shipilev.net)
1 points
by
RyanZAG
13y ago
|
1 comments
669.
▲
by
RyanZAG
13y ago
Blue or Red isn't really a difficult decision to make. If you flip a coin you're already 50% likely to be correct. Musical taste is much much harder.
670.
▲
by
RyanZAG
13y ago
After seeing this said numerous times about a number of different frameworks, I still disagree. The universe will invent a better idiot and your framework guarantees will make it even more difficult because they will find ways to subvert th
671.
▲
by
RyanZAG
13y ago
There's a reason data binding is popular with the JS crowd, and it's the same reason it's been somewhat popular with the big enterprise crowd. When your application starts getting very complicated, such as the user changing a
672.
▲
by
RyanZAG
13y ago
"I believe that with a framework like Angular it wouldn't have gotten out of hand like this," I disagree completely and in every possible way. This has been the hallmark of every new language/framework/coding phil
673.
▲
by
RyanZAG
13y ago
Since you only know a hint of C, learning more about the low level and mechanical sympathy is the way to go. So I'd say go for C++
674.
▲
by
RyanZAG
13y ago
AFAIK the only optimization they disallow is the use of caching results. It's clear why they do this: if you allow caching, you're just testing memory fetch speed and all your results across frameworks will probably look about the
675.
▲
by
RyanZAG
13y ago
Go is anything but slow, it's just not as fast as Java. I was just addressing the idea that Java is somehow slow which seems to float around occasionally. Java is arguable the fastest language that isn't directly C-based and anybo
676.
▲
by
RyanZAG
13y ago
That benchmark isn't benchmarking what you think it is. "This test exercises database writes. Each request is processed by fetching multiple rows from a simple database table, converting the rows to in-memory objects, modifying o
677.
▲
by
RyanZAG
13y ago
There's this strange idea still floating around that Java is somehow slow. Compared to hand crafted micro benchmark C code, Java is slower. But then so is everything else. The simple facts are that the JVM is the most advanced and effi
678.
▲
by
RyanZAG
13y ago
You're probably correct, but it really isn't very convincing...
679.
▲
Future of GWT (gwtcreate video)
(gwtcreate.com)
2 points
by
RyanZAG
13y ago
|
0 comments
680.
▲
by
RyanZAG
13y ago
Anybody else a bit worried that this basically comes down to the good old "embrace extend extinguish" ? It's slightly different in that the "embrace" step was the purchase of Danger and open sourcing of the base AOS
681.
▲
by
RyanZAG
13y ago
If you can't use a tuple, it's not like you could have really used a C-struct either. So the point is valid - the code should be using tuples and not dictionaries or classes.
682.
▲
by
RyanZAG
13y ago
Complexity. Having two copies of the data means more dev time, more resources required to shift the data around, etc. Having just 1 data store that can also handle all your searching is like the holy grail. As you say, not sure if Solr/
683.
▲
by
RyanZAG
13y ago
Is this still a limitation? I haven't run into any use cases where this has been a problem yet. Since the default shards are 10 and 2 replicas, does that not mean each index should be able to scale up to 20 servers? I'd think that
684.
▲
by
RyanZAG
13y ago
When running a search, ES by default will not show items that have been indexed in the last 1 second. Directly getting an item by its ID doesn't have that limit though, and you can optionally set a search to force a re-index and show a
685.
▲
by
RyanZAG
13y ago
Elasticsearch is really awesome for searching, but what most people don't realize is that it makes a better MongoDB than MongoDB while giving you that searching too.
686.
▲
by
RyanZAG
13y ago
"Oboe.js is marginally slower for messages that load very quickly but for most real-world cases reacting to i/o sooner beats fussing about CPU usage. " How true is this? Most ajax messages are probably fairly small (few KB?)
687.
▲
by
RyanZAG
13y ago
Those equations look straight out of a book on how not to code layouts. If you need to tweak it to add an extra slot in the bottom right one day, you'll have to re-work on the entire set of equations. The constraints based method they
688.
▲
by
RyanZAG
13y ago
sigh Correlation does not imply causation. More than likely, the spike in downloads was because it was linked to large parts of the internet via Facebook, Youtube and news sites. This drove most of the reviews. Sure, the 5 star rating hel
689.
▲
by
RyanZAG
13y ago
The thinking here is probably along the lines of having an X% chance to die every gate, eg 10%. Then the 'difficulty' or likelihood of surviving is 0.9^n with n as the score etc. It's not really accurate, but you can get wher
690.
▲
by
RyanZAG
13y ago
I really like GNU, but are you sure that it is GNU that has succeeded and not Linux? Linux + GNU = small marketshare Linux + Android = big marketshare So maybe without GNU, Linux would have gotten some other userland quicker and taken off f
More ›