Thursday, November 19, 2015

Two cutting-things questions. I have a Pyrex test tube that was cleared out of the lab a while ago...

Two cutting-things questions.

I have a Pyrex test tube that was cleared out of the lab a while ago. We don't use such glassware anymore. I've taken to use it as a tone bar for my lap steels, but it's about 8" and I need it at about 4". You cannot cut Pyrex as easily as you can glass, which in normal circumstances is a feature, not a bug. I want to cut down the test tube and have a clean, hand-safe result at the end, without spending too much on gear. Ideas?

Similarly, I have a Partscaster guitar. I would like to cut an expired license plate to serve as a pickguard, and want a hand-safe result. I don't have access to many power tools. I am imagining spending an afternoon with a hacksaw and ending up with a far-from-aesthetically-pleasing result.

#Makers

The Visual Studio editor is open source now. So's .NET Core 5, and it's supposed to be useful for Windows...

The Visual Studio editor is open source now. So's .NET Core 5, and it's supposed to be useful for Windows, Linux, and OS X. What a world.

Visual Studio Pro has a subscription model now, which I imagine isn't that different from having an MSDN subscription. Still more expensive than Vim, so I probably won't be ordering any time soon.

Wednesday, November 18, 2015

Tonight we meet at MatchBox for our monthly Purdue Perl Mongers meeting. Main topic is "HTML Mail" ...

Tonight we meet at MatchBox for our monthly Purdue Perl Mongers meeting.

Main topic is "HTML Mail" by me, with a discussion on our December meeting, which should be our celebration of the release of Perl6.

Immediately following is Open Source Food & Beer & Chat at Lafayette Brewing Company. Please RSVP at opensourcelafayette.org so we know how many seats we need to reserve, and see you then.

Monday, November 16, 2015

#Javascript  folk: I know it's common to put console.log() and console.dir() in your code during development...

#Javascript  folk: I know it's common to put console.log() and console.dir() in your code during development so you can see what's going on behind the scenes.

Do you keep some logging going on once you put your code in production, so if something goes south you can look? Or do you pull all of that out once it's live?

Thursday, November 12, 2015

Considering committing Clever with jQuery XHR code A code snippet if ( protecting_namespaces.data.ha...

Considering committing Clever with jQuery XHR code
A code snippet if ( protecting_namespaces.data.hasOwnProperty( 'xhr' ) ) {
submission.data.xhr.abort() ;
}
protecting_namespaces.data.xhr = $.ajax({
url: url ,
data: object ,
method: 'POST',
dataType: 'j...

Wednesday, November 11, 2015

Javascript folk: Making a page where I click one button to increment and another to decrement a value...

Javascript folk: Making a page where I click one button to increment and another to decrement a value. Currently, I'm going to the API for each click, which I do not want.

I could hang off mouseout(), changing the value then, but that really hangs this to desktop. mouseout and hover are not modern web concepts, even if you can still use them.

So, what should I do insetad?

  #lazyweb  

Monday, November 9, 2015

Communication with my connection inside MongoDB indicates that the problem is that the backup file contains...

Communication with my connection inside MongoDB indicates that the problem is that the backup file contains several BSON documents within it, and my code was trying to read it all as one.

It is reasonably easy to read a file containing several JSON documents and discern that it contains several JSON documents that must be separated before parsing, but as BSON is a binary representation, it is less so.

Saturday, November 7, 2015

Congratulations to CSoI's Director, Wojciech Szpankowski, for being the first recipient of the Arden...

Congratulations to CSoI's Director, Wojciech Szpankowski, for being the first recipient of the Arden L. Bement Jr. Award!

"Professor Szpankowski is a visionary. He has dedicated himself to building an active and vibrant community of researchers that is pushing the boundaries of information theory."

Attend Professor Szpankowski's lecture in the Purdue University Stewart Center (Fowler Hall) on Monday, November 9, 2015 at 1:30 pm. Reception following at 2:30 pm in the Robert L. Ringel Gallery.

Friday, November 6, 2015

Congratulations to CSoI's Director, Wojciech Szpankowski, for being the first recipient of the Arden...

Congratulations to CSoI's Director, Wojciech Szpankowski, for being the first recipient of the Arden L. Bement Jr. Award!

"Professor Szpankowski is a visionary. He has dedicated himself to building an active and vibrant community of researchers that is pushing the boundaries of information theory."

Attend Professor Szpankowski's lecture in the Purdue University Stewart Center (Fowler Hall) on Monday, November 9, 2015 at 1:30 pm. Reception following at 2:30 pm in the Robert L. Ringel Gallery.

Trying to Read MongoDB dump files using BSON I've been looking at increasing the amount of MongoDB we...

Trying to Read MongoDB dump files using BSON
I've been looking at increasing the amount of MongoDB we use at work, and this includes backing up the data. Due to my own confusion, I had a little issue getting mongodump to work, but I have been able to dump from one Mongo database and restore to another...

Wednesday, November 4, 2015

My team at Google has been very big proponents and innovators of USB Type-C. I've worked on two Pixel...

My team at Google has been very big proponents and innovators of USB Type-C. I've worked on two Pixel products now that use the connector and its related technologies (Power Delivery, Alternate Mode, USB 3.1). It really is an amazing little connector.

However, now that there are more and more Type C products rolling out from Nexus, One+, Nokia, and more, this I have found painfully true : USB Type-C will only be as good as its ecosystem, and more specifically, the worst of its ecosystem.

I have started reviewing USB cables on Amazon because I have gotten fed up with the early cables from 3rd party vendors that so blatantly flaunt the specification and I want to hold them to task.

You may not just get weird behavior from your devices with these bad cables... What some these vendors are doing is downright dangerous.

I've been contemplating setting up a blog where I document bad cables and perhaps give some insights into USB Type C as well.

#USB   #TypeC ,
#Nexus   #ChromebookPixel   #PixelC