« first day (2242 days earlier)      last day (2708 days later) » 
00:00 - 16:0016:00 - 00:00

Ell
4:01 PM
Again I have been defeated by a real life library :(
I have no idea how to navigate it
 
nwp
The list of Dewey Decimal classes is structured around ten main classes covering the entire world of knowledge; each main class is further structured into ten hierarchical divisions, each having ten sections of increasing specificity. As a system of library classification the DDC is "arranged by discipline, not subject," so a topic like clothing is classed based on its disciplinary treatment (psychological influence of clothing at 155.95, customs associated with clothing at 391, and fashion design of clothing at 746.92) within the conceptual framework. The list below presents the ten main classes...
 
Ven
@rightfold can you even define them with your tool?
it's not for that right?
 
This is confusing.
 
@milleniumbug I raise you: /cc @Borgleader
-14
Q: can someone write me this damn python code?

SteadierUrchinRead files “actualtemp.csv”, “set_temperature.csv” and “input_voltage.csv”. Combine these to a single file with one column as constant and the rest of the data from the files as additional columns and save this file to folder “output” under the name “combined_data.csv”. Then plot the data from “a...

 
Oh. Maybe x x next to each other just means multiplication?
 
Ven
4:05 PM
@ThePhD what
I'm not sure what's confusing you. Using rightfold's tool, you can see (\x. add x two) three is just add three two (so, + 3 two, or 3 + two in infix notation)
 
I mean moreso like...
(λx . x x)
 
Ven
@ThePhD ah, not with the same example
 
Is it a function calling itself... ?
I don't know how to reduce this
It always just ends up as x x
And that's nonsensical
with a constant
(λx . x x)39 // what???
 
Ven
ok, @rightfold's playground really doesn't like that one :D.
 
I guess it just means its nonsense.
 
Ven
4:11 PM
@Mysticial I'm so pissed someone answered
actually if I don't use numbers, @rightfold's tool works just fine.
 
@Feeds lol for me it's 1 on the left and 2 on the right already
rip
nvm context
 
Ven
RIP alexm
 
Ell
4:29 PM
@ThePhD it's a runtime error essentially
You have a "stuck term"
Though it depends actually
 
D...depends?
Oh.
Wait.
 
Ell
Well, what is 39 here?
 
WAIT
39 is a constant BUT WAIT
I FIGURED IT OUT
 
@Ell Yeah, it's not even a prime!
 
(λx . (λy . + y 3))((λz . z z)(λz . z z))((λx . + x 3)36)
-> (λx . (λy . + y 3))((λz . z z)(λz . z z))(39)
-> (λx . (λy . + y 3))((λz . z z)(λz . z z))(39)
You can drop the unreducible term because it
doesn't appear in the lambda expression when
substituted for "x", so...
-> (λy . + y 3)(39)
-> 42
B A M
ez pz ez pz
Praise the lord for optimizations
 
4:32 PM
@ThePhD Imagine that. The answer is 42. Who'd ever have thought...
 
Title of the day goes to this xD — Borgleader 12 secs ago
top kek
 
Ven
@ThePhD aaand you didn't give us enough context. :c
but yeah it's untyped lambda calculus, that's hellallowed
 
@Borgleader They're just fundamentalist cretins Christians, equating Python (snake) with the devil (damned).
 
@Borgleader the answer lol
I mean an answer lol
 
Damenède.
 
4:43 PM
@AlexM. One of those where I'm tempted as hell to write something that looks like a straightforward answer to the question (but it doesn't work), or else something that does work, but uses such advanced techniques that the teacher will inevitably ask about it, and they won't be able to begin to answer.
Fortunately, it's already closed, reducing my temptation considerably.
 
Ven
@EtiennedeMartel vite, bas-votons
 
"bas-voter" sounds so weird.
> U+0278 LATIN SMALL LETTER PHI
U+03C6 GREEK SMALL LETTER PHI
U+03D5 GREEK PHI SYMBOL
 
Hello, does anyone know how could I make 3 state toggle between boolean varaibles?
 
5:06 PM
are you saying it's not spelled 'verbibol' anymore?
 
I take it canadians are not LoL players
 
@EtiennedeMartel that snow plow at the end was just adding insult to injury
 
Wew
Memory leak fix
FeelsGood
 
