Category Archives: Tech

Networking and the Idea of Being Friendly in Tech

6b4b6b39664429b0b1b74027e410d943To my fellow Tech’s – I’m sure we’ve all been in the situation where we’ve passed by a co-worker at the coffee machine and gave off a smile or friendly gesture, only to be left with a blank stare and no response. “Having a bad day i see…” is usually what’s going through my head at that point but I usually pay it no nevermind and keep it pushing throughout my busy day. The fact that busy people have bad days but deal with them in different ways came even more apparent when I joined a large team as a Lead UX Developer and was coined as “too happy”. There is no way that I don’t get frustrated and want to toss my laptop out the window but I’m not the one to display that anger to the rest of my coworkers. It’s not my nature. There are times I’ve been pushed to the point I had to step out of the “too happy” and into the “fairly pissed” zone. But how do you keep your composure while networking with not so nice people?

I begin to approach my situations differently. Being a female developer, I battled for years to not appear too aggressive in fear of being coined combative or angry. Nothing worse than being an angry Black woman on top of all of that and in tech if you get titled that in the minds of others, it’s a wrap. Did I stop smiling at people at work? No… being a Lead in tech, your looked up to and somewhat expected to have a sort of stance. For that fact, I smiled even more. I wanted my team to know they could rely on me, even though I was going through hell at home and no one knew it. But smiling at everyone doesn’t mean you’re happy! This statement is true and I had to understand that it wasn’t my job to piss others off because I’m pissed off. I realized it was easier to fake a smile than have my bad attitude reflect off on everyone around me, especially my team.

Socially, my understanding of how workplace culture works helped me contribute to its improvement in many of the organizations I’ve worked at. I begin to initiate and participate in networking events that brought togetherness. On a social standpoint, I even begin to attend events out of office which created interest from those internally. They got to see who I was on a social standpoint and I didn’t hide it and still don’t. I’m one to believe that if you can smile your stress off, you can create a more constructive environment which ultimately changes (or doesn’t). Thus my need to network and be around others who are completely different than me became my focus early into my 20’s.

It’s true, tech can be stressful at times, but it is an industry we can learn a lot socially from. Full of unique individuals with a ton of different stories. I remember I met a woman at the cafeteria in one of my old positions who said, “people who smile all the time are annoying”. I laughed and cried at the same time. In some cases, you just can’t brighten the day of someone who is already miserable, it’s impossible. Those type of people I smile at anyways. Not to be annoying, only to share that I am aware that you are pitiful and I refuse to partake in your pity party in any case. Carry on!

I attended an after work social at a bar and grill and everyone was smiling. Perhaps these are the people who are just like me, who found the missing link to happiness at work and are capable of managing stress with a smile [and a drink].

If you find yourself not able to be happy when you walk into your workplace, jump out of your norm and join a new professional organization or afterwork social that will remove you out of the norm. You can’t please everyone but being friendly and networking is a mediocrity ice breaker in my book. Socially, the more you surround yourself with people who are different, the more delighted you are to find peace and substance in new situations thus making being happy everything to smile about!

Tagged , , , , , , , , , ,

Am I the only one or is anyone else in love with the Nigerian “Finn” aka FN-2187 played by John Boyega?

Finn Gif

Am I the only one or is anyone else in love with “Finn” aka FN-2187 played by John Boyega? Fans are screaming for this young (23 years old) British actor, son of Nigerian immigrants and now the centerpiece in the new Star Wars: The Force Awakens flick.

(The below is reblogged from: NPR)

Nigeria is falling in love with Star Wars.

There are two reasons. There’s a growing nerd culture in the country — young people who love science fiction and see it as a way to imagine our own futures as something better than our present. We also have an annual Comic Con in Lagos. And last year a friend and I started an online “speculative fiction” magazine, Omenana.com, which has helped promote a new generation of sci-fi writers and artists.

The other reason: John Boyega.

Boyega is the son of Nigerians who settled in Britain. He plays Finn, a disillusioned Stormtrooper in the new movie Star Wars: The Force Awakens. And he’s proud of his heritage.

“I’m grounded in who I am and I am a confident black man, a confident, Nigerian, black, chocolate man,” he has posted on Instagram.

Nigerians are already familiar with Boyega. He was in the U.K. sci-fi flick Attack the Block and played Ugwu the houseboy in the film adaptation of Chimamanda Adichie’s novel Half of a Yellow Sun.

 

 

But seeing him in Star Wars has been another kind of experience.

Kemi Williams has been a Star Wars fan since she saw the first film when she was 12. Now she’s 50 — and gratified that there were more relatable characters in the franchise for her children than there were for her.

“It’s significant to me because my son was sitting next to me, and it was a big deal for him to see a character who looks like him,” she said. “When I was little I never had that.”

