« first day (1905 days earlier)      last day (2930 days later) » 

8:00 PM
Function + class
 
You picked the good combination. :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ so JS's functions?
 
@Downgoat Anyway, what do you mean by "evaluating a call stack"?
 
@Downgoat I guess?
 
So this thing get's something like "2 2 +" which this thing evaluates
but if I make it a function error handling will be a little more difficult
 
8:04 PM
how so?
 
I won't be able to pass around indexes / error symbols
or have some form of interrupting the call stack
 
p
@QPaysTaxes how would I do that
a fuction just runs all at ocne
yeah
 
@El'endiaStarman Thanks for your great response :D I was actually a little leery of reading all the articles and comments through
Did read some interesting comments. The full articles will have to wait for tomorrow though
 
All I read were the comments.
 
8:11 PM
Incidentally, the eevee fellow is the one who wrote the famous article of PHP hate
@El'endiaStarman Fair enough
 
The other link I shared from Hacker News was just a sharing of the same article that you linked me.
 
Can I haz tl;dr?
 
Paul Graham essentially argues that income inequality per se is not itself bad, but rather some causes of it, and startups are not one of these causes. The other person disagrees. Strongly. :P
 
Well, a lot of it is arguing past each other, I think.
 
Also, this interesting link about a language eevee would like to use if it existed eev.ee/blog/2015/02/28/sylph-the-programming-language-i-want
 
@Sherlock9 Fractals are beautiful
 
They really are
@El'endiaStarman Seemed like it to me
Rather similar to how a lot of my debate club's debates go
 
> Learning the language should not require a complete upheaval of your mental model of the universe. (Sorry, Haskell.)
S/Haskell/J, Jelly, APL, etc./
 
> Why not?
 
8:19 PM
Every possible combination with 9 characters: gist.githubusercontent.com/orlp/…
@KennyLau ^
 
Trying to avoid languages with gotchas is why I don't like that my university's introductory programming courses use C and C++
 
@CᴏɴᴏʀO'Bʀɪᴇɴ well ye
 
I wonder where the first skip is?
 
@Sherlock9 1418
 
8:23 PM
If I wasn't on my phone, I'd just write a program to search
@orlp Thanks. That's pretty high up :D
And it appears that there's no others for a while after that
 
>>> for n in range(-9, 10):
...     print(1418 - n, primefactors(1418 - n))
1427 [1427]
1426 [2, 23, 31]
1425 [3, 5, 5, 19]
1424 [2, 2, 2, 2, 89]
1423 [1423]
1422 [2, 3, 3, 79]
1421 [7, 7, 29]
1420 [2, 2, 5, 71]
1419 [3, 11, 43]
1418 [2, 709]
1417 [13, 109]
1416 [2, 2, 2, 3, 59]
1415 [5, 283]
1414 [2, 7, 101]
1413 [3, 3, 157]
1412 [2, 2, 353]
1411 [17, 83]
1410 [2, 3, 5, 47]
1409 [1409]
everything around 1418 are stupid primes
 
Say I read some GPL licensed code and translate it to another language. That's a derived work, right? Which means I'd have to license my code under GPL as well?
This seems like a question for our resident law expert, @mınxomaτ
@QPaysTaxes What's the cutoff between similar and direct?
 
1900's (the decade) are missing a bunch, though I skimmed a bunch so I could have missed a bunch
2080's
 
first 10 missing
1418
1651
1653
1691
1817
1821
1823
1826
1861
1901
 
Yep. Missed 1817, 1821, 1823 and 1826 on the first pass
ninja'd
2126, 2127, 2129, 2131
Easiest to look in long stretches of 9's
With few close 5's or 7's
 
8:35 PM
does anyone care about tuples? Should I add a tuple literal in Cheddar?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ jolf's online interpreter doesn't work for me. neither in FF nor in Chrome.
 
@MartinBüttner uh oh
 
something about mixed content with js_beautify
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you must have not used babel ಠ_ಠ
 
8:35 PM
Jolf: 0 days since last major interpreter feature broke
2
 
@Downgoat What are your other data structures like?
 
@MartinBüttner Is js_beautify in the script head of the page?
 
@Downgoat "must of" twitch
 
@Sherlock9 arrays, dictionaries
@Fatalize see update
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yes but it's not loaded by the browsers
 
8:37 PM
@MartinBüttner ._. wonder why
 
