« first day (1705 days earlier)      last day (3135 days later) » 

6:00 PM
@ZachGates Wow, I never knew about the Sieve of Sundaram. That's pretty cool.
@Calvin'sHobbies I'm sorry. I won't do that again.
 
@El'endiaStarman I agree. I like it better than the Sieve of Eratosthenes :P
 
Didn't think of that, thanks
 
@mbomb007 Re your comment about Retina: I don't think it's possible to create an invalid configuration string at this point. You also can't skip stages conditionally, so a syntax error in a regex is not an option. You could only try letting catastrophic backtracking run out of memory or defer to a bug in .NET's regex engine, which only occurs on some inputs.
This would be easier, if Retina had an eval stage.
 
Is it bad taste to answer a question with a VERY similar answer to an already existing one?
 
@sweerpotato I don't like when people do it, but I avoid voting on them. It depends on how "VERY similar" they are.
 
@sweerpotato same language?
 
6:32 PM
He used C++11, and I wrote it in C++14
So it's nearly identical
 
Does yours use a feature unique to the 2014 standard?
 
Yes
 
This is called "epsilon" right?
 
Isn't that the math thing for "included in" or whatever the term is?
belongs to
 
6:37 PM
its a broken fork guys!
 
A severely broken fork.
 
@sweerpotato I'm pretty sure you can place a variable on either side and have it mean "as x approaches y"
 
it's a cropped dinosaur beak
 
[](auto s){return s=="google"?throw:s.size();}; my answer
 
6:38 PM
@ZachGates No
 
Uses a general lambda
 
more seriously, it's "element of"
 
^
 
1∈ℕ
 
@sweerpotato I wouldn't post that as a separate answer. If anything you could post it as a comment and say "hey you can use auto with C++14 to save X bytes."
 
6:40 PM
ε is epsilon
 
2
Q: How many three-fruit pies can you make?

xnorA three-fruit pie is made of three different fruits. What is the most three-fruit pies you can make from the quantities of 5 fruits you have? For example, with 1 apple 1 banana 4 mangoes 2 nectarines 0 peaches you can make 2 pies: apple, mango, nectarine banana, mango, nectarine Input: ...

 
Calling the function is entirely different though @AlexA.
well, sort of I guess
meh, I 'll just abstain from posting it
 
@aditsu it can be written similarly to the "element of" sign as well though
 
@ZachGates In general challenges should specify the input and output and leave the algorithm to the implementers. Finding prime numbers has been done. Specifying "Find prime numbers using this particular sieve" would be a crappy challenge.
 
In LaTeX, \epsilon looks like \in (kind of) and \varepsilon looks like what aditu mentioned.
 
6:41 PM
@MartinBüttner yeah, ϵ - "lunate epsilon" apparently
 
@sweerpotato Calling it isn't part of the post so that doesn't really matter in this case (IMO).
 
but I'm not sure how many times I've seen that, if ever
 
I agree
I'll just add a comment
 
@PeterTaylor I've been wondering about this in the context of a potential sorting catalogue-style challenge. In general I definitely agree with you, but in the case of sorting, I think it would make more sense to have separate challenges for the common algorithms (at least quick, merge, heap, radix, bubble, I guess) - at least that's what Rosetta Code does. but then why does it seem to make more sense here than usually?
 
from 68 bytes to 47 :X
I really hope he uses it
 
6:46 PM
@BetaDecay Yeah, HS internet security is pretty pathetic. Or just their computer security in general. I remember that I found how to get to any current or past student's documents from any computer. Also, any website could be accessed by changing http to https.
@MartinBüttner Yeah, that's what I had guessed. What happens if a config string specifies multiple modes? Does it just use the first one? Like TRM`regex?
 
the last one actually
 
@mbomb007 That used to work but then they changed to Viglen and it stopped :P
 
@MartinBüttner I actually have wondered if it could be possible to have a mode where matching would create a new regex to use for the next set. Sort of like having a self-modifying Retina?
 
yes, that's sort of in the pipeline, but I haven't yet figured out a good way to implement it, because the input to such an eval stage would need to contain the input, the regex, and if the evaluated stage is supposed to be a replacement it also needs to contain the substitution.
 
@BetaDecay Yeah, but the fact that Google Translate works as a proxy means their security is pretty pathetic. Either they don't expect kids to know enough to get around it, they don't want to pay for better, or they're ignorant. Probably the first two.
 
6:52 PM
Edit: Lightspeed not Viglen
 
@MartinBüttner Maybe have a mode that includes two replacement patterns? The normal one, and the one to determine the next regex?
 
@mbomb007 Haha well translate was blocked at some point
And babel fish
 
@mbomb007 and to make good use of such a stage, I suppose I'd also need ways to escape strings for use in a) a regex, b) a character class, c) a substitution string, d) a configuration string, although that is certainly a possibility with the new replace mode I'm working on.
 
@MartinBüttner I'm not convinced in the case of sorting, for two reasons. Firstly, the catalogue-style stuff is about the shortest way to do something, and to me that is a strong argument for not specifying which sort: let each language use the one which is shortest. Secondly, some of those sorts only make sense in the context of imperative languages (or, at least, languages with mutable arrays).
 
@PeterTaylor the second point is a good one. I think at least a time complexity constraint would be interesting though. the challenge is fairly boring if sleep sort or bogosort is the shortest in most languages. it gets more interesting if you need to choose between quicksort, merge sort and heap sort (assuming a restriction on expected time complexity). but then golfing each of these could be sufficiently challenging involved that you don't want to try out each of them to find the shortest.
then again, I think this would work, if an answer was scored by the shortest way to do (say) an O(n log n) sort, but answers would be encouraged to include golfed versions of other O(n log n) algorithms as well
 
6:57 PM
@MartinBüttner Well, you could add another/more meta-character(s) for use in replacement strings? So @1 might indicate escape the string for whatever. Just pick some relatively unused character. If necessary, maybe add a configuration string to replacement files for certain modes?
 
@MartinBüttner did you design the Transform groups with T`d`w in mind?
 
2
Q: Sieve of Sundaram (for finding prime numbers)

Zach GatesThe Challenge Implement the Sundaram sieve for finding prime numbers below n. Take an input integer, n, and output the prime numbers below n. You can assume that n will always be less than or equal to one million. Sieve Start with a list of the integers from 1 to n. Remove all numbers that ...

 
@randomra as I said, it was luck
 
oh, there is explanation now, sry
 
7:00 PM
the reason I chose the order underscore-digits-letters is that I wanted to sort it by length of the subgroup, such that you need less padding if you don't care about the underscore and digits
 
I thought it was on purpose as it isn't in ascii order
I see
 
I can only think of boring challenges
 
@MartinBüttner Are you opposed to modifying the regex engine? I think it'd be nice to have additional replacement options/features. Non-.NET regex flavors support $100 to append 0 to the tenth group, for example, since the default max length of number of groups is two digits. To do three you'd need ${100}1. But .NET and Retina require ${10}1 to separate the digits.
@sweerpotato Just mess around with number sequences you think might be interesting. Or think of puns and turn them into challenges.
 
@mbomb007 I'm in the process of doing that, but this is not modifying the regex engine.
The replacement feature can be built on-top of the built-in Regex.Matches
I really don't want to reimplement the regex engine, because the .NET one is fairly complex (and I tried reimplementing the ECMAScript flavour once)
 
"Count the seashells in 'she sells seashells' tongue twister"
 
7:06 PM
@MartinBüttner Ah k. Also, is there something like $_ for the remainder of the string?
 
yes
$' I think
 
@MartinBüttner It'd be nice if the readme included all the options.
 
I wasn't going to duplicate MSDN :P
but I might once I release the custom replace mode
 
Ooooooooh sounds fancy
 
@MartinBüttner Ah. So $0 isn't the entire match?
 
7:09 PM
it is
but so is $&
also $+ isn't as useful as it sounds from the docs
 
@MartinBüttner Because you rarely hit 10 groups?
 
yes
2
but from the docs it sounds like it would ignore unused groups
which would be really helpful
(but it doesn't)
 
@MartinBüttner Not sure what you mean...
 
it sounds like (a)|(b) --> $+$+ should double each a or b
 
It could fix ${2}1 to instead be $+1 if there are 2 groups?
 
7:12 PM
but instead it doubles bs and removes as
@mbomb007 oh, that's a good point
 
@mbomb007 I think I could further golf some stuff now... How do I view my answers by language?
 
You can do a keyword search
 
@mbomb007 Do this search and then add the language name.
 
@mbomb007 if you search for yourself you can use user:me if you don't know your ID
 
7:16 PM
@MartinBüttner Ah, $_ is the entire input.
 
@AlexA. I wasn't even aware of that when posting this link=)
 
@AlexA. Thanks!
 
@AlexA. Ah, didn't think to include the tag. Virtual +1!
 
@mbomb007 maybe it could also be interesting to store the result of a stage in some sort of variable to concatenate it to a different result later on
@flawr yes
a) It's been done before quite often. b) "An answer to this question with N votes (upvotes minus downvotes) will contain up to N snippets of code, all with a unique number of characters ranging from 1 to N." (emphasis mine)
 
7:35 PM
@MartinBüttner Maybe a P mode for post-step operations. This line still accesses the previous step's groups, and could store them in "global groups". Wait a minute, skip the mode. Just add global/previous groups! Make @ (or symbol of your choice) reference the previous groups. If there were 3 capturing groups previously used, set @0 through @3. These groups will remain until set again, so if the next replacement only uses two, then @3 is still set from before.
The only overhead is that @@ is now necessary for a literal @.
 
this sounds really useful, but I don't think it's well-defined, because the groups are specific to a single match, not the entire stage.
 
@MartinBüttner Yes, but if the stage loops, for example, just reset the groups in each iteration.
 
no, this isn't about loops
input ab, regex (.), replacement whatever. what's in @1 now?
 
@MartinBüttner $1 if this is the first stage, else $1 from the end of the previous stage that used replacements.
 
but what is $1 if there were multiple matches in the previous stage?
the contents from the last match of that stage?
from the first match?
 
7:40 PM
@MartinBüttner Yeah
@MartinBüttner Unless you want to store them in an array of some kind and access with an index.
Probably too messy.
 
it might (occasionally?) be useful to use the value from the corresponding match of the previous stage
so the third match in the current stage would treat @1 as the $1 from the third match of the previous stage
wait that doesn't work if I want to use @1 in the regex of a stage, only in the replacement
or maybe it does, but it would be really messy
 
@MartinBüttner It's already messy enough in that matches remain until overwritten. If you have replacements that you don't know whether they happened or not, then a global group may or may not have been changed. It's important for results, but makes things more complicated to determine.
 
I could just always reset it and grant access to earlier stages by using multiple @s
 
@MartinBüttner Then use $@ for a literal @ instead? That makes sense.
 
7:48 PM
yes
 
@aditsu I got a text from ~13131 earlier
 
@mbomb007 feel free to add an issue on github so I don't forget, but don't expect this to be implemented any time soon. there are some more important features I want to take care of first
 
@aditsu too bad the comma ruins the palindrome
 
@ZachGates so.. from -13132 ?
2
 
@PhiNotPi Shh, it's a silent comma.
@aditsu 31313
 
7:53 PM
I thought I would get more votes for beating pyth yesterday :p
I guess it's all about timing and question popularity
 
@MartinBüttner I don't have a github acct.
 
You could make one
Requires literally nothing but a valid email address and a couple seconds of your time
 
Not even a password? That doesn't sound like a very secure service...
2
 
They do require a password :P
 
No they don't
Nor do they require a username
Or even a internat
 
8:00 PM
or even a couple seconds of your time
 
You know what I got for believing you, Alex? A red box and an error. "Password can't be blank and is too short (minimum is 7 characters)" Then your second comment I looked into, again an error. "Login can't be blank". Your third comment I then tri
5
 
RIP Sven
2
 
Victim of internet asphyxiation
 
He had too menny internat
Compute not handle internt.
 
8:12 PM
He CUDA GeForced it
 
But he had a hard drive time (did I do it right?)
 
nope
 
Al.exe is not responding either
 
Brain process halting with error code 69: Insufficient brain
 
8:17 PM
 
sven?
 
Flappy Bert?
 
Sven's the one who's dead isn't he?
 
me: "WHY DOES THIS PROGRAM HAVE A BUG I'M SO ANGRY"
me: notices fixing the bug saves me a byte
me: "THIS MAKES UP FOR EVERYTHING"
i yell a lot in my head
 
8:19 PM
Dear god
 
That seems even more difficult than the original.
 
Flappy Nyan is the best
 
I don't think it jumps quite as high as the original
so you have a bigger body to avoid touching anything with but it's easier to put yourself where you want to be
 
It also has a very tall hitbox (^ yeah)
 
Hitbox?
 
8:22 PM
the area you take up
if your hitbox touches a pipe you lose
 
@BetaDecay Many thanks.
 
A hitbox is an invisible shape commonly used in video games for real-time collision detection. It is often a rectangle (in 2D games) or cuboid (in 3D) that is attached to and follows a point on a visible object (such as a model or a sprite), though circular or spheroidial shapes are also common. It is common for animated objects to have a set of hitboxes attached to one moving part each to ensure accuracy during motion. Hitboxes are used to detect "one-way" collisions such as a character being hit by a punch or a bullet. They are unsuitable for the detection of collisions with feedback (e.g. bumping...
 
^ i agree
 
Whatever
I only use oneboxes. Not hitboxes.
2 cool 4 school
 
8:24 PM
n cool n+2 school
 
Could be 2n school
 
dau cwl pedwar ysgol
 
Nobody in here speaks Welsh.
 
I think it's supposed to be n cool n+2 school
Like with 3spooky5me?
 
translate: dau cwl pedwar ysgol
(from Welsh) two cool four school
 
8:26 PM
@AlexA. could be a n-square school!
 
@AlexA. @trichoplax speaks a little I think
 
Neither you nor trichoplax speak Welsh.
It's all an elaborate lie.
 
It's a trap!
 
@AlexA. ID10T error.
 
Everyone in this room can read Welsh. Understanding it is another issue.
 
8:28 PM
I honestly didn't even attempt to pronounce "dau cwl pedwar ysgol".
 
@BetaDecay It even has cognates
 
We all can write Welsh too
 
OK I think I've just encountered a wild Doorknob in #nethack on Freenode. starts singing It's a Small World
 
Probably because you two are the only two people on the planet who play Nethack.
 
;(
 
8:30 PM
@quartata Someone once tricked me and a friend into riding "It's a Small World" at Disney World by saying very emphatically how it starts off innocent then "just goes wild!". Yeah, we wondered why there weren't seatbelts and why we were the oldest people in line without children.
 
It's a Lonely World
 
can you encounter other people's bones files on online nethack servers? i've never really understood how that works
 
@AlexA. What's Nethack? Is it like Slavehack or HackerExperience?
 
Yes if you enable it.
 
8:31 PM
@mbomb007 The very first rogue like that matters.
 
do you get to know who they came from?
 
What's doorknobs username? (I just joined #nethack to look for him)
 
KeyboardFire
 
ppcg #nethack raid???
 
Just like GitHub and basically everywhere else except SE
 
8:32 PM
@ZachGates re your comment: this is exactly the problem with challenges which require a certain approach. why is it okay to search through a bigger space of is and js by ignoring their order, but not okay to search in units of 2? both deviate from the prescribed algorithm but are completely equivalent to it.
 
@mbomb007 Some kind of game nobody has heard of
 
@mbomb007 Don't listen to him. It's the greatest game known to mankind.
You'll realize this after dying from food poisoning 10 times.
 
Dying 10 times from food poisoning in real life?
 
@quartata Is it like Dwarf Fortress? (Which I haven't played, and yet I have it.)
 
Pretty sure you can only die of food poisoning once.
 
8:34 PM
I've never played Dwarf Fortress but I don't believe so.
 
@AlexA. #YOLO
 
You'd have to try it to understand.
Do telnet nethack.alt.org to give it a try.
 
I once died from eating bad cheese in Lord of the Rings Online.
 
Use a terminal with a black background.
 
@mbomb007 That is technically accurate, yes. :P
 
8:34 PM
@AlexA. In game.
 
Is NetHack like Dwarf Fortress's adventure mode?
 
quartata:
I've never played Dwarf Fortress but I don't believe so.
It's... just try it.
It's more like DND.
 
here are basically the three things i know about nethack:

- story spoilers
- if the game happens to generate a floor that goes all the way to the bottom of the area it can spawn in, you can listen south for a message saying "you hear a faint clicking"
- if you're playing on a server people can send you messages that are delivered by a mail daemon that leaves less than a turn later, but you can prevent this from happening to you by wishing for a statue of a mail daemon, using a stone-to-flesh wand on it and genociding it before it runs away the next turn
 
@quartata Did someone say DND! perks ears
 
Except it's the most cruel form of DND known to mankind.
You will die. A lot.
It's permadeath too.
 
8:36 PM
@MartinBüttner If you implement the sieve correctly, you don't need to check if 1 ≤ i ≤ j.
 
oh, and if you're blind and walk on the same tile as a cockatrice you lose unless you're wearing gloves because blind characters canonically touch everything on the same tile as them to figure out what they are
 
I recommend you go to the nethack wiki and read a little bit first.
 
@quartata So it's like DND crossed with Paranoia XP.
 
@undergroundmonorail This is incredibly annoying in Zen challenge.
@mbomb007 Don't know that game either, but sure. The primary cause of death in NetHack is starvation.
That should tell you a bit about it right there.
 
the primary cause of death in paranoia is being accused of being a communist
 
8:38 PM
Beating the game is considered an act of incredible skill.
 
(There's a big difference between DF fortress and adventure modes)
 
@undergroundmonorail That can actually happen, if by being accused of being communist you mean shoplifting and getting killed by a cream pie thrown by a Keystone Kop.
It's basically the same idea.
 
@quartata my players just straight up shout "commie" and shoot each other
 
Much more of a direct approach.
 
i saw a tas of nethack that lost before taking control
 
8:40 PM
@ZachGates I don't understand.
you told xnor that you can leave out that check
 
here are basically the three things I know about nethack:
- it's a text-mode game
- it's extremely old
- it has "grues" that want to eat you
 
Just try it Mbomb.
 
is this discussion about what I think it's about? :D
 
Here are the things I know about Nethack: @Doorknob plays it.
 
Yes.
 
8:41 PM
@aditsu There are no grues in Nethack. That'd be Zork. :P
 
there's an item in the game that can kill you if you pick it up and are unprepared (i don't know what it is or how it works or how to prepare) and there's a very very low chance it spawns on the first floor and if it does there's a low chance it spawns on the same tile as you, and if you have your settings all default autopickup is on. gg.
 
It started because I pointed out that I ran into you in IRC #nethack.
 
@quartata The primary cause of death is not starvation, unless you are a woefully inexperienced player. :P
 
@undergroundmonorail On the server I play autopickup isn't on.
 
@quartata Really? What's your username there?
 
8:41 PM
@AlexA. Could just be a very boring IRC channel and they're all trying to fool us ;)
 
@quartata ¯\_(ツ)_/¯
 
@Doorknob oh ok, that makes an even better point then :)
 
@Doorknob I mean when you consider all deaths whether they were new or not.
@Doorknob Same as here.
 
@MartinBüttner Right. You can implement it without having to actually check if 1 ≤ i ≤ j. A loop for example.
 
@undergroundmonorail That'd prolly be an artifact weapon, which'll blast you if you don' match its alignment. Any decent player has autopickup either off or set to only certain items, though. :P
 
8:42 PM
@minxomat I... actually wouldn't be surprised if that were true!
 
@PhiNotPi Nah, about the only similarity is that they're both text-based.
 
one time i made it like three floors without dying but that was as the character who starts with a shovel. i wasn't even trying to win, just wanted to see how far i could technically get
 
@Doorknob The only difference is something they have in common?
 
There's no shovels in Nethack either. Maybe you mean pickaxe/mattock? ;)
 
probably that
listen i already listed the three things i know, anything else i happen to get correct is bonus
 
8:43 PM
@AlexA. what are you talking about
 
@ZachGates I think xnor's question wasn't whether the code has to contain i <= j but whether he could actually have a loop where both i and j got from 1 to n in any combination (the double counting wouldn't matter because we're only looking for one such combination)
 
@Doorknob I don't recall
 
@Doorknob you said "the only difference" when you meant "the only similarity"
 
no I didn't I have no idea what you're talking about
 
8:45 PM
I don't even know what's going on anymore.
 
look at this photoshop i did yesterday
 
@MartinBüttner Hm, you may be right. I might have misinterpreted his question.
 
Hah
 
@undergroundmonorail You're bit late with that (youtube.com/watch?v=aRfiaKtlF_k)
 
damn
fucking jimmy kimmel pre-emptively stealing my jokes
 
8:49 PM
One more thing about nethack:
<Nehpets> hmm
<Nehpets> nymph stole my stormbringer, teleported into a shop
<Nehpets> now the shopkeep wants 42000 gold if i want it back
<Nehpets> i think i hear stormbringer thirsting for blood...
Stuff like that happens.
 
2
Q: Should we remove the reputation requirement for answering on meta?

DoorknobI've been made aware that it's possible to lower the reputation threshold required to ask or answer questions on a per-site meta. A very common complaint about the sandbox is that new users, who are the ones who typically need it most, don't have access to it, due to the minimum 5 reputation req...

 
@NewMetaPosts About time
 
Seriously. Lazy bot.
 
Wait, is there a rep requirement on meta?
 
8:50 PM
@quartata you haven't truly experienced Nethack until you've accidentally genocided yourself. What, no, I totally didn't do that to an easily ascendable character
 
@Doorknob Ouch.
@undergroundmonorail Huh.
 
I was so used to playing Wiz that I forgot I decided to do a Valk... and proceeded to forget that I was an h
(from then on I decided to enable showrace)
 
i always think it's funny when someone who's brand new to the site posts a garbage challenge because i always think "maybe you should have sandboxed this... oh, wait, you couldn't. maybe you should have spent more than 30 seconds on the site before posting a challenge lmao"
 
Calvin's Flawr
flawrground monorail
Door Hobbies
Calvin's Knob
minxomartin Büttner
 
Alex's monorail
2
 
9:02 PM
is it possible to increase the reputation requirement for questions on main?
 
How the hell did this still ping me.
 
What?
 
Magic
 
Ohhhh. I see.
 
fladisu
Zachnor
PeterBearMonkey
 
9:05 PM
very funny
 
Geobüttner
PhiNotPi
minxnor
haha calvin's knobbies
 
minxomb007
@undergroundmonorail In general, yeah. But the specific causes of death are different. Like the whole sector was bombed, someone shot you in the back, or your pet robot decided to incinerate you. It probably depends if you're playing Straight/Dark, Classic, or Zap.
 
9:32 PM
0
Q: Leaderboard function

SeadrusI know nothing about the way the site works etc., but how cool and convenient would it be to have a simple wrapper to add a leaderboard for the question, like here and here? That functionality would really great for users on the site.

 
9:46 PM
@AlexA. STAHWP!
19
Q: What are the reasons for and against wearing a bicycle helmet?

Jay BazuziThis is a tricky question to ask correctly. One attempt has already been closed as subjective and argumentative. There is no one correct answer, for sure. However, there are interesting reasons that I believe are worth recording here. Ideally include supporting documentation/research. I will vo...

@AlexA. PS: Did you ever click 'help' on the bottom right?
 
one time i fell off my bike and landed smacked my helmet against the ground. i was fine but i hurt my wrist and later i went to the hospital because my mom thought it might have been broken. when i told the doctor what happened he asked me if i hit my head and i said "no". it wasn't a lie or anything i just honestly thought that's what i was supposed to say because i only hit the helmet
also i thought i barely hit it at all but later that day i looked at the helmet and it had basically shattered lmao
 
I always have to giggle when someone uses 'hit' in that way. When you said you 'you hit your head' I imagine you punching your own head repeatedly. (That's just because there is another word than the literal translation of 'hit' in my native language=)
But I agree, helmets are nice=)
 
my dad fell off his bike the other day and hurt his shoulder. i haven't seen his helmet but apparently it's bad enough that he has looked at it for a while just morbidly thinking "what if..." so i'm glad he had it
 
Motorcycle helmets are nice too.
 
this is correct
 
9:59 PM
Aw f****
Glad he had a helmet on.
 
> This is why you never, EVER stick your hand or any other part of your body under the mower while the blades are rotating. This is a piece of metal that used to be bolted on the deck, and was gradually bent away until it was caught by one of the blades. Those things can cut through metal.

Note also the gouges above the cut; that was when the metal was close enough to be hit occasionally, but the blade hadn't caught the edge yet. I heard that as strange ticking noises that happened only in a certain area. Then of course, when the blade actually hit the edge, it was VERY obvious that someth
 
I do not realle get what is going on in that image?
 
Talking about a riding lawnmower here. This is perhaps one of the best demonstrations I know of why you don't put any body part in the path of its blades.
That's the underside of a push lawnmower. See those blades? The riding mower I was on has two of them and one of them caught a piece of metal bolted to the deck. It cut right through what is, I think, 1/4 inch steel.
 
Well the first photo looks like a crappy photoshop/greenscreen footage of some masked guy with sunglasses overlaid with a night footage of trash hill.
But now I get it=)
Good night everoyne=)
PS: This guy is lucky too
 
10:45 PM
is there a short way in Python to take all but the last i elements of a list?
the expression l[:-i] fails for i=0
there's l[:len(l)-i] but that's long
 
l[:-i]or l ?
 
that's a good idea
it doesn't work when i is large though
it suffices for 0<=i<len(l)
 
Well, that's when the answer is defined :P
 
I have an idea for a popularity contest where the programs have to be heterograms (each non-NOP character could only be used once), but I'm not sure about any details other than that.
Does it sound like a good idea?
 

« first day (1705 days earlier)      last day (3135 days later) »