Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oguz-ismail
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
oguz-ismail
1y ago
https://imgur.com/a/qA1fr71 Something wrong with my eyes? Doesn't cmd.exe look smoother in this screenshot?
32.
▲
by
oguz-ismail
1y ago
> Terminal Have they fixed font rendering yet? cmd.exe looks better on my laptop
33.
▲
by
oguz-ismail
1y ago
> I use __rdtsc() compiler intrinsic What do you do on ARM?
34.
▲
by
oguz-ismail
1y ago
Those companies own half the internet and they make sure the right browser is always slower and shittier than theirs
35.
▲
by
oguz-ismail
1y ago
None. No matter how much you pay, the best you'll ever get from streaming services is a bit-starved encode with fake film grain in a bullshit codec that'll look worse than 720p DVD rips you'd find on Zamunda yet still require
36.
▲
by
oguz-ismail
1y ago
How is this not another middleman (with a political banner in its README no less)?
37.
▲
by
oguz-ismail
1y ago
there's no blind spot where even a 5% increase in beef production can hide...
38.
▲
by
oguz-ismail
1y ago
it's just one letter no big deal
39.
▲
by
oguz-ismail
1y ago
same difference
40.
▲
by
oguz-ismail
1y ago
> poor tool evaluation skills Both tools in question are installed everywhere and get the job done. There isn't much to evaluate, and nothing to compare against
41.
▲
by
oguz-ismail
1y ago
> poorly designed tools like bash and perl Skill issue, plus what's the alternative? Python was close until the 3.x fiasco
42.
▲
by
oguz-ismail
1y ago
Not as much as tea, coffee and tobacco
43.
▲
by
oguz-ismail
1y ago
I know
44.
▲
by
oguz-ismail
1y ago
PHP needs to be installed, Perl is dead and AWK is more limited than Bash
45.
▲
by
oguz-ismail
1y ago
>I'd be interested in any bug reports What's the point? You can't fix them anyway
46.
▲
by
oguz-ismail
1y ago
Looks slick. Works on older shells too
47.
▲
by
oguz-ismail
1y ago
That's some luck you got there
48.
▲
by
oguz-ismail
1y ago
It's not hard, just a bit too long: #include <fcntl.h> #include <spawn.h> int main(void) { posix_spawn_file_actions_t file_actions; posix_spawn_file_actions_init(&file_actions);
49.
▲
by
oguz-ismail
1y ago
>Some people *a negligible minority
50.
▲
Bash-5.3-Release Available
(lists.gnu.org)
6 points
by
oguz-ismail
1y ago
|
1 comments
51.
▲
by
oguz-ismail
1y ago
*TUI. Not GUI
52.
▲
by
oguz-ismail
1y ago
This is fear mongering. Neither your comments nor the links you posted shows how rolling your custom command interpreter syntax is in any way better than using the ones available on your target platforms.
53.
▲
by
oguz-ismail
1y ago
> your implicit claim of having tried it I tried printing positional parameters, they looked fine. (And already uninstalled docker. What's the point of containerization if you need superuser privileges to use it?) > if $user_prov
54.
▲
by
oguz-ismail
1y ago
> Fill in the blank to run a docker container which opens the file with user-provided path in (say) vim. Never used docker before, but this seems to work: docker run --rm -it debian bash -c 'vim -- "$1"' _ "
55.
▲
by
oguz-ismail
1y ago
> The Python code Kragen gave is more characters to type, but fewer footguns. What are the footguns in this? df | grep /$
56.
▲
by
oguz-ismail
1y ago
Not in my experience. Any concrete examples off the top of your head, where it's more work than setting up pipes in python manually?
57.
▲
by
oguz-ismail
1y ago
Dunno, so much work to achieve so little. I'm even more inclined to stick with shell scripts now
58.
▲
by
oguz-ismail
1y ago
> `/bin/sh` is guaranteed to exist by POSIX Quite the contrary > Applications should note that the standard PATH to the shell cannot be assumed to be either /bin/sh or /usr/bin/sh, and should be dete
59.
▲
by
oguz-ismail
1y ago
> Python has os.spawnl, os.spawnv, etc., which fork()s, wait4()s, etc., without involving a shell. Good. How do you pipeline commands with these?
60.
▲
by
oguz-ismail
1y ago
'-e sh shell.c' as a single argument is the same as '-e' and ' sh shell.c' as separate arguments (see < https://pubs.opengroup.org/onlinepubs/9799919799/functions/g... >). rs
More ›