Linuxinsight

Syndicate content
LinuxInsight - aggregated feeds
Updated: 1 hour 5 min ago

Reddit: realtime-Linux efforts are coming to a halt

Tuesday 8th of July 2014 06:12:26 PM

Reddit: Patching a package in Linux?

Tuesday 8th of July 2014 05:55:47 PM

How do you implement a patch to PHP? Here is the link to the patch.

There is no backport available and will never be for this CVE# CVE-2011-4718 according to RHEL. This means I have to manually patch this.

submitted by WhitePantherXP
[link] [1 comment]

Reddit: Please help me try to reproduce a very strange Firefox bug under Linux

Tuesday 8th of July 2014 04:59:59 PM

Dear Linux Redditors,

I encountered a very strange bug in Firefox versions 30 through 33 that for some reason seems to affect only me, and I'm trying to understand the circumstances that will trigger it — so far it's very mysterious, except that perhaps it's related to using a 32-bit userland on a 64-bit (amd64) kernel. I'm hoping several people can try to reproduce it over a number of different configs and maybe I can gain some insight as to what's causing it. This should be very fast (see "how to test" below).

Bug is number 1034984 on Bugzilla but its description is confusing because there was some figuring out of what was going on (the initial symptom was that the return key did not work in the URL bar, but now its cause has been analyzed to the JavaScript OS.File.DirectoryIterator behaving strangely).

How to test:

  • Download some version of Firefox between 30 (release) and 33 (nightly), preferably an official build; I'm mostly interested in 32-bit versions, because the only cases where I encountered the bug were 32-bit userland on a 64-bit kernel, but any data point is worth testing.

  • Create a directory, say /tmp/test with some files in it, say /tmp/test/foo and /tmp/test/bar (i.e., run mkdir /tmp/test ; touch /tmp/test/foo /tmp/test/bar on the command line).

  • Run Firefox with the -no-remote -ProfileManager options and create a new profile so it won't interfere with (or mess up) any config you might have.

  • Open about:config and (after promising to be careful) set the following to true: devtools.chrome.enabled and devtools.debugger.chrome-enabled (the latter is probably already set).

  • Open the browser console (Control-Shift-J or from developer tools) and the scratchpad (Shift-F4 or from developer tools). The scratchpad should have an "environment" menu (due to previous step), choose "browser" from that. This will fire a warning that "This scratchpad executes in the Browser context".

  • Enter the following code in the scratchpad (replacing, if necessary, /tmp/test with the name of the directory chosen in the second step):

    var testPath = "/tmp/test"; var testIterator = new OS.File.DirectoryIterator(testPath); var testPromise = testIterator.forEach(function(ent) {console.log(ent.path);}); testPromise.then(function(){testIterator.close();}, Components.utils.reportError);
  • Run this with Control-R (or click on "Run"; make sure nothing is selected or it will only run that subset of the code). A list of lines will appear in the browser console (opened with Control-Shift-J), one for each file in the directory. What interests me is whether they are correct ("/tmp/test/foo" and "/tmp/test/bar") or whether they have the first character missing ("/tmp/test/oo" and "/tmp/test/ar" and perhaps also "/tmp/test/" which also shouldn't be there), which is a bug.

  • That's all. You can now delete the profile you created (launch Firefox again, choose "delete profile" and "delete files" — make sure you don't delete the wrong profile by accident!).

Please tell me if you can reproduce the bug! (There isn't much point in telling me if you can't, because I'm well aware that it is very difficult to trigger. I was completely unable to do so in a virtual machine, for example, even with a config that was in all apparences exactly identical to a real PC that had the bug.)

submitted by Gro-Tsen
[link] [comment]

LXer: Cisco: Linux is the “Single and Best” Tech for IoT

Tuesday 8th of July 2014 04:58:03 PM
Cisco earlier this year unveiled its plans to build smarter routers and switches to help manage the massive flows of data expected between Internet-connected devices and the data center. This re-architecting of the Internet to bring computing capabilities to the edge of the network is what the company calls “fog computing” and it could help alleviate the data center strain that Gartner analysts predict will come from 26 billion installed units in the Internet of Things by 2020.

TuxMachines: Red Hat Announces Availability of its OpenStack Platform 5

Tuesday 8th of July 2014 04:39:34 PM

Red Hat has announced the general availability of Red Hat Enterprise Linux OpenStack Platform 5, which is the third enterprise release of the company's OpenStack offering. Aside from new features, the platform is clearly being aimed at many types of organizations, including "advanced cloud users, telecommunications companies, Internet service providers (ISPs), and public cloud hosting providers."

read more

TuxMachines: Codio: A Multi-language IDE with Its Own Ubuntu Instance

Tuesday 8th of July 2014 04:30:03 PM

Codio is a browser-based IDE supporting a large number of languages and including its own Ubuntu instance to test the code.

read more

TuxMachines: Free software to assist indigenous access to computers

Tuesday 8th of July 2014 04:29:09 PM

But he adds that it is important to make sure there are no compatibility problems between GNU/Linux and hardware, which is often a problem due to its complexity, and to ensure automatic updates are available.

read more

Reddit: A book to learn advanced Linux?

Tuesday 8th of July 2014 04:13:00 PM

I know there are a lot of posts about books but I'm looking for a very specific one.

Here's what I'm looking for:

  • Available in epub, mobi or txt file format.

  • The smallest possible, that covers stuff like the programming interface (networking included), the kernel and maybe a little about the command line. Think of it like a book between a Linux reference and a Linux bible.

Does anyone know a book like that? I know I'm asking for a lot but I keep reading the wrong books. A book with 1000+ technical pages is too much in my opinion. Thank you (I understand if you hate my post)!

submitted by singinggiraffe
[link] [8 comments]

TuxMachines: SparkyLinux 3.4 GameOver -- a Linux distro for gamers

Tuesday 8th of July 2014 04:11:19 PM

Historically, Linux and gaming were like oil and water -- it did not mix. For the most part, this was just accepted as a fact of life. Quite frankly, this was OK as users were more interested in maintaining their box and chatting with other Linux users anyway. However, as time went by, jealousy of DOS, and then ultimately Windows, definitely grew as more and more amazing games were released for Microsoft's operating system. Even Linus Torvalds himself dual-booted Linux and DOS to play Prince of Persia.

read more

Phoronix: Linux 3.16 File-System Tests On A Hard Drive

Tuesday 8th of July 2014 04:07:02 PM
In complementing the earlier Linux 3.16 file-system tests on an SSD (and the later Btrfs testing), here are benchmarks of EXT4, XFS, and Btrfs from the Linux 3.15 and 3.16 kernels being compared from a traditional rotating hard drive.

LXer: VP Of EU Commission On Copyright Reform: I'd Sing You Happy Birthday, But I Don't Want To Have To Pay The Royalties

Tuesday 8th of July 2014 04:00:52 PM
However, Kroes is making a larger point about the way we view copyright today, and how that does not fit with how the world works. As such, she suggests rethinking how a copyright system should work:

Reddit: Radio Tray: What stations did you add? Looking to beef up my selection.

Tuesday 8th of July 2014 02:46:04 PM

Disclaimer: linux noob using Ubuntu 14.04.

Radio Tray is exactly what I wanted in a streaming radio app, but many of it's default stations aren't working any more. The Soma FM stations seems to be the only ones that work with consistency. After weeding out the dead ones, I'm looking for others to replace them.

I found two lists in u/badsuperblock's comment here, however most of those also also seem dead (or incompatible) when added to Radio Tray. I spent over an hour last night going through some untested ones, only seeing Soma FM links actually work.

So what stations did you add? I'm open to any music.

submitted by piggybankcowboy
[link] [comment]

Reddit: Best in-terminal text editor?

Tuesday 8th of July 2014 02:32:41 PM

This question exists a hundred times in these forums but just in case something new came up that I was unaware of.

I dig Vim and I dabble with nano, what are your favorites?

submitted by bamcomics
[link] [6 comments]

Linux.com: Global Hunt Begins for #HiddenTux: Find Tux and Win

Tuesday 8th of July 2014 02:16:12 PM

At least 10 stuffed penguins are hidden around the world and are waiting to be found and adopted by you.

Phoronix: Linux 3.16 Is Looking Good For ARM Hardware Support

Tuesday 8th of July 2014 02:07:49 PM
The Linux 3.16 kernel is set to debut with a fair amount of new ARM hardware / SoC enablement, which in turn will soon benefit Fedora ARM users seeing as they are likely to lock onto this new version for the Fedora 21 release...

LXer: Cortex-A8 SBC offers wireless, display, camera options

Tuesday 8th of July 2014 02:06:30 PM
Boardcon’s “EM210? SBC integrates a 1GHz Samsung Hummingbird SoC via a COM that runs Linux and Android, and features wireless, display, and camera options. Boardcon Embedded Design, of Shenzhen, China, specializes in Samsung SoC-based embedded boards, such as its recent EM4412 single board computer, which is built around a quad-core Exynos4412 system-on-chip. The company’s new EM210 SBC runs the older, slower, S5PV210AH (“Hummingbird”), the same 1GHz Cortex-A8 SoC that powered Samsung’s first Android-based Galaxy phones.

Reddit: Advice on Open Source IT Consulting

Tuesday 8th of July 2014 02:02:48 PM

Hey guys,

As an open source lover, and someone who promotes open source tools, Linux, and other open source applications, is it bad practice or looked down upon to consider doing software consulting based upon pre-existing open source products for profit? (because time is money) I have stumbled upon a few of these types of businesses recently. I just would love to help small businesses, and other individuals out in the realm of IT, without the overhead cost of software licensing for products from micro****, or other related. I especially don't want to sell out open source projects for my own personal gain. I hope you guys understand my question, as I just wanna share open source love. Thanks guys, and please be totally honest!

submitted by coney_dawg
[link] [1 comment]

Reddit: My experience with gaming on Linux.

Tuesday 8th of July 2014 01:53:57 PM