Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ken
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
721.
▲
by
ken
7y ago
A macro isn't a function and can't be used like a function. Sure, doing the work at compile-time instead of run-time will be much more efficient at run-time, but you're won by moving the goal posts.
722.
▲
by
ken
7y ago
I don't think they're quite as rare as they make it sound. It seems like half the restaurants in NYC have one. Though I would believe that most people who have seen one didn't realize what it is.
723.
▲
by
ken
7y ago
I start work before sunrise, and don’t get off until nearly sundown. In the winter months, I can’t really avoid driving in the dark. I could take the bus but the schedule is so sparse where I’m going it would be quicker to walk (almost an
724.
▲
by
ken
7y ago
The most creative and ambitious people I know are not the most comfortable, though. The worst way I see "society" "punishing" people economically is they get a 6-figure desk job and are afraid to leave it. Why do you sa
725.
▲
by
ken
7y ago
Subtitle: "But, we won’t get it in the US." It's amazing to me that carmakers can introduce features on headlights "so as not to blind oncoming drivers" -- as if they know they've been blinding us for years. I
726.
▲
by
ken
7y ago
Is this alert appearing multiple times for every app on the system, or just for Terminal and only once ever? Since I'm only hearing about this in a techie article about Terminal, I think it sounds completely different from Vista UAC.
727.
▲
by
ken
7y ago
If that's what you want, it looks like you can get that by typing 4 characters. This seems like an awfully small price to pay to allow other people the possibility of much increased security.
728.
▲
by
ken
7y ago
You can do this via any file dialog, if you like. I don’t know offhand if Terminal has any open file dialogs, though.
729.
▲
by
ken
7y ago
The normal privilege UI of drag-n-drop indicating file access intent has been around for many years in macOS. The tracking has been through signed bookmarks, with no specific place for apps to persist this info. Keeping it in an xattr for A
730.
▲
by
ken
7y ago
Is that sarcasm? I can't even tell any more. Assuming it's not: Do you mean modern PHP? "The source code of the Viaweb editor was probably about 20-25% macros." So are you suggesting they should have started work by
731.
▲
by
ken
7y ago
I don't know anyone who first read this book outside of college. Its concepts aren't exactly directly applicable to typical work. If you're given the task to build something in Javascript for work, it's probably not a
732.
▲
by
ken
7y ago
In America, at least, that's still not what we use in industry. So the top response to my comment is a proposal to make this classic American book even less practical here!
733.
▲
by
ken
7y ago
Why? Why does a textbook about fundamental principles need to be 'adapted' to technology currently in use in industry? The Feynman Lectures uses an example of a screw jack with 10 threads per inch, and a 20" lever. Should w
734.
▲
by
ken
7y ago
It's true that the mouse is bad at macros. That's not somehow inherent to mousing, though! Operating system designers simply don't seem to care about this. Why can't I type control-U 10 and then select a menu item w
735.
▲
by
ken
7y ago
The question was about a career, not a major. It's not like "pre-med" or "pre-law". You don't need to decide this in high school.
736.
▲
by
ken
7y ago
It seems that most languages these days are on a path to adding as much syntax as possible. Is there no limit? The mainstream languages are already too complex for me to understand fully, let alone use effectively. We used to joke about A
737.
▲
by
ken
7y ago
I was once told (and I've long since forgotten where I heard this) that the three most important aspects to include in any news story are (1) what do we know, (2) how do we know it, and (3) what do we not know. I'm not sure I&#
738.
▲
by
ken
7y ago
> For example, if Amazon ships your package and it comes 4 days late because FedEx screwed up, you're going to likely think negatively of Amazon not FedEx. Because from your POV it's "Amazon said it will be here today but
739.
▲
by
ken
7y ago
You picked one skill -- computer programming -- which just happens to be the one the internet is built on. It should come as no surprise that the internet is a great place to learn that for free. The further you get from that, the worse te
740.
▲
by
ken
7y ago
Most, but not all. Agglutinative languages don't seem to use irregular verbs much. When I studied Turkish, I recall learning only one irregular verb. From some googling, Mongolian also has very few. Japanese has a lot, relatively,
741.
▲
by
ken
7y ago
Everything is easier if you're wealthy -- especially being a high-functioning alcoholic. They may have a 6-figure job, where the boss doesn't care if they come in late or hung over, or even drink on the job. They may live in a
742.
▲
by
ken
7y ago
There’s nothing common sense about knowing the limit on how much money you can carry (in one specific form), or kinds of foods and drinks which are allowed. The very nature of a border is that what is common (or common knowledge) on one si
743.
▲
by
ken
7y ago
When Google introduced Chrome in 2008 (via comic!), they claimed that within 20-30 minutes of a beta build, it was automatically tested on tens of thousands of the most popular webpages. Is that no longer true? Does that not include any w
744.
▲
by
ken
7y ago
One, it is a bottleneck. I don’t need to double it to see overall improvements. Two, it’s not just about speed. Some small changes here led to much less physical pain.
745.
▲
by
ken
7y ago
> This reminds me how everyone says they're an "introvert". That's your circle. I know many extraverts. They're certainly not afraid to admit it! Regardless of what you think of the MBTI's value as a tool,
746.
▲
by
ken
7y ago
> Lisp hasn’t been on the hype cycle since SO was launched. Hype cycle doesn't mean "currently being hyped". Every technology is somewhere on the hype cycle [1]. Lisp is well into the Plateau of Productivity. [1]: htt
747.
▲
by
ken
7y ago
It's not just about the "hype cycle". It's about being one of the languages/platforms where SO has a critical mass of knowledgeable users. For C# or JS, it's an amazing resource. I've tried to use it for
748.
▲
by
ken
7y ago
Congrats on launching, but according to your own webpage, it's had only one $5K month, and that was 2 months ago. It might be a bit early to claim "$5k per month".
749.
▲
by
ken
7y ago
That page is almost 60 MB, to show 3 small line charts and a country map. Welcome to Web 2.0.
750.
▲
by
ken
7y ago
> Before I had kids, I had moments of this kind of peace, but they were rarer. My cynical take: certainly, for people with sufficiently stressful jobs, having kids is going to be less stressful. Still, it's far easier to switch job
More ›