« first day (2320 days earlier)      last day (2521 days later) » 

1:00 PM
bakes cookies
 
1:13 PM
@ConorO'Brien Hey, I've documented the functions that I've added so far. I haven't written about the control flow though
 
@BetaDecay given up on Fourier?
oh btw @WheatWizard, out of curiosity, does Wise have any I/O functions?
 
1:29 PM
@Mayube Yeah, I messed it all up when I added string input... :P
 
@Mayube no all io is implicit
 
@WheatWizard oh, the docs don't mention implicit input
 
Oh yeah
I should add that some time
they just take input from the command line
 
@isaacg Pulled on TIO now, so trailing newlines should work as expected. Thanks for the heads-up.
 
@WheatWizard ah yeah, I see now
@WheatWizard so this totally works, right? codegolf.stackexchange.com/a/124889/44998
 
1:48 PM
Yes
 
@totallyhuman think your userscript might be a little borked there buddy
 
i don't think it's a userscript
 
2:13 PM
doesn't appear for me
 
I was getting that too, on my phone
 
reload and it gets fixed
i think it's because of the strained internet connection i had for a few minutes
 
it's a bug, I've seen it before
it's on SE's end
 
Any ideas for compact ascii art to show character combos?
^@ ┬ '/0:<=>?AEIOU\aeiotu÷←↑→↓∆∇∘∧∨≠⋄○␠
   └ ⍞⍁°⍠⍃⌸⍄⍰ÂÊÎÔÛ⍂âêîô␉û⌹⍇⍐⍈⍗⍍⍔⌻⍓⍌⍯⌺⌼^
¨@ ┬ .8>AEIOU_aceimoprsu|~∇∘⊤○␠
   └ ∵∞⍩ÄËÏÖÜ…ä©ëïµö¶®§ü¦⍨⍢⍤⍡⍥¨
~@ ┬ !#0123=@ADELNYacdn|~¨←↑→↓∇∊∧∨≠␠
   └ ¼¾⍬¹²³≈½ÃЀ£Ñ¥ã¢ðñ⍭≈⍨⍅⍏⍆⍖⍫∉⍲⍱≉~
_@ ┬ %'+,-/;<=>?\_abcdefghijklmnopqrstuvwxyz∆∊∘∙≠⊂⊃⊤⊥⋄⍳⍵⍺○␠
   └ ‰⍘±⍪–⌿⍮≤≡≥‽⍀—ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ⍙⍷⍛⊙≢⊆⊇⍑⍊⍚⍸⍹⍶⍜_
´@ ┬ <ACEIOUYaceiopsu␠
   └ «ÁÇÉÍÓÚÝáçéíóþßú´
`@ ┬ >AEIOUaeiou~␠
   └ »ÀÈÌÒÙàèìòù¬`
I'm not sure the line drawings convey the meaning so well
I've also considered:
^@ ┬← '/0:<=>?AEIOU\aeiotu÷←↑→↓∆∇∘∧∨≠⋄○␠
   └→ ⍞⍁°⍠⍃⌸⍄⍰ÂÊÎÔÛ⍂âêîô␉û⌹⍇⍐⍈⍗⍍⍔⌻⍓⍌⍯⌺⌼^
¨@ ┬← .8>AEIOU_aceimoprsu|~∇∘⊤○␠
   └→ ∵∞⍩ÄËÏÖÜ…ä©ëïµö¶®§ü¦⍨⍢⍤⍡⍥¨
~@ ┬← !#0123=@ADELNYacdn|~¨←↑→↓∇∊∧∨≠␠
   └→ ¼¾⍬¹²³≈½ÃЀ£Ñ¥ã¢ðñ⍭≈⍨⍅⍏⍆⍖⍫∉⍲⍱≉~
_@ ┬← %'+,-/;<=>?\_abcdefghijklmnopqrstuvwxyz∆∊∘∙≠⊂⊃⊤⊥⋄⍳⍵⍺○␠
   └→ ‰⍘±⍪–⌿⍮≤≡≥‽⍀—ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ⍙⍷⍛⊙≢⊆⊇⍑⍊⍚⍸⍹⍶⍜_
´@ ┬← <ACEIOUYaceiopsu␠
   └→ «ÁÇÉÍÓÚÝáçéíóþßú´
`@ ┬← >AEIOUaeiou~␠
   └→ »ÀÈÌÒÙàèìòù¬`
 
2:35 PM
It's difficult to read when the characters don't line up.
(probably just my font?)
 
