« first day (2328 days earlier)      last day (2516 days later) » 

11:00 PM
0.1 seconds, why does Charcoal take so long (it takes like .3s just to start up lol)
Also why is exit code 2
 
because has double bork so 1 bork + 1 bork = 2 bork = 2 error = error 2 = error code 2
 
I love in-place modification. Just wrote this:
  paths←w↓'.dyalog/' ''
  paths,¨⍨←⊂d,Path
  paths,¨←⊂Folder,'/'
  paths←∊paths
  paths,←d,⎕SE.SALT.Settings'workdir'
  paths(≠⊆⊣)←d
  paths,¨←'/'~¨⊢/¨paths
  paths←'\\'⎕R'/'⍣(~w)⊢'/'⎕R'\\'⍣w⊢paths
  paths,¨←⊂'setup.dyalog'
Some languages allow A+=42 meaning A=A+42. There's also -= and some Boolean operations. Any other languages than APL which allow any function there?
 
Do you mean something like (pseudocode) A map= Math.sin?
 
@ASCII-only No connection the the CMC. e.g. A MyFn= 42
 
@Adám Yeah I know
Hmm, seems like it's hard to have syntax for that
 
11:10 PM
Can you do
t = "Hello"
t += "World"
?
or whatever string concatenation is.
 
@Adám You can do that in almost every language
 
@ASCII-only Because + is overloaded? Meaning it is only + and - that allow that?
 
functions don't work the same as operators in a lot of languages
 
0
A: Sandbox for Proposed Challenges

FoxyLots of Pi(e)! For Meta: Any tags other than code-golf, and pi? Dupe? Any errors? Clear enough? Your Task: Because everyone likes more pi, we're going to give them 999 decimal digits of it. Your program should output pi truncated (not rounded off) at 999 decimal places. For reference, he...

 
@Adám No, they're separate operators, every operator allows that (aside from assignment operators)
 
11:12 PM
How about
N = 4
N ^= 2
to get N == 16?
 
@Adám Well, I can do str.map{|a| func a} in Ruby
 
@ASCII-only Oh, += has nothing to do with + and =?
 
@Adám Nope
 
@ASCII-only
 
although most things are class methods in Ruby, so instead of downcase a (or a downcase=) I use a.downcase!
 
11:16 PM
@Adám apart from the fact that it is **= python does that
 
