« first day (1396 days earlier)      last day (3448 days later) » 

6:00 PM
>>> "%s"%["a"]
"['a']"
What. Damnit Python.
 
It wraps the args to % in a tuple
 
D:
 
(this is why % is deprecated :P )
 
And in almost every other case, tuples and lists are interchangeable
:/
There goes my 1 char
 
@Sp3000 why are you using a list for a single element?
 
6:02 PM
He has a bigger list, but this was just to illustrate :P
 
@cjfaure probably just proof of concept
 
>>> "%s"%["a","b"]
"['a', 'b']"
 
ninja'd
 
I wanted "%s%s" but that doesn't work
 
D-d-d-double ninja-d :)
 
6:02 PM
:P
 
what's the actual code?
 
Okay, I give up on golfing this. I don't think I'll get anywhere cos Python
"Well%sWhen the kids start singing and the band begins to play\nOh%sSo let the bells ring out for~"%((" I wish it could be~ every day\n",)*2)
Wanted to replace (" I wish it could be~ every day\n",) with a list
to save on that comma
 
dude
" I wish it could be~ every day\n".join("Well|When the kids start singing and the band begins to play\nOh|So let the bells ring out for~".split("|"))
longer, but shorter if you extend it
or even
"Well|When the kids start singing and the band begins to play\nOh|So let the bells ring out for~".replace("|"," I wish it could be~ every day\n")
 
They're both a tad longer :/
 
He uses both of those techniques later on in the program, but this string is just too short I think...
 
6:08 PM
fyi the full thing is here: codegolf.stackexchange.com/a/41875/21487
 
ah, ty
i was measuring by end position on my monitor but i didn't account for word wrapping lol
 
But yeah, if only .replace() wasn't so long... :P
 
If some language had a "replace foo with bar, baz with qux, ..." method, that would be pretty useful for kolmogorov-complexity I think
 
I tried fiddling a bit with import re but I think it isn't worth it... :P
 
@FireFly I think esolangs.org/wiki/// ?
 
6:10 PM
python should really let you give a single dictionary arg to replace
 
Yeah... I guess slashes essentially is that
Heh, yes, a dictionary would be useful
 
i have a golfing tip for python that nobody will ever use ;D
 
@FryAmTheEggman Actually it might...
 
@cjfaure oh?
 
whoops, nvm
 
6:13 PM
Nope nvm
 
i thought set(dict) was the inverse of dict(set)
which it should be, goddammit Python
 
I have a golfing tip which nobody would ever use though :P
Given a list L and two indices a and b, keep only the elements before index a (exclusive) and after index b (inclusive)
 
"don't use embedded php"
 
e.g. L=L[:a]+L[b:], but shorter
 
is this a buildup to a "l[a:b]" pun?
 
6:15 PM
... maybe I should have made it a pun :P
 
(even though the actual code is L[b:a])
i love using 1-letter variables to write things in code
i once challenged myself to write a console calculator and ended up making the code spell out cant spell ignorance without ign
 
Let's call the list U and the two indices g and e. Now you can have your pun. :P
 
U[e:g] means nothing to me
 
I should really have said that g<e, in which case U[e:g] gives an empty list
 
@cjfaure i should have made it say the only thing i can't calculate is the size of your mother
 
6:28 PM
@cjfaure this is a running joke with the Haskell 'lens' library
 
@Sp3000 well, I got it to 671 using import re :p
 
@FireFly i know about as much Haskell as i do people in real life
 
I got 670 :/ ah well, I pretty much give up anyway
Regex golfing to do
 
Well, good luck :P
 
fsr i don't really like golfing anymore
 
6:29 PM
(I should really sleep but meh)
 
it eats time and most of that is spent yelling at the universe for not working
 
Well this is less about golfing and more trying to find patterns :P
 
