Please create an account to participate in the Slashdot moderation system


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:unexpected deletion (Score 1) 329

Bourne sh, POSIX sh, and bash globbing all suck because, while handy in very simple situations, they are not REs, not very versatile/capable, and not very intuitive. It's not that you CAN'T DO what you need to do; it's that you have to approach the problem uniquely.

To match via globbing any file or directory starting with one or more dots, but exclude dot and dot-dot standalone pseudo-links, I believe the most efficient recourse is the somewhat perverse:
ls -d1 .[^.]* ..?*

Is this example supposed to be Bourne sh, POSIX sh, or bash globbing? Bourne sh is rather weakly defined, it is not POSIX, and who cares for bash...

The description of basic regular expression bracket expressions in the Base Definitions volume of IEEE Std 1003.1-2001, Section 9.3.5, RE Bracket Expression shall also apply to the pattern bracket expression, except that the exclamation mark character ( '!' ) shall replace the circumflex character ( '^' ) in its role in a "non-matching list" in the regular expression notation. A bracket expression starting with an unquoted circumflex character produces unspecified results.

Moreover, ls -d1 .[!.]* ..?* will probably give you ls: ..?*: No such file or directory and a non-zero exit status. And if you get .]: Event not found., you accidentally put it into a csh.

And if you use for FILE in * .[!.]* ..?*, you cannot simply disregard [ "$FILE" = "..?*" ], because there can be a file with that name.

I had more examples of great shell programming here, but could not get them through the junk character filter.

Comment Re:Let the guy fucking rest already... (Score 1) 243

That is very US-centric. Here in this part of Europe, the carriers never had any influence on smartphones at all.

Looking at the amount and quality of dual SIM Android phones available here, I do not think this is true.

Your here may be different than mine, but until this year, I have not heard of any dual SIM Android phone with at least a 480x800 display sold anywhere in Europe. Still, dual SIM smartphones lack all kinds of features. The demand is definitely there.

Comment Re:Theo is going to me sooooo mad (Score 4, Informative) 178

The double edged sword of the BSD License. I'm sure they will probably contribute back but unlike the GPL there is nothing legally to compel them to.

That is not a problem from the perspective of the BSD people. In their experience, code being contributed back only because of legal reasons is so rarely of the quality that anyone would consider merging it back to the original OS that it does not matter to worry too much about that code. Anyhow, there are companies that choose to contribute some of their changes back without legal obligation, which tends to be of better quality, since they want to have it included for whatever reason (for example not to have to maintain their own fork in rapidly changing regions of the code), while they do not consider working on GPL code for their own reasons.

It might be different for different projects.

Comment Why not starting with FreeBSD? (Score 3, Insightful) 178

Most points of their agenda are common with FreeBSD and some are already done there or actively been worked on. No one would stand in their way porting WAPBL from NetBSD (if done decently). Ok, stripping the base is (fortunatelly) not on the FreeBSD agenda, but making most of it optional for embedded needs is.

From their FAQ, "OpenBSD [...] has some of the best code around". Ok, but I still do not buy it. If they want to leave some of the conservatism that comes with the security focus of OpenBSD behind (from the article), I do not find a real reason why they started with OpenBSD.

Not that some more good, modern code with any of the BSD would be wrong...

Comment Re:They got it all wrong (Score 1) 426

The only people complaining about shutdown being under the start menu are the kind of people who get their panties in a twist over "less" vs "fewer" and things like that: pedants.

I am a pedant. Hence I dislike this start menu thing and prefer my K menu... to do all things... K -- like... Keeping the system on not any longer. I rarely need it anyways.

Comment Re:Wayland vs X (Score 1) 315

I don't think running a VNC server bound to with port forwarded through a ssh tunnel (ssh -L5900:localhost:5900) is much more complicated neither insecure.

Is this a joke? Here are some of the missing steps in the VNC "solution":

  • Starting the VNC server, with all the right arguments, on the remote end
  • Making sure applications on the remote end will display on the VNC server (e.g. setting your DISPLAY variable)
  • Starting the VNC client on the local end, with all the right arguments
  • Determining what port number to use - if there's another VNC server running already on 5900 (on either end) you would conflict - this would definitely happen in practice if you have ssh sessions to several systems open at once
  • Securing the VNC server against unauthorized access if there are other users on either the remote or the local end

ssvnc does all this good enough for many applications. (It has some bugs, especially the Windows version, but nothing you cannot work around, if you are familiar with the *nix world.)

Comment Re:why phase out DVI? (Score 2) 704

DisplayPort is not just an industry standard, it is a royalty free standard, but HDMI seems to be winning - the only device I've seen with DisplayPort is my 2+ year old HP laptop and I have about 18 devices with HDMI in my household (heck, our cellphones even have it).

It might be about the kind of devices you got.

My Thinkpad has DisplayPort. The only stand alone display I have at home got DisplayPort. My Dell desktop at work (university) got 2 functional (Nvidia card) and 1 non-functional (on board Intel) DisplayPort. Both new Dell 1920x1200 displays I got at work have DisplayPort. At home and at work I got not a single HDMI device.

OT: The only weirdness is Dell delivering to us desktops with only DisplayPort and the same number of displays with DisplayPort and DVI (and VGA?), but instead of DisplayPort cables, we get DVI cables and DisplayPort-to-DVI adapters. The reason is probably the same as last year when there were VGA cables preattached to the Dell displays that came with desktops with the only functional ports being 2 DisplayPort with 2 adapters to DVI.

Comment Re:*crickets chirping* (Score 2) 224

* FreeBSD's ZFS is years behind what Illumos offers in features, and shows no signs of catching up.

If you know so much about it, would you mind updating the Wikipedia article about ZFS that lists "Notable ZFS storage pool versions" with FreeBSD and Illumos both on 28.

Comment I basically agree (and I am still using it) (Score 1) 487

I am currently using FreeBSD as my main OS, even on a recent (2010) laptop. It works great, for me. I have great control what is going on on my computer and I love the combination of a stable (as in "API/ABI stable" _and_ as in "upgrades do not break basic functionality") base system and very recent applications from ports.

Anyhow, I still have to agree with you that for most people, it is just not worse the time. For anyone else, I usually install Ubuntu. Ports are very powerful, but just not suitable for everyone.

If there were just stable ports (ports that come with a release and get only security fixes until the next release), one might come to the conclusion as the original article, but currently, you can either use release ports and live with the security holes (not a good idea to have an outdated browser and Flash plugin on the desktop), or you upgrade all ports very frequently.

PC-BSD might be a different story, I have not tried it in some time. Even though it brought me to FreeBSD, there were some good reasons not to use it anymore: How can you suggest users to use FreeBSD ports, if there is no PC-BSD PBI, and then wipe them at an upgrade? Probably not an issue anymore, but for me, that stuck.

Comment Re:Don't do it... (Score 1) 427

Powershell is perfect for the job.

Let me know when it's as ubiquitous as bash or csh.

bash is not preinstalled on many *nix systems. /bin/sh is ubiquitous and please, do not assume that it is bash. Fortunately, some Linux distributions undo that mistake. As for csh, it is widely regarded as being inadequate for scripting.

Powershell is about is ubiquitous as bash: It is present on most of the more widespread systems.

Comment Re:Okular print support (Score 2) 116

Or you could just run Evince, which surprisingly works great under Windows. Both Evince and Okular use Poppler as the PDF backend, so the rendering should be the same, but Evince doesn't require the bloat of the entire KDE on Windows package. I've used the official Adobe reader (yech!), Sumatra (poor rendering, performance and stability), Foxit (nag nag nag) and Evince. Evince is the best one by far.

Looking for a suitable suggestion for a LaTeX editor and PDF viewer for Windows (cross platform would be a big plus) in our math department, I have tested several PDF viewers: Evince failed to render certain math symbols that did appear in Okular (and in Acroread and in TeXworks for what it is worse). Okular does not print. TeXworks lags some usability. Sumatra has not been tested, yet, but is next on our list -- your comment is not very encouraging in that regard. We have not found anything else that even advertises the functionality we need. (The build-in PDF viewer in Chromium maybe...)

Yes, print support in Okular would be great, especially since now that there are Kile binaries for Windows for the current version of KDE and Kile, Kile+Okular could be a nice cross-platform TeX environment. (TexmarkerX has severe bugs in the editor, TeXworks and Texmarker lags functionality in the editor, Emacs+AUCTeX is great but some people are simply scared by the Emacs shortcuts.)

People in our math department already use Firefox, Thunderbird, Matlab etc. that are all available cross platform. Some still do not even consider swapping from Windows to Linux for the change in the TeX environment. KDE for Windows could help getting people used to cross platform tools (but not without print support in Okular).

Comment VirtualBox? (Score 0, Offtopic) 160

Solaris... there are alternatives. I wonder if ZFS will continue to be released to be used in FreeBSD. some project will build on it (and I do not need "Office"-Software, LaTeX does what I need).

Java... "Open" is not really done and the other license...

The only thing that I really worry about is VirtualBox. I have not found any other free Desktop virtualization that works.

Comment Re:Flash for the iPhone WHEN??? (Score 3, Informative) 216

Why do you think, "we FreeBSD-ers aren't getting Flash"?

I do have (the Linux version of) Flash 10 installed on my FreeBSD 8 amd64 systems and running it in a native FreeBSD amd64 Firefox. (Of course, it is usually blocked by noscript and flashblock.) A few years ago that might have been difficult to get running, but now it is just ports.

If we really want Flash is another story...

Slashdot Top Deals

Consultants are mystical people who ask a company for a number and then give it back to them.