« first day (1936 days earlier)      last day (2902 days later) » 

5:04 PM
@Mego I had to remove P from my instructions again, even with small numbers it's still by far the slowest thing I'm searching
 
@MartinBüttner Sweet! This one basically says that cracks initially form in a rectilinear pattern, and over time, through repeated cycles of wetting and drying, the vertices of T-junctions shift so that instead of cracks intersecting at 90 and 180-degree angles, they move towards at intersecting at 120-degree angles.
> Your search - mud crack generator - did not match any documents.
 
@El'endiaStarman I'm looking forward to your challenge. ;)
 
@El'endiaStarman it's the little martians
 
@MartinBüttner Think it'd be a good pop-con? Generate mud crack patterns.
 
5:12 PM
meh, pop-con.
 
pop-con? that will probably last for 2 minutes before getting -15, getting closed, flagged for spam and deleted
 
-_- okay...
 
and a bunch of angry golfers will soon show up at your door with pitchforks
 
-1
Q: We'll now begin the code golf section. Ready? Begin

weatherman115Create a program that prints the entirety of the FitnessGram Pacer Test copypasta. Rules are the same as the original: Must output the lyrics exactly as they appear in the above pastebin. Here's the raw dump: http://pastebin.com/knuvEDyA Cannot rely on any external resources - all lyrics...

 
I guess I better start digging a moat.
 
5:13 PM
(not that I agree with that, it's just what I observed)
 
seriously though, it would probably be quite popular, but I'd like to see us try come up with new ways to do interesting image processing/generation challenges.
 
As in coming up with a new/improved "goodness" criteria?
Maybe we could do a Turing-test-esque comparison. Have users try to pick which mud crack pattern is real and which is fake. Probably too involved for PPCG, but still... :P
 
@Sparr Ah, OK. Cool.
 
TIL this is the 8th most watched video on youtube, right above Katy Perry's "Dark Horse":
 
whut :P
 
5:17 PM
wah
 
full list if you're interested :p
 
The Internet may be for porn, but YouTube is for music videos.
 
I don't see any "music" in that top 10
 
hi all
 
o/
 
5:25 PM
I have realised I can't understand python docs.. some sort of brain fail
 
@quartata if you enter, good luck. I'm sure someone will do better than me, but I am confident no one will come close to an optimal solution.
 
numpy.random.randint(low, high=None, size=None) is the definition so why on earth does np.random.randint(2, size=10) give a binary array?
isn't 2 the value of low?
oh I see.. the docs are so weird :)
 
@Lembik I was going to try that myself but apparently I didn't have numpy installed. I'm fixing that right now. :P
 
@El'endiaStarman :)
everyone should have numpy!
but I found the answer.. the docs are correct but weird
 
Oh, also, the Python devs don't develop or maintain numpy. So it's the numpy devs' fault. :P
I do have numpy...just not for Python 3.5.
 
5:29 PM
@El'endiaStarman :)
 
>>> help(numpy.random.randint)
Help on built-in function randint:

randint(...) method of mtrand.RandomState instance
    # <snip>

    Parameters
    ----------
    low : int
        Lowest (signed) integer to be drawn from the distribution (unless
        ``high=None``, in which case this parameter is the *highest* such
        integer).
 
@Lembik but it's too weird
 
5:44 PM
(google keywords: "procedural mudcracks")
 
@MartinBüttner Haha, I was looking at this one, from 3 years earlier: graphics.berkeley.edu/papers/Iben-GSC-2006-09/…
 
Should I succumb to the pressure SE is putting me under?
 
I'm gonna give up on the Actually metagolf challenge
I'm happy with what I accomplished
when someone destroys my score, I'll still be happy
 
6:01 PM
@Sparr wat is dis
 
10
Q: Actually Integer Metagolf

MegoBackground Actually (the successor to Seriously) is a stack-based imperative golfing language I created in November of 2015. Like many other golfing languages, it has one-byte commands that perform different functions based on the contents of the stack. One of its specialties is mathematics - it...

it's a ridiculously complex extension of some recent questions asking you to generate integers with short programs in contrived languages
 
@EᴀsᴛᴇʀʟʏIʀᴋ yes.. thanks
 
@El'endiaStarman I just remembered my girlfriend took some nice pictures of dry sulphuric soil last year in Iceland.
 
the earlier questions were things like codegolf.stackexchange.com/questions/69652/…
 
6:03 PM
tiny instruction set, great challenge
there were a few others, as well
 
@MartinBüttner That's a great reference/example.
 
reminds me of good'ol Calvin
 
wow...
"Aufrufe" == "Views"
 
6:07 PM
@mınxomaτ link?
 
@mınxomaτ ahh yeah
 
I already thought the new Star Trek trailer was unpopular.
 
that's the most hated game trailer ever
mostly because of Battlefield 1
 
6:09 PM
mostly because it looks like trash
 
I think it's also the most viewed, least liked youtube video of all time or something.
 
@Optimizer And the second most disliked youtube video ever.
 
@MartinBüttner isn't that Baby?
 
@Lembik hi part of all
 
@Fatalize less because of that and more because Battlefield did what everyone hoped COD will do.
 
6:11 PM
lawl
 
They left out France.
 
They left out Antarctica
 
they left out Russia
 
I may have lied
I just thought of another approach to Actually metagolf that will probably do 2-3x as well as my previous one...
PPCG, you're bad for me
16
 
6:33 PM
@QPaysTaxes Good, now get all of the basic arithmetic working.
 
 
is there a hidden plane crash in that pic?
 
@Optimizer Nope.
 
@Optimizer Outside of that pic, and only the dogs see it coming.
 
1
Q: Recursive Steiner Chains

DendrobiumSteiner Chains are a set of N circles where each circle is tangent to 2 other non-intersecting circles as well as the the previous and next circles of the chain, as seen in the below images: In this challenge, you will write a program/function that draws Steiner chains recursively, that is, ...

 
6:46 PM
@QPaysTaxes How about del or pop?
 
@QPaysTaxes What do you mean "in place"? Like the side effect of it changing is necessary (worried about potential XY problem...)? If that is what you want a bad way to do it would be to call pop several times...
 
@QPaysTaxes l[-n:] = []
 
Why not del l[-n:]?
 
>>> x = range(10)
>>> x
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>> x[5:7]
[5, 6]
>>> del x[5:7]
>>> x
[0, 1, 2, 3, 4, 7, 8, 9]
 
@flawr guess that could work too. Not nearly golfy enough though.
 
6:48 PM
@Cyoce I think del might be a little bit faster.
 
@flawr Proof?
 
@Cyoce Proof by example.
 
@QPaysTaxes I was asking for proof. I.e. remove that grain of salt.
 
@Cyoce You mean adding pepper?
Let me write a short script to see what's going on.
 
Desalinate your sentence.
 
6:51 PM
enpepperize?
 
$ time python -c 'x = range(10); del x[-3:]'

real	0m0.066s
user	0m0.020s
sys	0m0.022s
$ time python -c 'x = range(10); x[-3:] = []'

real	0m0.066s
user	0m0.023s
sys	0m0.023s
Np
 
Why the heck do I always get 0s?
import time
n=100000000
x = list(range(n))
t = time.time()
del x[-1000:]
s = time.time()
print(s-t)

x = list(range(n))
t = time.time()
x[-1000:]=[]
s = time.time()
print(s-t)
But I still think I should get at least some microseconds.
@QPaysTaxes I do like salty flavor.
 
>python -mtimeit -s"x=list(range(100))" "del x[-50:]"
10000000 loops, best of 3: 0.0828 usec per loop

python -mtimeit -s"x=list(range(100))" "x[-50:]=[]"
10000000 loops, best of 3: 0.104 usec per loop
 
@FryAmTheEggman that got mangled.
 
7:06 PM
Most of the time spent does seem to be in casting the range to a list
 
@FryAmTheEggman #WTFPython3
 
@Cyoce Eh?
 
@El'endiaStarman 90% of Python 3's changes are detrimental.
 
s/detrimental/beneficial/
Python 3's range is Python 2's xrange, which I started using instead of Python 2's range because I had problems when I wanted too large of a range.
The most common use-case of range(n) is looping through it, and in that case, however large n is, there's no difference in memory usage, which is a very beneficial thing.
 
Yeah the cast isn't any longer than what python 2's range would have taken
 
7:13 PM
Now, I do have issues with being unable to index or slice a range object, but that's an issue I have with generators, which are otherwise awesome.
 
@El'endiaStarman Uh, can you not slice ranges? I'm pretty sure that works.
 
...I'mma go check.
>>> range(100)[20:50]
range(20, 50)
 
Huh. Maybe I'm thinking of filters and maps.
>>> map(lambda x:x**2, range(100))[20:50]
Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    map(lambda x:x**2, range(100))[20:50]
TypeError: 'map' object is not subscriptable
 
Yeah those aren't, but is there a reason you would really want to do that? Like in this case you can clearly just apply that to the range before doing a bunch of wasted operations :P
 
7:20 PM
I started making a game. In about 1.5 hours, I got to the point, where I have a black screen, with a red rectangle on it (wich by the way, should be a square). Gotta love OpenGL
 
Ha, indeed. I was just projecting my indexing/slicing difficulties with filters and maps onto ranges, which are all generators.
 
Great compilation of a massive fuck up: imgur.com/account/favorites/TwY6q
@El'endiaStarman Another feature request: Degenerators.
@flawr Would the word clusterfuck apply there? @El'endiaStarman
 
7:39 PM
@flawr Requires me to sign in.
 
@mınxomaτ Sorry, try again: imgur.com/a/TwY6q
 
@EᴀsᴛᴇʀʟʏIʀᴋ You might also enjoy Sled Driver by Brian Shul
He was a pilot of the SR-71
 
^that thing
Fastest plane.
@EᴀsᴛᴇʀʟʏIʀᴋ I'm sure you can find a pdf or e-book somewhere, technically not legal.
 
7:44 PM
okay
 
@EᴀsᴛᴇʀʟʏIʀᴋ okay
 
don't be a doorknob
 
why, is he known to do that?
 