@cjfaure type parameters are typically single-character in Haskell, much like variables in mathematics... the lens package has a datatype for "a lens from s to t focusing on something from a to b" (the meaning isn't important), which as a type is written out as Lens s t a b
Which spawned a lot of jokes about "stabby lenses" and whatnot :p
 
@FireFly oh so thaaaaaat's what that is
^ my reaction to "python lambdas for dummies"
 
In one of my real-time classes, the processor we were using had an instruction STAB (store accumulator B), someone in the class asked: "Is this related to the linux stab command?" ._.'
 
6:34 PM
@FryAmTheEggman %.%
 
I have no idea how he passed that course. :/
 
...what is the linux 'stab' command? :(
 
@FireFly RTFM xkcd.com/293
 
. o O ( alias stab=shred /dev/sda )
 
oh noooooooooooooo
station brakes failure on one of my big coasters
 
6:50 PM
@FireFly Oh, the stab command has something to do with sockets
Not very common. He had probably just found out about it or something :/
 
@cjfaure Are you talking about Minecraft or real life?
 
@BetaDecay the original rollercoaster tycoon :D
 
Oh, okay. Couldn't find it on my box, so yeah, doesn't seem to be anything standard :p
 
@cjfaure Ohh haha that was my third guess :D
 
and "restraints stuck open" or "station brakes failure" usually results in trains colliding = death
 
6:52 PM
Yaaay fun!
 
luckily there were no trains in the station when it happened, so now they're all in a perpetual loop around the track
they're getting dangerously close to each other, though
 
Haha awesome. Can Heath and Safety shut your park down?
 
not in the original
 
@cjfaure Cut the power.
 
Couldn't you trap people in your park in the original?
 
6:54 PM
@FryAmTheEggman you can, and it's fun :D
@PeterTaylor that won't stop them
and the slow, forgetful mechanic just fixed it, yay
everybody's okay
 
@cjfaure Ah. No second law of thermodynamics?
2
 
Man I barely even remember playing RCT
 
How much does the original RCT cost?
 
@BetaDecay i have no idea
 
What does it even run on?
Do you need a VM or something?
 
6:57 PM
@BetaDecay you don't need a vm
it was written in assembly afaik
Yup. Sawyer wrote RollerCoaster Tycoon in x86 assembly language, which was rare for a game published in the late 1990s...
he got $30 million, which i don't think is enough
just completed dynamite dunes with a company value of $26,000! :DD normally i finish in the negative, lol
 
Ahh it's selling for £6.80 new on Amazon
 
it's a 3d game written in assembly, it should cost millions
 
7:17 PM
Reverbères really doesn't seem like it would be the word for street lights...
 
Further down on the wikipedia page:"A feature length movie adaptation is set to begin production".... ._.'
 
@FryAmTheEggman yeah i also saw that cringe
 
Admittedly, this could actually be a hilarious movie, if stuff happened like it did in the game.
1.5 hours of trapping people in pits full of atms and burger joints :D
 
@FryAmTheEggman Good job it never happened...
The director said the story was inspired by the universal childhood fantasy of staying behind at an amusement park after it closes. "Just the idea of taking a ride like in Disneyland and the rides suddenly come to life, [or] you're able to step off and stay behind when everybody else had gone," Zwart explained.
 
aw man
people puking everywhere and a giant hand destroying the road out of the market square would have been so awesome
 
7:22 PM
I think we should start a kickstarter to reboot the plan
 
Zwart's movie idea makes me depressed and hollow inside
i don't want another Dr Seuss film D:
 
Ugh... I'd prefer an absolutely stupid film like Airplane!
 
ridiculous movies are the best kind if they're done right
 
"That's when I developed a drinking problem"
That was my favourite line in airplane :)
 
My favorite line in RCT is "Guests are commenting that your park entrance fee is very cheap"
joke's on you, guests raises fee by $5
 
7:31 PM
@cjfaure I think you missed a couple 0s ;)
 
@FryAmTheEggman the whole park cost me $16k to build
RCT 1.0 economy :'3
 
7:51 PM
next time i'm at a theme park, i'm going on the slowest rollercoaster they have :D
i'm scared to death of them lol
...station brakes failure. there was a train stopped at the station
train full of passengers killed
 
I can't abide heights ;_;
 
@FryAmTheEggman me neither :P
i demolished the coaster that crashed and got a nice $6k :D
 
8:32 PM
Does this look to anyone else like a copy-paste from some other source?
The multiple references to "the image above" when there is no such image make me suspicious
But I haven't found any Google hit for the exact phrase "Get familiar with the Ulam spiral"
 
Well, it could be from some other golf contest, since it requires a specific function name?
 
@PeterTaylor Maybe from a homework book?
Actually no, he needs to just embed the image
 
8:56 PM
@PeterTaylor I think they might just refer to the image in the linked article
 
so i crashed a car with 16 people in it and killed them all, and i got the Safest Park in the Country award? Am I up against Action Park?
4
 
^ Quality assembly coding :D
 
@cjfaure The other parks use nuclear reactors in their cars
Probably
 
@BetaDecay so then if it's a water coaster, 911 is gonna go...nuclear fission!
ba dum tss
@FryAmTheEggman i just used that code to build a replacement rollercoaster for it:
 
"Our roller-coasters are made out of only the most pitiable of orphan's bones, and are rigged to release agent orange if it detects you are resisting the mandatory heroin injections into your eyes."
3
 
9:05 PM
"i'd ride that" "that's what she said"
 
@cjfaure 3D? I thought RCT was just isometric?
But it's a terribly impressive feat regardless
 
@FireFly it is just isometric, but that's pretty much as 3D as it got in those years :P
 
Oh, sure, but it's still "2D" pretty much
 
meh, i guess
 
Though looking at that screenshot of yours, I wonder how they did the actual rollercoaster parts.. doesn't look like tiles
 
9:14 PM
they actually are tiles, it's just displaced vertically and the turns are actually 3 or 4 times the size of a normal tile
in actuality, actually.
hold on, i actually need to actuate a new rollercoaster.
 
↑ actually punny
 
ah yes, the Knuth up arrow, preferred weapon of the Smalltalkers
 
It's actually just a plain, regular unicode arrow
 
"plain, regular unicode"
from today's extensive gaming experience, i finally figured out:
the excitement of a game is almost entirely fueled by the ability to start over.
 
RTC isn't an accurate representation of real life?
 
9:26 PM
@BetaDecay not the original one
you can't right click on a path to make it go away irl
 
@cjfaure If only...
 
or maybe you can, but you have one of those retarded looking mice that only has one button
i mean, you can left click on something mentally, but not right click
 
 
2 hours later…
11:18 PM
watching the roller coaster i was on on youtube, it's just as scary as I remember :S youtube.com/watch?v=IUimnviS--0
 
11:36 PM
I was left alone for a day, and one of our files lost 1300 lines.
user image
2
 
11:51 PM
dat efficient!
 

« first day (1396 days earlier)      last day (3448 days later) »