« first day (4063 days earlier)      last day (868 days later) » 

3:09 AM
How easy is it to mix a pre-trained model with another pre-trained model?
Or adding new category to pre-trained model?
 
 
1 hour later…
4:10 AM
Meh, I should know, but it's really easy to not use brain & ask instead :x
 
 
3 hours later…
7:24 AM
other unfortunate things about avro include lack of unsigned integer types :-/
This happens when Java developers don't understand their language
 
 
2 hours later…
9:26 AM
Morning
Big Botany
 
nwp
9:49 AM
Did you just do the last harvest before winter?
 
no
 
 
2 hours later…
11:57 AM
Is this a real thing? Looks futuristic.
 
Do you think there was ever a rocket big enough to deliver that thing into space?
@StackedCrooked Also ... what ... Elon Musk is the richest person in human history? Where did the author get that from? Fortune magazine?
I seriously believe that a lot super rich hide their wealth so as to avoid a number of things: taxes, animosity etc etc. Elon is probably someone who says "hey, I don't mind be crowned the richest person as long as I get enough influence to achieve my goal in the way"
 
12:22 PM
Thanks for your help.But I don't know how to kill a thread in another thread without using TerminateThread() , could you please give me more hints about this? — Gardenia 2 hours ago
apparently "You don't" wasn't good enough warning
 
nwp
1:05 PM
> Try and help someone recover from post modem depression.
Some story descriptions are glorious.
 
@Mgetz Use cancellation tokens and hope the other thread will properly kill itself x)
 
@Morwenn or just don't do fully blocking IO and then complain when it fully blocks
 
XD
Don't do IO, only do pure CS
 
nwp
Pure CSS
 
Annnnd that's a ban
 
nwp
1:08 PM
:rip:
I've gone back to my CHYOA language and messing with TypeScript, HTML and CSS. It's quite fun again.
I seem to have forgotten the issue I was stuck on. Once I remember I'll lose all my motivation again when failing at fixing it.
Mostly it's TypeScript actually. There is little HTML and CSS.
> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
This is how you know you did JS correctly.
Also someone starred the project on Github. I don't know why anyone would do that.
 
lol
bots maybe
 
nwp
Way to crush my dreams of becoming a proper developer.
 
If you want stars you only need to make your project look cool
You don't need to be a proper developer
 
nwp
1:24 PM
Meh, I don't actually care. I haven't even understood what the point of Github stars is.
I guess it's like likes and supposed to make you feel good when it has a big number, but meh. I've had enough of imaginary internet points.
 
When you're looking for libraries, it's a measure of popularity, and the general "wisdom" is that popular projects have more users, are more used, and thus probably better support and chances to live a long and healthy life
Now I've got an unmaintained terrible library with 100+ stars
 
nwp
Gaining users seems like a terrible idea. Can I remove stars from my repository?
 
You don't, if you need a thread to end you need to use tools like cancellation tokens to ask the thread to quietly exit appropriately. But those aren't really implemented in C AFAIK although there is nothing preventing that. Generally if you need a thread to be cancellable you wouldn't do blocking IO like scanf ever on that thread. But outright killing a thread in a hostile manner like TerminateThread, you should NEVER do that as it basically means that the program behavior is undefined after that point. That method exists for some rare corner cases. — Mgetz 10 mins ago
your gifs are no longer allowed to be part of the metaverse
 
nwp
I think in C it shouldn't be that bad because there is less of a lifetime thing going on and no destructors to be called.
 
depends? Remember they are on windows... and that has SEH
which... complicates things
because SEH supports __finally blocks
That said AFAIK SEH is completely optional in windows programming and can be 100% ignored
 
2:30 PM
I think I'm having a failure to communicate:
so note that just using plain bool is not thread safe and will cause a data race and thus undefined behavior. In C you should use either OS primitives or C11 atomics (which are generally supported) — Mgetz 27 mins ago
Mgetz , why cause a data race? I used two bool variables (wait Flag[0] and white Flag[1]) to race condition not happen. — mehran 11 mins ago
I literally say in the comment "Because that's not thread safe"
 
 
5 hours later…
7:08 PM
well the problem isn't the bool, its the thread startup time
 
 
1 hour later…
8:30 PM
@Mikhail umm bool isn't thread safe... so it's still a problem
you can't just avoid the whole "Data race free" requirement to avoid undefined behavior
 
 
1 hour later…
9:45 PM
Good evening m'peeps
I have almost enough points for the c++ gold badge, but haven't answered enough questions to get the silver one -_-
970/400 score
73/80 answers
 
lol
I'm still on bronze
 
As a result I'm also still on bronze
On the other hand I haven't answered a question in years
 
I just spent 1100 on a chair
wooo
 
In other news I just named a namespace hasard in my test suite because POSIX already uses random and it annoyed me
I added a comment next to the namespace declaration that says "Blame POSIX for picking the good name"
 
lol
 
10:08 PM
The commit is called "Give POSIX the middle finger"
 

« first day (4063 days earlier)      last day (868 days later) »