Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
1ris
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
1ris
3y ago
>C has been adding generics anyway, like _Generic. "_Generic" added function overloads to c, not generics. The naming is exceptionally poor. The submission is an example of generic programming. It an implementatin of something
2.
▲
by
1ris
4y ago
No, The strict aliasing part of the semantic of the memory. “syntax sugar” is, per definition, part of the syntax .
3.
▲
by
1ris
4y ago
for a definiton of "just memory" that includes the strict aliasing rule. Certainly not a buffer of bytes, what most people would assume when they hear "just memory".
4.
▲
by
1ris
4y ago
Sorry my bad. Yes, it works for proper function arguments. Does this work for variadic arguments? Parent seems to suggest, but i'm not aware of any mechanism for this.
5.
▲
by
1ris
4y ago
>Did you propose/implement/release something better than printf? This is what the article is about? Things much better that printf are a dime a dozed and available since 20 years. >Some people talk about getting work done, L
6.
▲
by
1ris
4y ago
Do you mean this feature [0]? I'm not aware of any differences in c and c++ about this. Can you get a type of a argument in C? How? At compile time, or at runtime? Both sound very un-C-like to me. cppreference is usually excellent docu
7.
▲
by
1ris
4y ago
And outstreams where not that bad, aswell. Sure, the operator overloading looks a bit rough. But that's IMHO a pragmatic choice if you want to offer customisation points and didn't have variadic functions yet. They where introduce
8.
▲
by
1ris
4y ago
printf is a bad joke of a formatting function. When i want to print a string i don't want to worry about the security implications of that. With printf i have to. [0] And i certainly don't want a turing complete contraption. [1] A
9.
▲
by
1ris
4y ago
I think you are looking for (one specific implementation of) Cold district heating. It can be implemented as a single line of force water flow with 20-25 Celsius. It is viable as both a heat source and a heat sink at the same time. This thi
10.
▲
by
1ris
4y ago
Both can be bad, and both are bad. But it looks like a lot of people assume they are just as bad without any quantitate or qualitative assessment. Lithium mining is way less bad than oil extraction in both dimensions. If that lithium can of
11.
▲
by
1ris
4y ago
>It does not misrepresent what you said, and failure to see that means you did not actually understand it Oh yes, I do. I do know what i mean and I can see that your quote of it was either extremely unintelligent, something you can by de
12.
▲
by
1ris
4y ago
Yes, precisely my point: Even the best are not nearly good enough. Because "the competent enough C programmer" is a myth.
13.
▲
by
1ris
4y ago
Seatbelts have issues. Some of them undiscovered yet. What suggests that Seatbelts won't introduce issues that will be larger than the 70% of issues that it solves with crashes? Because to me, it just sounds like we can't know so
14.
▲
by
1ris
4y ago
I understand your argument. It works with starting from a massive misrepresentation of what I have said (aka bad faith). Your argument is fatally flawed due to the reason i stated. And that's why there is nothing to be said to the subs
15.
▲
by
1ris
4y ago
The non-cynical answer is: Yes, we will be doing so much more. https://blog.ploeh.dk/2019/07/01/yes-silver-bullet/
16.
▲
by
1ris
4y ago
"Training" and "being the (allergy) the most skilled" have no connection to you? You can't be serious. This is mincing words and a bad-faith argument. I consider this discussion pointless and will not continue.
17.
▲
by
1ris
4y ago
Kernel hackers are considered the most skilled people in the whole profession. The Linux kernel is one of the most read source code on the planet. The code is audited to death. Much of the research into static code analysis starts there. Th
18.
▲
by
1ris
4y ago
To reuse your metaphor: If professional chefs would constantly maim themself and each other despite extensive occupancy safety training, knives have no place in the hands of a responsible professional. Using C is the SE equivalent of tapin
19.
▲
by
1ris
4y ago
"I/My kid/My dog could have done that" is something that is said to artists since the dawn of time. It's a universal sentiment. I'm not saying it's true. I'm saying it is said.
20.
▲
by
1ris
4y ago
What about this is counterproductive? People get angry, emotional involved. After a few minutes they realize that the glass in front of the painting is not that expensive and all is well. Or is it? That's when they have time to think
21.
▲
by
1ris
4y ago
It's like telling people you are burning a puppy with napalm "for demonstrating the effect" at an anti-viet-nam-war-protests. First people get crazy angry at you, then they change their attitude about napalm.
22.
▲
by
1ris
4y ago
The most solvable to these people, anyway.
23.
▲
by
1ris
4y ago
It's funny that you can say that about pretty much all art.
24.
▲
by
1ris
4y ago
This was the case for 70 years and thus far all the mad man where all to wise not to press it, because at the end of the day they know how it will end. We didn't stop all human activity or activism for the last 70 years and neither sho
25.
▲
by
1ris
4y ago
Genuine question: What would you expect a rational actor to do FOR the cause? Because to me this looks very rational and very much for the cause.
26.
▲
by
1ris
4y ago
Yes, peta are profoundly unlikeable people, back then and now. I don't like them, I think their holocaust comparisons are unforgivable and neither am i vegan. My point is that they are living rent free in peoples heads and do actually
27.
▲
by
1ris
4y ago
Of course everybody thinks PETA as lunatics, maybe rightfully. But it was them made veganism a thing. It's mainstream now. I guess about between 2% and 5% of the population and growing. Burger king and McDonalds sell vegan options. Tha
28.
▲
by
1ris
4y ago
I have yet so see any argument why this should be ineffective or even highly so. Or why this should be any less effective than anything else that has been tried. With regards to your article: I think the authors answers his own questions: T
29.
▲
by
1ris
4y ago
That's what people said about PETA and whatever outrageous stuff they did. Time has disproven these people. I don't see how this is any different.
30.
▲
by
1ris
4y ago
Might actually happen in Bulgaria. And yet, for the most part, people are overreacting. I for one have lived in a temporary unheated german apartment with horrible insulation (build around 1955, not upgraded). It sounds way worse than it is
More ›