« first day (2959 days earlier)      last day (1889 days later) » 
00:00 - 19:0019:00 - 00:00

7:04 PM
> I recommend using caps lock instead of shift to type capital letters to allow more flexibility in the hand that you would normally use shift with. -- Sean Wrona, high-speed typist and record holder.
 
mm
i'm happy with ~70wpm
 
Yeah, I'm somewhere between 80 and 90 or thereabouts
 
i know some folks who use caps lock as their control character in like... tmux and stuff because it's easier than reaching for ctrl
 
I'm so bad at typing
 
but shift is my buddy
I HAVE TYPED ENTIRE SENTENCES HOLDING SHIFT
 
7:13 PM
clearly you are very good at it
 
i'm personally going to be configuring Capslock to open a keybound menu for stuff like quickly opening a terminal or switching keyboard layouts
 
:]
 
I USUALLY HOLD SHIFT INSTEAD OF CAPS LOCK, SINCE I HAVE A BUTTON TO DISABLE CAPS LOCK, WINDOWS KEY, AND ALT+F4 AND THAT BUTTON IS USUALLY ON
 
I ALSO HOLD SHIFT AS CAPSLOCK IS MAPPED TO BE APL KEY
 
ON AN UNRELATED NOTE WHAT DO YOU GUYS THINK OF THIS GOLFED EMAIL SIGNATURE: tio.run/##Vc1PS8MwGAbwu5/iZcJo/i1dN/…
 
7:18 PM
i should make myself an email signature
for fun
 
THANKS TO ADAM, ASCII-ONLY, AND SOMEONE WHO'S NAME I THINK WAS OUROBOROS. IF YOU HELPED AND I DIDN'T SAY IT HERE, JUST @ ME
 
but at the same time, to do it with x86, i'd have to use 16-bit mode because you cant do ASCII only x86 in 32-bit or 64-bit mode
and i hate 16-bit mode :<
 
Seriously though, I had a lot of fun making it, and I owe its existence in its current form to the people here at PPCG
 
@ThePlasmaRailgun Is the email that exact length?
 
Wait, what do you mean?
That's just the signature that now gets appended to all of my emails
 
7:21 PM
@ThePlasmaRailgun In your signature, you've reserved space for your email address. Is it the exact length of xxxxxxxxxxxxxxx@xxxxx.com?
 
Yes, why?
At least, the front part is
 
@ThePlasmaRailgun Python Developer? But the code is C!
 
I mainly code in Python!
This was my first C program that I ever did for myself!
Python doesn't fit well into a signature block anyways
 
@ThePlasmaRailgun looks very Mandelbrot-y
 
Because of its indentation and whitespace rules
Yeah, it's supposed to be the mandelbrot set
Rendered in ASCII
 
7:23 PM
@ais523 are weighted bipartite graphs useful in matrix multiplication and modeling linear algebraic models?
 
wait ais is online? huh.
 
he still chats here, even though he has deleted his old PPCG profile
 
@ThePlasmaRailgun High volume of low-effort yet well explained answers is the most efficient way to earn rep IMO.
 
@lirtosiast I'll try my best!
 
7:25 PM
problem for me explaining my answers is that a proper explanation of some tricks would take up tons of space ):
 
I also wish there was a "show-off" chamber where you could show off golfing projects unrelated to an actual question
 
^^^
 
Especially since I'm trying to get good at C obfuscation, so I'd like to have a place to demo projects
 
in my case, i have a bunch of x86-64 golfs that i haven't shown anyone due to the lack of an associated question
 
Fair
So you seem to do a lot of ASM golfs.
 
7:27 PM
it's my favorite thing to do :p
It's a fun challenge to me
 
How would you recommend getting started writing ASM?
 
uh
i have no clue how i personally started understanding it lol
 
Step 1 is definitely getting drunk.
 
I mean like IDEs and assemblers and stuff
Like setting up your development environment
 
x86-64 has 10 full books from intel, and that's just the manual
 
7:29 PM
Wowza
 
anyways, for assembler, i'd recommend NASM
for IDE? Well there isn't one, just use whatever text editor you like
 
I know that the x86 instruction set is considered pretty bloated, what with all the vector ops and SIMD instructions
At least by proponents of RISC, that is
 
bloated is a understatement
 
https://stefanheule.com/blog/how-many-x86-64-instructions-are-there-anyway/
over 1k instructions
 
7:30 PM
@Adám Why'd you ask about the email address? Am I just gonna receive an email from you in the next few days?
My god, that's insane
 
quote from that page, the upper bound on the number of instructions (It's hard to actually measure properly) is roughly 3k
 
@moonheart08 I'm actually kind of a fan of really low instruction set computing
Some of the combinatory logic esolangs are my dream to eventually be able to program in
Specifically Binary Lambda Calculus
 
go toy with the MC88100 (It cuts a lot of common instrs out in favor of more broad instructions, like shift left and shift right (Both arithmetic and binary) are replaced with bitfield instructions that can perform the same task and more)
 
Do you know anything about AVR assembly?
 
it's also a (albet kinda distant) relative of RISC-V, mostly due to it's choice of register layout
No.
 
7:33 PM
Like for Atmel chips?
Oh, ok
 
i know x86-64 assembly and processor noone even knows exists anymore (88100) assembly
 
I'm now kind of worried about why Adam was asking about my email length
 
and the 88100 assembly is mostly guesswork, because there isn't even an emulator for the system around
 
Oh, that sucks
 
i mean it did completely flop commercially
 
7:34 PM
The Intel 8086 is basically running a cut-down version of x86 assembly, right?
Like the 16 bit version before the bloat really started being added
 
mhm
it differs from x86 in a number of ways tho (I.E. Some old instructions from the 8086 were replaced with extension codes for stuff like SSE)
 
I've got an i7-8086k in my PC right now, which was Intel's commemorative processor of the 8086
 
i'm stuck with an Xeon x3470 from 2009
does a damn good job tho
stupidly reliable
 
Oof
My work PC is basically just a server
It's got two 14-core Xeons and 768 GBs of RAM
 
I plan on getting a Zen 2 based CPU once they are avaliable
 
7:37 PM
Nice, Zen two looks like it's gonna be killer
 
I only have 64GBs of RAM
 
mhm
 
but mine is a laptop
 
I have 32 GB in my home PC, but my work PC is literally just a deprecated rack-mount server
 
haha
 
7:38 PM
So they didn't bother taking the RAM out before giving it to me
 
@ThePlasmaRailgun i already wish i could have that, specifically for hellomouse.net
 
What is hellomouse.net
 
@ThePlasmaRailgun whyyy
 
website/server i help host & group i'm part of
 
aren't those just overclocked 8700ks for $100 more?
 
7:39 PM
Oh nice
@lirtosiast Yeah, but I got mine for about the price of an 8700k
 
current server has a older Kaby Lake Xeon with 4 cores, and 16GB of RAM
 
seems good then
 
it would be quite nice to give it more cores and higher singlecore :p
 
my work laptop is worth 6k
 
And the flight sim I play eats single-core performance like nobody's business
 
7:40 PM
6 people sharing one server kinda hurts when you dont have many cores TO share :P
 
combine that with the fact we're mostly teenagers (Can't just go buy a better rack unit), and it's kinda annoying
 
I can't wait until we make 3d computers
 
as in 3D dies?
 
I run basically nothing on my work server (yet), though I'm working on getting it set up as a sandbox with a bunch of disposable VMs for all my fellow infosec people to test malware and executables on
 
7:41 PM
Long way off but v exciting
 
there's one big problem with die stacking...
heat
 
Yeah
 
AMD's chiplet approach works better for now
 
However, graphene dies are supposedly able to handle thousands of times greater clock speeds as well as much less heat
 
hmm
 
well, i'll be interested once they show up on the market :p
 
is that just because their perf/W is better, or do they have higher thermal conductivity?
 
I think they have a much higher electrical conductivity, so way less resistance and less heat
And apparently a much higher W/mK thermal conductivity as well, according to that article
 
RISC-V graphene based CPUs at [INSERT_STUPID_CLOCKRATE_HERE] when
 
7:44 PM
^
I think I remember something about how scientists had managed to manufacture a ring of NOT gates on graphene, which was as a huge accomplishment
So obviously the solution is to have your 100-300 times faster clockspeed than a modern processor, and 50 times less logic gates for the SAME PERF. mind == blown
 
