MacBook, defective by design banner

title:
Put the knife down and take a green herb, dude.


descrip:

One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com

Using 89% of the same design the blog had in 2001.

FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.

As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green.

x

MarkUpDown is the best Markdown editor for professionals on Windows 10.

It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support.

Features you won't find anywhere else include...

You've wasted more than $15 of your time looking for a great Markdown editor.

Stop looking. MarkUpDown is the app you're looking for.

Learn more or head over to the 'Store now!

Monday, June 30, 2014

How many sites do we really go to on a routine basis?  And when we go there, there's usually a pretty specific way we want to interface with them.

Cloud utility mobile apps are what bookmarks on feature steroids.

Labels: ,


posted by ruffin at 6/30/2014 10:28:00 AM
Tuesday, June 24, 2014

Delete all lines containing a pattern - Vim Tips Wiki:
The ex command g is very useful for acting on lines that match a pattern. You can use it with the d command, to delete all lines that contain a particular pattern, or all lines that do not contain a pattern.

For example, to delete all lines containing "profile" (remove the /d to show the lines that the command will delete):

:g/profile/d
No freaking way. I have grep in VIm? Where were you guys in the '60s when I needed you?


Other, related helpfulnesses:

Inserting line numbers from Line numbers in VIM's search & replace - St๏ฟฝvel.eu:

Now all that's left is to change the XXX to the appropriate number. Type :%s/XXX/\=line(".") and hit enter

Matching what's not in a regular expression from Search for lines not containing pattern and other helpful searches - Vim Tips Wiki:

This will find everything but the regular expression you have specified. For example, if we want to find all the lines not containing the word 'foo', simply do:

/^\(\(.*foo.*\)\@!.\)*$

Just yesterday, I posted a comment on SO agreeing with a guy who said, "If you're a programmer who edits a lot of text, then it's important to learn an A Serious Text Editor." Couldn't be more right.  Here's my 2ยข follow-up.

You had me at, "If you're a programmer who edits a lot of text, then it's important to learn an A Serious Text Editor." The worst part is that it seems impossible to learn two (much less more) inside and out, almost by definition. You're studying edge cases at some point, and the knowledge of how to accomplish Task X in one doesn't usually translate. And there's always things I do in "fringe" editors -- I still use JEdit for JTidy, Code2HTML, to search multiple files, eg. Your main is a roll of the dice, and there's no silver bullet, but yes, absolutely learn one and play with many. ;^)

Random addition: I'm behind a long post on why I think UTF-8 is really useful.  Before I actually walked myself into an ASCII corner, it seemed like an insane hack.  Now I think there's enough practical benefit it might be useful.

Labels: ,


posted by ruffin at 6/24/2014 10:51:00 AM
Friday, June 20, 2014

c# - LINQ to SQL: Return anonymous type? - Stack Overflow:

Not everything needs to be an object with complex behaviour. Sometimes "just the data" is the Right Thing. IMO, of course.

Labels: ,


posted by ruffin at 6/20/2014 03:47:00 PM
Thursday, June 19, 2014

Scott Hanselman (shanselman) on Twitter: Scott Hanselman @shanselman ๏ฟฝ

The Amazon phone is a direct line from my wallet to Jeff Bezos' wallet.

That's exactly right!  So isn't that success for Amazon?  More importantly, isn't that a plus for us?

Look, even I wrote about the power of the store in your pocket as far back as 2008.  That's what's driving mobile sales.  That's what's driving Apple's stock price.  It's about a store where they know your name (maybe not you, but your name), have your credit line waiting, and match you with purchases as effortlessly as possible.

It's been painful, but one idea that has haunted me for over a decade, but that I finally accepted this year, is that the first world has too much disposable income.  Painful not because folks have extra cash, but because I'm slowly accepting that it's culturally and systematically okay, maybe even beneficial*, to spend cash on crud. Even traditionally "poor" folk have cable, a cell phone, a television, more than a single pair of shoes, often a decent car, and have eaten fast food in the last week.  That's not poor in the same way we used to think of poor, is it?  Should folks be saving?  Yes.  But is it really exploitation that these luxury^H^H^H discretionary items are affordable and accessible?

That is, the US is a nation replete of citizens with money to spend.  You don't have to have that much money to have a discretionary dollar today.  (Okay okay, yes, yes, I know.  But stay with me.)  If we stipulate that many of us are going to waste money (My $5 for Unread that I finally gave up on is an example, as is last night's $3 for Vesper, right?  Talk about discretionary spending...), isn't it better than we waste that money conveniently?  Isn't Fire's Shazam for books and movies then a benefit?

I don't understand the Fire phone pushback.  It's not iOS.  But in a world where anyone making more than $25k a year is buying a few songs and movies every year, Fire seems much better at putting that store in my pocket than anything to this point.  And that's the future in a first world economy.

(This disjointed post is why the good blogs edit, but I think you get my drift.)

Btw, this formatting issue with Blogger is killing me.  I think it's finally time to get a new blogging engine.

* You can tell I'm still resisting this one.  Big picture economic beneficial doesn't necessarily mean (nor not mean) ethically beneficial.

Labels: , , , , ,


posted by ruffin at 6/19/2014 11:18:00 AM
Wednesday, June 11, 2014

Apple praised for plan to undermine extensive system that secretly tracks customers - The Washington Post:

It is against this backdrop that many in the technological community are applauding the decision by Apple to tweak how the iPhone searches for WiFi connections. Through a relatively simple software update, the company plans to undermine a widely deployed system that stores such as Nordstrom have used to track the movements of customers to analyze shopping habits.

I think we have to realize that our activities in public were never private.  In fact, I wonder when going to the corner store went from a very public experience to a private-by-volume one.  You couldn't walk out of a mill store without everyone having an idea of what you'd purchased.  When did stores and cities get so large that the people who frequented them stopped wanting to be treated as regulars?


Would it be better if communities were smaller and the surveillance was done by Mr. Hooper?  If so, why?  (There are obvious answers -- the speed and ease with which that information can be shared, the growingly consumerist society and the corresponding change in the nature of what's being purchased -- but what are the specifics of the functionally offensive ones?)  What and whose societal values are reflected in your 1950-60s-style expectations of privacy?

Labels: ,


posted by ruffin at 6/11/2014 01:05:00 PM
Friday, June 06, 2014

Lightning headphones could allow Apple to make slimmer iPhones by ditching 3.5mm headphone jack
Following their announcement of a new headphone module for the all-digital Lightning connector at WWDC, Apple could now be on the verge of killing perhaps the most legacy of legacy technologies: the analog audio jack.

Say in your best Tony Kornheiser voice...

I believe I had that one.

Labels: , , , ,


posted by ruffin at 6/06/2014 02:46:00 PM

"If your iPhone has been given to you by your employer, why are you bothered about losing any data?"

Because you find you're in the same jeopardy if you use your personal phone to access your employer's Exchange server. Fair enough in some sense, but the loaned car is at least potentially reversed here -- Your work data is going for a free ride on your device.

I understand there are edge cases ("But wait, you had access to work email, so you may have saved precious docs to your phone! They have every right to erase those!"), but the OP's shock makes sense. I'd expect some sort of middle ground where you could erase the Exchange account automatically, but not, say, my personal pictures, reminders, etc. Heck, just sandbox files in Exchange accounts (don't allow their being saved outside of the Apple ecosystem) for that middle ground. etc etc
That's from a post I made to an admittedly zombied thread on Apple support.

Our company is apparently setting this up now, and I've got to say I think it means I'm taking my email off of my phone.  I don't mind if they trash that account on my phone or require that I lock the phone, or even could lock it by themselves, but wipe my data?  Not cool.  Surprised there's no alternative.

Labels: , , ,


posted by ruffin at 6/06/2014 11:33:00 AM

datetime - Daylight saving time and time zone best practices - Stack Overflow:



Trivia



Finally, governments will sometimes do very weird things:

Standard time in the Netherlands was exactly 19 minutes and 32.13 seconds ahead of UTC by law from 1909-05-01 through 1937-06-30. This time zone cannot be represented exactly using the HH:MM format.


Wow.

posted by ruffin at 6/06/2014 10:08:00 AM
Wednesday, June 04, 2014

The NERD tree allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse.


Even though I'm late to the party, this is kind of neat.  I'm to the point I can usually autocomplete paths after :e, but this is a pretty feature-rich alternative.

Even more useful for me was what I was searching before stumbling over this: how to move from a split to a vsplit.  Actually insanely easy: You move a window with the upper-case version of moving to a window.  So Ctrl-W, L move the current window over to the right.

VIm is endlessly impressive.  I see why you can really only be an emacs or a VIm guy.  You're never going to learn everything about either, so time spent in one means lessons never learned in the alternate.

In other news, 200 rep away from getting to make unreviewed edits in StackOverflow.  At some point, I should do more than just answer JSLint questions.

Labels: ,


posted by ruffin at 6/04/2014 11:19:00 AM
Tuesday, June 03, 2014

inessential: How It Went on Vesper Syncing Day One:

And yesterday we were reminded, again, that people like indie software. Even with all the changes over the years โ€” App Stores, iPhones, iPads, etc. โ€” people still like supporting the village toymaker.

That sounds like about the right mindset.

Okay, granted, all signs suggest things are going very, very well for the Vesper crew.  I'm suspicious that Daring Fireball's readership makes for a heck of a near-psychologically-captive market.  Would version 1.0 have had nearly so successful a run without all the "market build up"?  (That said, the only time I felt it's gone over the line was when it talked about app pricing (it might have been this one, but I believe there's a longer one somewhere) shortly before Vesper unexpectedly showed up.)  I don't necessarily begrudge these guys, but let's not pretend the toymaker didn't have a heck of an, at best, accidental marketing push.

And let's admit it, previous and continued success makes app making less risky and more fun.

Labels: , ,


posted by ruffin at 6/03/2014 10:23:00 AM

<< Older | Newer >>


Support freedom
All posts can be accessed here:


Just the last year o' posts:

URLs I want to remember:
* Atari 2600 programming on your Mac
* joel on software (tip pt)
* Professional links: resume, github, paltry StackOverflow * Regular Expression Introduction (copy)
* The hex editor whose name I forget
* JSONLint to pretty-ify JSON
* Using CommonDialog in VB 6 * Free zip utils
* git repo mapped drive setup * Regex Tester
* Read the bits about the zone * Find column in sql server db by name
* Giant ASCII Textifier in Stick Figures (in Ivrit) * Quick intro to Javascript
* Don't [over-]sweat "micro-optimization" * Parsing str's in VB6
* .ToString("yyyy-MM-dd HH:mm:ss.fff", CultureInfo.InvariantCulture); (src) * Break on a Lenovo T430: Fn+Alt+B
email if ya gotta, RSS if ya wanna RSS, (?_?), ยข, & ? if you're keypadless


Powered by Blogger etree.org Curmudgeon Gamer badge
The postings on this site are [usually] my own and do not necessarily reflect the views of any employer, past or present, or other entity.