Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lyricaljoke
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
lyricaljoke
11mo ago
My very similar pet peeve is about websites that use `onclick` handlers and similar to implement navigation. Just use a damn anchor tag, which gets you correct link behavior for free: * works with middle click for new tab * integrates with
2.
▲
by
lyricaljoke
1y ago
I actually found that particular response to be quite disappointing. It should give pause to those advocating removal of XSLT that these three totally disparate use cases could already be gracefully handled by a single technology which is:
3.
▲
by
lyricaljoke
2y ago
Many of the responses to this comment imply that this is something fundamentally different than perfect pitch and give it some different name ("pseudo absolute pitch", "perfect relative pitch", etc.). While I concede th
4.
▲
by
lyricaljoke
3y ago
Judging by the non-C scales, obviously it just loves Mixolydian mode :)
5.
▲
by
lyricaljoke
5y ago
"A good ear" and grasp of music theory go hand in hand. Strongly disagree that the latter is limited to classical music. The best musicians in jazz and pop music absolutely know how to incorporate the circle of fifths, types of ca
6.
▲
by
lyricaljoke
6y ago
On the contrary; it's quite possible to design automated tests that operate on release artifacts. This is true not only at the integration level (testing the external interfaces of the artifact in a black-box manner), but also at a mo
7.
▲
by
lyricaljoke
6y ago
I develop multi-platform C and C++ code (intermingled with some python for testing and automation), and my experience has been that while MSYS + Git Bash works, I run into 'rough edges' on that side much more frequently than on th
8.
▲
by
lyricaljoke
6y ago
The exemptions were very imperfect. Even if musicians and certain types of performers were exempted, this legislation has had an enormous effect on theater organizations, for example, especially at the semi-professional / community le
9.
▲
by
lyricaljoke
6y ago
I call it “crying wolf in reverse” Isn't that just normal "crying wolf"?
10.
▲
by
lyricaljoke
7y ago
Or, arguably, the C++ equivalent is just the destructor. 'Defer' and 'ScopeExit' are interesting, but I'm not sure if I see the advantage over widely understood first-class language features. If you don't wan
11.
▲
by
lyricaljoke
7y ago
The borrower semantics is anything but simple. I keep seeing people saying this when discussing Rust in relation to C++. It's not untrue, but I would counter by saying that people who were writing C++ without having a full understan
12.
▲
by
lyricaljoke
8y ago
I also work in the resource-constrained / embedded native space and have had to work within the kinds of constraints you're describing. I think you're severely misunderstanding what the comment you're responding to is p
13.
▲
by
lyricaljoke
8y ago
Chandler Carruth's talk on the subject was really useful for my own understanding of the reasoning behind UB: https://www.youtube.com/watch?v=yG1OZ69H_-o
14.
▲
by
lyricaljoke
8y ago
Right, I see that in the docs, which is awesome! My comment was more responding to the claim that this wouldn't be a useful tool without a large body of open-source packages, which I disagree with.
15.
▲
by
lyricaljoke
8y ago
Having a large body of existing packages would be nice, but if this can be used with a private repository, it's be hugely valuable to me even if it had no open source packages available at all. I work in a corporate context where proje
16.
▲
by
lyricaljoke
8y ago
What a lot of people miss about the utility of Venmo is that it lowers the social cost of squaring up minor debts. Think of the example of a large group of friends often gathers in arbitrary subsets of the group to go to dinner. If Alice or
17.
▲
by
lyricaljoke
8y ago
Works well unless: - the restaurant doesn't do separate checks for large groups - friends ordered meals with significant variance in case, and the server wasn't initially told to keep items separated - you want to split communal i
18.
▲
by
lyricaljoke
8y ago
Well sure, but that's a seriously high bar you're comparing it with. Measles is regarded as one of the most contagious diseases on earth, no?
19.
▲
by
lyricaljoke
8y ago
> Be that as it may in most cases, the compiler shouldn't make an assumption that this is always the case. If I don't pass any optimization options, and especially if I pass -O0, the correct behavior should be "no surprise
20.
▲
by
lyricaljoke
8y ago
I don't disagree, and I'm not sure what about my comment would suggest that I expect consistency there. What I was arguing was that any code relying on UB is dangerous / broken, so it's a good idea to surface any underl
21.
▲
by
lyricaljoke
8y ago
I think your complaint is reasonable, but I also can see their logic in making what's considered UB consistent for -O0 and other optimization levels. The reason is that for most use cases, I think it's pretty typical to develop a
22.
▲
by
lyricaljoke
9y ago
This type of construct is unnecessary in C++11; the presence of RAII containers and structures totally obviates it. C++ provides a language-level construct for logic performed at the end of object lifetime (i.e., when value types fall out
23.
▲
by
lyricaljoke
9y ago
Not if shared ownership is never actually required, though -- it's possible that ownership could transfer when moving through those different stages.