@CᴏɴᴏʀO'Bʀɪᴇɴ why are you using js_beautify on the client and not pre-compiling it?
 
@Downgoat It's for the resulting jolf code
(i.e. the transpiled code)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ use babel
it does that too
babel is the new jquery
 
8:38 PM
I swear Downgoat is the only person who uses Babel.
 
@MartinBüttner try using http instead of https on the jolf page
 
@CᴏɴᴏʀO'Bʀɪᴇɴ why isn't the code transpiled to be formatted correctly?
 
@AlexA. nope. 15,000 other people have starred it so at least 15,000 people have also used babel
 
@Maltysen Because it isn't.
 
¯\_(ツ)_/¯
> 50,0500
3
???
 
@Downgoat yeah that did it
 
@Maltysen Shhhh he'll edit it then ping me for the billionth time
 
@MartinBüttner so it works? :D
 
https is evil
 
@Downgoat We'll, I've seen tuples as immutable data structures, and as heterogeneous data structures. What possible combination of DS features could you provide with tuples that arrays and dictionaries couldn't?
 
8:41 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ add window.location.protocol === "https:" && window.location.protocol = "http:" somewhere in jolf's interpreter
 
@Downgoat what would that do?
 
@Downgoat the one usecase for tuples I see for golfing is to have the string "()"
 
@Quill:
[Error] Syntax error @ 'PopcornSE'!
##########################
JSHINT output:
script: (W033) Missing semicolon on line: 139 at character: 144
script: (W030) Expected an assignment or function call and instead saw an expression on line: 144 at character: 48
script: (W030) Expected an assignment or function call and instead saw an expression on line: 145 at character: 14
@CᴏɴᴏʀO'Bʀɪᴇɴ install jquery
 
(that's a joke), it'll fix the protocol
that way chrome won't cry when the protocols are different
 
8:43 PM
@Downgoat It took me 2 minutes to figure out how this works.
That syntax
short circuit abuse eleven
 
@quartata stop talking like a code reviewer!
code-golf=='good'
 
@Downgoat But your short circuit isn't golfy and it isn't using good syntax. So why?
 
@Downgoat chrome ._.
 
@Sherlock9 oh my gosh, I'm so sorry, fixed:
3
location.protocol=="https:"&&location.protocol="http:"
 
8:46 PM
@orlp Is this real???
 
@Downgoat x=location.protocol;x=="https:"&&x="http:"
 
@quartata ಠ_ಠ not fully golfed:
 
@Downgoat It's golfier.
 
(x=location.protocol)=="https:"&&x="http:"
 
Same length.
 
8:48 PM
I can golf this, gimme a second
 
location.protocol.slice(0,4)=="http"
 
wuh
 
idk if that works
 
@CᴏɴᴏʀO'Bʀɪᴇɴ doesn't wek
 
8:50 PM
@flawr I dno I just found it
 
one byte less:
 
@orlp do you remember where that spreadsheet we made for all the Pyth5 character reshuffling went?
 
(x=location.protocol).replace('s','');x=x
 
5 mins ago, by Sherlock9
@Downgoat But your short circuit isn't golfy and it isn't using good syntax. So why?
ha gottem
 
@Downgoat why doesn't location.protocol="http:" work?
 
8:51 PM
@Maltysen because it results in an unecssary refresh
 
@orlp cool thnx
wait its making me ask for permission
 
@orlp I just found this: youtube.com/watch?v=JinpVA6p8Mo
 
@orlp wasn't it a sheets? or am I misremembering
 
8:54 PM
@Maltysen I also have a sheets one
but this one is better formatted
 
didn't we make like the chars a-e be variables or something?
 
this is the sheet
@Maltysen yes
a-e are the only variables
or well
only single-letter variables
 
oh k got it
 
except J/K
but those haven't been named yet
@Maltysen I might do some work on Pyth5 today
the big issue is that the sympy thing didn't work out, so I have to reinvent the number system
 
do you remember the global lambda var rotation order?
 
8:57 PM
@Maltysen a -> b -> c -> d -> e -> a ad infinitum
 
k, i'm implementing that now
 
?
it is implemented
 
what do you compile to?
 
@orlp I don't
I just eval the AST
 
8:59 PM
hate to break it to you, but that'll end up slower, not faster
 

« first day (1905 days earlier)      last day (2930 days later) »