« first day (1850 days earlier)      last day (3290 days later) » 

00:00
If people are still using Rust in 262k years, I think something will have gone terribly wrong.
OS X system log.
TFW your system shrugs at you
@Adnan The "pop ..." thing by the commands in the docs indicates the arity, correct?
@Doorknob why do you need dates bigger than 262,000 years from the epoch? are you trying to make a PPCG graduation countdown?
19
help I keep mistyping "metadata" as "meatdata"
00:10
mmm meatdata
> Cat Pictures ##
...not sure this video will be worth the time. :P
It is. Afterwards you know Swedish.
Not sure that'll help me. I'm working on learning German... :P
Do we get Swedish Fish for watching?
Is that the gummy fish-shaped candy?
00:13
Ye.
Anonymous
@AlexA. Bird soup
Let me take a moment to appreciate how mind-blowingly awesome Rust's lifetime/borrowing system is
So, I kept getting "this string does not live long enough" errors
I couldn't make them go away
@El'endiaStarman No.
Your string lived more than 262,000 years?
Then I realized that I was trying to access slices of that string, which occupy the same location in memory, after the string went out of scope
00:14
@Mego What a coincidence! I'm having doorknob soup.
In C and friends, this would have been a segfault
And it would have taken so much longer to debug
@quartata ಠ_ಠ
Kinda metallic
Okay with a little hot sauce
Anonymous
In C and friends, if the string had gone out of scope, it would've been plainly obvious why accessing the string wouldn't work. If you need slices, you have to make new string variables and assign the pieces.
you should be flattered I'm a picky eater
(not really)
@Doorknob Strings have "lifetimes"? o_O
00:16
Oh, and did I mention these slices were hidden away inside a Vec, which was in turn inside a struct, being stored longer than it should have inside a HashMap with a longer lifetime ('a) than the original string
It's kind of amazing that Rust was able to correct me on this
Wtf is a lifetime
What would have happened with Python?
Anonymous
@AlexA. In non-butterfly-unicorn speak it's called a scope
Oh
...why wouldn't they call it a scope
@AlexA. Yes, string slices that are stored on the stack and not the heap have their own lifetimes
@Mego no it's not a scope
well, it's kinda a scope, but that's the simplified definition
Anonymous
00:17
Because Rust is DiFfErEnT and uniQue and special~
Could be nice in some cases, but annoying as hell when you know the string will be alive but the compiler can't tell.
@El'endiaStarman in Python, strings are dynamically allocated, so this doesn't apply
Rust has a dynamically allocated String type
but &str (string slices) are not
Python is garbage collected.
00:19
yeah
Anonymous
Reference counting and garbage collection and GIL yay!
Rust doesn't have a GC, but it has all the benefits of one without the overhead ^.^
And it's come to collect Rust.
@Doorknob You're nearly 11 years my junior and yet you know way more about computer science stuff than I do.
._.
Anonymous
@AlexA. What did you major in, in college? (Or did you not go to college?)
00:20
My grandma is over 80 and I know even more CS stuffs than my grandma whoooaaa
Anonymous
I feel like I've asked that a million times, but I keep forgetting
Stats I think
Anonymous
Stats would make sense
@Mego I got a bachelor's in math with a minor in stats. Doing a master's in applied stats now
Anonymous
Ahh
00:20
@AlexA. You know waaay more about stats-related stuff that I probably ever will. And I know more about living in Houston than you. Different skills, different experiences :P
Having never been to Houston, I can tell you that I know far more than any person alive about life in Houston.
Anonymous
I know a lot more about software engineering than computer science, despite my degree being in the latter
^^ what is this? o_o
bad code
00:21
Fork bomb.
Nasty code.
no, just stack overflow
@CᴏɴᴏʀO'Bʀɪᴇɴ causes a stackoverflow
It's on the PPCG 404 page
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ Naive corecursion example and a stack overflow waiting to happen
@Downgoat That;s where I found it.
00:21
Hence why it is the 404 for SO
no it's not
Fork bombs are for shell scripts, right?
the SO 404 is like a Befunge/C/other stuff quine
iirc
@El'endiaStarman you can have a fork bomb in any language
it's where the program runs multiple copies of itself without a check/condition
6
A: Graduation Design Ideas

geokavelStack Overflow 404 message This comment got some up votes, so let me post it as an answer. Maybe someone will want to incorporate this into their UserScript! If you get a 404 on Stack Overflow, you see a polyglot. We should have something similar, but instead we show a random code from Shortest...

@feersum :/ Not what I meant.
00:22
@El'endiaStarman Fork bombs can be done in C, but you have to use fork
so more processes keep getting spawned without any way to stop them
I fork bombed myself in Windows a while back.
Anonymous
include<sys/fork.h>\nmain(){while(1)fork();}
00:23
^^^ SO 404.
With CreateProcess.
@Doorknob oh right it is a BF/Befunge/C polyglot
There's BF code in there...
the standard Bash fork bomb is f() { f | f & }; f
00:23
A polyglot? Huh!
lots of times you'll see it with : instead of f (and less whitespace) for extra confusion points :P
Anonymous
@Doorknob It also looks like a funny emoticon that way: :(){ :|:& };:
^ not valid Bash
My dad used to always make a mustache emoticon :{)
00:26
@Dennis yeah, that's what I thought
503
Q: Why is whitespace sometimes needed around metacharacters?

spydonA few months ago I tattooed a fork bomb on my arm, and I skipped the whitespaces, because I think it looks nicer without them. But to my dismay, sometimes (not always) when I run it in a shell it doesn't start a fork bomb, but it just gives a syntax error. bash: syntax error near unexpected tok...

Anonymous
helpmyspacebarisbroken
@Mego Here you go: " "
Anonymous
thxm8
From /r/programmerhumor: vanilla-js.com
00:27
.....I literally just copy-pasted a space. What is wrong with me.
Can I also take a moment to mention how amazing vim's mark feature is? I'm jumping between my struct and the stuff I'm using it in seamlessly without any thought required: just 's for struct and 'c for code
@El'endiaStarman :D
Of course, using parens instead of curly brackets is forkier and golfier.
Anonymous
$jq('#test-table');
Anonymous
What is this
jQuery?
00:28
jQuery
ninja'd
Anonymous
In jQuery it's just $('#test-table');
with less confidence :P
@Mego you can name the jQuery variable whatever you want
@Dennis New challenge type: code fork.
Anonymous
00:29
@Doorknob But why
Conflicts with Prototype, perhaps.
if you have something else on the page that's already using $
Anonymous
But why would you use anything but jQuery?
because contrary to popular belief, it does not do all things
In some cases, it's because you let someone else add code... :P
Anonymous
00:30
@El'endiaStarman Well that's an incredibly poor choice
I was actually taught Prototype first in college because the teachers figured it would be simpler/easier to teach.
Anonymous
@Doorknob Heresy!
Naturally, I forgot everything, and went with jQuery the second time I got into web development. :P
@Doorknob In a bizarre plot twist, it turns out that jQuery cannot query.
Anonymous
I was never taught JS in college. Just PHP, and only the bare minimum for interacting with MySQL
Anonymous
00:31
It was in a DBs class so JS/PHP were very much not the focus
who's using jQuery?ಠ_ಠ
Anonymous
Everybody
ಠ_ಠ
I'll eat dinner now.
Anonymous
00:32
Suck it, blues
Blues? He's green.
With envy...
WHAT THE HELL
ITS 1:40 AM
hahaha
@El'endiaStarman WHAT DID YOU DO WITH THE TIME?!
you WITCH!
I'm blaming you!
El'endia is a reasonable scapegoat for matters of the intangible.
00:41
19 hours ago, by Doorknob
@El'endiaStarman Help it's past midnight and you've sucked me into a neverending pit of linguistics :D
El'endia seems to have a thing with that
@El'endiaStarman Is there any progress on the mysterious 36 and 94?
Or do they remain elusive?
oh yeah that thing
@Doorknob Why is it that when I google image search 'doorknob' most of them have keyholes in them?
like this:
It's the most common genus
why does it have a keyhole?
it's a perfectly ordinary doorknob, and then suddenly BAM keyhole
Anonymous
00:46
@orlp That's terrifying
I have a keyhole
@orlp I've been thinking about Pytek in the meantime.
0
A: Sandbox for Proposed Challenges

MoopBattle Snake King-of-the-hill proposal. Introduction The classic snake game where bots control the snakes. Can you create a bot that out lives the rest? Snakes will enter the arena and hope to survive. Eat pellets and grow in length. Can you force your competition to crash and die while your ...

@El'endiaStarman Most of my brain has been sacrificed to Pytek
00:47
Also is it just me or have there not been a lot of questions today?
Anonymous
Most doors with non-deadbolt locks have the locks in the doorknobs (which simply prevent the doorknob from turning while locked)
@quartata It's Sunday
@AlexA. True
We get more traffic on weekdays when people are bored at work
@AlexA. why does that matter?
00:48
Aditsu's Law
Anonymous
We need more, so that we aren't at risk of losing the 10
do people post more challenges if they get less sun?
@Mego We're still at 10.6 don't fret
26 secs ago, by Alex A.
We get more traffic on weekdays when people are bored at work
@orlp Yes we're very light sensitive
00:48
Oh, there was the GoL Tetris thing too. Spent a little time on that.
And plus, there's the time spent on learning German... :P
I solved the 2nd-highest voted unanswered challenge :p
@aditsu Which one?
"Fix the Meeesesessessesseesseessedessed upp teeexexextext" :)
Ah yes.
@aditsu Link pls I want to shower you with upvotes
00:54
I was somewhat surprised it didn't have any answers; it seemed pretty simple.
Anonymous
That's one that I look at frequently but never decided to put in the effort to solving :P
30
Q: Fix the Meeesesessessesseesseessedessed upp teeexexextext

Christian IrwanThis is inspired by Monday Mini-Golf #6: Meeesesessess upp teeexexextext Background ETHproductions have difficulty entering text on his usual webpage. Whenever he use digits or letters, the text will be meeesesessessesseesseessedessed up. Your task is to help him type so the normal behavior is ...

@AlexA. +1 is a shower?
@AlexA. hahaha, ok, oh there ^
@Doorknob In California where there's a water shortage, yes.
00:54
sheesh that is the longest CJam code I've seen
it has room for some more golfing, but it's already under 256 :)
@Doorknob +1 per sock is...
What do you guys recommend to do to learn about a new programming language?
Anonymous
If(Cond, IfTrue, IfFalse)
Usually I solve some easy problems in an online judge, but that won't work for Mathematica.
Anonymous
00:57
@feersum Go through Rosetta Code and implement some of the simpler stuff
Maybe I'll keep it a mystery
( ^ ͜ʖ^)
@AlexA. this is next-level lenny abuse
01:00
hahahaah
@Doorknob I do what I can to further the cause
Anonymous
Shouldn't this discussion go in the Pytek room? :P
@feersum solve some codegolf challenges (without the golfing aspect)
@Mego Sorry
@Mego I was thinking that too. :P
@El'endiaStarman do that super cool move message thing
01:01
will do
Anonymous
@quartata Oh it's not bothering me any, I just thought it might be better if all of the chat/planning was centrally located in there :P
@Mego Yeah.
I actually thought for a second this was the Pytek room until I noticed aditsu
Little... unaware... today
@aditsu That could work
@aditsu hm, that's actually a neat idea
01:04
solve code golf challenges with good code. People could even make Github repositories with those
~~~~~~
@quartata I should join that room to confuse you :p
Just an APL keyboard for Mac users.
01:06
Just an APL keyboard for Alex
golfier synonym :P
@ӍѲꝆΛҐӍΛПҒЦꝆ ( ^ ͜ʖ^) looks neat
@Doorknob ( ಠ_ʖಠ)
chatgoat is having an identity crisis...
Marky Goatov
4

