« first day (1986 days earlier)      last day (2857 days later) » 

6:00 PM
@Downgoat none of them make sense but ^^^ is the best
 
Anonymous
Nah, he needs to reserve -> for the best language feature of all
 
@Downgoat It should be "foo = lambda arg1, arg2: arg1 + arg2" :P
 
Oh, I didn't notice foo = (arg1, arg2) => arg1 + arg2
That's all right I suppose
 
@Maltysen if non of them make sense then what should it be?
 
I get the sense that Mego hates C
 
6:00 PM
So basically, none of these make sense at all.
 
@zʏᴀʙiɴ101 ಠ_________________________________________________ಠ
 
that is disgusting
brb flagging as offensive
 
Anonymous
@BusinessCat Can't imagine why you would think that
 
.___. i have missclick i have voted for foo = (x, y) => x + y .____.
 
6:00 PM
@BusinessCat We all hate a lot of things
 
@Downgoat i'm just saying that the whitespace ones make no sense at all, and neither do the = ones
 
@Downgoat Please don't have fun with flags.
 
and for some reason you have none without either
 
Anonymous
@TùxCräftîñg No see there you voted correctly
 
@Maltysen sorry, what?
 
6:01 PM
I like => because it looks nicer in my text editor >_>
 
@zʏᴀʙiɴ101 i was joking
 
Anonymous
@zʏᴀʙiɴ101 I'm one of the biggest fans of Python and even I'll admit that Python's lambda syntax is ugly
 
@Downgoat Ah k :)
 
Python lambdas is shit. Really.
 
user image
11
 
6:02 PM
I was joking, too.
 
Anonymous
@orlp I too browse /r/programminghorror
 
@orlp oh my sweet lord
 
@Mego not from there
 
@TùxCräftîñg s/lambdas are/is/
 
@Downgoat half of them are (args) <space> expr which doesn't make sense, and the other half are foo = something, which is stupid. there aren't any options without either
 
6:03 PM
@Mego I like it actually. Reminds me of Scheme's syntax
 
pls halp i hav no idea what's happening anymore:
=== TEST CASE 1: -> (a = "default", b?) { 1 + 1 } ===
[Function: CheddarLexer]
CheddarFunctionToken {
  Code: '-> (a = "default", b?) { 1 + 1 }',
  Index: 0,
  _Tokens: [] }
=== OUTPUT START === 0
->
[ CheddarLexer {
    Code: undefined,
    Index: undefined,
    _Tokens: [],
    exec: [Function] } ]
[Function: CheddarTypedVariableToken]
[ [ [Function: CheddarLiteral], ':' ] ]
[Function: CheddarLiteral]
:
[Function: CheddarVariableToken]
[ '?' ]
[ [ '=', [Function: CheddarExpressionToken] ] ]
[Function: CheddarTypedVariableToken]
 
._________________________. tl; dr
 
@Maltysen whitespace is not needed. the foo = is not part of the lambda syntax
@TùxCräftîñg same
 
Anonymous
@orlp I remember seeing that on one of the bad code subreddits. At this point they all blend together.
 
what would you suggest?
 
6:04 PM
@Downgoat ohhhhhhh
in that case foo = (arg1, arg2) -> arg1 + arg2
 
@El'endiaStarman i dunno if I asked this before but what grammar parser generator thing are you using for pytek?
@Maltysen ok
 
THIS is the new disaproving look: 흫_흫
 
es6 syntax
 
@Downgoat i think homemade parsers are the best
 
6:05 PM
@TùxCräftîñg no they are not
 
5 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
chat mini challenge: given two numbers M and N, find the smallest number K > 0 such that KM and KN are integers
 
they are nightmares
 
no, homemade parsers are life
 
@TùxCräftîñg its even better if they are soft baked
 
6:05 PM
@TùxCräftîñg They are if you're doing it right :-)
 
@Downgoat ._______________. even Superman cannot read this
 
;_;
 
don't mind me
just buying spices and... drain cleaner?
 
.________________________.
 
@TùxCräftîñg Except people who can read Korean are likely going to be confused by this.
 
6:08 PM
@mınxomaτ gmg_gmg
 
^^ s/ who.*Korean//
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ Actually, 14 bytes: ╗2`╜*;♂≈=`╓d@X
 
@mınxomaτ and kanarese will be confused by ಠ_ಠ
 
Anonymous
@mınxomaτ I love lemon-scented carcinogenic pancakes!
 
6:09 PM
@Downgoat Though much less likely.
 
@Mego and it won't even be non-stick!
 
