Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l_t
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
91.
▲
by
l_t
8y ago
Here's my take -- the list is incidental. It could have been anything. The key here is that he engaged with his dreams in a real way. He thought about them, made them concrete, and then tried to actualize them. He gave his life a goa
92.
▲
by
l_t
8y ago
I don't think so. What is old is new again; even this blog post is an example of a developer relearning that core lesson. Also, I'd like to point out that in both this blog post and the Taco Bell one, the "UNIX way" is b
93.
▲
by
l_t
8y ago
I like the "everything is text" mentality, but really, the "hard part" of the GNU/Linux CLI is getting things done when you don't already know how . If you've memorized the hundreds of different invocatio
94.
▲
by
l_t
8y ago
Yeah, great point. Kubernetes done right can help with these things, but done wrong, it can cause more problems than it solves. Of course, for a personal project, hitting those "unknown unknowns" is all part of the growing process
95.
▲
by
l_t
8y ago
IMO, Kubernetes is one of those things where if you have to ask, you don't need it. It's only really "justified" if you're actually using features like: - High availability services (more than one copy running at on
96.
▲
by
l_t
8y ago
Well, we can certainly get better as a culture about promoting moderation and social consciousness over greed and winner-takes-all mentality. Competition will always exist, and we should accept that, but it's not a binary thing, it
97.
▲
by
l_t
8y ago
The most important thing, if you haven't already, is to set the noImplicitAny and strictNullChecks compiler flags. I find that not having these flags set is a common source of Typescript type unreliability. The flags prevent two beha
98.
▲
by
l_t
8y ago
The author's stated stance is that you can , but usually shouldn't. Personally, I think to myself before using regexes to parse HTML: 1. Am extracting more than the contents of a single element? 2. Is the input HTML prone to chan
99.
▲
by
l_t
8y ago
Isomorphic in this context means the library supports running in Node.js as well as in the browser. (This is mentioned further down in the README).
100.
▲
by
l_t
8y ago
I see this as a cultural problem, with a cultural solution. If you think about "free riders" versus "cooperators" as a dichotomy, you won't find a solution. Everyone is both a "free rider" and a "coop
101.
▲
by
l_t
8y ago
It seems like YDNW is like a CMS that uses Google Drive as the "backend"/admin UI. Personally, I see the benefits to using GDrive as the backend, but instead of having to host a server, I would rather be able to run a static
102.
▲
by
l_t
8y ago
I think the article hits on the key problem: "Less than 100% reliability is essential for the sustainability of an off-the-grid solar system." IMO, this can only become mainstream once there is no longer an expectation of "10
103.
▲
by
l_t
8y ago
For an interesting perspective on this topic, I'd recommend "Man's Search for Meaning", by Victor Frankl. Frankl was a Jewish psychiatrist who survived Auschwitz, and one of his points (as I understand it) is that humans
104.
▲
by
l_t
8y ago
Changing the title of an issue, presumably so it doesn't show up in search results? Deleting the body of the issue? Not leaving any explanation? Yeah, that doesn't seem normal to me. Can't say I approve.
105.
▲
by
l_t
8y ago
Choose a startup where: - People regularly take vacation time. - They're happy to hear that you care about work/life balance and will not work more than 40 hours a week except in emergencies. - You're not strongly invested
106.
▲
by
l_t
8y ago
Good point about the testing system. Test coverage plus a good CI/CD system goes a long way to reduce "deployment anxiety", in my experience. Untrustworthy tools or broken processes can be a major source of stress. But, I wou
107.
▲
by
l_t
8y ago
I would tell your friend that programming best occurs at the appropriate level of abstraction to succinctly express the problem at hand. For example, if you are trying to write "business logic", you don't want to have to worr
108.
▲
by
l_t
8y ago
I would argue that it's also theoretically misguided. After all, it's not like programmers in the past didn't use libraries and pre-built components. If anything, I'd argue the LOC it takes to accomplish many tasks is ac
109.
▲
by
l_t
8y ago
I think about defining the "maintainability" of code as a reduction in the amount of time that will be spent working on that code in the future. Therefore, there are two broad categories of maintainability fixes: 1. To reduce the
110.
▲
by
l_t
8y ago
The OP's comment was specifically with respect to the large number of dependencies, which can increase the "surface area" for this type of attack to happen. And, of course, we're talking about VuePress because this is a
111.
▲
by
l_t
8y ago
Fair enough -- it's not like it's completely opaque. But when I start a project and see there is no webpack.config.js in the project root, I feel the opposite of relief. For example, if there isn't a config file, it's us
112.
▲
by
l_t
8y ago
Yeah, I guess I got the story wrong. Thanks for the correction.
113.
▲
by
l_t
8y ago
Yeah, that made me laugh. Is it really a relief to have a config file you can't see instead of one you can?
114.
▲
by
l_t
8y ago
Based on the title, I had assumed that Google somehow reprimanded the engineer, but as far as I can tell, Google has nothing to do with the story -- he was kicked out of Caesar's Palace while at Defcon. Well, I wouldn't have click
115.
▲
by
l_t
8y ago
True, but they can compromise the machine that runs VuePress (or at least, run arbitrary userlevel JS code on it).
116.
▲
by
l_t
8y ago
Ah, that's true. Good point.
117.
▲
by
l_t
8y ago
Boolean operators returning values is common, especially in dynamically typed languages. The code is valid in JavaScript, for example, and in Python (except it uses "or" instead of "||").
118.
▲
by
l_t
8y ago
Ah, thanks for the correction. I remember being told they had the same creator; that's what got me interested in foobar2000 in the first place, years ago.
119.
▲
by
l_t
8y ago
If you haven't seen it, check out foobar2000 [1]. It was created by the same dude that made the original Winamp (which is now owned by Yahoo, IIRC). [1]: https://www.foobar2000.org/
120.
▲
by
l_t
8y ago
I haven't experienced this personally either. What I have noticed is the following: - Signaling in tech is a real thing. I believe this stems from being (understandably) picky about our peers, combined with a fundamental difficulty of
More ›