« first day (2069 days earlier)      last day (2777 days later) » 

12:01 AM
By the way, only really geeky 70's kids will know where I got those from
 
We already had a poll like that I think
 
@quartata hm, okay
 
¯\_(ツ)_/¯
 
Only a few of those continents have escaped my feet
I don't think I'll ever go to Antarctica though :(
 
12:06 AM
Which ones?
 
Asia Africa Antarctica
 
Meaning you have been to the other ones?
 
Yes
Some were a long time ago when I was a wee lad though
 
@quartata The belgariad?
 
@EᴀsᴛᴇʀʟʏIʀᴋ got it one, I'm surprised
 
12:08 AM
:D
read those a while ago
 
Cool. I have not been to south America or Australia
 
we have tons of old stuff
don't remember too much, just that it had some dude named garion (thanks wikipedia)
 
haha
 
belgarion if you want to be picky
 
12:09 AM
oh, cool
makes a bit more sense
BTW, that's from the mid 80s
not 70s
 
Well I don't think 4 year olds could have read it (maybe)
Anyways, those are the markers the Morindim use
They were the first thing that came to mind for some reason
 
@quartata lol, true
@quartata you seem to read/do old stuff, because last time I checked you aren't from the 70s
you probably would have chipped in for the "who's the oldest person on PPCG" then
 
Yeah, missed that era by a bit. My father got me into a lot of old fantasy books though as a lad
The usual suspects (LoTR, Shanarra) and some more unusual ones (Vancian)
Staring at a stack of Earthsea books I've been too lazy to put away
 
do you guys know raymond e. feist?
he has a very large fantasy series that I like
although everytime I google around for it it seems everyone is always hating on it :(
 
the internet is often wrong, so there's that for comfort
 
12:20 AM
@ConorO'Brien yea?
 
I fixed it
thanks tho
 
@Downgoat By the way I like Symbol(CAST_FAILED)
It's a little less harsh than an exception
 
>_> that's actually a temporary thing
It should throw runtime error
 
ship it as functionality
 
though I'm working on "try" in expressions
someting like swift's
maybe someting like:
let data: buffer? = try GET("whatever.json");
it'll return null if failed
 
12:23 AM
I like that idea
what does buffer? mean? What it should be?
 
nullable type
i.e. buffer or nil
 
oh, cool
 
Oh BTW @quartata how far did you get with brain-flak?
 
Haven't done anything yet
 
12:26 AM
@quartata I can tell
@quartata oh, those are good
 
@Downgoat Oh, lol.
 
personally i've been re-reading all the asimov (not scifi, but good) books
 
Here's where I was using it:
if (cmd == "s") {
    clear_screen();
    print("Shoot where? ");
    handle_shot();
  } else {
    var room_num := Number::cmd;

    if (room_num == Symbol(CAST_FAILED)) {
      clear_screen();
      print("Don't know what that is.");
    } else {
      print("Move: " + room_num);
      var rest = Number::(IO.prompt(""));

      if (rest == Symbol(CAST_FAILED)) {
        continue;
      } else {
        clear_screen();
        handle_move(room_num * 10 + rest);
      }
    }
  }
 
for in many languages is just a while loop but the first and last statements of the while loop are on the declaration
 
@quartata oh :|
 
12:27 AM
huh indentation got mangled
 
symbols are @CAST_FAILED
I could do that
 
Ohhh, woops
 
I'll push the := change to npm in a sec
 
for (var i = 0; i < blah.length; i++) {
   //..
}
// is equiv to
while (i < blah.length)
 
It outputs as Symbol(CAST_FAILED) in the repl so
 
12:27 AM
internally JS's symbol's string representation is that
if you try to use them in cheddar you'll get error :P
 
I know. I assumed it was the same in Cheddar.
By the way please don't kill me I'm using .ches as the extension
 
a success
 i _
 d _
 success

a zero
 d 1
 zero 1
 success

# take <x> <y>
# sets <x> to <x> + <y> and <y> to <0>
a take
 d 2
 take_2 1 2
 success
a take_2
 i 1
 take 1 2
 success

# swap <x> <y> <temp>
a swap
 zero 3
 swap_2 1 2 3
 success
a swap_2
 take 3 1
 swap_3 1 2 3
 success
a swap_3
 take 1 2
 swap_4 1 2 3
 success
a swap_4
 take 2 3
 success
 success
@ETHproductions Working variable swap. I also added the n instruction for the node version, probably for my own personal use. It outputs a number.
 
@Downgoat Will IO.prompt wait for a carriage return even in raw mode?
 
IO.prompt switches to rawmode itself. And it checks for carrige return or enter
 
@quartata what's the recommended extension?
 
12:29 AM
it's because stupid node doesn't have syncronous STDIN stuff
 
@EᴀsᴛᴇʀʟʏIʀᴋ .cheddar I really like .ches better though.
 
I like .ches too
 
:/
brb strawpolling
gtg, will push to npm later
 
.ches makes the pie chart orange like a wheel of cheddar
clearly this is a sign
 
@quartata hm, okay
 
12:32 AM
It's meant to be
 
@quartata did you see the new TF2 update?
 
No
 
TL;DR: attempted to balance casual teams by XP, comp games no longer end with abandoning players, you can have a rematch for casual
 
Oh ffs
A rematch in casual? Why even bother
 
it's almost as good as pubs
at least, a step in the right direction
 
12:35 AM
^
@quartata I do like the "balance teams by XP" though, that's nice
 
I wonder if i can still casual stomp ;_;
 
lol
I CALL A REMATCH!
 
how did someone post this answer after the question was already closed as a dupe?
 
was already drafting it I would guess
and left it there
or computer went to sleep, then woke up and he posted it
 
12:38 AM
is this a small grace period, or can one answer any closed question if one starts drafting beforehand?
surely it's not just restricted by the client UI but by a server check
 
i would assume so
 
I don't know exactly what the grace period is, but it's there. There are a couple posts on meta-meta about it.
Afaik the client has no such grace period though, only the server side.
 
it's nice that the meta meta is a catch-all for (meta-)*meta posts
 
-1
Q: How many electrons are in each shell?

Oliver NiGiven a atomic number, print how many electrons are in each shell of the element that the atomic number corresponds to. Expected input/output: Input -> Output 1 -> 1 2 -> 2 3 -> 2, 1 4 -> 2, 2 5 -> 2, 3 6 -> 2, 4 7 -> 2, 5 8 -> 2, 6 9 -> 2, 7 10 -> 2, 8 11 -> 2, 8, 1 12 -> 2, 8, 2 13 -> 2, 8, 3...

 
@NewMainPosts Dude. Slow much?
 
12:44 AM
@Geobits heyyy are you hypothetically able to eleven things now? Just asking, you know, randomly.
 
Nope, I can only 10.5 things.
 
darnit
 
@Geobits can you 10 things? or is it restricted
 
A wild @El'endiaStarman appears
 
@noɥʇʎPʎzɐɹC I watched it already, and by the way, why do you tell me (or others) to do stuff so often?
 
12:57 AM
@El'endiaStarman because... uh... it's cool?
idk
 
@El'endiaStarman this may be me being inattentive, but I don't think he does it that often...
 
@ConorO'Brien Compared to how often other people do...sure does feel like a lot.
 
I see
 
Jeez, I know so many languages and yet I can't decide which one is the right tool for this job....
 
1:02 AM
try english
 
@EᴀsᴛᴇʀʟʏIʀᴋ Think of it as a volume knob that goes from 0-10. Normal users can use the knob as usual, but mods can push it to 11. Mine has a bit more give at the top end than most, but not much.
 
I guess it'll be whichever one I can do OAuth in 10 lines in
 
@Geobits oh, cool
 
@Geobits I don't think he'll get it
 
Ah well. Showing my age I guess.
 
1:03 AM
being a 10k+ user I think I have 10? or are there more goodies to come
 
Oh, being a 10k pushes the top end to 10.1, maybe 10.2ish.
 
Wow. It was as close to a direct quote as you can get and it went over both their heads
 
10.<your rep>
@quartata princess bride reference?
to the torture scene?
 
no guess again
 
@quartata spinal tap
i got it
just didn't comment
 
1:05 AM
I haven't watched that movie in a while, I should watch it again sometime
@EᴀsᴛᴇʀʟʏIʀᴋ is that the xkcd thing?
 
“Up to eleven,” also phrased as “these go to eleven,” is an idiom from popular culture, coined in the movie This Is Spinal Tap, where guitarist Nigel Tufnel proudly demonstrates an amplifier whose volume knob is marked from zero to eleven, instead of the usual zero to ten. The primary implication of the reference is one in which things that are essentially the same are seen as differentiated due to the user's misunderstanding of the underlying operating principles. A secondary reference may be anything being exploited to its utmost limits, or apparently exceeding them. Similarly, the expression...
 
@ConorO'Brien no, xkcd was referencing that
 
I never heard of spinal tap asides from xkcd :P
 
1:06 AM
it's a band
>_>
also a surgery iirc, but a band primarily iirc
 
Google This is Spinal Tap and educate thyself
3
 
@ConorO'Brien Perhaps (a big) part of the reason is that other users don't say stuff like...
yesterday, by uoɥʇʎPʎzɐɹC
@El'endiaStarman you can lock posts, put users into temporary suspension, show me your interface!
 
anyone here know a lot about signal processing?
 
@El'endiaStarman ah
 
I'm trying to emulate an out-of-focus photograph
my first thought was gaussian blur, but that's not correct
 
1:08 AM
Out of focus on the whole thing, or partial focus?
 
after some googling I need a 'disc convolution', but I don't know what that is
@Geobits well, the goal is partial focus
but if I can perform a blur on a pixel with a variable focus amount
I can do it for every pixel in the image with arbitrary focus
performance isn't really a premium here
 
I think you can do a Fourier transform, blunt the highs, and transform back to get something like that.
But I'm not sure how you would per pixel.
 
In photography, bokeh (originally /ˈboʊkɛ/, /ˈboʊkeɪ/ BOH-kay — also sometimes pronounced as /ˈboʊkə/ BOH-kə, Japanese: [boke]) is the aesthetic quality of the blur produced in the out-of-focus parts of an image produced by a lens. Bokeh has been defined as "the way the lens renders out-of-focus points of light". Differences in lens aberrations and aperture shape cause some lens designs to blur the image in a way that is pleasing to the eye, while others produce blurring that is unpleasant or distracting—"good" and "bad" bokeh, respectively. Bokeh occurs for parts of the scene that lie outside...
 
yes
 
^ is that the effect you're looking for? The blur seems to look like circles with relatively sharp edges.
 
1:13 AM
@PhiNotPi I already found that
and yes, and that told me "To a first approximation, defocus blur is convolution by a uniform disk, a more computationally intensive operation than the "standard" Gaussian blur; "
 
okay
 
wait
I know convolution and kernels
when they say 'uniform disk', do they mean a disk with equal weights as a kernel?
because in that case I know how to do it
 
@MartinEnder That's a really good idea, I'll try it when I have time.
 
you know what
 
It transforms a single point of light from the photograph into a disc with nearly even intensity.
 
1:16 AM
I'll just try it
 
Well screw it, I'm using Gitbook to make the Logicode docs
 
@ConorO'Brien Nope. if (!name || !variables[name]) return false; returns false if variables[name] is 0 or undefined.
 
oh, you are good
 
Your n command is for wimps who don't want to figure out how to convert a number to the code points of its digits :P
(jk, I think it may be a good idea)
But what would I call it then? Andict?
@ConorO'Brien That's why it appends a newline before parsing the text
 
@ETHproductions I was going to name it e so it could be addicted
@ETHproductions hm, must have missed that when transcribing
 
1:26 AM
@ConorO'Brien haha. maybe we should just leave it as Addict
 
BTW, it's not Turing-complete yet: it's nearly impossible to manipulate arbitrary-size chunks of data.
For example, a "print the input reversed" program is impossible.
(I think. If you can come up with one, I'll be astonished)
 
@ETHproductions You can't recursively take input until it fails, then output until that fails?
 
@El'endiaStarman You'd have to assign each char to a different variable, which isn't currently possible.
But I have a workaround: dynamic variable names!
var[abc] will append the value of abc to var, then get that as a variable name. For example, if abc is 12, that would be parsed as var12.
A bonus of that syntax is that it works like array access :)
 
Argh I need to find a template for making a good doc for Logicode
Where is a good template?
Help!!!
 
1:32 AM
question: should i have syntax highlighted cheddar REPL?
 
@Qwerp-Derp Have you tried gitbook.com?
 
^
 
@ETHproductions yeah. I was working on a BF transpiler when I noticed that > and < couldn't have possibly been implemented :P
 
@Downgoat Silly question. Of course you should :)
 
idk but itll be slow on slow computers
I mean running cheddar parser every keypress..
 
1:33 AM
It should be optional
 
yeah, just pass --no-color flag
 
@ETHproductions But there's no custom language syntax suppoort...
How do I make Logicode syntax highlighting in it
 
@Downgoat I would focus on making multiline code blocks work first :P
also I don't think you need to run the parser every key press. Surely the lexer would be sufficient
which if you do asynchronously would be perfect
 
@Qwerp-Derp I didn't know you needed syntax highlighting. You'll have to write your own script for that, I think, and I have no idea if you could use that with GitBook
 
@ETHproductions feature-request: some variable that is unique to each function; that way, it could be the catch-all "temp" variable
 
1:41 AM
@EᴀsᴛᴇʀʟʏIʀᴋ Wh-...what how...how did you get that video of me?!?
4
 
@ETHProductions That's why I can't really use Gitbook
I need to find a template that does support syntax highlighting
 
Unrelated: there's lots of examples where something that intuitively feels like it couldn't be Turing-complete actually is, but are there examples of something that intuitively feels Turing-complete not being so?
 
@El'endiaStarman ? (can't see what you're replying to)
 
42 mins ago, by Eᴀsᴛᴇʀʟʏ Iʀᴋ
http://i.imgur.com/U7mIJ7Z.gifv
 
@Qwerp-Derp you can write your own syntax highlighting for gitbook
Question: what color should strings be highlighted?
 
1:46 AM
@El'endiaStarman sorry, but /u/Fishermans[redacted] found you
not my fault :P
 
@El'endiaStarman you look very happy :P
 
@ConorO'Brien Ah, good idea
 
@El'endiaStarman you look so happy in that photo i couldn't resist
 
@EᴀsᴛᴇʀʟʏIʀᴋ -1 for stalking :P
 
+1 for not goat tho
 
1:52 AM
@ETHproductions it could be $ if it isn't already in use, but that's just opinion
 
@PhiNotPi I'm not an expert on this, but the C preprocessor is supposedly not complete, but can do a damn fine job of faking it.
 
@ConorO'Brien You read my mind
 
I've got to go though. I'll add these changes tomorrow if I have time.
 
@PhiNotPi yup might be one. I don't think it's TC, but it might be
@ETHproductions okay! good luck
 
1:57 AM
@Geobits It is. There was an excellent demonstration of it on SO that I can't find now
 
G'night everyone
 
Or rather am too lazy to try and find
 
@quartata I've seen arguments on both sides that seem convincing enough, but I don't know which ones are more "accurate".
 
ok
I believe I've figured it out
 
2:02 AM
Are your blurs all soft and bokeh now?
 
original
then gaussian
then circular convolution
 
Looks good with that. I'd be interested to see it with some more point-like light sources to be sure though.
 
almost no difference (I assume the difference is more noticeable when there are point light sources, but those aren't necessarily very common)
 
You can see differences around the corners of the lattice.
 
Actually, biggest difference is with the couple wires that pass in front of the bulbs.
 
2:07 AM
Oh yeah, it definitely looks more like lens focus there.
 
do you have a good source image
I try to google lights
 
but all I get is examples of already-out-of-focus things
basically
I want that image
but in focus
 
parts of that seem relatively in-focus, it is hard to find a good image though
 
alright, processing...
 
2:11 AM
 
hrm
bit smaller radius
radius = 32 was too big
(in my final setup the radius will depend on a depth mask, but right now I pretend everything is equally far in the image)
radius 16
 
Hmm
 
Stop defacing Sp
 
Sp?
also radius 16
 
What about something with tiny, separated points, like this:
 
2:14 AM
It's too hard to see if those are realistic (the city became way too blurry).
 
the problem is
your camera has high dynamic range
 
@orlp watcha trying to do?
 
@Maltysen bokeh
 
Yeah, the city looks off somehow, but that might be due to lack of depth in the focus.
 
maybe I need to make some extra contrast
city
(also radius 16)
 
2:16 AM
@ETHproductions also, maybe * could be short for "all args passed to this function"?
 
That one looks better than the others imo, but there's also less difference in depth in the image I think.
 
I wonder if the images look better if you apply some "sharpening" to them, so that a small disc (as in something slightly larger than a point) that has been blurred still looks like a uniform disc.
 
hey sorry
had to restart pc
tried something that took a bit too much memory I think
and the memkiller on xubuntu is still horribly broken
seriously why is this so difficult?
everytime I run out of memory on this linux pc it just crashes
 
@DestructibleWatermelon - not for long...
 
Do you guys think humans will get to Mars in your lifetimes and make it back safely?
 
2:29 AM
Yes
 
yes
 
@Downgoat How???
 
@Geomalty But why has nobody gone back to the moon in 44 years? :/
 
Because the moon is boring and over.
Mars may end up being just as boring, but it's the next horizon.
Humans love that kind of thing.
 
@HelkaHomba plus 1) my lifetime will hopefully be > 44 years b) elon musk
 
