Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jesstaa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jesstaa
10y ago
I wouldn't. It's like teaching someone to cook by starting with teaching them chemistry.
32.
▲
by
jesstaa
11y ago
Racism is by definition a belief. Someone is racist if they believe in such a belief. Actions are actually irrelevant to this definition. Similarly a fascist is someone that believes in the fascism ideology. That's just how these words
33.
▲
by
jesstaa
11y ago
Expecting anyone to do 15hrs of useful work for a startup in a day is just foolish. There is lots of data to show that most of that 15hrs is just going to be a damaging waste of time. I would never invest in someone that naive.
34.
▲
by
jesstaa
11y ago
The talk addresses this. The whole point of Reactjs is that updating the whole UI isn't very expensive so you don't have to worry about doing fine grained data change tracking (which is harder to optimise due it not scaling well a
35.
▲
by
jesstaa
11y ago
Performance characteristics are that this increases expsense with the size of your data where as just re-rendering increases expense with the size of your UI. It's actually much more common to have lots of data but only render a small
36.
▲
by
jesstaa
11y ago
This is often very had to track. The solution is income tax breaks for the poor. Australia did this with our carbon pricing. The tax free threshold(income below which you're not taxed on) was raised a significantly to compensate the po
37.
▲
by
jesstaa
11y ago
9. Monkey patching instead of good design 10. Don't worry about data integrity
38.
▲
by
jesstaa
11y ago
If it's actually a REST API then it's going to take multiple queries. Certainly you can put an non REST API in front of it to reduce the queries. Every site does it and every site does it in a different way. GraphQL is built to so
39.
▲
by
jesstaa
11y ago
Interactively querying REST APIS is a massive pain, doing anything useful requires multiple dependent queries, postman doesn't really help with that. Being able to query a graph interactively is actually useful, I've used graphiql
40.
▲
by
jesstaa
11y ago
Urban highways solve a political problem. When you have voters that spend a hour or so a day stuck in traffic it's really easy to sell them the idea that a highway will reduce traffic congestion without them having to change anything a
41.
▲
by
jesstaa
11y ago
React and Redux are a great stack for making solitaire
42.
▲
by
jesstaa
11y ago
You still need an index of your mail for searches and extra metadata for tags, threading, unread status etc. So you need a protocol for requesting this search and a format what how the client can use the result of that search to access the
43.
▲
by
jesstaa
11y ago
Reporting an increase of a percentage of risk is horribly misleading.
44.
▲
by
jesstaa
11y ago
That's an optimisation. It's not core to the React model. If DOM mutation was ever to be faster than the cost of the diffing then they'd just remove the diffing and your applications would still work the same with the same AP
45.
▲
by
jesstaa
11y ago
If financial institutions can commit complex theft on a massive scale without prosecution then the economy will fail. What value does money have if theft occurs on that scale regularly? Why invest in industry when it's more profitable
46.
▲
by
jesstaa
11y ago
Also, Ruby on Rails is Flux.
47.
▲
by
jesstaa
11y ago
It's important to note that a lot of C programmers don't really understand the C declaration syntax anyway. Most are familiar with the simple cases, very few are familiar with how to declare complex types. I can barely read this:
48.
▲
by
jesstaa
11y ago
Containers, like virtual machines before them, aren't the future of computing. They're how we manage legacy apps. The future of computing is not this horrible kludge.
49.
▲
by
jesstaa
11y ago
The most interesting thing I've seen in this space recently is http://peaker.github.io/lamdu/ .
50.
▲
by
jesstaa
12y ago
Most people don't know their natural language as well as they'd need to know it to accurately and unambiguously describe things. The only reason natural languages are even useable is because the human interpreting them has a huge
51.
▲
by
jesstaa
12y ago
The pipelining talk gives some good examples of where most the the instruction level parallelism comes from. http://millcomputing.com/docs/pipelining/ Most of the rest of the CPU design is really just to enable th
52.
▲
by
jesstaa
12y ago
It's 1,2,3,4,5,6 in the default format of the posix 'date' command.
53.
▲
by
jesstaa
12y ago
so you're just manually doing with a linker is supposed to do for you? I guess it goes along with manually doing what a scheduler does for you.
54.
▲
by
jesstaa
12y ago
It's not an alias, it's a new type. eg. http://play.golang.org/p/bXgryxNT0H
55.
▲
by
jesstaa
12y ago
"A possible exception can be made for things like int, but even then I prefer defining type aliases for things as much as possible, so the type system is as helpful as possible." It's important to note that Go doesn't al
56.
▲
by
jesstaa
12y ago
This is faster because it's doing a linear search. Linear search is really fast when 'n' is small. But it's horribly slow when 'n' is large. But since the http route matching is never going to come up at all in
57.
▲
by
jesstaa
12y ago
The format that git stores it's data in is great, the tool most commonly used to access that data is a bit of a mess. So there's no reason not to use git with a different UI and there are a lot of UIs for git.
58.
▲
by
jesstaa
12y ago
You can make an io.Reader interface in any language. Interfaces don't really shine until you start composing them. Say you have a type that implements the io.Reader, io.Writer, io.Closer and io.Seeker interfaces, eg. an os.File. This t
59.
▲
by
jesstaa
12y ago
http://golang.org/pkg/runtime/pprof/#Profile Provides a "blocking profile" that tells you what things blocked and for how long they blocked for. You can use it to find places where you've deadl
60.
▲
by
jesstaa
12y ago
Most concurrent C programs of a reasonable size eventually have some kind of big global lock. The linux kernel had one for a long time and it took a lot of effort to add more fine grained locking. Similarly most large C programs have a garb
More ›