@PhiNotPi Yeah. Paste it into TIO for proper font.
But that isn't the issue here, I'm thinking of the little "charts" / line drawings.
Now I'm considering:
┌ ~@
└──>
or even
┌^@
└──
Maybe I'll just go with
│^@│'/0:<=>?AEIOU\aeiotu÷←↑→↓∆∇∘∧∨≠⋄○␠
│  │⍞⍁°⍠⍃⌸⍄⍰ÂÊÎÔÛ⍂âêîô␉û⌹⍇⍐⍈⍗⍍⍔⌻⍓⍌⍯⌺⌼^
│¨@│.8>AEIOU_aceimoprsu|~∇∘⊤○␠
│  │∵∞⍩ÄËÏÖÜ…ä©ëïµö¶®§ü¦⍨⍢⍤⍡⍥¨
 
3:05 PM
So, given that at this point it's generally agreed that the shortest answer to a code-golf challenge should not be accepted, due to it being a separate challenge for each language, is there anything wrong with OP "accepting" the answer they deem to be the most interesting/creative?
 
@Mayube Accepting pins an answer to the top, this is really annoying when you want to sort by any metric. I would recommend against accepting in any situation because it doesn't add anything. If you want to reward an answer you think is creative just leave a bounty.
 
> null is typing.
 
I'm looking at this guy's profile and the answer page really makes me laugh. Regular new user then BAM! +1530 rep (not really)
 
@EriktheOutgolfer is someone messing up with the wss?
 
do we have anybody called "null" in here?
 
3:18 PM
wait
i'm null?
is it fluctuating rn?
 
D: i'm null
 
am I Erik or null?
 
yours shows up normally
 
oh...well I think caird is also null?
not sure why this happens
 
3:20 PM
yay im null!
whats null?
 
nil in ruby, None in python
don't quote me on the first one though
 
> nil in ruby, None in python
 
Username defaults to "undefined" so I'm not sure why that's happening
 
@totallyhuman 6/6/2017 16:22
 
yes you're null too
@ATaco client-side issues?
 
3:23 PM
May I ask why everyone is "null"? All I see is a post a few minutes ago by Erik saying
> null is typing
 
ah, seems like it must be an SE issue
 
Am I null?
 
now we're just going to get everyone asking if they're null
Am I null?
 
look, it's @VoteToReopen
 
Who is that?
 
3:25 PM
idk
 
I'll find out the issue tommorow
 
@MDXF new user
 
Hm
 
> member for 2 days
they have the avatar too
 
Only on PPCG
Must have seen @VoteToClose on the site
 
3:27 PM
they can't chat though
no rep
 
they must be so happy at the conversation they caused
im tempted to upvote one of their answers just so that they can join in
nvm haven't posted yet
 
how do people who work in Jelly, CJam, SOGL etc both remember what all the operators do, and how to type them?
 
@Mayube Does your question apply to APL as well?
 
@Mayube dennis is a god, Jonathan Allan is trying to unsear them from his brain and Erik is sitting in a corner being surrounded by random non-ascii characters. Don't know about anyone else
 
CJam just uses ASCII so it's easy to type. As for remembering, it's just using it a lot
 
3:30 PM
having docs open helps too
@totallyhuman hey you're not null now
 
i thought you guys just did ctrl+f on the page
@EriktheOutgolfer i reloaded, must be 'cause of that
 
@BusinessCat oh I didn't realise CJam was all ASCII
 
@Mayube Jelly actually has fairly mnemonic symbols, and I think they are all typable with the US Intl. keyboard.
 
using altcodes
 
I got an A on a Spanish test for the first time this year ^-^
 
3:32 PM
:D
 
ugh, spanish. German all the way!
(jk :D)
 
And yeah, CJam has pretty intuitive symbols as well
 
@cairdcoinheringaahing Not an option at my school.
We only have Spanish
If I could've I'd have taken Swedish, but I don't think that's offered anywhere at all.
 
we have both. spanish seems so hard compared to german
 
@Phoenix Swedish‽ Why?
 
3:35 PM
I want to move there some day.
 
Okx
@BusinessCat Guess what Neim outputs with the program one
 
@Adám that symbol really annoys me for some reason...
 
@cairdcoinheringaahing German has vocabulary more similar to English, so it's easier to learn, but Spanish has simpler grammar.
 
@cairdcoinheringaahing I'm sorry, I'll try not to use rhetorical questions when you're around.
 
@cairdcoinheringaahing For me it's because my font shows it with too much space between it and the h
 
3:37 PM
@Adám not my point! its fine. Just ignore me
 
@Phoenix what browser/OS?
 
Chrome/Ubuntu
I had to change the default font, I don't remember to what, because it couldn't display ಠ_ಠ.
 
Chrome/windows is normal
we're about to lose @Dada!
 
@cairdcoinheringaahing So why does it annoy you?
 
@Adám it just looks weird.
 
3:40 PM
@Mego Then explain this answer I poured three days of my life into :P
 
oh you got 17 already, nice
haha, 1 is nice
 
Thanks, it was darryleo's idea IIRC
 
@ETHproductions thats too long
 
@Downgoat Userscript bork: i.imgur.com/WvjlfMa.png (Bottom right corner)
 
You should let Shaggy do it instead :D
@Phoenix left? I see right?
 
3:43 PM
@KritixiLithos Theoretically, 14 should be possible in APL.
 
@Phoenix s/left/right/?
 
You saw nothing
 
@cairdcoinheringaahing Well GOTO0 suggested a 157-byte version but I'm too lazy to switch
It involves 4: !NaN- -!NaN- -!NaN- -!NaN, 5: 5, 12: 4444&44, 17: 'lengthlengthlengt'.length
 
This is obviously the best answer to that question though codegolf.stackexchange.com/a/124878/44998
 
Oh I thought you were going to link to the BF one
@Mayube -1, code is totally readable :P
 
3:47 PM
@ETHproductions well, I spent 4 days on a collaborative answer that only got 5 upvotes, one of which was mine :/
I can't understand how the BF one got so many upvotes
 
May 24 at 3:53, by Mego
Upvotes are inversely proportional to effort
That's how :P
 
Just remembered that the question says snippets are allowed
 
Is outputting by character allowed in an "output a number" challenge?
 
which lowers Unreadable's from 150 bytes to 4 bytes
 
4:01 PM
@totallyhuman Not another one
 
Oh hey @totallyhuman how goes your foray into Braingolf? I noticed you've posted a couple of answers here and there
 
We've lost @VoteToReopen
 
There can be only one
 
@cairdcoinheringaahing Yes
 
@VoteToClose One vote to rule them all...
 
4:11 PM
@cairdcoinheringaahing One vote to close them all
FTFY
 
@Mayube and in the code-golf, win them
I have a feeling that @Potato44 is @VoteToReopen but with their name changed
 
@Mayube oh yeah it's been pretty cool
i'm currently working on fibonacci
 
there's one on esolangs :P
 
@Mayube you spoilt it for him (or her)
 
yeah but it's not there on ppcg :3
i'll do it on my own
 
4:15 PM
hmm, looks like the one on the wiki doesn't work anymore anyway :P
@totallyhuman lemme know if you get it under 28 bytes
 
0
A: What do you get when you multiply 6 by 9? (42)

caird coinheringaahingAdd++, 46 bytes Due to a few bugs, this is non-competing but enjoy! D,e,@@,9=& _ +? $e,x,? I,+42,O,-41 -1 I,G,*G,O I had remembered about the O command, which outputs x (the accumulator) as a number and shaves 2 bytes off. Unfortunately, it isn't as good as the old version. Old version, 48 ...

is it too long?
the explanation, i mean
 
2
Q: Is this string a square?

PhoenixA string is considered to be square if the following conditions are met: Each line has the same number of characters The number of characters on each line is equal to the number of lines. Your task is to write a program or function which determines wether or not a given input string is a squa...

 
@NewMainPosts idk is it
actually... seems like a nice little challeng answers
 
@totallyhuman I feel like I went overboard on the explanation
Why was I notified from the @NewMainPosts?
 
bad edit sorry
 
4:28 PM
@cairdcoinheringaahing hum?
 
He's back!!!
@Dada I like making users who are about to get kicked post in TNB
 
huhu. I'm always around, just not actively participating
 
13 hours ago, by ATaco
CMC: Given a number, determine if it's a Highly Composite Number. That is, return truthy if there is no number less than it that has an equal or greater amount of divisors.
@ATaco Jelly, 6 bytes: ÆdÐṀḢ=
I don't think there are any submissions to the CMC I just linked
 
@totallyhuman also the output has a nice pattern ^^
 
4:34 PM
why did you ping yourself? @totallyhuman
 
that message was concerning the other one so...
 
whaaaaaaaaa
 
(Edited link to better demonstrate)
 
Would watch -n 5 ls /storage keep /storage awake?
 
python 1 was weird
 
4:49 PM
s/1 wa/i/
 
@Phoenix Ruby lets you do the same
 
Actually, scratch that. You can't assign to nil
 
SyntaxError: (irb):1: Can't assign to nil
 
You can overwrite NilClass. But then again, why would you ever reference NilClass?
 
4:54 PM
Question: is there an operator that does A ∩ B but if B = Ø, returns A?
 
rb(main):001:0> class NilClass
irb(main):002:1> def wat
irb(main):003:2> return "wat"
irb(main):004:2> end
irb(main):005:1> end
=> :wat
irb(main):006:0> (a=a).wat
=> "wat"
 
 ~  irb
irb(main):001:0> class NilClass
irb(main):002:1> end
=> nil
irb(main):003:0> def f
irb(main):004:1> end
=> :f
irb(main):005:0> f
=> nil
irb(main):006:0>
Aww
 
> ~ 
 
yes?
I have that prompt too
 
I get a box for the last character
 
4:57 PM
Same
 
I presume it's the fancy right angle brakcet
 
Your font is garbage
 
no
I like Terminus
 
I agree, the tilde is oddly positioned
 
4:59 PM
@KritixiLithos You need a powerline font
 
I used to, then I deleted it
 
There's a version with a differently positioned tilde
Come on it's nice
 
@Mendeleev I would say your font is ram/10
 
@Downgoat is that good?
 
Ram~=Sheep
 
5:02 PM
ram = sheep = bad?
 
And I agree
 
anyone know how to get a portion of a column of a matrix in matlab?
 
Quetiom: is struct A { int x; } the same as int x
 
One of them declares a variable and the other defines a struct, so if my understanding is correct, no.
 
> Quetiom
 
5:09 PM
> Quetiom
 
I can imagine that typing with hooves is pretty hard though
 
This better?
 
How did you type zyhid bryyrt
 
shift->z, s->d, e->r, t->y
basically some letters transposed a bit
 
That makes sense, I was wondering about the z
 
5:13 PM
 
@Phoenix but in memory how are they different?
 
I think that the former just stores something indicating a single variable of type int, rather than an int itself.
 
@Phoenix Yes but semantically they have same meaning no?
 
Haskell has type declarations that distinguish isomorphic types but disappear upon compilation
 
struct A { int x; } is the same as int.
I think
 
5:18 PM
Yea, I was wondering if VSLs ints can just be stored as a struct
 
(struct A)* psa = &a;
What am I doing wrong here?
Says "error: ‘psa’ undeclared (first use in this function)"
 
Funciton is on the HN frontpage.
 
I need your guys' opinion: Is the i/o used in codegolf.stackexchange.com/a/124911/60042 valid? (See TIO link)
Preferably someone who knows 05ab1e
 
@mınxomaτ Nice!
I was just randomly logged out of SE chat... anyone else?
 
nope
 
5:24 PM
@mınxomaτ I'm worried about the number of posters who seem to be assuming it's intended as a serious practical language
 
@flawr since you seem to know matlab: is there a way to iterate over every element of an array? I can't find one
specifically a 100x100 matrix
I need the row/column of each element also
 
Anyone else prefer ducktyped programming languages?
 
I do
 
There's a village in Norway called "Å" lol
 
@TuxCopter There's a hill in Denmark called "Ø" lol
 
5:29 PM
In Danish, Ø means island
 
@TuxCopter Not true.
 
@Adám haha lol
 
@KritixiLithos And Å means small river.
There are villages called Å in Moskenes, Meldal, Åfjord municipality, Ibestad, Troms, Lavangen, and Tranøy municipalities.
Oh, and one in each of Denmark and Sweden too.
This is a list of short placenames with one or two letters. == One-letter place names == A, a district in Kami-Amakusa city, Kumamoto, Japan Å, a village in Andøy municipality, Nordland, Norway. Å is Danish, Norwegian and Swedish for "brook" or "small river". Å, a village in Moskenes municipality, Nordland, Norway Å, a village in Meldal municipality, Sør-Trøndelag, Norway Å, a village in Åfjord municipality, Sør-Trøndelag, Norway Å, a village in Ibestad municipality, Troms, Norway Å, a village in Lavangen municipality, Troms, Norway Å, a village in Tranøy municipality, Troms, Norway Å, a place...
 
On the opposite end of the spectrum, Wales has Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
 
@ais523 HN always taking things seriously is why the n-gate parody exists.
 
