Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
logophobia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
logophobia
8y ago
I've seen some of those applications. It might be easier & faster to start with a schema-less json database, but I saw some serious maintenance issues with applications like that: * Using the stored data outside the use cases imagi
32.
▲
by
logophobia
8y ago
Cassandra is AP (available and partition tolerant), with tunable consistency. HBase is CP (consistent and partition tolerant, but not always available in case of network partitions). Spanner is consistent, available and partition tolerant d
33.
▲
by
logophobia
8y ago
I would say the the rise of nosql options is driven by the need for scalability by a few large companies that desperately need it, and cargo-culting by developers that don't actually need it, but want to be like google and don't w
34.
▲
by
logophobia
8y ago
I agree it won't replace a mouse anytime soon, It might be a good solution for handicapped people though.
35.
▲
by
logophobia
8y ago
I basically used a memory-weighted variant of the ARC algorithm, sufficiently different so that the patent doesn't cover it. I imagine there are quite a couple of variants of ARC you can use without violating the patent.
36.
▲
by
logophobia
8y ago
I used to work at a large software company. They had one giant monolith application, about a hundred different modules that did things from financial registration, displaying media. 30 years old, ported from clipper to delphi to .net. Lots
37.
▲
by
logophobia
9y ago
So, the unpack/pack solution seems a bit weird to me. Why do you need to convert a string to a list just to iterate? I'm assuming "List" is a linked list. Why not have an Iterable/Enumerable typeclass/trait
38.
▲
by
logophobia
9y ago
Not to mention google. My nexus 6p charger broke, I wanted to buy a new one. Turns out google doesn't sell usb-c chargers in my country anymore (they used to). Anker was pretty much the only decent other option for a usb-c fast charger
39.
▲
by
logophobia
9y ago
And a free-market healthcare system means letting poor people die, which in my opinion is even worse. There are no good solutions here.
40.
▲
by
logophobia
9y ago
This is still splitting the ecosystem. This is the exact same mistake they made with the json project format. Also, if you started using asp.net core 1.0, and you do actually do need stuff that's .net 4+ only, you're stuck. There
41.
▲
by
logophobia
9y ago
It keeps a history of evicted keys. If there's a miss, it knows if the miss was in the lfu or lru part, and it tunes the ratio of space allocated to the lru and lfu part of the cache.
42.
▲
by
logophobia
9y ago
Which is, unfortunately, patented: http://patft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=... .
43.
▲
by
logophobia
10y ago
std::list is a linked list, so it makes sense that size() is linear. Only if you store the size separately, you get constant behavior (which the c++11 enforces), it's constant. Your friend probably could've sped his code up even m
44.
▲
by
logophobia
10y ago
At the scale an actual brain works, an actual exponential slowdown because of "quantum brains" would make the problem flat-out impossible. An actual human brain has an average of 100 billion neurons. To simulate an actual brain, y
45.
▲
by
logophobia
11y ago
Yes, because a private entity completely owning natural resources like lakes and forests, will completely prevent those resources from being ruthlessly exploited. Those private entities would rationally take a long term vision, and certainl
46.
▲
by
logophobia
11y ago
Just a small remark. You might want to note in your readme why you'd want to use a fault-injection library. I wasn't familiar with the concept, and had to google why you'd want to do that (for testing unexpected errors and th
47.
▲
by
logophobia
11y ago
Rust does optimize iterators, just not random access. You can even turn off the bound checks with get_unchecked, if you really really need unchecked random access.
48.
▲
by
logophobia
11y ago
Bloat like pocket/hello is a trap. The original mozilla suite had e-mail, a newsgroup reader, irc chat and html development tools all embedded. Sounds useful, but who used it? Only power users and enthousiasts. I imagine a share of use
49.
▲
by
logophobia
11y ago
This article feels a bit condescending. Like most things, it's a trade-off. While sophisticated types do have a lot of advantages over dynamically typed languages (I spend most of my time using languages like that), that doesn't m
50.
▲
by
logophobia
11y ago
He says readers are indifferent to those things, not that he doesn't value them. So you could draw that conclusion, but he doesn't state that explicitly.
51.
▲
by
logophobia
12y ago
Rust is trying to do something far more complicated. Memory-safety enforced by the compiler is a big deal, but it remains to be seen if it's practical. I am really looking forward if rust can make it work, zero-cost memory-safety would
52.
▲
by
logophobia
15y ago
No, you are absolutely right. History rewriting is fine if you do it on a private branch, but on shared branches it can be problematic. If there are updated refs on a shared branch, you need to use the --force flag when pushing, overwriting
53.
▲
by
logophobia
15y ago
Just graduated with a business mathematics & informatics degree. Know C/C++/Java/Ruby/Python/Scala. Mostly looking for something challenging, like an entry level datamining position. Looking for something in the Netherlands, near Amster
54.
▲
by
logophobia
16y ago
I wonder if it's possible to assign a weight to each of the possible scores to correct for the "perceived" distance so you can still use all these existing tools in a statistical valid way. Also, this observation could be interpreted a bit
55.
▲
by
logophobia
16y ago
Zero acceleration only happens after an object has been falling for a long time (more then a few seconds) and the friction is in balance with gravity. Zero acceleration also happens when the laptop is just sitting on a table. Probably would
56.
▲
by
logophobia
16y ago
Exercise. It gives you energy and takes your mind of things for a while. We're not meant to sit on our buts in front of a screen all day. I know it's hard when you're tired and overworked, but it's indispensible. Also, sleep and eat well.
57.
▲
by
logophobia
16y ago
People actually "cheat" using lag compensation. There are players that induce lag on their system so they can shoot at players on a "snapshot" of the game. Very hard to detect. Usually when you see people with 500ms ping at the top of the s
58.
▲
by
logophobia
16y ago
I wonder if there are a lot of edge cases (large numbers that aren't easily decomposed into shifts/additions) where the performance decreases a lot. If these optimizations are cheap, why aren't they used everywhere?
59.
▲
by
logophobia
16y ago
How exactly? Because that would be the interesting part of the script. Is the forwarding host chrooted/jailed?
60.
▲
by
logophobia
16y ago
Note that I said district/state. Your senate has 2 seats for each state and the house has a seat for each district. This still means that there is no realistic way for a third party to get any sort of real power. Because the votes are arbit
More ›