7:49 PM
he pointed out how much I said roflmao...
Mar 16 at 1:55, by Doorknob
 
roflmao :)
 
so anyway, I think I helped fix somebody's android app
feels good, especially since I don't do android apps
(at least not yet)
 
XMouse
 
7:59 PM
3
A: Add a console to Stack Snippets

HaneyThanks for bringing this up! Thanks in large part to the efforts of canon and his MIT licensed virtual console library for Stack Snippets, we now have a virtual console! Normally I'd do screenshots, but with Stack Snippets I can just give you a live demo instead. Check it out! console.log(...

StackSnippets js console is live
 
Oh, so that's what was making the leaderboards look weird...
 
8:21 PM
You know, I used to hate virtual machines, but now that I have a computer that can actually handle running one, it's really nice!
Windows 10 + Debian == <3
 
I agree, it makes running windoze occasionally almost bearable :p
 
:(
I used to hate windows, but right now I really really like it.
 
that's weird.. are you a gamer or something?
 
Well... yes.
 
ok, I guess that's an excuse to run it
I pressed ctrl-shift-q by mistake a few minutes ago >_<
 
8:29 PM
I actually used to game on Ubuntu. It was OK.
ish
 
I play a few games (only free)
 
what's that? :p
 
@aditsu what do you nomrally use?
@aditsu D:
A fun FPS. Very fun.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Linux, of course :) Gentoo
 
haha, not sure what that's based on
I do need to shave right now, but you can still see my chin
Arch is probably my 2nd favorite distro btw, but I don't like that they switched to systemd
 
I've only ever used Ubuntu and Debian.
 
@DrGreenEggsandHamDJ What's that on the page behind I wonder
 
@DrGreenEggsandHamDJ According to this chart I am steadily increasing in beard length (Ubuntu -> Debian -> Arch) :P
 
Well, you could be steadily increasing in beard length because of age.
 
8:43 PM
What if you have two machines, one on Ubuntu, and one on Gentoo?
 
For Google lovers the Google I/O conference is currently be livestreamed: google.com/io Lot's of nitty-gritty details about Android N and stuff
 
Beard length is known to correlate much more strongly with sagacity than age.
 
@Rainbolt it concatenates the beard lengths
 
Now Google is comparing Apples and Oranges :S
 
@HelkaHomba I'm seeing some guy talking about bumpy and smooth apples and oranges
is that supposed to happen?
shit ninja
 
8:45 PM
Okay, this is a silly question, but how to I make sure my keyboard shortcuts get to my guest machine, not the host? I'm using I3wm, and I want to press super+l but windows sees win+l and locks my machine.
:(
 
@Maltysen I guess so. They had just been talking about new stuff in Android N
 
Whoever said macs can't game? @MacBook Air (13-inch, Mid 2012) screenshots:
 
@HelkaHomba there a name yet?
 
@DrGreenEggsandHamDJ Did you try Host + Super + L?
:P
 
@Maltysen Nutella I heard somewhere else
not certain though
 
8:46 PM
@zyabin101 I do not understand
 
k
 
@DrGreenEggsandHamDJ Usually your VM will have a bypass option somewhere, you just need to know an extra key or something
 
4 yr old mac ^
 
What does a still shot prove?
You could have 1 fps and take a still shot (after 1 second)
 
@Rainbolt You've gotten sandy
 
8:48 PM
@Rainbolt logo change?
SHIT NINJA
 
Third day in a row someone said something about it lol
 
@Rainbolt no enough fps to play
 
@BaldBantha Also, I'm pretty sure that's not the most resource-intensive game to ever exist...
 
@Doorknob its java.... so munch on that
 
Yeah, you should take a minesweeper screenshot, that would be really impressive!
 
8:49 PM
@DrGreenEggsandHamDJ brb
 
I've played Nethack on my Pi Zero before. :P
 
@Doorknob yeah my 2007 toshiba ubuntu rins mc well
(it doesn't run chrome well)
 
huh, Chet Haase and Romain Guy are doing Android now?
 
My computer handles anything well. :P
 
@Doorknob Go find a computer that can't play nethack (due to ram not drive space, but nethack is tiny on both)
 
8:51 PM
@DrGreenEggsandHamDJ It's a joke. :P
 
Holy shit that's amazing!
@zyabin101 I still don't get it. Is there a host button?
 
@DrGreenEggsandHamDJ usually control or alt or something
 
Eww. Ctrl + alt + win + l?
 
@DrGreenEggsandHamDJ If your VM manager is sane there will be an option to configure it :P
 
Also, I love i3 and all, but why the hell did they decide it would be a good idea to map to jkl; rather than the more sane choice of hjkl?
 
8:56 PM
@DrGreenEggsandHamDJ Because i3 is meant to be config'd beyond recognition. I have no idea what the default keybindings are anymore.
 
I've barely made any changes. I changed jkl; to hjkl, and ctrl+shift+q to super+w, but beyond that I don't think I've really changed anything.
 
@HelkaHomba why not google.io
 
I've spent way more time configuring my .vimrc
 

« first day (1936 days earlier)      last day (2902 days later) »