« first day (1997 days earlier)      last day (2838 days later) » 

12:07 AM
@Mego Congratulations on having a builtin for finding the index of a Fibonacci number.
 
-1
Q: Crash a winform using the least amount of code

indexofChallenge Crash a C# Winform using the least amount of code. To Win Propose a one-line statement that crashes a winform using 2 or less words.

 
^ That's it actually running
 
12:45 AM
I've embarked on a quest to find remaining bits and pieces of my old mod pack
I have all the files I lost from my hard drive but since I used photorec to recover them they don't have any filenames
I'm having to use find -exec and strings to sift through them
I did find an MC log file so that's something
Actually that's better than something, if it's recent enough that'll have the names of all the mods right there :P
 
Tough
I think I prefer =>
 
@uoɥʇʎPʎzɐɹC I'll get around to it soon.
 
Ugh, thanks for reminding me that I should work on my controller some more
 
1:17 AM
This road system is excessively complicated.
 
haha
And wow, that's a tall sugarcane. :P
 
hey that's mine
the cane
@VTCAKAVSMoACE @El'endiaStarman DON"T BREAK IT
 
@EᴀsᴛᴇʀʟʏIʀᴋ Yeah that's wayyyyyyy too tall xD
 
1:21 AM
@EᴀsᴛᴇʀʟʏIʀᴋ Of course not, lol
 
it's my bestest friend
 
Come online, I changed some stuff.
 
Like, infrastructural changes.
 
oic
> line
I can't rn... :(
 
1:24 AM
Roads don't go where they used to, the farm is only internally accessible now, etc.
 
tomorrow morning I can though
 
by change do you mean lit some TNT and by some stuff do you mean I did it in your base?
 
@Quill O_O @VTCAKAVSMoACE
 
@Quill We live together lol
 
1:24 AM
^
wait that's creepy
 
( ͡° ͜ʖ ͡°)
 
@VTCAKAVSMoACE I can get on around 7-8am PDT, 3-4pm UTC.
now i gtg, bai!
 
