Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fleitz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
511.
▲
by
fleitz
11y ago
I meant string as in char* not NSString, selectors specifically the SEL datatype are strings They certainly don't have to be, however, they are. SEL selector = @selector(applicationDidBecomeActive:); printf("%s",(ch
512.
▲
by
fleitz
11y ago
I think the biggest issue is that in a vtable you jump directly to the method by index, and with objc_msgsend it looks up a string in a hash table. Mostly the difference is ints vs. strings in my opinion. As well in C++ if you don't ma
513.
▲
by
fleitz
11y ago
By academic, I meant academic problems that Swift solves such as increased type safety... Not academic research as in we did a study of developers who write iOS apps and determined that type safety as implemented in swift helps great develo
514.
▲
by
fleitz
11y ago
It's certainly gotten much better with Swift 2.0, it feels like Apple finally tried to build an app with Swift 2.0 and fixed a lot of the stuff that is horribly broken.
515.
▲
by
fleitz
11y ago
Yup, ObjC is light and scripty. Whenever you don't like what it's doing you just make it do what you want, categories, cast to id, swizzling, respondsTo, NSSelectorFromString, etc, and when it's too slow you write those funct
516.
▲
by
fleitz
11y ago
Read the eulogy when the base libraries are Swift... When swift code that interacts with the base libraries is faster, and when swift code compiles faster. Swift so far is a language that over promises and under delivers...
517.
▲
by
fleitz
11y ago
The debate in law is usually about what the words mean rather than what words appear in the contract. (Of course there are always issues where contracts have been lost, etc)
518.
▲
by
fleitz
11y ago
Ether is law, but the example contract says nothing about websites, nor has any provisions to enforce the transfer of said site. I think it's more appropriate to say that ethereum is naive
519.
▲
by
fleitz
11y ago
The block chain does not grow 'infinitely' it grows linearly at a predictable maximum rate. For any given point in time the block chain will be at max a certain size, given that Moore's law grows faster than the block chain w
520.
▲
by
fleitz
11y ago
Yup, people believe what they want to believe and then construct stories that reinforce those beliefs.
521.
▲
by
fleitz
11y ago
I bet if they did Blackwater would rebrand back to Blackwater.
522.
▲
by
fleitz
11y ago
Umm... Amazon and Alibaba ship actual things, and how they improve the situation is by economies of scale such that the profit they make is less than the inefficiencies they eliminate. Even then many people would rather go to the mall and p
523.
▲
by
fleitz
11y ago
Here's what you need to know about ethereum, take any presentation from a few years ago that uses the word 'webscale' now take that presentation and replace 'webscale' with blockchain. Now you understand both how et
524.
▲
by
fleitz
11y ago
There's not really that much to understand about block chains... It's a globally shared immutable linked list... Umm... I'm pretty sure programs still execute on hardware...
525.
▲
by
fleitz
11y ago
Well, it turns out there's an extremely cheap solution to this that can sequester another 1/3rd of our carbon while making lots of plankton and restocking the oceans with fish. http://planetsave.com/2014/07&#x
526.
▲
by
fleitz
11y ago
Where is the data? Or at least a summation of it? What was the discrepancy? Was it adjusted for experience?
527.
▲
by
fleitz
11y ago
Yup, there's certainly a balance to be achieved.
528.
▲
by
fleitz
11y ago
Exactly: https://github.com/twitter/fatcache A single fatcache can do close to 100K set/sec for 100 bytes item sizes. A single fatcache can do close to 4.5K get/sec for 100 byte item sizes. All the 8
529.
▲
by
fleitz
11y ago
Exactly, so you'd need the array anyway... Also, typically bloom filters don't come out of the box with the language you're using, so it's just more potential for bugs. A lookup on a sorted array should take 8.6 comparis
530.
▲
by
fleitz
11y ago
Maybe, probably not thought as a completely naive solution to this problem an array of 400M elements which is sorted, only takes 2.4 GB of RAM, or about $50 worth of RAM. Basically you'd waste more time (and money) than it could possib
531.
▲
by
fleitz
11y ago
This is one of the biggest problems I run into in 'software engineering', people building way to complex systems because they are 'interesting' rather than buying $50 of RAM and being done with it, and then poo-poo'
532.
▲
by
fleitz
11y ago
That would presuppose Celine has money to afford lawyers, if she does, that would be the point to recover the funds, and/or countersue for fraud.
533.
▲
by
fleitz
11y ago
It doesn't need an index, it just needs to be sorted... Then you can do fast lookups...
534.
▲
by
fleitz
11y ago
Because in other countries you pay these costs over time in taxes, and/or insurance, also you often receive lower quality care. eg. In a province of 4.6 million there are 2 MRI machines, and its a 2 month waiting list because they don&
535.
▲
by
fleitz
11y ago
It's not a middle man, it's that insurance companies only cover so many things, so they bill everything and collect what the insurance company covers. To keep up the charade uninsured get bills like this, which they then take to s
536.
▲
by
fleitz
11y ago
Hahah no one would trade on the stock market if you didn't have an idea of the order book, it's essential that pricing is disclosed so that FMV can be reached. Negotiating your salary with out knowing what everyone else was making
537.
▲
by
fleitz
11y ago
s/only/in general/ And in that case... I'd like to trade you $1 million dollars, for $1 a year for the rest of your life.
538.
▲
by
fleitz
11y ago
As a fictional example... The ant thing was verbatim while we were all drinking... But seriously, go to a club... same thing...
539.
▲
by
fleitz
11y ago
It's a combination of Moore's law and churn, since the site is reasonably effective it generates huge churn. Since RAM follows Moore's law you could always keep the users in RAM if you wrote effective queries because user gro
540.
▲
by
fleitz
11y ago
I've worked with Markus, it would be very disingenuous to think he works 15 minutes a day. He really loves running the site. It's just that the feels like work part of his job only lasts 15 minutes, signing cheques, etc. He just d
More ›