:( 0/10 for calling downcase and not downgoat
@DestructibleLemon *and cheddar and JS and VSL
 
In APL we can do L↓⍨←3 to remove the first 3 elements from L in-place or as I quoted above paths(≠⊆⊣)←d to split paths at delimiters d, in-place.
@Downgoat Is there a list of such modified-assignments?
 
@Adám In Ruby you would do l = l[3..-1] so no go there
 
@Mendeleev Well, in APL too you can do L←3↓L, but that wasn't the point here.
@Downgoat Neat, thanks. But Why is there >>= and >>>=, but only <<= and no <<<=???
:38122539 That's L←3↑L or L↑⍨←3 for in-place.
 
11:21 PM
@Adám no C-based lang I know of has unsigned left shift op
 
I'm not good at reading
 
@Downgoat That seems… inconsistent.
 
¯\_(ツ)_/¯
 
 
@Adám I think it's because the left shift operator is unsigned anyway
 
11:23 PM
APL riddle: I⍨2→work¨week
 
is it you don't like work weeks?
 
heh
 
:| wat du says only 9.9GB is use but df says disk is using all 30GB
 
@Downgoat is it some new way of making the gigabyte really small?
 
wat
 
11:27 PM
@DestructibleLemon I commute to go to work each week.
 
@Downgoat like gigabyte is now 354334801 bytes
for marketing purposes
 
@DestructibleLemon no gigabyte is 2.857 times that
 
@Downgoat but not for df
 
even if doing then shouldnt be so dif.
 
2b∨~2b←?
 
11:28 PM
its the new giggabyte or something
@Adám dumb shakespeare quote
 
@DestructibleLemon Good job.
¨∊∪←=⊢2⍝∧?*
 
is this the next part of the soliloquy?
 
@DestructibleLemon No, it is a statement about the USA.
 
IDK then
 
@DestructibleLemon Each member of the union has equal right to comment and question everything.
 
11:35 PM
But is it valid APL
Well, the stuff after probably is.
 
@Phoenix No, the ¨∊∪ part won't work as-is.
@Phoenix Also, monadic = is not defined (yet) in APL (it is in J and K).
 
What would monadic = do?
 
@Phoenix x=x
 
that¨∊the∪←an=⊢2⍝∧?* is valid APL
 
obviously
 
11:38 PM
@DestructibleLemon That doesn't seem useful though.
 
@DestructibleLemon Self-classify in J, Identity matrix in K.
 
@DestructibleLemon That would only be useful for JS because NaN==NaN yields false, so you could check for NaN
 
@Phoenix ... That's false in every language
 
@Phoenix That's not the only thing in JS which doesn't equal itself.
 
:| apt just borked again and I think it is removing kernel again
 
11:40 PM
@ASCII-only Really? Not that many languages have an NaN
 
@ASCII-only Not in K
 
@Phoenix *NaN literal
 
0
Q: How many valid programs can you write?

Julian LachnietBackstory: I think that my boss might final realize that I don't any enough work, despite being paid by the hour. I want to throw him off track, by writing as many valid programs as I can to send to him. Unfortunately, due to budget cuts, my keyboard only allows each key to be pressed once. Spe...

 
s/language/languages with NaN/
 
Quetion; what does this mean: /etc/apache2/envvars: source: not found
 
11:41 PM
@ASCII-only In what language, other than JS, is it false? (Probably PHP, now that I think about it)
 
the file exists
 
@Phoenix Every language (other thank K)
@Adám :| Oh no K isn't IEEE754-compilant
 
@ASCII-only I don't think Arthur Whitney cares about any standards except those of speed, consistency and conciseness.
Hm, even J says that _. is different from itself.
 
make a language where NaN can be equal to itself under certain circumstances
 
@DestructibleLemon Already done, it's called K
 
11:45 PM
cool
 
@ASCII-only No, it is always equal to itself in K.
 
aha!
you have been exposed as a fraud!
 
@Adám Well yeah, in this case certain circumstances = every cirsumstance :P
@DestructibleLemon >_> It's still certain circumstances
 
@DestructibleLemon VTC as unclear what the circumstances are.
 
well I don't really get NaN
what kind of ops give NaN? division by 0?
 
11:47 PM
@DestructibleLemon parseInt('a')
@DestructibleLemon That gives Infinity
 
ok then: parseInt('a')==parseInt('a')!=parseInt('aa')
 
@DestructibleLemon ... They don't give different NaN's
 
@ASCII-only exactly!
 
@DestructibleLemon There's no point, it's just insanely memory-consuming
 
this is why the language is different!
@ASCII-only please tell this to esolang creators and also just storing a string
 
11:49 PM
@DestructibleLemon Most esolangs take a same amount of memory
 
What are some good challenges to solve in newly created languages? aside from Mendeleev's
 
@MDXF primes
 
link?
 
@DestructibleLemon Infinity + -Infinity and 0/0 and things like Math.pow(1, Infinity) and Math.sqrt(-1) and other out-of-domain funcs
 
11:52 PM
ಠ_ಠ
 
@DestructibleLemon halp cartoon character name are confuse
 
link to the primes challenge pls ಠ_ಠ
 
@Downgoat no this is luigi aka link
get it right
 
@DestructibleLemon The same joke is only funny so many times. That number tends to be smaller when the joke is a large image in chat...
 
> funny so many times
it sure is
 
11:56 PM
i just tried to paste 106kb into vim and now my laptop keeps beeping halp
 
@ASCII-only Hold down the power button for 10 seconds
 
@DestructibleLemon Perhaps I need to be less subtle: Posting the same large image joke again is likely to lead to someone being kicked
 
wait nvm it's just pasting super slowly
 
I think that the current link inflow is at a sustainable level
 
Did someone say... link?
 

« first day (2328 days earlier)      last day (2516 days later) »