« first day (2784 days earlier)      last day (2066 days later) » 

1:32 AM
@mınxomaτ I feel like all of these could be done by a 3rd party
the only hard one in that list is pinning, because it requires additional data.
 
0
Q: Let's play some Reaper

Rushabh MehtaHere is the chat room for this king-of-the-hill challenge. This is my first one so I'm open to suggestions! Reaper is a game concept developed by the Art of Problem Solving which involves patience and greed. After modifying the game to fit a KOTH style contest (Thanks to @NathanMerrill and @dzai...

 
 
2 hours later…
Anonymous
3:19 AM
My favorite part about Sencha Touch docs is the fact that they're so incorrect that more than half of their live previews are broken
 
3:41 AM
i have an "about" now
 
3:52 AM
> "https://www.yahoo.com is a fake address that doesn't go to a real Yahoo! web site. A real Yahoo! web address has a forward slash ("/") after "yahoo.com" — for example, "https://www.yahoo.com/"
._.
 
hmmmm
really makes you think
like i guess if it was one of those lookalikes
 
4:07 AM
@Downgoat I mean we don't know how they have their servers configured or what the user's browser does to the request.
 
 
2 hours later…
5:51 AM
@mınxomaτ It's lnbox ("LNBOX" in capital case), not "inbox", according to Google help page. Everyone get it wrong.
(wait what...? the help page uses both?)
Probably just a typo in the help page. Nevermind.
Nice typo.
 
6:43 AM
So I was testing alternative feed for NSP, as the old feed is getting too heavy for the bot to handle. It appears to work properly now.
Some random observations while testing:
* Incremental date is required.
* Distinct GUID is required.
* Only URL field is needed. Other fields are not important.
* The feed is requested once every 6 minutes.
 
 
2 hours later…
8:38 AM
I'd like to highlight columns and rows in a matrix with MathJax. Does anyone know if either that or that is doable? I couldn't manage to have either working. (So I just used \color instead.)
 
ngn
9:19 AM
@Arnauld Those require additional packages. I guess you could do tricks with boxes instead but what you have currently is better, in my opinion :) maybe use \mathbf instead of \color or in addition to it, in case someone is colour-blind?
 
9:39 AM
@ngn Thanks for your feedback and suggestion. I've added \mathbf. :)
 
 
3 hours later…
12:36 PM
Anybody program on the go and use a mobile device? What app/languages do you use?
 
I use TIO when I'm on the run
For small scripts. Otherwise I use an app for SSH to get a proper shell on my raspberry pi back home
If I need more power I could set an aws instance up, but that's a very rare occasion
 
I guess that could work, but there's no IDE features like autocomple though, right?
Yeah, ssh into a pi, I wish :D good idea though!
 
A pi zero costs like $18, and is more than enough for most small tasks. I just stick it in my router back home and open a port (of course requiring pem-key to connect)
 
I asked about port forwarding before, but my dad isn't comfortable with that (he only kinda understands what it is tho)
 
TIO does not have any autocomplete options, but if you use SSH then you have all the power of whatever device you connect to. I'm not a big fan of vim/emacs, but those should have autocomplete i guess? Though it might be (very) difficult to use them from a mobile interface
If you're eligible for free tier on AWS, you could get a free instance for like a year. I used that extensively, it's a great service. And your dad doesn't get affected in any way!
 
12:44 PM
Lol, AWS is Amazon web services, right? How does one get a free tier?
 
Yes. The nano instances have a "free tier available" when you create them. You'll get a single core virtual machine with like 1-2GHz processor, 1GB RAM, and 8GB SSD storage
If you feel like spending money on it, you can get more computing power of course. I previously had a 2 core, 16GB RAM computer running continously there, and I paid around $20 per month
 
Awesome! Thank you, I'll have to try it out
 
 
2 hours later…
2:53 PM
0
Q: \$n^2=\$ ??? Squares

Any3nymous userGiven an integer (\$n\$), return an increase great list/array whose squares sum will be \$n^2\$. The list must be increasing in order, no element must be repeated. You must return the largest one if multiple answers exsist. If no answer exsists return a falsy value. Example Let \$n=11\$, then ...

 
3:27 PM
There was a challenge that consisted in getting the element in an array that sums an specific number. Something like [1,2,3], 5 => [2,3]. Does someone knows the name of it? or the link to it
 
(google for "site:codegolf.stackexchange.com subset sum")
 
Thanks.
Damn, the guy deleted his challenge when just finished solving it :c
 
@LuisfelipeDejesusMunoz It needs a lot of clarification & reopen vote anyway.
OP probably intended "largest length, if multiple equal, largest lexicographic order of reverse list"
(and some typo correction...)
 
Yep but besides that the main point of the challenge was clear, at least to me
BTW. Happy programmer day to you all
 
3:47 PM
Do we have any plan to replace NSP?
 
Do you have a working one?
 
Dennis has made a change to the feeds posted into this room
 
There was no NSP feed at all. I wonder why.
 
I was testing some more about SE feeds. It looks like that number of items matters, not feed file size.
 
4:02 PM
But why was there no NSP feed? Nobody removed it.
 
Also, it looks like that SE stores the individual GUID so each feed item is only posted once.
Still no message? Is there anything wrong with the feed?
I tested it in another room and it worked. I wonder if the GUID store is kept across rooms.
 
1
A: Sandbox for Proposed Challenges

CharlieRubik-sorting a matrix [draft] array-manipulation sorting rubiks-cube This is an early draft of an idea that can be either a code-golf or a code-challenge, though I think the algorithm requested could be a bit too complicated for a code golf. Nonetheless feel free to add any ideas you consid...

1
A: Sandbox for Proposed Challenges

maxbYeah But No But Yeah Challenge has been posted

0
A: Sandbox for Proposed Challenges

Luis felipe De jesus MunozLargest 1 bit stream (may change the name) Given an array, list or sequence of numbers in base 2, output the largest 1 bit stream you can. A 1 bit stream is a consecutive sequence of positive bits. eg: 1111111 Example Given [1, 10, 11] (1,2,3) => the largest 1 bit you can do is [1, 11, 10]...

0
A: Sandbox for Proposed Challenges

user202729Make it rotationally-symmetric code-golf (sandbox note: am I using the wrong terminology?) Background While looking at this challenge, I notice many some of the answers has 4-fold rotational symmetry. I think it would be convenient to have a program to automatically do it. Challenge Take i...

0
A: Sandbox for Proposed Challenges

tshHalf, Half Half, and, Half Input n, output nth element of the following number sequence: 1/2, 1/4, 3/4, 1/8, 3/8, 5/8, 7/8, 1/16, 3/16, 5/16, 7/16, 9/16, 11/16, 13/16, 15/16, 1/32, ... You may choise to output decimal, or, a pair or integers as you like. Meta: duplicate? I will finish it ...

 
There we go.
 
Ok.
If after ~5666 more entries it self-destruct again then we can just reset the feed?
 
No clue how the old one got killed in the first place.
 
4:12 PM
Meta bug report?
 
Sure.
 
Wait, does this mean there's going to be a new sandbox?
 
@Pavel Funny, but it's not true. C++ has some of the most verbose, obtuse, unhelpful, and obnoxious compiler errors I've ever seen
(I know that picture is about runtime errors, but still)
 
@RushabhMehta No, just a new pseudo-user in charge of posting the feed.
 
@DJMcMayhem After trying to fix type-mismatch errors with generic lambdas in Java all day, I'm starting to feel that Java's are almost as unhelpful, if not as long.
 
Improved in Python 3.
 
Yep.
 
4:46 PM
@Dennis Oh my
Btw... anybody point me to a good resource for learning about lambdas? i have no clue where to start with them
 
@user202729 This will run down your free credits probably
I think it checks more often than once an hour
 
@seadoggie01 Do you understand the high-level concept?
 
Erm. I think it's just an in-line function basically?
 
Kinda. It's like everything after the lambda: part is what would normally come after return
These two are the same:
def f():
    return 6

f = lambda: 6
But you couldn't do something like this:
def f(n):
    s = 0
    for i in range(n):
        s += n

    return s

f = lambda n: s = n; for i in range(n): s += n; return s
Because everything in a lambda has to be a single expression
So instead you'd have to write something like f = lambda n: sum(range(n))
 
Oh... okay... I think :D
That's python right? I don't do much there, mostly in Java and VB, but I think that applies *still
 
4:52 PM
It's Python, yup. Basically Dennis's example makes a lot more sense when you replace _ with f.
 
Oh, whoops I just assumed you were talking python. I don't know how much of that applies to java
 
@DJMcMayhem Np, I usually see it in VB.net and skip over them. There's usually another way when you're not golfing
 
Sorry XD
C++ lambdas don't have to be expressions like Python, so I bet in Java it's similar
 
They often use regex as well when I see them, which makes them ~2x as confusing
@DJMcMayhem Thank you though! That was helpful
 
Java lambdas are really crappy though.
 
5:00 PM
OMGoodness! => in javascript is a lambda!?! * MindBlown *
 
wat
 
Oops, edited... meant =>
Don't mind me, just going to go back to folding checks now
 
5:20 PM
0
Q: Crop ASCII Art Challenge

LambdaBetaASCII art is fun. Modern text editors are very good at manipulating text. Are modern programming languages up to the task? One common task in ASCII art manipulation is to crop text to a rectangle between two characters. This is the task you must implement in this challenge. Details Your progr...

 
Sorry for the bad quality, but is this happening for anyone else?
 
No.
 
Mowe hahahaha
Are you editing the internal script or something lmao
 
No, I haven't done anything, as far as I know
 
5:35 PM
Mowe money mowe problems
I'll leave now
Also shameless plug I need some bots for my KoTH
 
@cairdcoinheringaahing that seems suspiciously like something a browser plugin would do
 
0
A: Sandbox for Proposed Challenges

Kevin CruijssenLongest Repeating Subsequence of a Single Digit code-golfintegersubsequencecounting Challenge: Given a positive integer, output the longest single-digit subsequence that occurs at least twice, AND has boundaries of another digit (or the start/end of the integer). An example: Input: 788888546...

 
@Poke As far as I can tell, I don't have any plugins
 
5:53 PM
:D I just passed 40,000 rep!
8
That's kinda surreal
 
@DJMcMayhem Nice!
 
Grats
 
@cairdcoinheringaahing are you sure you didn't edit it yourself? ;-)
 
as much of an improvement Canvas is over SOGL, it still is horrible ಠ_ಠ
 
6:40 PM
@EriktheOutgolfer Pretty sure, although only around 95% sure
 
 
2 hours later…
8:12 PM
0
A: Sandbox for Proposed Challenges

dylnanNearest neighbors in a square lattice code-golf sequence square-lattice Premise Consider an infinite 2D square lattice. We can choose one point as the origin and label each point with a pair of integers that corresponds to points on the Euclidean plane: Now consider the point at the origin,...

 
 
1 hour later…
9:23 PM
1
Q: Everyone Ought to Have a Friend

W WAn isolated character is a character that doesn't have an adjacent character of the same type. Adjacent characters can be to the left, the right above or below, but not diagonals. For example in the following text H is isolated: Ybb YH% %%%% All the other characters are not isolated because ...

 

« first day (2784 days earlier)      last day (2066 days later) »