Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
1amzave
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
1amzave
4y ago
If the servers in question happen to be on the list of supported hardware, quite possibly. (I don't know of any up-to-date online list, but running `source setup` in the root of the source tree will print it.)
2.
▲
by
1amzave
9y ago
"The wise man speaks because he has something to say. The fool speaks because he has to say something." (See also: comments by idlewords, pkw2017.)
3.
▲
by
1amzave
10y ago
Really? If you're going to do that, it seems like you might as well just merge all those users into a single account anyway, considering how trivial it would be for any one of them to execute arbitrary code as any other.
4.
▲
by
1amzave
10y ago
Until I can, as an unprivileged user, watch my own process's syscalls with dtruss, it's not an alternative to strace. Requiring root is a major hindrance.
5.
▲
by
1amzave
10y ago
Also (more specifically to one of the given examples), enabling `-A` on all your ssh invocations likewise seems like a pretty bad idea.
6.
▲
by
1amzave
10y ago
> When using little-endian, you imagine that the bits are in little-endian order, to be consistent with the bytes, and then everything is nice and consistent. But isn't that kind of at odds with how shifting works? (i.e. that a lef
7.
▲
by
1amzave
10y ago
According to their documented "Current Limitations" ( https://developer.apple.com/library/prerelease/content/docum... ): > Case Sensitivity: Filenames are currently case-sensitive only. First thoug
8.
▲
by
1amzave
11y ago
Fails to mention what is in my opinion the most devious, subtle potential pitfall with `set -e`: assigning (or even just a bare evaluation of) an arithmetic zero. `foo=0` won't do anything surprising, but `let foo=0` will return 1,
9.
▲
by
1amzave
11y ago
While this is a legitimate complaint, it also applies (though in fewer ways) to C. How do you parse this? (x)(y); Is that a call of function (or function pointer) `x` with argument `y`? Or is it a cast of `y` to type `x`? You need
10.
▲
by
1amzave
11y ago
I don't think the problems with that advice are singular. Perhaps the most ultimately-relevant is that looping exactly N times without a "ceremonial" counter is really only very rarely useful. Truly, how often do you see th
11.
▲
by
1amzave
11y ago
Perhaps I should clarify -- I am (happily) not involved in web development, and from the developer's side browsers may very well be in pretty good shape these days (I wouldn't really know). But speaking purely as a user, I think t
12.
▲
by
1amzave
11y ago
> For example, "back in the day" browsers sucked, like really bad. I'm reminded of Mitch Hedberg: "I used to do drugs. I still do, but I used to too."
13.
▲
by
1amzave
11y ago
If I'm reading N1256 right (not sure how far back it actually dates, but that's a C standard draft dated 2007), section 6.7.2.3 also explicitly allows a trailing comma in that context as well, so if such a compiler exists its make
14.
▲
by
1amzave
11y ago
> So why the quad i7, 32GB RAM, and 480GB SSD? It's right there in your quote: > ...a web browser...
15.
▲
by
1amzave
11y ago
I'm reminded of an excellent quote from Bertrand Russell: "Everything is vague to a degree you do not realize till you have tried to make it precise."
16.
▲
by
1amzave
11y ago
Why are they using MIPS as a metric for comparing integer CPU performance? When you're looking at two different compiler backends targeting two (very) different ISAs, it seems pretty thoroughly uninformative.
17.
▲
by
1amzave
11y ago
See other reply: https://news.ycombinator.com/item?id=10363281
18.
▲
by
1amzave
11y ago
Realistically it's not going to be that simple though. The filesystem proper (e.g. ZFS) may verify checksums when pulling in data from a storage device, but then it's going to sit in the page cache for some arbitrarily long time.
19.
▲
by
1amzave
11y ago
I think a reasonable argument could be made that if it's in the filesystem it's not end-to-end.
20.
▲
by
1amzave
11y ago
> I don't get what the word "libre" has with the "great free software nomenclature war" or why that would make people avoid LibreOffice. Personally, I avoid "office suites" in general like the plague an
21.
▲
by
1amzave
11y ago
Is that really the definitive metric though? Seems like you'd want to compare overall program-text size between equivalent binaries for x86[-64] and $otherarch (i.e. x86 may be able to get away with fewer of those ~same-size instructi
22.
▲
by
1amzave
11y ago
Neat...and on a somewhat similar note (bash enable -f hacks), some bash FUSE bindings I wrote a few years back: https://github.com/zevweiss/booze I initially wrote it basically just for giggles, but was rather pleased
23.
▲
by
1amzave
11y ago
Looks neat, though I can't help but wonder if you'd be better off with DRBD (run it disconnected by default, then just connect and let it sync naturally when you feel like it).
24.
▲
by
1amzave
11y ago
I haven't actually used it myself and am certainly willing to believe it's immature, but how do you mean it has "little in common with RCU"? Comparing personnel between that library and this set of people --> https:
25.
▲
by
1amzave
11y ago
Yes, this essentially just a form of RCU. Note however that RCU isn't just for the kernel anymore though: http://urcu.so/
26.
▲
by
1amzave
11y ago
So what happens when you find yourself running on a CPU that wasn't in your initial affinity mask? Also, the "sleep for 1 ms" approach used in `init()` looks wrong -- if `sched_setaffinity()` doesn't guarantee that the c
27.
▲
by
1amzave
11y ago
Possible unintended side-effect: `taskset -p` might have "interesting" effects on your process.
28.
▲
by
1amzave
11y ago
Sure -- but my point was merely in regard to the (mis)use of the word "pure" here. Avoiding calling out to external executables and remaining purely within the shell itself is also frequently a good way to improve performance (so
29.
▲
by
1amzave
11y ago
Arguably not pure bash, in that it calls out to external executables. I'm pretty sure all the head/cut/tr invocations could be easily replaced by appropriate parameter expansions though, and the `read` builtin could probab
30.
▲
by
1amzave
11y ago
After getting more and more tired of Apple's generally obnoxious behavior over the last few years I'm wondering which straw will be the last for me before doing exactly that. I'm pretty seriously considering wiping OSX off m
More ›