« first day (1921 days earlier)      last day (3012 days later) » 

4:00 PM
How hard is subsurface scattering? If I can't realistically render a glass of milk I'm not sure I want to bother ;-)
 
Is there an API so I can chart Kevin's gumption vs boredom levels? Otherwise I'll be forced to scrap this chatroom :/
 
Bye Brit!
 
@Kevin Hard
 
ducks
 
I would say we'll miss you, but a lot of us are American so they're probably good shots.
3
 
4:01 PM
There's an API but it usually gives null data because the electrodes are too itchy to wear all the time.
 
I never got to advanced illumination concepts, but getting up to shadows and light gradiants isn't hard.
 
It's an algorithm based on Kevin's chat messages. The amount and time-between each message are the main considerations
 
Realistic is hard. Semi-realistic isn't.
 
Not to mention star to comment ratio
 
@Ffisegydd worst... joke... ever...
But I admitted: I grinned.
 
4:03 PM
2 star givers say otherwise!
To be honest, I'm fine. I went to a shooting range in Texas, I've seen how much of a bad shot folks can be...
 
@paul23 I apologise for your lack of humour.
 
I was pretty mediocre at archery in high school. Granted we only did it for two days because coach didn't think our trigger discipline was up to snuff.
We never quite grasped "don't aim at something that you don't intend to destroy"
 
"Take that, Earth!"
 
@MattDMo I'm playing with Rust at the moment. I like it so far.
 
> Ever since the beginning of time, man has yearned to destroy the sun.
 
4:08 PM
@Kevin There was a sad incident in the barracks near me in Edinburgh where one of the privates larked around with his sa80 and accidentally shot his partner in the head
 
@Kevin Now using new advances in technology it is possible.
Follow the new series on national geographic and see how the sun came to an end
 
So, I don't think people ever get over that principle :/
 
Yep it's a shame.
 
Some websites make me realise I will never truly be out of work
 
Creating a microscopic black hole is tricky, since one needs a reasonable amount of neutronium
lol
Actually in labs micro black holes are often created, just saying.
 
4:12 PM
My. eyes. Bobby. How can I unsee?!
 
I guess you need a micro black hole that doesn't evaporate.
 
I always found it amusing when the consequence for some experiment failing was the universe getting destroyed or something. You'd need a lot of energy and time for that. And what if the intention WAS to destroy the universe? What would happen if that one failed? Seems easier to just make a different experiment and set it up to fail. </movielogic>
 
@RobertGrant In my home town, I knew few small companies which used to create websites like this overnight and deliver.
 
... I hope you mean deliver curry.
 
4:23 PM
@MorganThrapp thanks, I'll check it out
 
cabbage
 
Yeah I thought it was create a website and then deliver a curry
 
4:36 PM
@RobertGrant I like the picture of Elvis at number 3 on the carousel of slightly creepy encroaching pictures
for no reason whatsoever. Good work, Dilraj, Abingdon
Is the curry nice? That's the main question
 
The page-filling Elvis soft-lens photo was definitely the highlight.
Or maybe that was just jpeg artifacts, who knows.
 
@MattDMo If you're interested in getting into Rust, I recommend this article. It did a good job of explaining the differences between Rust and Python for me.
 
Well yeah, if you want the easy way out :-P
 
Not particularly easy - just all in the same package so they look close together and (I guess) are reasonably well matched for brightness. My original suggestion for fun (i.e. PWM) stands
For some reason, my students do not share my definition of the word fun.
Obviously this is the first misconception of which I must disabuse them.
 
4:43 PM
Anything short of wiring into a monkey's brain and using him as a plotter for your images is the easy way when you think about it.
 
You leave off my monkey-plotter. He's very reliable now I've trained him.
 
I'm not even stripping my own wires so I guess I can't claim I'm doing it the hard way.
 
Actually - it looks like the LEDs in that package are far from brightness matched anyway.
 
Arduino or Raspberry Pi?
 
Arduino.
 
