343 points · by conductor · 13y ago · 242 comments
http://www.longene.org/en/index.php
>The Longene is a free, open-source computer operating system kernel project intended to expand the Linux Kernel to be binary-compatible with application software and device drivers not only made for Microsoft Windows but also made for Linux OS. This will enable the Windows application running on the Linux operating system highly effectively.
Not sure how active this project is. The last binary package released was from 2012.
The last stance so far has been my fiancé and her need for Office. If that falls, I may finally be able to get Linux on my own laptop :)
Would you rather implement POSIX over Win32 or Win32 over POSIX?
Countrary to Windows. You wouldn't believe the enormous amounts of stuff that Windows has, and apps rely on almost everything they can rely on. COM is huge. DCOM is huge. DirectX is huge. The list goes on and on.
Really, that's my answer. Win32 is Raymond Chen Land, Fear and Loathing With Backwards Compatibility. SimCity relied on internal details of how the kernel managed memory such that it reused memory it had already freed and they kept it working. MSFT modified the Windows kernel to avoid breaking it.
Torvalds is Chen-like in his adamance that the kernel can't break userspace, but Torvalds never had to deal with Windows 95 and the strange MS-DOS-derived world it inhabited. Linux never had to deal with 16-bit x86 code, so it was always able to keep its internals private, limiting the random stuff user programs could end up relying on. Win32 offers no such consolations.
I'd implement POSIX on top of Win32 any day to avoid the alternative, with the caveat that some things are flatly impossible and some things are possible but will never be efficient.
Used to. Subsystem for UNIX Applications is now deprecated.
Cygwin runs on top of Win32, and its library functions call into Win32. Thus, it is strictly a compatibility layer.
Whereas SUA runs alongside Win32 and does not depend on Win32 APIs. Thus, it is theoretically a replacement for Win32, for people who wanted to run a UNIX environment on top of the NT kernel. Practically, however, it was used primarily for application porting.
[1] http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
"Wabi required a Windows 3.x installation in order to work, meaning that it would also require a Windows license, unlike similar software that endeavored to implement the entire Windows API, such as Wine. The basic premise of the product was to provide an emulation of the lowest layers of the Windows environment in the form of the user.dll, kernel.dll and gdi.dll libraries. As all other Windows dlls depended on these three modules, cloning this functionality allowed Windows applications and their associated support dlls to execute correctly. This approach, as opposed to a full replacement, was thought by the engineering team to be the only rational methodology for success given both the size of Microsoft's ever-expanding efforts and the difficulties of the emulation being precise enough to run commercial grades of software."
I really can't understand why hackers, coders, etc are happy to sign up to the shit Apple are doing. I do understand that "normal" people love Apple, but I just can not understand why coder people, who grew up learning to code in a GNU world (like me) can succumb to go Apple.
I made the switch because I no longer had the time and interest in maintaining my OS - I wanted it to just work. Much can be said for Linux distros' improvements in hardware support over the years, but it pales in comparison to paying for a superbly built computer (even Torvalds uses an MBA) and never having to think about hardware compatibility or OS breakage again. That's worth the (significant) premium in cost for me, and it is worth it for many others on HN.
(This is only on the desktop side, obviously; I use an Android phone and run Debian/Ubuntu on my servers.)
Now, I'm on a Chromebook Pixel, and I can say safely that it's the only computer I've EVER used that really lives up to the "just works" mantra. To top it off, it actually is Linux inside, so for someone like me who uses a Linux VM on OS X most of the time, all I have to do is install crouton, do startx and go with Gnome 3 (which is quite polished now).
I feel that is no longer a valid excuse. I use ubuntu on thinkpads, and it just works.
I see people around me with more issues with their OS X machines in fact. That might be just anecdotal, of course.
What sort of battery life do you get? Any heat issues? Hibernate/suspend?
(These are all areas where I've had issues with recent versions of Ubuntu, but on an older model Macbook Pro rather than a Thinkpad)
I say this as a 17 year linux only user. I am not trying to disparage linux, I just want to point out that the thinkpad is an exceptional case.
I'd rather just get back to hacking.
These options probably aren't yet as polished as Macs, but if you want convenience and still care about an open source OS, give them your support. They won't get better without demand from people like us.
Is the argument that those machines are bad because they ship with Windows?
I'm a huge hater of MS-anything (I can not quantify my hate of Windoze), but I don't see a valid argument to support overpaying for a slow System 76 machine when I can get my i7 Toshiba for $879 and put whatever OS I want (including a hackintosh VM).
You do have to be somewhat careful of the hardware you buy, but arguing that having to buy exclusively Apple hardware is somehow better than exclusively buying, say, IBM hardware to maintain compatibility with your OS is pure sophistry.
The way forward on a Mac is to run Mac native applications. Not really a surprise -- a Windows user who switches to Linux but wants to run all the same old stuff via Wine would be better served by switching to native apps where possible.
The "trouble" comes from getting the core OS to behave and play nice with the hardware. That is rarely an issue with Apple's platform, speaking from personal comparative experience.
Also, Apple's SDK for their own platforms is the currently the best around, bar none.
As for stability, I think Debian's reputation for being rock solid is well established and deserved. I'm extremely happy with the setup I have and with how little effort I had to expand to get it.
If you have an older machine lying around, I'd heartily recommend giving it a whirl.
The next time Software Update asks you to update iTunes:
1. uncheck iTunes from the list of updates
2. click the help menu, search for "ignore update" and click on one of the options. (I don't remember exactly what it's called.)
It's a hidden way to tell Software Update to never bother you with iTunes updates again.
Warning: This will leave you exposed to any security issues in iTunes, so don't run iTunes after you've shut off its updates.
I assume the same is true for other Ubuntu derivatives and probably other major distros. Linux today is not Linux 10, 5 or even 3 years ago. They've improved a lot.
My enthusiasm for Free Software died years ago thanks to the ridiculous amounts of CADT (http://www.jwz.org/doc/cadt.html) in the Free GUIs. Constant change without benefit is just not interesting to me.
Meanwhile, Apple has been advancing in really important ways that are not being sufficiently imitated by Windows and Linux: user-friendly backup; removal of the mental model where "file on disk" is somehow different than "file in editor"; unlimited file versioning; a sweet app store; mandatory code-signing.
Where do we start? Lets see:
Apple v/s New York City over 'GreeNYC' logo : http://www.widespotlight.com/wp-content/uploads/2012/10/gree...
Apple v/s Victoria School of Business and Technology over this logo : http://upload.wikimedia.org/wikipedia/commons/9/95/Victoria_...)
Apple v/s Woolworths Limited over this logo - http://www.topnews.in/files/Woolworths.gif
Apple v/s Amazon for the use of "App"
And let's not talk about the abuse of Rounded Corners (TM)(R)(C)
And Windows might be getting you more stuff than OSX, but that was not the point for GNU world, wasn't it? It was about the free and especially the open part.
"Apple has yet to sue anyone other than blatant and uninspired copyists"
Let's keep a little less brazen attitude about tech and engineering, shall we? Just because lines were crossed in the dark age doesn't mean that those lines aren't in place any more.
"Meanwhile, Apple has been advancing in really important ways"
I do not deny true innovation, but we all know that the reason for some matters being "really important" is sole for just being Apple-related.
"that are not being sufficiently imitated by Windows and Linux"
Might it be that not all Apple "advancements" are worth to be "imitated"?
"sweet app store"
...and incurable Apple fan-boy.
In fact, I was in a conference a couple of weeks back and people were mocked for using Windows and especially Linux. Devs were asking others to get a 'real' OS. Practically 90% of the conference had Macs.
90% of your peers using a Mac is a good reason to use a Mac. But I have to admit people feeling superior for using a Mac is ridiculous.
Raw sockets in Windows (I've used them a couple of years back...)
I spent years using Linux on the desktop. I wrote software for it, was active in the community, and was an active core contributor to well-known distribution. I love Linux desktops.
Yet I stopped using them when I got my Macbook Air (before you flame me for using that machine, Linus himself uses one [0]). It's an absolutely phenomenal machine for my use.
Sadly, however, running Linux on it is a majorly sub-par experience. Touchpad drivers are awful (as is software which can support it), battery life is abysmal, and overall it's a pain in the ass. This is coming from someone who happily spent days configuring Gentoo and Exherbo[1] on his desktop just for fun.
True, I could invest in a laptop which is known to play nice with Linux, but frankly, there exists no machine on the market today which can compete with the Macbook Air for my use (ultra-portability, durability, extreme battery life, great screen and solid performance).
In short, I "succumb" because the portable hardware is the best. Plain and simple.
[0] http://www.cultofmac.com/162823/linux-creator-linus-torvalds... [1] http://www.exherbo.org/
It could use a magsafe-like power connector, though.
1. Ubuntu does not remember screen brightness after reboot.
2. Getting Flash properly installed so I could watch Amazon Instant Video was a struggle. Netflix over Wine works like a charm if not ideal (it's broken for me a couple of times but it's working again now) and HBO GO works even better.
3. Firefox does not seem to support high DPI screens for Linux yet. So you either have to zoom on each page or use an add-on such as NoSquint.
4. The SSD is apparently too fast for lightdm, the logon software, to handle. I had to change the default logon software to gdm.
5. Frequently, the feature which saves Facebook/Google/Twitter login info for desktop apps would forget my password and generate blank popups and error reports.
6. Random error popups every once and a while.
All of the above are minor gripes considering I am not paying anything for this software. Overall, I am very happy with the entire stack from Ubuntu to the Linux kernel. I choose to do most of my home desktop activities on Ubuntu when possible. I keep my Windows desktop around to run iTunes and that's about it. I like the Ubuntu/Linux experience but the above problems prevent me from recommending it to my family.
Issues with ZenBook Prime:
1. Touchpad is not great.
2. I have hardware problems with the keyboard and the power and I've had to send it back to ASUS for repair. Seems to be working fine now.
The zenbook looks like a competitor, but I'd need to be sure that it's built as solidly as the MBA. The MBA is even thinner and for about the same price you get hardware that is incredibly well designed and manufactured.
For me, I've learned the hard way that going by raw specs alone is a poor way to judge a laptop (desktops are another beast) -- it's the build quality and the little things that make or break the pleasantness of the experience.
PS -- Debian GNU/kFreeBSD has it backwards. A FreeBSD userland w/ a linux kernel might actually be interesting to me.
Simplicy for one since BSD utils are developed in a mostly non-fractured enviroment. I gave one example in a previous post. That isn't the end of the story, but it's a good start.
No, I don't remember that. Because I never was.
I strongly dislike Microsoft. But I was just as happy on Solaris as Debian.
I really can't understand why hackers, coders, etc are happy to sign up to the shit Apple are doing. I do understand that "normal" people love Apple, but I just can not understand why coder people, who grew up learning to code in a GNU world (like me) can succumb to go Apple.
I learned to code from Perl. Which was never so dogmatic about the whole GNU thing.
I guess, for some of us, the low amount of friction that Apple provides is worth the illusory premium that people attach to it.
I never signed up to fight for an open or free OS, I could really care less if one exists or not. I like Linux, but I don't get religious about these things because being religious about these things would affect my bottom line. I use it on the server, but I would never use it on the desktop, mostly because of aesthetics. Linux looks like shit to me. It's like a Toyota to a Mercedes. Toyota might actually have superior mechanics, but the Mercedes drives so nicely.
And then there is Objective-C. After 20 years of C++, C#, C, Delphi - I dunno, I can't describe the love I feel for Objective-C.
I've been using Linux for the past several years without any issues with its design or integration, and I haven't had to "fiddle endlessly". And I'll continue to do so, regardless of what most everyone else thinks and says. Although it is quite hilarious when people express amazement at the fact that I don't own any Apple products.
The "hacker" in "hacker news" has little to do with any traditional meaning of hacker. I'm not sure why it's in there at all really.
Well, the _traditional_ meaning would largely predate the availability of Linux, anyway...
I personally run SUSE on a Thinkpad, I prefer Linux to OSX and Windows, and love Thinkpad hardware (the keyboard is the best I've ever used). I can however understand why Apple stuff is attractive.
I've also heard that Linux is easier than OSX when it comes to installing languages, tools, etc..., but OSX is easier when it comes to things like Skype, Office, and of course proprietary software. I've found using Linux full time to be painless and enjoyable though.
Some of us are more awed by technical prowess than by anything else, and OSX has done some amazing stuff.
Quartz compositing, the migration from IBM to Intel processors using Rosetta, Time Machine, etc.
All of that is great from a technical point of view, and you should at the very least acknowledge it as an inspiration. If you write code, that's it.
However, if you mean the iPod/iPad/iPhone locked stuff, yes, by all means fuck Apple.
I just bought the best machine for my money. The machine that would allow me to do my job better. I don't care at all about free philosophy and other things of that nature in software.
It's by far the OS I'm most productive in, and all the parts I care about (SSH) are open source.
Obviously, you're not going to have a good time writing code native to a particular OS if you aren't working with that OS. At best, your experience will be subpar. imo
"- A native Mac OS X driver is implemented, for better integration with the Mac desktop environment. The full range of driver features are supported, including OpenGL, window management, clipboard, drag & drop, system tray, etc.
- X11 is no longer needed on Mac OS X, but the X11 driver is still supported, e.g. when running remotely."
Refraining from going into full fanboy mode, but I hope the Wine project gets to the point where one day any Windows app can run with an almost guaranteed inside of the Linux operating system. The day I can run Adobe Creative Suite 6 from within Ubuntu basically bug free is the day I ditch Windows completely for Linux.
Does anyone know how this works in general?
It seems like an invitation to severe cybersquatting to allow someone to register e.g. goógle.com. I know those marks mean something in non-English languages, but for me (and I suspect most English speakers) it's very easy to mistake for dust on the monitor those symbols that Europeans insist on putting over their letters, like "`" or "'" or [[cos(90), sin(90)], [-sin(90), cos(90)]] * ":" [2] or other weird symbols that I don't even know how to type because they aren't linear transformations of ASCII characters.
From what I can remember of some of Chrome's and Firefox's battles with this, one of the end-states was something like this, using punycode (example here[1] seems more useful than the wikipedia page[2]):
If system language matches domain name's language, display in localized characters. Otherwise, display punycode, to prevent homoglyph attacks.
"domain name's language" is of course a very vague definition. A better one might be "same UTF section". And it's all hairy and a bit problematic and I don't recall any conclusive, ideal solutions, and somewhat doubt it's possible. But handling the vast majority of legitimate uses in the best-possible way while preventing homoglyph attacks is pretty darned good.
And yeah, there will be sin/cosine/theta/pi.com attempts. But having an un-typable name is a choice made by the domain owner, just like any other. There's nothing preventing me from buying fdaocclasuro--ieja83q92e-jfksdl7a.com, which is at least as obtuse as any punycode URL, but that hasn't been a complaint in the past.
[1] http://mothereff.in/punycode [2] http://en.wikipedia.org/wiki/Punycode
I apologize for being thick skulled but I do not understand what you are referring to and I did not understand that similar statement in the comment to which you replied. What am I missing?
Thanks in advance for explaining something to me that everyone else seems to have no problem understanding.
Here are obligatory Wikipedia links: http://en.wikipedia.org/wiki/Internationalized_domain_name http://en.wikipedia.org/wiki/IDN_homograph_attack
> It seems like an invitation to severe cybersquatting to allow someone to register e.g. goógle.com.
First, you're a couple years late on this.
Second, registries that enable IDN generally formulate anti-spoofing rules. It is unlikely that an entity that is not Google and does not control google.pl would be able to register goógle.pl.
Third, any truly sensitive content should be behind HTTPS anyway.
Fourth, most of the world uses non-ASCII scripts and generally speaking couldn't give a damn about problems the scripts give the small minority stuck with ASCII in the 1980s ;)
http://marzzbar.wordpress.com/2012/11/06/how-to-play-classic...
Not sure how the improved driver for Mac makes this better or worse.
Battle.net is a little shakey. Make sure to follow the steps to install fonts, or it won't work at all. Also, it'll probably look really funny (textures won't load properly), but it'll be functional.
However, I wonder if a project similar to Wine will be needed in a few years, to run OSX applications.
I used to have Windows and xwin32 and I would run my stuff on FreeBSD or Linux, and use Windows as my "mainstream OS when I needed to print things and/or listen to things."
Eventually my gear could run the Linux server in a virtual machine. Then I started running Windows in a virtual machine to avoid browser vulnerabilities (create a clean instance, browse for a while, then burn it).
I am almost to the point where I can boot Linux natively and run Windows in a VM (except for the occasional game) but I do less of that so its not as big a deal. I did an Atmel seminar where the whole time my "windows" machine was just a VirtualBox instance running full screen on my Lenovo T430. That was a perfectly acceptable experience.
I'm assuming it'll break, but what difference between the two OS's makes it break?
Not exactly. Mac OS does include a BSD subsystem and behaves more like a Unix than it behaves like Windows. But it is still significantly it's own thing.
The Mac kernel is XNU. Nearly all Mac apps use Cocoa. The Mac filesystem is HFS+. Hardware is managed through IOKit. The list goes on but basically every major system service is written for Mac OS and does not have any direct compatibility with other OSes.
More to the point, there's the lack of Mac-specific frameworks (e.g. Cocoa) on which most Mac applications rely.
For my personal use, crossover is good enough that I no longer install a windows vm for my occasional windows app usage.
I work in linux all day long, but i love osx. I have never, ever, thought to myself, "man, I wish I was running linux."
To be fair, while at work, I never think "I wish this was osx" either.
Previous to 13.04 Ubuntu acted very strange and had a multitude of problems. Since 13.04, and with ATI finally having proper drivers it works really well.
They have a 1.6 series build but it's one of the release candidates currently - should be updated fairly soon.
Regressions still happen, of course -- we might not be testing the right thing, or we might hit an edge case where implementing something completely correctly caused an application to break that was secretly relying on one wine bug hiding another wine bug.
The most of my friends stick with the cs2