You are here

Site në gjuhë të huaj

Christian Hergert: Builder Progress Update

Planet GNOME - Enj, 18/12/2014 - 12:54md

It's been a while since I've had the pleasure of updating everyone. Those that follow my twitter @hergertme get the daily updates and screenshots as they happen.

This is going to be a sort of long post, but it's filled with screenshots. I hope you enjoy keeping track of Builder as much as I enjoy creating it.

Editor

The editor has gone through a major facelift since you last saw it. I knew early on that tabs were not going to be a good interaction for our desired use case. But I had to start somewhere. Using Builder to build Builder was an important goal of mine.

No More Tabs

In the screenshot below, you'll see that we are no longer using tabs for managing documents.

Like a web browser, it's common for some of us to have ten or twenty documents open at any given time. Navigating this with tabs is simply more effort than it's worth. You can't see the tab label and jumping to them with an <Alt>Number accelerator doesn't work when you see documents twelve through twenty in the tab strip.

Keep in mind that in the future, we will add some accelerators to help move between frequently edited documents.

Document Switching

We like to borrow from other editors where it makes sense. That's why we have a decent VIM mode for the editor. This time, however, we decided to add a feature that is a bit closer to emacs.

Behind the scenes, is the document manager. It is responsible for tracking all of the open buffers in Builder.

We've tied that into the menu button above the editor so you can switch between open buffers. Buffers that have been modified are denoted with a dot after the document title.

Split Views

Another feature, grown out of the document manager, the ability to have split views. We abstracted creating a view for the document so that we can have multiple views into the same buffer. We still need to do some work here so that the insert mark is not lost between focus changes. It's all doable, we just need to spend time to get the details perfect.

Fear not, you can do vertical splits too. I tried having the titlebar duplicated for vertical splits, but it felt rather jarring and clunky. Therefore, we limit vertical splits to a single buffer.

Editor Setting Overrides

Occasionally you might find yourself needing to change the editor settings for a specific file. You don't want to change the defaults for the language (in Preferences) because that is slow and annoying. So this week I introduced the editor tweak popover. You can use it to change a few of the those common settings without leaving your document.

Editor Markdown

The new split and abstracted document design works well with markdown. In fact, I'm writing this document using the live preview. We are still using markdown parser from GNOME Software, so it is a bit limited in what it supports. It would be nice if someone provided patches to use CommonMark.

Editor HTML

Just like markdown, you have live preview with HTML. If you do web stuff and you want to use Builder for such work, best to tell me what you want.

Editor Code Assistance

Thankfully we don't have to go reinvent source parsers and diagnostics tools. gnome-code-assistance already does the heavy lifting for us here. So we made the choice early on to reuse as much of that as we can. Also, I hope to add some more services to GCA so they can be reused from Gedit. For example, I think it makes sense for our auto-completion engine to live there since it already has access to the parser and AST.

Code assistance works for Python too. It should for anything that GNOME Code Assistance diagnostics engine supports. So in other words, go help them and make all our projects better.

Editor State Tracking

We now keep track of the buffer's file on disk similar to Gedit. If the buffer was modified outside of the application you are notified the next time the widget is focused.

Closing Modified Documents

If you try to close modified documents, we will nag you now with a dialog lifted right from Gedit.

Editor Search

Search within the editor is looking pretty good these days.

Style Schemes

I created a style scheme just for Builder that feels very blueprint-like. It comes in two modes, a light and dark variant. Neither are finished (in fact I only made the dark variant today). But I've been pretty happy with the light theme the last couple of weeks.

Preferences

The preferences window got some work too.

Preferences Searching

Searching the preferences window now works. Tweaks that do not match your search query are hidden from view. This will look familiar to many of you, I copied the design from GNOME Tweak Tool, but lots of IDE's do this.

Style Scheme Selector

I made a fancy style scheme selector widget for editor styling. It could use some work, but I think it's easier than the try, look at editor, go back to preferences cycle people are used to.

Global Search

Global search is in it's infancy. I just started on it the other day, mostly getting plumbing in place. I'll continue using it the next week or two so I get a feel of what works and what doesn't. After that, I'll make a bunch of changes and then start pushing that forward faster.

Command Bar

The FireFox-style command bar is in place. You can use it to execute actions (and even pass GVariant parameters) that are defined in the application.

It's very handy, I'll often run :save while in VIM mode. : will focus the command bar just like in VIM. save is the GAction we are executing.

As you might guess, you can even execute some VIM commands from this bar (when in VIM mode). Try something like :colorscheme tango or :%s/foo/bar/g.

Alex Larsson added tab completion to the command bar a few weeks ago.

Roll the Credits!

I wanted to create something special for those that choose to support me financially while I write Builder. The campaign will start very, very soon. Everyone that donates will get their name in the credits (among some other totally awesome perks).

I wanted to create a movie style credits widget. It was a fun bit of animation hacking.

Startup Helps You Build Your Very Own Picosatellite On a Budget

Slashdot.org - Enj, 18/12/2014 - 11:31pd
Zothecula writes A Glasgow-based startup is reducing the cost of access to space by offering "satellite kits" that make it easier for space enthusiasts, high schools and universities alike to build a small but functional satellite for as little as US$6,000 and then, thanks to its very small size, to launch for significantly less than the popular CubeSats.

Read more of this story at Slashdot.








Mario Lang: deluXbreed #2 is out!

Planet Debian - Enj, 18/12/2014 - 10:47pd

The third installment of my crossbreed digital mix podcast is out!

This time, I am featuring Harder & Louder and tracks from Behind the Machine and the recently released Remixes.

  1. Apolloud - Nagazaki
  2. Apolloud - Hiroshima
  3. SA+AN - Darksiders
  4. Im Colapsed - Cleaning 8
  5. Micromakine & Switch Technique - Ascension
  6. Micromakine - Cyberman (Dither Remix)
  7. Micromakine - So Good! (Synapse Remix)
How was DarkCast born and how is it done?

I always loved 175BPM music. It is an old thing that is not going away soon :-). I recently found that there is a quite active culture going on, at least on BandCamp. But single tracks are just that, not really fun to listen to in my opinion. This sort of music needs to be mixed to be fun. In the past, I used to have most tracks I like/love as vinyl, so I did some real-world vinyl mixing myself. But these days, most fun music is only available digitally, at least easily. Some people still do vinyl releases, but they are actually rare.

So for my personal enjoyment, I started to digitally mix tracks I really love, such that I can listen to them without "interruption". And since I am an iOS user since three years now, using the podcast format to get stuff onto my devices was quite a natural choice.

I use SoX and a very small shell script to create these mixes. Here is a pseudo-template:

sox --combine mix-power \ "|sox \"|sox 1.flac -p\" \"|sox 3.flac -p speed 0.987 delay 2:28.31 2:28.31\" -p" \ "|sox \"|sox 2.flac -p delay 2:34.1 2:34.1\" -p" \ mix.flac

As you can imagine, it is quite a bit of fiddling to get these scripts to do what you want. But it is a non-graphical method to get things done. If you know of a better tool, possibly with a bit of real-time controls, to get the same job done, wihtout having to resort to a damn GUI, let me know.

Segmenting for security: Five steps to protect your network

LinuxSecurity.com - Enj, 18/12/2014 - 10:07pd
LinuxSecurity.com: Relying on a DMZ to protect your network and data is like putting money in a bank that depends on one guard and a single gate to secure its deposits. Imagine how tempting all those piles of money would be to those who had access - and how keen everyone else would be to obtain access.

The Difference Between Wi-Fi Security Protocols: WPA2-AES vs WPA2-TKIP

LinuxSecurity.com - Enj, 18/12/2014 - 10:05pd
LinuxSecurity.com: Setting up encryption on your wireless router is one of the most important things you can do for your network security, but your router probably offers various different options-WPA2-PSK (TKIP), WPA2-PSK (AES), and WPA2-PSK (TKIP/AES) among the alphabet soup. How-To Geek explains which one to choose for a faster, more secure home network.

RFID-Blocking Blazer and Jeans Could Stop Wireless Identity Theft

Slashdot.org - Enj, 18/12/2014 - 9:01pd
An anonymous reader writes A pair of trousers and blazer have been developed by San Francisco-based clothing company Betabrand and anti-virus group Norton that are able to prevent identity theft by blocking wireless signals. The READY Active Jeans and the Work-It Blazer contain RFID-blocking fabric within the pockets' lining designed to prevent hacking through radio frequency identification (RFID) signals emitted from e-passports and contactless payment card chips. According to the clothing brand, this form of hacking is an increasing threat, with "more than 10 million identities digitally pick pocketed every year [and] 70% of all credit cards vulnerable to such attacks by 2015."

Read more of this story at Slashdot.








Terrestrial Gamma Ray Bursts Very Common

Slashdot.org - Enj, 18/12/2014 - 6:28pd
Rambo Tribble writes It was long thought that gamma ray bursts were the exclusive province of deep space sources. More recently it was found that storms could produce such emissions, but such occurrences were thought rare. Now, data from NASA's Fermi satellite suggest such events happen over a thousand times a day. Per Prof. Joseph Dwyer, from the University of New Hampshire, "These are big, monster bursts of gamma rays, and one would think these must be monster storms producing them. But that's not the case. Even boring-looking, garden-variety, little storms can produce these."

Read more of this story at Slashdot.








Over 9,000 PCs In Australia Infected By TorrentLocker Ransomware

Slashdot.org - Enj, 18/12/2014 - 4:04pd
First time accepted submitter River Tam writes Cybercriminals behind the TorrenLocker malware may have earned as much as $585,000 over several months from 39,000 PC infections worldwide, of which over 9,000 were from Australia. If you're a Windows user in Australia who's had their files encrypted by hackers after visiting a bogus Australia Post website, chances are you were infected by TorrentLocker and may have contributed to the tens of thousands of dollars likely to have come from Australia due to this digital shakedown racket.

Read more of this story at Slashdot.








Over 9,000 PCs In Australia Infected By TorrentLocker Ransomware

Slashdot.org - Enj, 18/12/2014 - 4:04pd
First time accepted submitter River Tam writes Cybercriminals behind the TorrenLocker malware may have earned as much as $585,000 over several months from 39,000 PC infections worldwide, of which over 9,000 were from Australia. If you're a Windows user in Australia who's had their files encrypted by hackers after visiting a bogus Australia Post website, chances are you were infected by TorrentLocker and may have contributed to the tens of thousands of dollars likely to have come from Australia due to this digital shakedown racket.

Read more of this story at Slashdot.








Randall Ross: The Future is Open, and It's POWERful

Planet UBUNTU - Enj, 18/12/2014 - 2:31pd

Are you content with the status quo in technology? I'm not.

Years ago, I became aware of this little known (at the time) project called "Ubuntu". Remember it?

I don't know about you, but once I discovered Ubuntu and became involved I was so excited about the future it proposed that I never looked back.

Aside from Ubuntu's "approachable by everyone" and "free forever" project DNA, one of the things that really attracted me to it was that it had the guts to take on the status quo. I believed (and I still believe) that the status quo needs a good disruption. Complacency and doing things "as they always have been" just plain hurts.

In those days, the status quo was proprietary software and well-meaning but inpenetrable (to the everyday person that just wanted to get things done) free and open source software. I'm happy that we've collectively solved the toughest parts of those problems. Sure, there are still issues to be resolved but as they say, that's mostly detail.

Fast forward to today. Now, we are faced with a hosting (or call it cloud infrastructure if you wish) hardware landscape that is nearly a perfect monopoly and is so tightly locked down that we can't solve the world's big problems.

Spotting an opportunity to create something better and to change the world, a bunch of people rallied together to create

Click to learn more!

Not surprisingly, Ubuntu joined and became a partner early on. And today, another one of the most famous disruptors has joined: Rackspace. In their words,

"In the world of servers, it’s getting harder and more costly to deliver the generational performance and efficiency gains that we used to take for granted. There are increasing limitations in both the basic materials we use, and the way we design and integrate our systems."

So here we are. Ubuntu, Rackspace, and dozens of others poised once again to disrupt.

It's going to be an interesting and fun ride. 2015 is poised to be the year that the world woke up to the true power of open.

I'm looking forward to it, and I hope you are too. Please join us!

Google Proposes To Warn People About Non-SSL Web Sites

Slashdot.org - Enj, 18/12/2014 - 2:11pd
mrspoonsi writes The proposal was made by the Google developers working on the search firm's Chrome browser. The proposal to mark HTTP connections as non-secure was made in a message posted to the Chrome development website by Google engineers working on the firm's browser. If implemented, the developers wrote, the change would mean that a warning would pop-up when people visited a site that used only HTTP to notify them that such a connection "provides no data security". Currently only about 33% of websites use HTTPS, according to statistics gathered by the Trustworthy Internet Movement which monitors the way sites use more secure browsing technologies. In addition, since September Google has prioritised HTTPS sites in its search rankings.

Read more of this story at Slashdot.








Startup Magic Leap Hires Sci-Fi Writer Neal Stephenson As Chief Futurist

Slashdot.org - Enj, 18/12/2014 - 1:36pd
First time accepted submitter giulioprisco writes Magic Leap, a secretive Florida augmented reality startup that raised $542 million in October, hired renowned science fiction writer Neal Stephenson as its "Chief Futurist." Stephenson offers hints at the company's technology and philosophy: "Magic Leap is bringing physics, biology, code, and design together to build a system that is going to blow doors open for people who create things." According to the Magic Leap website, their Dynamic Digitized Lightfield Signal technology permits generating images indistinguishable from real objects.

Read more of this story at Slashdot.








Navy Develops a Shark Drone For Surveillance

Slashdot.org - Enj, 18/12/2014 - 12:51pd
An anonymous reader writes The Navy is testing a new underwater drone called GhostSwimmer, which is designed to a href="https://www.yahoo.com/tech/navy-develops-ghostswimmer-drone-that-looks-like-105375377914.html">look like a shark and conduct surveillance work. It is being adapted by the chief of naval operations' Rapid Innovation Cell (CRIC) project, Silent NEMO, in Norfolk, Va.. GhostSwimmer is 5 feet long and weighs almost 100 pounds. It can operate in water depths from 10 inches to 300 feet, and is designed to operate autonomously for long periods of time, according to the Navy.

Read more of this story at Slashdot.








Google Strikes Deal With Verizon To Reduce Patent Troll Suits

Slashdot.org - Enj, 18/12/2014 - 12:05pd
mpicpp writes Google Inc. and Verizon Communications Inc. struck a long-term patent cross-license agreement to reduce the risk of future patent lawsuits, the latest in a string of deals that signal a slowdown after years of aggressive patent wars. The deal effectively bars the companies from suing each other over any of the thousands of patents the companies currently own or acquire in the next five years. It also protects the companies if either sells a patent to another company, and that company attempts a lawsuit. "This cross license allows both companies to focus on delivering great products and services to consumers around the world," said Kirk Dailey, Google's head of patent transactions.

Read more of this story at Slashdot.








Gregor Herrmann: GDAC 2014/17

Planet Debian - Mër, 17/12/2014 - 11:30md

