Forgot your password?
typodupeerror

Comment: Merge Conflict (Score 3, Insightful) 116

by znigelz (#47018933) Attached to: Finding More Than One Worm In the Apple
This is clearly the automatic resolution of a merge conflict by the versioning control software. These are such a nightmare to debug and happen all the time. Developers rarely check their entire change visually post merge. Though this can be found using static analysis that force coding standards (such as forcing the use of brackets or proper indentation for the lexical scope). Though the bugs from automatic conflict resolution can only be really improved through better versioning software. These are without question the worst and most frustrating bugs.

Comment: Overblown outside of the LKML (Score 1) 1051

by znigelz (#42417499) Attached to: Linus Chews Up Kernel Maintainer For Introducing Userspace Bug

I would never speak to someone like that. However, I would love it if Linus would talk like that to me. I would learn so much from that man. Also, we don't know anything about their personal relationship. I have friends that treat each other like this every day, and yet are still very good friends/colleagues, but they know not to speak this way to me. Linus can talk to me like that any time, but my friends and co-workers can't. You establish these limits when you start any friendship or professional association.

Mauro did make a major fcukup. He accepted a patch which returned an obviously invalid error value for an ioctl request. The worst part is that the error code was changed depending on its value, as if to sweep the problem under a rug. The beauty of the LKML is that there is no rug. The reason Mauro got burned is because he is a seasoned maintainer.

Mauro did not deserve to be shamed on the slashdot front page. Yes, he did blame userspace for the problem he created as the maintainer of the media subsystem. Also, any new kernel developer should make sure they know the coding style and inherent laws of the subsystem they are focusing on. I am sure he understands the USB video device class very well, but he submitted code that goes against basic pragmatics (changing an error value).

We all enjoy drama, and this conversation is gold for any new or old developer. I learned something from this argument. It taught me to refocus on meticulous aspects of my code, and to rehash the basics of all of the programming paradigms (which should be obvious anyway). I gather this was Linus' intent. He just took a very direct approach to filling our minds with some valuable knowledge.

Why not take something positive from this mailing list instead of contributing something negative? Stop bashing Mauro. He has a family, and stresses in life that will be exaggerated by this blunder. Linus comments were well deserved, but he took to the harsh criticism fairly well after he foolishly brushed off the initial call to his attention. Unfortunately, he ended his follow up with an unfortunate comment. I am sure he is now trying to ignore superfluous flames outside of the LKML and refocus his attention on learning through reading the code in his subsystem. The most important first step is to read the kernel source. If you don't understand some aspect, you need to look deeper. It is never enough just to code. You have to always continue to read and learn throughout your entire career as a developer.

When I read a book, I look up every single word I don't know. This has become habit, and as a result the more I read, the less I actually need to look up words. Apply the same aspect to your coding. When you are reading code, don't skip over any function or operation you *think* you understand.

Comment: Re:Cheap manufacturing always costs more in the en (Score 1) 120

by znigelz (#42173955) Attached to: Inside the Raspberry Pi Factory
Wow. You are really stretching my words to make that speculation. In no way did I refer to RIM, but just because I am Canadian you assume that I am a die hard RIM supporter. I am talking about the UK, not Canada. I will not go off topic of my own post, but responses like yours make me slowly loose hope for the Slashdot community.

To reiterate, my comment was that if such stickers existed, then they would be the most popular company in the world, since their chips are used in everything, but unfortunately they wouldn't be used in everything if they had such a requirement. ARM definitely does not have a bad rap, so you are definitely way off on the point of my topic.

If you think there is a lack of dominance from the UK in the industry, then you really know nothing about the industry. QED

Comment: Cheap manufacturing always costs more in the end (Score 3, Interesting) 120

by znigelz (#42172469) Attached to: Inside the Raspberry Pi Factory
This is slightly off topic, but still very related to the OP.

The UK computer industry enjoyed a mini-rennaisance in 2012 thanks to the popularity of the $40 Raspberry Pi

Are they serious? Do they even know where the ARM SoC is designed?

It amazes me that the Arm Holdings stock was only around $20 a few months ago, when they are without question the most dominant, stable, and secure tech company in the world. Both Apple and Google are completely dependent on the licenses they have acquired from ARM to allow them to use their risc based ultra low power cpu in their devices, and to allow the manufacturers (samsung, ti, etc) to build those chips, and yet in some cases their stocks are twenty times more.

This amazes me, but at least ARM's stock has doubled in the past few months. There is NO bigger player in the computer industry in the world than the UK. I make this claim upon the the fact that now mobile is the dominant platform, and ARM is the only real player in that game (as of yet). Anyone can license and manufacture these chips for cheap and give us crappy hardware as a result, but the ingenuity is in their reduced and low complexity instruction set which allows for their ultra low power design, which is why almost everybody is using their SoC designs.

The only reason that nobody realizes this and their stock has been stagnant in the past is because they don't have a "ARM inside" sticker on every ARM based device made. It there was such a sticker, they would be beyond any doubt the most popular company in the world.

Disclaimer: I am Canadian (and live there at the moment), but I am also a UK citizen. I also don't hold any ARM stocks, though I am kicking myself that I still have yet to acquire any, since it would have almost doubled in value over the past year.

Comment: Avoid Streisand effect using Gestalt principles (Score 1) 743

by znigelz (#41868803) Attached to: Apple Hides Samsung Apology So It Can't Be Seen Without Scrolling
For being a tech savvy company, they don't seem to understand online social dynamics at all. They should have thought about the Streisand effect before making another such massive marketing slip. If they had just used Gestalt principles they could have hidden the notice in plain sight.

Comment: OS Purgatory (Score 1) 460

by znigelz (#41587823) Attached to: Linus Torvalds Will Answer Your Questions
Linus, aside from the gnome3 fiasco, which you have been clear about, do you think that R&D into tablet interfaces is infecting the desktop experience in genreal especially with regards to user productivity? I mean this with respect to the new metro interface with Win8, the unity interface with Ubuntu, and the transformation of the mac os into a walled garden (hypocritical to be sure, especially being based on a BSD variant). I want the freedom the work and play the way I want without giants forcing to me to play the game their way.

Comment: Re:Documentation can make a standrd (Score 3, Interesting) 299

by znigelz (#41508657) Attached to: WTFM: Write the Freaking Manual
I second this post. K&R is the evolution of the C specification, and some versions of C compilers were written entirely from the book itself. C++ was developed in 1979, but not released to the public until 1983 (the year I was born, coincidence? I think not). Bjarne Stroustrup worked for Bell labs. Bell kept the official documentation, "The C++ Programming Language", under wraps until 1985. Wow, two whole years (though I'm sure too long for some of your old wizards). It is without question the best meta/template programming manual ever written.

inability to communicate good ideas is more an indicator the ideas aren't that good

If you find his book too complicated, then check out Stroustrup's other book, "Programming Principles and Practice using C++", which is more like a high school text book. Or check out his amazing and simplistic site for the aggregation of information crucial to c++, http://www.stroustrup.com/C++.html

He may not be the greatest writer, or the most congenial, but his ideas were great, and no one can argue against it. No language is as dominant and most crucial to the world's infrastructure, and his books (and his online material) are a great companion in your time of need.

+ - Ask Slashdot: Does the uncanny valley apply to live action video as well?

Submitted by znigelz
znigelz (2005916) writes "As video recording instrumentation increases the fidelity of videos, does live action suffer from the same effect that we describe as the uncanny valley for robotics and animation. Normally, when we watch a video online and think it is fake it is because an action in the video is thought to be impossible or extremely rare. Usually, artifacts are very apparent in the video that give it away as a fake or modified recording.

In the following video, a pack of dolphins chase a boat of tuna fisherman, who are trying their hand at an independent and modern version of deadliest catch, except without the danger.

https://vimeo.com/47138207

The reason I find this instance of a particular video to be interesting (beyond the inherent awesome nature of the video itself) is because of the amount of people online who swear the video is fake. The person who published the video, Mark Peters, has been defending the authenticity of video. I've got to admit, even I thought it looked fake for a moment, but then I climbed out of the valley and watched the video a few times repeatedly.

The action in the video is not a rare occurrence. If you spend enough time on the ocean in certain places in the world, you will inevitably come across a pod of dolphins who will chase your boat for five minutes until they become bored, tired, or get to their desired destination.

The video is unquestionably real. I feel for the guy who posted the video. He is just another person who is suffering from his audience falling into the zombie trap that is the uncanny valley. He did an amazing job recording the video. He must have spent a lot of time making sure all of the settings and the focus were perfect for the environment. Then he lucked into some awesome footage.

There does not seem to be much info on the wikipedia article for the uncanny valley. The listed referenced papers are all focused on robotics and animation, and do not discuss the application of the concept to the live action medium.

The closest application I could find was in the following article which applies the uncanny valley to how cartoons and animations distort our perception of reality.

http://visionlab.harvard.edu/members/ken/Ken%20papers%20for%20web%20page/163ChenRussellNakayamaLivingstone.pdf

Is the fallaciousness seen in the video the effect of animation distorting our reality as described in the paper? Or is it just the normal zombification from the effect described in the standard uncanny valley model?

Will light fields suffer from this same effect? I don't get this fallacious feeling from the increased level of detail from stereoscopy of live action video. Do you think the video is fake? I don't. I have a certain level of credibility with respect to the field of computer graphics. I could be wrong, but I doubt it. I really don't care at his point if it is real or fake.

Disclaimer: I have no association with the people who made this video, the camera manufacturer, or any of the researchers in the papers I mentioned. My research is in a completely different field. I just think it is real, and the guy who filmed it deserves some cred for some awesome film making without questioning the credibility of the video. In any other situation, questioning credibility is generally a good thing."

Comment: Turn in into play time with computer graphics (Score 1) 525

I recommend he learn some well established api. He should get straight into it. Something graphical with very intense visual feedback. He should start by just getting the demos to work. They are *really* simple to get setup, and give great insight in to the capabilities of the frameworks. Then as he progresses he will learn other things he can accomplish and add to them. http://code.google.com/more/ http://developers.facebook.com/ http://qt-project.org/ https://developer.apple.com/library/ios

As a base. he would need javascript (w3schools), or python (Python: Essential Rererence), or C (Programming in C), or C++ (Programming: Principles and Practises Using C++). He does not need to read these books. He just needs to reference them. All the information in them is available online, but having a physical reference is always great to have within reaching distance.

When I was a kid, I would only read a book if I knew it contained the solution to a problem. I would read the book cover to cover if I had to, but in general, I was always more interested in building rather than reading.

My only intent was to play video games, and I would do anything to get them to work. I would save every penny just to by another mb of ram. I was constantly changing the motherboards and processors as well. When I was 11, I was writing batch scripts. At that time, I was using 80386 architecture and DOS. I moved to windows to play games like ski-free, and to play around with winsock and tcp. I got into irc for videos and music, which also introduced me the concept of a newsgroup. At this point everything changed. Any problem I had could be solved with ease. Generally, somebody else would always have faced the same problem I had, and they had solutions!

I got into web development pretty early, but I got bored with it quickly, since at that time, the specification was pretty limited, and I was always more interested in playing video games and sports instead. I'm 29 now, and I have a bachelors in computer science, and a masters in engineering. I do numerical programming with C++ and OpenCL.

I only got into hardcore programming in university, but my general experience with computing placed me highly with my peers. My university was arguably the best in the country for that particular undergraduate program. Lots of my friends had fathers who were programmers, and taught them a lot at a young age, but none of them progressed faster than I did. I easily caught up to them.

My point is that you do not need to push him into programming, He may loose interest very quickly. My interest in things has always been very volatile, since there are so many other things to be interested in as well (sports, music, novels, etc). If his passion is genuine, he can catch up easily. The one corollary is that each generation is exponentially more intelligent than the previous generation. My generation was the first to have access to an over abundance of information. Before, there was a deficit of information and a surplus of attention, but now there is a surplus of information, and a deficit of attention. Access to such an infinite pool of information has made me much more ingenuous than my father's generation. Our kids will most likely be exponentially smarter than we are. Of course, previous generations more easily focused on one particular field, which had its merits, as they made incredible discoveries. The argument that there are less things to discover now is bulls$%*. We still understand very little in the scope of things. He does need to become the next teenage billionaire. His passion(s) just need to be nurtured properly. LET HIM PLAY! He has to work for the rest of his life.

Comment: Re:Everyone makes mistakes, even Einstein... (Score 1) 186

Einstein's theory was only accepted after the empirical work done by Eddington. Einstein's theories were completely outrageous at the time.

I did not imply that neutrinos travel faster then light, it has clearly been proven otherwise. I meant for you to infer that there may exist some unknown particle that could still possibly travel faster than the speed of light.

when you get your mistake plastered all over the media you do look a bit silly.

So it is the scientist's fault that his ideas where sensationalized by the media? He said that he doubted his own results, and just wanted other scientists to verify his own work. People love making other people look stupid just to make themselves feel smart.

Comment: Everyone makes mistakes, even Einstein... (Score 1) 186

What if Einstein resigned from his post just because he challenged Newton's laws? What if Ereditato is actually right, but this specific experiment was wrong? There are too many old jaded stubborn researchers without an open mind, which are holding back progress in every field. There is nothing wrong with questioning something and being proven wrong.

Comment: Ogre (Score 1) 237

by znigelz (#38504294) Attached to: Ask Slashdot: Tools For Teaching High School Kids How To Make Games?

http://www.ogre3d.org/

Ogre is a 3D rendering engine with a very large community based around it. We used it for a proof of concept for a real-time simulator, and there were few limitations we faced in using it. It might not be as clean as unity, but it has more flexibility in licensing, as long as you don't might copy left, which in your situation you shouldn't. Actually, I just looked and it seems they made the switch to the MIT licence.

The proof of concept was actually a major improvement over the production simulator, but of course business politics always wins in the end.

Comment: Newfoundland/Labrador (Score 1) 254

by znigelz (#37149644) Attached to: Rare Earth Restrictions To Raise Hard Drive Cost
Our rare earth mines are just getting started. But the deposits are huge. It may be a couple years before it relaxes the market, but by no means do they control the rare earth market. They want you to think that to inflate demand. There are lots of other sources all over Canada being surveyed (and all over the united states for that matter http://news.slashdot.org/story/11/08/04/1857220/Rare-Earth-Deposit-Discovered-In-US)

A Fortran compiler is the hobgoblin of little minis.

Working...