 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 05 Dec 2012 21:36:09 +0000, Orchid Win7 v1 wrote:
> So *why* the hell does this constantly happen in computing?!? >_<
Because often times the managers hiring computing professionals do not
have a background in computing.
That's less and less common now, but when I started in IT, it was very
common, and a lot of people talked volumes of BS about it and got hired.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 12/5/2012 1:27 PM, Orchid Win7 v1 wrote:
>
> I would expect that for this example question, you would be very
> hard-pressed to construct a program inefficient enough to be considered
> "too slow". ;-)
That's because you're not thinking like someone who has no idea what
they're doing.
Take for instance the following algorithm, which I *tried* to make mimic
the sort of answer a clueless person might stumble and grope their way
to after hours of trial and error. I couldn't manage make the coding
style quite bad enough to be realistic, but you'll get the idea. I did
at least manage to put in a bug or two which ends up working due to
blind luck.
example of use:
sortInts("5000 353 1 145 145 145 354 23 16564")
the (horrible horrible) code:
def sortInts(S):
i = 0
count = 0
while count < countSpaces(S)+1:
n = countInStr(i, S)
if n > 0:
for j in range(n):
print i
count += 1
i += 1
def countInStr(n, S):
S = " " + S + " "
count = 0
for i in range(len(S)):
for j in range(i,len(S)):
if S[i-1:j+1] == " " + str(n) + " ":
count += 1
return count
def countSpaces(S):
count = 0
wasLastSpace = False
for i in range(len(S)):
if S[i] == " ":
if wasLastSpace == False:
count += 1
wasLastSpace = True
else:
wasLastSpace = False
return count
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid Win7 v1 <voi### [at] dev null> wrote:
> The C# "List" class actually represents a growable array. So it has O(1)
> index and O(1) append until the underlying array needs to be enlarged
> (which is obviously O(n) time).
Why is C# using the wrong terminology? (Or at the very least, really
misleading?)
What that sounds more like is a dynamic array, not a list.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid Win7 v1 <voi### [at] dev null> wrote:
> Providing data over the Internet isn't hard. But providing HD video *in
> realtime* would seem difficult given that people don't have
> megabit-speed Internet access yet.
I think you are confusing the word "people" with the word "I".
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2012-12-05 16:23, Orchid Win7 v1 a écrit :
>>> You don't understand why people would pay a moderate sum of money in
>>> order to be able to watch movies or listen to music?
>>>
>> No, he doesn't understand how a service can offer near-HD resolution
>> over the Internet.
>
> Providing data over the Internet isn't hard. But providing HD video *in
> realtime* would seem difficult given that people don't have
> megabit-speed Internet access yet.
I currently have 10Mbps downstream/1.5Mbps upstream. And both my
provider and its direct competitor offer better packages.
>
>> Despite the fact that tv providers have had no
>> problem doing 60 channels of the same thing over the same wires for the
>> last 30 years (10 years in the case of HD).
>
> Digital TV isn't 30 years old. :-P
That's why I said 10 years for HD. And besides, digital channels take
the same bandwidth spectrum as analog tv channels.
>
> Besides, it's no secret that a simplex broadcast channel is much easier
> to set up than a full-duplex communications channel.
That's why it's asymmetrical. And also why most ISPs frown upon you
hosting servers out of your basement, since you would be hogging the
upstream channel.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* gmail.com */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2012-12-05 16:36, Orchid Win7 v1 a écrit :
> The thing is, *nobody* thinks they can just walk in and pretend to know
> how to be a brick layer. Because it's ****ing obvious that it'll take
> the people interviewing you about 11 seconds to figure out that you know
> nothing about anything.
>
> So *why* the hell does this constantly happen in computing?!? >_<
>
Because a lot of people don't even know what they don't know.
Afew years ago, the customer I was working for had their own cafeteria.
At one point, they decided to outsource the services to an outside
supplier. The cafeteria cooks, being members of the company's union,
were given the choice of either accepting a non-union job at the new
supplier (at a lower salary, of course), or put themselves on the union
avaialability list in the hope that another job would become available
in another dept.
One of the cooks asked me one day: "You're in IT, right? Do you think
I could apply in your dept? I'm pretty good with my computer at home..."
Me: "Do you know the difference between the IP address classes?"
Him: [quizzical dog look]
Me: (Ok networking is not for him) "Have you ever played with Linux?"
Him: [quizzical dog look]
Me: (Ok, hmm... ) "Do you have a home network?"
Him: Huh... No. But I customized the hell out of my MySpace page.
Me: "I'll get back to you."
He was really disappointed when I told him we were also an outside
supplier so he couldn't simply waltz in an bump one of the lower
seniority guys.
There was also the girl who wrote in her presentation letter that she
was a networking expert, (her cv mentioned her only experience as having
set up a 10 PC internet cafe), and that she knew both versions of
Windows inside and out (Win 98 *and* Win2000... we're talking serious IT
Geekage, here!)
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* gmail.com */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Francois Labreque <fla### [at] videotron ca> wrote:
> There was also the girl who wrote in her presentation letter that she
> was a networking expert, (her cv mentioned her only experience as having
> set up a 10 PC internet cafe), and that she knew both versions of
> Windows inside and out (Win 98 *and* Win2000... we're talking serious IT
> Geekage, here!)
OTOH, the reverse also is problematic. In other words, if you are
completely and absolutely *honest* about your expertise, you might not
get even a job interview.
For instance, if I were seeking for a job that requires PHP skills, and
I would write honestly that I have only rudimentary experience of said
language, they would most probably not even interview me, instead opting
for someone who *claims* to have extensive knowledge and experience.
However, if I outright lied and told them that I have a lot of experience
on PHP, and I got the job, I'm pretty certain that I would learn the
tidbits quite quickly. (The language itself is really close to C++, and
basically the only thing you need to learn is the few syntactical and
semantical oddities and the different libraries.)
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Thu, 06 Dec 2012 09:37:04 -0500, Francois Labreque wrote:
> That's why I said 10 years for HD. And besides, digital channels take
> the same bandwidth spectrum as analog tv channels.
IIRC, in the US at least, digital takes less spectrum.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 06/12/2012 07:54 AM, Warp wrote:
> Orchid Win7 v1<voi### [at] dev null> wrote:
>> The C# "List" class actually represents a growable array. So it has O(1)
>> index and O(1) append until the underlying array needs to be enlarged
>> (which is obviously O(n) time).
>
> Why is C# using the wrong terminology? (Or at the very least, really
> misleading?)
>
> What that sounds more like is a dynamic array, not a list.
Yeah, I don't really know.
Java has a /interface/ called "list", which represents "a list of
things". It then provides several different implementations of this
interface, including "LinkedList" and "ArrayList".
C# seems to have copied this terminology, having an IList interface and
a List class which implements it. But it's certainly nothing to do with
linked lists (which don't implement IList at all, and hence don't even
*offer* element indexing as a build-in method).
Go sue the designers. :-P
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 06/12/2012 03:48 PM, Warp wrote:
> OTOH, the reverse also is problematic. In other words, if you are
> completely and absolutely *honest* about your expertise, you might not
> get even a job interview.
This is the problem. The market is so utterly flooded with "IT experts"
who claim to know everything about everything, that if you write on your
CV what you *actually* know about, nobody will even look at it. That's
utterly messed up.
Seriously, how many people apply to work as an engine designer when they
don't know anything about physics?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 06/12/2012 02:57 PM, Francois Labreque wrote:
> Le 2012-12-05 16:36, Orchid Win7 v1 a écrit :
>> The thing is, *nobody* thinks they can just walk in and pretend to know
>> how to be a brick layer. Because it's ****ing obvious that it'll take
>> the people interviewing you about 11 seconds to figure out that you know
>> nothing about anything.
>>
>> So *why* the hell does this constantly happen in computing?!? >_<
>
> Because a lot of people don't even know what they don't know.
Sure. But why is that peculiar to IT?
Nobody out there thinks they could totally draw up the blueprints for a
suspension bridge and have it actually work. Yet people think they can
write commands to make a computer perform a complex task and it'll be
fine. WTF is up with that?
> Me: "Do you know the difference between the IP address classes?"
> Him: [quizzical dog look]
> Me: (Ok networking is not for him) "Have you ever played with Linux?"
> Him: [quizzical dog look]
> Me: (Ok, hmm... ) "Do you have a home network?"
> Him: Huh... No. But I customized the hell out of my MySpace page.
> Me: "I'll get back to you."
Yeah, this is pretty standard. Everybody understands that designing
(say) an aeroplane is really hard. And yet people think that designing
computer software is somehow trivially easy...
This probably isn't helped by the following fact: If you pay somebody to
build a skyscraper, and they actually build a small wooden hut, you know
that you did not get what you paid for. If you pay somebody to build an
enterprise-class data management engine and they actually give you an
Excel spreadsheet and an instruction manual, you might not necessarily
realise that something is wrong - and neither might they...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Thu, 06 Dec 2012 20:54:43 +0000, Orchid Win7 v1 wrote:
> Seriously, how many people apply to work as an engine designer when they
> don't know anything about physics?
It's a little different when the results aren't tangible, I find. As in
something physical that someone can look at and test. When something is
non-physical, I find people tend to think it's easier than it is to go
from concept to implementation.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Why is C# using the wrong terminology? (Or at the very least, really
> misleading?)
According to Wikipedia:
"Lists are typically implemented either as linked lists (either singly
or doubly linked) or as arrays, usually variable length or dynamic arrays."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> The thing is, *nobody* thinks they can just walk in and pretend to know
> how to be a brick layer. Because it's ****ing obvious that it'll take
> the people interviewing you about 11 seconds to figure out that you know
> nothing about anything.
But seriously that is what it was like with the Engineer guy who we
interviewed. After that we decided to always do a very short telephone
interview first (even if they lived round the corner) rather than
wasting several man-hours of interviewing.
> So *why* the hell does this constantly happen in computing?!? >_<
To be fair the guy I mentioned applied directly, the ones through the
agency were always pretty much there. It just strikes me as odd that you
can't find a decent agency to find the right people.
>> Or typing it into the IDE then copying & pasting over, that's what I
>> would probably do, as I pretty much rely on the auto-complete stuff to
>> get code right first time (or even remember the method names correctly).
>
> Yeah, but I'm fairly sure even VS doesn't write entire blocks of code
> for you. Google searching does. ;-)
I meant I would write the block in VS and then coyp&past the whole block
to the browser window.
> I'm currently unsure as to whether we're just not paying the agents
> enough money, or whether there's nobody out there to recruit.
There's always good people out there to recruit, you just need to reach
them (monster or similar is easy nowadays, or a decent agent) and they
must want to work for your company (location, salary, if they are
interested in what you do, etc).
> (As a small company, we have very little money to spend. And the owners
> are the type of people who see job agents as a totally unnecessary
> expense and want to spend the absolute minimum possible on them.)
That's why then. Advertise on monster and ask them a few coding
questions as part of their application on monster (you can set it up to
do that and email you their answers with their cv). Sure some will try
and google it then copy&paste, but you should be creative enough to
think of something that can't be googled.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Providing data over the Internet isn't hard. But providing HD video *in
> realtime* would seem difficult given that people don't have
> megabit-speed Internet access yet.
LOL that comment would hardly make sense even a decade ago!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> Why is C# using the wrong terminology? (Or at the very least, really
>> misleading?)
>
> Yeah, I don't really know.
>
> Java has a /interface/ called "list", which represents "a list of
> things". It then provides several different implementations of this
> interface, including "LinkedList" and "ArrayList".
>
> C# seems to have copied this terminology, having an IList interface and
> a List class which implements it. But it's certainly nothing to do with
> linked lists (which don't implement IList at all, and hence don't even
> *offer* element indexing as a build-in method).
It's worse...
C# actually *has* an ArrayList class. But that was written before they
added generics. (I.e., an ArrayList holds only Objects.) So when they
added generics, ArrayList became just List.
Yuck.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> (As a small company, we have very little money to spend. And the owners
>> are the type of people who see job agents as a totally unnecessary
>> expense and want to spend the absolute minimum possible on them.)
>
> That's why then.
Really? Is that all it is?
> Advertise on monster
In my limited experience, Monster is an utter waste of time for
computing jobs. (The whole "there are no jobs in MK" came from my using
Monster to try to find work. Once I switched to a *real* jobs site, I
found plenty of stuff to apply for...)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>>> (As a small company, we have very little money to spend. And the owners
>>> are the type of people who see job agents as a totally unnecessary
>>> expense and want to spend the absolute minimum possible on them.)
>>
>> That's why then.
>
> Really? Is that all it is?
Peanuts and monkeys. IME not all recruitment agencies are created equal...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
INTERVIEWER: "Hi. Welcome to ACME Software Corporation. We're a cutting edge
software design company. Tell me, do you have state-of-the-art programming
skills?"
APPLICANT (Kenneth): "Oh sure, lots of skills and experience."
INTERVIEWER: "I see. Such as...?"
APPLICANT: "Six years writing super-complex code in POV-Ray, using the Scene
Description Language! Oh, and Fortran IV, of course."
INTERVIEWER: " (...???...) I see. Well, just a few questions. Are you familiar
with classes?"
APPLICANT: " Yes, yes, I took some of those in High School and College."
INTERVIEWER: " (....?!?!?!....) Ahem. OK. So, do you even know what a for-loop
is?"
APPLICANT: "Is that like a #while loop?"
INTERVIEWER: "Hmm. So, moving right along...How about any experience with
Python, C#, Lisp, C++ or .NET?"
APPLICANT: "Um, yeah, I've heard of those. And don't forget BASIC!"
INTERVIEWER: "No, no, of course not...well...uh..."
APPLICANT: "So when do I start?!"
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2012-12-06 12:32, Jim Henderson a écrit :
> On Thu, 06 Dec 2012 09:37:04 -0500, Francois Labreque wrote:
>
>> That's why I said 10 years for HD. And besides, digital channels take
>> the same bandwidth spectrum as analog tv channels.
>
> IIRC, in the US at least, digital takes less spectrum.
>
I thought analog channels were 6MHz wide as well, but couldn't find any
actual numbers after a 3.5 nanosecond wiki search.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* gmail.com */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2012-12-06 15:57, Orchid Win7 v1 a écrit :
> On 06/12/2012 02:57 PM, Francois Labreque wrote:
>> Le 2012-12-05 16:36, Orchid Win7 v1 a écrit :
>>> The thing is, *nobody* thinks they can just walk in and pretend to know
>>> how to be a brick layer. Because it's ****ing obvious that it'll take
>>> the people interviewing you about 11 seconds to figure out that you know
>>> nothing about anything.
>>>
>>> So *why* the hell does this constantly happen in computing?!? >_<
>>
>> Because a lot of people don't even know what they don't know.
>
> Sure. But why is that peculiar to IT?
>
> Nobody out there thinks they could totally draw up the blueprints for a
> suspension bridge and have it actually work. Yet people think they can
> write commands to make a computer perform a complex task and it'll be
> fine. WTF is up with that?
>
Most jurisdiction have rules concerning not harming the public so
engineers, doctors, pharmacists, etc... will have to have some sort of
accreditation before being allowed to do their job.
So the HR person reviewing your application only has to verify that you
are a member of your neck-of-the-woods profesional engineer's
association. She doesn't have to actually assess your bridge-making skills.
Doing the same with IT is very difficult because you risk being too
strict and the Jobs, Gates, and Torvalds of this world would be thrown
out, or having to grand-father so many people in that the license
doesn't hold any real value.
In this case, the HR person has to make some sort of judgement call on
your IT abilities, and since they don't know the difference between the
alphabet soup of acronyms, they look for buzzwords, so you end up having
to read the cv of a person who set up an internet café for a senior
telecomm engineer position.
> This probably isn't helped by the following fact: If you pay somebody to
> build a skyscraper, and they actually build a small wooden hut, you know
> that you did not get what you paid for. If you pay somebody to build an
> enterprise-class data management engine and they actually give you an
> Excel spreadsheet and an instruction manual, you might not necessarily
> realise that something is wrong - and neither might they...
Actual quote I overheard: "Oracle is just multi-user Excel."
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* gmail.com */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>>> That's why I said 10 years for HD. And besides, digital channels take
>>> the same bandwidth spectrum as analog tv channels.
>>
>> IIRC, in the US at least, digital takes less spectrum.
>>
>
> I thought analog channels were 6MHz wide as well, but couldn't find any
> actual numbers after a 3.5 nanosecond wiki search.
In the UK single analogue TV channels (which were 8 MHz wide) were
replaced with digital "multiplexes" of up to 40 MBit/s that occupied the
same 8 MHz bandwidth. The frequencies used were the same for both
systems which is why they had to wait until analog was turned off before
the digital signals could be transmitted at full power (to avoid
interference with adjacent transmitters).
Each digital multiplex can hold a variable combination of video, audio
and data, but typically 10+ TV channels per multiplex. Also this allows
some channels to have a higher bitrate than others.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 11 Dec 2012 09:48:43 -0500, Francois Labreque wrote:
> Le 2012-12-06 12:32, Jim Henderson a écrit :
>> On Thu, 06 Dec 2012 09:37:04 -0500, Francois Labreque wrote:
>>
>>> That's why I said 10 years for HD. And besides, digital channels take
>>> the same bandwidth spectrum as analog tv channels.
>>
>> IIRC, in the US at least, digital takes less spectrum.
>>
>>
> I thought analog channels were 6MHz wide as well, but couldn't find any
> actual numbers after a 3.5 nanosecond wiki search.
What I found in a quick search is that it's 6-8 MHz, and while analog and
digital use the same amount of bandwidth (for "legacy reasons"), digital
can have subchannels that analog doesn't. So perhaps I should have said
that the spectrum used is the same, but the usage is different and
digital can be more efficient in using the bandwidth.
I think I might've been thinking about SSTV in HAM applications, because
I knew there were gaps that could be used for (for example) regular FM
transmissions within the channel's spectrum.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |