You are here

Agreguesi i feed

3.19.3: stable

Kernel Linux - Enj, 26/03/2015 - 2:00md
Version:3.19.3 (stable) Released:2015-03-26 Source:linux-3.19.3.tar.xz PGP Signature:linux-3.19.3.tar.sign Patch:patch-3.19.3.xz (Incremental) ChangeLog:ChangeLog-3.19.3
Kategoritë: Kernel Linux

Germanwings Plane Crash Was No Accident

Slashdot.org - Enj, 26/03/2015 - 1:57md
hcs_$reboot writes The Germanwings plane crash takes a scary turn. After a couple of days investigation, it appears that the co-pilot requested control of the aircraft about 20 minutes into the flight. The pilot then left the cockpit, leaving the co-pilot in full control of the plane. Then, the co-pilot manually and "intentionally" set the plane on the descent that drove it into the mountainside in the southern French Alps. Co-pilot Andreas Lubitz, a 28-year-old German national, could be heard breathing throughout the plane's descent and was alive at the point of impact, according to the prosecutor.

Read more of this story at Slashdot.

Russian Official Proposes Road That Could Connect London To NYC

Slashdot.org - Enj, 26/03/2015 - 1:05md
An anonymous reader writes There's great news coming out of Russia for epic road trip lovers. Russian Railways president Vladimir Yakunin has proposed building a highway that would reach from London to Alaska via Russia, a 13,000-mile stretch of road. "This is an inter-state, inter-civilization, project," the Siberian Times quoted Yakunin. "The project should be turned into a world 'future zone,' and it must be based on leading, not catching, technologies."

Read more of this story at Slashdot.

Michael Meeks: 2015-03-26 Thursday

Planet GNOME - Enj, 26/03/2015 - 12:00md
  • Mihai posted a nice blog with a small video of LibreOffice Online in action - hopefully we'll have a higher-resoluton version that doesn't feature some bearded idiot next time.
  • Out to the Dentist for some drilling action.

Amazon Blasts FAA On Drone Approvals, Regulations

Slashdot.org - Enj, 26/03/2015 - 11:53pd
itwbennett writes Late last week, Amazon was issued permission by the FAA to fly an experimental drone as part of its tests for a planned automatic delivery service but it came too late, Paul Misener, vice president of global public policy at Amazon, told lawmakers on Tuesday. 'The UAS [unmanned aircraft system] approved last week by the FAA has already become obsolete,' he said. As a result, Amazon has filed for permission to fly a more advanced drone—one that is already being flown in several countries including the U.K., said Misener, who was speaking at a hearing of the Senate Committee on commerce, science and transportation.

Read more of this story at Slashdot.

Japan To Build 250-Mile-Long, Four Storey-High Wall To Stop Tsunamis

Slashdot.org - Enj, 26/03/2015 - 10:31pd
An anonymous reader points out this daunting construction plan in Japan. "Japanese authorities have unveiled plans to build a giant 250-mile long sea barrier to protect its coastline from devastating tsunamis. According to the proposals, the £4.6bn ($6.8bn) barrier would reach 12.5m high in some places – stretching taller than a four storey building. It would be made out of cement – and actually be composed of a chain of smaller sea walls to make construction easier. The plan comes four years after a huge tsunami ravaged Japan's north-eastern coast."

Read more of this story at Slashdot.

next-20150326: linux-next

Kernel Linux - Enj, 26/03/2015 - 10:26pd
Version:next-20150326 (linux-next) Released:2015-03-26
Kategoritë: Kernel Linux

How Kevin Mitnick hacked the audience at CeBIT 2015

LinuxSecurity.com - Enj, 26/03/2015 - 9:38pd
LinuxSecurity.com: CeBIT attendees on Thursday fell victims to a series of well-executed hacks. Thankfully, they weren't malicious in origin; instead, they were live demonstrations by notorious ex-hacker Kevin Mitnick.

Google warns of unauthorized TLS certificates trusted by almost all OSes

LinuxSecurity.com - Enj, 26/03/2015 - 9:36pd
LinuxSecurity.com: Google is warning its users that unauthorized digital certificates have been issued for several of its domains. The certificates, issued by an intermediary certificate authority for the China Internet Network Information Center (CNNIC) may be used to impersonate official Google sites and other, as-yet unnamed Internet destinations.

