Domain: helsinki.fi
Stories and comments across the archive that link to helsinki.fi.
Comments · 190
-
Re:It can work
Including all the source code into one main file compiled to one object can work, if the source files cooperate. C can have problems with the namespace, but C++ allows multiple namespaces and you can even put the namespace blocks in the main file around the #includes.
Surely you're joking? Do you actually fail to understand how broken such a behavior would be? Consider the relatively trivial case of a #included file which contained two namespaces, and attempted to reference one another through uses clauses. This is a blatant CFAD behavior.
The source code has to support this, though.
This sentence alone is enough warning that any experienced programmer would be cluebulbing right now.
C can have problems with the namespace
C doesn't offer namespaces.
I've done this on lots of projects and it works great.
Er. Then you had just as many massive coupling problems as the original author appears to. #including source is the wrongest of the novice linking mistakes, and whereas that's a total zealot thing to say, I don't care, because it's also true. You would do well to read up on the basics before giving out any more bad advice.
or an appeal to tradition
Actually, many of the posts have been about how easy it is to introduce errors this way (such as your namespace abomination above.) That said, the reason most of the posts are about speed is because the poster was asking about speed. "Hey, this car magazine talks about cars too much."
Modern compilers will create pre-compiled headers that can include code, usually used for template and inline definitions
Templates aren't code, and inlined code doesn't go into precompiled headers (in fact it cannot, for obvious reasons.)
Actually, even larger projects seem to take longer to link with iostream and windows.h than the source does to compile.
Linking should be virtually instantaneous; it's a question of copying a tiny bit of binary code and setting a pointer at the beginning of a vtbl. If your linking of iostreams or windows.h is taking a visible amount of time, then there's something very wrong with your compiler, or you're making some bizarre mistake which I've never seen (given what you said above, that doesn't seem terribly unlikely.)
Too much inlining will cause code bloat, but the compiler's options should give you control over the balance.
If you had read the standard, then you would know that inline is a hint, not a requirement, much like register. In fact, the language specifies that the programmer cannot control inlining, and that inlining is totally the compiler's decision. If your compiler listens to you, that's because it's being nice, not because you told it to.
Modern compilers also allow you to change the compilation options mid-file.
No they most certainly do not. I suspect you're referring to #pragmas within the source; a real C programmer knows that #pragmas are not C, but rather an explicit backdoor introduced by ISO during standardization. The focus of C and C++ was originally and remains to this day that of portability; #pragma is the work of the devil and should never, ever occur in code. This should begin to give you minor cluebulb about why real programmers are frustrated with MSVC; see also _tmain, main(int, char*, char*), void main(), et cetera.
Any debugger or source analyzer shouldn't have problems handling inline or same-file implementations, or you're using bad tools.
Debuggers and source analyzers do not act on the precompiled source. Rather they act on inserted tokens in the binary, which are given references to source locations. By definition a debugger cannot be affected by inclusion. You seem not to understand many of the tools which you are attempting to discuss.
It can also be easier -
Quick!
-
Re:great news
not sure about 'bsd socket support' but socket support is in other s60 phones as well.
as for the gnubox.. tried to do it with these instructions yet? http://www.cs.helsinki.fi/u/mraento/symbian/bt-ap. html
-
no more anonymous posting for meSlashdot declares victory over GNAA Pater - Associated Press Michigan, Detroit Office
Slashdot, a prominent news web log claiming to be News for Nerds, Stuff that Matters has claimed victory over the Gay Nigger Association of America (GNAA).
With GNAA's trolls resorting to stale material which was relevant for five minutes about three months ago and enabling anyone to cut and paste a press release using the Open Source philosophy has led to GNAA's demise. Netcraft confirms it.
GNAA's founder timecop was seen locking up the headquarters one last time. An unassuming outdoor mens room deep in the heart of Tennessee was once host to numerous sessions of blowjobs, anal and creampies attended only by homosexual African-Americans. I reckon I jest likes fuckin' girls. White girls. [note broken link] was the only statement given to the press at this time. Former lovers and Windows users Lysol and Roloffle were found standing at half-mast upon the sad but inevitable occasion.
Robert W. Malda shared his feelings regarding the event. Oog the Caveman (a pioneer of ALL CAPS == TEH FNY), The Glorious Meept, Trollaxor, The Turd Report, WIPO Troll, Recipe Troll even goatse had something to contribute to our forums. GNAA is populated solely by crybaby attention whores who wouldn't know a rpm if it bit them on their tender, velvety asshole which is barely covered by a fine mist of downy, pre-pubescent hairs. After a brief reverie Mr. Malda conceded At least GNAA uses valid xHTML instead of dicey HTML 3.2
About GNAA: GNAA (GAY NIGGER ASSOCIATION OF AMERICA) was a troll organization known for its cut and paste style of trolls which are written once every six months. It was founded in July 2001 by timecop, found its heyday with ROR JEWS DID WTC and slowly faded into the background radiation. Its namesake, a Danish humor movie, is freely available via BitTorrent.
About Slashdot:
Slashdot is the first website dedicated entirely to duplicate articles, groupthink and brilliant trolls. Under the aegis of News for Nerds, Stuff that Matters and its connections with Open Source Lobbyists has ensured its continued presence on teh intorweb.Do you have an Email address ? Do you have a computer ? If you answered Yes to all of the above questions, then Slashdot is exactly what you've been looking for! Join Slashdot today, and enjoy all the benefits of being a full-time Slashdot member. Why not? It's quick and easy - only 3 simple steps!
- First, you have to obtain a copy of Linux and attempt to install it. You can download the operating system using BitTorrent.
- Second, you need to succeed in First Post on slashdot.org, our website.
- Third, you need to join the official S
-
Re:Sonic hedgehog is essential to foregut developm
There's actually an interesting web site which keeps a database of interesting gene names. There's genes like ken and barbie (for drosophila lacking genitalia), maggie (for where development seems to stop, like in certain simpsons characters), tribbles (dividing uncontrollably), and tigger (constant jumping).
-
I Fail It!Slashdot declares victory over GNAA
Pater - Associated Press Michigan, Detroit OfficeSlashdot, a prominent news web log claiming to be "News for Nerds, Stuff that Matters" has claimed victory over the Gay Nigger Association of America (GNAA).
With GNAA's trolls resorting to stale material which was relevant for five minutes about three months ago and enabling anyone to "cut and paste" a press release using the Open Source philosophy has led to GNAA's demise. Netcraft confirms it.
GNAA's founder timecop was seen locking up the headquarters one last time. An unassuming outdoor mens room deep in the heart of Tennessee was once host to numerous sessions of blowjobs, anal and creampies attended only by homosexual African-Americans. "I reckon I jest likes fuckin' girls. White girls. [note broken link]" was the only statement given to the press at this time. Former lovers and Windows users Lysol and Roloffle were found standing at "half-mast" upon the sad but inevitable occasion.
Robert W. Malda shared his feelings regarding the event. "Oog the Caveman (a pioneer of ALL CAPS == TEH FNY), The Glorious Meept, Trollaxor, The Turd Report, WIPO Troll, Recipe Troll even goatse had something to contribute to our forums. GNAA is populated solely by crybaby attention whores who wouldn't know a rpm if it bit them on their tender, velvety asshole which is barely covered by a fine mist of downy, pre-pubescent hairs." After a brief reverie Mr. Malda conceded "At least GNAA uses valid xHTML instead of dicey HTML 3.2"
About GNAA:
GNAA (GAY NIGGER ASSOCIATION OF AMERICA) was a troll organization known for its "cut and paste" style of trolls which are written once every six months. It was founded in July 2001 by timecop, found its heyday with "ROR JEWS DID WTC" and slowly faded into the background radiation. Its namesake, a Danish humor movie, is freely available via BitTorrent.
About Slashdot:
Slashdot is the first website dedicated entirely to duplicate articles, groupthink and brilliant trolls. Under the aegis of "News for Nerds, Stuff that Matters" and its connections with Open Source Lobbyists has ensured its continued presence on "teh intorweb".
Do you have an Email address? ?
Do you have a computer ?
If you answered "Yes" to all of the above questions, then Slashdotis exactly what you've been looking for!
Join Slashdot today, and enjoy all the benefits of being a full-time Slashdot member.
Why not? It's quick and easy - only 3 simple steps!- First, you have to obtain a copy of Linux and attempt to install it. You can download the operating system using BitTorrent.
- Second, you need to succeed in First Post on
-
TheDraw
For those who created real ASCII art back in the days of the BBS, there exists a GPL clone of TheDraw to bring back memories (and maybe dust your 5.25" floppies) called DuhDraw. Those were the good old times, as anybody remembering ANSI music will tell.
Feel ready to own one or many Tux Stickers? -
Re:Passive cooling == silence
Check out this passive cooling system:
http://www.helsinki.fi/~tptkarkk/
No fans at all. Not even a power supply fan.
Here's more pictures:
http://www.epiacenter.de/modules.php?name=Content& pa=showpage&pid=51&page=3 -
Re:Linus CAN dance!
I still think that Steve's sweaty arm pits are far more deadly than Linus' sword.
-
Linus CAN dance!
-
Linus CAN dance!
-
Linus CAN dance!
-
Re: I'll bet...
Linus accepting a job at SCO: 1,000,000:1
-
QM
Quantum chemistry is my field, and we are some of the few who actually study biochemical systems with it.
Unfortunately, I can't really say much about long-range effects myself; The number of atoms which can practically be modelled at the same time is about 100. (that's one-hundred! Not much!)
I'd say possibly the most important QM effect strucurally in enzymes is pi-stacking and pi-cation interactions. It's not something which can be modelled well by a point charge.
(And what is worse, not all QM methods can model it either; DFT is infamous for not predicting pi-stacking or VdW effects)
Another significant thing which only QM can really model is transition-metal complexes. The coordination is very difficult to predict offhand. (Field splitting, spin states, spin interactions, Jahn-Teller effect, etc, etc..)
Just the other month, Science had some interesting results, including a completeley unprecedented mode of binding for nitric oxide to copper in nitrite reductase.
Our area is the study of the catalytic functions of metalloenzyme active sites. Again, this is not something which is easily predictable.
(Like, look at Cytochrome c Oxidase.. The function was determined in 1977, X-ray crystal structures have been known for over a decade. The mechanism of proton-pumping is still unknown. (And there's lots of notable people studying it.) -
Re:US Army
It is better to be thought a fool than to open your mouth and remove all doubt. -Winston Churchill
Are you sure that isn't Mark Twain or Proverbs 17:28? -
It does not work.
It only worked with the very first versions of WMP 7 for W9x/2k (when the MSDRM v2 first appeared), but MS soon patched it, and the patch was bundled with a security update.
And yes, I've tested it myself, back in 2002. I no longer have any machines running Windows, but i still have this screenshot, taken from WMP8.
As you can see, the DRM terms of the files were pretty draconian - one could not even back up licenses. As a result, when I was forced to re-installed Windows, the files were rendered unusable (as the licenses were lost). I still have them analogically re-recorded, but for my ears at least, the quality is not the same.
For anyone interested, the files were downloadable for those, who had purchased a limited edition of Nightwish album called Century Child. They included their old demo songs, which have never been published anywhere else. -
Re:Pine Problems and AlternativesBut Debian does ship a tracker that lets you fetch/patch/and/build pine from source.
See pine-tracker : "
apt-get install pine-tracker
"
...
# apt-get --only-source build-dep pine
# apt-get --only-source -b source pine
Then use dpkg -i to install the generated debian packages. -
Re:Imagine that, another inflammatory Forbes story
I like the sentence about Linux an being imitation (of Windows)
Really? I remember this guy in comp.os.minix saying "I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." He really hinted heavily that he was imitating Unix. But what would the hobbyist in question know about Linux anyway? -
Re:What happened to the naming convetion?
I thought planets were Roman gods. It's not even like we've run out of them.
run internet search for "asteroid" and names, that you are suggesting.
Vesta, Juno, Diana are asteroids.
P.S. There is bunch of satelites too.
-
Re:Well,
Duracell has a bunny too
-
Re:Care?
uh oh. This could be confusing, as well as OT.
Back on topic; many apps don't need P4's or AMD64 or PPC type horsepower. (I say apps as in embedded usage, not as in mozilla) -
Re:I use Xandros 2.0
ah..wait, they're all made in Santa Cruz, California these days....
That is some damn outdated version of their history. Their present name is just SCO, their HQ is nowadays located in Utah and their Nasdaq ID has changed from SCOC to SCOX.
The answer to your other question is that of course, there are, but as one with deep knowledge in this subject has taught me in my school, I think the distros made in Finland are far superior to those, which are not. :)
(Just kidding - actually Linus left the school about a year before I entered it, and besides my primary box (my laptop) runs Mac OS X aka BSD, although I have another box, too, which runs Linux.) -
Re:I use Xandros 2.0
ah..wait, they're all made in Santa Cruz, California these days....
That is some damn outdated version of their history. Their present name is just SCO, their HQ is nowadays located in Utah and their Nasdaq ID has changed from SCOC to SCOX.
The answer to your other question is that of course, there are, but as one with deep knowledge in this subject has taught me in my school, I think the distros made in Finland are far superior to those, which are not. :)
(Just kidding - actually Linus left the school about a year before I entered it, and besides my primary box (my laptop) runs Mac OS X aka BSD, although I have another box, too, which runs Linux.) -
Here
-
Re:All flash calcs have this abilityWriting your own operating system is quite possibly the hardest thing that a programmer can do. On the computer, it's unmanageable because of complexity...
You'd better tell this guy. My advice? Let him down gently.
-
Why use a GA?In general, the literature suggests that GAs tend to be a kind of 'jack of all trades, master of none' type approach. See, e.g., Russell & Norvig's AI: A Modern Approach textbook.
As such, is there any justification for using a GA to do this rather than, say, simulated annealing? I'd would be interested to see a comparison of the two approaches. Especially in light of papers like this one.
-
The "Gaul"?
-
Re:Alright....
make sure he brings Tove, since she could probly kick all our asses.
definitely...... -
Re:University of Finland?
Professor Ilkka Hanski is from the Department of Ecology and Systematics of University of Helsinki.
-
Never!
-
Re:If this is what Linux gets, I'll stick to Windo
Hm. Not quite. That would be the mother "puolisonsa" of Tove Torvalds, I guess. Of course I don't speak Finnish. She's a bit younger
-
Re:Oh no, Karate! I'M SCARED!!!!!!
Maybe so. But she's still a fucking ugly dumbass who married a geek with a stupid name. So fuck you, and fuck "Tove" as well.
You know, I honestly doubt whoever wrote this has even seen Linus' wife. In truth, she does not appear in many photographs, so I had not seen her either. I always imagined her as a svelte ninja goddess.
Curious, I did a little Google research, and my personal conclusion is that there do not appear to be any glamour photos made of Tove (whereas there are many carefully grommed Linus images) and many of the pictures of her are bad. I don't think she is ugly, but some of the pictures are badly taken, on bad hair days, or somesuch.
Then again, you can judge for yourself, eh?.
Personally, I think she looks just fine. And if she makes Linus happy, that is all that matters, right? That makes her beautiful to me.
-
Re:Oh no, Karate! I'M SCARED!!!!!!
Maybe so. But she's still a fucking ugly dumbass who married a geek with a stupid name. So fuck you, and fuck "Tove" as well.
You know, I honestly doubt whoever wrote this has even seen Linus' wife. In truth, she does not appear in many photographs, so I had not seen her either. I always imagined her as a svelte ninja goddess.
Curious, I did a little Google research, and my personal conclusion is that there do not appear to be any glamour photos made of Tove (whereas there are many carefully grommed Linus images) and many of the pictures of her are bad. I don't think she is ugly, but some of the pictures are badly taken, on bad hair days, or somesuch.
Then again, you can judge for yourself, eh?.
Personally, I think she looks just fine. And if she makes Linus happy, that is all that matters, right? That makes her beautiful to me.
-
Re:Probably fake but . . .
-
Damn Russians...
...nothing is enough for them!
First, they conquered 10% of our territory during WWII, as they wouldn't have had enough already. Now, they're hijacking our uni department, too!
Couldn't they just go and download some MS stuff from KaZaa? -
gperiodicSomeone better get a-codin' an' a-patchin'
gperiodic is a very cool little program.
-
Re:6 pages?!
I really don't think this is such a big deal. OSes are started to specify the proper GiB instead of GB, so there shouldn't be a problem anymore.
Afaik Linux has been linux this for a while, then again I'm not a kernel hacker so Here's the thread, it can probably explain better then I can.
Just a side note: ESR strikes again (read that post ;) ) -
Re:Sendmail port 587?
% grep 587
http://www.ling.helsinki.fi/~reriksso/unix/award. /etc/services
submission 587/tcp
submission 587/udp
% grep sendmail_submit /etc/defaults/rc.conf
sendmail_submit_enable="YES " # Start a localhost-only MTA for mail submission
sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"h tml -
Re:Imagine if copyright were abolished.
No one would write software anymore. Oh, except for the part-time hobbyists who do these things for fun and don't really have any motivation for doing the best job they possibly can because no one is getting paid for anything.
You seem to underestimate the power of the part-time hobbyist, the quality of the software he started and the power of that software to rock the foundations of the industry which was built on money. -
Some hypermedia classics
I'll be shortly attending a studying seminar with a main theme revolving around hypertext and finding information, and their progress and development from "classics" into the modern World Wide Web.
The seminar homepage has currently only a few links, but they point to the classics, e.g., V. Bush's As we may think and some Xanadu stories. (Seminar homepage text is in Finnish, but links point to articles written in English.)
-
"but you won't need to fsck"
In this note, Hans Reiser clearly states his position: you trade off filesystem metadata performance against data integrity.
Once you realize that this maintains your filesystem structure but turns your files into Swiss cheese (this happened to me several times) you'll switch to ext3 or XFS.
Since reiserfs continuously rebalances the block tree, files that are only open for reading can be trashed by having a block exchanged with the last file written before a crash.
Hans is recklessly pursuing optimization of one aspect of filesystem performance. I honestly believe DARPA should reconsider funding his current track of work. -
Mirror, before the poor blog dies...
Caldera Employee Was Key Linux Kernel Contributor
Christoph Hellwig has been, according to this web page, "in the top-ten list of commits to both the Linux 2.4 and Linux 2.5 tree". The page also mentions another fascinating piece of news, that he worked for Caldera for at least part of the time he was making those kernel contributions:
"After a number of smaller network administration and programming contracts he worked for Caldera's German development subsidiary on various kernel and userlevel aspects of the OpenLinux distribution."
In 2002, he offered a paper on "Linux-ABI: Support for Non-native Applications" which is described like this:
"The Linux-ABI project is a modification to the Linux 2.4 kernel that allows Linux to support binaries compiled for non-Linux operating systems such as SCO OpenServer or Sun Solaris."
Back in 2002, he was described, in connection with his appearance at the Ottawa 2002 Linux Symposium, like this:
"Christoph Hellwig
"Reverse engineering an advanced filesystem
"Christoph Hellwig is employed by Caldera, working on the Linux-ABI binary emulation modules. In his spare time he cares for other parts of the kernel, often involving filesystem-related activities."
So, in short, he was contributing to the kernel and working for Caldera on Linux/UNIX integration at the same time. His work for Caldera was on the Linux kernel ("he worked for Caldera's German development subsidiary on various kernel and userlevel aspects of the OpenLinux distribution"), and he also did work on his own on the kernel. Did Caldera know about his freelance contributions, in addition to knowing about his work for them? What do you think? He used his hch at caldera.de email address when doing it. All contributions to the kernel are publicly available anyway. They certainly could have known. As for his job, his signature on his emails back in 2001 was:
"Christoph Hellwig
Kernel Engineer Unix/Linux Integration
Caldera Deutschland GmbH".
He used the email address hch at bsdonline.org sometimes too, and here you can see some of his Linux-abi contributions. Here are some of his contributions to JFS, Journaled File System. Yes, that JFS. Here he is credited as sysvfs maintainer, and he confirms it in this email, writing, "I've run native sysvfs tools under linux, but as now that I'm Linux sysvfs maintainer I'm looking into implementing free versions of it."
Here is a list of the operating systems that use or can handle the file system sysvfs:
"sysvfs: UNIX System V; SCO, Xenix, Coherent e21
"operating systems that can handle sysvfs: FreeBSD (rw), LINUX (R), SCO (NRWF)"
Here's a page listing by author (alphabetically by first name), with his emails to linux-kernel in June 2003, so he is still contributing.
Here he is listed on the Change log for patch v2.4.17. Here he tells Andrew Morton in 2002 that he will -
Re:stability
Ahh, so because you don't know of any people using it. It dosn't exist ? It's an issue, don't deny it.
No, here's another wow, another It IS a problem and DOES exist.
Not bad hardware. Why can't you accept it ?
-
Risk Probability Calculator
I made a small web application to calculate battle odds for the board game Risk, because there were questions in our game group whether to attack or defend in certain situations. I thought I would share the address, if anyone is interested to see how various battle situations could turn up. The calculator is in the following web address:
http://db.cs.helsinki.fi/t/ipuustin/webrisk/webris k.jsp
Use of the program should be pretty straightforward: user chooses the number of attackers and defenders, checks the rules version and presses the button. The result diagram shows horizontally all possible end-states (the remaining forces in the winner's army) and vertically their probabilities.
The algorithm is exact, meaning that the result is not an approximation and thus does not vary in several battles with the same parameters. The program works in time O(n*m), where n is the number of attackers and m is the number of defenders. The program is made with Java.
All comments are welcome! -
ReiserFS writes garbage but doesn't have to fsckTruth is often stranger than that which we can imagine. To quote Hans:
This is the meaning of metadata journaling: that writes in progress at the time of the crash may write garbage, but you won't need to fsck.
Go ahead and use ReiserFS on data you care about: I dare you. ... If you cannot accept those terms of service, you might use ext3 with data journaling on, but then your performance will be far worse. It is a tradeoff, not a bug. -
Re:hehe.. sorta
There are tricks around this problem but none are clean.
You mean like
reference counting? Makes copying large objects efficient and you should be using something like the handle-body idiom anyway (because of certain stupidities of the C++ language and its implementations). -
Re:hehe.. sorta
There are tricks around this problem but none are clean.
You mean like
reference counting? Makes copying large objects efficient and you should be using something like the handle-body idiom anyway (because of certain stupidities of the C++ language and its implementations). -
Re:There's also the fact
that Stephenson has submitted a bug to Debian. (Read his In the Beginning Was the Command Line, it's excellent.) A skilled novelist who also participates in the open source process?
That gets him the same free pass that /. gives out to Linus Torvalds and Larry Wall. :-)
I don't know. Neal is excellent as a writer (except when writing endings for his novels; his article about the people who lay fiber-optic cable across oceans is one of the most interesting that Wired has ever published) but I don't consider this to be an even grouping:
Linus : Father of Linux.
Larry : Father of Perl.
Neal : Father of Debian bug report #...
-
Smoking Gun ...
Here you will find the pdf of the Linux Kernel Internals, authored by Tigran Aivazian (tigran@veritas.com). Now, he has been submitting patches to the kernel for a long time.
He submitted patches for (among others)
Microcode updates
iBCS patches
kgdb patches
Linux Implementation of SCO UnixWare BFS
and I'm sure a lot more, across a wide range of kernel versions (2.2/2.3/2.4 ...)
Why does this matter? Well his email used to be tigran@ocston.org. odd domain name, try reversing it.search and look at the first two results, then look here for more info about the first entry.
Before that his email was tigran@sco.org, but he
got a little paranoid
about it.
Searching google brings up patches supplied by him throughout the whole development cycle of 2.3/2.4 and more. He is directly connected to the author of the LKP on SCO Unix, draw your own conclusions here.
-
Re:Statistical encodersI agree. Although the claims attributed to FEAD still sound much too good to be true on average, data compression has improved in the past decade or so with techniques like Prediction by Partial Match with unbuonded length, made more practical by Esko Ukkonen's algorithm (published in the early 90's) for constructing suffix trees in linear time and linear space, making it much easier to find repeating substrings, and the Burrows-Wheeler transformation (discovered in the 80's, published in the early 90's).
I'm not an algorithms expert, so I'll not try to explain the jargon in the preceding paragraph. Instead, I'll just cop out and say that now you know what terms feed a search engine. I will, however, provide this link to bwtzip an experimental compressor covered by the GNU General Public License that uses the Burrows-Wheeler transformation, and this link page, mostly about suffix trees.
I wish I could find it, but I recently read a paper that showed a pretty impressive comparison between some compressor that used a Prediction by Partial Match variant and arithmetic coding (probably not truely free, due to software patents on arithmetic coding) versus gzip and some other compressors.