4:53 PM
I meant for recommendations.
 
In that case, I've only used one so I can't say.
The primary drawback of the Arduino for me is that the language is a C subset, and my lack of confidence hampers my willingness to experiment.
 
I've always wanted to get a Raspberry Pi for fun but I may be too lazy to do anything actually interesting with it
 
When I was writing my triple LED program, the whole time I wished I could write it in python so I could do leds = [{"pin": 13, "fade_intensity": 5, "color": red"}...] etc.
 
That's my big concern too. The only think I can really think of would be something to play a Seinfeld bass lick when you open the apartment door.
(which I saw elsewhere)
 
Instead I ended up with a bunch of code duplication like red_brightness += red_fade_intensity; blue_brightness += blue_fade_intensity; green_brightness...
I guess I could have at least used arrays for each attribute, but I couldn't be bothered to look up the syntax.
 
4:57 PM
On the bright side, you're learning!
 
Compare to Python where I can write lists with my eyes closed, literally
 
Do you find Raspberry Pi to be physically stable? I seem to recall many complaints about things breaking down for no apparent reason
 
Do you know enough C to do... structs? Because this sounds a lot like a struct.
 
I've written maybe 3 structs in my whole life. I understand them in principle.
 
I have no idea why people upvote the things they do. But then again I have no idea why I answered this. stackoverflow.com/questions/34877709/… That guy's code is an absolute mess, shows no understanding, and doesn't even ask a useful question.
 
5:00 PM
Hmm, I said earlier that the language is a subset of C, but it might actually be full-featured C.
Maybe I read "not all standard libraries are available" and misinterpreted it as "not all language syntax is available"
> Arduino programs may be written in any programming language with a compiler that produces binary machine code.
That clears that up, I guess. Now to figure out what language the IDE supports.
"may be written in any language" doesn't mean anything if I have to do something more complicated than "press the upload button" to get it working. Ain't nobody got time for that.
 
@MarcusS We use them for many long term monitoring projects. The only failures have one thing in common - me.
 
You need to stop licking them, they don't actually taste of raspberry pie.
 
Yeah, they taste way more like blueberries.
 
slowly puts down the latest project
 
Derp question...what would be an easier way to do...
 
5:13 PM
They taste about as good as haggis.
 
>>> a = ((1,1), (1,2), (1,3), (2,1), (2,2), (2,3))
>>> from collections import defaultdict
>>> b = defaultdict(list)
>>> for key, value in a:
...     b[key].append(value)
...
>>> b
defaultdict(<type 'list'>, {1: [1, 2, 3], 2: [1, 2, 3]})
 
Full-featured C would make sense. It's an incredibly simple language.
 
@IanClark I don't think there is an easier way. At least not one that retains all the functionality.
 
;( - was holding out on some hidden collections/itertools solution
a functional approach
 
Ehhh
>>> from itertools import groupby
>>>
>>> a = ((1,1), (1,2), (1,3), (2,1), (2,2), (2,3))
>>> {k: [p[1] for p in v] for k,v in groupby(a, key=lambda p: p[0])}
{1: [1, 2, 3], 2: [1, 2, 3]}
Not super beautiful, and requires the keys to be pre-ordered.
 
5:21 PM
@Ffisegydd ... you take that back, you knave.
 
@Kevin hmm - yeh, I don't think that reads as well :(
 
@JRichardSnape we went with another place :)
Which was nice
 
I suppose you could also do {k: map(itemgetter(1), v) for k,v in groupby(a, key=itemgetter(0))} if that is more functiony for your tastes.
Ooh, you could do {k: zip(*v)[1] for k,v ... if you don't mind the keys being tuples.
 
@IanClark I think your code's fine. It's a 3-liner.
 
Anyway, rhubarb guys
 
5:27 PM
Yeah, nothing wrong with an actual for loop now and again.
 
Just use a comment to give an example of what b looks like after the loop if you feel it's hard to read.
# b = {1: [1, 2, 3], 2: [1, 2, 3] }
 
Right - rhubarb. Glad you have found nice curry in the Oxford area, Bobby G
 
Indeed :)
Would suck lots otherwise
Although I also like making curry (just from a paste) so takeaway doesn't feature too often
 
DSM
[decide_when_happens :270] survived interpolator loop!
[decide_when_happens :421] returning 2010!
[get_actions_from_splits :781] NotImplemented!
Former DSM just likes to spite me, I think.
 
I need to get my gf into curry. Right now she's convinced she doesn't like it.
 
5:40 PM
Give her a cinnamon bun and tell her it's curry flavored. She'll think she likes curry.
 
@QuestionC Hmmm, definitely worth a shot.
 
When ever-building web of lies come to a head, just explain to her that you sometimes get cinnamon and curry confused.
 
It's crazy enough that it just might work.
 
user559633
@MorganThrapp your girlfriend doesn't like currying? bro does she even know how to obfuscate basic snobbery?
4
 
user559633
bro dump her post haste for someone that closes his/her eyes while explaining function locals
 
user559633
5:47 PM
current status
 
user559633
 
DSM
Oddly enough I was just watching that video yesterday. Was feeling nostalgic.
 
I've always prefered Hold The Line.
 
user559633
@DSM it was on here in a restaurant in moscow and i felt the need to remind the girlfriend why americans are amazing
 
user559633
the rest of the restaurant..well...send in john kerry to apologize and give them nuclear weapons
 
5:52 PM
Africa is my second favorite song about a continent.
 
user559633
is that a trans europe express kraftwerk reference?
 
DSM
I was trying to think of something about Asia.
Oh, wait. Are we counting the New World Symphony?
 
Fizzy got it :-)
 
@DSM I know it's hard to think in The Heat of the Moment.
 
5:53 PM
BAM.
 
DSM
Aren't we supposed to call it Oceania now? I can't keep up.
 
My next hint would have been "... Second favorite song about a south hemisphere continent starting with 'A'"
 
But I don't know any songs about Antartica.
 
I actually had this exact same issue at work yesterday, difference between Australia, Australasia, and Oceania.
 
user559633
banger status: denied
 
5:55 PM
@QuestionC Time to buy the soundtrack for Happy Feet.
 
user559633
FWIW i'm actually slowly stroking out on the number of continent themed metal albums that exist
 
XD
 
DSM
When I think of Antarctica I think of people crying "Tekeli-li! Tekeli-li!", but that's not really a song about Antarctica.
 
4 of the world's 7 continents start with 'A', and 2 of the remaining 3 are Americas.
 
kill 7 birds with one stone by listening to Pangaea. Other continents need not apply.
 
5:58 PM
Each of those continents also has at least 2 A's.
 
user559633
small amount of blood came out with the 50ish continent/regional songs i know that are metal
 
user559633
fair compromise
 
user559633
@corvid knows what's up
 
user559633
6:05 PM
sometimes i feel like i'm gretchen and all i want to do is talk about post-hardcore or metal
 
Now listening to the Gojira link... Hmm, these are surprisingly uplifting lyrics.
"You have the power to heal yourself". Right on.
"[guttural sounds] black enormous insect [noise]" ok, not sure how we got here from there, but sure
 
user559633
@Kevin yeah they sing a lot about the nature of being and environmental causes
 
Sounds like a kakfest Kafkaesque
Stupid typos
 
Haha I was just thinking about Kafka.
 
Yeah that's all I got that from :)
 
6:10 PM
Gregor Samsa did not do a very good job of healing himself though.
 
user559633
seriously this band is all about earth
 
user559633
poor france
 
user559633
so many feelings about how life should be, but now they're not allowed to draw cartoons
 
user559633
to wit: 💩<-- muhammad
 
6:18 PM
THAT'S NOT HOW YOU SPELL IT AND WHERE'S THE PBUH?
 
user559633
yeah sorry i forgot to draw the pile of turd victimizing children
 
I have written a strongly worded letter to your ISP.
 
@QuestionC 2 without an "A": Ociania & Europe?
 
I thought Australia was the continent. What's the Oceania crap?
 
user559633
@Kevin lol i'm in russia. they have decades of experience dealing with impotent rage
 
6:20 PM
@QuestionC it's the official name (Oceania actually)
 
I sensed an ascii art reply coming. I wish there was one
 
I'm surprised that continent designations have an officiality status. Who decides these things?
 
Oceania (UK /ˌoʊʃɪˈɑːniə, ˌoʊsɪ-/ or US /ˌoʊʃiːˈæniə/), also known as Oceanica, is a region centered on the islands of the tropical Pacific Ocean. Opinions of what constitutes Oceania range from its three subregions of Melanesia, Micronesia, and Polynesia to, more broadly, the entire insular region between Southeast Asia and the Americas, including Australasia and the Malay Archipelago. The term is often used more specifically to denote a continent comprising Australia and proximate islands or biogeographically as a synonym for either the Australasian ecozone (Wallacea and Australasia) or the Pacific...
 
The continent used to be Australasia, not Australia didn't it?
 
Australia, sometimes known in technical contexts by the names Sahul, Australinea or Meganesia, to distinguish it from the Australian mainland, is a continent comprising mainland Australia, Tasmania, New Guinea, Seram, possibly Timor, and neighbouring islands. It is the smallest of the seven traditional continents in the English conception. The continent lies on a continental shelf overlain by shallow seas which divide it into several landmasses—the Arafura Sea and Torres Strait between mainland Australia and New Guinea, and Bass Strait between mainland Australia and Tasmania. When sea levels were...
 
6:22 PM
> The terms Oceania or Australasia are sometimes substituted for Australia to denote a region encompassing the Australian continent and various islands in the Pacific Ocean that are not included in the seven-continent model.
 
Fair enough
 
The article on continents pretty consistently uses "Australia".
But it's, y'know, Wikipedia.
Can't really use it as an "official" source of anything really.
 
Especially funding
 
user559633
I've liked 100% of the people that I've met from Australia, so official petition to rename it Australiawesome (or the second thing we thing of)
 
user559633
6:25 PM
wikipedia is important because it's useful to get morons to quote lies to you on the internet
 
user559633
also did you know that if you have a mental disorder, you're culturally and mentally superior to those that are well-adjusted?
 
I don't need Wikipedia to tell me that ;-P
Return to your sportball viewings, normals.
 
187
A: Improving "demonstrate a minimal understanding" close reason

jmacAnalogy Time A good question-answer pair is like collaborative problem solving. The asker has a big puzzle they are trying to solve, and are stuck on some part of it. A good question will explain what it's trying to achieve as well as the specific problem they are currently facing ...

user image
3
 
Cookie monster!
 
user559633
fuck that's good
 
6:27 PM
Haha.
 
Read the answer, it's pretty amazing. That picture is doing most of the work though.
 
user559633
i like how reserved "irl" kevin laughs are. they're either reliably "haha" or "Haha."
 
Hey, @tristan, (or anyone else with FFI knowledge), do you know if I need to do anything special to a string before I pass it to an FFI function if that function is expecting an array of char?
 
user559633
@MorganThrapp which ffi method? cython or ctypes will do goddamn magic
 
Do you have the four elemental orbs yet? Hang on, we are talking about Final Fantasy 1, right?
 
6:31 PM
@tristan ctypes.
Ah ha! Figured it out. I was missing the b in front of my string.
 
user559633
@MorganThrapp yeah ctypes and cython were written by goddamn giants
 
I'm getting an access violation now, but at least it's a different error.
 
Heh I'm so often guilty of posting off topic that I stopped posting questions at all for a long time - except the obvious ones ("Explain me the documentation").
 
user559633
i like that a css self-answer of mine is going to bring me to 10k.
 
@tristan I like to refrain from hyperbole so that if I really do end up rolling on the floor, you'll know it.
 
user559633
6:33 PM
same but also wikipedia and tumblr say that the more i tend to paint the edges, the more intelligent i am
 
I did fall out of my seat once while watching a remarkably funny comedian on TV, whose name I have since forgotten.
 
Where do questions go: "I'm trying to solve this Finite element method, but it's taking 5 days to calculate, where can I make shortcuts so that the computational stress becomes less?"
 
So it's possible to get me ROFLing, but it isn't easy
 
Which is basically a mash of computer science, physics and math...
 
user559633
so in that aim, i identify as the sprite map of the year 1998 dragon, spiro
 
DSM
6:34 PM
@paul23: if you make it more specific, over on scicomp.
 
13 minutes into this metal album, and it's occurred to me that it makes for pretty good at-work music.
 
user559633
re: cookie monster tsumani: i like that people in '13 were talking shit on bad answers
 
user559633
@Kevin which
 
@paul23 Put it on codegolf!
 
DSM
Hopefully something continental.
 
6:38 PM
@tristan "The way of all flesh". I guess it autoplayed after the last link you posted.
 
Basically a solution would be of the form: "If you take a quadratic instead of linear base functions for your FEM of the air-flow directly above your wing, it cancels out with that other function (air flow's shear stress), returning a linear example. Once linearised the solutions become trivial for the computer to solve and take only O(1) time. Putting these in a a matrix and using CUDA in way XYZ enables very fast solution of this 100e9 cell array."
 
user559633
@Kevin oh good. gojira will open you to more metaland they're reasonably accessible.
 
"However be careful of memory, as you'll probably have to use 128bit floats due to otherwise roundoff errors occuring at a time expansion after only 100 steps"
That would be an answer I'd be looking for.
 
user559633
not meaning to be rude, but i would guess you're not a metal guy
 
Usually I can't listen to non-instrumental stuff because parsing the lyrics takes up too much of my attention. But my subconscious doesn't pick this stuff up as being human speech.
 
6:40 PM
That would indeed be a strange definition of rude
Maybe if Wolverine said it
 
It would be rude if he said it to Colossus.
 
user559633
 
user559633
you're a few hours away from loving metal.
 
"You're not a metal guy"
"How could you say that?" _weeps a single mercury tear_
 
user559633
god i'm excited for kev-kev
 
6:42 PM
@tristan Ok I am now listening to this
 
The only metal band I ever really got into was Porcupine Tree.
They're like prog metal.
 
Oh heh I used to listen to them
 
user559633
@Kevin i'm giving you the accelerated course. mastodon is pretty deep-end metal
 
I"m actually very interested in FEM and spectral methods. It's a highly updated topic nowadays. Between the 70s and 2000 they would just put the base functions always as linear functions. And shape everything for that due to algorithms on computers for solving problems algebraically not developped fast enough. However since 2000 they are using much more complex methods. Together with CUDA this is something that looks amazing to me.
 
@RobertGrant I actually got to see them live on their last tour. It was a great show.
 
6:43 PM
I remember Lightbulb Sun
 
That was a great one.
 
Sadly there's very little of it spoiling out of the scientific communities; and on an application level it's still always used "as is".
 
I loved the whole Deadwing album.
 
And inside the communities it's always entirely theoretical, trying to implement the new ideas actually seems to slow it down or give memory overflows in my cases. (You'll need to be nearly a language guru to do it correctly).
 