Tech Companies, Privacy Advocates Call for NSA Reform

LinuxSecurity.com - Enj, 26/03/2015 - 9:34pd
LinuxSecurity.com: A group of technology companies, non-profits and privacy and human rights organizations have sent a letter to President Barack Obama, the director of national intelligence and a wide range of Congressional leaders, calling for an end to the bulk collection of phone metadata under Section 215 of the USA PATRIOT Act.

Patrick Matthäi: More wheezy-backports work

Planet Debian - Enj, 26/03/2015 - 9:01pd

Hello,

now you can install the following package versions from wheezy-backports:

  • apt-dater-host (Source split, 0.9.0-3+wheezy1 => 1.0.0-2~bpo70+1)
  • glusterfs (3.2.7-3+deb7u1 => 3.5.2-1~bpo70+1)
  • geoip-database (20141009-1~bpo70+1 => 20150209-1~bpo70+1)

geoip-database introduces a new package geoip-database-extra, which includes the free GeoIP City and GeoIP ASNum databases.

glusterfs will get an update in a few days ago to fix CVE-2014-3619.

UK Setting Itself Up To Be More Friendly To Bitcoin Startups

Slashdot.org - Enj, 26/03/2015 - 8:03pd
An anonymous reader writes While various states in the U.S. (most notably: New York) are trying to regulate every last aspect of Bitcoin, making it very difficult to innovate there, the UK appears to be going in the opposite direction. It's been setting up much more open regulations that would allow for greater freedom for Bitcoin startups to innovate without first having to ask for permission. In fact, the British government decided that what is most appropriate is to work with the digital currency community to develop a set of best practices for consumer protection and create a voluntary, opt-in regime. Hopefully other governments take note.

Read more of this story at Slashdot.

European Commission Proposes "Digital Single Market" and End To Geoblocking

Slashdot.org - Enj, 26/03/2015 - 5:34pd
An anonymous reader writes A new initiative from the European Commission proposes a reformed "single digital market", addressing a number of issues that it sees as obstructions to EU growth, including geoblocking — where services such as BBC's iPlayer are only available to IP addresses within the host country — and the high cost of parcel delivery and administration of disparate VAT rates across the member states. The ramifications of many of the proposals within the Digital Single Market project extend to non-EU corporations which have built their business model on the current isolationism of member state markets.

Read more of this story at Slashdot.

The One Thousand Genes You Could Live Without

Slashdot.org - Enj, 26/03/2015 - 3:10pd
sciencehabit writes Today researchers unveiled the largest ever set of full genomes from a single population: Iceland. The massive project, carried out by a private company in the country, deCODE genetics, has yielded new disease risk genes, insights into human evolution, and a list of more than 1000 genes that people can apparently live without. The project also serves as a model for other countries' efforts to sequence their people's DNA for research on personalized medical care, says study leader Kári Stefánsson, deCODE's CEO. For example, the United States is planning to sequence the genomes of 1 million Americans over the next few years and use the data to devise individualized treatments.

Read more of this story at Slashdot.

Mario Sanchez Prada: Building a SNES emulator with a Raspberry Pi and a PS3 gamepad

Planet GNOME - Enj, 26/03/2015 - 2:51pd

It’s been a while since I did this, but I got some people asking me lately about how exactly I did this and I thought it could be nice to write a post answering that question. Actually, it would be a nice thing for me to have anyway at least as “documentation”, so here it is.

But first of all, the idea: my personal and very particular goal was to have a proper SNES emulator plugged to my TV, based on the Raspberry Pi (simply because I had a spare one) that I could control entirely with a gamepad (no external keyboards, no ssh connection from a laptop, nothing).

Yes, I know there are other emulators I could aim for and even Raspberry specific distros designed for a similar purpose but, honestly, I don’t really care about MAME, NeoGeo, PSX emulators or the like. I simply wanted a SNES emulator, period. And on top of that I was quite keen on playing a bit with the Raspberry, so I took this route, for good or bad.

So, after doing some investigation, I realized all the main pieces were already out there for me to build such a thing, all that was needed was to put them all together, so did I. And these are the HW & SW ingredients involved in this recipe:

Once I got all these things around, this is how I assembled the whole thing:

1. Got the gamepad paired and recognized as a joystick under /dev/input/js0 using the QtSixA project. I followed the instructions here, which explain fairly well how to use sixpair to pair the gamepad and how to get the sixad daemon running at boot time, which was an important requirement for this whole thing to work as I wanted it to.

2. I downloaded the source code of PiSNES, then patched it slightly so that it would recognize the PS3 DualShock gamepad, allow me define the four directions of the joystick through the configuration file, amont other things.

3. I had no idea how to get the PS3 gamepad paired automatically when booting the Raspberry Pi, so I wrote a stupid small script that would basically wait for the gamepad to be detected under /dev/input/js0, and then launch the snes9x.gui GUI to choose a game from the list of ROMS available. I placed it under /usr/local/bin/snes-run-gui, and looks like this:

#!/bin/bash BASEDIR=/opt/pisnes # Wait for the PS3 Game pad to be available while [ ! -e /dev/input/js0 ]; do sleep 2; done # The DISPLAY=:0 bit is important for the GUI to work DISPLAY=:0 $BASEDIR/snes9x.gui

4. Because I wanted that script to be launched on boot, I simply added a line to /etc/xdg/lxsession/LXDE/autostart, so that it looked like this:

@lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE @xscreensaver -no-splash @/etc/sudoers.d/vsrv.sh @/usr/local/bin/snes-run-gui

By doing the steps mentioned above, I got the following “User Experience”:

  1. Turn on the RPi by simply plugging it in
  2. Wait for Raspbian to boot and for the desktop to be visible
  3. At this point, both the sixad daemon and the snes-run-gui script should be running, so press the PS button in the gamepad to connect the gamepad
  4. After a few seconds, the lights in the gamepad should stop blinking and the /dev/input/js0 device file should be available, so snes9x.gui is launched
  5. Select the game you want to play and press with the ‘X’ button to run it
  6. While in the game, press the PS button to get back to the game selection UI
  7. From the game selection UI, press START+SELECT to shutdown the RPi
  8. Profit!

Unfortunately, those steps above were enough to get the gamepad paired and working with PiSNES, but my TV was a bit tricky and I needed to do a few adjustments more in the booting configuration of the Raspberry Pi, which took me a while to find out too.

So, here is the contents of my /boot/config.txt file in case it helps somebody else out there, or simply as reference (more info about the contents of this file in RPiConfig):

# NOOBS Auto-generated Settings: hdmi_force_hotplug=1 config_hdmi_boost=4 overscan_left=24 overscan_right=24 overscan_top=16 overscan_bottom=16 disable_overscan=0 core_freq=250 sdram_freq=500 over_voltage=2 # Set sdtv mode to PAL (as used in Europe) sdtv_mode=2 # Force sound to be sent over the HDMI cable hdmi_drive=2 # Set monitor mode to DMT hdmi_group=2 # Overclock the CPU a bit (700 MHz is the default) arm_freq=900 # Set monitor resolution to 1280x720p @ 60Hz XGA hdmi_mode=85

As you can imagine, some of those configuration options are specific to the TV I have it connected to (e.g. hdmi_mode), so YMMV. In my case I actually had to try different HDMI modes before settling on one that would simply work, so if you are ever in the same situation, you might want to apt-get install libraspberrypi-bin and use the following commands as well:

$ tvservice -m DMT # List all DMT supported modes $ tvservice -d edid.dat # Dump detailed info about your screen $ edidparser edid.dat | grep mode # List all possible modes

In my case, I settled on hdmi_mode=85 simply because that’s the one that work better for me, which stands for the 1280x720p@60Hz DMT mode, according to edidparser:

HDMI:EDID DMT mode (85) 1280x720p @ 60 Hz with pixel clock 74 MHz has a score of 80296

And that’s all I think. Of course there’s a chance I forgot to mention something because I did this in my random slots of spare time I had back in July, but that should be pretty much it.

Now, simply because this post has been too much text already, here you have a video showing off how this actually works (and let alone how good/bad I am playing!):

Video: Raspberry Pi + PS3 Gamepad + PiSNES

