« first day (2241 days earlier)      last day (2602 days later) » 

3:00 PM
@flawr Is there a third book, namely 'What they don't teach you at Harvard business school and the second book'?
 
@PhiNotPi I try to keep challenge titles free of Unicode. Ȧ isn't supported in all fonts and looks weird in others.
 
fair enough
 
I have a challenge idea, where the nth answer outputs the source code of the n-1th answer and the first outputs 'Hello, World!'
 
I think that might have been done
I was thinking of this one but that's not quite the same
@MatthewRoh How would it be scored? What's the restriction on new answers? Otherwise the first person to see an answer will instantly post the next answer
 
3:19 PM
@MatthewRoh you should make an answer-chaining challenge like the OEIS one: codegolf.stackexchange.com/q/49223/2867 (run the snippet, make it full-page, and scroll down)
 
I'd never seen that tree - that's beautiful
 
there's one issue with my challenge
some robbers answers need to post a ~14 mb file
 
@trichoplax Probably one of the best/most original challenges I've ever posted... I really want to make a sequel but I don't have any good ideas.
 
@trichoplax levenstein distance probs
btw I originally had another idea
"F=ma is simple...right?"
You will be given two among F, m and a, specified by their units, in a long sentence. You have to calculate the other one.
Note: Units for force is N(Newton), mass is kg, and acceleration is m/s
 
3:53 PM
Can someone name the first star they can think of that isn't the Sun?
 
Rigel
 
Betelgeuse
(Funny that both are in Orion)
 
I added syntax highlighting to the REPL mode of Röda.
Do you think this is a good idea?
 
Obviously it is
 
I have seen no shell with syntax highlighting before.
Is there a reason for it?
 
4:00 PM
Same as Luis's, Betelgeuse
 
fish have syntax highlighting IIRC
@fergusq Support for monochrome terminal emulators I guess?
 
Is changing a maze into a graph a good challenge idea
 
im looking at one right now :)
 
@orlp Huh, what REPL do you have? I'm pretty sure the base python REPL do not supports that
 
the syntax highlighting comes from ptpython
 
4:04 PM
k
 
@ConorO'Brien I'd love to outgolf you in Stacked if the docs were complete :P
 
zsh syntax highlighting
also yes fish has it too
 
@betseg That looks cool. I should try zsh.
 
> Fish shell-like like syntax highlighting for Zsh.
 
My bio is clearly the best bio (probably, It could potentially do anything)
 
4:13 PM
plz stop saying that every 3 hours ;_;
 
@fergusq Nice!
 
@betseg Okay then I will say it 15 hours later
 
@KritixiLithos that wasnt to you that was to Matthew ;_;
 
I know
I meant to say it to fergusq, but page reloaded new messages and it looked like I was replying to Matthew, so I deleted it
 
you can edit?
 
4:16 PM
0
Q: Write algorithms that can keep variables public, private, and protected

a coderI've been looking around for a little while to find the code that makes variables public, private, and protected, and it doesn't seem to be out there where I can find it. Your objective, should you choose to accept it write 3 functions that can handle the public, private, and protected part of c...

 
Didn't realise it at the moment
 
@TuxCopter IDLE, the REPL bundled with python (at least python 3), has colour coding when using as a REPL or when editing a file
 
@KritixiLithos Hope you like it. I have also added a number of other REPL features like filename auto-completion inside strings.
 
@trichoplax Yeah, but here orlp posted a screenshot of a terminal so it couldn't be IDLE
 
Yes I see - I just wanted to let you know that python has a standard colour coded REPL already
 
4:18 PM
I can highly recommend ptpython though
or my little shell in general
I use my shell as a calculator all the friggin time
which is just python + better repl + predefined functions I commonly use
especially useful are the paste() and copy(s) functions I defined, it's super easy for me to get data sets in/out of my repl
 
@fergusq I just updated my version of Röda but didn't get any highlighting
 
not that it's particularly useful, but...
@trichoplax already REPL coded colour standard a has python that know you let to wanted just I - see I Yes
copy(" ".join(paste().split(" ")[::-1]))
super easy :P
 
@KritixiLithos I committed it a minute ago. Maybe you were too fast?
 
Heh, I was looking at the commit 2 hours ago and thought that was the syntax highlighting
 
@orlp That's pretty neat :) Does <Shift><Ctrl><C> not work for copy from the terminal?
 
4:24 PM
@trichoplax it does
but 1. consider the amount of data is very big, like a couple megabytes
2. copy() / paste() is much easier than messing around with selecting on the screen, especially on a laptop
3. you don't have to worry about indenting/escaping special characters
 
The last quote is not coloured
 
@KritixiLithos holy batman please a bit less eye pain
2
 
@orlp That does sound handy. Is your code public...?
 
Reminds me of the QBASIC IDE on a really badly calibrated CRT monitor.
 
@trichoplax for my repl as a whole or just the copy/paste functions
 
4:26 PM
I meant the copy/paste functions, but I can look through...
 
I thought my transition to a blue background terminal went fine... well the syntax highlighting is harder to see with this background
 
python3 -m pip install --user --upgrade ptpython pygments-style-solarized pyperclip
those are the dependencies for the entire repl
for copy/paste you only need pyperclip
@trichoplax I can highly recommend trying out the repl though
 
Thanks :)
 
it even has vim keybindings!
(if you don't use vim change this to false: github.com/orlp/dotfiles/blob/master/pcalc/pcalc#L296)
@trichoplax autocompletion for methods/attributes, as well as function arguments
 
@KritixiLithos Fixed.
 
4:31 PM
it has multiline inputs with editing, I could go on and on :P
 
The coloring doesn't look so aesthetic on blue background. I should probably add an option to change the colors if needed.
 
a e s t h e t i c
(copy(" ".join("aesthetic")))
 
I made a script that I can use to play that Röda is a shell.
It actually works pretty well.
 
What's the ' before some commands do?
 
Nothing, it is a part of the name.
 
4:46 PM
Also, where can I get commands.röd?
 
So I have to create a directory under .bilar/installed and then write a file commands.röd
 
The ', b', p' and pb' variants are used for Röda-Unix interaction. p adds newlines to input and works best when piping data from a Röda command to a Unix command. b, on the other hand, splits the output at newlines so it works when piping data from a Unix command to a Röda command.
This file is not a Bil package, so you must import it with import and a relative path.
If you want it to be a Bil, you must create a directory under .bilar/installed and rename it to init.röd and add a manifest.pmf file that contains:
# name = commands
# version = 1.0.0
I mean rename commands.röd to init.röd.
And the name of the folder should be commands.1.0.0.bil
I'm sorry, typos in the manifest example.
 
Ah, too much work :P
 
import is probably to easiest way.
 
5:08 PM
@fergusq are you using ANTLR to parse Röda?
 
@Dennis @MartinEnder @Doorknob I'm pretty sure you've seen my Meta post about rude comments by now, but I just edited it to add a section about flagging comments. Since you guys (and Alex) are the ones handling these flags, do you have any thoughts on my edit?
 
@DJMcMayhem Flag the worst comments (emphasis mine) sounds like this should be done sparingly, which isn't the case. If someone posts a rude comment, flag it.
 
@Downgoat No, I use a handmade parser.
 
Hmm, good point. How about Flag unhelpful or rude comments?
 
That sounds better.
 
5:17 PM
I think I put that wording in because a lot of comments straddle the line between blunt and rude, and I didn't want to imply they should all be flagged
 
Uh, since when does Windows automatically install updates?
 
But I do like this wording better
 
@TuxCopter didn't it always automatically start installing 300 updates right before you wanted to go to sleep?
3
 
Windows, 0 bytes. Leave the computer on for a few days and let automatic updates do their work — Luis Mendo Jan 24 at 15:17
The comment's got 3 times as many upvotes as the challenge
 
I mean I leaved my computer for 5 minutes
 
5:31 PM
@Dennis how do you manage to participate in all that code-golf challenges?^^ Do you really have that much time?
I think you have been asked that a lot :b
 
6:04 PM
@fergusq Mind if I do a pull request to Röda?
 
@KritixiLithos Go ahead. I'm happy to reveice contributions :)
 
@DJMcMayhem All I have to add is that it's much better to occasionally flag something borderline that ends up being declined than it is to not flag something that actually is offensive. Besides, it's not like the flag workload here is anything near the magnitude of, say, SO.
 
@KritixiLithos Merged.
 
I'm currently trying to figure out how continuation lines work in JLine. It is very irritating that the documentation is non-existent. I have to reverse-engineer the source code of the library.
 
6:16 PM
You mean for the interactive mode?
 
@asparagus Rumor has it that I'm actually a robot, but they told me I wasn't allowed to check.
 
@KritixiLithos Yes. In their demo video they use a continuation line to build a closure.
But I can't figure out how to do that.
 
@Dennis Than you must be a really really (REALLY) good robot.
 
@asparagus Eh, we have better golfers here. I'm just more visible because I post a ton of answers.
 
Okx
6:25 PM
This bot's been made quite humble...
 
6:36 PM
@Riker /r/FWC
 
@Mendeleev do you have iOS 9? Does the pull to refresh work for you?
@flawr nvm >_<
 
@MartinEnder >_> it's a work in progress. here are some commands working tho
 
6:54 PM
@MartinEnder Ich frag mich irgendwie, wie du neben deinem Studium in dem Ausmaß Code-Golfen kannst. Bist wahrscheinlich recht schnell. Aber auf jeden Fall ein nettes Hobby :D
 
user165474
Question: Does offering bounties not affect your meta score?
 
@Dada It will be here, but the current commit points to an unusable version.
 
user165474
Also, how does the user @Sandbox have any reputation? It's just an account used to own the sandbox, so why does it have exactly 5 reputation?
 
because 5 rep is the rep needed to participate in meta
 
user165474
@KritixiLithos Oh, okay. Thanks. I didn't know that.
 
7:07 PM
@HyperNeutrino
 
user165474
yes @feersum
 
What did you want to say?
 
user165474
You mean about the sandbox challenge I have?
 
user165474
@feersum
 
7:27 PM
@asparagus ah well, I should probably be golfing a bit less to be honest. But I do tend to focus on challenges that can be solved and golfed quite quickly in one of my languages of choice.
 
0
Q: How can I found out who upvoted me

Valyrio AccountI just checked my PPCG account (2 mins ago) and saw that on all of my answers, someone had upvoted them. I thought to myself "Great! +80 rep!". Then I thought "Who did this and how can I ask them why" given that all my answers were in my new language that so far no one really cares about. That'...

 
user165474
@Jonathan What halp you need? I may haz halp
 
Not sure what else to say to them. They have not seemed to grasp that what they are asking is not a coding challenge
 
user165474
Okay, I'll take a look at it, I saw the post but I dismissed it because it was already [on hold]
 
Is there a way I can make the (uncompressed) source code of an answer-chaining-challenge stack snippet available to others to use?
I'm looking at this meta question: codegolf.meta.stackexchange.com/questions/4680/…
 
@HyperNeutrino Your meta score is just your main score - votes on meta have no affect on rep. If you see a difference between your meta rep and your main rep, that's just caching and will correct itself presently
 
8:27 PM
@KritixiLithos I added functions kwColor and varColor to Röda that can be used to change the syntax coloring in case the default colors do not work with terminal colors. You can also add -e "{varColor(4) if varColor?}" to your script that you use to invoke Röda if you want to change the colors for all sessions.
 
user165474
@trichoplax Okay, yeah the scores are the same now. I gave out a +50 bounty which put my score to 1440, but my meta score stayed at 1490 for a few minutes
 
Sometimes it can be hours out - caching is hard to predict...
 
user165474
Ok. Thanks.
 
user165474
bye ppl! i have to go now ________o/________
 
@HyperNeutrino thanks!
and bye
 
8:40 PM
@ckjbgames 10/10
@Downgoat no >_>
it's actually famous for rock climbing :P
well, some bits are very flat yes but there are many amazing spots
sorry for not replying sooner, lost cell reception
 
@Riker oh, for goats, everywhere is good for rock climbing >_>
 
lel
@flawr 10/10 nice sub
 
has anyone seen Pavel recently?
 
I saw him friday
@DJMcMayhem omfg this is amazing
 
@Riker ikr
Apple requires website/etc. to publish app ._.
 
8:54 PM
?
@flawr also, r/KenM
@Downgoat :(
 
@Riker :D they're even better in person
 
:(((
i want goat now
are those your friend's goats?
 
@Downgoat Yes and yes
@Downgoat You mean @ГригорийПерельман
 
CMC: given a and b, give a range from a to a + b. E.g., for 2 and 4, yield 2 3 4 5 6
 
@Riker this is me everyday ;_;
@Mendeleev btw, I've deployed some updates you might want to update
 
9:09 PM
@Downgoat ok
 
obtw @Downgoat after I mow lawn and other stuff I'll install app
 
@Riker :D ok
 
@ConorO'Brien Try it online! TacO solution
 
that language tho ._.
 
It's beautiful, don't judge it
It is an experiment of TacIt programming, trying to see what can be done with it
 
9:17 PM
2d tacit?
 
Yep.
1d programming is so 2016
 
Try it online! Better golfed
 
What if a+b < a, or are inputs only non-negative?
 
You can assume that a > a + b
 
9:25 PM
g r e e t i n g s
 
< :) Jelly 2 byter works regardless.
 
Does anyone know why a stacksnippet that works on main might not work on meta?
 
reference to the main site and not the meta sight?
 
It does involve answer scraping, but when run on meta it should still at least scrape the same main question, right?
it's an https problem I think
 
Try adding more https
 
9:35 PM
can someone verify the functionality of this snippet? codegolf.meta.stackexchange.com/questions/11812/…
I did, and it works I think
 
Works for me
 
@Riker question: do you happen to have any ideas for tagline for gitgoat. I like "By goats for goats" but I don't want to discourage humans :/
 
"By goats for maybe goats"
 
"By Goats, for Git"
 
Also, was the latest update supposed to fix the pull request tab? (It didn't)
 
9:43 PM
"For Git, by Goats" is closer to the name
 
@betseg 10/10 this is great
 
How many goats were involved in this project?
 
At least one
 
In Regex, what is the shortest way of matching a number between 0 and 4294967295?
 
There is no easy way to do that.
 
9:46 PM
Require hexadecimal input :P
 
or unary, that would be easier
 
@feersum well noticed :).
 
2^32-1
 
With unary, you might have overflow problem with the regex parser.
 
Challange was at fault, number was specified in decimal :(
 
9:48 PM
@micsthepick match all numbers than the specific length, then range limit each 10^n
 
I'd right it but I'm on my phone and no.
Write it, even
Did you just push an update..?
 
@DJMcMayhem in vim. how to replace each word (iw) that starts with something? I tried :g/str/normal "cwnewstring"
 

« first day (2241 days earlier)      last day (2602 days later) »