Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Taywee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
271.
▲
by
Taywee
4y ago
Sure, but that's not the point. It's just an illustrative example, and I wanted a short absolute path that is easily recognizable to the reader. I'll fix it, though, to avoid having an example with bad security practices, t
272.
▲
by
Taywee
4y ago
It can if you are executing programs that then try to execute those commands and get your commands instead.
273.
▲
by
Taywee
4y ago
Clever trick. Too bad there's no good way to namespace commands. It would be interesting if you could have, for instance: $ mkdir -p /tmp/bin/my $ printf '%s\n%s\n' '#!/bin/sh' '
274.
▲
by
Taywee
4y ago
Language is really interesting in that way. You can positively or negatively frame literally anything without actually being untruthful.
275.
▲
by
Taywee
4y ago
I'd be proud of it, if they were a good person, took care of themselves, took care of the people around them, and were truly happy in their lives. Some people are perfectly happy working low-level positions in restaurants, sanitation,
276.
▲
by
Taywee
4y ago
Nope. They forward through an in-between that obscures it. They argue that because search results are personalized, being able to see the search terms can give you information about the visitor that can compromise their privacy. Google d
277.
▲
by
Taywee
4y ago
I have friends AND family and I manage it. If you wake up at 6 AM and go to bed at 10 PM, work 9 AM to 6 PM, and shut down all your screens and stuff at 8:30 PM, that gives you 8 hours of sleep a night, an hour to work out in the morning,
278.
▲
by
Taywee
4y ago
Wow, I don't know how I entirely missed that. Thanks for the heads up. I've even written a few libraries with C ABI and wrote gems around them with the Ruby FFI gem because I didn't know about Fiddle. I wish the name were bet
279.
▲
by
Taywee
4y ago
I think he's referring to Python's ctypes, which is part of the standard distribution. Ruby and node can't dynamically load C libraries using just the core distro (though it's a little silly of a point to make, given th
280.
▲
by
Taywee
4y ago
That's not native 64-bit integers. That's BigInt, and it's already out everywhere, and unless the situation has changed, it's significantly slower than just 64-bit integers would be. I'm not actually attacking Java
281.
▲
by
Taywee
4y ago
I'd recommend Rust even if just because the available material for learning it is really good: https://www.rust-lang.org/learn I'm just recommending Rust in general, not over Elixir, because I've never used E
282.
▲
by
Taywee
4y ago
ASM and C have access to native 64-bit integers. Javascript does not.
283.
▲
by
Taywee
4y ago
I find for builds especially it's invaluable. I have a Makefile that builds Docker images and runs build processes for all 4 supported versions of Debian, 3 LTS versions of Ubuntu, RHEL7, and Fedora 35 and 36. It builds and packages
284.
▲
by
Taywee
4y ago
> OpenOffice continues because the Apache project chairs in place hate the GPL LibreOffice isn't even GPL. It's Mozilla Public License (MPL). Still copyleft, but much more weakly so, because only MPL source files are required
285.
▲
by
Taywee
4y ago
I really don't understand why Apache doesn't just put the OpenOffice branding on LibreOffice. Is there any real reason to not just make OpenOffice a branded distribution of LibreOffice at this point? edit: oh right, licenses. Li
286.
▲
by
Taywee
4y ago
Not really insecure, because all communication over the public Internet is done on TLS 1.2+. Really, it's at worst as insecure as just using HTTP to the mitm proxy and then having the proxy do the encryption to the outside world, given
287.
▲
by
Taywee
4y ago
I'm actually doing this kind of thing at work right now. A client has a piece of software written by a vendor that went belly-up in 2007. The software is a central part of their business (don't ask me why they didn't try ha
288.
▲
by
Taywee
4y ago
Copyright doesn't punish incidentally matching content. It's specifically right to copy or transform content. To make a case for copyright violation, you have to make the case that it was actually copied. If you want to make a p
289.
▲
by
Taywee
4y ago
Only if it saves you a few minutes every month in a "net" sense. If it saves you dozens of minutes every month and then also costs you dozens of minutes every month in hard-to-predict ways, it's hard to judge either way on i
290.
▲
by
Taywee
4y ago
I find a simple <video> embed to be a fantastic user experience, even compared to YouTube.
291.
▲
by
Taywee
4y ago
> It's crazy how fast pure C++ can be. We have reduced the time for the computation by ~119%! The pure C++ version is so fast, it finishes before you even start it!
292.
▲
by
Taywee
4y ago
I don't see why not. Normal humans make mistakes, can't manually manage memory safely, are bad at building safe buildings without experience and standards and guidelines, and naturally fall into unsafe food preparation habits. St
293.
▲
by
Taywee
4y ago
Dextroamphetamine. Worked great for a few months, but have lessened in effectiveness. Now it still works for focus, but the impulsiveness came back (he was actually able to explain to me that he was having trouble controlling his actions),
294.
▲
by
Taywee
4y ago
My son is 9 now. We only started him on medication this year (we were trying so hard to get it under control without medication, and his doctor was worried about his weight if we put him on the stimulants). Getting him to eat is a challen
295.
▲
by
Taywee
4y ago
Not them, and I don't have ADHD, but I am the parent of a child with ADHD and I know plenty of people with ADHD, and it's not just "having trouble focusing". For a lot of people, it's a complete inability to focus
296.
▲
by
Taywee
4y ago
None of those studies establish a causal relationship. Correlation is not causation. Even the first study says "Longer time spent in cognitively stimulating activities (>1 hours per day) was associated with lower scores of both AD
297.
▲
by
Taywee
4y ago
If a sizable number of people specifically voted against independence out of desire to remain in the EU, then their votes were undermined. Voting is supposed to represent the will of the people, and I don't think it's fair to tre
298.
▲
by
Taywee
4y ago
Why does the statement "once in a generation" completely obviate any nuance? It makes sense to evaluate things based on events and changes in situation and context. It makes sense to not bring up things over and over again in an a
299.
▲
by
Taywee
4y ago
Tone policing is irrelevant and annoying. Technical relevance and accuracy trumps any of your personal feelings on Google, and I say that as a person who generally detests Google.
300.
▲
by
Taywee
4y ago
That's not a sunk cost fallacy. A sunk cost fallacy depends on expected future cost still being higher than future benefit. In that anecdote, the implication is that the employee gained insight or learned from that mistake. In fact,
More ›