I have to say I had great fun doing this and, even if it’s a quite hackish solution, I’m pretty happy with it because it’s been so much fun to play those games again, and also because it’s been working like a charm ever since I set it up, more than half a year ago.

And even better… turns out I got it working just in time for “Father’s Day”, which made me win the “best dad in the world” award, unanimously granted by my two sons, who also enjoy playing those good old games with me now (and beating me on some of them!).

Actually, that has been certainly the most rewarding thing of all this, no doubt about it.

Dad and Daughter Recreate <em>Jurassic Park</em> With $100,000 In Lego Pieces

Slashdot.org - Enj, 26/03/2015 - 1:58pd
mpicpp writes Animator Paul Hollingsworth and his daughter Hailee, along with some help from a few "master builders" — decided to Jurassic Park using only Lego pieces. More than $100,000 in Lego were used, according to the video's description. The result is a surprisingly stunning and hilarious version of the 1993 dino-thriller. The team behind the film also released an in-depth behind-the-scenes look at the production.

Read more of this story at Slashdot.

Comcast's Incompetence, Lack of Broadband May Force Developer To Sell Home

Slashdot.org - Enj, 26/03/2015 - 1:30pd
BUL2294 writes Consumerist has an article about a homeowner in Kitsap County, Washington who is unable to get broadband service. Due to inaccurate broadband availability websites, Comcast's corporate incompetence, CenturyLink's refusal to add new customers in his area, and Washington state's restrictions on municipal broadband, the owner may be left with no option but to sell his house 2 months after he bought it, since he works from home as a software developer. To add insult to injury, BroadbandMaps.gov says he has 10 broadband options in his zip code, some of which are not applicable to his address, have exorbitant costs (e.g. wireless), or are for municipal providers that are prevented from doing business with him by state law. Yet, Comcast insists in filings that "the broadband marketplace is more competitive than ever." As someone who had Comcast call to cancel on the day of my closing (two days before my scheduled install) because they didn't offer service to my house after all, I can sympathize.

Read more of this story at Slashdot.

Matthew Garrett: Python for remote reconfiguration of server firmware

Planet GNOME - Enj, 26/03/2015 - 12:54pd
One project I've worked on at Nebula is a Python module for remote configuration of server hardware. You can find it here, but there's a few caveats:
  1. It's not hugely well tested on a wide range of hardware
  2. The interface is not yet guaranteed to be stable
  3. You'll also need this module if you want to deal with IBM (well, Lenovo now) servers
  4. The IBM support is based on reverse engineering rather than documentation, so who really knows how good it is

There's documentation in the README, and I'm sorry for the API being kind of awful (it suffers rather heavily from me writing Python while knowing basically no Python). Still, it ought to work. I'm interested in hearing from anybody with problems, anybody who's interested in getting it on Pypi and anybody who's willing to add support for new HP systems.

comments

Matthew Garrett: Python for remote reconfiguration of server firmware

Planet Debian - Enj, 26/03/2015 - 12:51pd
One project I've worked on at Nebula is a Python module for remote configuration of server hardware. You can find it here, but there's a few caveats:
  1. It's not hugely well tested on a wide range of hardware
  2. The interface is not yet guaranteed to be stable
  3. You'll also need this module if you want to deal with IBM (well, Lenovo now) servers
  4. The IBM support is based on reverse engineering rather than documentation, so who really knows how good it is

There's documentation in the README, and I'm sorry for the API being kind of awful (it suffers rather heavily from me writing Python while knowing basically no Python). Still, it ought to work. I'm interested in hearing from anybody with problems, anybody who's interested in getting it on Pypi and anybody who's willing to add support for new HP systems.

comments

Facebook Makes Messenger a Platform

Slashdot.org - Enj, 26/03/2015 - 12:46pd
Steven Levy writes At Facebook's F8 developer conference, the ascension of the Messenger app was the major announcement. Messenger is no longer just a part of Facebook, but a standalone platform to conduct a wide variety of instant communications, not only with friends, but with businesses you may deal with as well. It will compete with other messaging services such as Snapchat, Line and even Facebook's own WhatsApp by offering a dizzying array of features, many of them fueled by the imagination and self-interest of thousands of outside software developers.

Read more of this story at Slashdot.

Faqet

Subscribe to AlbLinux agreguesi