Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomlu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
tomlu
13y ago
It's nice how in Go you can alias a type to int, yet it is its own distinct type with compile time checks and explicit conversions. Definitely takes away all the boilerplate.
92.
▲
by
tomlu
13y ago
I see where he is coming from even if the wording is ambiguous. Git presents the abstraction of storing objects, and diffs are inferred. The exact implementation is beside the point.
93.
▲
by
tomlu
13y ago
Yes. You can only really rebase onto one remote branch. If two people are working on feature branch PRJ-123-awesome-feature, then you both rebase onto origin/PRJ-123-awesome-feature. You have to merge with master if you wish to keep
94.
▲
by
tomlu
13y ago
> I suspect this means that there is room for significant improvements in terms of per transistor efficiency with the use of a novel CPU architecture. I seem to recall a comment a while back from an Intel chip designer guy saying that th
95.
▲
by
tomlu
13y ago
I believe the human brain is best capable of picking up a language by being subjected to it. Hence I prefer reading and speaking over artificial practice, at least beyond bootstrap level. Here's what worked for me: 1. Get an acceptable
96.
▲
by
tomlu
13y ago
In case you're claiming the original author thinks either theory in general or LISP in particular is useless I urge you to read the essay. He's very much for high level languages, theory included, it's just that as a systems
97.
▲
by
tomlu
13y ago
On C++ syntax errors: Syntax error: unmatched thing in thing from std::nonstd::__map<_Cyrillic, _$$$dollars> const basic_string< epic_mystery,mongoose_traits < char>, __default_alloc_<casual_Fridays
98.
▲
by
tomlu
13y ago
I have a Kinesis, and the trouble I found with these were that they are raised too far above the table surface which causes neck strain for me. I have had better luck with the Truly Ergonomic but this looks even better!
99.
▲
by
tomlu
13y ago
I've implemented it thrice. Easy to get working, surprisingly tricky to balance all the space/performance requirements. You do get better at it!
100.
▲
by
tomlu
13y ago
I took it to be more of a thought exercise than a serious change proposal.
101.
▲
by
tomlu
13y ago
I always find it confusing how people can prefer Xcode. I guess it's whatever you're most used to and comfortable with. Xcode does look a lot better aesthetically, but that's about the only thing I can think of. IMO AppCode h
102.
▲
by
tomlu
13y ago
Google mandates 4 space indentation according to this: http://google-styleguide.googlecode.com/svn/trunk/pyguide.ht...
103.
▲
by
tomlu
13y ago
Not many languages have prototypal inheritance, but most modern languages have first class functions these days. And what sane language uses dynamic scoping?
104.
▲
by
tomlu
13y ago
I would have thought in the future all kinds of traffic circumstances would be handled by broadcasting information (such as "slow down") in a format native to the onboard computer. Then the guy in the hi-vis suit is just a redunda
105.
▲
by
tomlu
13y ago
If you have already added some contrast then please add some more (else ignore comment) Looks great otherwise!
106.
▲
by
tomlu
13y ago
Depends on what you mean. It doesn't spread in the same way that const correctness spreads in C++, i.e. once you add const somewhere you are forced to add it to a bunch of other places as well.
107.
▲
by
tomlu
13y ago
I could comprehend the first piece of code in about 20 seconds and the final result in a couple minutes. It's pulled apart nicely, but it's not as simple any more. The end result might look better in something like Lisp or Ruby, b
108.
▲
by
tomlu
13y ago
Here are two things: * It can be really clumsy to get programmatic hold of anonymous controls like buttons inside of list items * Styling is clumsy
109.
▲
by
tomlu
13y ago
It's almost impeccable at what it's trying to do, but I can think of a couple of things: * References are nullable by default (IIRC Hejlsberg himself would do this different if he could) * Its C-derived brace-heavy syntax can make
110.
▲
by
tomlu
13y ago
> PayPal will offer the same service to you with "micropayments" pricing Just a warning to anyone that reads this: Last I tried (February 2013), micropayments were completely broken. Payments would fail for any customer that di
111.
▲
by
tomlu
13y ago
My retina gets about 3-4 hours, so I don't think 8 hours is a real possibility.
112.
▲
by
tomlu
13y ago
> 8-byte mallocs are expensive because most mallocs have per-allocation memory overhead to track things As you say, most mallocs have this overhead. But with a bit of alignment trickery and bit masking you can put the header storage at t
113.
▲
by
tomlu
13y ago
Remember Pathways into Darkness? AFAIK that was their very first game. Brutally hard, and revealed the story in a similar fashion.
114.
▲
by
tomlu
13y ago
> How much of a "market" was there in XCMDs? There was something of a free and paid market for these, but it never really took off. Discoverability was an issue in those days. > Beyond disks, did anyone ever host anything th
115.
▲
by
tomlu
13y ago
Front-side HTTP caching is all well and good, but what do you guys do in the case when the returned content is (at least partially) user-contextual? Caching isn't really going to help you in these cases.
116.
▲
by
tomlu
13y ago
My experience has been that plain old function based views work out to be simpler and more flexible, at the cost of a little more duplication. Don't forget they are an alternative too!
117.
▲
by
tomlu
13y ago
Why not? We switched from PayPal to Braintree explicitly because PayPal was too broken for our use case. Is there some indication to expect that Braintree won't be integrated into the rest of PayPal in the case of an acquisition?
118.
▲
by
tomlu
13y ago
When using Visual C++ I'd use ViEmu. Other IDEs have similar vim plugins of varying strength. To put things into perspective, in terms of productivity if given a choice between Visual Studio without ViEmu or just vim I'd pick Visu
119.
▲
by
tomlu
13y ago
Maybe you don't need concurrency, but I certainly have in almost all my jobs thus far. async/await is pretty great for this, especially when you need to mix concurrency and UI. Making it a language feature (instead of a library) m
120.
▲
by
tomlu
13y ago
Homeschooling is pretty common in Australia, so I've met a few people that have gone through that process. So prepare for anecdata! Some of these kids have been somewhat inept in the social department. It's not that they are asoci
More ›