user559633
6:46 PM
the whole "crack the skye" album is really heavy. the songs that will catch you are the drummer dealing with his sister that passed
 
The last song to give me a strong emotional response was Lonely Rolling Star on the Katamari Damacy soundtrack. Not often I feel like I'm being sung to rather than sung at.
 
user559633
get into it
 
Hey, I think I know this one. It was quoted in the webcomic Lego Robot.
 
user559633
 
6:50 PM
"White whale / holy grail", right?
 
Tristan that almost sounds like deathmetal
 
user559633
yessir
 
@tristan Is that Paul Rudd?
 
user559633
@MorganThrapp yuuuurp
 
@tristan Thought so.
 
6:51 PM
Sort of NSFW? Just kind of weird really.
 
user559633
i'm 80k USD away from face tattoos FWIW
 
Did not expect Porcupine Tree Halo to have a harmonica in it.
 
user559633
god i wish this was python and metal chat all the time
 
@Kevin Yeah, they do all sorts of crazy things with their instruments.
 
user559633
6:55 PM
the chat in which tristan introduces his favorite dead bands
 
user559633
fuck my name is annoying. thanks guys for making an effort or w/e
 
P. nice guitar work on that Mastodon track.
Getting a little bit of a Blink 182 vibe from Small Brown Bike
 
@tristan Hello Kitty on your forehead? :D
 
user559633
@Kevin oof
 
The second-to-last song to give me a strong emotional response was Adam's Song.
Spilling apple juice in the hall... Liek if u cri everytim
 
user559633
7:04 PM
why must you say things of which to poison my heart
 
I'm just trying to give a picture of my usual musical territory.
So, so far videogame soundtracks and pedestrian radio.
 
Note: if ever employing tristan, counter his salary negotiations with an offer to NOT play My Heart Will Go On all day every day in the office
 
user559633
@RobertGrant surprisingly effective. shit.
 
I listened to six different mashups of Spider Dance yesterday. Have I lost all dignity yet?
 
At this point one might question the a priori assumption.
 
7:08 PM
I think you should listen to a few more mashups to know for sure
 
@AaronHall nice
 
The Temmie Village BGM has a pretty good dubstep remix.
Looks like this stunned silence will buy me enough time to finish The way of all flesh. Just according to plan.
 
Does anyone know what "Stairway to heaven" means in this context?
 
I googled for stairway programming patterns and this is the only hit that seemed relevant
 
Why can't it ever be Jazz talk? You guys are the worst.
 
I linked to Pangaea. That's a jazz album.
 
See page 23 of that pdf I posted
 
Also page 6. The stick man in the UML diagram is actually Louis Armstrong.
 
