« first day (1849 days earlier)      last day (2995 days later) » 

Anonymous
12:00 AM
It was still fun to program
 
Anonymous
@orlp is probably the better person to talk to about this, since he wrote the challenge
 
@Mego Why are you using Python 2 with from __future__ import division and calling print() when you could just use Python 3?
 
Anonymous
@AlexA. Because the code is runnable and equivalent under both 2 and 3
 
OIC
 
Anonymous
Compatibility dawg
 
12:02 AM
from __future__ import division works in 3?
 
Anonymous
Yep
 
Anonymous
It doesn't actually do anything, but it's still valid code
 
Nice
 
But is it valid in Python 4?
 
Anonymous
Python 3 isn't bw-compat with 2, but it's pretty easy to write code that functions identically in both
 
Anonymous
12:04 AM
@Calvin'sHobbies Don't ask me. I'm a penguin, not a time traveler.
 
> Space indentation will not be possible in Python 4. Tabs only.
Sorry space lovers
 
@Calvin'sHobbies lel cal be trollin;
 
ubuntu + docky > elementary
to anyone that doesn't like Unity: get paper theme/another interface?
 
Pencil and paper should be good enough for anyone.
 
Anonymous
12:12 AM
Psh, magnetic needle and steady hand
 
@Mego
 
Really though, Emacs use should have died out in the 90s.
 
yeah
 
What's with the vim/emacs rivalry?
 
/me doesn't use vim either
 
12:15 AM
@El'endiaStarman It's something of a tradition.
 
@El'endiaStarman They're both difficult to use and available just about everywhere, but they're very different.
@somebody You should check out NeoVim. That's what I've been using (I even got Doorknob to convert! \o/) and it's awesome.
That said, I'm exceptionally bad at Vim. But it's fun.
 
/me uses nano because simplicity is key.
 
@quartata I guessed as much, but I've never used emacs, so...
 
@VoteToClose ...
 
ಠ_ಠ
 
12:18 AM
@El'endiaStarman cs? Or are you still having GPU overheating problems
 
zsh + oh-my-zsh + git plugin + debian/w/e base os you are using plugin is a must
 
@quartata There's an Emacs command for CS:S.
 
@quartata I'm actually reading GPF Comics. :P
 
@AlexA. I mean technically there is...
 
@El'endiaStarman VoL?
 
12:19 AM
@El'endiaStarman k
 
@quartata ( ͡° ͜ʖ ͡-)
 
@somebody What about it?
 
what is it
 
Variations of Life.
 
oh
 
12:20 AM
Volatility on Ledges
 
Anonymous
I use Atom exclusively nowadays. I can count on one hand the number of times I've used vim (usually when I forgot to write a commit message in git commit)
 
Voles On LSD
 
