Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2024-04-22 00:00:00Z and 2024-04-23 00:00:00Z
Avatar
I think it heavily depends on code
00:06
Also things like gcc -O2 and clang -O2 aren't comparable afaik, gcc only started allowing auto vectorization at -O2 for example
Avatar
Avatar
Peter0x44
Also things like gcc -O2 and clang -O2 aren't comparable afaik, gcc only started allowing auto vectorization at -O2 for example
auto vectorization is on -O3 only, as far as i remember
Avatar
I wonder if freddie is still alive, but i dare not ping
Avatar
@TsFreddie how are you bud!
Avatar
He is done for
07:28
Rip freddie
what 1
Avatar
Avatar
Chairn
auto vectorization is on -O3 only, as far as i remember
Apparently also on O2 since GCC12
Avatar
factoring
11:31
🏭 1
🚀 1
Avatar
Not real fredie
12:05
Clearly an impostor
Avatar
i think im officially old
13:36
even if i go to sleep at 3am, i still wake up at 8:30am 😦
Avatar
You've just been conditioned. I also have an automatic wake-up at 0900 even if I don't have to 😄
13:37
or maybe I'm old too, my knees hurt too
Avatar
@Learath2 i need help asap
14:27
How does checking of consumption tax at airport work
14:27
Will they ask me fir receipt or just check if products are sealed
Avatar
Avatar
Learath2
You've just been conditioned. I also have an automatic wake-up at 0900 even if I don't have to 😄
it never happened when i was younger, like young adults in the 20s. I used to wake up at like 11am or even 1pm
Avatar
Avatar
Overlord
How does checking of consumption tax at airport work
taxfree? you are supposed to have the product and it's receipt and they will ask you to show them both
Avatar
Avatar
Learath2
taxfree? you are supposed to have the product and it's receipt and they will ask you to show them both
Where are these checks
Avatar
However, some countries are more strict than others, they might not force you to keep it sealed, they may. Some use 3rd party companies to handle it, some don't. Idk the case in japan
Avatar
As in, in the open like usa
Avatar
Avatar
Overlord
Where are these checks
Incase a third party is involved, it's before checkin
Avatar
Avatar
Learath2
However, some countries are more strict than others, they might not force you to keep it sealed, they may. Some use 3rd party companies to handle it, some don't. Idk the case in japan
But U have been there!!
14:32
Also i cant believe i didnt think that day, and bought questionable goods on passport
Avatar
Avatar
Overlord
But U have been there!!
I didn't buy anything expensive enough that tax - commission was worth my time to get the money back
Avatar
Avatar
Overlord
Also i cant believe i didnt think that day, and bought questionable goods on passport
Good luck declaring your hentai figurine to the customs officer or the 3rd party worker
Avatar
Avatar
Learath2
Good luck declaring your hentai figurine to the customs officer or the 3rd party worker
Aside from one i won all figures in machines
14:33
I have worse things...
14:34
Now that i look at my tax free purchases i must be the weirdest creep ever
14:34
Because i also bought nikon binoculars
14:34
As first thing
Avatar
You are going back to europe, not saudi arabia. If you bought things that are illegal in the eu, I'm kinda worried of what kind of person you are
Avatar
Things are legal
Avatar
If you didn't, then you'll be fine unless it's export restricted
Avatar
Just the places where they scanned my pssport and time frames make me a big creep
Avatar
Avatar
Learath2
If you didn't, then you'll be fine unless it's export restricted
Like hentais are!
14:36
Och well I defienietly lacked foresight on that day
14:36
Rolled low stats and thus made mistakes
14:37
Kinda reminds me of these mafia types of people, who do things by certain rules all their life and then have "yo dawg day"
14:37
My silly brain thought -> paying by cash no problem
14:38
Forgot about passport scanning xd, gonna stay creep in database forever
14:39
I have one day left and barerly any cash, I can probably buy one more tax free item to redeem myself
Avatar
Avatar
Overlord
Like hentais are!
girl for me to make me happy
Avatar
Avatar
EGYT
girl for me to make me happy
U cant traffic humans either
Avatar
Avatar
Overlord
U cant traffic humans either
You didn't get the reference...
Avatar
Possible
14:45
Im sick and sleep depriced last 8 days
14:46
All I can comprehend is, as somone who always tried to keep my data pretty clean
14:46
I made such newbie mistake
14:46
That i cant even
Avatar
...hello? You fell asleep midsentence? (edited)
Avatar
No. Its how mericans speak
14:49
Atleast thats from my experience + projections
Avatar
I ain't Americainian!
Avatar
I know, but we speak english, and today I dont feel like doing " bri'sh" english at all
Avatar
You can go Australian 🇦🇺
Avatar
Best i can do, is going under train tracks (edited)
Avatar
Avatar
Overlord
Best i can do, is going under train tracks (edited)
Nah, that's Vietnamianian
Avatar
Im witnessing burning building in tokyo
Avatar
After magnyfyinf with binos it really looks like building fire, BUT its really really far so might be some memorial fire?
15:41
Sinc eits been burning for quite some time
Avatar
Yeah no way it would be still burning with similar intensity
15:57
Havr a good ight fellas
Avatar
Avatar
Overlord
Like hentais are!
Where did you even read this? I don't remember this being a thing. Though again I didn't have to ever research this since I didn't buy anything remotely sus in japan
Avatar
Avatar
Learath2
Where did you even read this? I don't remember this being a thing. Though again I didn't have to ever research this since I didn't buy anything remotely sus in japan
On the forbidden items to bring into the country
16:03
There was pornography written there
16:04
So i assume it means that too
Avatar
Avatar
Learath2
Where did you even read this? I don't remember this being a thing. Though again I didn't have to ever research this since I didn't buy anything remotely sus in japan
Big mistake, fix it. Next time. Also present Ur passport thinking "im paying cash, aint no way anybody is gonna track it to me"
Avatar
Avatar
Overlord
There was pornography written there
Are you sure you didn't read egyptian or saudi website?
Avatar
Avatar
Learath2
Are you sure you didn't read egyptian or saudi website?
Im pretty sure i read polish airline stuff
16:06
But im gonna make sure of it later
16:06
Also... calling customs officer to my baggage gonna be real fun
Avatar
Anyway, I don't know of any export restriction that would be an issue for you and if the things you bought aren't illegal in the eu or poland, you'll be fine
Avatar
Yes, but the shame
16:07
Will be there
16:07
Tho it 99% depends on the mood i wake up with
16:07
Might be happy go lucky
Avatar
Well if you have tax free hentai you'll have a nice time showing the officer 😄
Avatar
Officer I dont mind
16:10
Its just i aint traveling alone
Avatar
Avatar
Overlord
Its just i aint traveling alone
I would just die if I had to declare hentai in front of my dad
16:11
Just immediately perish
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
This is criminal
16:12
Undo this
Avatar
Avatar
Learath2
I would just die if I had to declare hentai in front of my dad
Well, as long as i die on jp soil, there is isekai
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
Make it more sphagetti
Avatar
Mixing belts is a nonononononono
Avatar
Never played factorio
16:13
God i can only wish for the best
16:13
Goodnight
16:13
Tho no
16:13
Before night
16:13
our actual first time progress
Avatar
U think its better to buy extra duty free stuff to add the checking junk? Or is it best to have as few items as possible
16:13
As to minimalize chances of dying?
16:15
(At)learath2
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
Are you playing with someone?
Avatar
Avatar
Overlord
U think its better to buy extra duty free stuff to add the checking junk? Or is it best to have as few items as possible
Wym dying?
Avatar
Avatar
Learath2
Are you playing with someone?
two others
16:16
one of them just like to build trains
Avatar
A duty free bag on all airlines I've travelled on is free. As long as you can carry it, buy whatever you want
16:17
Though lately, I've had the feeling that dutyfree shops aren't even cheaper anymore. Idk why
Avatar
Its not duty free its tax free different thing
Avatar
Avatar
Learath2
Are you playing with someone?
I'm running a factorio server on my NAS
Avatar
Its only consumption tax
Avatar
Avatar
Overlord
Its not duty free its tax free different thing
Ohh, idk what sort of taxfree japan has. Are they working with a third party company?
Avatar
Hence my regret of saving on some prticular items
Avatar
hoping it won't kill my poor box's cpu
Avatar
Avatar
Learath2
Ohh, idk what sort of taxfree japan has. Are they working with a third party company?
In short, its 10% they scan Ur passport at tax free stores and it sends info to customs
16:18
Then they seal Ur bag with plastic wrappers that are see through
Avatar
If they do, there is a chance that they don't even bother checking the items. GlobalBlue in Italy is lazy asf. You just drop off an envelope and it's done
Avatar
So U dont open product in japan
16:19
Im 40% sure its run by gov
16:19
Also, have U seen a lazy asian?
Avatar
i am lazy
Avatar
dies from overwork
16:20
Also I cant even get rid of these items anymore
16:20
Because i would either have to pay tax, fine, or jail
16:20
So all in. All i only can push forward
Avatar
Well, then only buy as much as you can carry. Because customs is after checkin. You need to carry everything as carry on baggage @Overlord
Avatar
Btw it was my second time buying tax free and it went totally different than first one, ( it depends on the items)
Avatar
Avatar
Learath2
Well, then only buy as much as you can carry. Because customs is after checkin. You need to carry everything as carry on baggage @Overlord
Cant, it wont fit.
16:22
From the web
16:22
Present Your Passport Present your passport to the customs officer, as the purchase record information will be sent electronically. Generally, the purchaser of the tax-free items must carry them when leaving Japan. If you plan to put your duty-free items in your checked baggage, please inform the airline staff at the check-in counter before checking in your luggage. A customs officer will come to the check-in counter to check your duty-free items
Avatar
Idk what to do in that case. I've never bought anything that I can't carry on tax free, in a country where you have to present it at customs
Avatar
Avatar
Overlord
Present Your Passport Present your passport to the customs officer, as the purchase record information will be sent electronically. Generally, the purchaser of the tax-free items must carry them when leaving Japan. If you plan to put your duty-free items in your checked baggage, please inform the airline staff at the check-in counter before checking in your luggage. A customs officer will come to the check-in counter to check your duty-free items
Ah if the checkin people can call customs to check it. Then it's fine
Avatar
Gn T.Charlie
Avatar
Avatar
Learath2
Ah if the checkin people can call customs to check it. Then it's fine
Fine, from law standpoint, now think about social one!
16:23
The worst thing is
16:23
My dad is scared of everything here
16:24
(Even tho this trip was his idea)
16:24
And he basically doesnt leave me for 2-3 meters
Avatar
Only Allah can help you with that one sadly. I hope the money you get back is worth your father, the checkin agent and the customs officer all thinking you are a degenerate dweeb
Avatar
Avatar
Learath2
Only Allah can help you with that one sadly. I hope the money you get back is worth your father, the checkin agent and the customs officer all thinking you are a degenerate dweeb
Its like... 12€
Avatar
Try to send your father to the bathroom to get you tissues or sth 😄
Avatar
Overall i probably saved on tax free around 100€
Avatar
Should I make food or go out for food or order food?
Avatar
Avatar
Learath2
Try to send your father to the bathroom to get you tissues or sth 😄
He will have his own issues, as he bought a tax free knife
Avatar
Avatar
Learath2
Should I make food or go out for food or order food?
Going out increases chances of human interaction
Avatar
Avatar
Overlord
He will have his own issues, as he bought a tax free knife
I got a knife aswell. What did he get, cooking knife or cool combat knife?
Avatar
Avatar
Learath2
I got a knife aswell. What did he get, cooking knife or cool combat knife?
Cooking knife 26k yen
Avatar
eat out, sit a bit then straight to the bar
Avatar
Tho imo he should have gone to proper knofe shop
Avatar
Not buying one at don quichite
Avatar
Avatar
Overlord
Going out increases chances of human interaction
Random interactions with people are a myth. They don't happen except for in movies
Avatar
Avatar
Learath2
Random interactions with people are a myth. They don't happen except for in movies
PFFF lies, how else would yesterday girls ewwww at me?
Avatar
have you considered using tinderowo
Avatar
Avatar
Overlord
Tho imo he should have gone to proper knofe shop
I went to such a cool knife shop in Osaka. The old dude even taught me how to sharpen on a whetstone, though he said I need much practice
16:28
I think it was his polite way of saying "ur shit at this"
Avatar
Avatar
Learath2
I went to such a cool knife shop in Osaka. The old dude even taught me how to sharpen on a whetstone, though he said I need much practice
And this is what i consider cool and worthwhile experience
16:28
Not just buying the product
Avatar
Avatar
Learath2
I think it was his polite way of saying "ur shit at this"
Keep in mind that, in japan even if U are good at something, U cant be considered good without X years of experience
Avatar
Avatar
TsFreddie
have you considered using tinderowo
I have, but you need pics for that. Guess what I don't have any of?
Avatar
ill take them for you
Avatar
Avatar
Learath2
I have, but you need pics for that. Guess what I don't have any of?
Hair?
Avatar
I used to be pretty much allergic to people taking pics of me, especially until like 5-6 years ago
Avatar
Avatar
Overlord
Hair?
I still have hair, though the amount of broken hair I find on the ground suggests I need to hurry up
Avatar
most people are fine with professional protraits cuz usually they are being told what to do instead of trying to do anything on the spot
Avatar
love U both gn
Avatar
maybe go out and try get some of that
Avatar
Avatar
Overlord
love U both gn
Gn
Avatar
Avatar
TsFreddie
maybe go out and try get some of that
I should get a photoshoot done sometime. I need one for my linkedin profile too
Avatar
Avatar
Learath2
I should get a photoshoot done sometime. I need one for my linkedin profile too
wdym sometime
Avatar
As in sometime in the future
Avatar
like the next week?
16:32
Catxplosion
Avatar
Nah more like in 2-3 months. Much cheaper to do those kinds of things back in Turkey
Avatar
discord is badly optimized for side notch
16:33
Avatar
I can even just hand my camera to a friend and then it's free photoshoot
16:34
i actually never took any photos as well
16:34
but i dont use tinder so whatever
Avatar
Ooh, now that I think about it. I forgot to import my photos from Berlin
16:34
I had a couple I wanted to put on instagram
Avatar
i dont even have instagram
16:35
i dont even use wechat moments
16:35
i have zero outlet for social mediapoggers
Avatar
I use ig as a final destination for photos I take and for meme distribution
Avatar
why does it take VY as an operand and does nothing with it xd
Avatar
Avatar
pilonpl
why does it take VY as an operand and does nothing with it xd
What is this even? It might just be an oversight. They may have intended to make it SHR Vy, but then decided against it but forgot to remove
Avatar
chip-8
Avatar
why are all the cute guys straight
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
Are you both drinking the exact same things as the last time you posted from this place?
Avatar
i just forgot whether ive posted it nor not
16:40
prob the exact same photo
16:40
feelsbadman just saying i kinda like this guy
Avatar
Avatar
pilonpl
chip-8
Maybe doc you refer to is wrong? Wikipedia suggests it's Vx = Vy >> 1 (edited)
Avatar
I can only guess and google. Idk chip8 😄
Avatar
btw is it a problem that i have a lot of tiny red capillaries like vessels on my foot
Avatar
It seems vx is the destination, vy is the source and whether vy is changed or unchanged seems to be a debate
Avatar
is it allowed to send foot pic heregreenthing (edited)
Avatar
Avatar
TsFreddie
btw is it a problem that i have a lot of tiny red capillaries like vessels on my foot
Even I who posesses hundreds of pieces of useless information do not know
16:44
So it's unlikely you'll find an answer to that here. Ask Dr. Google
Avatar
tbh i just wanna show foot
Avatar
Don't, no feetsies in off-topic
Avatar
Avatar
Learath2
It seems vx is the destination, vy is the source and whether vy is changed or unchanged seems to be a debate
there are probably many slightly different versions of chip 8
Avatar
Avatar
pilonpl
there are probably many slightly different versions of chip 8
Ah, yep, check the footnote for 8xy6 on wikipedia
16:50
It seems originally it did what I said, but some later implementations just changed it to what your screenshot had. So the unused argument is probably a documentation error from the person writing it having the same confusion
16:50
Now I feel like writing a chip8 interpreter too
16:51
It's been so long since I wrote an interpreter
Avatar
Or maybe just an indication that that if you find that instruction in a rom you know whats the 3rd nibble
16:52
is that even an English sentence lol
16:52
I guess i am just gonna test it on different roms and see if they work
16:53
Would be great to create the ultimate chip 8 interpreter that can run anything lol
Avatar
Avatar
pilonpl
is that even an English sentence lol
"What the third nibble is" is how I'd put it, also no double "that"
16:54
What's would be a question
Avatar
Chili garlic noodles, with enough garlic to ensure I don't get a gf for the next year
17:49
nice
Avatar
Avatar
Learath2
Don't, no feetsies in off-topic
angy
Avatar
Avatar
pilonpl
Click to see attachment 🖼️
Nice
Avatar
btw my test.c file is now 442 lines long lol
17:50
17:50
my approach to testing might be a bit suboptimal
Avatar
Did you write that on your Phone or do you own 70×92721 Pixel Monitor
Avatar
VSCode has this thingy
17:51
on the right
Avatar
Oh right i forgot
17:51
dabs in nvim
Avatar
idk if tests are supposed to be twice as long as the actual implementation
Avatar
Avatar
pilonpl
idk if tests are supposed to be twice as long as the actual implementation
For a 5 Line function you need 10 lines of test Code - lgtm
Avatar
should i be separating instructions into functions?
17:54
for now everything is in one switch statement (edited)
Avatar
I wouldn't. But modern coders might disagree
17:58
A well commented switch statement is just fine for me
17:58
Even if its a 1000 lines
18:01
there isnt really a way to separate it
18:02
18:02
what
18:02
V0
18:02
or addr?
18:02
ok
18:02
nvm
18:03
im dumb
18:03
this makes sense actually lol
18:05
but its another opportunity for indexing into out of bounds
18:05
and this document doesnt tell me how to deal with that
18:05
i guess just crashing is fair
Avatar
how am i supposed to test RND lol
18:16
its not deterministic
18:17
i guess i dont have test it then
Avatar
Avatar
pilonpl
i guess just crashing is fair
Halt and catch fire
Avatar
Avatar
pilonpl
how am i supposed to test RND lol
if you want to, you could test whether the distribution of random numbers is roughly fair, it's very easy to make mistakes with rngs
Avatar
idk if there can be anything wrong with this
18:38
Btw i feel so motivated to work on this project
18:39
The only thing i was thinking about for the past 2 days was chip 8
Avatar
Avatar
pilonpl
idk if there can be anything wrong with this
This is roughly uniform in theory (in reality rand() is usually not very good at having a flat distribution), but not exactly uniform because 256 does not divide RAND_MAX evenly 😄
18:49
Unlikely to matter, just a small trivia thing
18:49
maybe i'll look into it later
18:50
i dislike the fact that randomnes is not deterministic
Avatar
Avatar
pilonpl
i dislike the fact that randomnes is not deterministic
rand() is a prng, it is deterministic
Avatar
yes but different chip implementations can have different methods for generating random numbers
Avatar
the number you get out of rand() solely depends on the seed you give it with srand() and the times you call rand()
18:51
Ah, it's not standardized
18:53
(An easy way to remove modulo bias is to keep calling rand() until you get a number inside the range divisible by n (for small n it's usually just one iteration anyway), then doing the modulo n)
18:53
Just so it's in your databank if one day you are running simulations with billions of iterations and you need something truly uniform 😄
Avatar
Avatar
Learath2
(An easy way to remove modulo bias is to keep calling rand() until you get a number inside the range divisible by n (for small n it's usually just one iteration anyway), then doing the modulo n)
i don like the idea of getting infinitely lucky and getting stuck in a loop lol
18:55
i guess irl it wouldnt happen
18:55
because prng
18:55
but
Avatar
It might not be possible with rand being implemented as a linear congruential generator
Avatar
i guess it is possible to determine whats the max number of iterations needed
18:56
if you know the implementation
Avatar
It actually is now that I think about it, I wonder if one could craft such a seed
Avatar
you can brute force
Avatar
Avatar
Learath2
(An easy way to remove modulo bias is to keep calling rand() until you get a number inside the range divisible by n (for small n it's usually just one iteration anyway), then doing the modulo n)
how about rand() & 0XFF?
19:11
i guess every bit has 50% probability
19:11
so i can just take the first 8 bits
Avatar
and the funny thing is
19:31
on my machine RAND_MAX is divisible by 256
19:33
i mean almost
19:33
i guess it misses by 1?
19:33
or maybe not
19:33
idk actually
Avatar
Avatar
pilonpl
how about rand() & 0XFF?
No, it's the same as modulo
19:34
Actually, 256 is fine now that I think about it
19:34
It's RAND_MAX + 1 you need to divide completely
19:34
I forgot 0 in my initial assessment
Avatar
over 1,000,000,000 iterations 127,499,816,729 is the sum
19:35
so pretty close
19:37
i guess i'd need a better way of testing this
19:38
because average doesnt tell the whole story
Avatar
The most common test is chi-square test
19:39
There is also <Insert russian dude name>-<Insert another russian dude name> test that I forgor
19:39
Or you can make a histogram and look at it
19:40
just use rand() % 256
19:40
and be happy
Avatar
Yeah rand() % 256 is fine 😄
Avatar
Avatar
Learath2
No, it's the same as modulo
but like why is this the same lol
Avatar
Avatar
pilonpl
but like why is this the same lol
That's literally what it'll get compiled to by gcc
Avatar
Ok i guess it does make sense
Avatar
I have to handle sounds somehow
20:04
They way i want it to work
20:04
Is
20:05
To have the chip8 logic be separate from the window app that's used to interact with it (edited)
Exported 313 message(s)