|
enhzflep wrote: If you've a better example, applicable to a larger audience I'm all ears.
Why should I be providing better examples, when I'm the one who's befuddled by a claim that Windows doesn't have "real" multi-user support? It's not up to me to prove somebody else's point.
enhzflep wrote: Yes - I've saved a machine more than once by nuking the account that had installed incompatible and unstable libraries.
Sounds drastic. What happened, a user installed an app that changed system libraries that affected OS stability?
|
|
|
|
|
it works pretty much but the same, but linux is free and you can compile it yourself!
For some it's daunting.. For some it's like... I just made my freaking OS, I'm a genius! sky is the limit!
Apart from that it can make sense from device manufacturer point of view, why pay for windows when your device will work just as well on linux...
|
|
|
|
|
Super Lloyd wrote: your device will work just as well on linux After you have spent the past week searching for a video fdriver that actually works.
Yes, I know that does not happen so much now, but you do need to be more than reasonably computer literate to build and install it.
|
|
|
|
|
You misunderstood me.
Your device (as in you, Richard MacCutchan) won't work as well.
But CompanyX deviceY with customized linux (by companyX to manage deviceY) will work just as well. Though they will have to spend R&D tailoring the linux distor, it might be less that writing a Windows driver + buying the Windows license for each device.
|
|
|
|
|
No I didn't misunderstand. I worked extensively on Linux systems in the last few years of my professional career, and know from first-hand experience some of the difficulties associated with adding third-party devices to the system.
|
|
|
|
|
OK, ok, I feel your pain!
|
|
|
|
|
The pain stopped as soon as the company decided they no longer needed my services.
|
|
|
|
|
Super Lloyd wrote: For some it's like...I just made my freaking OS, I'm a genius!
No they didn't and no they're not, unless of course they coded it themselves. It just proves they are masochists
|
|
|
|
|
So what's your point?
You tell them! I don't care and I know!
|
|
|
|
|
There is no market for Linux. Fat rich clients want Windows and Windows Server.
|
|
|
|
|
So how does RedHat make their money then? With a printer perhaps?
|
|
|
|
|
|
Is there supposed to be a point to your link?
I asked you how RedHat makes its money and you link me to a site that gives a market share report for desktop browsers.
Perhaps you copy/pasted the wrong address?
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon
|
|
|
|
|
Vaclav_Sal wrote: Where can I get a "real scoop" on HOW Linux architecture / operation etc differs from WIndowze?
Windows: Apps that you download just work.
*Nix: Apps that you download won't work unless you compile them for your machine, but first you'll have to sudo apt-update to get the latest stuff for your operating system, then download all the new dependencies for the software you want to install, then cross your fingers and toes and dick and pray that the code compiles, and if you're really lucky, then you can run the app.
That's the difference.
Marc
|
|
|
|
|
You are likely confusing the OS with the UI.
|
|
|
|
|
From the kernel perspective the two operating systems are remarkably similar.
From user mode they are more different, thought I don't know enough about Linux user mode to really comment, but the 'everything is a file' mentality on Linux seems to be the dominant one. So the entire structure of say the device tree is file based.
At a philosophical level Linux is more pragmatic, windows more idealistic, so while you might admire the structure of the windows OS, Linux is more obvious, and easier to work with.
|
|
|
|
|
OK, some of the other answers are the typical: "Let me try and sell you on my favourite" ... but that's not what you asked for is it? Well, let's look at the exact scenario you're referring to: Event loops (at least as I understand it the interactive message loops like in a GUI). In both Win&Lin the basic idea is similar (for that matter pretty much the same thing in UNIX and OSX too), the program/process awaits some message sent from the kernel to indicate that something happened. Both (and basically all mainstream) OSs are event driven in that they read "events" from some IO process and then pass them on to whatever processes are waiting for them.
It's just in the details where this differs. E.g. in Windows the process must call the GetMessage function, which simply blocks until a message has been received, at which time it sends that to the process and the process continues with its internal loop. In Linux you'd most basically attach in a similar manner to any one of the XWindows Library's XNextEvent set of functions (depending on exactly what type of "event" you're expecting).
Though note, mostly (at least these days) you'd not go into that sort of detail. E.g. some of the GUI frameworks would abstract away this "looping and waiting" idea by you simply attaching any of your process' functions to an event opened by that framework/toolkit. It would then (behind the scenes) perform the message loop and call your function if the event it is attached to compares to the current message. This pretty much happens in all newer GUI frameworks, both Windows (e.g. with DotNet's WinForms/WPF) as well as Linux (e.g. GTK).
Actually this is one of the notable exceptions from the usual idea of Unix (and derivatives): Everything is a "file" and can be accessed as if you're reading/writing a file. E.g. do some searching about POSIX's select and pselect calls (or perhaps reading per byte from select and then writing that into a pipe which is then read by another thread in your program as a file). At least if you're going to go into the very kernel-level message handling, usually though you'd not need to go that far for basic server/desktop programs. BTW, if you use GTK+ as your GUI toolkit you're basically just opening a "file" to show that your program is interested in "that event" - thus your loop reads the file for any new data (basically same principle as Windows' GetMessage call).
Well, that's a very long discussion on something rather trivial, not to mention usually not even necessary to think about (at least not when using some toolkits). I'd highly recommend you do some serious web searching / research on the exact things you're interested in. You could probably do an honours degree on just the basic differences between Win and Lin (especially if comparing such in this level of nuance).
|
|
|
|
|
Thank you,
pretty nice explanations. I'll do some more reading on the subject.
My main concern is how applications developed in and for Windows ( Atmels Studio "based " on Visual Studio) will work in Linux.
But I need to hit the books first.
Thanks
Vaclav
|
|
|
|
|
Usually a specific program is designed to work through the libraries & entry points of a specific OS. Atmel is an IDE with a copy of the GCC compiler to compile C/C++ sources. The main issue would be the interface (i.e. GUI) which is probably some sort of WinForms interaction, this tends to be the biggest headache: how to get the GUI to work on another OS which doesn't have those same libraries / entry points. Usually if it's just a CLI tool it's a lot easier - at worst just a re-compile with minor tweaks for stuff such as default paths and CLI argument formatting.
However, Atmel does seem to have a toolchain specifically compiled for Linux: http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx[^]. Though it doesn't seem to include the GUI portions - i.e. it might only be command-line tools and you'd then use some external editor to actually write your source code.
However, you may just be in luck. There's two possibilities you could try: (1) through WINE (which basically adds those same libraries & entry points onto Linux, at least to the extent where the guys from Wine could figure out just what and how Microsoft did); or (2) if the editor is written for DotNet (e.g. C#) you could possibly run it through Mono (at least if it's written to use WinForms instead of WPF).
Sorry, I've never used Atmels before - can't say much about it myself.
|
|
|
|
|
You're already a fanboi, given your consistent misspelling of 'Windows'. Go figure it out yourself, and leave the grownups here alone.
Software Zen: delete this;
|
|
|
|
|
Some times I'm not coding. (Really it does happen!) I just want to watch a couple of cat videos and check my email. I've done that in Linux and Windows, sort of so what there. There was not a huge difference in the experience. At work I have to code C# on a Windows machine; at home I use Linux to program my Arduino with my Raspberry Pi. It's just about tool for the job. Not being a religious person it doesn't make sense to worship Gates or Torvalds.
|
|
|
|
|
published under the CPOPL, the CodeProject Open Poetic License. Copyleft, Bill Woodruff, 2015
"Okay: just like that Armani in the magazine — your suit's gonna be double-breasted with narrow lapels, real-tortoise-shell buttons, satin liner, no front pocket, sewn-through button-holes, vents at the sides, pleated pants with no back pockets."
"Yes, that's what I want; my new job starts the first of the month."
"Okay, let's talk about the suiting; we have some very light-weight wool-worsteds that you can wear summer through fall — Here, take a look at these samples — "
"How much would two suits with — this one — and this one — be ?"
"That would be about a thousand-dollars for your two suits — of course, keep in mind that includes two-fittings with our master-tailors."
"That's pretty expensive."
"Well, what do you want to pay ?"
"Could I get two suits for five-hundred dollars ?"
"Well, yeah, you could go with a poly-cotton blend in a twill, but that's not going to give you summer-fall wear, that's not going look like Armani."
"Well, do you have something that would give me summer-fall wear, but less than a thousand dollars for two ?"
"You could go with a wool-poly blend — get it down around seven-fifty, but — I gotta tell ya — you're gonna have a suit that rumples easy — you're gonna have a suit that needs pressing every time you wear it — "
"I see."
"Now, if you can go nine-hundred, and we make both suits from the same suiting fabric — see — we can save a little on the cutting there — that's the cheapest way I can see to go with the wool worsted —
Of course, if you're willing to skip the sewn-through button-holes — that's another fifty you save — forget about the pleats, go with a cheaper liner, plastic buttons — another fifty off — now — you're down eight-hundred."
"Wow, eight-hundred's still a long way from five-hundred, and I get only one color !"
"Well, you get what you pay for — you want summer-fall — you want bespoke — it's gonna cost you."
"Aren't there some open-source fabrics that — would be a lot cheaper ?"
"There may be, but we wouldn't use those if they were free — hah !
Open-source wool-worsted ! [laughing] — you gonna get stuff there from some kind of flock of sheep used for genetic experiments turned into wool by a bunch of amateurs !"
"I see."
"Look, you seem like a nice young man, and I'd like to help you out: what if I knocked a hundred-dollars off the thousand, and you get your two suits in the wool-worsted."
"You mean — with the sewn-through — "
"Yeah, yeah — two colors, sewn-through, satin liner, the works."
"That's really kind of you."
"Well, kind-schmind, a young man with a future like you — our customer today — we know you're going to come back to us — this year it's wool-worsted, next year: cashmere."
"I see."
"You gotta credit-card ?"
"Yes, I have a Visa."
"Let's get a deposit right now on the card, and get you measured."
"Could I come back in two days — just need a little time to think this over."
"Sure, you can come back any time, but I gotta be straight with you here: I offered you the two for nine-hundred partly because our cutting-room schedule's pretty open the next few days — now, we gotta pay our master-cutters whether they cut or not — I'm sure you understand that.
Now, if there are a lot of orders come in today, tomorrow, and that schedule fills-up — oh sure — you still get the two for nine-hundred like I said — but, I can't guarantee you get the suits before the first-of-the-month — could be as late as the tenth before they're ready — remember: you gotta have two fittings."
"Could you do it with one fitting ?"
"No, we never only do one fitting, and that's why we have the reputation we do."
"Okay, let's do this — here's the card."
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|
The open-source equivalent of clothing would be an off the rack suit. A tailored suit, however cheaply made, is the tailoring equivalent of custom software.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
|
Hi Gary, interesting ... when I think of the worst of American music, ZZ Top often comes to mind, but you gotta love their style-thang
cheers, Bill
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|