Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

Jan 3, 2013

The Seven Deadly Sins of Coding-C

I’d also add a bunch of other sins. They may not be deadly, but they’re sins:
  1. Not turning on Hosey-level warnings.
  2. Not treating warnings as errors.
  3. Not fixing every single static analyzer issue.
  4. Not downloading crash logs from iTunes Connect.
  5. Putting things in your .h file that shouldn’t be public, that should be in a class extension in the .m file.
  6. Using short variable names like img and btn.
  7. Not using #pragma mark.
  8. Not understanding the concept of designated initializers.
  9. Using tap gesture recognizers when you need a button. (Think of accessibility.)
  10. Not de-queuing table cells.
  11. Calling viewDidLoad from your own code.
  12. Passing model objects to a UITableViewCell subclass.
  13. Not using conditional GET for web resources that might not change.
  14. Not testing with a clean install.
  15. Not using curly quotes — “” and ‘’ — in text that users see, including error messages.
  16. Breezy and unnecessary comments like //nil it out, kemo sabe.
  17. Not using NSLocalizedString.
  18. Using false and true instead of YES and NO.
  19. Not testing performance with Instruments.
  20. Not analyzing memory use and looking for memory leaks with Instruments.

Apr 23, 2012

the little 40gb external usb hd is still hanging tough.

I got this drive over six years ago and it has served me well over the years as I go to and fro-  bouncing around a messenger bag or riding ac transit, bart or muni metro. this drive of unknown origin, still runs good and true. so I decided to post a tribute (and of course the diagnostic analysis report)


Feb 26, 2012

I remember dealing with this back at SCAD **you should still read this**

Lock up your Pros and hide your Airs, because it turns out that one of the more notorious Mac trojans is back in action. Known as Flashback, this trojan was found to be in action about five months ago, disguising itself as a new Flash Player for Mac. It was soon identified by security researchers and the alert was raised, but now it’s back and trying not one but three different tactics to install itself on a user’s Mac.
First up is a pair of Java vulnerabilities. If those are already patched, then the trojan tries to find vulnerability in the user instead. It displays a digital signature supposedly belonging to Apple and asks for access to your computer. There are a few things fishy about this, but the average user is unlikely to pick up on them. Many people, especially if tired or distracted, could easily click “Continue” without realising.

If successfully installed, Flashback goes back to its old tricks of looking for usernames and passwords. It specifically targets banking websites, no doubt seeking information useful for identity theft.
Now, let’s talk about the good news. This version of Flashback purposely attempts to avoid systems that have an anti-virus installed, so the mere presence of security software is a boon. In addition, the method used by this trojan to intercept and report passwords will cause some software that requires network access, such as Skype, to crash. This can give you the heads-up.

Jan 5, 2012

(those are trillionths of seconds, if you’re counting)

I actually have no idea what it looks like- then again, that's the point.
A team at Cornell University, with support from Darpa, the Pentagon’s out-there research arm, managed to hide an event for 40 picoseconds (those are trillionths of seconds, if you’re counting). They’ve published their groundbreaking research in this week’s edition of the journal Nature.

This is the first time that scientists have succeeded in masking an event, though research teams have in recent years made remarkable strides in cloaking objects. Researchers at the University of Texas, Dallas, last year harnessed the mirage effect to make objects vanish. And in 2010, physicists at the University of St. Andrews made leaps towards using metamaterials to trick human eyes into not seeing what was right in front of them. Masking an object entails bending light around that object. If the light doesn’t actually hit an object, then that object won’t be visible to the human eye.

Where events are concerned, concealment relies on changing the speed of light. Light that’s emitted from actions, as they happen, is what allows us to see those actions happen. Usually, that light comes in a constant flow. What Cornell researchers did, in simple terms, is tweak that ongoing flow of light — just for a mere iota of time — so that an event could transpire without being observable. The entire experiment occurred inside a fiber optics cable. Researchers passed a beam of green light down the cable, and had it move through a lens that split the light into two frequencies, one moving slowly and the other faster. As that was happening, they shot a red laser through the beams.

Since the laser “shooting” occurred during a teeny, tiny time gap, it was imperceptible. Sure, the team’s got a ways to go before they’re able to mask 30 seconds of action, let alone several minutes. But the research certainly opens up new possibilities. For one, masking super-quick events, like those that occur with data transmission, could help conceal covert computer operations. In the words of Nature editors, the research marks “a significant step towards full spatio-temporal cloaking.” But it could be decades before military personnel will basically be able to zap history, as it happens: According to Cornell scientists, it’d take a machine 18,600 miles long to produce a time mask that lasts a single second.

Oct 18, 2011

Images and a quote by Richard Baily (1953–2006)








































"Hollywood shows little patience with true artistry, let alone a reclusive computer genius like Baily who is an intense, well-preserved graduate of the psychedelic revolution, who sports long dark hair and is seldom seen without his trademark high-heeled women’s shoes."—from a 2003 article by Rene Daadler

Previously: Oskar Fischinger

Oct 15, 2011

femtocell

I just installed the one I got from Sprint. It blinks a lot.It is a personal base station with a radio unit that is similar to a cell tower radio. The base station uses a low-power antenna to transmit voice and data cellular signals in your home or small office.
Enhanced by Zemanta

Oct 3, 2011

Since Autumn is upon us...I feel a little introspection is in order

"And this is what mere humanity always does. It's made up of these inventors or artists, millions and millions of them, each in his own way trying to recruit other people to play a supporting role and sustain him in his make-believe. The great chiefs and leaders recruit the greatest number, and that's what their power is. There's one image that gets out in front to lead the rest and can impose its claim to being genuine with more force than others, or one voice enlarged to thunder is heard above the others. Then a huge invention, which is the invention maybe of the world itself, and of nature, becomes the actual world - with cities, factories, public buildings, railroads, armies, dams, prisons, and movies - becomes the actuality. That's the struggle of humanity, to recruit others to your version of what's real. Then even the flowers and the moss on the stones become the moss and the flowers of a version."
-- Saul Bellow, The Adventures of Augie March, Chapter XIX
Enhanced by Zemanta

Sep 21, 2011

Single syllables- then nothing (spechless)

The comcast techncian just finished my cable modem install. I was like...
5.13 Mbps, and I that was with the ATT Elite DSL package.



















Now I'm like...
They sure did get the name right (24.56 Mbps with Performance Internet)

Enhanced by Zemanta

Sep 11, 2011

So I got this error while trying to login at 10:07am

Sorry, something went wrong.
And I want to show them this. And I've spent 17 minutes looking for a link. And I'm getting a little punchy with my keyboard and I wanted to blog this  because I need to not be doing this right now but I know that I will want to have the option to later. And I should, in all fairness note that I was able to login after a few minutes. But it still pisses me off; since i was only trying to help the programmers & developers with some feedback (which may help them resolve this or other isssue)  I just wanted to see and click on a link that would let me send back what the server coughed up (which you can check out below in yellow-ish)

A team of highly trained monkeys has been dispatched to deal with this situation.
If you see them, show them this information:
jYqHpFE7Dl2zMnmimU6GBbNmjmqjgUJ1IbWRDDyF7FeZ-zkX-_WhHp6iVaBE
opD5uov9NWgZAk1WlNBt0nZd32D3oZ-KjT7gC0835_q4NMgCViQTAg62MJBQ
3NlncGGRSpAmGUEOBAUXUzmlRKLByQdhhmTl8Vwg15mbNEQJx4hqCS2Id5U-
reHg0QRBBfKjyNtqpkLdo7aWWjb5t1iY4Wty_C0HvSC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M6wEqN9YkY_7JYo5bGgxLbrLsELnfEBNDvgKNwtPI6_qy9tJ
oHsV9WqpHapHiut1VCQzyUw-2br4WeHBW-A4QyW8K8BDMilZ-8fK2F8Sm1V8
4StWBr2eSI1YaVRmtXs3av5Y6O7hhezoyDosVwVr3LKE-mNu69XKDEb4lKOl
XsuB2zdgwjv2HEUsstir_U-1IQOXLQ_01Yyo22C8xKnCe9H0qM_4zjOnCKfe
w5Sk6vTA0YwV-SffiVN3f0c3l5mpNdY0lPxa53JQFwjHzZM_BtF0hpMLx2v3
3T3OZp6HUp6VpsCKlpo7xWezQ19vJJ_NqG2Nb6jhPIj3dU7ak8L3x0PhcQ5F
NtDQZvqkH4vt5EsDT0eQ5cAtDdjCcgpkzVaP2c-_Bu9GkLzzVmXydEyxApOj
1A530XQ0pgOLNl3vnI2oJPrF9eagrabZfWNGbksHfFiAOH2C6ltRd1ysFwrI
cvdbQBj8vWD4BfceWrH44LFyNa5ac3YvmDwXhCv08Au1zAdaZqLohtkDlF6R
If3uzCpQ6jECM73f1o17tr-eIdqfz8zhKcBpl6RVzNntHJrALhn3Z7CEt-56
vzziL7gu1CbvbKT2khJb4IDEM4SyeLTLY9ja40pdBjnKdGwOkfNNNA3sAqsP
nNxqpi4nHdis6JRXEgwHul_N-iB68Qn41xQ5kRwidt6hmGgp8phLLBKG_Xb4
GVg27NRugV4Q-8Mkj1mdLaRwkIQTjnA8cMfHuyQoEhyqGHUAvDs9KrJsVrgK
ayXYoMsxju5sUaKETbP5GmnupilXyzI3lEMV31uIc6Wc10IyondYLGjeAFrK
QNnfydH5yctq6IrpEcfwNgYpmnVh2x-zeFidIIYimoENx7mcT_W8PE7USbVT
SeqKHchRZcrB1QkU6Ffgrrf8YTems16x42QEbfEENC8j3aFwnRsbjabrTODA
_jDJRYdBVZWntWkgfE5UU_4ZciMsQZhNSlELId9iNsk-Ft9HgQ==
BTW: The website I was trying to access - http;//youtube.com

Aug 26, 2011

Top of the morning

Man. It's way too early to be troubleshooting my friend's wifi network


Aug 17, 2011

Tunnel Boring Machine Finds Final Resting Place


Its work complete, one of two 200-ton, 22-foot-tall tunnel boring machines digging the tunnels and caverns that will bring Long Island Rail Road trains into Grand Central Terminal is being buried this week, 14 stories below Park Avenue.

Of course, it's already been underground since 2007 when it began digging the tunnels. But now it's being "buried," or permanently sealed behind a wall at the end of the last tunnel it built and encased in concrete. Believe it or not, it is actually saves money to bury the machine at the end of the tunnel rather than try to retrieve the spent monster from the far end of the tunnel or sell it for scrap.

The machine – even the super-strong tungsten carbide cutters that make up its face – takes a serious beating during the process of digging a tunnel through Manhattan bedrock. There aren't many buyers for a used, beaten-up tunnel boring machine. But sometimes a machine can be sold for scrap metal. In this case, though, MTA Capital Construction's contractor, Dragados, the owner of the machine, would first have to cut it to pieces using blowtorches, then laboriously extricate each piece and transport them through the two-mile tunnel to Sunnyside, Queens, blocking the movement of construction equipment and personnel and causing costly delays to the progress of the project. And, in order to keep the tail end of the tunnel structurally sound if the machine were to be removed, workers would have to build a concrete lining on the last few feet of the tunnel where the machine had been. (In most parts of the tunnel, the tunnel boring machine itself creates the concrete lining as it travels. But it can't do it until it's moved all the way through an area.)

So to prevent these added costs and to keep the tail end of the tunnel structurally sound, workers are sealing the tunnel boring machine in behind a bulkhead and encasing it in concrete to prevent it from oxidizing and decaying over decades. So by supporting the end of the tunnel, the tunnel boring machine in a way will continue to serve a purpose into perpetuity.

The East Side Access project, the nation's largest transportation project, is building a direct connection between the Long Island Rail Road and Grand Central Terminal. It will directly serve about 160,000 customers a day while nearly doubling LIRR train capacity into Manhattan and freeing up seating space throughout the railroad.
Enhanced by Zemanta

Aug 11, 2011

Ford Mad Max Interceptor

I'm not a car person, but this is too cool. It's late and I am too lazy to translate.
A l’occasion de la nouvelle version de Mad Max qui sortira en 2012, Ford a décidé de créer une nouvelle Interceptor, voiture du héros. Visuellement très impressionnante, Tom Hardy endossera le rôle de Max Rockatansky pour conduire ce concept. Plus de visuels de la voiture dans la suite.


ford-mad-max-interceptor4
ford-mad-max-interceptor2
ford-mad-max-interceptor1
ford001
ford002
ford003
ford004




Enhanced by Zemanta

Aug 7, 2011

Happy 20th Birthday Internet

Today is a significant day in the history of the Internet. On 6 August 1991, exactly twenty years ago, the World Wide Web became publicly available. Its creator, the now internationally known Tim Berners-Lee, posted a short summary of the project on the alt.hypertext newsgroup and gave birth to a new technology which would fundamentally change the world as we knew it.
The World Wide Web has its foundation in work that Berners-Lee did in the 1980s at CERN, the European Organization for Nuclear Research. He had been looking for a way for physicists to share information around the world without all using the same types of hardware and software. This culminated in his 1989 paper proposing ‘A large hypertext database with typed links’.
While the initial proposal failed to gain much momentum within CERN, it was later expanded into a more concrete document proposing a World Wide Web of documents, connected via hypertext links. World Wide Web was adopted as the project’s name following rejected possibilities such as ‘The Mine of Information’ and ‘The Information Mesh‘. The May 1990 proposal described the concept of the Web as thus:

HyperText is a way to link and access information of various kinds as a web of nodes in which the user can browse at will. Potentially, HyperText provides a single user-interface to many large classes of stored information such as reports, notes, data-bases, computer documentation and on-line systems help. We propose the implementation of a simple scheme to incorporate several different servers of machine-stored information already available at CERN, including an analysis of the requirements for information access needs by experiments.
The document envisaged the Web as being used for a variety of purposes, such as “document registration, on-line help, project documentation, news schemes and so on.” However, British Berners-Lee and his collaborator Robert Cailliau, a Belgian engineer and computer scientist, had the foresight to avoid being too specific about its potential uses.
In 1990, working on a computer built by NeXT, the firm Steve Jobs launched after being pushed out of Apple in the mid-80s, Berners-Lee developed the first Web browser software called, fittingly, WorldWideWeb. By the end of that year he had a working prototype of the Web running on a server at CERN.

Here’s what that very first browser looked like running on the NeXTStep operating system:



And this is a photo of that photo at CERN:

Tag on Tim Berners-Lee's original NeXT machine -- first Web server

 
Enhanced by Zemanta

Aug 6, 2011

At 3:28am !!Malicious Software!! was identified on the jacksonstudio network

At 3:28am !!Malicious Software!! was identified on the jacksonstudio network
Let me begin by anthologizing for any inconvenience and/or confusion that this incident brought about.
Next I would like to state that the malware was quickly identified and innoculated, and I have confirmed that nothing harmful in the message(s) was sent from my device.

  • The software sent out sms txt messages to recipients in my address  book. 
  • However, my Sprint Cell Phone Plan includes the 'Text to Landline' feature. And unfortunately calls were made. I am truly sorry about that, because these calls happened at or around 3:45-4:00am
I would also like to note that my systems, the network and firewall were not compromised. I should have told Client "X" that it was too late for me to troubleshoot his laptop, and come by tomorrow. Since he sounded drunk when we spoke on the phone. And I should have known better. And since it was my suggestion to 'check out my new android phone' while I do repairs- I have no one to blame except myself because I should have known better.


I am,
Gavin
Enhanced by Zemanta

Aug 2, 2011

I've been with ATT/Yahoo DSL for over 5 years now

and for the last six months, i've been thinking about how I need to get a new ISP. And I keep coming across these subtle hints and suggestions on behalf of the known universe. Here is one such example.
and i don't even use this feature, but that's not the point

And if wasn't for the fact that I kinda screwed up the layout of my tumblr page, because I was trying to do something with my flickr photostream (which I also loathe using). But right now I need to walk away from the keyboard before I go from being slightly agitated to reckless frustration.
Enhanced by Zemanta