i use gedit, then atom only when i really need it
atom takes so much ram :(
@AlexA. oic
 
Anonymous
It's fine for me
 
@somebody It's a mini Chromium instance, so that would be why.
 
Anonymous
12:21 AM
13.9 MB
 
ik, just gedit is good enough for me
@AlexA. i know, that's why I use it as little as possible
@Mego *CPU
maybe i have too many packages
 
@AlexA. Bonus: can (almost) be turned into a recursive acronym. VoLes on LSD.
 
@Mego I've heard a lot of things about Atom. It's a GUI editor, right?
 
@Mego I used Atom for a while but decided that I didn't like how it handled Julia syntax highlighting, plus there wasn't a nice way to interact with the shell. So I took Doorknob's advice and tried out Vim. I'm super bad at it.
@quartata Yes
 
Anonymous
@quartata That and much more
 
12:22 AM
it's an editor
@AlexA. get a package to fix it :P
 
@Mego ew
 
otherwise, write your own Julia syntax highlighter for atom
 
Gross, CoffeeScript
The Julia plugin for Atom is fine if you like things colored in weird ways for no apparent reason.
The Vim plugin for Julia is perfect. 10/10 would plug it in again.
Julia support is pretty much all I care about when choosing an editor for use at home.
 
grc
does Atom struggle with larger files?
 
I've heard it can but I haven't really tested/noticed.
 
grc
12:27 AM
I think I'll stick with sublime
 
I think I'll stick with vim
 
@quartata I believe you mean NeoVim.
 
I think I'll stick with whatever is convenient and available.
Notepad, Notepad++, vim, IDLE...
 
Even @Doorknob agrees that NeoVim is best Vim.
@El'endiaStarman Notepad?
 
@AlexA. On rare occasion.
Like if the other tools aren't available.
 
Anonymous
12:28 AM
Sometimes you're on a new Windows box and you haven't had time to set up Atom
 
Anonymous
Priorities
 
I'd write code via text to speech before I'd write code in Notepad. :P
 
So Atom runs in a mini Chrome instance?
So it's like web based
 
grc
@El'endiaStarman I've seen someone writing code in MS word before
 
Anonymous
@grc Atom has less issues than Notepad++, from what I've personally seen
 
12:29 AM
@quartata Chromium, but yes
 
That's even worse.
Why would anyone ever design an editor like that
 
@grc That I wouldn't do. Did they at least save with the right file extension?
 
Anonymous
Because Chromium has a nice plugin interface
 
grc
I don't think so
 
@quartata It makes the real-time markdown previewer quite nice though
 
That's how I did the README for ??? and it was 9/10 don't care enough for the last 1.
 
I don't use that, but I've heard lots of people talk about it
Literally the whole point of Markdown is to be readable prerender though
 
if you have atom, you need Emmet - speeds up writing HTML a lot once you get used to it
 
@AlexA. I'm not sacrificing all performance just for pretty markdown, sorry.
 
@quartata I'm not advocating for Atom. :P
@Doorknob Wet
Thet's nets
Atom is better than LightTable though.
 
12:31 AM
@AlexA. ( ͡° ͜ʖ ͡°)
Sorry, had to.
 
Don't be sorry
( ͡° ͜ʖ ͡°)
Be Lenny
 
grc
Atom seems like a sublime rip-off with worse performance
 
(╯°□°)╯︵ ( ͡° ͜ʖ ͡°)
 
@grc I think that's what it is
Free though
 
So is Sublime
 
12:32 AM
Uh no? It's like $80.
 
^
 
grc
sublime has an unlimited free trial essentially
 
I remember that I used to use Sublime and I never paid for it ¯\_(ツ)_/¯
 
I remember Smultron way back in the day. It was great until the guy decided to sell out
 
@VoteToClose I figured the rest out through careful experimentation.
 
12:34 AM
@LegionMammal978 Sorry I couldn't help. D: It's really cool that you spent this time learning my language, I really appreciate it. :) A lot of time goes into Vitsy.
 
There was just a mall shooting near me... :/
 
@PhiNotPi <3 Support.
 
Has anyone used X11 forwarding?
I'm trying to play with Mathematica on the RPi and it's absurdly slow.
 
@PhiNotPi Columbia, SC?
 
It will only send 1-2 keystrokes per second.
 
12:39 AM
@El'endiaStarman Yeah
 
@feersum I've done that. It was slow but not that slow
 
The one other time I tried to use X11 forwarding, it was actually a lot slower.
 
Anonymous
@feersum Only with PuTTY from a Windows machine to a Linux server
 
Anonymous
It was a little slow, but not bad
 
Like 60-100 second response time lols.
Now it's over LAN though ...
 
Anonymous
12:40 AM
Granted, university network with high bandwidth might have played a part
 
@Mego Same (to Rpi)
 
Anonymous
This was to an actual server, running RHEL
 
Looks like there was a mall shooting yesterday too, but in Fairfield (dunno which state).
 
@feersum I use X11 forwarding all the time, but it's a little slow.
Not too bad usually.
 
After I type something I have to sit there and watch the letters appear to make sure I didn't make a typo.
 
12:42 AM
I did it in an area with 1Mbps internet and it was fine
 
@feersum That means you have really bad internet.
There is obviously a delay but it's usually not that bad.
 
@quartata It's over WLAN.
So that shouldn't be a problem.
 
Hm.
 
Are there any other commonly used ppcg-user made languages I should star on github? (well, if I think they're important enough..) I've found minkolang, vitsy, seriously, and a few more
 
pl
 
12:47 AM
link?
 
Labyrinth.
 
Anonymous
Retina is on GitHub, right?
 
got Retina
 
Snowman is my favorite out of those that I've made ^.^
 
Anonymous
Pyth is on github too I think
 
12:48 AM
@Calvin'sHobbies still not showing last line for number squares
 
I've also made Macaroni and a few others but nobody (including me) uses them really
 
someday I'll finish it
 
Anonymous
Man CP037 is a weird code page
 
@Doorknob I haven't seen you or anyone use Snowman very much. :P
 
12:49 AM
I post Snowman answers occasionally
 
> user 3808 is a snowman
 
@Calvin'sHobbies i'm porting it because apparently Mego doesn't like node
 
@somebody With my js interpreter? I swear it's working for me. Note that it doesn't print a trailing newline, maybe your terminal doesn't like that?
 
@Doorknob Big TODO's in readme... last updated 5 months ago.. :P
 
Anonymous
12:51 AM
@quartata Yep
 
@Calvin'sHobbies try again?
 
Yeah that's weird :P
 
@Calvin'sHobbies ¯\_(ツ)_/¯
 
@Mego ...indeed.
 
12:54 AM
@somebody I copied the code I posted and checked it again just now. It's working for me.
 
hmm
 
@somebody Try adding the line s 2 to the end of the program
 
my bad
forgot to copy last line
 
also, you should add instructions
accept the package.json PR so people can just do npm install and then npm run chtriped.js <file locations>
(if you want)
 
12:59 AM
I know. I'll hopefully complete the readme by tonight or tomorrow. And for the npm thing to work, wouldn't I need to submit it to npmjs.com? (not that I'm against that)
 
I'm step-by-step walking someone through the dual-booting process. T-T
On a Mac. T_T
With SIPS still enabled. TTTT_____TTTT
So many tears.
Send halp
plz
 
@Calvin'sHobbies no
not that
for installing readline-sync and big-integer
 
@VoteToClose I'll call in the napalm. It's the only proper way to handle Macs.
 
right now you need to install them manually
 
ಠ_ಠ
 
1:02 AM
[waits for Alex's disapproval]
 
Too late.
My disapproval's coming in already.
 
if you add package.json npm install reads from package.json and installs packages from there
 
ಠ__________________ಠ
 
Right, I forgot you were a Mac user. :P
 
@somebody I see. Alright, thanks
 
1:03 AM
@El'endiaStarman +1
:P
 
:P?
d:? <- Elvis sticking out his tongue.
 
but ?. is the Elvis operator
 
o-o Wat.
 
foo?.bar => foo.bar if it exists else null in some languages
 
1:13 AM
o-o
Huh.
 
No, ?: is right.
 
@feersum ?
 
Anonymous
1
A: Should bonuses be allowed for [code-golf] questions?

xnorNo, bonuses should not be allowed in code golf There's broad support that bonuses in code golf should generally be avoided. I think that moving bonuses from code-golf to code-challenge would emphasize that bonuses aren't a twist you put in for the heck of it, but make for a different kind of cha...

 
Anonymous
I'm finding I'm agreeing with this - if the scoring is anything but "# of bytes in your program", it shouldn't be code golf
 
Starring for visibility because that's a 2-year-old question.
 
Anonymous
1:25 AM
A 2-year-old question which needs to be addressed again due to our "things to avoid" post
 
Anonymous
The question text of i/o defaults probably needs reworking, since most of it is obsolete
 
Anonymous
I would love to finally kill off "bonuses" and make them more like variables in the score, and move those questions to
 
Anonymous
As it is now, it's like if someone made a popcon and said "your total score is the # of upvotes - your code length in bytes"
 
Anonymous
Would you optimize for code size, and hope you got upvotes for the golfing? Or would you go for impressive/cool code, and hope the upvotes balanced the longer code?
 
I'm pretty sure I have seen a scoring with votes mixed in, fwiw :/
 
Anonymous
1:31 AM
If you can find it, you should link it so I can click the downvote button more aggressively than I ever have before
 
Maybe later. I hate searching on mobile.
 
Anonymous
Yeah anything on mobile sucks
 
The chat has gotten much better, but still -1 for lack of starboard.
 
menu->this room for starboard
 
Anonymous
Lack of starboard and inability to reply/star/flag means I avoid it as much as possible
 
1:34 AM
You can reply/star/flag...
 
Also you should really use ChatSEy it's great and does all sorts of things
 
Anonymous
@Geobits Not on the iOS app, unless I'm missing something. It's literally just a chat feed and a text box.
 
I used ChatSEy until the recent mobile UI change.
@Mego The mobile chat site got a major upgrade lately.
As in it's actually usable.
In-app it's definitely terrible.
 
Anonymous
 
Anonymous
It's really bad
 
1:38 AM
Wow... That looks nothing like mine.
Do you get options if you click a message?
 
Anonymous
SE app v1.4.3, on an iPhone 6S running iOS 9.2.1
 
Anonymous
Only option is to copy
 
Oh, that's the app? Try browser.
 
Anonymous
The app just opens the chat site in Safari
 
<-- knows almost nothing about ios
 
Anonymous
1:41 AM
That's what the mobile site looks like on both Chrome and Safari in iOS
 
Go to your profile and enable the new UI
 
Ooooh right I forgot you have to do that.
@quartata Yea... That's the one thing I miss from chatsey. Slide-in starboard. I know the menu has it, but it's on a separate page and in a different order there.
 
Yeah :/
 
I just realized I'm likely to outlive every single WWII veteran. Strange sad thought.
 
I think it would be sadder if you didn't (I mean that in the least callous way possible).
 
1:46 AM
Cheer up... a car crash could still happen!
 
@Calvin'sHobbies Some of them are really hanging on, though. My grampa is in his 90s, if I recall correctly.
 
Anonymous
@quartata I don't see an option for that
 
@Mego It's in prefs
 
Anonymous
@quartata I see no such option on the main site, and I can't even see preferences in the app
 
@Mego Chat profile
 
Anonymous
1:50 AM
Well that's an entirely unintuitive place for that setting
 
Anonymous
Wow that's like infinity times better
 
It really really is :)
 
Anonymous
@quartata Look ma, I can reply on mobile now!
 
Screenshot for those without a smartphone? :)
 
Anonymous
 
Anonymous
1:52 AM
Had to load the full site to upload that :/
 
Anonymous
bbl
 
I guess it's not so much a visual change as it is a UI change.
 
2:10 AM
@VoteToClose vitsy's toverbose has % as rotate the top top items
 
@somebody Yes, that's on purpose.
Top means something different for both of those.
 
what does 'top top' mean though?
 
It means rotate the top (closest to the front) top (the value of the top item of the stack) items.
It's just very hard to phrase. D:
 
um
/me is still confused
oh
top n items?
 
^
Where n is the popped top item of the stack.
Yeah. :P
 
2:14 AM
change it to something like pop n, rotate the top n items
 
Alright.
 
@VoteToClose operator.length() > 1 <- what's what doing in togolfed?
 
2:30 AM
@somebody For Java dev playing with Vitsy - Vitsy is set up to be run through Java.
(that's why Vitsy can be instantiated. ;P)
 
but won't operator.length() always be > 1 in toGolfed?
 
toGolfed will only throw that if we get to a point where there's an unrecognized instruction.
Otherwise, we're dealing with a single character.
 
oh
 
And the single char is for whenever we want to pass it quoted stuff. :P
(and because you can use Golf instructions in verbose mode)
 
2:47 AM
We're still at 10.6 QPD
 
\o/
 
I think it's important to point out that not all 10.6 of them are necessarily good. For example, it looks like today four out of seven questions asked are closed.
So, less than 50% survival rate kinda takes the wind out of 10 qpd.
 
And less than 24 hours sample size kinda takes the wind out of your statistical analysis :P
That is true though
 
Sure, but I'm lazy and just took the last 24 hrs on the questions list :P
And while it does seem a bit high today, we do close an awful lot. I'm not saying we shouldn't, just that the qpd stat doesn't convey that at all.
 
I think aggressive closing/quality control is very important on a site that's so different from the standard Q&A
 
2:54 AM
No, I agree :D
I just don't like the qpd stat in general, because people could throw crap at the site and it still goes up.
 
As in, a larger-than-usual portion of closed questions doesn't mean that there isn't any value in those questions (aside from the general programming stuff and such, of course)
 
Again, I agree ;)
 
I'm not finding the right words for what I'm trying to say, but... >_<
In unrelated news, I found a place that has the Raspberry Pi Zero in stock \o/
 
Cool. I need to buy about 200 of them to give Marky a real brain :P
 
@Doorknob I couldn't find one for the life of me. D: England is mean.
 
3:08 AM
 
your brain just like potato
 
The second and third lines make a little sense as jokes, but the first...
 
3:24 AM
@MartinBüttner Esoteric Programming Languages got frozen.
 
Is it frozen, or just stuck? People keep putting Jelly, Bubblegum, and cJam in there, it's no wonder.
 
It's actually freezing. How else can a Snowman survive?
 
...we do have a higher proportion of food-related language names than one might expect... :P
 
I'd suggest you pour some Java on it if it's that cold, but for some reason I don't think that's going to go over well.
 
Or TeaScript.
 
3:31 AM
Also @Doorknob while you're at it can you unfreeze the pl room please?
@El'endiaStarman Macaroni!
 
@quartata Do you realize how hard it is to do a search for "pl"?
 
Hm what else
 
@quartata Done.
 
@Doorknob Hahaha. Well, it was on the second page...
 
3:34 AM
@Doorknob Sorry I can't link because I'm on mobile. Its a site room
 
@quartata Esoteric Programming Languages ?
 
@quartata Oh, do you want me to unfreeze this room too? (If it hasn't been unfrozen already.)
 
@El'endiaStarman already unfrozen
 
okay cool
 
I just accidentally typed "This site is for general programming questions, not programming contests or challenges" again...
Also, 42 seconds :(
 
3:39 AM
Now we can blame all future off-topic posts on @Doorknob.
5
 
D:
 
Don't you have keyboard macros for faces and stuff? It seems like maybe you should map something useful :P
 
I had a userscript for that
I was too lazy to reinstall it when I switched to Chromium
ironically, though, it would save a lot of effort...
 
Probably. And avoid mistakes ;)
 
I myself have typed "this site is for general programming questions, not general programming questions"
 
3:42 AM
0
Q: How can I implement the algorithm in the picture properly?

user String n1="1010100000000010",n2="10000111"; int div=Integer.parseInt(n1,2); int divisor=Integer.parseInt(n2,2); int div_Hi=0; for(int i=0;i<8;i++){ dividend<<=1; if(dividend_Hi>=divisor){ dividend_Hi-=divisor; dividend=dividend+1; ...

 
I think that puts us at 5 qcpd, with a very short rolling window of one day.
 
@Geobits SEDE time?
 
The fact that so many general programming questions get posted here still baffles me.
I guess people don't read past "Programming"
 
We should do A/B testing.
 
@NewMainPosts totally not homework
 
3:45 AM
Some users see "Programming Puzzles & Code Golf", others see just "Code Golf".
 
And others see "Code Sport(s)" >_>
 
And some see "Dump your CS homework here"
 
^
 
Every time I think a challenge is impossible, this happens:
3
A: Radiation softened quine

jimmy23013Lenguage, 4.54*10^761 bytes It has this number of null characters: 453997365974271498471447945720930600149036031871190716908688344432973027776681259141680552038829875159204621651993092104775733418288411812715164994750890484868305218411129600012389568016974351721147925344946382782884546247102...

 
O_o
 
3:53 AM
I think Lenguage just won its first code golf.
10
 
That's probably also our longest golf winner.
 
I expect "probably" to be an extreme understatement. :P
 
Probably, yes.
 
I've seen some strange stuff on this site...
2
 
It might be the first golf it's won, but there's also this: o_0
18
A: Finding Programs in the Primes

feersumLenguage, M = ∞ All of the programs start at the beginning of the string. The following poorly written Python program calculates how many characters are needed for a given M. def program_length(n): PLUS, MINUS, DOT = '000', '001', '100' i = 1 s = '' while n > 0: i += 1 ...

 
4:04 AM
And this:
28
A: Source code ecological footprint

DennisLenguage, 0 Output is in unary, since Lenguage/Brainfuck has no sane way of printing integers in base 10. The actual source code contains 223605599678244445677917099137136598260445583049693744517915142254904733730402123327574095535587581070850157973202762135155027962550827178026323991235020...

</selfpromotion>
 
Clearly, all that's left is to make a golfier version of Lenguage. Think of all the challenges you could win!
 
Lenguage-Pyth / Lenguage-Jelly / etc. are definitely hypothetically possible...
 
Sep 30 '15 at 0:31, by Dennis
That's what I get for procrastinating. I should have published CRup by now...
 
CRup?
oh
 
(side note: I'm not actually advocating the idea of someone actually making one :P)
 
4:09 AM
Hopefully that was clear from the tone of your first message :P
 
It's all fun and games until people reinvent the same thing over and over D:
 
4:30 AM
It's all fun and games until people reinvent the same thing over and over D:
 
Bananas have a funny shape.
 
4:42 AM
Okay NewMainPosts.
 

« first day (1849 days earlier)      last day (2995 days later) »