7:29 PM
I just don't understand that C++ (or Algolish pseudo-code). Seems like the "Stairway to Heaven" pattern requires multiple inheritance to pull off.
I've done some clever (I think) things with OO in Python, but I seem to think so differently from these texts on OO design patterns.
 
Every example of it I see is confusing and involves diamond inheritance, so you know anyone using it must be a real rockstar.
 
Are byte literals null terminated?
 
len(b'')
 
So no?
 
Apparently.
 
7:37 PM
@JRichardSnape yes, I also got ~2.5 times faster code using Cython, I don't know what I was doing wrong at first time, but happy that able to do optimizations. dl.dropboxusercontent.com/u/32435266/cython.png
 
@MorganThrapp wait, what do you mean, like null terminated in Python, or in the C implementation?
 
I'd expect it to be implementation-dependent. Maybe CPython null-terminates byte objects, but there's no way to detect that from the Python sandbox.
 
Really, I need to know what happens to it when it gets passed through cFFI.
 
OTOH, a bytes object can contain "\x00" characters, so wouldn't that imply that null chars have no special significance?
Now to look at bytesobject.c to see how wrong I am.
 
7:42 PM
> If str' is NULL then PyBytes_FromStringAndSize() will allocate size+1' bytes (setting the last byte to the null terminating character) and you can fill in the data yourself. If `str' is non-NULL then the resulting
I might be taking that out of context though.
Also, ew, this comment uses backticks and apostrophes as directional quote marks.
 
Denied!
 
ASCII Is Not Dirigible
(Mostly a chance to say dirigible)
 
Here we go:
Type PyBytesObject represents a character string. An extra zero byte is
reserved at the end to ensure it is zero-terminated, but a size is
present so strings with null bytes in them can be represented. This
is an immutable object type.
 
Okay, cool.
 
I know that empty str objects are 37 bytes in Python 2.7 64 bit, plus 1 byte per additional character.
That's some overhead
 
7:47 PM
Thus fulfilling the prophecy told to me last night, "before the cock crows you will source dive three times"
 
Let's split whole wikipedia into a list of single-character strings
Almost 9, time to visit the supermarket for diner
bye
 
An int is 24 bytes, and a long is 28 bytes
 
>>> sys.getsizeof(1)
24
>>> sys.getsizeof(1L)
28
>>> #some ones are bigger than others
 
I have an answer about that...
but I think we've discussed it before.
 
Ever get the feeling the data structure you built all your d3 around is actually wrong?
sigh
 
7:53 PM
tell us all about it
 
>>> for i in range(20):
...     print i, sys.getsizeof(2**(8*i))
...
0 24
1 24
2 24
3 24
4 32
5 32
6 32
7 32
8 36
9 36
10 36
11 36
12 40
13 40
14 40
15 44
16 44
17 44
18 44
19 48
I wonder why there are only 3 40s.
 
13 counts twice for superstitious reasons.
 
Actually I expected it to go something like 32, 33, 34, 35... Since you only need one additional byte for each increasing value of i.
 
2 ** (8 *i ) - 1?
 
I guess it rounds up to the next multiple of four bytes for some kind of amortized optimization.
Same reason (I assume) that dicts and lists etc multiply their capacity by some multiple of their current capacity when something gets added to them, rather than just allocate one new slot.
Still doesn't explain the shortage of 40s but oh well!
I could source dive for a fourth time but I might tear something.
 
7:58 PM
Yeah you don't want to get the bends
 
googles cover. Nope.
Ooh, rot13.com got an update.
You can rotate by anything from 1 to 25 inclusive.
That there is no ROT26 option disappoints me.
 
def rot26(s): return s
 
That probably doesn't work for every alphabet
rotf8. That's the future
 
It works for the only alphabet that matters... America's. B-)
 
Is there a utf-8 compatible rot13?
 
8:04 PM
I'm sure the committee will get right on that as soon as they approve a couple more emojis.
 
Indeed
 
8:15 PM
@Kevin I guess the number of bytes needed to hold the number is stored in a nibble. 0xF is a special value meaning "Oops, just add 15 to the next nibble".
 
Hmm, could be.
 
More generally, they're probably storing the number of bytes and periodically need to allocate extra space for that increasing value.
 
DSM
menu = input(print("Type 'add'.. etc')) is a way to have an extra None show up in your output that I don't think I've seen before.
 
Interesting reading regarding memory allocation for ints: hg.python.org/cpython/file/2.7/Objects/intobject.c
 
DSM
8:30 PM
I think I feel about CPython implementation details the way Kevin feels about the various sportsball games.
 
Wow, I'm surprised input accepts a non-string argument.
 
really?
 
Yes, it does and I am.
 
DSM
It calls str on the argument, apparently.
 
I was using raw_input to print data and freeze the screen while debugging a bit of code. Nicer than just printing it. But I was also putting an apparently redundant str() call in it...
 
8:36 PM
The docs don't make any prescriptions about the type of the prompt parameter, but help(input) explicitly calls it "the prompt string". So I'm not sure whether to call this undefined behavior or not.
 
newsflash: UMD / AMD / require.js / < ES6 modules are crap.
 
I don't follow
 
@AaronHall @AaronHall only leads
 
@Kevin look at the starboard
 
that or gets out of the way.
 
8:37 PM
you only have 2 out of many
 
Yes, it is so.
 
@Kevin America, the inventor of the American alphabet.
I am pretty sure that someone somewhere sometimes had wondered "oh, they're using the American alphabet to write that silly Italian language too"
 
Yep we just had to liberate it from the Godless Europeans and get rid of the umlauts and such.
 
else: label.text = 'Redirecting...' # Reasonably close to what the user probably intended
 
8:55 PM
gets out of the way ciao, babes.
 

« first day (1921 days earlier)      last day (3012 days later) »