« first day (1989 days earlier)      last day (2837 days later) » 

4:12 PM
@El'endiaStarman I got it: For x^2/a^2+y^2/b^2 = 1 where a>b the endpoints of the discontinuity are on +- (b^2-a^2)/a (and the endpoints are not included)
@mınxomaτ How about "Is currying for functions that take more than one argument allowed in ES6?"
@MartinEnder The at the end of the week paragraph in this question should probably be updated. As I understand it, the criterion of when a answer is considered a consensus is still valid, right?
 
4:29 PM
0
A: Sandbox for Proposed Challenges

dorukayhanGolf your way from (inc|dec)rements to the basic math operations Write five different functions or programs that do addition, subtraction, multiplication, division and modulo with integers by only using increments, decrements, loops/recursion and comparisons. Programs must print the result to ...

 
@TùxCräftîñg ಠ_ಠ vim text editor is best text editor
 
emacs is better than vim
but anyway i prefer N++
 
:/
 
$ cheddar <<< "['a', 'b'].each((item, i) -> IO.printf('test'))"
$
wat
 
4:37 PM
idk how to remove .vs ._.
 
rm -rf .vs/
 
@TùxCräftîñg Pleez no C# ;_;
 
@flawr thanks, I removed it
 
on linux/mac there is mono
 
4:39 PM
I have Windows, and don't wanna use C# either.
 
@TùxCräftîñg Your commit messages are really good
 
Maybe develop a port to Python?
 
@quartata ._.
 
@zʏᴀʙiɴ101 You're already using C# as we speak then
 
@MartinEnder Now you entierly removed the criterion on when something is deeped as accepted, was that intentional? (at least 5 votes, twice as many upvotes as downvotes, or something similar)
 
4:40 PM
@quartata What? No!
 
@zʏᴀʙiɴ101 Uh, yes? Almost all Windows applications are written in C#?
 
@flawr I figured it's not that important. some people can't see vote breakdowns anyway, and a threshold of 5 is pretty arbitrary.
 
@zʏᴀʙiɴ101 D: y u haet c#
 
Windows itself is written in C#, most apps aren't.
 
windows is written in C/C++
but most win aps are written in C#
 
4:41 PM
Is there a way for Windows to save my selected screen res after restart?
 
@zʏᴀʙiɴ101 I think you've got that the other way around
 
(winstore integration)
@Downgoat windows save the res after a restart
no ?
 
@zʏᴀʙiɴ101 Uh, why do you ask?
 
@quartata I think I've got that the right way.
 
@TùxCräftîñg not working for me
 
4:42 PM
._.
 
@El'endiaStarman Erm... Uhh... I'm just interested.
 
@TùxCräftîñg Most Win Store apps are written in C#, most Win desktop apps aren't.
 
most helpful error message 10/10
 
at least there are words
could be worse
 
4:44 PM
O_O TIL ^U turns off windows rather than clear current line
 
@Downgoat What is the phone for Microsoft Support? Erm... +7... 800... uhh... /sarc
 
wtaf
 
@Downgoat this is called a crash
 
@zʏᴀʙiɴ101 Windows is written in C, and almost all Windows applications are written for the CLR which means C# or Visual Basic
 
@TùxCräftîñg no it's not crashing
it has a fancy loading sign and says "shutting down"
 
4:47 PM
anyway, GOLC is written in C# but i think it can create interesting pattern
or raise a OSC/2 at the 6th step .__.
 
@TùxCräftîñg OSC/2?
Operating System Crash 2?
 
when the program detect than the pattern is a period-2 oscillator
 
0
Q: skyscraper puzzle