2:34 AM
Oh sure. If it was left to NASA (or other governmental agencies) alone, I wouldn't be as confident.
But in the hands of a crazy billionaire? Sure :)
And I mean that in the best possible mad-scientist way.
 
@Geobits Would you be as supportive if Trump was the crazy billionaire and the main reason to go was to set up an exotic hotel? :P
 
More so if he'd been active in technological areas in the past. I think "go to Mars" is slightly more difficult than "buy some land", but that may be me being narrow minded ;)
However, if I thought he had a shot at it, I'd root for him. Not so much the hotel part, but because it would spur the whole thing on.
 
Good news for Trump, there's no taxes on Mars.
 
From what I hear, he'd be paying the same amount he is now :P
It does sound like it would be quite the coup for his land development business though.
 
2:51 AM
@Qwerp-Derp ???
 
@DestructibleWatermelon also this is shorter by 2 bytes f=lambda i=484:exec("print(' '.join(bin(int('3OQP7ER8KP9RKD8MVV279M16BU2TS7VMWB0B9Y5V1JR0S2HX3LCBP8CVMYQN6IKU‌​7RRXQ1IJGWV2ZLC4MWQEBLXOM8K51Y',36))[i:i-21:-1]));i-=21;"*23)
@Geobits I'm waiting for the day when we can walk on the surface of the sun...
 
You can do that now. Very briefly.
Well. Okay, probably not.
 
no, definitely not
 
For some definition of "walk" and "surface".
 

« first day (2069 days earlier)      last day (2777 days later) »