|
Are there any performance implications in using C++ vs. C ? In theory, the two languages should be equivalent. Object-orientedness is after all just a syntactic sugar on the top of procedural language, making the code more understandable to the human brain which seems to have evolved natural ability to deal with objects at the expense of dealing with entities such as flows, relations etc. Though they share similar syntax and semantics, are C and C++ fundamentally different languages?
|
|
|
|
|
This website is here to guide you through the process of developing very basic operating systems on the Raspberry Pi! This course takes you through the basics of operating systems development in assembly code. I have tried not to assume any prior knowledge of operating systems development or assembly code. It may be helpful to have some programming experience, but the course should be accessible without. This course is divided into a series of 'lessons' designed to be taken in order as below. Each 'lesson' includes some theory, and also a practical exercise, complete with a full answer. Build a Computer from Scratch 101
|
|
|
|
|
One of Common Lisp’s more advanced features is its condition handling system, which is a powerful generalisation of other languages’ exception handling systems. I first became aware of condition handling from Peter Seibel’s Practical Common Lisp, chapter 19. But if I’m honest I’ve only very recently understood what it meant; it seems to assume a higher proficiency with Lisp, and I find the S-expressive examples more of a hindrance than a help. Sorry, Lispers. So instead I’m going to walk through condition handling, with a more thorough explanation of the rationale, and with pseudo-Python examples. ...or "The Trouble with Exceptions."
|
|
|
|
|
Here comes a harsh fact of life: game programming requires mathematics. One could say that programming IS, in a way, math, but you don’t really need to know math to write the vast majority of programs. Games, however, very often rely on mathematics. If you want objects to move across your world realistically, or if you want to draw things on the screen following certain geometric patterns, or if you want to check for collision between certain shapes, you need math. But don’t despair! Even though I say “math”, what you ACTUALLY need is geometry. Luckily for us, geometry is probably the easiest part of mathematics! Sine of the times: a great multi-part series on math and game programming.
|
|
|
|
|
I would not say that programming is, in any way, math. I would say that it uses maths, but never math.
|
|
|
|
|
Lots of new Windows 8 and Windows RT machines were on show at IFA in Berlin this week, many of them being given their first outing in public. Clamshell keyboard docks adorned many of the tablets. These keyboard docks typically included extra ports and extra batteries, and most importantly of all, a hinge, so the screen could be positioned at any angle relative to the keyboard, and so that you can shut them up and use them like laptops. You could call them tablets with keyboard docks, but you'd be forgiven for calling them laptops with tear-off screens. A netbook by any other name would be a Surface tablet.
|
|
|
|
|
I've been switching back and forth between Windows and Linux frequently these days, and it's given me a chance to think more deeply about what it means to be user-friendly, and whether that is the most useful way to consider the user experience. There is a sense in which Windows is more user-friendly than Linux, and a sense in which it is not — and both convey useful information. The metaphor of "friendliness" obscures the kinship between them, however; I prefer the idea of "hospitality". The nice thing about *nix systems is that, in many ways, it doesn't change much from release to release.
|
|
|
|
|
A few years ago there came into my possession a curious piece of IBM history, a thin paperback volume of 54 pages, privately printed, entitled “Songs of the IBM, 1937 Edition”. The opening page lays out the context: For thirty-seven years, the gatherings and conventions of our IBM workers have expressed in happy songs the fine spirit of loyal cooperation of good fellowship which has promoted the signal success of our great IBM Corporation in its truly International Service for the betterment of business and benefit to mankind. Back in eighteen eighty-eight, we began to tabulate...
|
|
|
|
|
The Gothic craftsman was not satisfied with the abstract, symmetrical look of Byzantine ornament. He broke the symmetry and introduced an element of realism. The leaves curved, but they were kept restrained, lest the style go over the top. The Renaissance craftsman in turn became bored with the Gothic and began to push for more style. His love of curves took over and the leaves began to curl into balls. The leaf that was once lean and strong is now a mass of curves, flamboyant and bloated. It exhibits luxuriance and style but loses its vitality in the process. If you replace the descender of a letter for the leaf, you have much the same critique in what Morris had to say about typeface design as Ruskin did about the degeneration of Gothic ornament during the Renaissance. The lean stroke shows strength and vitality. William Morris and the critique of modern typefaces.
|
|
|
|
|
Multi-Armed Bandit is hardly software-exclusive; clinical trials, supply chain management, and political science all grapple with it, amongst many, many others.) It's basically the probabilistic abstraction of trying to make data-driven decisions, balancing two goals: exploration (furthering your knowledge of the given possibilities) and exploitation (taking advantage of what you know.) In this post, we're going to simulate various elementary approaches to MAB in Python. It should be noted, as a huge caveat, that these aren't exactly super-duper approaches; this is meant as an introduction to the two simplest ways to tackle this problem. Pull a lever, win a prize (maybe... here's how you'll know).
|
|
|
|
|
|
Loknath Bharti wrote: A writing hinting on Microsoft's dirty product, and business practices as well as an alternative to Windows
Psst.. you forgot to include a link to the article
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
One more MS/Window hater. Read article referenced in the post 2 days ago
What Killed the Linux Desktop[^].
Just because you program windows doesn't mean you MS puppet or somehow promote MS ideology. It's just work
|
|
|
|
|
gstolarov wrote: One more MS/Window hater.
|
|
|
|
|
In all that whining, they fail to mention a single reason why MS is so bad, or why other OS's are so much better. (And honestly, I don't think that belongs in this forum, it's not news of any kind, it's just some blogger's opinion.)
|
|
|
|
|
Oh, so <i<this< i=""> will be the year of the linux desktop? I'm all giddy with excitement!
|
|
|
|
|
WOOOOOHOOOOOO!
Time to kill all the windows computers in the company and put Linux on them! Linux Time!
NO IT IS NOT.
Don't misundestand me:
I have one linux server and I'm glad of it.
I have plenty of windows computers and I'm glad of them.
A blogger opinion won't change those two facts.
I've just noticed it! you are the writter (blogger)... aaawwww so cute... so you say that codeproject is promoting Microsoft due they receive payments and all, and you post it here, and... oh well,...
Microsoft is not an illness, curse... it is a company which is making a set of products. If you don't like them, don't buy them.
End of story.
|
|
|
|
|
Joan Murt wrote: Microsoft is not an illness, curse... it is a company which is making a set of
products. If you don't like them, don't buy them.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Well, that's one of the most arse wateringly waste of time blogs I have ever had the misfortune to read. Until Linux ships pre installed and pre configured on desktop computers it won't make much impact in the corporate world for desktop applications.
|
|
|
|
|
Pete O'Hanlon wrote: it won't make much impact in the corporate world for desktop applications.
Don't forget centralized administration & full support for features like LDAP. Those are critical in any modern IT shop.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Posting links to your own blog is not a good idea.
|
|
|
|
|
|
_beauw_ wrote: I've never understood why this site has become (and has allowed itself to become) associated so strongly with Microsoft. All I can figure is that a few vocal participants here have pulled the site in that direction. This trend seems to have become even stronger since WPF came out. Code Project embraced that ill-fated technology with open arms, along with all of the dubious promises and bad architectural arguments that accompanied it.
I see you are new here
http://web.archive.org/web/200102011506/http://codeproject.com/[^]
|
|
|
|
|