Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbrogrammer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
cbrogrammer
4y ago
TDD helps close to 0 % with fragility and only exists to help development
2.
▲
by
cbrogrammer
4y ago
> const createUser = ( > attributes: UserAttributes, > onCreate: (user: User) => void > ): User => { > user = User.create(attributes); > onCreate(user); This stood out to me, in an otherwise tame article, as
3.
▲
by
cbrogrammer
4y ago
Well that is just objectively false. The man was never "sentenced to 13 federal crimes, 50 years of imprisonment and one million dollars in fines". It is blatantly false.
4.
▲
by
cbrogrammer
4y ago
Saying anyone is "responsible" for a suicide is disingenuous
5.
▲
by
cbrogrammer
4y ago
> Goal: Distribution of labor and resources based upon the needs of society > Proxy: Capitalism > Strong version of Goodhart's law leads to: Massive wealth disparities (with incomes ranging from hundreds of dollars per year to
6.
▲
by
cbrogrammer
4y ago
We could start by considering not writing stuff like > /* > * Truncate to 8 chars if standard DES since not all crypt()'s do this. > * If this turns out not to be safe we will have to use OS #ifdef's (sigh). &
7.
▲
by
cbrogrammer
4y ago
there is no copy-on-write in the C language
8.
▲
by
cbrogrammer
4y ago
Gnome and making bad choices, name a better combo
9.
▲
by
cbrogrammer
4y ago
if C throws away portability it is no longer C
10.
▲
by
cbrogrammer
4y ago
That is what many people fail to understand as to why us C programmers dislike C++
11.
▲
by
cbrogrammer
4y ago
CUDA is absolutely fine just like x86 assembly is absolutely fine. They are well thought out. What I am saying is that from my perspective they are as granular and difficult, and programming directly in them for even small projects is not
12.
▲
by
cbrogrammer
4y ago
> is **like** writing x86 assembly by hand yes absolutely, way too granular and low level
13.
▲
by
cbrogrammer
4y ago
Writing CUDA by hand is like writing x86 assembly by hand, why would anyone ever do that willingly and not for fun?
14.
▲
by
cbrogrammer
4y ago
will this laptop ever ship with a non-US keyboard layout? The enter key is so bad on them, I hate that it is long and not high. Dealbreaker unfortunately, wish I could buy one of these.
15.
▲
by
cbrogrammer
4y ago
What do you mean? A cast to a char pointer is absolutely valid C. For most intents and purposes, a pointer "type" in C is merely the step size, and only void pointers cannot be decremented. The line of code is basically two lines: