Put the knife down and take a green herb, dude.
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
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.
|Tuesday, December 06, 2016|
I don't know. That sounds like too much to me.
And "unintentionally"? No, that's completely intentional. It's Windows' intention to send back everything that's in your RAM, and that could be gigs of information, couldn't it?
And boy, a little pushy on what's their "recommended" setting, even though there's very little in there that explains why it should be mine.
To, um, "fix" in Windows 10, hit the Windows key, type in "feedback", and then select the "Feedback privacy settings" option.
Then select "Basic" in the "Diagnostic and usage data" section.
I don't think there's an option for less info than "Basic". I also don't remember being asked this when I set up this box, and I'm pretty sure I did the "custom"/manual setup. /shrug
posted by ruffin at 12/06/2016 12:08:00 PM
|Monday, December 05, 2016|
Had a "duh" moment reading this one. I've been lucky that most of my clients pay on time. I'm probably also lucky that I don't act like I'm only around to pluck every living dollar out of what one might act like is their tightly clenched hand. I bet it helps you to get paid in some-to-many situations if you don't act like getting paid is the only reason you're interested in them. Clients are not ATMs; they're [usually, ultimately] people. If you're interested in helping them succeed -- and can competently help them do it -- they'll be happy to bring you along.
But the "duh" moment -- to be clear, a moment when I'm slapping myself in the head -- is to withhold IP. You might do yourself one better and include in your contact that you will also assume rights to any design elements and other IP that you've been made privy to while working. I realize you could get into a mess if the client has licensed stuff that they shouldn't or can't officially allow you to use, and some folks would balk at their current clients or test data, but you get my point.
Clients don't always respond to "time out"
The problem with "ramping down... development" and "charging interest" is that they don't guarantee you'll get anything. Those are really only useful if the companies want to work with you again, or if you're owed so much it's really worth suing. That is, those two remedies usually require the client to participate in their punishment for them to be effective. (If you're currently still working for a client that agreed to and is not now paying, we need to have a talk.)
It's like being a parent -- if your only punishment requires the punished's cooperation, you're often left with a battle of wills. This includes stuff as simple as, "That's your third strike. Go to time-out." If they don't go to time out, what do you do? Pick 'em up and put them there? Stand over them and forcibly keep them in time-out? (Um, I don't recommend that, btw.) These aren't great situations, are they? [... is a rhetorical question most any parent has likely already confronted.]
But tell someone you now own their ideas and legally become their competitor? Now that's punitive and enforceable.
I really can't see anyone pitching too big of a fit for that being in your contract either, if it's well written and sounds fair and even, not like you're dying to stick it to your client. Anybody who tells you they're not willing for you to own their stuff if they don't pay might not be who you want as a client, right?
If they're worried about slow times or unexpected issues, I'd feel okay negotiating the, "Pay or I can play" clause as far as they want, until they're comfortable. I'd also probably need to add some soothing language that you wouldn't use their brand itself, and would perform what you felt were minimal distinctive changes to address possible user confusion...
But at some point, a reasonable entity would have to recognize that, if they're not paying their own contractor what they contracted, that's unfair.
I should probably also add now that I don't typically fix-price something past the first contract. I don't mind taking a little bath to try and show someone I'm worth keeping around, but later, I try to make it clear that you're paying for hours of work, whatever they produce. This tends to keep clients on track if they're exceptionally cost-conscious, and also from them asking for the moon -- and from moving the moon biweekly because of some incredible insight!!1!121! they had over breakfast.
Two lessons here:
Google fails in search for blog
Headline, headline; read all about it!
One quick aside: When I was searching for Allen Pike's post, above, using a very specific string of words from the post,
Bing found it, no problems (though its third hit was, um, strange).
Go figure. As I've said before, Programming is Hard, (c) 1842.
posted by ruffin at 12/05/2016 11:25:00 AM
|Saturday, December 03, 2016|
Oh, I get it. You mean it's a pyramid scheme. Kind of like how the stock market should continually improve if you wait long enough. If the population doesn't keep increasing significantly, we'll have fewer hands to pay out than those from which we can collect, so I guess we'll at least keep natal services affordable, right?
Can I perhaps modestly propose reading John Scalzi's Old Man's War?
posted by ruffin at 12/03/2016 02:53:00 PM
|Thursday, December 01, 2016|
Seems some of the blowback against the new MacBook Pros gets caught with the 16 gig RAM limit. That's a good place to start. I get sort of tired of the lumping Gruber does to work himself out of RAM being a problem.
I'm sighing just reading back through this.
But let's take a quick second to see what Baldur talked about. Does he really need 16 gigs of RAM today? Remember when we used to do fine with 4 megs? ;^)
We're really down to one reason -- VMs. If your developer box is used to host multiple boxes' worth of power, well, you do need more than one box worth of hardware. And Baldur, my man, why in the world do you have your production environment mirrored on your laptop?
But I agree with Bjarnason on the general point. If your laptop for pros is below state of the art for specs and you're charging beyond state of the art prices, well, you've screwed up. If you don't have too much battery life or RAM or CPU (to be clear, having too much should be your goal with a pro box) so that you can make your laptop thin and svelte, that's a problem. In two years, it'll hurt to use this MacBook Pro for VM based development, whether web or native, and that's a disservice from Apple when there's no obvious hardware to fill that gap for professionals. The 5k iMac is the closest, I suppose, but even that's over a year old now (415 days right now).
So Grubes, come on, let's stop pretending that because Apple has a box with a 2.9GHz i7 for OMGWTFBBQ!1! an entry price of $2700 that we've got pros covered. That's not competitive for many developers, who only "need" Macs to test out Safari -- or to host Windows in VMware to code native apps. These developers have other, much more useful, efficient, and affordable options. Apple's failed them, and Bjarnason's conclusion, that, "Apple really, really doesn’t care about its [software developing] Mac users," isn't that far off the mark after all.
posted by ruffin at 12/01/2016 05:27:00 PM
|Wednesday, November 30, 2016|
This is a problem when serving files by name with express'
Even worse, what if you told your app reviewer to try http://rufwork.com/privacy/ and that meant they had to reject your app submission now that you've changed servers? /facepalm
From MarkUpDown - Review Results:
I've never liked it when I've typed in a URL by hand and got a 404 because I had one or two letters in the wrong case. I mean, it makes sense that case sensitive file systems are easier to maintain. It's just an end-use-case pain when you're serving files.
But URL case in Edge is broken too... 🙄😱
And insult to injury? Microsoft Edge (Internet Explorer's replacement in Win10) "remembers" case when you retype a URL! What, wait? So I can't navigate to the "correctly cased" URL with Edge even if I want to -- and I wonder if I get the same reviewer(s) if this'll happen to them too.
How to fix it
How do you fix case sensitivity for express so that it's never a problem with ext4? Well, you could make everything in your filesystem lowercase, and then just always run
Still have to set the filesystem to a single case throughout, and then if you want to use mixed case in your URLs to make them easier to remember or what-have-you, you're creating a good deal of extra work for your server every time mixed case is used.
How bad is it to make your web server take a URL, not find it, then search the filesystem again for a lower cased version? It might be smarter/less work just to lowercase the string every time and ensure your filesystem is in sync. It has to be cheaper to lowercase the url every time than to hit
So I guess it looks like I get to go through and change the case of my website's files and folders to a single case. Right? Isn't that The Right Thing to do to approximate case insensitivity? Is it ever better for the end user to have a case sensitive http server? I don't think so. Seems unnecessarily processor churny and hacky to lower case the earth, but man, I hate case sensitivity for URLs.
That fishing metaphor that tells you I'm about to comprise my best intentions...
In any event, for now, I've decided to embarrassingly give the server a fish, I'm afraid.
That's probably worth a Unicode facepalm too.
I really enjoy using linode, though my needs are so small I might drop down to Digital Ocean's $5 a month plan if it's just as easy to administer. It's great having your own "box" on the net. So much more powerful than shared hosting. Feel like I was about a decade behind with hosts, but, boy, I'm caught up now. Wonder how long before I start using .NET Core on it...
posted by ruffin at 11/30/2016 12:47:00 PM
|Thursday, November 17, 2016|
Recently I bristled at a fellow who implied that we needed to "touch" a MacBook Pro before critiquing it. Today I did. They're very nice. Very light, well made, great screen.
Here are some fimp-ish comments:
The Touch Bar is an extended replacement for right-click. I like it.
With the Touch Bar, most of what'd be in a context menu is already open, full color, waiting on you. On Windows, I hit shift-F10 to open a context menu. With Touch Bar, it's already open.
Like check this out... I downloaded MacVim, hoping I could try it out with the crazy escape key. When I clicked on the dmg file so that it was selected in the Finder, I got this:
That's pretty cool. I can get info, share, or tag it. When I selected "share", I got this share sheet:
Mail, Messages, Airdrop, Notes, and the ever-present "More". Neat!
I can dig it.
When I tried Mail, I caught this Touch Bar menu (which, again, I'm arguing is essentially a mouse-free, gesture-aware context menu):
Honestly, that's beautiful. SO much easier than making your user remember lots of keyboard shortcuts if they don't live in your app. And if they live in your app, you could potentially let them set up whatever items they want.
And of course this is better than a context-menu, because you can gesture with it as well.
Seems small, but Touch Bar isn't just a good idea waiting for programmers to do something with it, as I've heard it described. It's a good idea now, and well integreated into OS and first party apps.
Escape is odd. (I'm a VIm user.)
I wasn't able to get MacVim installed, as it was an app from the dreaded "unidentified developer" and I haven't been made privvy to the Apple Store admin login and password, but I could open
Escape is odd.
If you don't know
How do you get from Insert to Command mode? Escape.
Escape is now on the Touch Bar, and is just a virtual, not a "real", key. That's not great, but it's not horrible.
Here's the weird part -- it's not where it's supposed to be. See that dead space to its left? If I could trade that for a real, dedicated ESC key, I would in a heartbeat. It's hard to "feel", and since it's to the right of where I expect it to be, it's not natural. For someone who hits ESC scores of times a day, well, that stinks.
Enough. Fringe case.
One interesting tidbit...
But one thing I learned while playing around in the Terminal... See that greyed out button to the right of the ESC and color wheel? It says
Again, not a big deal, but nice. Makes me optimistic that the Touch Bar will slowly become second nature. Apple seems to be fairly interested in integrating it.
The track pad drives me batty. I couldn't single-click to save my life.
I kept force-clicking or having nothing happen. After switching to tap-to-click, I was okay again. But somehow, I've unlearned clicking. And I didn't have this trouble on the MacBook or early MacBook Pros with Force Trackpads.
(I think I might have been accidentally alt-clicking sometimes; it's a case of having the whole trackpad clickable)
Click-drag drove me crazy too. Windows has a tap, tap-drag gesture I'm used to now, perhaps. But keeping my initial click down is more painful, again, possibily because I was right-clicking at times.
Btw, three-finger drag is really well hidden now. But once I found it, instant happiness.
The keyboard is louder than it used to be. Like most sensible folk, I couldn't care much less.
Aside from my esc issues, above, I've got to say that it's a nice keyboard. I could use it easily when I'm mobile/out of the office/away from my "real" keyboard.
USB-C ports are really small. I get it.
If this is the trade off to get a smaller laptop, I'm all in. USB-C never bothered me. You need replacement cables for some peripherals, but otherwise, you just need a dock.
The new ports (and removal of the old ones) never bothered me.
There are two great times to buy Mac hardware to get your money's worth:
Both of those maximize your cash, I think. The refurb discount is pretty good.
I'd convinced myself to wait on the 2017 MacBook, and rather than buy a truck, I'd just buy a real computer for my mobile slot. Right now, I carry around a Lenovo 100S for those times that I "don't carry a computer". It's a crap computer for specs, but has great battery life.
The MacBook is nearly the same size, and would actually run rings around the 100S.
But now I wonder. That Touch Bar is a nice addition. If that's a $300 mark-up addition like it is on the MacBook Pro, I'll probably wait for a 2017 "F12" MacBook (one without a Touch Bar) to hit the refurb rack. But now, having "touched" one, I think a refurb 13" MacBook Pro with Touch Bar might be an option I'll consider too. It's not as fast as much Y700, but it's a great mobile laptop. Having touched one, I get what the MacBook Pro is trying to be a little better.
The new MacBook Pro is still not a truck. Walt Mossberg at The Verge nails this on the head...
Neither will unseat my "truck" on the laptop stand in the home office, but either Mac would mean the Y700 stays on the stand a lot more regularly when I leave the house.
I also spent a little time with the iPhone 7. Heeeeeello, nurse. Great feeling phone. You know, I like that home "button" better than the one on my SE. I played around with the settings, and "2" feels great.
posted by ruffin at 11/17/2016 05:09:00 PM
And for another in the, "How many times must I use this before I commit it to memory?" category: How to change the shortcut for multiple cursors on Sublime Text 2:
You put that into your KeyBindings - User file:
Here, I'm changing from the default of Ctrl-Alt-up & down to shift so that it doesn't conflict with my WinSplit Revolution settings.
Speaking of WinSplit Revolution, nice that it still works in Win10. That Win10 "window snapping" was a poor replacement.
posted by ruffin at 11/17/2016 10:12:00 AM
|Wednesday, November 16, 2016|
I went to build an app package for my newest app -- Podcasters' RSS Feed Generator, which does, not surprisingly, exactly what it says it does -- I got the following error in Visual Studio.
Turns out this is a pretty cryptic error. We get a partial answer from hololens.com:
... but it's not quite that easy. You can't simply rename the file; the images also have to be exactly the right size. Painfully, all the
Anyhow, the three I had complaints about with their "correct" sizes are:
Blasting all the old ones with
Or so I thought. Now I get...
Which is it, dang it?
Answer: Apparently we wanted the sizes the error window wanted. Ignore errors like the ones pictured, above.
posted by ruffin at 11/16/2016 01:56:00 PM
All posts can be accessed here:
Just the last year o' posts: