Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment true especially in the workplace (Score 5, Insightful) 263

In my experience this overconfidence as a result of politeness is true in my workplace, and in past workplaces as well.

Being generally polite, and not giving explicit negative feedback to annoying, unfunny, awkward, disrupting people finds justification in a kind of tacit, unconscious consent to be accepting and tolerant of everyone.
This works kinda all right, and makes it for a peaceful, sometimes even happy environment, and reduces the chances for conflict.

I have witnessed two scenarios where this politeness strategy fails utterly to both create a pleasant environment and to avoid conflict.

One scenario is that of a massively disrupting individual, who is not aware of the consequences of his words and actions.
Sometimes, like a current temporary colleague of mine, the guy is actually not a bad person at all, he is just not very perceptive of subtle signals (like awkward silences etc), looks very much emotionally vulnerable and unstable, which makes it undesirable to confront him about the issue, and has probably never been explicitly and seriously criticized for his disruptive behavior, resulting in a combination of fragility and overconfidence.
Responding to such an individual seems to cause problems whichever strategy is employed (honesty, politeness, etc).

The other scenario is that of a smart, socially-aware, perceptive, self-serving truly evil person.
These people analyze these social situations carefully and are able to detect these weaknesses in the social construct, and take advantage of them. They are therefore able to belittle, disrupt, take advantage of, subvert, out-compete their co-workers, because they know that if they are subtle enough, if they target their attacks carefully enough, nobody will directly accuse them of anything.

Note that I know that I myself have issues with detecting more subtle messages, and I know that my ego is vulnerable to lack of negative feedback as well. I try to ask people around me for truthful advice when in doubt, but in general I profit from this tolerant, polite social construct as well.

I am not sure about how to organize a better social construct that is both honest and peaceful and tolerant, and I am not sure it is possible to do it in a perfect way for all situations and for all compositions of individuals.
It seems to be a long standing problem with establishing and enforcing norms in societies.

Comment Re:Not Mel (Score 1) 113

I really like strongly typed, garbage-collected, secure languages that compile down to machine code. I've used the excellent and fast Algol 68 compiler long long ago on a CDC Cyber computers, and now I use Modula 3 on Linux, when I have a choice. They compile down to machine code for efficiency, and give access to the fine-grained control of data -- you can talk about bytes and integers and such just as in C, but they still manage to take care of safe memory allocation and freeing.

As a system programming language I chose C as my favorite tool for the job.
What would you say are the main advantages of choosing Modula 3 versus C as a system programming language?

I agree with your comments about strong typing catching more problems earlier, and thus if Modula 3 is able to express stronger typing than C, that seems to have its advantages (with some loss of versatility/flexibility perhaps?) Does this have for example drawbacks when trying to add generic programming elements? I find void * useful in that regard.

I have been always skeptical about garbage collection, after having first hand experience with Java.
Does Modula 3 give control / options about garbage collection and its memory management strategies?

C memory management may be a pain, but at the same time it gives me more or less what I want, when the need for dynamic allocation cannot be simply avoided, but still a somewhat predictable run-time behavior is desirable.

I studied the glibc implementation of malloc and friends, which I tend to prefer compared to different implementations of mallocs available by default on SunOS 5.8 and Solaris 10 and other Unices.
Could you give me/all some pointers to memory management under Modula 3?

I am asking about Modula 3 since you are pitching it as a system programming language, but if you think this also relates to Algol 68, I'd like to know as well.

Comment start, do your best, respect yourself, learn (Score 1) 446

> how do you make the transition from hacker (in the positive sense) to a real engineer?

I like your question. Start in a software engineering position,
try to do your best while still respecting yourself;
_engage the people around you_, find the people you resonate with.
Look calmly at your mistakes and at different perceptions and points of view, try to learn from them.
Try to keep a high spirit and a playful attitude.

Do not bash other people even when you feel you are right, learn to negotiate.
Sometimes it is better to at least discuss a non-optimal but still good solution,
rather than trying to force what you perceive as the optimal path, at the cost of burning all bridges around you.
Work relationships and the work environment need to be taken into account.
At the same time, reality cannot be ignored.

I would tell these things to the myself of some years ago. Whether that would help, I don't know.. we probably need to learn from personal experience in the end anyway. But maybe some road signs along the way pointing into some general direction can help at least a little bit.

Good luck, good journey.

Comment detached robotic torture (Score 1) 146

From TFA:

Robots can monitor vital signs of interrogated suspects, as well as a human doctor can. They could also administer injections and even inflict pain in a more controlled way, free from malice and prejudices

This is a terrible (human) atrocity.
This is humans renouncing their humanity, by trying to get as far as possible from the victims of their actions through robots and drones, thous avoiding the moral responsibility. Horror.

Comment a mirror of stack overflow users, nothing else (Score 2, Insightful) 185

"Suprisingly, JavaScript turned out to be the most 'over-represented' language on StackOverflow, [...]
Could this also be because programming JavaScript is generally quite difficult and will result in people seeking help more often?

I think that JavaScript is also used by people that do not understand it very well, and they are more likely to resort to the kind of help that this website provides.

Following this was C# (which I had expected to be number 1), at 153%. After this, PHP, Ruby and Python were basically fairly balanced at around 100%. The most 'under-represented' major language would definitely be C at 11%.

I am a C programmer and do not need help from this "stack overflow" web site.
My references are the C programming language standards and the single UNIX specification.

Comment duckduckgo (Score 1) 397

I am giving duckduckgo a try, they seem to be better at giving you the results for what you actually typed in.
They also say (who knows if that's true), that they do not track searches, and do not keep records.

I had it as the default search engine in firefox for about a week now, it seems to work fine.

A couple searches did not give me the result I was looking for, so I used the feedback link, and they got in touch with me very quickly, and they fixed the problem (as it turns out, there was a wrong link on wikipedia which they valued too much).

Comment 404 Not found for most of the links on (Score 1) 94

sh-3.1$ wget
--2011-10-06 12:41:23--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-10-06 12:41:23 ERROR 404: Not Found.

Comment Re:Definitely slowed ... (Score 1) 148

Moore's law is about transistors, and no, the 3 year old cpu is not "the samesame as today".
But the experienced performance gains now are much slower, and much more workload-dependent than back in the day.

And back in the day, more MhZ _was_ the (main) way to increase processor performance.
You could feel the incredible yet predictable pace at which that happened, and suddently you had to upgrade, since the 3 year old cpu could not keep up with newer software anymore. This is less the case today.

Comment Re:doubt it (Score 1) 148

Yes, GEM was also included with my Amstrad PC-1512 here in Italy.
The PC also came with MS-DOS 3.20.

Both GEM and Windows were completely useless at the time, as there were no useful apps (=games and programming tools).

The Amstrad 1512 also had a special graphics mode, 640x200x16 colors that was not compatible with any of the graphic standards of the time [Hercules, TGA (Tandy), CGA, EGA]. That special graphics mode was supported only by GEM. But it was pointless, since there were no apps. GEM Paint was the only program I remember where I could use the 16 colors on screen that were advertised in the magazine-ads.

At the time, I looked up at the Amstrad 1640 as the "perfect" computer, with 640K RAM and an EGA adapter (this time, 16 colors on screen _for real!_).

Good times...

Comment TFA: a rebuttal (Score 1) 594

Did Ken, Dennis, and Brian choose wrong with NUL-terminated text strings?

The author of TFA does not like that choice for the C system programming language.
But tries to demonstrate that it is an objectively "wrong" choice with weak and plain false arguments.

The hardware development cost argument is weak. The fastest CPUs around have a very rich instruction set. It maybe hacky and ugly but where is the evidence of a noticeable burden on CPU performance or cost due to the additional instructions to handle 0 in the input? And they are pretty handy instructions anyway.

The compiler argument is uninformed about how compilers work, and are permitted to work by the C standard. There is simply nothing there.

The gets(3) argument does not have anything to do with the NUL-terminated strings.
It has to do with the fact that gets is for most uses a broken API that should seldom if ever be used.

The FreeBSD libc bcopy/memcpy argument is plain false.
If the program is correct C, there is no "unwarranted page not present" fault.
One can do mistakes by mixing memcpy and C Strings if one is not careful, but it's exactly the same with any attempt to read past the end of an array.
If the confused author is trying to copy C Strings around, he can use the C String functions.

TFA speaks more about the ignorance of the author than the value of the NUL-terminated string choice for the C programming langugage, which can still be debated, but not on these grounds.

Comment Flash gaming for Linux is Opera-only now (Score 1) 188

Lets see if they fixed flash gaming.
Currently the only browser for Linux where flash gaming still works is Opera.
firefox broke it in the name of "integration" with the new flash API (firefox 4 + flash 10.3),
by putting every local state together in the same "cookie" setting, thereby
_destroying every flash saved game during my upgrade from firefox 3.x to firefox 4_.
The same insanity was in google chrome, so lets see if they did it right this time
(ie separating web cookies from flash local shared objects, and providing different settings for both

nope, it's still broken. Also, the "cookie exception" patterns do not help much since there is no way to remove all cookies at the end of the session for everything BUT a certain domain.

So flash gaming for Linux is on Opera only now. Lets hope the Opera guys don't copy this horrid "feature" from chrome/firefox.

Slashdot Top Deals

Avoid strange women and temporary variables.