@moonheart08 -1Hz
 
hmmmmmm
 
There were some people saying near-terahertz clockrates weren't too unreasonable with a graphene die, since the propagation delay of the FET transistors was just so much lower
 
we'll see
 
It sounds completely ridiculous to my instinctual mind, but if I really sit and think about it doesn't seem that unrealistic
 
7:48 PM
one big decider here is price
if it costs insane amounts more than silicon, welll....
 
Yeah, that'll be huge
But I wouldn't be surprised if a silicon replacement trickles down to consumer prices in my lifetime
As a matter of fact, I'd be surprised if it didn't
 
for now i should probably focus on just replacing my current CPU :P
 
True
I saved up a ton to buy my current system
So that's basically where 90% of my expendable income has gone for the last 2-3 months
 
ooooo
 
@ThePlasmaRailgun No, I'm asking to see how it all fits in your signature. How many chars is it including @domain.tld?
 
7:50 PM
RAM prices went down
16GB DDR4-3000 is now roughly $80
 
Idk how long your lifetime is, but I expect in the next 75 years nearly all paradigms of technology will be changed
 
Oh, I'm dumb, the domain is actually 5 chars
I forgot the g in gmail
So that is the exact length
Hopefully my lifetime is gonna be another 50-60 years
 
If nothing else AI plus iterative embryo selection will increase the global effective IQ by like 100 points
 
@lirtosiast That's impossible. avg IQ is always 100 by definition.
 
7:53 PM
@Adám Did you see my message? That is actually the length of the domain and TLD, because it's just gmail.com
I was dumb and forgot the g
 
@ThePlasmaRailgun Yes, I saw.
 
Ok, cool
immediately receives new email
 
I temporarily redefine IQ as what I want it to mean because I found no better way to say what I did
 
That's fair, you can just say it increases the global average IQ by 100 points compared to the current average
 
@lirtosiast it is very rare to see articles and discussions mentioning IQ doing so in a meaningful way. They tend to omit the std deviation. Without it, a specific IQ is completely meaningless.
 
7:56 PM
The Flynn effect is the substantial and long-sustained increase in both fluid and crystallized intelligence test scores that were measured in many parts of the world over the 20th century. When intelligence quotient (IQ) tests are initially standardized using a sample of test-takers, by convention the average of the test results is set to 100 and their standard deviation is set to 15 or 16 IQ points. When IQ tests are revised, they are again standardized using a new sample of test-takers, usually born more recently than the first. Again, the average result is set to 100. However, when the new test...
 
Standard deviation like that?
:0
 
@ThePlasmaRailgun Unlikely. That'd mean that the average person then will score better than all currently living humans. (Assuming std dev of 15 or 16)
 
I don't think that's too unreasonable with genetic engineering and the possibility of eventual brain-computer implants
It wouldn't be near future, but it's entirely possible long-term
 
@ThePlasmaRailgun How does this look?
main(k){for(float x,y,u,v,z;++y<40;puts
(""))for(x=-2;x+=.03,x<1;putchar(k+32))
for(u=v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u
-z+x)v=2*u*v+y/20-1;}/*Python Developer
Finian Blackett             Information
finian.b1ackett@9mail.c0m   Security */
 
LOL
You figured it out
That's my email
I'm pretty happy with it currently
 
8:07 PM
@ThePlasmaRailgun Hey, you didn't need to tell us that! It was just placeholder text from my side.
 
I trust people here enough (hopefully)
I don't think anyone will be malicious
 
@ThePlasmaRailgun Scraper bots may.
 
@Adám maybe make the placeholder more fake-looking...
 
mwähähähä!
just kidding I don't care
 
@EriktheOutgolfer Already done so.
 
8:08 PM
Well, that works
I've found scrapers to be pretty dumb
 
@ThePlasmaRailgun Anyway, I like it better like this. Less noise.
 
I know a guy who just concats the parts of his email in JS and then writes it to his page, and he's never gotten a scraper in like 2000 visitors
I might use that Adam
But I do at least like the fancy F
 
@Adám would it have been shorter if you used a regular expression
 
@Rick What?
 
@Adám By global effective IQ I meant the problem-solving capability of our civilization as a whole, which I guess is even less well defined
 
8:12 PM
How about
 
But I think the average, or at least 99th%, person scoring better than all current humans is probable
 
/*  #######*/main(k){for(float x,y,u,v,z;++y<40;puts
/*  #      */(""))for(x=-2;x+=.03,x<1;putchar(k+32))
/* ####    */for(u=v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u
/* #       */-z+x)v=2*u*v+y/20-1;}/*Something Here*/
/*#   Finian Blackett | Infosec | Python Developer*/
/*--------=[ xxxxxxxxxxxxxxx@xxxxx.com ]=---------*/
 
are regular expressions bad? I never use them
 
I love regexes, because they're horrifying
 
i hate them for that reason
 
8:13 PM
Regexes are a tool useful for some things, especially if you document them well
Just like anything else
 
Bit of self promotion here, but I made a tool for creating regexes that test if a number is divisible by another number based on one of the posts here: github.com/ThePlasmaRailgun/DivisibilityRegexes
 
I think the underlying programming logic that governs them is far more interesting than the expressions themselves
 
It can either create a Deterministic Finite Automaton file for JFLAP, which would then be turned into a multi kilobyte regex, or use PCRE recursion to make that same DFA into a much smaller regex
regexr.com/493a3
There's my regex for divisibility by 9
@Adám What do you think of that one?
 
@ThePlasmaRailgun Working on an alternative with the F
 
So, you guys all probably know the current shortest known Brainfuck hello world, right?
 
8:23 PM
legend has it that we don't...
 
True, which is why I was thinking of attempting a brute-force
 
    /******/ main(k){for(float x,y,u,v,z;++y<
   /**/      40;puts(""))for(x=-2;x+=.03,x<1;
  /*****/    putchar(k+32))for(u=v=0,k=27;z=v
 /**/        *v,--k&&u*u+z<4;u=u*u-z+x)v=2*u*
/**/         v+y/ //finian.b1ackett@9mail.com
             20-1;}//Python Developer InfoSec
 
most programs you brute force are going to run forever
 
Ooh, that does look nice
I think we could restrict it to programs that only run for less than a few seconds, since it would be useless to have a hello world that takes 5 mins
 
@ThePlasmaRailgun it's quite possible that the optimal solution would use the fact that the tape cycles around for data presetting. anyways the domain of BF programs is way too large even if evaluation of one took just one clock cycle
 
That's true
 
That took me a little while to figure out
 
How long is the current shortest? I thought it was like 45 bytes
 
@ThePlasmaRailgun 72 IIRC
 
Oh, okay, nevermind then
That's way too long to bruteforce (yet)
 
8:30 PM
KSab's "Hello, World!" solution
 
Was that supposed to be a link? I can't click on it
 
it's truly beautiful...
 
0
Q: Trieing very hard

dfeuerImplement a trie-based dictionary/finite map ... generically. If your language supports algebraic data types, then it should be easy to use any of them as a key. If not, you should come up with something similarly general that covers a broad category of types/classes/objects/values in your langua...

 
8:39 PM
Holy crap, that answer actually beats Java 8
Wat in tarnation
 
@ThePlasmaRailgun Fancy an F?
      main(k){for(float
     x,y,u,v,z;++y<40;
     puts(""))for(x=-
    2;x+=.03
   ,x<1;putchar(k+
   32))for(u=v=0,
   k=27;z=v*v,--
  k&&u*u+z
  <4;u=u*u
 -z+x)v//  finian.b1ackett@9mail.com
 =2*u*v+y
/20-1;}//  Python Developer, InfoSec
 
Holy crap
That is amazing
 
@ThePlasmaRailgun there's a link in the comments, it doesn't beat Java in general
 
@EriktheOutgolfer Yeah, but that's apparently a patched "exploit" in Java 6
 
welcome to PPCG, where exploits are features! ;)
 
8:42 PM
@ThePlasmaRailgun I still find it very odd that it has "show off" C code, but you advertise yourself as Pythoner
7
 
Yeah, fair
Do you think I should just put "agile developer"
LOL
 
