HackerTrans
TopNewTrendsCommentsPastAskShowJobs

anonymous_union

no profile record

comments

anonymous_union
·قبل سنتين·discuss
i'm with you
anonymous_union
·قبل سنتين·discuss
the obvious solution, local storage.
anonymous_union
·قبل سنتين·discuss
yes. simplify your expectations. realize that not every piece of technology is worth using. biggest benefit is they say no.
anonymous_union
·قبل سنتين·discuss
did they reinvent email threading
anonymous_union
·قبل سنتين·discuss
in some other systems the concept has become overloaded. instead of multiple real people as users, different software with different permissions are different users. its not a bad abstraction.
anonymous_union
·قبل سنتين·discuss
kubernetes is dying, isn't it?
anonymous_union
·قبل سنتين·discuss
holy shit this guy knows no shame
anonymous_union
·قبل سنتين·discuss
your personality for sure is represented in the software you write. no different than any other creative profession.
anonymous_union
·قبل سنتين·discuss
yes
anonymous_union
·قبل سنتين·discuss
[flagged]
anonymous_union
·قبل سنتين·discuss
c++ is so bad. when i see threads like this one praising it, i feel bad for all the mental energy these people have put into understanding an unorganized and unelegant garbage dump of ideas. even his coworkers at bell labs tried to convince him c++ was a bad idea.

ken thompson wouldn't use it. then he invented go to spite him.
anonymous_union
·قبل سنتين·discuss
[flagged]
anonymous_union
·قبل سنتين·discuss
native racism in the prairie provinces has been awful. in alberta indigenous population appx 7% but inmate population appx 50%. saskatchewan and manitoba likely similar.

https://en.wikipedia.org/wiki/Demographics_of_Alberta#Visibl...

https://open.alberta.ca/dataset/0238e596-4add-46ee-81eb-2dbf...
anonymous_union
·قبل سنتين·discuss
pkg-config seems like all you need these days
anonymous_union
·قبل سنتين·discuss
apple ships it
anonymous_union
·قبل سنتين·discuss
interesting that code size is important to you. hey everyone, write shorter programs :)
anonymous_union
·قبل سنتين·discuss
right yea, modern CPUs seem to have all sorts of abstract optimizations. its kind of strange how we meet in the middle with hardware ISA manufacturers. they do all sorts of tricks on their side to make code go faster, and we try to generate machine code that we think will go faster, but neither side works with the other (compiler writers and ISA developers). i bet there is easy low hanging fruit here.
anonymous_union
·قبل سنتين·discuss
oops im dumb, convert argv[1] and argv[2] to integers first.
anonymous_union
·قبل سنتين·discuss
im not sure. given a hypothetical arch with only 1 free register, which local variable do you allocate to it?

  1 int
  2 main(int argc, char *argv[])
  3 {
  4         int sum = 0;
  5         int sum2 = 0;
  6
  7         if (argc >= 2)
  8                 for (int i = 0; i < argv[1]; i++)
  9                         sum += i;
 10
 11         if (argc >= 3)
 12                 for (int i = 0; i < argv[2]; i++)
 13                         sum2 += sum + i;
 14
 15         return 0;
 16 }
anonymous_union
·قبل سنتين·discuss
its fascinating how register allocation is not a solved problem. thinking about it, it seems like optimal allocation would depend on input/workload, so any ahead of time selection will always be a compromise.