You are here

Site në gjuhë të huaj

Humble Bundle Announces 'Hacker' Pay-What-You-Want Sale

Slashdot.org - Sht, 30/04/2016 - 7:30md
An anonymous reader writes: Humble Bundle announced a special "pay what you want" sale for four ebooks from No Starch Press, with proceeds going to the Electronic Frontier Foundation (or to the charity of your choice). This "hacker edition" sale includes two relatively new titles from 2015 -- "Automate the Boring Stuff with Python" and Violet Blue's "Smart Girl's Guide to Privacy," as well as "Hacking the Xbox: An Introduction to Reverse Engineering" by Andrew "bunnie" Huang, and "The Linux Command Line". Hackers who are willing to pay "more than the average" -- currently $14.87 -- can also unlock a set of five more books, which includes "The Maker's Guide to the Zombie Apocalypse: Defend Your Base with Simple Circuits, Arduino, and Raspberry Pi". (This level also includes "Bitcoin for the Befuddled" and "Designing BSD Rootkits: An Introduction to Kernel Hacking".) And at the $15 level -- just 13 cents more -- four additional books are unlocked. "Practical Malware Analysis: The Hands-On Guide to Dissecting Malicious Software" is available at this level, as well as "Hacking: The Art of Exploitation" and "Black Hat Python." Nice to see they've already sold 28,506 bundles, which are DRM-free and available in PDF, EPUB, and MOBI format. (I still remember Slashdot's 2012 interview with Make magazine's Andrew "bunnie" Huang, who Samzenpus described as "one of the most famous hardware and software hackers in the world.")

Read more of this story at Slashdot.

Language Creation Society Says Klingon Language Isn't Covered By Copyright

Slashdot.org - Sht, 30/04/2016 - 6:30md
Reader AmiMoJo writes: Earlier this year Paramount Pictures and CBS Studios filed a lawsuit against the makers of a Star Trek inspired fan film, accusing them of copyright infringement. In their amicus brief, which actually uses Klingon language, the Language Creation Society lists many examples of how Klingon has evolved, and it specifically disputes Paramount's earlier claims that there are no human beings who communicate using the Klingon language. "In fact, there are groups of people for whom Klingon is their only common language. There are friends who only speak Klingon to each other. In fact, at least one child was initially raised as a native speaker of Klingon." As such, Paramount should not be allowed to claim copyright over the entire Klingon language, both in written and spoken form. The language is a tool for people to communicate and express ideas, something people should be allowed to do freely under U.S. law, LCS argues.

Read more of this story at Slashdot.

Design, Hardware, Software Errors Doomed Japanese Hitomi Spacecraft

Slashdot.org - Sht, 30/04/2016 - 5:30md
Reader Required Snark writes: The Japanese space agency JAXA said its recently launched X-Ray observation satellite Hitomi has been destroyed. After a successful launch on February 17, contact with the satellite was lost on March 28. Off the 10-year expected life span, only three days of observations were collected. Preliminary inquiry points to multiple failures in design, hardware and software. After the launch it was discovered that the star tracker stabilization didn't work in a low magnetic flux area over the South Atlantic. When the backup gyroscopic spin stabilization took control, the spin increased instead of stopping. An internal magnetic limit feature in the gyroscope failed, causing the spin get worse. Finally, a thruster based control started, but because of a software failure the spin increased further. The solar panels broke off, leaving the satellite without a long-term power supply. It seems that untested software had been uploaded for thrust control just before the breakup. This is a major loss for astronomical research. Two previous attempts by Japan to launch a high-resolution X-ray calorimeter had also failed, and the next planned sensor of this type is not scheduled until 2028 by the ESA. Just building a replacement unit would take 3 to 5 years and cost $50 million, without the cost of a satellite or launch.

Read more of this story at Slashdot.

Design, Hardware, Software Error Doomed Japanese Hitomi Spacecraft

Slashdot.org - Sht, 30/04/2016 - 5:30md
Reader Required Snark writes: The Japanese space agency JAXA said its recently launched X-Ray observation satellite Hitomi has been destroyed. After a successful launch on February 17, contact with the satellite was lost on March 28. Off the 10-year expected life span, only three days of observations were collected. Preliminary inquiry points to multiple failures in design, hardware and software. After the launch it was discovered that the star tracker stabilization didn't work in a low magnetic flux area over the South Atlantic. When the backup gyroscopic spin stabilization took control, the spin increased instead of stopping. An internal magnetic limit feature in the gyroscope failed, causing the spin get worse. Finally, a thruster based control started, but because of a software failure the spin increased further. The solar panels broke off, leaving the satellite without a long-term power supply. It seems that untested software had been uploaded for thrust control just before the breakup. This is a major loss for astronomical research. Two previous attempts by Japan to launch a high-resolution X-ray calorimeter had also failed, and the next planned sensor of this type is not scheduled until 2028 by the ESA. Just building a replacement unit would take 3 to 5 years and cost $50 million, without the cost of a satellite or launch.

Read more of this story at Slashdot.

Yahoo's Marissa Mayer In Line For $55M Severance If Fired Within A Year Of Sale

Slashdot.org - Sht, 30/04/2016 - 4:30md
whoever57 writes: A Securities and Exchange Commission (SEC) filing on Friday revealed that Yahoo's board has agreed to a $55 million severance package for Marissa Mayer if she loses her job within a year of a sale. That's a lot of money for a chief executive who hasn't been able to keep Yahoo's stock from falling. In 2015, the value of Yahoo's stock fell by 33%. Worth noting: most of the money from the severance package is composed of restricted stock units and options -- there's only $3 million in cold hard cash. Also, Yahoo revealed Mayer received a significant pay cut last year. Her "reported pay" was $36 million, but her "realized pay" is closer to $14 million.

Read more of this story at Slashdot.

Berkeley Researchers Examine Five Worst-Case Security Nightmares

Slashdot.org - Sht, 30/04/2016 - 3:30md
An anonymous reader writes: Berkeley researchers have gamed out five worst-case security scenarios at their Center for Long-Term Cybersecurity, calling it "a disciplined, imaginative approach to modeling what cybersecurity could mean in the future...to provoke a discussion about what the cybersecurity research and policy communities need to do now in order to be better positioned..." Two of the scenarios are set in 2020 -- one called "The New Normal" imagining a world were users assume their personal information can no longer be kept safe, and another involving the privacy and security implications in a world where hackers lurk undetected on a now-ubiquitous Internet of Things. "Our goal is to identify emerging issues that will become more important..." they write in an executive summary, including "issues on the table today that may become less salient or critical; and new issues that researchers and decision-makers a few years from now will have wished people in the research and policy communities had noticed -- and begun to act on -- earlier. Scenario #2 imagines a super-intelligent A.I. which can predict and even manipulate the behavior of individuals, and scenario #3 involves criminals exploiting valuable data sets -- and data scientists -- after an economic collapse.

Read more of this story at Slashdot.

Michael Meeks: 2016-04-30 Saturday.

Planet GNOME - Sht, 30/04/2016 - 3:27md
  • Breakfast and out to the hack-fest; had some fun helping people with tasks, code reading, etc. Spent some time unwinding why LibreOffice wouldn't compile in tr_TR.UTF-8 locale, a rather fun bug. Interestingly toupper('i') != 'I' in a tr_TR locale, cf. easy hack.

Slack To Disable Thousands of Logins Leaked on GitHub

Slashdot.org - Sht, 30/04/2016 - 2:30md
An anonymous reader writes: Thursday one technology site reported that thousands of developers building bots for the team-collaboration tool Slack were exposing their login credentials in public GitHub repositories and tickets. "The irony is that a lot of these bots are mostly fun 'weekend projects', reported Detectify. "We saw examples of fit bots, reminding you to stretch throughout the day, quote bots, quoting both Jurassic Park...and Don Quixote...." Slack responded that they're now actively searching for publicly-posted login credentials, "and when we find any, we revoke the tokens and notify both the users who created them, as well as the owners of affected teams." Detectify notes the lapse in security had occurred at a wide variety of sites, including "Forbes 500 companies, payment providers, multiple internet service providers and health care providers... University classes at some of the world's best-known schools. Newspapers sharing their bots as part of stories. The list goes on and on..."

Read more of this story at Slashdot.

Bison To Become First National Mammal Of The US

Slashdot.org - Sht, 30/04/2016 - 12:01md
mdsolar quotes a report from Washington Post: North America used to be teeming with bison. But in one century, their numbers plummeted from tens of millions to just a few dozen in the wild after hunters nearly wiped out the continent's largest mammals. Now, the bison is about to become the first national mammal of the United States. The National Bison Legacy Act, which designates the bison as the official mammal of the United States, passed the House on Tuesday and the Senate on Thursday. The legislation now heads to President Obama's desk to be signed into law. At a time of political gridlock and partisan bickering, lawmakers agree on an official national mammal. The bison, which will join the bald eagle as a national symbol, represents the country's first successful foray into wildlife conservation. Lobbying for the official mammal designation was a coalition of conservationists; ranchers, for whom bison are business; and tribal groups, such as the InterTribal Buffalo Council, which wants to "restore bison to Indian nations in a manner that is compatible with their spiritual and cultural beliefs and practices."

Read more of this story at Slashdot.

Wireless Carriers To Adopt New Real-Time Text Protocol By December 2017

Slashdot.org - Sht, 30/04/2016 - 9:01pd
An anonymous reader quotes a report from Engadget: The FCC is ready to adopt a proposal that'll bring a new protocol to wireless networks to help people with disabilities communicate. It's called real-time text (RTT) and will be a replacement for the aging teletypewriter devices that let users transmit text conversations over traditional phone lines. According to the FCC's statement, RTT will "allow Americans who are deaf, hard of hearing, speech disabled or deaf-blind to use the same wireless communications devices as their friends, relatives and colleagues, and more seamlessly integrate into tomorrow's communications networks." The big differentiator for RTT over current, commonly-used text-based messaging systems is that RTT messages are sent immediately as they're typed. The RTT technology will let text users communicate with people on voice-based phones and vice versa; it can also work easily in your standard smartphone, eliminating the need for specialized equipment. The proposal calls for RTT to roll out over wireless networks run by "larger carriers" by December of 2017.

Read more of this story at Slashdot.

Developer Installs Windows 95 On An Apple Watch

Slashdot.org - Sht, 30/04/2016 - 5:36pd
An anonymous reader writes: Developer Nick Lee has successfully installed Windows 95 on his Apple Watch. It works, but it runs very slow. For example, it takes about an hour for the OS to boot up. In a blog post, Lee points out the Apple Watch features specs capable of running the old OS. To get Windows 95 running on the Apple Watch, Lee had to modify Apple's development software in "rather unorthodox ways" that allowed him to turn the OS into a Watch app, which also emulates an environment for the OS to run on, he tells The Verge. To deal with the fact that Apple Watch's screen is always turning itself off when not in use, he set up a motorized tube that constantly turns the Watch's crown, preventing it from falling asleep. In addition, Lee altered the Watch's software to let Windows 95 track a single fingertip, hence the constant swiping in his video.

Read more of this story at Slashdot.

Matthias Clasen: Yet another GTK+ update

Planet GNOME - Sht, 30/04/2016 - 4:37pd

GTK+ 3.20 was released a while ago; we’re up to 3.20.3 now.  As I tried to explain in earlier posts here and here, this was a pretty active development cycle for GTK+. We landed a lot of of new stuff, and many things have changed.

I’m using the neutral term changed here for a reason. How you view changes depends a lot on your perspective. Us, who implemented the changes, are of course convinced that they are great improvements. Others who maintain GTK+ themes or applications may have a different take, since changes often imply that they have to do work to adapt.

What changed in GTK+

A big set of changes is related to the inner workings of GTK+ CSS.

The CSS box model is much better supported in widgets. This includes padding, margins, borders, shadows, and the min-width and min-height properties. Since many widgets are complex, they typically have many CSS boxes. Here is how the box tree GtkNotebook looks:

In the past (up to and including GTK+ 3.18), we used a mixture of widget class names (like GtkNotebook), style classes (like .button) and widget names (like #cancel_button) for matching styles to widgets. Now, we are using element names for each box (e.g. header, tabs and tab in the screenshot above). Style classes are still used for optional things and variants.

The themes that are included in GTK+ (Adwaita, Adwaita dark, HighContrast, HighContrastInverse and the win32 theme) have of course been updated to follow this new naming scheme. Third-party themes need and application-specific CSS need to be updated for this too.

To help with this, we have expanded both the general documentation about CSS support in GTK+ here and here, and we have documented the element names, style classes and the node hierarchy for each widget. Here, for example, is the notebook documentation.

The documentation is also a good place to learn about style properties that have been deprecated in favor of equivalent CSS properties, like the secondary cursor color property. We warn about deprecated style properties that are used in themes or custom CSS, so it is easy to find and replace them:

(gtk3-demo:14116): Gtk-WARNING **: Theme parsing error: gtk-contained.css:18:37: The style property GtkWidget:secondary-cursor-color is deprecated and shouldn't be used anymore. It will be removed in a future version

There’s also a number of new features in CSS. We do support the CSS syntax for radial gradients, we let you load and recolor symbolic icons, image() and calc() are supported, as well as the rem (‘root em’) unit.

Beyond CSS, the drag-and-drop code as been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK+.  The main reason for doing this was to enable a complete DND implementation for Wayland. As a side-effect, we gained the ability to use non-toplevel widgets as drag icons, and we dropped the X11 specific feature to use RGBA cursors as drag icons.

The Wayland backend has grown most features that it was missing compared to X11:  the already mentioned full DND support, kinetic scrolling, startup notification, primary selection, presenting windows, a bell.

Changes in applications

Here is an unsorted list of issues that may show up in applications with GTK+ 3.20, with some advice on how to handle them.

One of the motivations for the changes is to enable animations and transitions. If you use gtk_style_context_save/restore in your draw() function, that prevents GTK+ from keeping the state that is needed to support animations; so you should avoid it when you can.

There is one place where you need to use gtk_style_context_save(), though: when using “theme colors”.  The function gtk_style_context_get_color() will warn when you pass a state other than the current state of the context. To avoid the warning, save the context and set the state:

gtk_style_context_save (context); gtk_style_context_set_state (context, state); gtk_style_context_get_color (context, state, &color); gtk_style_context_restore (context);

And yes, it has been pointed out repeatedly that this change makes the state parameter of gtk_style_context_get_color() and similar functions largely useless – this API has been around sinc e 3.0, when the CSS machinery was much less developed than it is now. Back then, passing in a different state was not a problem (because animations were not really supported).

Another word of caution about  “theme colors”: CSS has no concept of foreground/background color pairs. The CSS background is just an image, which is why gtk_style_context_get_background_color() is deprecated and we cannot generally make it return a useful color. The proper way to have a theme-provided background in a widget is to call gtk_widget_render_background() in your draw() function.

If you are using type names of GTK+ widgets in your CSS, look up the element names in the documentation and use them instead. For your own widgets, use gtk_widget_class_set_css_name() to give them an element name, and use it in the CSS.

A problem that we’ve seen in some applications is the interaction between size_allocate() and draw(). GTK+’s CSS boxes need to know their size before they can draw. If you derive from a GTK+ widget and override size_allocate without chaining up, then GTK+ does not get a chance to assign sizes to the boxes. This will lead to critical warnings from GTK+’s draw() function if you don’t override it. The possible solutions to this problem are either to chain up in size_allocate or to provide your own draw implementation.

If you are using GTK+ just for themed drawing without using GTK+ widgets, you probably need to make some changes in the way you are getting theme information. We have added a foreing drawing example to gtk3-demo that shows how this can be done. The example was written with the help of libreoffice and firefox developers, and we intend to keep it up-to-date to ensure that this use case is not neglected.

A plea

If you are maintaining a GTK+ application (in particular, a big one like, say, inkscape), and you are looking at porting from GTK+ 2 to GTK+ 3, or updating it to keep up with the changes in 3.20, please let us know about the issues you find. Such feedback will be useful input for us when we get together for a GTK+ hackfest in a few weeks.

Whats coming

One of the big incoming changes for 3.22 is a GL-based renderer and scene graph. Emmanuele has been working on this on-and-off for quite a while – you may have seen some of his earlier presentations. Together with the recent merge of (copies of) clutter and cogl into mutter, this will put clutter on the path towards retirement.

 

White House Releases Report On How To Spur Smart-Gun Technology

Slashdot.org - Sht, 30/04/2016 - 4:24pd
Lucas123 writes: A report commissioned by the White House involving the Defense, Justice and Homeland Security Departments has begun a process to define, for the first time, the requirements that manufacturers would need to meet for federal, state, and municipal law enforcement agencies to consider purchasing firearms with "smart" safety technology. They've committed to completing that process by October, and will also identify agencies interested in taking part in a pilot program to develop the smart gun technology. The DoD will help manufacturers test smart guns under "real-world conditions" at the U.S. Army Aberdeen Test Center in Maryland. Manufacturers would be eligible to win cash prizes through that program as well. In addition to spurring the adoption of smart gun technology, the report stated that the Social Security Administration has published a proposed rule that would require individuals prohibited from buying a gun due to mental health issues to be included in a background check system.

Read more of this story at Slashdot.

US Steel Says China Is Using Cyber Stealth To Steal Its Secrets

Slashdot.org - Sht, 30/04/2016 - 3:41pd
An anonymous reader writes: U.S. Steel Corp. filed a trade complaint with the International Trade Commission: "The Chinese industry has formed a cartel that sets purchase and sale prices, and controls production and export volumes to target export markets. The Chinese industry has used its government to steal U.S. Steel's closely guarded trade secrets and uses those trade secrets to produce advanced steel products it could not make on its own." The steelmaker based in Pittsburgh argues its Chinese rivals must be investigated and that they will "use every tool available to fight for fair trade." The ITC has 30 days to review the complaint and determine whether or not it's worth investigating. In the meantime, China's Commerce Ministry said the complaints "have no factual basis," urging the ITC to reject U.S. Steel's case. The investigation will likely take a while if the ITC decides to proceed with an investigation, as they'll be dealing with three separate issues: price fixing, false labeling to avoid duties, and theft of trade secrets.

Read more of this story at Slashdot.

Devuan Releases Beta of Systemd-Free 'Debian Fork' Base System

Slashdot.org - Sht, 30/04/2016 - 2:57pd
jaromil writes: Devuan beta is released today, following up the Debian fork declaration and progress made during the past two years. Devuan now provides an alternative upgrade path to Debian, and switching is easy from both Wheezy and Jessie. From The Register: "Devuan came into being after a rebellion by a self-described 'Veteran Unix Admin collective' argued that Debian had betrayed its roots and was becoming too desktop-oriented. The item to which they objected most vigorously was the inclusion of the systemd bootloader. The rebels therefore decided to fork Debian and 'preserve Init freedom.' The group renamed itself and its distribution 'Devuan' and got work, promising a fork that looked, felt, and quacked like Debian in all regards other than imposing systemd as the default Init option."

Read more of this story at Slashdot.

Billionaire Investor Carl Icahn Sells Entire Stake In Apple

Slashdot.org - Sht, 30/04/2016 - 2:13pd
An anonymous reader writes: Billionaire activist investor Carl Icahn said he has sold his entire stake in Apple, citing the risk of China's influence on the stock. The report comes after Apple announced its first earnings decline in more than a decade, where Apple's revenue is dropping 26% year-over-year. Icahn is concerned with the barriers to trade that China's authoritarian regime might put in place. Icahn said he wasn't concerned with interference so much with the country's "relationship" with Apple. "The thing that I'm worried about here in China doesn't affect the whole market. I'm not talking about China's economic status right now. I'm talking about, could the thing with Apple escalate a little bit? And if that does, what does that mean to Apple's profits during the interim?" Icahn acquired a stake in the company almost three years ago, calling the investment a "no brainer." What caused him to sell his 45.8 million Apple shares (priced at $240 a share) was China's economic slowdown and worries about how China could become more prohibitive in doing business.

Read more of this story at Slashdot.

Google Files Patent For Injecting A Device Directly Into Your Eyeball

Slashdot.org - Sht, 30/04/2016 - 1:30pd
An anonymous reader writes: It's no secret Google and their parent company Alphabet are interested in developing smart contact lenses for monitoring diabetes. Well, Google-parent Alphabet has filed a patent which takes their development to another level. The patent specifically covers a method for "injecting a fluid into a lens capsule of an eye, wherein a natural lens of the eye has been removed from the lens capsule." It's powered by "radio frequency energy" received by a small antenna inside. The gadget even has its own data storage. Forbes reports, it is designed to help the focusing of light onto the retina, resulting in the correction of poor vision. Samsung is one of the most recent companies to receive a patent for smart contact lenses. Their lenses are for experimenting with new methods of delivering augmented reality interfaces and data.

Read more of this story at Slashdot.

Cable Industry Threatens To Sue If FCC Tries To Bring Competition To Cable Set Top Boxes

Slashdot.org - Sht, 30/04/2016 - 12:50pd
An anonymous reader quotes a report from Techdirt: Back in February the FCC voted on a new plan to open up the traditional cable box to competition. According to a fact sheet being circulated by the agency (pdf), under the FCC's plan you'd still pay your cable company for the exact same content, cable operators would simply have to design systems -- using standards and copy protection of their choice -- that delivered this content to third-party hardware. The FCC's goal is cheaper, better hardware and a shift away from the insular gatekeeper model the cable box has long protected. Given this would obliterate a $21 billion captive market in set top box rental fees -- and likely direct consumers to more third-party streaming services -- the cable industry has been engaged in an utterly adorable new hissy fit. And now, the industry is also threatening a lawsuit. Former FCC boss turned top cable lobbyist Michael Powell is arguing that the FCC has once again overstepped its regulatory authority: "An agency of limited jurisdiction has to act properly within that jurisdiction," Powell said, making it abundantly clear the NCTA does not believe the FCC has not done so in this case. He said that the statute empowers the FCC to create competition in navigation devices, not new services. "Every problem does not empower an FCC-directed solution. The agency is not an agency with unbridled plenary power to roam around markets and decide to go fix inconveniences everywhere they find them irrespective of the bounds of their authority."

Read more of this story at Slashdot.

Rovi Acquires DVR Company TiVo For $1.1 Billion

Slashdot.org - Sht, 30/04/2016 - 12:20pd
Major Blud writes: TiVo, maker of one of the first consumer DVR's, has been purchased by IP powerhouse Rovi (formerly known as Macrovision) for $1.1 Billion. The combined company will go by the TiVo name. According to USA Today, "Shares of Rovi (ROVI) were up 3.7% to $17.99 in premarket trading. TiVo (TIVO) shares closed Thursday up 2% to $9.42." The combined company will reportedly hold more than 6,000 patents related to TV and video technology. Both Robi and TiVo represent a $3 billion entertainment technology company, with saving synergies of $100 million expected over the first year, the companies said.

Read more of this story at Slashdot.

Intel Cuts Atom Chips, Basically Giving Up On Smartphone and Tablet Market

Slashdot.org - Pre, 29/04/2016 - 11:50md
Intel, the marquee PC chipmaker, has long struggled to get a foothold in the smartphone market. The company, which was late in joining the mobile platform, is still playing catchup with Qualcomm and MediaTek. And it appears it's finally giving up on this ambition. The company is "immediately canceling" Atom chips, code-named Sofia and Broxton, for mobile devices, reports PCWorld, citing a company's spokesperson. The publication reports:Intel's mobile chip roadmap now has a giant hole after the cancellation of the chips. Intel's existing smartphone and tablet-only chips are aging and due for upgrades, and no major replacements are in sight. Sofia is already shipping, and Broxton was due to ship this year but had been delayed. Intel is also discontinuing its Atom X5 line of tablet chips code-named Cherry Trail, which is being replaced by Pentium and Celeron chips code-named Apollo Lake, aimed more at hybrids than pure tablets. Many PC makers are already choosing Intel's Skylake Core M processors over Cherry Trail for hybrids and PC-like tablets.The announcement comes days after its CEO outlined the company's future vision, and a week after the chipmaker let go 12,000 people.

Read more of this story at Slashdot.

Faqet

Subscribe to AlbLinux agreguesi - Site në gjuhë të huaj