@ThePlasmaRailgun Buzz
 
golfed/terse python one liners a real challenge - good way to prove yourself!
 
True
But their size and formatting requirements make them much less suitable than C
I've done some of the opposite way, extremely obfuscated python one liners with lambdas
 
I was asked if I wanted anything special on my business cards. I came up with an obscure rebus reference to my religion. Maybe instead I should have put ⍎⌽⍕⌈*○≡⍬
 
8:48 PM
Wait, what's that?
An APL program I assume, but what does it do?
 
@ThePlasmaRailgun "evaluate the reverse of the string representation of the ceiling of e to the power of pi times the depth of the empty array"
 
@ThePlasmaRailgun It returns 42 without using any numbers or similar.
 
@Adám beast mode biz card one-liner! you get a lot of understanding from the regular populace on that one? :)
one time i used "305.978.xxxx" as my number instead of the more traditional "305-978-xxxx" and i felt like i was really living on the wild side.
 
8:51 PM
is the empty list. is its depth (1), multiplies by pi (3.14), * does e^ (23.1), is ceiling (24), is stringify ("24"), is reverse ("42"), is evaluate.
@ThomasLackner Due to the somewhat difficult math (e^pi), even experienced APLers may have a hard time with it.
@ThomasLackner There's actually a shorter, but less interesting one: ⍴⍕!⍋⎕D
⎕D is "0123456789", is the grade (indices of elements in ascending order, i.e. 1 2 3 4 5 6 7 8 9 10), ! is factorial (1 2 6 24 120 720 5040 40320 362880 3628800), is stringify ("1 2 6 24 120 720 5040 40320 362880 3628800"), is shape (42)
 
@Adám was just about to ask what ⍕ was doing there. on tryapl its hard to see its a string. today i have learned a little more APL, thanks. (kinda a hackey solution to the problem tho :))
 
@ThomasLackner Yeah, that's why I like the mathy solution better. I guess it could work in other languages too, no? eval(reverse(stringify(ceil(e^pi)))) or some such.
 
@Adám I think I'm gonna use your giant F on my business cards, where I'll have more room
That should fit pretty well
      main(k){for(float
     x,y,u,v,z;++y<40;
     puts(""))for(x=-
    2;x+=.03
   ,x<1;putchar(k+
   32))for(u=v=0,
   k=27;z=v*v,--
  k&&u*u+z
  <4;u=u//  Finian Blackett
 *u-z+x//   f1n14n.blackett@9ma1l.com
 )v=2*u*
v+y/20-
1;}///      Python Developer, InfoSec
Modified to have my name as well as email, it might be too redundant, but what do you think?
 
9:06 PM
@ThePlasmaRailgun Yeah, I think it is to redundant. If you really want, you can capitalise F and B
 
Ok, that's a good idea
 
I thiiiink you can do ⌈E^π⌉@ToString@StringReverse@ToExpression to save a few bytes on the squarebrax
I really want to apply pattern matching to a vector language. Any thoughts on that @Adám? I presume you've spent some time in mathematica
 
@ThomasLackner I have not. That's the longest Mathematica expression I've ever written.
@ThomasLackner There was someone a while back who tried that, but it really wasn't a good fit.
 
@Adám if you can recall any references i'd love to take a look
 
9:15 PM
@ThomasLackner Assuming you want a kind of case statement based on a value fitting some structure, right?
 
@Adám yeah, so that you can create tagged values that represent semantic things like types.. like a tagged vector. ive always hated how, for instance, q/k's compressed files are implemented
 
Like Bubblegum? LOL
Seriously though, Bubblegum is my new favorite golfing language
 
9:42 PM
@Adám What do you think should go here??
/*  #######*/main(k){for(float x,y,u,v,z;++y<40;puts
/*  #      */(""))for(x=-2;x+=.03,x<1;putchar(k+32))
/* ####    */for(u=v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u
/* #       */-z+x)v=2*u*v+y/20-1;}/*WHAT GOES HERE*/
/*#   Finian Blackett | Infosec | Python Developer*/
/*--------=[ xxxxxxxxxxxxxxx@xxxxx.com ]=---------*/
 