Chatgoat needs friends..

1 min ago, 1 second total – 2 messages, 2 users, 0 stars

Bookmarked 26 secs ago by Downgoat

@AlexA. Anyone tested it? I think I screwed up my Mac so that trying to add new keyboard layouts crashes SysPref. (?)
01:16
I haven't test it
woohoo, 2 badges :p
Chatgoat V Marky going down right now.
I guess I learned something today
{"error_id":502,"error_message":"too many requests from this IP, more requests available in 71788 seconds","error_name":"throttle_violation"}
71788 seconds is about 20 hours
@CᴏɴᴏʀO'Bʀɪᴇɴ can you link? I'm on mobile
01:26
@LegionMammal978 what service is that?
also, just use a different ip :p
@aditsu Looks like the error object from the SE API.
@LegionMammal978 You'll have to wait until UTC midnight for your API quota to reset. You only get 300 requests per day without a key.
ATTENTION ALL PPCG HOBOS:
func:isPrime(n) {
  return (1..n~\product,n->\mod) == n - 1
}
Does this code look pretty
No this code doesn't make you look fat at all.
@quartata -1 too much whitespace.
@ӍѲꝆΛҐӍΛПҒЦꝆ <n:1..n~\product,n->\mod==n-1>
There.
01:40
MUSTARD AND CHEESE
YEAAA
Actually <n:\product(1..n)%n==n-1> is shorter
But the point of the focus group was to find out if people like chains
proof that Chatgoat's brain is incredibly slow
@Downgoat where do downgoats and chatgoats come from?
how is babby formed?
( ͡° ͜ʖ ͡°)
01:43
@quartata No
@AlexA. yes
@quartata Ah much better.
@orlp ok
who wants to be my friend?
<3
@orlp me
<#
01:45
@orlp You liked chains?
You... you like this code?
FINALLY
@AlexA. capital 3
@Doorknob Yes
@quartata No
@quartata what are chains
@orlp the code thingy
Anonymous
It's the thing tacit languages use
01:47
tacit?
Adjective: tacit ‎(comparative more tacit, superlative most tacit)
  1. Expressed in silence; implied, but not made explicit; silent.
  2. tacit consent : consent by silence, or by not raising an objection
  3. 1983, Stanley Rosen, Plato’s Sophist: The Drama of Original & Image, page 62:
  4. He does this by way of a tacit reference to Homer.
  5. 2004, Developing Democracy in Europe: An Analytical Summary (Lawrence Pratchett, ‎Vivien Lowndes; ISBN 9287155798):
(2 more not shown…)
Point-free.
Anonymous
Tacit programming, also called point-free style, is a programming paradigm in which function definitions do not identify the arguments (or "points") on which they operate. Instead the definitions merely compose other functions, among which are combinators that manipulate the arguments. Tacit programming is of theoretical interest, because the strict use of composition results in programs that are well adapted for equational reasoning. It is also the natural style of certain programming languages, including APL and its derivatives, and concatenative languages such as Forth. Despite this base, the...
It's what APL does.
Pytek is going to have a way of doing tacit programming called chains.
@quartata Not all of APL is point-free. Trains and stuff were added after J became a thing. J is all point-free.
If I'm not mistaken, Jelly is also entirely tacit.
I still don't really understand the difference
how would you handle functions with arity 2?
01:57
Tacit programming confuses the hell out of me, but the example I can think of is a dyadic function in APL. The function is used as an infix operator with the arguments on either side.
This technically is concatenative not tacit
Idk what that means
Anonymous
@orlp Right and left args
@Mego that doesn't work
Anonymous
01:59
So like + would be an arity 2 function (dyadic), so you would use it like 3 + 4
print 3 + 4
is that (print 3) + 4

« first day (1850 days earlier)      last day (3290 days later) »