Growing up in the ’60s and ’70s, Williams felt the only place where she found stories she could relate to were in sci-fi shows like Star Trek and Blake’s 7. The effect was limited, however, because it was “always white people putting these things out.”

Williams was happy that the new Star Wars film has a more diverse cast. She was especially impressed by Boyega’s reaction to racist remarks about his casting.

“What’s important is that he’s out and proud about being a black man,” Williams said. “The fact that he’s Yoruba has a resonance within Nigeria. He’s one of us, and it’s something we can relate to.”

Williams was one of several moviegoers I interviewed in Abuja, Nigeria’s capital.

Boyega’s heritage is of less interest to younger Nigerian fans. Chiagoziem Okoronkwo, 30 and a personal trainer, notes that a number of actors of Nigerian heritage, such asChiwetel Ejiofor, Carmen Ejogo, David Oyelowo and Megalyn Echikunwoke, have risen to prominence in the past few years.

But he’s still excited about the character Boyega plays, which doesn’t fall into familiar Hollywood stereotypes of black people.

“Most black guys get typecast,” he said. “If they’re not the supersmart magical negro, they don’t get cast. [Boyega’s] role was a bit different.”

Ultimately, most moviegoers I spoke to agreed that Boyega’s turn in the movie was most effective as a way to win new fans to the franchise in Nigeria — even if they didn’t realize at first that he was of Nigerian heritage.

“I even thought he was Ghanaian,” admits Pelu Awufeso, a 41-year-old travel journalist and blogger. “Boyega is not an original Yoruba name.”

Awufeso, who had never been interested in the Star Wars franchise before the premiere of the film, went to see the movie only after previous plans fell through. He was won over by the film — and Boyega’s performance.

“I liked the creativity behind it. The sheer creativity in those characters alone deserves kudos,” he said. “I was happy that a Nigerian was considered for the role. To see a young Nigerian lead made me feel that, yes, we are doing well.”

For an older fan like Kemi Williams, the true benefit of Boyega’s casting is that it will bring in a wider audience in Nigeria and show them how science fiction can change the way people think.

“The fact that [Boyega] is a Stormtrooper — who are assumed to be white males underneath their masks — opens up a lot of possibilities,” she said. “It opens up people’s minds.”

Tagged , , , , , , , , , , , , , , , ,

Posting HTML Form to External Link in Safari (Cordova/Phonegap)

cordova
While developing a fairly data centric Hybrid Application using Cordova, I had a need to exclude AJAX from my form post and send my post request as a standard HTML form post. My main reason for choosing this way over ajax was that I was posting files as well as a long base-64 uri to a C# script on my server. I had a simple aspx form on the servers receiving end that needed to capture the post values coming from the client-side app. I chose this route because users of our applications are in rural areas where their signal strength on their devices we’re so strong. Sending images and base-64 data can be a large pay-load not to mention the other 206 fields coming from the app.

In the end, I wanted to mimic a ajax post while using Formdata which kept me from having to manually create the data object. I wanted the form to post to a new window but in Cordova, the UIWebView takes over and replaces Safari web browser with their view. Below is a code snippet found at StackOverflow that did it for me… I modified my version a bit more to define my parameters but for the most-part this same code snippet got my form to post to an external link on our server.

My form was simple (be sure to use ‘_system’ in your target not _blank!):

<form method="post" action="http://myurl.com/postThis" target="_system"></form>

