Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ken
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
88 ms
·
901.
▲
by
ken
7y ago
GitHub is a special case, perhaps in all of computerdom, in that most of their public data is stored not in (SQL) databases, but in git repositories. That's rather unique! So we know they must already have a great indexing and search
902.
▲
by
ken
7y ago
> I'm really surprised Apple's not cracking down on react-native yet. Why is this surprising? React-Native uses JavaScriptCore, which Apple has promoted since long before iOS or any of their App Stores even existed. Apple isn
903.
▲
by
ken
7y ago
They also have incentive to make it easier for you to switch platform. People are more likely to adopt a platform in the first place if it lets them escape, e.g., Joel Spolsky said Excel 4 was the tipping point because it allowed users to
904.
▲
by
ken
7y ago
Another example: source code is human readable (by definition), but that doesn't mean I can read any possible program. I struggle to read many programs with deep nesting, but that doesn't mean I'd find it acceptable for my co
905.
▲
by
ken
7y ago
> I can't even conceive of a use case for 100 A naive serialization of cons cells?
906.
▲
by
ken
7y ago
I would be perfectly OK with that answer if they documented that they use the C stack and therefore have a small finite depth limit, and/or threw some sort of TooMuchNesting exception before they hit that limit. AFAICT, many/mos
907.
▲
by
ken
7y ago
The "instantaneous violations" link is dead -- I was hoping to learn what that means!
908.
▲
by
ken
7y ago
20 years ago, it took me only around 10 minutes on a single-core 32-bit CPU, with 1/1024th the RAM, and spinning rust for storage. How is it not even twice as fast today?
909.
▲
by
ken
7y ago
> How does the person who wrote the code know what exact thing you don’t understand? The suggested alternative, "If this is an optimization, can you please add comments?", is a guess. Are we supposed to guess what uncommented
910.
▲
by
ken
7y ago
How is "Would you explain this to me?" not a "hoop for the writer to jump through", then, if "I don't understand this" is? They sound exactly the same to me, except one is longer, and slightly more expl
911.
▲
by
ken
7y ago
I can count on the fingers of one hand the number of programs I've seen in my life longer than 100 lines with consistent conventions.
912.
▲
by
ken
7y ago
Even my least-tech-savvy friends manage to type 25 variations of the yellow smiley face. I'm sure if this were added to the language, Python programmers (and Python editor programmers) would manage to find a way.
913.
▲
by
ken
7y ago
I heard the same complaints about indentation for scope, 20 or 25 years ago, and yet it seems to have worked out OK for them. It's interesting how many of these rules we know to be true, aren't. I for one am tired of programming
914.
▲
by
ken
7y ago
The default encoding for Python source code is UTF-8. If they're not using UTF-8 here, it's by choice.
915.
▲
by
ken
7y ago
https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism) probably predates the US military usage.
916.
▲
by
ken
7y ago
A missing semicolon has an entirely different connotation for C programmers and Lisp programmers.
917.
▲
by
ken
7y ago
I'm confused by this, because the websites with the most value to me are those with the fewest ads. Like this one. Or the company website for a tool I bought, where I can now go download the manual as a PDF for free. Or some persona
918.
▲
by
ken
7y ago
Probably the same as any other hard plastic device that sees frequent public deployment. No cable ramp looks half as nice as it does in the manufacturer photos, either. Adding large quantities of liquid to a safety device comes with its ow
919.
▲
by
ken
7y ago
They're using a different measuring stick for these cases. They equate being in the office with "being constantly interrupted". Well, sure. Obviously that's bad! But does it have to be that way? In other words, remot
920.
▲
by
ken
7y ago
I think half the drama is that there are Electron apps in Apple's app stores already, e.g., a quick grep of Slack.app shows it contains all of these symbols in "Electron Framework.framework", yet it was apparently approved. I
921.
▲
by
ken
7y ago
Does Slack use private APIs?
922.
▲
by
ken
7y ago
That's clever, but it still sounds like a way that information could be leaked. Download the target resource, and then download it again concurrently with a known unique resource, and see if the timing changes, for example. It's
923.
▲
by
ken
7y ago
I'd like to know what you think "where leaks are not a concern" might mean. As a web developer, I have no idea how I'd be able to know that, even if I were perfectly benevolent and competent. Loading resources from a C
924.
▲
by
ken
7y ago
How would that help? You're incentivizing developers to mark everything "allowcache" (to make their pages faster), and it's the users who will suffer (via privacy attacks). If your plan to fix this situation is "tr
925.
▲
by
ken
7y ago
In the NeXT/Mac family tree, at least, it has steadily improved. - The thumb became proportional. - The arrows moved to the same end (so you didn't have to hit another tiny target on the opposite side of the screen when you oversh
926.
▲
by
ken
7y ago
The reason I don't file many bugs any more: in most cases, maintainers will either ignore them, or come up with some excuse for not fixing it. Yes, even for crashes. Lots of projects (both open-source and proprietary) have a particula
927.
▲
by
ken
7y ago
The phrases "mostly enjoy" and "somewhat interesting" are red flags to me. It brings to mind Hamming's talk [1] where he recounts: > And I started asking, ``What are the important problems of your field?'&#
928.
▲
by
ken
7y ago
There are Third Places if you know where to look. You just have to decide what your Third Place is, or discover it. I'm not sure what "HN-type people" means because I'm clearly way out of the standard demographic and my
929.
▲
by
ken
7y ago
> What changes have you seen in the students coming into the computer science program over the years? > Knuth: There is a very profound change that I can't account for. In the 70s, the majority of our students were very intereste
930.
▲
by
ken
7y ago
It's been posted on here many times, e.g., https://news.ycombinator.com/item?id=6909711 and https://news.ycombinator.com/item?id=16233644 .
More ›