yo guys
i really have to thank you
sorry for coming out of the blue
but it has come to me today that the way one learns the most is by being in a place were he is the the stupidest, or close to it
12
thank you very much for helping people like me, who love coding and are learning
3
i'll try to come by more often
i know nobody cares about this, but i just wanted to thank you all
10
 
5:28 PM
@EtiennedeMartel I prefer the method they chose in Aspen, Colorado. They built heating elements into the streets. Reduces wear on the streets (no snow plows), and destruction to cars (no salt to rust them out).
 
nwp
@EtiennedeMartel weird, I would have expected canadians to know what tire chains are
maybe they wouldn't even have been enough
 
@nwp The issue I think is there was zero snow yesterday. People probably still have their summer tires on.
 
5:53 PM
@rightfold ^ From the title I thought this might interest you, haven't watched it yet myself though.
 
@EtiennedeMartel Always fun. Same sort of thing happened in Colorado now and again--like the time we got about 3 feet of snow in the middle of October.
 
"Surprise!" says the winter.
 
Of course here in San Diego, if we got 3 inches of snow it'd probably have about the same effect.
 
user1804599
Boring
 
user1804599
@ThePhD in Church encoding, applying a number to a number performs exponentiation
 
user1804599
5:56 PM
@Ven IIFE, but there are no non-lambda terms
 
user1804599
You can type natural numbers but they'll expand to Church encoding.
 
@rightfold I think in this case concatenation of a b means call a with b
 
user1804599
Yes it is
 
user1804599
When you do that with Church encoded naturals, you get exponentiation
 
@ThePhD There are no numbers. Everything is a function. 5 is just the name of the function that takes a number* and returns 5 raised to that power.
* i.e. actually a function
 
5:59 PM
Uh.
Hokay.
Also. Lua 5.1 is really screwing me.
There's no way to get the main execution thread in Lua 5.1
They added a function for it in 5.2 and 5.3
But, well. Everyone's still using 5.1 and LuaJIT, so.
 
@R.MartinhoFernandes or something like that.
 
I... could try to just save the thread from the main thread...
That is. Everytime someone opens up a fresh lua_State*, stuff it in some random state variable and pray for the best.
 
@EtiennedeMartel oof
 
But that's probably not the best either...
 
6:21 PM
@Borgleader: Perhaps a competitor for title of the day. At least wins on sheer honesty.
-10
Q: I don't know haw to use stack overflow

xhinoI have to write a program that takes a number input from keyboard from 0-9 and prints all number that have 1 of the imputed number 2 of the imputed numer from 0 -1000. Can someone direct me or tell me haw to start it ( New in programin)

9
 
@JerryCoffin The answer to that question is, "no".
 
user1804599
@ThePhD don't write bad code
 
user1804599
adopt a policy where you will only write good code
 
6:42 PM
@JerryCoffin Already closed, and I was gonna post int f() { return 1 + f(); } as a comment :(
 
@nwp tire chains are useless if you deal with regular snow. They have winter tires with studs.
@nwp I never heard of tire chains until after I moved South from Alaska.
 
user1804599
fromString :: String -> Encoding -> ByteString
fromString s e = unsafeFreeze $ unsafePerformEff $ Buffer.fromString s e
 
user1804599
When one unsafe function isn't enough.
 
7:22 PM
@JerryCoffin Wowww
 
7:34 PM
Performance difference... of Hello world? Really? — Borgleader 1 min ago
/cc @Mysticial, you like performance questions right? :P
 
Great Answer, Populous, and Reversal - all on the same answer.
 
Xeo
I'm missing Great Answer on this one: stackoverflow.com/a/8963059/500104
 
7:49 PM
wow, just implemented render masking on my sfml app
runs much better than i expected, even though i can even make alpha gradients
 
8:05 PM
Argh. There is an encoding error, the keynote from @LouisDionne is currently 40 minutes shorter then it actually was. Reconverting...
Nothing ever changes
 
@sehe I think they nerfed invisiplink, not sure if literal-link plinks too
 
@набиячлэвэли About to find out. Nah still works
Oh, my sweet summer child. Never seen Java before...
 
if you say so
 
Check the image
It's just some onebox detection patterns don't allow for it
 
@sehe what about it
 
8:09 PM
 
woah the hoverlink doesn't show it
 
It could of course be that it doesn't plink / ping @Mysticial
 
@sehe doesn't seem to
 
Xeo
@sehe Do you have some kinda grudge with Jens? :D
 
s/grudge/cringe/
 
I'm sure he can claim some kind of prize soon
 
@nwp They're not usually necessary here, though anybody who didn't change to winter tires yet is asking to have an accident. A few provinces require them, but most people aren't proactive about them.
 
8:41 PM
sizeof is always compile-time, right?
 
@Borgleader
-1
Q: Trouble with moderators

EM FieldsI've lately been shut down for a year by a moderator who seems to have a vendetta as an agenda. Jealousy, perhaps, but his claimed pecadillos of mine haven't been curtly defined and, I believe, I've contributed enough to this group to negate his charges.

 
> Cat fancier
 
@caps Yes, except for C99 VLAs.
 
@Morwenn Thanks, that's what I thought.
 
Ell
9:17 PM
for(float r = 0.0f; r < 600.0f; usleep(500), r += step) {...}
I've never used the comma operator before
there is no reason the usleep couldn't go in the body
I had an urge to put it here for some reason.
 
@Ell what are you doooooing
 
Ell
xD
 
this sort of qualifies for a thedailywtf.com article
 
Ell
I had an urge :D
you know it's pretty cool that you can write a turtle graphics app in 60cloc
whoever said c was difficult :D
 
9:46 PM
@Ell and in 3 lines of Python
:P
import turtle
t = turtle.Turtle()
t.forward(50)
 
Ell
well
C doesn't have a turtle module so :P
 
10:00 PM
schowajżółwia
 
@rightfold What does this even mean.
Like. "Don't be bad"? I mean, that's the goal...?
 
It's a recommendation
 
user1804599
 
user1804599
:D
 
Is that a cat?
 
user1804599
10:11 PM
It's a wolf.
 
user1804599
Two.
 
user1804599
 
user1804599
:D
 
Ven
Looks very good
 
user1804599
Awesome world: imgur.com/a/Aso3i
 
10:17 PM
Grr. MSVC thinks this is an initializer_list coliru.stacked-crooked.com/a/f9d11ac11593b0dd
 
user1804599
@Ven All legit. :3
 
@ThePhD It means don't do what you were talking about doing, because it would be bad code. :)
 
@EtiennedeMartel He also has an office in Anchorage, Alaska. Kind of a long commute, but probably pretty easy for a guy who can deliver 3 quadrillion tons of toys to kids all over the world in one night.
 
@JerryCoffin 3 quadrillion? So the average kid gets a million toys?
 
10:29 PM
@JerryCoffin Well he has complete mastery of quantum teleportation.
 
@Mysticial I'm rounding a bit here... :-)
Actually, I probably should have rounded a bit more, and just said "the entire mass of the earth".
 
The Earth is a toy.
 
So is your heart, I hear
 
@EtiennedeMartel ...with all to may people saying: "Unbreakable toy, huh? We'll just see about that!"
 
@JerryCoffin I remember a show like that. They ultimately tested the unbreakable items by first crushing them with a tank, then placing them inside a safe and shooting the safe with the tank.
 
10:41 PM
seems like an excellent excuse to drive and shoot around in a tank
 
as if we really need a reason
I remember a trailer for a show called "Arnold crushes things with a tank".
I also remember the tanksi
gotta admit, driving a tank to work would be the best
 
but only if you were the only one driving a tank
 
yeah
ISTR that Steve Jobs used to drive around without a licence plate because you only needed one legally after owning for six months
so he just bought a new Ferrari every six months
 
I wanna go sledding, but there's no snow. — Shog9 ♦ 16 secs ago
^^ /cc @Borgleader
 
Stop saying I'm a kid. — haykam 52 secs ago
 
10:59 PM
@rightfold Looks fantastic! You built it all? I never have the patience to build big because the game constantly updates and the mods I use have a half-life of 2 updates
 
@milleniumbug aww half the comments got nuked.
 
could've taken a screenshot
 
11:29 PM
more like screenshit amirite
 
user1804599
TIL about Stormpath
 
user1804599
That'll save me so much crap with emails and passwords etc
 
@JerryCoffin Well, at least he does not have to deliver to here. :)
 
00:00 - 16:0016:00 - 00:00

« first day (2242 days earlier)      last day (2708 days later) »