Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scbrg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
scbrg
4y ago
Yes. No gotchas there. >>> foo = b'foo' >>> foo[0] == b'f' False Don't get me wrong. I love Python, it has been my daily driver for 20+ years (and it pays my salary), but it does
152.
▲
by
scbrg
4y ago
Doubt it would be helpful. It appears that the model changed dramatically between those two versions. For instance, the whole API (which we relied on) was dropped[0] and some legacy API was glued in place. In either case, the information wo
153.
▲
by
scbrg
4y ago
https://xkcd.com/1205/ is relevant here. Our codebase is somewhere between 200k and 300k LOC. Running the flake8 suite takes minutes. We haven't integrated ruff, but during a test run it ran in less than a second,
154.
▲
by
scbrg
4y ago
Sorry, yes, I understood that. But since you mentioned dwm and awesome in the same breath and then went on to complain about configuration headaches I thought it might be worthwhile to point out that dwm actually doesn't suffer from th
155.
▲
by
scbrg
4y ago
> I also stop using dual monitors when switching to dwm (for 10 minutes) then awesome. Because fiddling with config files to get dual monitors + tags right I'm a dwm user with three screens, and there is literally zero extra configu
156.
▲
by
scbrg
4y ago
So we'd need to adjust our terminology a bit. I'm sure the world wouldn't end because of that. It's always amusing to me how opponents of the idea of abolishing time zones assume that everything will stay the same, exc
157.
▲
by
scbrg
4y ago
There is no long form. command is defined in Posix. Long forms are a GNU addition.
158.
▲
by
scbrg
4y ago
Hah! That's hilarious. I have the same feeling with foreign currencies. Prices are just a random number, and you happily hand over those funnily colored bills without thinking too much about it. Yes, trips abroad tend to be unreasonabl
159.
▲
by
scbrg
4y ago
I wonder how this applies to foreign languages. I swear quite a lot (not something I'm particularly proud of, or that I think is an indication of any other positive/negative quality I may or may not have). But I pretty much only
160.
▲
by
scbrg
4y ago
Yes. I'm aware of this. My point is, not everything that starts a process is an interactive shell (or a subprocess of an interactive shell), and even when you do launch things from a shell, you're not necessarily in the directory
161.
▲
by
scbrg
4y ago
Isn't direnv a tool for interactive shells (which also relies on current directory)? There are more ways to launch a process than from an interactive shell (standing in a certain directory, even).
162.
▲
by
scbrg
4y ago
I guess the point is that writable doesn't necessarily imply pronounceable.
163.
▲
by
scbrg
4y ago
There's an Swedish fantasy role playing game/novel[0] in which there's a city called HOXOH (all uppercase). It's also known as the "City of Illusions" and home to the magical Academy of Illusionists (who are of
164.
▲
by
scbrg
4y ago
Can I, as an application developer, configure a user's exclusion list in Windows Defender? If yes - that sounds insane! If no - it doesn't really help, then, does it? The complaint was that an application developer cannot create a
165.
▲
by
scbrg
4y ago
There are three processes involved. Process P, the data producer, writes to file foo. Process Z, the zip-process, reads file foo and produces foo.zip Process rm, removes file foo. I imagine it went a bit like this: P --output foo &
166.
▲
by
scbrg
4y ago
The norms are different in different locations. Where I live (Sweden), I'd say pretty much everybody sets a comfortable temperature and keeps it at that. OTOH, our houses are generally heavily insulated, so while heating a house is e
167.
▲
by
scbrg
4y ago
And if you skip recommends -dependencies, it's a few hundred k, depending on what you have already. apt install --no-install-recommends diffoscope And then you can (presumably) cherry pick what you need for the particular typ
168.
▲
by
scbrg
4y ago
> a generation has passed since 1998 And yet, many of the current senior management were there in 1998 and were obviously fine with it. Most of the rest joined shortly after and were obviously also fine with it.
169.
▲
by
scbrg
4y ago
Man, you chose the wrong username, didn't you? ;-)
170.
▲
by
scbrg
4y ago
The rest of the lifeforms. Those here on earth and those we might encounter if we manage to leave the solar system - unlikely as that may be. I'm not saying that humanity necessarily should be destroyed, I'm just saying that the
171.
▲
by
scbrg
4y ago
> 3) Destroying humanity is unethical by any non-broken value system. Nah. Given the ridiculous amount of damage humanity is doing to its environment and other lifeforms there's a good case to be made for destroying it for the great
172.
▲
by
scbrg
4y ago
> my employer is somewhat disapproving for GPLv3 tools Let's hope it's not bash scripts you're writing :-) http://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
173.
▲
by
scbrg
4y ago
> Why is this person handwriting in print instead of cursive? Perhaps they want it to be readable? :-) > Is it what society has come to? Thankfully, yes.
174.
▲
by
scbrg
4y ago
> Is this something bash specific? Yes. http://mywiki.wooledge.org/ArithmeticExpression#Arithmetic_C...
175.
▲
by
scbrg
4y ago
"Free Tibet" and "Stand with Hong Kong" might work :)
176.
▲
by
scbrg
4y ago
Then the reasonable thing is to educate these people, since they are in no way[0] equivalent. Words are supposed to have meaning, so you know what the hell people talk about. It's not hard to use the correct terms, and something that t
177.
▲
by
scbrg
4y ago
The thought that Neal Stephenson's books often don't have great endings is perhaps not very original, but the phrase "he just declares victory and stops writing" was, at least to me, fairly unique. I was a pretty avid &#
178.
▲
by
scbrg
4y ago
I see, thanks for letting me know :) I'm not a native English speaker, and my main use of (spoken) English is with other non native speakers (such as my multinational dev team back then), so I'm sure there's a lot of common e
179.
▲
by
scbrg
4y ago
Way, way back I ran into a comment on Slashdot saying essentially: Neal Stephenson doesn't really do endings. At some point, he just declares victory and stops writing. (not an exact quote, though the second sentence is probably very
180.
▲
by
scbrg
4y ago
$ dict leaf | head -5 8 definitions found From The Collaborative International Dictionary of English v.0.48 [gcide]: Leaf \Leaf\ (l[=e]f), n.; pl. {Leaves} (l[=e]vz). [OE. leef,
More ›