1:38 AM
so languages have int for an integer type. what would the type be called that deals with numbers that may or may not be complex? complex <name>?
(Basically, TI-BASIC's number type)
 
1:53 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ it should be just complex, i think. complex numbers are likely to have decimal places and there's no point of writing complex double every time
 
@dorukayhan well, the word is irrelevant. Sorry, should've made it more clear--I'm looking for one word to encompass (integer real complex)
 
But real numbers are complex
Their imaginary part is 0
 
So the word you're looking for is complex :P
 
I think I'll just have multiple words mean the same thing
@quartata but it's on a technicality
 
1:56 AM
No not really
 
yes
well
how does this look, then :P
complex counter = 0
versus
num counter = 0
int counter = 0
 
If you want one number type then num is fine
 
ok
I'm making a language that compiles to TI-BASIC
 
@CᴏɴᴏʀO'Bʀɪᴇɴ name it "TI-COMPLEX"
 
I was going to
but idk
 
2:00 AM
We already did that joke with PY-ACIDIC which became Pytek
 
ah, anti base is acid
num first = STDIN           ; works!
num second = STDIN "B="
num sum = @first + second
string str = "asdf"

compiles to

Prompt "",A
A->F
Prompt "B=",A
A->G
F+G->H
"asdf"->Str3
I am proud of what I am making
 
not bad
 
thanks
still have a long ways to go
num[] or list?
 
the prompts can be optimized like this:
 
yes of course they can be optimized
 
2:08 AM
`Prompt "",F
Prompt "B=",G
F+G->H
"asdf"->Str3`
 
four spaces before each line
I guess I could optimize
I was going to do that later
 
woah hold on a second
 
are you sure something like Prompt "",A is correct? i tried it on a ti84 plus and got a syntax error
 
really?
it might be vice versa
e.g., A,""
that must be it
should empty STDIN be Prompt A or Prompt A,""?
(Prompt A => A=? <input>)
 
2:13 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Input A only prints a question mark, it could be more useful
 
@dorukayhan Which version are you running?
TI84+ here
 
2:24 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ You're probably going to need to figure out a way to write to RAM if you want more than 9 string variables and 26 number variables
 
@quartata I've got it covered.
Strs 3 through 8 are regularly used
then Str9 contains extra string separated by a delimiter, and I can use inString and sub to extract them
Str1, Str2 are workspace for extraction
 
And procedures will need a stack so you're going to end up fiddling with menory anyways
 
For numbers, I'll just have a list and an index
@quartata procedures? like functions?
 
might as well do it the non hacky way
 
@quartata problem is, it's impossible without ASM
and I don't know TI-ASM
 
2:28 AM
Now would be a good time to learn it :P
 
sighs
I guess you're right
 
Ahh, assembly is not that bad. Plus TI has inline assembly so it won't be hard to experiment with
 
true
but I know little about assembly
and TI's assembly is just 0-F
 
You'll feel right at home, assembly is like the world's first esolang
 
eyy that's true. that makes me feel better :3
 
2:31 AM
It's got registers and moving things and simple instructionsets
 
how much harder can it be than insomnia right?
and I probably need to set up a more sophisticated tokenizer :P
TIL that CW posts retain the user's old username
 
Can you Gist what you have now?
 
@quartata yes
javascript warning, and lots of odd commented out lines:
Now I have to sleep. Will try to learn TI-ASM :x
 
Can I get some advice on my most recent sandbox post?
 
@HelkaHomba What length do you want the music? Also, instrumentation preferences?
 
3:05 AM
@VTCAKAVSMoACE pretty spiffy
@PhiNotPi No more than a minute I'd say, or even 30s. And you don't have to, and no promises I'll use it :I
@VTCAKAVSMoACE Maybe mention right away that you made it up? I kept looking for an oeis link.
 
@HelkaHomba Fixed.
 
3:26 AM
 
@HelkaHomba: An inauspicious start indeed...hahaha. You should probably get some hardened clay and use it to make the parkour less dangerous for you.
 
@El'endiaStarman I know, I will soon :P Thanks for taking the time to watch :D
@PhiNotPi If it helps, I'm using It's Kicking In for the Another Adventure intro and Looking for Something for the Sideways World Challenge. Steve Combs rocks!
Does Youtube have a lot of single black frames in videos lately for anyone else (on chrome)? I've been noticing some in my videos and other's, and I'm sure their not part of the original.,
 
3:54 AM
is your internet shoddy, maybe the upload is having issues?
 
I don't think so
 
@HelkaHomba Sounds like an encoding error on your end.
Are you sure you are following YouTube's instructions when recording the original file?
 
Pretty sure. After reloading the video page I don't see the black frame anymore (in one place it least)
 
Anonymous
Challenge idea (that I will probably post, but I want some quick feedback): Given integer inputs a, b, x, y, z, <y more integers>, output the integer n that satisfies F(n) = z for the binary recurrence relation defined by F(n) = a*F(n-x) + b*F(n-y), where the first y values of F(n) (starting with n = 0) are the <y more integers> portion of the input.
 
And I saw a similar thing in a Computerphile video. Brady surely knows how to upload
 
Anonymous
4:04 AM
In other words, the inverse Fibonacci challenge generalized to any binary recurrence relation
 
Am I going crazy or now is the top left yt logo messed up support.google.com/youtube/answer/1722171?hl=en
 
Yes it is.
 
Anonymous
@HelkaHomba Looks fine t
 
Looking at the CSS and the image size, it can't be fine.
 
Anonymous
Nothing looks cut of
 
Anonymous
4:08 AM
Maybe you're just imagi
 
Shush Mego. He's just joking
 
Anonymous
:P
 
Also, is your keyboard broken?
 
His whole world is cut off so he didn't notice
 
4:09 AM
oh hey docs beta is on SO now for beta participants
 
Anonymous
Up until a few minutes ago, it had a cat laying on it. She got up of her own accord, so clearly there's something wrong with it.
 
Anonymous
No cat would willingly surrender a spot on a functioning keyboard.
 
You think they'd prefer a mouse though
 
Anonymous
She's terrible about mice
 
@Quill The private beta has been online for quite some time and the migration isn't even finished yet.
 
4:11 AM
yes but now it's not its own site, it's a button on SO
 
Anonymous
She had one in her food bowl earlier and she didn't even care: i.imgur.com/4FBAdow.jpg
 
@Quill Because the migration is in progress. But has been available for participants for some time. Now it's migrating to public.
> Sometime in the next week or so we'll be shutting down the docs-beta stack exchange, and migrating content over to Stack Overflow proper.
 
> Documentation is now visible for docs-beta participants on Stack Overflow. It won't be visible to everyone until we're done kicking the tires
 
beta docs = doctors still in med school?
 
Anonymous
@HelkaHomba No, candy stripers. Mortality rates have skyrocketed.
 
4:14 AM
I just read "candy strippers".
 
Anonymous
@mınxomaτ Not Stephen King's best work
 
Anonymous
I'm taking the shotgun approach to my jokes tonight - I'm just making all of them and hoping some work
 
@Mego time to bung your pun hole
 
Anonymous
@HelkaHomba ( ͡° ͜ʖ ͡°)
 
your lenny hole too
 
4:18 AM
@HelkaHomba ಠ_ಠ i thought this was family friendly chatroom
btw anyone who hasn't voted on this yet, mind casting a vote?: strawpoll.me/10773021/r
 
Anonymous
@Downgoat Named properties of classes?
 
@Downgoat Do all 3 have a lone parenthesis?
 
@Mego named properties of classes / functions
@HelkaHomba huh?
 
@Downgoat like math.sin?
Oh, I can't read
 
Anonymous
@Downgoat Example? Because right now I'm leaning towards none of the above
2
 
4:22 AM
@Mego like python's named arguments. python example is: foo(a=1, b=2)
 
Anonymous
Oh
 
@Downgoat do the same as your dictionary syntax since they're very similar things
 
i was planning to use the result of the above poll for my dictionary syntax ._.
 
Anonymous
Yeah definitely voting for the =
 
Anonymous
Honestly I think = would be better than : for Python dicts
 
4:24 AM
what is your second preference after =?
 
Anonymous
But they didn't consult me on the language design. Fools.
 
Anonymous
Order of preference is = : =>
 
ok
 
ditto
 
Anonymous
4:25 AM
The double-arrow reminds me too much of Perl. Also that should be your lambda syntax.
 
(waits for someone to post a Pokemon Go ditto)
 
I was thinking : would match with the declaration because static typed argument is: func foo(String: bar, Number: baz) {}
@Mego lambda syntax is ->
 
@HelkaHomba you can't catch them
 
I just didn't like the superlong: ==>
 
@Downgoat but those are types, not names. Different
 
4:26 AM
@HelkaHomba i know but it would match. like foo(bar: "a", baz: 1)
meaning, it would simply parsing a bit
 
Anonymous
But that's confusing
 
ok fair point, that's what i was doubting
 
Anonymous
What if you wanted a static typed argument with a default?
 
Anonymous
func foo(String: bar: "baz") is ugly
 
func foo(String: bar = "default")
 
Anonymous
4:27 AM
Yeah that's much better
 
oh ok now i see
 
Anonymous
I assume you're also going to make dict values be able to be statically typed?
 
@Downgoat Wait, what? Wouldn't foo(bar: String, baz: Number) make more sense?
 
@Quill Maybe you can't. Dittos are one of those species they tried to keep off Australia so they wouldn't mess with the ecosystem.
 
Because bar is a String, not String is a bar. (That's also how Rust does it)
 
Anonymous
4:28 AM
@Doorknob Eww gross UML
 
@Doorknob idk seems backwards to me
 
Anonymous
The C way is typename varname
 
Anonymous
And clearly C is best /s
 
4:29 AM
Hmm. Maybe I'm just biased because I've been staring at Rust all day. :P
@Downgoat What's the point of making a poll when everyone has already said what they think?
 
Anonymous
@Doorknob Consolidating opinions
 
-1
Q: Easy Calculation in C

programmerChallenge User enters a string in the form "2PLUS3" and we get output "5" Sample Input 2PLUS3MULTIPLY3DIVIDE3 Output 5 Final result must follow the precedence order of operation Winner Shortest code in bytes will win! You must write program only in C

 
@Doorknob This comment made me realize that the Statue of Liberty was not always green
T minus 9 min :O
(@El'en)
 
@HelkaHomba at least we have kangaroos
 
They're dittos in disguise
 
4:47 AM
Does this challenge qualify as malicious?
-6
Q: Crash a winform using the least amount of code

indexofChallenge Crash a C# Winform using the least amount of code. To Win Propose a one-line statement that crashes a winform using 2 or less words.

 
4:59 AM
@DrGreenEggsandIronMan yes
 
@Mego Any idea why your latest answer doesn't work on TIO?
 
Anonymous
@Dennis It doesn't?
 
@DrGreenEggsandIronMan I think so. I'm not really sure if I understand it though.
 
Anonymous
Oh I forgot the hyperlink
 
Ah, I was trying with numbers, not strings...
 
Anonymous
5:05 AM
Yep, the input is required to be a string
 
Anonymous
It also (predictably) times out for larger (> 10000) indices
 
I'm positively surprised by the speed of my Julia answer. It's not exactly the fastest language...
 
 
1 hour later…
6:12 AM
Just released.. image of Earth as seen from New Horizons:
.
 
Can someone ping mirror.archlinuxarm.org please? I'm getting >40% packet loss.
 
 ping mirror.archlinuxarm.org
PING mirror.archlinuxarm.org (50.116.36.110): 56 data bytes
64 bytes from 50.116.36.110: icmp_seq=0 ttl=52 time=79.008 ms
64 bytes from 50.116.36.110: icmp_seq=1 ttl=52 time=105.599 ms
64 bytes from 50.116.36.110: icmp_seq=2 ttl=52 time=83.030 ms
64 bytes from 50.116.36.110: icmp_seq=3 ttl=52 time=73.976 ms
64 bytes from 50.116.36.110: icmp_seq=4 ttl=52 time=121.598 ms
64 bytes from 50.116.36.110: icmp_seq=5 ttl=52 time=80.558 ms
64 bytes from 50.116.36.110: icmp_seq=6 ttl=52 time=75.436 ms
@mınxomaτ ^
 
The location service was borked. Fixed now.
 
6:29 AM
Hi everyone, hope you're all fine!
 
so far :D
 
Nice :D
I hate it when I navigate between two folders with long path, and I type cd .. instead of cd -
 
I hate it
 
0
Q: filter objects from array of objects where object name is alpha

GupteshwariWhat could be the sortest code for filtering the following array. objs = [{'id':1,'name':'Alpha'},{'id':2,'name':'Beta'} {'id':3,'name':'Gamma'},{'id':4,'name':'Eta'} {'id':5,'name':'Alpha'},{'id':6,'name':'Zeta'} {'id':7,'name':'Beta'},{'id':8,'name':'Theta'} {'id':9,'name':'Alpha'},{'id':10,'n...

 
6:47 AM
@Optimizer when people doesn't finish their
 
@Katenkyo sandwiches
 
7:04 AM
@Katenkyo don't*
 
7:15 AM
 
Why does filtered_obj=objs.filter(n=>n.name=='Alpha'); not work in Rhino?
 
@Optimizer Actually, I like my girlfriend doesn't finish her sandwich, because that means an extra part for me :D
@Optimizer oopsie, I tend to forget that people is special in english ^^
And I tend to forget how to speak english too, but that's an other matter.
 
@LeakyNun because rhino is es5 ?
 
Jul 4 at 20:06, by mınxomaτ
PSA: If you are using Mono on Linux, do not update to 4.4.X.X, stick with 4.2. There's a nasty bug.
This is not fixed in the recent Mono 4.6. So stay with 4.2. This will take some time.
 
11.6k rep total :o
@Optimizer I see
 
7:34 AM
@LeakyNun Already 8k8 on PPCG Oo
 
7:58 AM
@Katenkyo do this challenge in lua xd
 
@LeakyNun I don't know, why, but it looks like painful to do in lua, will give it a try
 
@Katenkyo You can base your answer on this
 
@LeakyNun I wil try to come with my own algorythm for the moment ^^
 
alright.
 
8:17 AM
@LeakyNun done in 107 Bytes, I think Dennis' recusrive function is way shorter in lua, but can't really understand how he came with that Oo
 
@Katenkyo that's probably wilson's theorem
 
8:30 AM
Hello
 
@LeakyNun Hum, pretty interesting!
@zʏᴀʙiɴ101 Hi!
 
g'm
i have opened a terminal at my desktop and typed tree > tree.txt, the command keep runing after 5mn ಠ_ಠ
finished
16964 lines ._______________.
 
@TùxCräftîñg Windows is starting to pile up icons on my desktop because there's too much of them ^^
 
Hello
 
@DerpfacePython hi
@TùxCräftîñg why?
@Katenkyo Peux-tu lire mes commentaires?
 
8:40 AM
@LeakyNun Yes, I'm working on them, one by one ^^
 
why why?
 
@TùxCräftîñg why does it stop?
I'm not sure if I understand it correctly
 
the command have finished
after 5 mn
 
tree > tree.txt basically means copy the content of tree to tree.txt?
 
@LeakyNun Je ne parle pas français >>
 
8:44 AM
yep
 
what is tree?
and what's the output?
 
@LeakyNun A command to create directory trees.
 
@zʏᴀʙiɴ101 Je n'ai parlé pas à toi
 
a command to recursively list the content of a folder
 
@TùxCräftîñg I still don't understand what "tree > tree.txt" means
 
8:45 AM
@LeakyNun I meant, I don't speak French >>
 
@zʏᴀʙiɴ101 I meant, I wasn't speaking to you
 
D:.
├───b
└───c
    └───d
example
 
@TùxCräftîñg so your tree.txt was very deep or what?
 
8:46 AM
how did you create that file?
 
@LeakyNun I don't understand what this means.
 
> redirect the stdout to a file
 
@zʏᴀʙiɴ101 use a translator
 
so tree > tree.txt write the output of tree in tree.txt
 
8:47 AM
@TùxCräftîñg ah, I see. which folder did you type the command in?
 
@LeakyNun my desktop
 
@TùxCräftîñg alright
 
@LeakyNun I've corrected the solution you gave me in comment into for c in(...):gmatch"."do print(("+"):rep(c:byte())..".>")end which is 61 Bytes
 
@zʏᴀʙiɴ101 "Can you read my comments?"
 
@Katenkyo "corrected"?
@Fatalize ah t'es ici, bonjour
 
8:51 AM
Hi
 
@LeakyNun for (...):gmatch'.'do will not work because the two forms of for are for x=start,end,delta and for x in <iterator/list>
 
@Katenkyo oh, alright
i was out of my mind
 
added a link to my implementation
 
@TùxCräftîñg make that a code-golf challenge xd
 
8:55 AM
@LeakyNun No problem, this way, gmatch still saves 1 bytes over the gsub way ^^
 
@Katenkyo nice
 
I'm going to try this thing (and probably interpret it in Python). :3
 
user214599
9:18 AM
hello
 
@MatthewRoh hi
 
user214599
hai
 
9:37 AM
Where can I ask for code optimization?
Just curious
And everyone is offline... great
 
@DerpfacePython here (in this chatroom), or codereview.SE
 
@DerpfacePython Pika pikachu o^_^o
Not everyone is offline.
 
-3
Q: what is the royal canadian mint?

user56449The Royal Canadian Mint is a Canadian Crown corporation, and operates under the legislative basis of the Royal Canadian Mint Act. The shares of the Mint are held in trust for Her Majesty in right of Canada

 
@NewMainPosts The spamm is strong with this one
 
Avocad MKII incoming — muddyfish 3 mins ago
 
9:48 AM
 
user214599
I'm back
 
@muddyfish Been searching Pokémon GO too much?
 
I wasn't actually looking for it
and I don't have my google account attached to this computer
 
So that's global top 4
What's Team Sky doing in #3?
 
Idk
apparently a cycling thingy
Team Sky is a British professional cycling team that competes in the UCI World Tour. The team is based at the National Cycling Centre in Manchester, England, with a logistics base in Deinze, Belgium and an operational base in Quarrata, Italy. Wikipedia
 
9:53 AM
> Quartata, Italy
^ What I thought it was at first
 
@NewMainPosts There's no "blatantly off-topic" reason ._.
As in, "This question has nothing to do with programming puzzles or code golf."
And a link to what's on topic of the site in the Help Center.
 
Oh the link is also spam
I didn't notice
just flagged as spam
 

« first day (1997 days earlier)      last day (2838 days later) »