@ThomasLackner Found it, but Anthony Cipriano's online presence seems to have ceased. Search "dyalog ac1235"
@ThePlasmaRailgun Mandelbrot Set
 
/*  #######*/main(k){for(float x,y,u,v,z;++y<40;puts
/*  #      */(""))for(x=-2;x+=.03,x<1;putchar(k+32))
/* ####    */for(u=v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u
/* #       */-z+x)v=2*u*v+y/20-1;}/* C Mandelbrot */
/*#  Finian Blackett | Infosec | Python Developer */
/*--------=[ xxxxxxxxxxxxxxx@xxxxx.com ]=---------*/
Do you think that works? I like the spacing of C Mandelbrot more than Mandelbrot Set
 
@ThePlasmaRailgun Hm, even more odd that it basically says. Hey, look at this cool Mandelbrot code in C. Oh, and btw, I'm a Python Dev!
 
IDK
I'm really not applying to plain dev positions
 
ngn
@moonheart08 if you'd like to continue our discussion about rust and its suitability for implementing k/apl, feel free to do it in the k room i've just created
 
9:51 PM
I do mostly information security, but I still code in that
 
@ngn What's the significance of the "tree" name?
 
@Adám I suspect it has to do with the Orchard... :P
 
ngn
@Adám yeah, it's a tree from the ap(p)l(e) orchard replanted elsewhere :)
 
@EriktheOutgolfer Oh, like being one of the trees in the orchard.
@ngn k graft
 
@Adám yes, you just got ninja'd
 
ngn
9:55 PM
@Adám it's also a term for the hierarchical structure of dicts that are used like namespaces in apl, so i thought it would be suitable for a room name
 
@ThePlasmaRailgun How about:
/*  #######*/main(k){for(float x,y,u,v,z;++y<40;puts
/*  #      */(""))for(x=-2;x+=.03,x<1;putchar(k+32))
/* ####    */for(u=v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u
/* #       */-z+x)v=2*u*v+y/20-1;}/* InfoSecurity */
/*#        Finian Blackett Finian.B1ackett@9mail.com
@ThePlasmaRailgun Though I like the /**/ style F better.
 
That'll error out because the last block comment isn't closed
 
how about this? the trailing comments are annoying though
 
Oh my, you guys are giving me decision paralysis...
These are all too good and I don't know which one to pick because I'm grossly overthinking things
 
then there's this
 
10:04 PM
    /*******///InfoSec finian.b1ackett@9mail.com
   /**/  main(k){for(float x,y,u,v,z;++y<40;puts
  /****/ (""))for(x=-2;x+=.03,x<1;putchar(k+32))
 /**/    for(u=v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u
/**/     -z+x)v=2*u*v+y/20-1;}///Finian Blackett
@dzaima Or:
    /******/ main(k){for(float x,y,u,v,z;++y<40;puts(""
   /**/     ))for(x=-2;x+=.03,x<1;putchar(k+32))for(u=
  /****/   v=0,k=27;z=v*v,--k&&u*u+z<4;u=u*u-z+x)v=2*
 /**/     /*   Finian Blackett, Info-Sec   */ u*v+y/
/**/     /*   finian.b1ackett@9mail.com   */ 20-1;}
 
10:36 PM
Do you guys know how to get a string command line argument in C
 
It's in the arguments to main()
 
I'm trying this but it isn't working
@DJMcMayhem I want to get the length of the first and second argument, to use in a Vigenere cipher program
 
@ThePlasmaRailgun Try it online!
1) `main` should be `int` not `void`.
2) main can only take 0 arguments or 2: `int argc, char **argv`, which is a pointer to an array of c_str
 
Why is it printing them in reverse order?
Ah, I figured it out
TIO messes with the arguments
argv[0] is the name of the file
 
No, that's normal. Not a TIO thing
 
10:48 PM
Yeah, I remember now
IDK how I should go about golfing this
There's a place you can test it
 
11:03 PM
@ThePlasmaRailgun 103 bytes
96, this is really fun
@ThePlasmaRailgun Does the program have to handle non-alphabetic inputs? Is case significant?
 
@flawr wow tha'ts really cool
 
00:00 - 19:0019:00 - 00:00

« first day (2959 days earlier)      last day (1889 days later) »