5:35 PM
@mınxomaτ Please elaborate
 
@Mendeleev Or the full ceremonial name of Bangkok: Krungthepmahanakhon Amonrattanakosin Mahintharayutthaya Mahadilokphop Noppharatratchathaniburirom Udomratchaniwetmahasathan Amonphimanawatansathit Sakkathattiyawitsanukamprasit
 
@BusinessCat What is Bangkok called in Thai?
 
@Mendeleev n-gate.com
 
Taumatawhakatangi­hangakoauauotamatea­turipukakapikimaunga­horonukupokaiwhen­uakitanatahu is a hill near Porangahau, south of Waipukurau in southern Hawke's Bay, New Zealand. The height of the hill is 305 metres (1,001 ft). The hill is notable primarily for its unusually long name, which is of Māori origin; it is often shortened to Taumata for brevity. It has gained a measure of fame as it is the longest place name found in any English-speaking country, and the second-longest place name in the world, according to Wises New Zealand Guide and The New Zealand Herald. The name of the hill (with 85...
 
@Mendeleev Krung Thep Maha Nakhon
 
5:42 PM
How is codegolf.stackexchange.com/questions/124907/… not HNQ, it has a high score and a ton of answers.
 
@Riker something like arrayfun?
 
can't figure out how to get the coordinates though :/
@Phoenix not high enough idt
I think it's 15/20+
 
Ah no you just get the values
 
have an updoot though nice challenge
 
What are you trying to do?
 
5:43 PM
@flawr :/ a nested for loop might be my only shot then
 
@Riker Or vectorize your function
 
@flawr iterate through a matrix, output the indices of the 0s/1s
@flawr ?
I've known matlab for a whole day now please eli5
 
@Phoenix I see it as the #1 HNQ
 
... same actually
 
@BusinessCat I don't see it at all on HNQ
 
5:45 PM
Well for much of the mathematical functions, like e.g. f(x,y) = sin(x) * y^2 you can write them in a way such that you can input matrices and the function is evaluated entry by entry.
 
the retina answer is really clever
 
just to make things clear, this is the "official" HNQ list
from which the sidebar is drawn
 
@Riker [i,j] = find(M==0 | M==1);
 
@Phoenix that's a random selection, not any order
@flawr ... I'm really dumb
 
5:45 PM
@Riker It's not there at all though.
 
ty
@Phoenix so? it's a randomly selected list
 
@Riker No, just a matter of getting used to=)
 
:D
 
Just be aware: | is the entry-wise or, and || is the "scalar" OR
 
is this octave?
 
5:47 PM
@flawr ah ok
@KritixiLithos matlab but yes
 
similarly ./ and .* are entry-wise multiplication and division, while * and / \ are matrix multiplication and "division"
 
ah cool
 
You can also directly put matrices into sin cos log etc and it is evaluated entry-wise.
 
CMC: return the sine, cosine, and tangent of a given angle (in your choice of unit)
 
@Adám {Sin@#,Cos@#,Tan@#}&
 
5:50 PM
@mınxomaτ What's HN?
 
Hacker News
 
Oh cool
 
@Phoenix What is that? Mathematica?
 
@Adám Mathematica
 
@Phoenix The @s and the final & gave it away.
Have we had a challenge to identify programming language of given code?
 
5:53 PM
Mathematica lambda syntax == best lambda syntax
 
48
Q: Seriously, GolfScript, CJam, or Pyth?

coredumpSome time ago, the following question was asked: GolfScript, CJam, or Pyth? Based on the title only, I thought that it would be a very nice challenge, but unfortunately, it turned out to be a question asking for tips. Here is the challenge I wanted to read: Who said golfing languages were not...

Fun fact: That's where the language name "Seriously" came from
 
@Phoenix Is that a joke?
 
@Adám Not at all.
 
@Phoenix Wow, I'd say the APLs have a much cleaner lambda syntax.
 
How does APL do it?
 
5:57 PM
@Adám Haskell \x->[sin,cos,tan]<*>[x]
 
@Phoenix The CMC in question? 1 2 3∘○
 
@Adám No, how does it do lambdas.
 
@Adám Jelly, 8 bytes: ÆS;ÆẠ;ÆT
takes radians
 
@Phoenix In Dyalog APL there are two ways, tacit and explicit.
 
Which one would you consider to be more commonly used.
 
5:59 PM
Or even more elegant: ([sin,cos,tan]<*>).return
 

« first day (2320 days earlier)      last day (2521 days later) »