scubaguy's comments

scubaguy | 7 years ago | on: Strftime's alpha-sorted man page vs. well-meaning people

I would propose that when you create a library, you think of other programmers like web designers think of end users. In addition to simplicity of the API, efficiency of the code, and proper encapsulation, you think, "How can I prevent users of my library from making mistakes?"

It's not an accusation that the author of strftime didn't have this mindset. Rather, it's to say that we should be more mindful of studies on human behaviors against programming APIs.

scubaguy | 8 years ago | on: Parents in poorer countries devote more time to their kids' homework

You can spend time on homework in many ways: Getting your children to think about problems from different angles; Understanding where they struggle and should spend more time; Understanding where they are fine and let explore on their own; Learning how to set the appropriate guidelines to foster good study habits.

It is amazing how even two kids from the same parents can vary greatly in personality and how they learn. It takes time and energy to find the best way to nurture each child.

Oh yeah, and it feels good too. Remember that time when you spent hours explaining something to your kid and he suddenly got that "Eureka!" look? It's hard to quit that.

scubaguy | 8 years ago | on: Why People Dislike Really Smart Leaders

  my family would often chide me for using "big words"...
  The truth is, I was just trying to relate something I'd learned...
That sounds terrible. You are not allowed to be yourself around your family. It must've been especially tough for a kid.

However, keep in mind that communication goes both ways. If the way you speak and carry yourself bothers your audience, then you should change the way you speak around them.

As an immigrant, I have thought about this a lot. Changing the way I speak isn't necessarily, as Holden Caulfield calls it, "being a phony". I can speak a completely different language in order to relate my thoughts to different peoples. It's not a stretch to choose different english words to help my partner understand me.

scubaguy | 8 years ago | on: XPS 13 developer edition 7th generation available

"Who uses touch screens for development?"

I do! While the kids were watching TV, I was sitting next to them coding a personal project. As I was scrolling through documentation on the web, sometimes it was just easier to use the touch screen than to use the trackpad. I remember thinking to myself, "Whoa, I didn't think I'd use the touchscreen on this laptop".

If I had my quiet space with an actual keyboard and a mouse, I would not use the touch screen. But I no longer have that luxury and I found myself appreciating the touchscreen on my laptop.

scubaguy | 9 years ago | on: Reddit and Facebook Veteran on How to Troubleshoot Troublemakers

The "without telling anyone else" part is potentially the problem.

Imagine you committed time and energy to build a decent system - not perfect, but most people are ok with. You feel a sense of ownership on this system. Then one day, a coworker of your tells your manager that he has built a new system in his off time. He also made a conscious decision not to discuss the effort with you. How would that make you feel?

scubaguy | 10 years ago | on: Removal of Unsafe in Java 9 – A disaster in the making

I read this article yesterday and I really dislike how it is worded. The "this engineer" has a name, Donald Smith, this is what he said:

"If you're using Unsafe, this is the year to explain where the API is broken and get it straight.... Please help us kill Unsafe, kill Unsafe dead, kill Unsafe right, and do so as quickly as possible to the ultimate benefit of everyone."

It reads like a request to have a discussion on Unsafe, to talk about it and find solutions. Unfortunately, I don't see anyone pointing out why Unsafe should be kept around on that thread (http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-Apri...).

And this quote from Oracle shows an effort to do things right:

http://mail.openjdk.java.net/pipermail/discuss/2013-October/... "This is definitely something we plan to propose for SE 9. I expect to see a JEP from the current maintainers of sun.misc.Unsafe..."

This (http://blog.codefx.org/java/dev/how-java-9-and-project-jigsa...) seems like a more balanced article on the situation.

"So far we focused on the problematic aspects of Project Jigsaw. But that should not divert from the exciting and – I think – very positive nature of the planned changes. After reading the documents, I am impressed with the scope and potential of this upcoming Java release. While it is likely not as groundbreaking for individual developers as Java 8, it is even more so for everyone involved in building and deploying – especially of large monolithic projects." near future. (This is far too small to require a whole JSR.)"

scubaguy | 11 years ago | on: Facebook Unveils Facebook at Work

Don't forget Hipchat/Slack - IM

How about putting emphasis on "have to" instead? For most people, the advantage of these services is that you get very good services for little cost. It's simply cheaper to use 3rd party services. That why they've become so popular.

scubaguy | 12 years ago | on: Why Most Unit Testing is Waste [pdf]

This is not a good example, because in this example, Mockito is used to mock a very simple class (DateTime), which should not be mocked at all. It is also used to verify that the dependent object is called exactly twice, which may be unnecessary.

This is more of a problem where a library is not used well. Mockito is a very good library, this example really does it disservice.

scubaguy | 12 years ago | on: Apple hides a Patriot-Act-busting "warrant canary" in its transparency report

Isn't this sort of futile? Say Apple removes the section about "... never received an order under Section 215 of the USA Patriot Act" tomorrow. What does that tell us? That Apple did in fact receive such an order in the last 24 hours? Perhaps, or perhaps they were instructed to remove that part of the transparency report and Apple complied.

And even if we do know that they received such an order, what does that tell us? Does that tell us that the US government is targeting someone using iClouds? Or maybe it tells us that the US government issued a pointless order just so they can void this so called "warrant canary". It tells us very little.

Ultimately, unless corporations-as-persons have the right to speak freely about government orders it receives, we can only assume that everything transmitted through the Internet can be intercepted and given to the US government.

scubaguy | 12 years ago | on: Eclipse committer on Android IDE switch to IntelliJ

Love that we're seeing more choices in terms of Android development. This can only be a good thing!

I was very frustrated the last time I tried going to IDEA and I wrote about it on my blog (http://www.fisharefriends.us/wordpress/2013/01/27/intellij-i...). My observations:

. It seems to take a long time to “warm up” before IDEA runs as smooth as Eclipse.

. Eclipse is stupid about detecting when you changed a file from outside of Eclipse; IDEA is not. Eclipse is very annoying when you use Emacs/vi/OxygenXML as an additional editor.

. “JetBrains :: IntelliJ IDEA” is a stupid, stupid name.

. Emacs key bindings in Eclipse is better, alt-w and ctrl-y “just works”.

. Maven projects is poorly integrated into Eclipse’s concept of “projects”.

. I miss the native “choose file dialog” you’d get with Eclipse.

. I think the new version has incremental compile like Eclipse, but it doesn’t seem to work by default.

. The Maven daemon in IDEA used around 300MB of memory and continually consumed CPU resources.

. The keyboard stopped working for some reason.

My experience was with the community edition, perhaps I should give the professional edition a try. But at $200 and having had such a poor experience with the community edition, it is a hard sell.

scubaguy | 13 years ago | on: What Being a Handyman Has Taught Me About Male Insecurity

In addition to a 9-5 job, some people also have to drive the kids around, shop for groceries at multiple places, and other things that more well off people can pay others to do.

When you make good money, you have the option to learn and try new things. Money doesn't buy happiness, but it does buy you the luxury of not being accused of "not willing to learn, try, and logic out things".

page 1