Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tom_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
601.
▲
by
tom_
2y ago
I have a line length limit I personally stick with, because it works for the display setup I have. But - I don't actually care all that much! I have truncate-lines off, word wrap mode on - or whatever the text editor calls it - so I ne
602.
▲
by
tom_
2y ago
This gives you no opportunity for a customized product-specific upgrade UI! Choosing to install the 32-bit version could also be an option I suppose.
603.
▲
by
tom_
2y ago
For whatever it's worth, I've been doing this stupid shit - writing C++, that is - for 25 years, and this is the first time I've heard this term. (This is a data point rather than a complaint. But for a fee, it can become a c
604.
▲
by
tom_
2y ago
You'd think so, and yet apparently it didn't happen - or it's not heritable, in which case we're stuck with it.
605.
▲
by
tom_
2y ago
Use both and get everybody!
606.
▲
by
tom_
2y ago
See also: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
607.
▲
by
tom_
2y ago
The subprocess.run args argument is a list of strings, not a single string with whitespace-delimited parts, so you're all good quotingwise. This is now effortlessly a lot better than what you get with bash in terms of how brittle thing
608.
▲
by
tom_
2y ago
It's probably also got better cooling. And you get some ordinary USB sockets as well!
609.
▲
by
tom_
2y ago
"Sir John von Neumann"?
610.
▲
by
tom_
2y ago
Must admit I haven't noticed this yet in /r/emacs.
611.
▲
by
tom_
2y ago
Assuming you don't want to use it for all the various other things you can also use a Mac for - sure, maybe.
612.
▲
by
tom_
2y ago
I wouldn't say it's odd at all - it's basically what's justifying actually trying to solve the problem rather than just going "huh... that's weird..." then putting it on the backlog due to it not being a s
613.
▲
by
tom_
2y ago
They're not actually smaller. It just looks like it because they're further away.
614.
▲
by
tom_
2y ago
You could be seeing two different sets of people, largely non overlapping.
615.
▲
by
tom_
2y ago
The past was allowed to play itself out. Why not the present too?
616.
▲
by
tom_
2y ago
The term "modern" could be editorialization. It appears nowhere in the README and doesn't seem to be how the project describes itself. (But, on the other hand, the repo appears to date from 2020. I can't deny this is una
617.
▲
by
tom_
2y ago
I just leave Ctrl where it is and press it with the knuckle of my little finger. I do it just like the guy in the pic on this page, pressing the control key with his little finger: http://xahlee.info/kbd/how_to_press_co
618.
▲
by
tom_
2y ago
This still annoys me slightly after nearly 20 years of using Emacs. In response to keypresses, it doesn't bother me too much, as I'm used to the Windows-style behaviour of PgUp/PgDn/etc. moving the caret, much as the Mac
619.
▲
by
tom_
2y ago
Take the blue pill, press the back button, and pretend you never saw it. Or take the red pill, pull back the curtains of reality, and see the machinery behind: https://news.ycombinator.com/item?id=41197775
620.
▲
by
tom_
2y ago
Right, but "psychopathic scammer" dials the criticism up a few notches, possibly to unreasonable levels - which i suspect is the point being made here. (That's certainly the point I'd have been making if I'd written
621.
▲
by
tom_
2y ago
This sort of thing is pretty handy sometimes. Don't forget you can have code (e.g., start of the loop) before any of the cases too!
622.
▲
by
tom_
2y ago
Yeah, git clone --recursive is the main thing I suggest. But unlike Google I include the exact command that you can copy and paste into the terminal to clone the specific repo in question. And if you're reading the README after cloning
623.
▲
by
tom_
2y ago
Actually worth doing if the repo uses submodules.
624.
▲
by
tom_
2y ago
Regarding minimal syntax: https://yosefk.com/blog/i-cant-believe-im-praising-tcl.html
625.
▲
by
tom_
2y ago
I've been pretty happy with the experience of using Python as a replacement for my previous solutions of .PHONY-heavy Makefiles and the occasional 1-line wrapper batch file or shell script. It's a bit more verbose, and I do roll m
626.
▲
by
tom_
2y ago
Add me to the list of people wondering about it too. An odd throwaway line, something of a non sequitur, some information we didn't really need to know - and yet, it was included. (And the noses referred to again later.) But without fu
627.
▲
by
tom_
2y ago
Comes up blank for me on Firefox 129.0.2 and Firefox 130.0, both on Windows. I don't use ad blockers.
628.
▲
by
tom_
2y ago
This is what I've done on every PC I've used professionally since 2002. Tweak OS setting, start typing. Mixing keyboard layouts works well on Windows 10+ or macOS. Remote Desktop problems were a thing with WIndows XP, but I can&#x
629.
▲
by
tom_
2y ago
new[] and delete[] both know the type of the object. Therefore both know whether a destructor needs to be called. When a destructor doesn't - e.g., new int[] - operator new[] is called upon to allocate N*sizeof(T) bytes. The code store
630.
▲
by
tom_
2y ago
Depends what you do! I've never found anything quite as good as Visual Studio for C/C++ coding and debugging. I can (and have...) got by with Xcode on macOS and CLion on Linux, but they're just not quite as good. (I did a sti
More ›