@Mego Some men just want to watch the world choke on their breakfast.
 
and undefined will be confused by 句_句
 
At least my furniture isn't sticky anymore.
 
Anonymous
Less ugly, still 14 bytes: ╗1`u╜*;♂≈=`╓iu
 
6:11 PM
xahlee.info/comp/unicode_common_symbols.html and paste 句 in the unicode search ._.
 
why use a calender
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Pyth: f*FmsI*dTQ barring FP inaccuracy
 
if you could use a bar graph?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ f*FmsI*TdQ
 
.__________________________________________________________________________________________.
 
6:12 PM
I think you just got ninja'd
 
._. shit
 
OH MY GOD YES IT WORKED
=== TEST CASE 1: (a = "default", b?) -> { 1 + 1 } ===
[Function: CheddarLexer]
CheddarFunctionToken {
  Code: '(a = "default", b?) -> { 1 + 1 }',
  Index: 0,
  _Tokens: [] }
=== OUTPUT START === 0
=== OUTPUT LOG ===
CheddarFunctionToken {
  Code: '(a = "default", b?) -> { 1 + 1 }',
  Index: 32,
  _Tokens:
   [ CheddarArrayToken {
       Code: '(a = "default", b?) -> { 1 + 1 }',
       Index: 19,
       _Tokens:
        [ CheddarArgumentToken {
            Code: '(a = "default", b?) -> { 1 + 1 }',
 
@Downgoat O_O
 
@orlp And not even sort the states in any logical way
 
\o/ \o /\o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/
 
6:13 PM
s/\o //\o//
흫_흫
 
@Mego @FryAmTheEggman How do these work? :3
 
Anonymous
There is a Comic Sans monospace font. Sort of https://github.com/belluzj/fantasque-sans http://t.co/Gk1X1WeNMa
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ First value starting from 0 where [(k+1)*m,(k+1)*n]==[int((k+1)*m),int((k+1)*n)], plus 1
 
@CᴏɴᴏʀO'Bʀɪᴇɴ filters from 1..∞ for something such that both of the input is invariant under flooring when multiplied by the iter var.
 
Backyard aspirations: strawpoll.me/10690070
 
Anonymous
6:16 PM
 
@Mego @Malty nice and nice
 
@HelkaHomba a dirt bike course, obviously
 
Anonymous
I like how the requisite backyard sizes for the options range from "moderate suburban" to "I own 3 acres of land"
 
@HelkaHomba pls add option for goat barn
 
@Mego and the gardens can probably be done with just a balcony
@Downgoat wouldn't that be your house? :P
 
Anonymous
6:19 PM
@Downgoat That would be a baaaaad idea
3
 
@Maltysen exactly, who wouldn't want two homes
 
@Downgoat Option 7: tin can grazing area
 
@HelkaHomba I would grow carnivorous plants if they would grow here
I'll just have to settle for reading tons of books about them I suppose
 
@HelkaHomba that sounds cool
 
Anonymous
6:22 PM
@TùxCräftîñg Please don't spam
 
^
 
.________________________.
 
I wouldn't quite call that spamming.
 
More like grasping at strawpolls
 
6:23 PM
for now it's a pie tie
 
@Mego ;_; y u haet gaot sheltr
 
@TùxCräftîñg ---pie---
 
@TùxCräftîñg 10/10 goats
 
(removed)
 
6:25 PM
@Mego So basically the Ubuntu Monospace font?
(demoved)
 
@Downgoat y u are the only who use y u with Upgoat ._.
 
@orlp So, uh, this is incredibly bad, but how would you make it less so? I haven't worked with dropdowns before and now seems as good a time as any to learn
 
@TùxCräftîñg i am upgaot
and that was a filtr
 
@TùxCräftîñg it was removed
 
@Sherlock9 don't use a dropdown
it's called numbers on you keyboard + a textfield
 
6:27 PM
This (removed) thing might become a meme
 
Duly noted o7
 
@uoɥʇʎPʎzɐɹC (removed)
 
@uoɥʇʎPʎzɐɹC can't, memes have been killed by mods
 
@uoɥʇʎPʎzɐɹC Nah, they (removed) that meme already
 
waterslides are fun for the whole family
FUCK OFF REDDIT IMAGES NO ONEBOX ARGHHHHH
 
6:29 PM
@orlp is this supposed to be a gif?
@orlp ಠ_ಠ
 
if I display rationals as NrD, what should imaginary look like? ArB + CrDi, or ArB + CrD * i
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ArB + CirD ;)
 
^^ Might be worth considering j, i is pretty overloaded in CS and related fields.
 
now this allow more trolling: strawpoll.me/10690250
 
TIL you should compile your code before testing >_>
@TùxCräftîñg please stop spamming
 
6:33 PM
user image
8
@FryAmTheEggman I've heard that, but idk how it is overloaded
should I do it like J, and have ArBjCrD? (J doesn't actually allow extended irrational numbers)
 
i is commonly used in loop counters (esp. matrices) (although j isn't much less common here) but it is also used for things like identity vectors and current, moment of inertia, etc
 
Should function defaults be evaluated at initialization or when run
 
I don't really know what format I would prefer since I don't really know the whole paradigm of your language, but anything clear (like that is) is fine
 
I'm writing a library for javascript
 
@CᴏɴᴏʀO'Bʀɪᴇɴ what's new?
 
6:38 PM
working on a stringifying function
@Downgoat what's new about it? or "what else is knew"
 
what does it stringify?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Then I'd use whatever javascript usually uses with as little modification as possible.
 
@FryAmTheEggman javascript doesn't have irrational numbers or extended integers.
@Downgoat extended irrational integer
 
I thought you meant for the complex variable? (Unless it doesn't have that, too)
 
nope, not that either.
just floats.
 
6:42 PM
Then I'd personally use the notation with an explicit + as I'd say it's easier to read, and I would prefer j but I think at that point it's mostly opinion :P
 
alright, sounds good.
So something like CrDj wouldn't be unreadable?
 
0
A: Sandbox for Proposed Challenges

Patrick RobertsReinventing the Modularization Wheel code-golf In a language of your choice, implement a function or language construct that imports another file of the same language and executes it, making exported values from that file available to the calling file. If one already exists, you may not use it ...

 
No, but I would personally use something other than r, like / or rational(C, D) j
 
hmm, good point
 
Actually in the second example I think I'd prefer if the j were with the C, same with negatives, etc
 
6:46 PM
Like Cj/D?
 
No I meant the one with rational like: rational(-Cj, D)
 
would that automatically rationalize the denominator?
 
@Downgoat Yes, you've asked that before. :P I don't use a grammar per se; I define the language elements in a different way.
 
like rational(1,2)/raitonal(j,1)
 
6:47 PM
I haven't figured that part out yet.
 
i want to create a Shwa keyboard layout but MSKLC is broken .___.
 
should 5/1 be displayed as 5?
 
@El'endiaStarman so you're not using a LALR?
 
@TùxCräftîñg You can't create a Shwa keyboard layout.
 
E.g., 7/2 + 5/1j or 7/2 + 5j
 
6:50 PM
Not if rational types are meaningfully different from integer types.
 
You need a special keyboard for that.
 
@FryAmTheEggman nope. it's just a way of displaying. I can display it as a decimal number (so with a decimal point + trailing things) or as a rational.
 
Also note 5/1j == -5j/1 != (5/1)j
 
oh true. that needs to be fixed
 
cheddar> (a,b)->a+b
< Unprintable object of class "CheddarFunction" with literal value undefined >
oh my god yes
 
6:52 PM
@zʏᴀʙiɴ101 a standard keyboard have 104 keys, with the alt-gr and shift modifiers the number of typable characters is INSANE
 
Anonymous
@Downgoat That's some description gore there
 
312 exactly
 
JNum.of(3.5, 5)
7/2 + 5j/1 // rational
3.5 + 5j   // decimal
 
and with dead keys...
 
@TùxCräftîñg You need to map the 6 x 4 or 12 x 4 keys to the standard keyboard.
 
6:54 PM
@zʏᴀʙiɴ101 48 keys ? easy.
 
Also, the keyboard must be special.
 
@zʏᴀʙiɴ101 why ?
 
A 6 x 4 or 12 x 4 rectangle of keys.
 
12 × 4 = 48
 
6:55 PM
There have been some massive android malware issues in the past few weeks. That's what you get when you license an OS to OEMs and tell them to issue security patches. They won't.
 
Anonymous
Standard US keyboards have 46 text input keys just on the main portion. The 15 additional numpad keys present on some keyboards are recognized separately for a total of 61. Factor in ALT, CTRL, SHIFT, and combinations, and you can easily reach 256+ key combos.
 
@Mego also caps lock as a modifier
 
(rm ed)
 
But a standard keyboard doesn't even seem to look like a 6 x 4 or 12 x 4 rectangle of keys.
 
What?
 
6:57 PM
yup, but you can map the keys with this rectangle rotated 90deg
 

« first day (1986 days earlier)      last day (2857 days later) »