user1079341Multiple ‘skyscraper’ type puzzles will be provided. The challenge is to figure a methodology to solve the puzzles and then implement that in C/C++. Please find below: (i) Description of the puzzle (example along with the solution) (ii) Format for the puzzle input file (i.e. how the puzzle will...

 
Your program is basically a very basic search of small period oscillators, eh?
 
no, a random pattern generator and simulator
 
4:51 PM
So basically, a search program that masquerades as another GoL program type.
 
@zʏᴀʙiɴ101 example of what is generated by GOLC: pastebin.com/KGpdPqhf
 
^ mah poor eyes
 
it's not designed to be understand by a human
it's designed to be understand by a computer
 
It's a search program not understandable by human.
 
@MartinEnder Well now it is just not very clear anymore whether somethign applies or not
 
5:02 PM
@NewMainPosts Seems like OP was just trying to copy-and-paste something from some online judge now.
 
5:16 PM
there's a service i would like, but i don't know if it exists online or not
 
What service?
 
I would like to have a large text corpus (or search engine) that allows regular expression searches. Something like regex over the library of congress
I imagine it would be very expensive. since you can't really index for regular expressions
I wonder if there's some kind of compromise that would work. And if something similar exists
or regex over wikipedia. but, since wikipedia is available to download, maybe I should just do it myself
 
wat. I add a console.log and my code works, but without it, it errors ;_; pls halp
 
@Downgoat Heisenbug.
 
@El'endiaStarman Heisenburp.
 
5:26 PM
nvm, it turns out the REPL's prompt overwrites what I'm printing, and when I add a console.log the console.log adds an extra newline so it shows
 
@zʏᴀʙiɴ101 i am adding a viewer function to GOLC
 
@TùxCräftîñg IDC.
I don't have C#.
But still, could you provide an example?
 
@zʏᴀʙiɴ101 calling GOLC v myfile.gol 0 show the first generation of the session in myfile.gol
so if the file is

3
## ##

The result would be

##
##
 
0
A: Sandbox for Proposed Challenges

NeilCalculate my total hours I record the work I do for one of my customers using a flat file in the following format: 0000-00-00 0000-0000 0.0 code0000 free text The 0.0 represents the amount of time spent on the task identified by code0000, where 0000 is an optional numeric task ID and code is ...

 
5:46 PM
Geez, I'm looking through the transcript for the last few hours, and I'm tempted to chuck half of it into Trash.
 
And anger everyone, including me, a non-guilty person who would just be sent to Trash.
 
@El'endiaStarman Oh shit, I just looked. Oops.
 
@zʏᴀʙiɴ101 You're not exactly non-guilty this time.
I probably won't do it though.
 
I haven't looked yet. Do I dare?
 
I was over-exaggerating but I personally think that it does belong in the trash
Or maybe the Sandbox
 
5:49 PM
it doesn't look that bad?
 
@TùxCräftîñg yes
 
¿?¿?¿?¿?¿?
yes for what ?
 
@TùxCräftîñg use Set/WeakSet
 
for what
 
tuples
 
5:53 PM
ok
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ?
 
Evynne is giving Laina (Overly Attached Girlfriend) a run for her money in this video:
 
@quartata the transcript
 
I'm looking at right around the 4:00 PST mark
 
5:55 PM
Also, I can't be the only one bothered by the fact that they thought it was okay to have a portal on a moving surface.
 
@El'endiaStarman it looks like her eyes are glowing
not creepy at all
 
Well, I was mostly referring to the lack of blinking.
 
the girl is creepy ._.
 
@El'endiaStarman They can be placed on moving surfaces if you (the mapper) know what you're doing
 
she has everytime a creepy face ._____________________.
 
5:57 PM
@quartata Oooh, interesting.
@TùxCräftîñg Well yeah, she's GLaDOS.
 
I was working on a co-op puzzle where the two players were in separate rooms and there was two linked portals on platforms that the players could move up or down
 
even GLaDOS is less creepy ._______________________________________.
 
@TùxCräftîñg Well, that's 'cause robotic GLaDOS isn't human. If she were, she'd probably be smack-dab in the middle of Uncanny Valley.
Oh yay, new length annotation at Irregular Webcomic!!
 
6:12 PM
hey, is it just me or can I not find newlines in CP 437?
 
._.
> some APIs will not print some code points, in particular the range 1-31 and the code at 127.
there is newlines
just not in the codepage
> For instance many methods of outputting text on the original IBM PC would interpret the codes for BEL, BS, CR and LF. Many printers were also unable to print these characters.
 
so that means I can't have newlines in a CP437 encoded file? o_o
 
use unicode =P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you can have newlines, but there are displayed as ◙
anyway newlines are useless in golfing.
 
6:17 PM
no
I need to be able to print newlines
 
but that's two bytes not one
 
but that isn't a newline ._. I'll just figure it out
 
just escape ◙ as a newline
 
6:19 PM
;___; coverage is almost at 60% ;_;
 
now there is a viewer: github.com/tuxcrafting/golc
my commit messages are explicit ok ?
 
O_o visual studio does not support hidpi
 
hidpi ?
retina displays ._.
 
pls halp i tri maek everything scale but now everything is vrey smal except cursor wat
 
._.
zoom to 200%
 
6:23 PM
0
Q: Illustrate music beats

nicaelYou know - they look like this: source The goal is to draw the 6-by-33 music beats illustration, example: = = = = = = = = == = == = == = ==== == ==== == === = = ======= ======== == ==== = ========= = ================================= The "image" consits o...

 
@TùxCräftîñg but then cursor becomes huge and most apps look like crap as they become really pixelated
 
zoom to 50%
 
@TùxCräftîñg too small
 
ninja'd
 
6:32 PM
how about the starboard?
 
@flawr The offending messages left the starboard.
 
can you 11 those stars away?
 
FIRST REAL CHEDDAR ANSWER :D :D :D \o/ \o/ \o/ \o/ \o/:
0
A: Duplicate & switch case

DowngoatCheddar, 118 bytes (s)->s.chars.map((i)->{if String.letters has i{i+i.upper}else if String.letters has i.lower{i+i.lower}else{i}}).join() Ungolfed: (str) -> str.chars.map((i) -> { if String.letters has i { i+i.upper } else if String.letters has i.lower { ...

3
 
.___________________________.
 
6:33 PM
How cheesy.
 
As about El'endia Starman just inviting me to trash...
 
@zʏᴀʙiɴ101 Alright shut it. You know exactly why that happens.
3
 
@Downgoat you don't have ternary if else?
 
String.letters has i.lower
more verbose syntax ever
 
@CᴏɴᴏʀO'Bʀɪᴇɴ no that is next thing I'm doing
 
6:34 PM
@El'endiaStarman Yeah, I know.
 
oh gosh, its even longer than Java
 
Anyway, I feel like I'm becoming an honorary PPCG mod in TNB specifically... :P
2
 
@TùxCräftîñg most verbose syntax and still half as long as java
 
Thanks. ಠ_ಠ ignores invitation
 
6:35 PM
@Optimizer not there
 
in theory
 
@zʏᴀʙiɴ101 ಠ_ಠ
 
;_; 27/29th place
 
So is it possible to make some kind of least squares for implicit curves?
 
Hello @DrGreenEggsandIronMan!
 
6:36 PM
Or for parametric curves
 
@TùxCräftîñg Thanks.
 
6:37 PM
@Downgoat didn't you overload < for string comparison yet?
 
no, should I?
 
ok :|
 
@flawr How would that work?
 
@Fatalize Sorry for not responding earlier; it has been a pretty crazy weekend. I'll check out Brachylog once things back back to normal.
 
6:38 PM
everybody's working for the weekend
 
@El'endiaStarman Lets say we have some points in the plane, an a curve give as 0=f(x,y)
or 0=f(x,y,p1,p2,...,pn) where p1,p2,...,pn are parameters
 
cheddar> 'a'<'z'
true
cheddar> 'a'<'Z'
false
ok
 
find parameters p such that some distance measure of the points to the curve are minimal
 
@Downgoat It'd be like that in Python too. That's intended behavior, right?
 
yeah
@El'endiaStarman wait wat
oh no i dont want my beautiful cheese to be like python
yuck
:P
 
@Downgoat like C
 
@Downgoat ಠ_ಠ
 
like JavaScript
 
Y do goat not like snekky-snek?
 
like almost any language
 
6:41 PM
a language like python but without these verbose lambdas can be VERY cool
 
@DrGreenEggsandIronMan s/goat/gaot/
 
@TùxCräftîñg Coming soon: Pytek!
 
@TùxCräftîñg ಠ_ಠ
 
@DrGreenEggsandIronMan snek antivenim is vrey expensiv and gaot cannut aford
@TùxCräftîñg ok, that is seriously offensive.
 
6:42 PM
@Downgoat But pythons aren't venomous...
 
@Downgoat no. I refuse to ever say "gaot".
 
@El'endiaStarman I just realized that compiling to pytek would be not fun because of all the escaped backslashes
 
@DrGreenEggsandIronMan ;_; what about eat?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Muahaha.
 
@El'endiaStarman is \ the escape character in strings?
 
6:44 PM
@Downgoat jQuery is life so it's not offensive
 
@CᴏɴᴏʀO'Bʀɪᴇɴ In the sense that \n is a newline? Yeah.
 
hi all
 
hello!
 
6:44 PM
hola
 
helluuu
 
still no answer!
:(
 
It's inevitable. The more rules you try to impose, the more frisky they become...
 
@Downgoat I make no promises. I bet it would go well with green eggs.
 
6:46 PM
@SirPython your lambdas are too verbose
anyway hi
 
wait, what?
Uh, hi! :)
 
@Lembik hi part of all
 
python lambda
 
is TNB the new CR chat ಠ_ಠ
 
6:47 PM
@TùxCräftîñg We sure do have a lot of CR visitors, huh? :P
 
@TùxCräftîñg what? No they're not.
 
lambda x, y: x + y vs (x, y) -> x + y
 
@El'endiaStarman wait, really? Who else than quill?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ golfed! :D
 
@DrGreenEggsandIronMan SirPython, SimonForsberg and Phrancis
 
6:48 PM
@Downgoat noncompeting, of course
 
idk, do i have to include that? It's not winning anyway and it's not like I added a do-entire-thing builtin
 
where can I test this, again?
@Downgoat yeah
 
;_;
@CᴏɴᴏʀO'Bʀɪᴇɴ online REPL is not updated so either come onto the C9 or install the latest version from release-1.0.0
 
and I can't install until you get that thing running, so I guess I know where I am going
 
mosquitoes ._.
 
6:53 PM
@Downgoat should unary + cast to number?
 
no (not in Cheddar)
 
@Downgoat Yeah, non-competing answers should be marked as such, even if they won't win.
 
@Downgoat why not?
 
oh shit that shouldn't be thoriwng an error
@CᴏɴᴏʀO'Bʀɪᴇɴ because there is an explicit cast operator
 
at least it should work for booleans (+true = 1 , +false = 0)
 
6:53 PM
Number::"123"
though it doesn't work
@TùxCräftîñg Number::true
 
._.
I still think it should work for booleans
 
VerbosityError at line 10: `Number::true`
 
@CᴏɴᴏʀO'Bʀɪᴇɴ idk ok
 
I also feel that Number * Bool should work, but that's just me
 
Bools should implicetely cast to numbers
 
6:57 PM
that's getting to implicit
 
is cheddar not implicit? I forgot
 
though I guess booleans might be an exception
@CᴏɴᴏʀO'Bʀɪᴇɴ its trying to be a mix of everything to please as many people as possible but that's difficult
 
too many mosquitoes .____________.
 
Well, even python allows boolean and number mixing
feature request: substr property of strings
 
@CᴏɴᴏʀO'Bʀɪᴇɴ To be fair, bool in Python is literally a subclass of int, for historical/backwards compatibility reasons.
 

« first day (1989 days earlier)      last day (2837 days later) »