Viewing profile — senozhatsky
senozhatsky
HN member- Joined
- Fri, Apr 10, 2015, 5:45 AM UTC
- HN karma
- 165
- Public activity
- 76 items
- HN profile
- View on Hacker News ↗
About senozhatsky
Recent public activity
-
comment
Comment #43478422
That's sort of how Linux kernel trace-events are implemented [1]. E.g. DECLARE_EVENT_CLASS(sched_wakeup_template, TP_PROTO(struct task_struct *p), TP_ARGS(__perf_task(p)), TP_STRUC…
- comment
-
comment
Comment #41555978
I wish they offered a paid version of the browser that would have ublock enabled.
-
comment
Comment #38505157
> meaning no local variables (still heavy usage of push/pop within a procedure, does this count as a local?) Isn't it (push/pop) how locals basically work?
- story
-
comment
Comment #22951995
Knuth's MIX computer with its 6-bit bytes and 5-byte words (IIRC) came to my mind [0] [0] https://en.wikipedia.org/wiki/MIX
-
comment
Comment #22190340
OK, understood. So what you meant was more like puts()'s attack surface is smaller than printf()'s. This is not how your message appeared to me - "printf() is vulnerable to injecti…
-
comment
Comment #22190127
Looks even better!
-
comment
Comment #22190123
Good point. I suppose that you are talking about overwriting terminating NUL, do I get it right? puts() is vulnurable in exactly same way.
-
comment
Comment #22190070
> No. You don't really want to do that. If you're doing that, use puts This is not the case for RO strings, is it?
-
comment
Comment #22190043
I see. So when for a char pointer one needs to do printf("%p\n", v); the Generic call must look like this displayln((const void *)v); is it really better?
-
comment
Comment #22189930
Could be. But wouldn't then displayln() require the same string placeholder? Be it "%s", or "{1}" or someting else.
-
comment
Comment #22189902
> printf("%s\n", "Hello, World!"); > > That's an awful lot of symbolic syntax. Well... Because it should have been printf("Hello, World!\n"); in the first place? One can do somethi…
-
comment
Comment #21055916
I think Hyundai/Kia had self driving systems in development for the past, what, 5 years? Kia debuted its DriveWise in 2016. So they don't start from scratch.
-
comment
Comment #20903452
I pretend that '-s' stands for "source", not "symbolic"; and source file follows -s(ource) option. IOW `ln -s A B' is `link source A to B'.
-
comment
Comment #20744715
Somehow reminds me of this conversation [0]: > Al Viro asked if there is a plan to allow mounting hand-crafted XFS or ext4 > filesystem images. That is an easy way for an attacker …
-
comment
Comment #20735037
From the article - "No other agent had served Moscow for so well or so long." That's very questionable. No one knows who the greatest spy was/is.
-
comment
Comment #20621678
Yeah. OOM-kill handling wants to be a silver bullet, sort of. For instance, Linux kernel provides a number of I/O schedulers or net schedulers, etc. to pick from, but OOM kill is "…
-
comment
Comment #20621050
lkml.org has been unstable for the past few... umm years, so The Linux Foundation runs its own lkml archive - lore.kernel.org/lkml/ Alternative link, just in case: https://lore.ker…
-
comment
Comment #20612440
Maybe. But I can count something like 6 or 7 buildings on that pic which look glassy to me. I'd say there are several glassy (which reflect sky and water) buildings there [1][2]. […
-
comment
Comment #20611844
I like glassy buildings. Can stare at them for minutes; the article makes little sense to me. E.g. Hong Kong Harbour skyline, which is quite "glassy". Many people travel to take a …
- comment
-
comment
Comment #19957216
Slightly off topic. Can't help it, but the motif for pain (introduced @ 9:37) sounds to me like, I don't know, Windows (?) error/warning sound. Is it just me?
-
comment
Comment #19907280
> There is one thing I can't understand from the article: it says a low birth rate as a reason of an increase in migration. Why would a low birth rate lead to more migration? Good …
-
comment
Comment #19568520
A very cool domain name, by the way.