In CDVWebViewDelegate.m search for “shouldstartloadwith” and replace the contents of the BOOL with:

     (BOOL)webView:(UIWebView*)webView shouldStartLoadWithRequest:
     (NSURLRequest*)request navigationType (UIWebViewNavigationType)navigationType{

     if([[NSString stringWithFormat:@"%@",request.URL] 
         rangeOfString:@"file"].location== NSNotFound) { 
            [[UIApplication sharedApplication] openURL:[request URL]]; return NO;
      }
      BOOL shouldLoad = YES;

Clean and build your application in both CLI then in XCode and test. I ran through a lot of examples of how to post from Cordova to an external form but nothing actually worked. Seem’s this way the best fix for my time and effort. The result was simple enough.

Ciao!

 

 

Tagged , , , , ,

“If Your Site is Not Responsive, Neither are You”

Responsive_Web_Design_for_Desktop_Notebook_Tablet_and_Mobile_PhoneTake this post for whatever you may see it fit for but when I say ‘If your site is not responsive, neither are you!’, I really mean it.

As I am writing this post today is December 19, 2015. 6 days away from Christmas and you should already know, me being the shop-a-holic and tech nerdy… I’ve been online shopping like never before. Not only have I beefed up my purchasing over the last 19 days, I’ve navigated to hundreds of sites for information, guidance or commentary relevant to my overall xmas plans, travel and shopping. My blunt and obvious comment is based off of my repetitous experiences with non-responsive sites over the web at this time in the year.

Wouldn’t a merchant who sells products online expect that mobile users may navigate to their site quicker than someone on a desktop? Mostly all of my shooping this year was done online and I can’t tell you how frustrating it is to not be able to use a website that doesnt fit my screen. Between scrolling left to right and tapping on buttons I did’t mean to, I found myself paying more at places like Amazon or Target Online just for a better user experience.

To me, if you are online these days and not mobile responsive or atleast offer a mobile version of your website you are  missing the bigger picture on the web. Being a developer myself, im always looking for ways to drive the web into the future. Ignoring mobile users just to get online is saddening to me. Why would you not care that mobile browsing has become just as popular as desktop use. ‘Get into the future people!’

Any of my readers reading this, make sure if you encounter a website online that is not responsive, contact support at the organization and request they format their site to show up correct on mobile. Explain this would make you want to come to the site more active.

Though this is a nice gesture of kindly throwing it out there, the truth is the site owner most likely doesn’t care if they aren’t in the process. Make it know its needed and don’t use their site altogether.

Tagged , , , ,

Regulating Mobile Platform Fragmentation – Just Say “No” to Government Regulations

Mobile devices and the applications within them help organize our day-to-day lives. Mobile OS/platform fragmentation (mobile devices running different versions of a operating system) is a problem worth worrying about from the top down (top being the user). OS fragmentation is a topic least discussed, and like net neutrality, the issue could be closer to attracting attention from Governments more than ever.

As security becomes more and more pertinent these days, personal security on the mobile spectrum is becoming even more alarming. When OS developers like Google and Apple confirm vulnerabilities, it can be difficult to get users to update their operating systems to reduce exposure to the risks. The fact users are using different forms of the OS makes eliminating the risk challenging and we know where there’s risk in personal security, there is government interest.

Regulating such processes like versioning, in my opinion, is the business of the OS developer who should be listening to the users and their experiences. Like other areas of mobile technology, the government is looking for ways to mandate, which can be a big headache for OS. The fact of a higher power governing the entire process is somewhat scary. In 2013, Department of Homeland Security (DHS) along with the Federal Bureau of Investigation (FBI) published a study listing Android OS as a primary target to threats and vulnerabilities, mentioning the open platform was inconsistent on devices throughout the numerous versions. The main concern listed in the study was the differences in versions amongst a myriad of devices that had their OSes either outdated or unsynchronized against current releases. The study targeted the Android system since the OS is primary amongst many devices unlike their competitor, iOS whose primary devices are their own.

In this day and age, OS developers should be focused on driving mobile into the future, not patching up the past. Government regulations would force these same developers to maintain out of date versions of their OS’s so users of an older version could still use their devices. Yes this sounds like a push towards a good change, and would probably save the user some headache and cash down the road, but in my opinion, policing versioning of at any length would slow down device production and stifle mobile’s still young and innovative future.

At the pace mobile is going, there should be no plan of slowing down. Government interference will pose a sort of unease and take control out of the hands of the creatives by enforcing limitations where there should be flexibility. It would stagnate OS developers from releasing the “next big feature” and create more rhetoric having developers this late in the game scurry to adjust.

Consider a regulation to restrict the amount of versions an OS maker can provide throughout devices. The purpose could be within reason, to slow the various types of platforms available so users can experience consistency in use and security, but the reality is this would create even more issues and allow more loop holes for threats like malware which could become extremely difficult to avoid. Malicious attempts are created with knowledge of the system, if the system was a fixed amongst devices could you imagine what risks a system would be open to?

Carriers would be affected just as much as the OS developer. They would most likely be limited on device hardware they can offer based on capabilities and performance of the OS. They would have to be willing to make adjustments to their connectivity in models depending on which policies are put in place.

I think the big question here is “Is it necessary?” Are OS developers too lenient on how they deal with fragmentation, thus making government interference an overdue possibility? What should we as of mobile engineers and or as a community do to support a resolution to remediate these issues?

The fragmentation issue is bigger than anything the government can predict or even manage. It is something the mobile industry as a whole would need to confront, based off of the needs of the consumers who are purchasing and utilizing the devices every day. It is best the OS developers look for standardized ways to provide consistency in their development and pass along that same consistency to the devices they are used on. A consideration would be to standardize operating systems and include guidelines on customizations device makers would have to consider. Removing the ability to customize their systems, which sets them apart from the competitors is a crucial setback of their product offering and would ultimately affect marketability. OS developers can set stricter criteria on what can be changed, added or removed in their operating systems, constructing a plan around integrated security updates to mitigate consistency in versioning across platforms. This could allow developers a better grasp on how to tackle vulnerabilities in the long run.

Having a governing body enforce policy on something they can and should not try to predict is over kill. It is the job of the platform developers who are providing the operating systems to pay close attention to the consumer and meet the needs, all while pushing mobility into the bright and progressive future. We as application developers should be voicing our opinions, as we are the driving force behind the amazing applications within these ecosystems. I’m excited to hear what you all think of platform governance and the issues with fragmentation on mobile. #ProgressTheWeb #UrbanTechSF

L.E. ‘Akita’ Nichols
twitter: @AkitaUTSF

 

Tagged , , ,

Why does WordPress Request FTP Info when you Upload a File or Theme?

I fell into this issue and found a bunch of articles… None of which solved my issue of wordpress asking for ftp.

Screen Shot 2015-04-14 at 9.51.57 AM

Here’s the answer!

If you are on a private host (private or dedicated server) all you have to do is add the following line of code to your root config.php page (below all other scripts):

define(‘FS_METHOD’, ‘direct’);

If you are on a shared host, you will need to edit config.php with your server settings in order for it to work:

define( ‘FTP_USER’, ‘yourusername’ );
define( ‘FTP_PASS’, ‘yourpassword’ );
define( ‘FTP_HOST’, ‘localhost or your host ip’ );

If this doesn’t work check into permission settings on your wp-content directory and make sure to set everything in that folder to chmod 777.

Tagged , , , , , , ,

My Journey thru OOP (Object Orientated Programming) – Day 1-2

I am by far no expert programmer, however, over the years I have worked to learn just enough principles to carry me through a world wind of scenarios. Though most of my learning has been on the fly, thanks to my previous employers ;-), my perception of the web and applications are beginning to change over all. For a while I looked at Software Applications as a whole other beast, but these days I see the development community working hard to sew the seams in web and software technology. HTML5 I can say has made this possible…

My employer is notorious for development projects on the fly. My dev team can literally be working on a project involving big data that is supposed to span into a completion date, but because our field of work is so key to our clients, there are times (like every other day) where we need to stop the big important project and begin another big important project. The catch is usually, the new rush project is usually due in 2-days, fully tested and deployed to the client before the deadline.

This type of demand had me thinking of ways I could modularize my various development needs. One main process I see we utilize a lot is a Login feature. Mostly every project we work with, requires us to define a Login security feature allowing user to access secure content. For months, my team would reuse content and modify were needed. I’ll be honest with you, though copying-and-pasting code is easy to implement and mod, it gets messy. Especially if a team member accidentally copy’s over or edits the example docs instead. Been there, done that!

My thought process begin to change when it came to code reuse and modular architecture. We (My org) are a Apache/Linux environment but do also support and work in Windows which has a far more structured framework that handles the heavy lifting of object orientated programming. I am most comfortable in a .net, asp/C# environment when working in Windows so I am familiar with Class, Methods, Constructors and so on. I wanted to alternative in my Apache environment so I begin looking how to construct this same process in PHP.

Day: 1-2

My first step into my implementation is to create a Login class. This class will hold the connection strings we can add to and utilize anywhere where our script needs to execute various SQL statements. Long story short, I’ve spent the last few days defining classes for my new Login class. The classes contain our various SQL environments, my first being our MySQL connections, then our MSSQL connections, as well as Oracle. We utilize PDO in our environment so we defined all the MS connections to connect using the latest PDO security standards.

I spent a good day just doing my research on the principles. I wanted to make sure I understood as a whole how OOP in PHP worked compared to .NET. Honestly, I see no differenced besides the different syntax. The principles seem to be the same when delegating tasks and calling methods thru functions. It’s just more spelled out in .NET and more straight forward in PHP. My next couple of days I will be completing all the configurations for our other connections and defining them into classes.

My next post will be about the next module I’ll create in my quest to modularize some of our development features using object-orientated programming. Here’s a screenshot of my login-class. There is a separate file called db-mysql.php and db-mssql.php which holds the variables with db values.

Screen Shot 2014-11-09 at 10.37.11 AM

Tagged , , , ,

The Beauty of Client Side editing

Boy I’ve been indulging in client-side editing more than ever. I can see it becoming an important development tool for me and other developers. A friend of mine introduced me to ShiftEdit, which allows for remote connection over ftp. Source code editing, has never been easier. Theirs even an option to link a db, I wouldn’t suggest it, but the option is there.

Microsoft’s Sharepoint is another good one. It has enough punch to make any backend application seem incredible. It’s client-side editing at its finest and it’s taking over. I can see more cloud based dev tools come fourth in the coming years as the cloud continues to prove positive. HTML5 is making these features readily available for those even the smallest devices. I’m excited to see where it all goes and how I can participate in all of it.

%d bloggers like this: