Viewing profile — dualbus
dualbus
HN member- Joined
- Tue, Sep 08, 2015, 1:15 AM UTC
- HN karma
- 46
- Public activity
- 19 items
- HN profile
- View on Hacker News ↗
About dualbus
No profile information was provided.
Recent public activity
-
comment
Comment #48565386
> [...] you don't actually need to verify agains a user's secret immediately, you simply need to check that the token is valid using the app secret. The subset of valid tokens that…
-
comment
Comment #46981668
Apologies for being dense. Could you spell out how you went from Paragon Solutions to the Signal Protocol?
-
comment
Comment #43639689
On DJT: Donald John Trump.
-
comment
Comment #43617537
Yes, I got a "Reset password instructions" email from support@bugcrowd.com at roughly 11:13 PM UTC. There is no information in the email nor the linked page about why it is necessa…
-
comment
Comment #39876331
Bash accepts both variants of the equality operator. So it is not a bug.
-
comment
Comment #39872926
> I literally can't make heads or tails of the risk here. All I see is the very alarming and scary words "backdoor" and "ssh server" in the same sentence. From what I've read, ther…
-
comment
Comment #18853545
You mean like Ksh's discipline functions? dualbus@system76-pc:~$ ksh -c 'date=; date.get() { .sh.value=$(date +%s); }; echo $date; sleep 5; echo $date' 1546926637 1546926642 See: h…
- comment
-
comment
Comment #18853445
Awesome, thank you! This is super useful. I stand corrected.
-
comment
Comment #18853421
I tried python, bash and even C, none of them update /proc/self/comm when argv[0] is updated: dualbus@system76-pc:~$ cat argv0.c #include #include int main(int argc, char **argv) {…
-
comment
Comment #18853222
Can you show an example of how this would work with BASH_ARGV0?
-
comment
Comment #18853132
The built-in replacements run in the same process as the Bash shell, and thus, avoid the fork/exec system calls. It's a minor performance optimization that might be useful if you'r…
-
comment
Comment #18853109
I would like to understand how this would work. argv is a buffer in Bash's process memory space. This is AFAIK, not shared in any way with the kernel. How would the kernel know tha…
-
comment
Comment #18852896
I don't think changing argv[0] in the current process will have any effect in the /proc file system. And to do what you describe, there's `exec -a NAME' already: $ (exec -a NOT-BAS…
-
comment
Comment #17446869
Chet Ramey. He is the maintainer of the GNU Bash shell and of the GNU Readline line-editing library. * https://tiswww.case.edu/php/chet/ * https://www.red-gate.com/simple-talk/opin…
-
comment
Comment #17073895
> [1]: "${foo} bar baz" v.s. "$foo"" bar baz" Why would you quote the second option like that? You can just write: "$foo bar baz"
-
comment
Comment #17073710
> will be surprised that [[ "foo" == "f*" ]] does pattern matching It will not do pattern matching, because you quoted the right-hand side.
-
comment
Comment #15549648
I recently bought an HP laptop which has a AMD A10-8700P APU and was very surprised to find out that basic display functionality is very glitchy under Linux (backlight would flicke…
-
comment
Comment #10183769
x[:4].lower() = 'test' ?