my list of IRC channels (& the list of people I'm following on micro-blogging platforms) has a heavy debian bias. a thing I noticed today is that I had read (or at least: seen) messages in 6 languages (English, German, Castilian, Catalan, French, Italian). – thanks guys for the free language courses :) (& the opportunity to at least catch a glimpse into other cultures)

this posting is part of GDAC (gregoa's debian advent calendar), a project to show the bright side of debian & why it's fun for me to contribute.

Top Five Theaters Won't Show "The Interview" Sony Cancels Release

Slashdot.org - Mër, 17/12/2014 - 11:23md
tobiasly writes The country's top five theater chains — Regal Entertainment, AMC Entertainment, Cinemark, Carmike Cinemas and Cineplex Entertainment — have decided not to play Sony's The Interview. This comes after the group which carried off a massive breach of its networks threatened to carry out "9/11-style attacks" on theaters that showed the film. Update: Sony has announced that it has cancelled the planned December 25 theatrical release.

Read more of this story at Slashdot.








NASA Tests Feasibility of 3D Printing on the Moon and Other Planets

Slashdot.org - Mër, 17/12/2014 - 10:40md
ErnieKey writes A major application of 3d printing that could revolutionize space travel would be using 3d printers to create structures on non-terrestrial bodies like the moon, other planets, and even asteroids. Researchers from NASA's Kennedy Space Center have been working to develop solutions to materials issues, and recently presented initial findings on the potential for using in-situ materials like basalt for 3D printing. Their innovative method is based on only using in-situ supplies, and not materials that need to be brought into space.

Read more of this story at Slashdot.








Book Review: Build Your Own Website: A Comic Guide to HTML, CSS, and WordPress

Slashdot.org - Mër, 17/12/2014 - 9:58md
MassDosage writes "At the the risk of exposing my age I remember building my first website using a rudimentary Unix text editor (Joe) and carefully handcrafting the Hypertext Markup Language (HTML) while directly logged on to the web server it was being served from. Back then Cascading Style Sheets (CSS) weren't even a glint in the eyes of their creators. A lot has changed and there's now a world of fancy WYSIWYG web page editors to choose from as well as Content Management Systems that allow you to create websites without looking at the underlying code at all. While this is all very useful and allows less technical people to create websites I still feel that having at least some knowledge of how everything works under the hood is empowering — especially in situations where you want to go beyond the limits placed on you by a certain tool. This is where Build Your Own Website: A comic guide to HTML, CSS and Wordpress comes into the picture. Its aim is to enable people new to web development to learn the subject by teaching the fundamentals of HTML and CSS first and only then describing how to use a Content Management System (CMS) — in this case Wordpress. While Wordpress might not be everyone's kettle of fish it's a good choice as an example of a modern CMS that is easily accessible and very popular. The concepts presented are simple enough that it should be easy enough for a reader to apply them to a different CMS should they want to. Read below for The rest of MassDosage's review.

Read more of this story at Slashdot.








Richard Hughes: Actually shipping AppStream metadata in the repodata

Planet GNOME - Mër, 17/12/2014 - 9:54md

For the last couple of releases Fedora has been shipping the appstream metadata in a package. First it was the gnome-software package, but this wasn’t an awesome dep for KDE applications like Apper and was a pain to keep updated. We then moved the data to an appstream-data package, but this was just as much of a hack that was slightly more palatable for KDE. What I’ve wanted for a long time is to actually ship the metadata as metadata, i.e. next to the other files like primary.xml.gz on the mirrors.

I’ve just pushed the final patches to libhif, PackageKit and appstream-glib, which that means if you ship metadata of type appstream and appstream-icons in repomd.xml then they get downloaded automatically and decompressed into the right place so that gnome-software and apper can use the data magically.

I had not worked on this much before, as appstream-builder (which actually produces the two AppStream files) wasn’t suitable for the Fedora builders for two reasons:

  • Even just processing the changed packages, it took a lot of CPU, memory, and thus time.
  • Downloading screenshots from random websites all over the internet wasn’t something that a build server can do.

So, createrepo_c and modifyrepo_c to the rescue. This is what I’m currently doing for the Utopia repo.

createrepo_c --no-database x86_64/ createrepo_c --no-database SRPMS/ modifyrepo_c \ --no-compress \ /tmp/asb-md/appstream.xml.gz \ x86_64/repodata/ modifyrepo_c \ --no-compress \ /tmp/asb-md/appstream-icons.tar.gz \ x86_64/repodata/

If you actually do want to create the metadata on the build server, this is what I use for Utopia:

appstream-builder \ --api-version=0.8 \ --origin=utopia \ --cache-dir=/tmp/asb-cache \ --enable-hidpi \ --max-threads=4 \ --min-icon-size=48 \ --output-dir=/tmp/asb-md \ --packages-dir=x86_64/ \ --temp-dir=/tmp/asb-icons \ --screenshot-uri=http://people.freedesktop.org/~hughsient/fedora/21/screenshots/

For Fedora, I’m going to suggest getting the data files from alt.fedoraproject.org during compose. It’s not ideal as it still needs a separate server to build them on (currently sitting in the corner of my office) but gets us a step closer to what we want. Comments, as always, welcome.

Research Highlights How AI Sees and How It Knows What It's Looking At

Slashdot.org - Mër, 17/12/2014 - 9:16md
anguyen8 writes Deep neural networks (DNNs) trained with Deep Learning have recently produced mind-blowing results in a variety of pattern-recognition tasks, most notably speech recognition, language translation, and recognizing objects in images, where they now perform at near-human levels. But do they see the same way we do? Nope. Researchers recently found that it is easy to produce images that are completely unrecognizable to humans, but that DNNs classify with near-certainty as everyday objects. For example, DNNs look at TV static and declare with 99.99% confidence it is a school bus. An evolutionary algorithm produced the synthetic images by generating pictures and selecting for those that a DNN believed to be an object (i.e. "survival of the school-bus-iest"). The resulting computer-generated images look like modern, abstract art. The pictures also help reveal what DNNs learn to care about when recognizing objects (e.g. a school bus is alternating yellow and black lines, but does not need to have a windshield or wheels), shedding light into the inner workings of these DNN black boxes.

Read more of this story at Slashdot.








Faqet

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