Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prussian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
prussian
5y ago
Here: https://github.com/remileduc/sherver/issues/1 that way you can have HTTP/1.1 support even with arbitrary output lengths. I was planning on sending this to the linked repo so the owner doesn't
32.
▲
by
prussian
5y ago
Someone beat me to it. When I think of pure bash, I don't really think of invoking anything that isn't a builtin or a grammatical feature of bash. If socat is fair-play, almost anything you can spawn on a shell should count then
33.
▲
by
prussian
5y ago
https://chrome.google.com/webstore/detail/zoom-redirector/fm... I just use this. I'm assuming that is what you're asking about.
34.
▲
by
prussian
5y ago
Not really how? https://github.com/ranchester2/nautilus-as-file-chooser-poc This is a standardized GTK workflow that works in and out of flatpak.
35.
▲
by
prussian
5y ago
I believe that is the purpose of the xdg portals specification. https://flatpak.github.io/xdg-desktop-portal/portal-docs.htm...
36.
▲
by
prussian
5y ago
This seems strange to me though. How does one collect on insurance without it being reported to the police? Are businesses and individuals just eating the cost or are adjusters just writing out checks without a police report?
37.
▲
by
prussian
5y ago
Starting to wonder if the techniques like those outlined in this article are why I'm constantly presented with a captcha asking if I'm a bot. I suppose the future is now.
38.
▲
by
prussian
5y ago
So in such cases, why not just use a camera activity or at least expose a configurable choice for which experience the android user prefers? It is unfortunate that the camera API clearly needs more work though.
39.
▲
by
prussian
5y ago
Hell you don't even need to go that high tech. Just make model jet aircraft cheaper, easier to handle, maybe even autonomous and I'd like to see those current anti-drone countermeasures stop it from zooming in and dropping whateve
40.
▲
by
prussian
5y ago
This is a common problem I see a lot at my current job and the only advice I can give you is just say no. If you must use something akin to system() there are tools bash provides like: printf -v quoted %q "$my_shell_crud"
41.
▲
by
prussian
5y ago
> I've spent 10 years writing security critical C code. There's no problem writing secure code in C. You just have to stop being clever and prioritize security above "speed". Your code will probably be fast enough any
42.
▲
by
prussian
5y ago
not sure about worse. enabling evil-ex-visual-char-range allows you to do things ex commands in (neo)vim cannot do. That is, run things like !rev on a visual select. in (neo)vim this reverses the whole line where with (evil-ex-visual-char-r
43.
▲
by
prussian
5y ago
Given I've seen some CMS's double escape html character entities and other such bad uses of sanitation filters, I think it is a reasonable concern to think about. Forcing people to source a library would make it clear what their i
44.
▲
by
prussian
5y ago
The only positive I can think of, is you run, say a comment section on a news aggregator. You could let people freely type up their own markup in a <textarea>, accept it as is and just throw it at clients to clean on their own. Anothe
45.
▲
by
prussian
5y ago
This feels an awful lot like we're going full PHP[1]. Can't this just remain as a library someone else could implement? [1]: https://www.php.net/manual/en/filter.filters.sanitize.php
46.
▲
by
prussian
5y ago
This honestly reminds me how on skype (for business) or Lync, where people would type strange messages to me that I didn't understand, but in skype/lync apparently it was transformed into a thumbs up emote; I was using pidgin/
47.
▲
by
prussian
5y ago
Even funner quirk with stuff like that: $ bash -c 'shopt -s extglob; rm -- !(x)' bash: -c: line 1: syntax error near unexpected token `(' bash: -c: line 1: `shopt -s extglob; rm -- !(x)' Because of the s
48.
▲
by
prussian
5y ago
I remember contributing a fix for an expansion issue in either bash or zsh (can't really recall) for nvm. Just running it was very, slow. This slowness is primarily why I usually use guix / nix on my distro of choice instead. I&#x
49.
▲
by
prussian
5y ago
For docker desktop you should be able to manage your own Linux VM install and forward the dockerd socket to your host machine and use the docker tooling with the appropriate DOCKER_HOST environment variable. As far as I remember, that'
50.
▲
by
prussian
5y ago
ID Kiosk skimming or shimming perhaps. Some kind of MitM
51.
▲
by
prussian
5y ago
it is kind of humorous having to balance regularly. I had hit a problem where statfs() call returned a { .f_bavail = 0 } which made some tool complain; funnier, the other statfs information was their expected values and one could calculate
52.
▲
by
prussian
5y ago
I'm surprised autocd was not mentioned. I saw alias ..='cd ..' # etc ... But not. shopt -s autocd zsh also has this. This seems like the fastest way to navigate since you no longer need to type, or retype, cd.
53.
▲
by
prussian
5y ago
I'm more than familiar with overcommit and it has nothing to do with being out of memory. In fact, im explicitly talking about the kernel failing to allocate (-ENOMEM) in a alleged future driver. It may interest you to know the WebKit
54.
▲
by
prussian
5y ago
What does this have to do with my comment? If you're out of memory, how can zig know you can just continue on? What if your memory is held in tasks that are effectively dead-locked because a dependent task is incapable of allocating? T
55.
▲
by
prussian
5y ago
I mean, it sounds like you're describing overcommit to me. Ask whatever large amount you want. Maybe even be like webkit and use overcommit for heap isolation. It works out great for the userspace case, until the limits are actually re
56.
▲
by
prussian
5y ago
It honestly isn't. Out of memory means, your system is simply not designed for the task at hand. The kernel returning -ENOMEM only masks the fact that eventually Linux will have to OOM Panic if it can't OOM Kill. Hell imagine the
57.
▲
by
prussian
5y ago
I don't think it helps that carbon isn't the be-all, end-all in the polluting effects of general consumption (including crypto mining). Even if all these miners were 100% green energy, the green tech would still be a net pollution
58.
▲
by
prussian
5y ago
Honestly, this should be held for any positions where insider information is clearly a conflict. Maybe not in specific instruments, but investments should be made through a third-party money manager.
59.
▲
by
prussian
6y ago
Kind of cute. Jumped around with xref and found callers for functions, but can't really imagine this to be useful unless you're as crazy as I am or also responsible to insane number of these _things_. Not sure what qualifies as do
60.
▲
by
prussian
6y ago
late reply. I've sort of experimented with async iterators and using pipeline() to pipe them together and it seems to work out for the most part; not sure what is awkward about them, I mean consume with an async iter on the source pass
More ›