egg|nomz|egg changed the topic of #kspacademia to: https://gist.github.com/pdn4kd/164b9b85435d87afbec0c3a7e69d3e6d | Dogs are cats. Spiders are cat interferometers. | Космизм сегодня! | Document well, for tomorrow you may get mauled by a ネコバス. | <UmbralRaptor> egg|nomz|egg: generally if your eyes are dewing over, that's not the weather. | <ferram4> I shall beat my problems to death with an engineer.
<kmath>
<✔kevinschawinski> Me, at science conference: I am working on replacing scientists with AI! It’s really fascinating! ⏎ ⏎ ... ⏎ ⏎ <Awkward silence>
e_14159 has joined #kspacademia
Majiir is now known as Snoozee
* UmbralRaptor
guesses that egg is sleeping. Try pinging him when his nick is <egg|zzz|egg>?
<bofh>
but basically, -iR means "scan n random hosts", --data-string is appended to every scan packet, -A means enable service/OS detection, the script parameter sets the HTTP useragent to that string.
<bofh>
essentially it aggressively spams 99999 random hosts with the EICAR standard antivirus test file. with the goal that some paranoid misconfigured A/V will quarantine a few too many things as a result.
<UmbralRaptor>
Presumably knocking a computer offline?
<kmath>
<✔UCSUSA> His paper noting that fact is apparently the shortest ever published in the journal Physical Review. Here it is in… https://t.co/TNshBF10zl
<UmbralRaptor>
bofh: sort of like setting a WiFi hotspot named జ్ఞాস্রু?
<bofh>
yep! :D
tawny has joined #kspacademia
<iximeow>
so a coworker of mine shared a funny story once
<iximeow>
he has a shirt with EICAR as a QR code on it
<iximeow>
he strongly suspects this broke something that tries to do text recognition on images but, well, the details themselves were a little too funny
<iximeow>
but, ahem, EICAR goes in all fields, as it were
<bofh>
LOL
<bofh>
I want that shirt. Should be easy enough to make.
<whitequark>
me too
<whitequark>
also I know the name for my next hotspot
egg has joined #kspacademia
<egg>
!wpn whitequark
* Qboid
gives whitequark a type-erased potato
<egg>
!wpn bofh
* Qboid
gives bofh a stern loop space
<egg>
!wpn UmbralRaptor
* Qboid
gives UmbralRaptor a hypergolic postorder proton
<kmath>
<KlingenbergFarm> Taking cow art to the next level. I timed my cattle to stand at just the right time for a satellite to fly over an… https://t.co/lp3M1Nymli
egg|mobile|egg has quit [Read error: Connection reset by peer]
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Read error: Connection reset by peer]
* UmbralRaptor
stares at a 📅
awang has quit [Ping timeout: 186 seconds]
* UmbralRaptor
🔪🗡🔪🗡🔪🗡🔪†††⚔🗡🔪🗡🔪🔪🔪🗡
awang has joined #kspacademia
<awang>
TIL xor eax, eax emits no uops in the processor
tawny has quit [Ping timeout: 190 seconds]
<awang>
llvm-mca and llvm-exegesis look pretty awesome too
<egg|work|egg>
!wpn awang
* Qboid
gives awang a principled bar quark
<egg|work|egg>
!wpn whitequark
* Qboid
gives whitequark a positive vertical (with ground plane)
<egg|work|egg>
!wpn bofh
* Qboid
gives bofh an isothermic triangle pusher which strongly resembles a parabolol
<egg|work|egg>
!wpn UmbralRaptor
* Qboid
gives UmbralRaptor an inverted C induction-like thermistor
<SilverFox>
awang, what do you mean emits no uops?
<awang>
SilverFox: I want to say that it basically treats the instruction as a no-op
<SilverFox>
a nop? interesting
awang has quit [Killed (NickServ (GHOST command used by awang_))]
awang_ has joined #kspacademia
<SilverFox>
xor seems pretty useful to be treated as a nop
<SilverFox>
which architecture does this?
<awang_>
It's just that special case xor-ing a register with itself
<awang_>
Apparently most out-of-order processors do this?
<awang_>
Oh, here's an actual answer
<awang_>
zeroing using xor apparently is in Intel's P6-and-above processors
<SilverFox>
wait, if you xor a register with itself, isn't that always 0?
<awang_>
Doesn't take up one of the ISA registers in P4 and up?
<awang_>
Yep. That's the point
<SilverFox>
why would you do that instead of just zeroing the register?
<awang_>
It's shorter
<awang_>
2 bytes instead of 5, apparently
<SilverFox>
interesting
<awang_>
Apparently it's special-cased in more processors than mov eax, 0
<awang_>
Man it's been too long since I've done CPU stuff
<SilverFox>
like, 5 bytes for the instruction?
<SilverFox>
how is xoring a register only 2 bytes?
<SilverFox>
1 byte for the instruction, one for register A, one for register B, that should be 3, shouldn't it?
<awang_>
Yeah
<awang_>
Maybe it's encoded as xor eax?
<awang_>
Other one is implied?
<SilverFox>
what is eax?
<awang_>
Register
<awang_>
Sort of like a variable
<awang_>
But in hardware
<SilverFox>
interesting
<SilverFox>
it's been a while since I did cpu stuff as well
<SilverFox>
I made a bot that simulated one
<awang_>
I've been meaning to build a simple one Ben Eater-style
<awang_>
Just don't have the time, unfortunately
<SilverFox>
I made one I think it's... the one where data and instruction is separated
<awang_>
Harvard arch?
<SilverFox>
idk, I wanted to rewrite it as that one where data and instr are in the same memory, but handled decently
<awang_>
What does "decently" mean?
<SilverFox>
like, not poorly
<SilverFox>
is there no good way to handle this memory allocation stuff?
Technicalfool has joined #kspacademia
<awang_>
Probably depends on what you consider "good"
<SilverFox>
not what I think is immediately workable
<SilverFox>
usually my first implementations are shit
<awang_>
Everyone's first implementations suck
<SilverFox>
and idek how I'd implement dynamic reallocation and movement of memory
<awang_>
It's just that quite a bit of the time someone did the failing for you, and you get to learn from it
<awang_>
Dynamic reallocation? Like malloc() then free() then malloc() again?
<awang_>
Movement of memory doesn't usually work for C/C++
<awang_>
Actually, it can't work for C++
<awang_>
Don't think it would work for C either
<SilverFox>
like, not in programming languages, like, lower level
<awang_>
You see memory movement in GC'd languages more frequently
<SilverFox>
like, write my own CPU to save me the effort of designing it and shit, then writing code to go on top of it
<awang_>
TLB?
<SilverFox>
usng only code the processor can run
<awang_>
Or at least the stuff around it
<SilverFox>
no cheating from the host machine
<awang_>
Do you want your memory to be protected or not?
<awang_>
If not, you literally do nothing. Just let whatever program access whatever memory
<awang_>
DOS-style
egg|phone|egg has joined #kspacademia
<awang_>
I'm not as certain how hardware memory protection is done
<SilverFox>
hmmm
<awang_>
If you want protected memory, apparently it's done using paging
egg|phone|egg has quit [Read error: -0x1: UNKNOWN ERROR CODE (0001)]
egg|phone|egg has joined #kspacademia
<SilverFox>
I think I'll start with no protection, but have some sections allocated and told to the program so it knows it's memory constraints
<SilverFox>
maybe, I could query against those sections and then deny the program if it goes out of that section?
egg|cell|egg has quit [Read error: Connection reset by peer]
<awang_>
If you're making a C-like language, you don't need to do anything, since the programmer handles memory
<awang_>
s/language/language with no memory protection on the hardware
<Qboid>
awang_ meant to say: If you're making a C-like language with no memory protection on the hardware, you don't need to do anything, since the programmer handles memory
egg|cell|egg has joined #kspacademia
<SilverFox>
idk what I'm making
egg|phone|egg has quit [Ping timeout: 190 seconds]
<kmath>
<eevee> finally get thing working, try against semi-real data, aand panic. starting to think i am not smart enough to solv… https://t.co/XKxhqD0aIN
egg|phone|egg has joined #kspacademia
egg|cell|egg has quit [Read error: -0x1: UNKNOWN ERROR CODE (0001)]
<awang_>
The easiest work is the work that is never done
<egg>
UmbralRaptor: otoh the question really is what you want to do with the system
<UmbralRaptor>
The big problem is that I don't have much to do with it at the moment.
* UmbralRaptor
needs to find Teff, logg, vsini, [Fe/H], and radius of a bunch of stars in catalogs, then run the observation simulations. Planets are more relevant to other people in the group. =\
egg is now known as egg|nomz|egg
* awang_
🔪 google benchmark
<awang_>
bofh: That sounds like a quote
<bofh>
awang_: yeah, Sun Tzu's Art of War :P
UmbralRaptor has quit [Quit: Bye]
<APlayer>
What was it?
<awang_>
bofh: Ah. Certainly sounds like it, now that I know that
UmbralRaptop has joined #kspacademia
<awang_>
Wait, so how much will I break if I symlink Xcode tools to LLVM ones?
<awang_>
Because CMake is refusing to use llvm-ranlib
<whitequark>
awang_: didn't you ask this question a few years ago
<whitequark>
erm
<whitequark>
a few weeks
<awang_>
whitequark: Right
<awang_>
Apparently setting CMAKE_AR and CMAKE_RANLIB as environment variables isn't enough to get CMake to use them
<whitequark>
huh?
<whitequark>
of course not, cmake doesn't care about environment variables
<whitequark>
use cmake . -DCMAKE_AR=... -DCMAKE_RANLIB=...
<awang_>
Environment variables worked for CC/CXX
<awang_>
Thought it might work for the other ones too