Posted by
syl, 3 years ago:
everything was better in the past. you know, apart from the fact it was shit. i want to poke out their stupid elitist eyes »
All I saw was a bit of food on a fork that looks like it could be haloumi cheese. Nyom.
AAAAAAges ago, Cal was talking about how he wished there was a tabbed version of Putty.
Putty Connection Manager is this, and it can log in for you, and it can run commands after logging in, and it's ace.
64-bit support
Posted by
cal, 3 years ago:
been playing with it, but not really in love with it. plain old putty might just be good enough
sometimes, ruby makes me sad
ok, i just came home and i'm hella drunk and for no goo dreadson i can think of i'm looking here instead of upside down puking in the toilet
but i don't follow this, the "sad" bit
"but it still matches end of line with $ rather than end of string."
struggling to see the differnce, in the example, of end of string vs end of line, gven you've passed a closed-ended string
i may be missing something obvious.
fukit, i'll go out on a libm and say i'm CERTAIN i;'m missing something obvious. does maybe the /s flag imply a non-line string?
(CBATG)
Posted by
cal, 3 years ago:
/s is single line mode, /m is multiline mode
they have two effects in regexps.
1) the dot (.) metacharacter matches any single codepoint in /s mode, and any codepoint apart from newlines in /m mode.
2) '^' and '$' match the beginning and end of a line in /m mode and the beginning and end of the string in /s mode. line is defined as any sequence of codepoints bounded either by the start of the string, the end of the string, or a newline.
for instance, in perl:
"hello" =~ /^hello$/; # true
"hello\nworld" =~ /^hello$/s; # false
"hello\nworld" =~ /^hello$/m; # true
this is all very well, since you often need both. but ruby only has /m mode.
Re: The T-Mobile advert - is this
Pink?
cal: ta
but:
based on this, isn't multiline mode then simply string mode but with endofline not explicitly trappable/specifiable, whereas in stringmode it's implicit?
ie, if you make EOL an explicit character (separate from EOS) (i could NEVER find a way to escape ctrl-J (old fume)), isn't multiline mode complete?
hang on, your examples subtly contradict your explanation... or rather invert my own restatement... let me think
ok, i think i was getting muddled by old-unix shell-level/shell-utilities-level of string handling
the perl examples you use are multi-line strings, where in traditional shell-utilities it was tricky to type multi-line strings [without depending on shell respect]. on the other hand, you could casually create multi-line files and pass them in.
unix standard behaviour was to treat lines as separate and separable w/in the larger input.
with multi-line files (EOF proxying for EOS in this context), '"hello\nworld"'
==
'hello
world'
=~ /^hello$' would be true (for first line)
it strikes me that /s mode might be a bodge. EOL was never intended to imply EOS. (and $ was strictly EOL.) quite the opposite: EOS carried an implicit EOL. it's possible that in latter years EOS became synonymous with EOL, and the implicit relationship latterly inverted. certainly that's what your /s example suggests.
it's possible also that it might be useful to make explicit a differentiation between per-line and per-file State (t/f) for handling /m mode (traditional unix mode). such that your 3rd example returns {T,F},{T}.
ok, i REALLY need to attach a breathalyser to my keyboard
the step-shift in sed for distinguishing EOL and EOS/EOF was always a hassle for non-trivial scripts. you learned to love :
Re: The T-Mobile advert - is this Pink?"
Grim... good call. am checking, via what aussies would call a mate of hers in LA. i recognise remi nicole, too, i think.
Duh! You can easily see that it is. There's been quite a lot of hype about it anyway, if you're down with the kids.
Posted by
jeffry, 3 years ago:
of course it's pink, she did an "impromptu" performance afterwards, that and as much as I hate to admit it, she's the only one singing in tune
this photo of solar transit by the space shuttle is incredible. lots of great photos in the nasa stream »
And lots of crap ones of people standing at podiums (one of whom looks a bit like Gerry Adams, but isn't).
We want hooge rockets, not hooge egos.
Posted by
cal, 3 years ago:
the ones at the very beginning are cool, and the very end
Posted by
che, 3 years ago:
Surely that
is Gerry Adams
>if i wore a watch, i'd wear this one. beautiful
ok, that's the first watch i've seen in years that i'd wear. cal: do you know the maker/make? (there's no comments on the site, and my email's currently busted so i can't ask the poster)
Posted by
cal, 3 years ago:
designed by Denis Guidone
www.flickr.com/photos/desig...
I assumed it was a mock-up, though.
Bring on the colondee moderatorship!
Posted by
cal, 3 years ago:
shoot me an email - can't remember your address
I emailed you just the other day about the Bugs torrets, lazy.
I'll write one now.
Posted by
cal, 3 years ago:
oh yeah!
Posted by
syl, 3 years ago:
"wow, thanks for resetting my preferences and tweeting on me behalf spymaster. fuck you"
What the hell is that all about?
This is a bain2 rant, actually, from Twitter. "
i have armadillos loose in the back of my van. :( #worksucks #fail #dimebar"
Possibly the best and arguably most surreal Tweet ever.
Posted by
cal, 3 years ago:
he delivers pets, so it's not quite as odd as it sounds. but yes
Yes, I knew that, but even so that's got to be a classic and probably unique tweet.
this infographic-style resume is wonderful. hire this human
Clever, but he's just showing off.
god, i really want to read more of this book
People are suggesting it's this one:
www.amazon.com/Moon-People-...
Posted by
cal, 3 years ago:
yeah, i know - considering buying it
I thought that continue time clock looked familiar:
www.handinhandclock.com
So you're writing another book, Mr Henderson? What's it about?
Posted by
che, 3 years ago:
unicorns probably.
Posted by
che, 3 years ago:
The thing about unicorns is that if you start at the wrong end, it takes ages to get to the point.
Badum, tish.
the humans are doomed . we should just give up now
But surely it's only a matter of time before they develop the ultimate wanking machine. If only Brock could have held out a little bit longer.
© 2000-2009 Cal Henderson. We try to have valid XHTML, CSS and high Accessibility.
It's all a bit pointless really.
Why's that, old bean?
Now, I'm not that good at maths, but that zombie outbreak thing - why are dead zombies coming back to life?
Posted by
cal, 2 years ago:
warhead: validity is a dumb goal. doesn't guarantee it will work everywhere of everyone can see it. it's mostly to make nerds happy.
grim: don't imagine i actually read the article...
Posted by
syl, 2 years ago:
"LOST 1-5 is super cheap right now"
Thank you! I love LOST. I've not ever been so hooked on a series..
oh god, this is great. but what's the music playing in the background?
It's 'A summer place,' by Max Steiner. I knew the tune very well, as it was always on the radio when I was a kid, and was a big hit for Percy Faith and his Orchestra, but I was damned if I could remember its name or the artist. So, I Googled, 'what is the name of this tune?' and was directed
here. In the 'name that tune' section, I chose 'tap the rhythm on the keyboard' and the damn thing recognised it as soon as I tapped it out. Fantastic.
PS You can find it on last.fm under 'Percy Faith' with the title 'Theme from A Summer Place.'
Posted by
syl, 2 years ago:
I also remember that tune.
Posted by
syl, 2 years ago:
"Dude" LMFAO!
Desmond "Brotha" :
www.youtube.com/watch?v=Tq_...
Hmm, when I first saw
this I thought that the second chart showed the time of day when you had peaks of activity and assumed it meant you were doing the five-knuckle-shuffle before getting out of bed every second day. Of course, that could still be true.
Star Wars Uncut:
Steve Jobs introduces... iDeathStar
www.youtube.com/watch?v=jbH...
Yahoo's Ridiculous Mission Statement:
standard instance/symptom of Infestation of Parasites, common to all large yankcorps
saltation.blogspot.com/2004...
(tail end email is the funny/poignant part. skip the intro; i was still fuming then)