Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2024-11-07 00:00 and 2024-11-08 00:00
Avatar
having a terrible headache
Avatar
and i can't stop sweating lmao
01:11
what is happening
Avatar
Avatar
TsFreddie
and i can't stop sweating lmao
im not an expert. so i recommend visiting one, be it doctor or ER
01:49
also if U have stuff at home U can check blood pressure etc
Avatar
no way
Avatar
most random body problems appear in males 25-35
Avatar
its prolly just a flu
Avatar
ibuprofen time
Avatar
get well soon
Avatar
oh no
Avatar
are you dying (edited)
Avatar
Avatar
むぎ
Click to see attachment 🖼️
ryozuki already send it feelsamazingman
Avatar
Avatar
manikoo
на кани уже помоему есть скин с шапкой
『Никита 2012』 2024-11-07 06:17
не
Avatar
Avatar
manikoo
ryozuki already send it feelsamazingman
mne pohyi
07:52
Avatar
Avatar
TsFreddie
oh no
It's joever, you will become a spider in 24h
Avatar
cool
Avatar
If the ibuprofen doesn't help your terrible headache, I'd suggest getting it checked btw
Avatar
Avatar
Learath2
If the ibuprofen doesn't help your terrible headache, I'd suggest getting it checked btw
you say that like i know how to get checked. going to a hospital stresses me out so much
08:23
kek
Avatar
Avatar
TsFreddie
you say that like i know how to get checked. going to a hospital stresses me out so much
If you get blurry or double vision, or numbness/weakness in arms/legs definitely go to a hospital. Stress/anxiety is temporary
08:26
Other than that headaches are mostly fine to go unchecked as long as they go away with medicine and don't keep coming back
08:26
I'm not a doctor, this is not medical advice. I just have headaches all the time 🙃
Avatar
Avatar
Learath2
If you get blurry or double vision, or numbness/weakness in arms/legs definitely go to a hospital. Stress/anxiety is temporary
ye, i'll probably know when i have a stroke or diabetes
08:28
InsaneCat
Avatar
Avatar
TsFreddie
ye, i'll probably know when i have a stroke or diabetes
I know one person who got an extreme headache, decided they could sleep it off, can't use legs anymore
Avatar
that's awesome
08:30
catbite i just wish i have more energy for packing and cleaning up.
08:30
my flight home is on the 16th and i still got a lot of stuff to do
Avatar
Avatar
TsFreddie
catbite i just wish i have more energy for packing and cleaning up.
Are you moving?
Avatar
ye
08:30
pulling a 2500km move
08:31
probably just gonna ship everything back home
Avatar
Oh wow, leaving China?
Avatar
within china lmao
08:31
well road distance anyway
Avatar
I sometimes forget how massive China is
Avatar
I sometimes forget how far i am away from home
08:32
catbite
Avatar
Avatar
Learath2
I sometimes forget how massive China is
any idea how am I gonna ship 4 spinny harddrive home
Avatar
Avatar
TsFreddie
any idea how am I gonna ship 4 spinny harddrive home
Mh, I never trust anyone with my hard drives. Just so easy to break
08:34
If at all possible, take it with you
Avatar
If it has to be shipped, I guess lots of bubble wrap
Avatar
i imagine i have to take them off the chassis?
Avatar
Followed by some less elastic padding, I prefer many layers of cotton
Avatar
catbite why haven't we got teleportation yet. i have too much stuff
Avatar
Avatar
TsFreddie
i imagine i have to take them off the chassis?
I would
Avatar
maybe i'll ship the machine home and just carry the harddrives with me on the plane
08:36
nouis
Avatar
When I was moving my desktop I pretty much just took all the pieces out and got a new case where I moved to 😄
Avatar
catbite i would just sell everything
08:37
but i guess harddrives are different
Avatar
Avatar
TsFreddie
maybe i'll ship the machine home and just carry the harddrives with me on the plane
Gpu is another one to definitely remove
Avatar
it's a nas, ain't got no GPU
08:37
kekw
Avatar
That's good
Avatar
i wish it did tho
08:38
kinda want to run some LLM
Avatar
For transcoding the hentai (edited)
Avatar
Avatar
Learath2
For transcoding the hentai (edited)
well the iGPU can take care of that
08:38
also strikes are ~
Avatar
Thanks boss
Avatar
nouis it is a commercial nas, just cause i'm lazy. it is quite under-powered and overpriced tho
Avatar
Should I break US sanctions on China and bring you a 4090?
Avatar
Avatar
Learath2
Should I break US sanctions on China and bring you a 4090?
we can buy 4090 here
Avatar
I guess someone already is breaking the sanctions, cool
Avatar
catbite i thought it was just banning busniess from collabroating?
08:41
iirc if you ban consumer trading you are gonna get kicked off UN or something
08:41
at least i think someone told me that's the reason why amazon and steam are still alive here
Avatar
Hm, as far as I remember Nvidia was not allowed to export certain chips to China (and some other countries)
Avatar
Avatar
Learath2
I guess someone already is breaking the sanctions, cool
Just sell over a third party and a third country. As long as NVidia gets their money they won't brick the GPUs of their customers
Avatar
Avatar
Learath2
Hm, as far as I remember Nvidia was not allowed to export certain chips to China (and some other countries)
nvidia is not allowed to, but e-commerce aren't nvidia that's what i'm thinking
Avatar
Avatar
TsFreddie
nvidia is not allowed to, but e-commerce aren't nvidia that's what i'm thinking
That could be it
Avatar
nouis well unless they just ban it from the customs side
08:45
or they just said that they would and nothing is passed yet
08:45
they do that a lot don't they
08:48
nouis also huawei has 4nm chips and no one knows where they come from. which is kinda funny (edited)
Avatar
Avatar
TsFreddie
nouis also huawei has 4nm chips and no one knows where they come from. which is kinda funny (edited)
As in no one knows who is selling it to them? This one should be easy enough to track down 😄
Avatar
Avatar
Learath2
As in no one knows who is selling it to them? This one should be easy enough to track down 😄
afaik, huawei don't say anything about them, china sure is not gonna investigate and us just don't know
08:50
catSmash it is probably just tsmc, but still. no one is 100% sure on that it seems for some reason
Avatar
that would be wild
Avatar
TSMC cancelled a lot of clients after that, but huawei still seems to have them
Avatar
Well it seems to be just a Qualcomm Snapdragon 7. Qualcomm uses TSMC exclusively for their 4nm chips iirc
Avatar
huawei is not using snapdragons tho
Avatar
I guess the issue is that no one could figure out who the middleman is
Avatar
Avatar
TsFreddie
huawei is not using snapdragons tho
HUAWEI MatePad 11.5-inch PaperMatte Edition, 120 Hz high refresh rate gives you an immersive view. It adopts a uni-body design, sleek, slim, and slight as air, at 499 g and 6.85 mm. The tablet packs the 4 nm high-performance processor. The 7700 mAh battery supports 10.5 hours of local video playback on a full charge. The 8 MP 105° wide-angle fro...
08:52
I assumed you were talking about this
08:53
huawei has in-house chips made in 4nm
Avatar
Wow, what do they use it in?
Avatar
Mate60 Pro phone iirc
Avatar
Well it just has to be coming out of TSMC, who else even has the capability?
08:56
Samsung maybe
Avatar
there is a Kirin9000S soc, which is supposedly made by huawei's hisilicon chip design firm
08:57
but hisilicon doesn't list that one on their website
08:57
they only list the ones in 5nm
Avatar
I wonder when SMIC will get to 4nm
Avatar
SMIC has 5nm with VERY low yield i think
Avatar
5nm you can still get acceptable yields without needing EUV
09:02
4nm as far as I recall is completely unfeasible
Avatar
ye
09:03
it's definitely from outside, it's just weird that they can get them and get away with it (edited)
Avatar
To be honest, it's quite impressive how far SMIC got with all the bans and sanctions
Avatar
Avatar
TsFreddie
it's definitely from outside, it's just weird that they can get them and get away with it (edited)
I'm surprised the US hasn't figured out yet. TSMC should know who they produced those chips for, no?
Avatar
catbite i imagine we just immediately dumped loads of resources on that area the moment the sanctions hit
Avatar
Avatar
Learath2
I'm surprised the US hasn't figured out yet. TSMC should know who they produced those chips for, no?
don't we all
09:05
HUH i don't know anything about chip designs, can you just get arm cores and glue them without EUV
09:05
isn't SOCs just glued together arm core designs
Avatar
Mhhh, I'm also a little weak on the chip stuff, but as far as I know the signaling requirements between the cores are beyond what you can achieve with "gluing them together"
Avatar
i guess so
Avatar
AMDs chiplet designs use a special protocol between the core groups to allow the slower signaling through pcb
Avatar
maybe they just get them from other companies so TSMC really don't know. cuz UNISOC and xiaomi are still getting in-house chips from TSMC i think?
09:08
xiaomi is not using in-house chips at the moment but they are trying to
Avatar
I've heard of the option of silicon interposers to patch together chiplets, that would be doable, but I remember yields being awful
Avatar
catxplosion also huawei just removed android from their product, which is really really weird to me
Avatar
Avatar
TsFreddie
maybe they just get them from other companies so TSMC really don't know. cuz UNISOC and xiaomi are still getting in-house chips from TSMC i think?
This would be my guess, but I'd also think the US would immediately figure it out in that case. Random Uzbek company ordering thousands of never before seen 4nm designs with no product to show for it
Avatar
kekw maybe huawei is just not selling much anyway
09:12
cuz even here, i would think a lot of people wouldn't go for huawei.
Avatar
I wonder if anyone has confirmed that this chip is indeed novel
Avatar
well maybe they do, but i think it'd be a hard sell after they ditched android
Avatar
I've seen the scam of laser etching a different model number on the die before 😄
Avatar
Avatar
Learath2
I've seen the scam of laser etching a different model number on the die before 😄
vibe that do happens A LOT here
Avatar
It would be quite funny if this was just a snapdragon that has been re-etched 😄
Avatar
vibe i should go pack some more stuff now
Avatar
I should go shower, then go deposit some cash
💵 1
💶 1
💷 1
💴 1
💸 1
🪙 1
09:20
Nvm, no hot water
09:24
you don't take cold shower?
Avatar
Avatar
TsFreddie
you don't take cold shower?
No I'm not a hustle culture influencer
Avatar
i thought cold shower is just a white people thing
09:41
wtf is going on over there
Avatar
Lmao yeah he asked our president to kick out our finance minister
Avatar
catxplosion opened window to get some fresh air
10:05
now my room is mosquito infested
Avatar
not yet, but I see me rioting in germany in the future.
Avatar
古今東西 一切合切 森羅万象 ピースピース ANIMATEDshadowpeace
11:12
HUH i still don't understand why japanese 4char idioms are so different from chinese.
Avatar
There are a lot of funny Biden edits going around rn x)
Avatar
MilkeeyCat 2024-11-07 14:17
@Learath2 After 2 weeks of peeking at others code, I undertood that I've done a lot of horrible design decisions(not that I knew a lot about compilers xd), and now it's time to fix 'em all. The question now is what to feed to codegen, there're 2 options: 1) Symbol table & AST(as it is implemented now) 2) Lower AST to IR and don't pass symbol table IR will be referencing other elements so probably symbol table won't be needed, for example let a = 10; a + a; can be represented like: IR { nodes: [ VarDecl { id: Id(1), // dis id is uniquely generated type_: Type::U8, name: "a" }, Expr { op: Add, lhs: Id(1), // references the thing above rhs: Id(1), }, ] } Which option do you think is better? :p
Avatar
Avatar
MilkeeyCat
@Learath2 After 2 weeks of peeking at others code, I undertood that I've done a lot of horrible design decisions(not that I knew a lot about compilers xd), and now it's time to fix 'em all. The question now is what to feed to codegen, there're 2 options: 1) Symbol table & AST(as it is implemented now) 2) Lower AST to IR and don't pass symbol table IR will be referencing other elements so probably symbol table won't be needed, for example let a = 10; a + a; can be represented like: IR { nodes: [ VarDecl { id: Id(1), // dis id is uniquely generated type_: Type::U8, name: "a" }, Expr { op: Add, lhs: Id(1), // references the thing above rhs: Id(1), }, ] } Which option do you think is better? :p
  • If you are going to an IR make sure you go to an SSA IR while at it, it'll make a lot of optimizations far easier in the feature when you decide you need them.
  • Embedding your symbol table into the IR is not going to change much, it'll just make it more annoying
14:27
nvm, do it correctly this time, you did the jank once 😄
Avatar
MilkeeyCat 2024-11-07 14:27
I still don't know what's the correct way, I just know that now it's trash xd
Avatar
You usually want to go from the raw AST your parser generates, into something a little more friendly to optimization and code generation
14:30
Something like 3AC or an SSA form nowadays
Avatar
MilkeeyCat 2024-11-07 14:32
where dooes type checking and name resolution happen?
Avatar
You do that before you emit the IR usually
14:33
It can be helpful to actually have another IR in the middle that can help you with your typechecking
Avatar
MilkeeyCat 2024-11-07 14:33
yep, that's what i thought about xd
Avatar
Especially if there is a lot of syntactic sugar in your language that would make the original ast very annoying to work with
Avatar
MilkeeyCat 2024-11-07 14:34
not now
14:37
Btw, I finally can use a vm, it was laggy as hell(maybe someone couldn't read qemu docs) before but after I installed virt-manager is works pretty nice
Avatar
gcc e.g. has 3 different IRs and the AST
14:39
@MilkeeyCat btw you are getting to levels of compiler design that might benefit from looking at a book
Avatar
MilkeeyCat 2024-11-07 14:39
do you know such books?
Avatar
The classic is ofc the dragon book
Avatar
However, if you want to learn about SSA forms and optimization, building an optimizing compiler is pretty readable
Avatar
MilkeeyCat 2024-11-07 14:41
I saw comments on reddit which say that it's a bit outdated and no one makes compilers like dat nowadays
Avatar
why are these all dragons
Avatar
The issue is that I'm outdated and I make stuff no one makes
14:42
So my references are also outdated
Avatar
Avatar
Learath2
The issue is that I'm outdated and I make stuff no one makes
including love?
Avatar
I've heard good things about "Engineering a Compiler" but that's also rather old at this point
Avatar
MilkeeyCat 2024-11-07 14:43
I also decided to make a kernel module xd
Avatar
Avatar
TsFreddie
including love?
GuraHuhConfused
Avatar
Avatar
MilkeeyCat
I also decided to make a kernel module xd
one at a time 😄
14:47
@MilkeeyCat "Modern Compiler Implementation in ML" I also have this in my list of refs but I never looked at it myself
Avatar
Avatar
MilkeeyCat
I still don't know what's the correct way, I just know that now it's trash xd
for easier codegen u want an IR thats made up of blocks
16:40
and within those blocks control flow is linear
16:40
to break control flow, you have to change Block
16:40
a block is a sequence of IR instructions
16:40
and usually a block ends with a terminator
16:40
that terminator can be like a branch, conditional branch, switch, etc
16:40
or a func ret
16:41
or a unreachable
16:41
a thing to take care with SSA is phi nodes
16:41
since you need to take care that a value is dominated
16:41
In compiler design, static single assignment form (often abbreviated as SSA form or simply SSA) is a type of intermediate representation (IR) where each variable is assigned exactly once. SSA is used in most high-quality optimizing compilers for imperative languages, including LLVM, the GNU Compiler Collection, and many commercial compilers. The...
16:41
In computer science, a node d of a control-flow graph dominates a node n if every path from the entry node to n must go through d. Notationally, this is written as d dom n (or sometimes d ≫ n). By definition, every node dominates itself. There are a number of related concepts: A node d strictly dominates a node n if d dominates n and d does not...
Avatar
Avatar
Learath2
gcc e.g. has 3 different IRs and the AST
rus itself has 3 too
Avatar
MilkeeyCat 2024-11-07 16:43
hir, thir(hair), mir 🤓 (edited)
Avatar
your mom your dad your grandma
16:54
justatest
Avatar
@XuVis
17:36
добавь в др
Avatar
Guys
20:17
In games like chess
20:17
Where ping doesn't really matter
20:17
But the time you get for each move does matter
20:18
How can you make sure it's accurate regardless of latency?
Avatar
If you aren't worried about cheating (because there are much more obvious ways to cheat anyways), you can just trust the client to measure the time spent
Avatar
Avatar
risu
If you aren't worried about cheating (because there are much more obvious ways to cheat anyways), you can just trust the client to measure the time spent
Do not under any circumstances trust the client greenthing
20:30
It's such bad practice I wouldn't do it even if cheating is no concern
Avatar
I guess this problem is logically unsolvable without trusting the client
Avatar
If the client returns something ridiculous you can instead use the measured time on the server side, which will always be longer due to network latency, so by cheating you just get punished by a fraction of a second each time
Avatar
Then you can cheat by a smaller margin
Avatar
longer than the actual time spent I mean, if the client sends a ridiculously long period of time then it's not a punishment
Avatar
I wonder what lichess does
20:34
Because logically it's impossible to know when the client received the next move
Avatar
Avatar
pilonpl
I wonder what lichess does
gives you chess
Avatar
Avatar
meloƞ
It's such bad practice I wouldn't do it even if cheating is no concern
No wonder now, people using "cashier-less stations" need to wait for cashier/employee to finish their groceries
Avatar
"why do you have a ps5 registered as 4.5kg of bananas"
Avatar
Холадос 2024-11-07 21:14
R memes allowed here?
Avatar
Avatar
Холадос
R memes allowed here?
nothing nsfw. everything else is up to the discord mods
Avatar
meme away, stay funny tho
21:19
Don't post weird shit
Avatar
Avatar
meloƞ
meme away, stay funny tho
montikboom 2024-11-07 21:22
21:23
Is this funny?
21:26
Roses are red, silent as a mouse. Your door is unlocked, I'm inside your house
Avatar
MilkeeyCat 2024-11-07 22:00
Holy fuck, I was just watching a youtube vid and my pc started lagging so much that it didn't react to any input pepeW
justatest 1
Avatar
Avatar
MilkeeyCat
Holy fuck, I was just watching a youtube vid and my pc started lagging so much that it didn't react to any input pepeW
your pc wanted to work
22:01
instead it had to procrastinate
Avatar
MilkeeyCat 2024-11-07 22:01
I just finished with setting up a repo -.- (edited)
22:02
It just reloaded and it works fine now
22:02
Whew
Avatar
i'm now dual booting arch
22:03
i am a superior being
22:03
i have arch AND nixOS
Avatar
MilkeeyCat 2024-11-07 22:04
You can't choose one distro? xd
22:14
i'm a distro hopper by heart
22:14
there is only 2 distro's i'll most likely never run on my PC gentoo and LFS kek
Avatar
Avatar
meloƞ
there is only 2 distro's i'll most likely never run on my PC gentoo and LFS kek
Imagine having such bad taste wow
Avatar
norming suckers
Avatar
Avatar
TsFreddie
norming suckers
Mood gorning
23:57
getting breakfast sandwich today
Exported 251 message(s)
Timezone: UTC+0