ad

ADATA SE800 Portable SSD 1 TB

The ADATA SE800 is an NVMe based external SSD, which means it offers much better performance than earlier external storage. In our testing we saw speeds up to 1 GB/s, that, paired with 1 TB capacity on the SE800 make it an excellent choice if you want to move a lot of data around.... [PCSTATS]



  • Hard Drives/SSD

ad

Razer Kraken Ultimate Gaming Headset Review

"About a year ago we took a look at Razer�s Kraken Tournament Edition headset, which we really did enjoy. It was however designed for professional gamers, hence the name �Tournament Edition�. For those looking for a more polished home solution Razer has the new Kraken Ultimate Edition. This sits as their flagship Kraken gaming headset and brings al... [PCSTATS]




ad

AMD Computing Roadmap 2020 by Mark Papermaster

At AMD Financial Analyst Day 2020, Mark Papermaster unveiled the AMD computing roadmap for 2020 and beyond. Check it out!... [PCSTATS]



  • Computer / SFF PCs

ad

Creative SXFI AIR C Headphones Review

" After re-creating our profile in the SXFI mobile application, we went on and watched several TV shows such as Star Trek: Picard, Better Call Saul and Altered Carbon. The EQ was left on neutral and we were quite surprised by the quality of the surround sound delivered by the product, same basically as the one found with the SXFI THEATER. SXFI AIR ... [PCSTATS]




ad

RIOTORO Aviator Classic Gaming Headset Review

Riotoro just released their very first 7.1 virtual surround sound gaming headset called the Aviator Classic and today it�s up to us to put it to the test. ... [PCSTATS]




ad

Fnatic React Gaming Headset

Fnatic React is the first gaming headset released by this world-famous esports brand. It's a simple analog headset with no extra features or gimmicks. It is laser-focused on what's important: sound and microphone quality, as well as wearing comfort.... [PCSTATS]




ad

Threadripper 3990X TRX40 VRM Torture Test

Today we're going to perform some AMD TRX40 motherboard VRM thermal testing using the powerful 64-core Threadripper 3990X. To apply load we're using Blender with the system running at stock and overclocked to 3.8 GHz. The typical power draw for this system is around 450 watts, but once overclocked we are hitting as much as 850 watts. Toasty!... [PCSTATS]




ad

Should Feed Readers Count Unread Items?

Brent Simmons, the developer of the NetNewsWire RSS reader, is questioning his decision to put an unread count next to each feed, reasoning that it encourages people to be too obsessive about reading every item:

Instead of a dozen bookmarks, people had a hundred feeds. Or two hundred. Or two thousand.

And there was a tyranny behind keeping track of unread items and showing an unread count. People reacted in different ways, but many people felt like they always had to go through everything.

Including me. To this day.

I did not know this was going to happen. That was not the idea: it was a side effect of reasonable (at the time) choices.

I like seeing these counts on feeds where I need to read all items that are posted, but that's only a small percentage of the 100-120 feeds I follow. It would be nice to turn that off for others I read more casually.

Feedly presents unread counts on each feed and folder of feeds. There's a Mark As Read button to clear a count, but when you click it, the confirmation dialog acts like it's an extremely consequential decision: "Are you sure you want to mark this entire source as read? This operation cannot be undone."

I've posed a question on the RSS-Public mailing list: Do you think feed readers should count unread items?




ad

How to Read an RSS Feed with PHP Using SimplePie

If you need to load an RSS feed with the PHP programming language, the open source library SimplePie greatly simplifies the process of pulling in items from a feed to present on a website, store in a database or do something else coooool with the data. There's a full installation guide for SimplePie but you can skip it with just three steps:

  1. Download SimplePie 1.5.
  2. Copy the file autoloader.php and the folder library to a folder that's accessible from your PHP code.
  3. Make note of this folder; you'll be using require_once() to load autoloader.php from that location.

SimplePie has been designed to work the same regardless a feed's format. It supports RSS 2.0, RSS 1.0, Atom and the earlier versions of RSS. Additionally it can read feed elements from nine namespaces.

Here's PHP code that loads feed items from the news site Techdirt and displays them in HTML:

// load the SimplePie library
require_once('/var/www/libraries/simplepie-1.5/autoloader.php');

// load the feed
$feed = new SimplePie();
$feed->set_feed_url('https://www.techdirt.com/feed/');
$feed->init();
$feed->handle_content_type();

// create the output
$html_output = '';
foreach ($feed->get_items() as $item) {
  $html_output .= '<p><a href="' . $item->get_link() . '">' . $item->get_title() . '</a></p>';
  $html_output .= $item->get_description();
  $html_output .= '<p>By ' . $item->get_author(0)->get_name() . ', ' . $item->get_date();
}

// display the output
ECHO <<<END
$html_output
END;

The API documentation for SimplePie_Item lists the functions that can extract data from each feed item. The versatility of the library is demonstrated by get_authors(), which can retrieve an item's authorship information whether it was in the RSS author element, Dublin Core creator, iTunes author, or Atom author.

SimplePie supports caching so that a feed isn't downloaded every time code is executed. The addition of these lines turns on caching, specifies the location of a cache folder and sets the time to use a cached version to four hours (14,400 seconds):

$feed->set_cache_location('/var/www/cache/');
$feed->set_cache_duration(14400);
$feed->enable_cache();

SimplePie was created by RSS Advisory Board member Ryan Parman, Geoffrey Sneddon and Ryan McCue. The project is currently maintained on GitHub by Malcom Blaney.




ad

Has the RSS Advisory Board Followed the Roadmap?

There has been recent discussion about the roadmap that was added to the RSS 2.0 specification in August 2002 announcing that there would be no new additions to RSS, freezing its set of elements and attributes forever and ever amen. The roadmap stated, "We anticipate possible 2.0.2 or 2.0.3 versions, etc. only for the purpose of clarifying the specification, not for adding new features to the format."

The RSS Advisory Board was formed 20 years ago to publish the specification and "make minor changes to the spec per the roadmap," as stated in the launch announcement on July 18, 2003.

If you're wondering whether the board has followed the roadmap, this timeline of RSS elements answers that question. There are 44 elements in RSS. This table shows when each element was introduced, the group that added it, and the version in which it first appeared.

There were 33 elements added to RSS by Netscape in 1999 and 11 by UserLand from 2000 to 2002. No elements have been added by the RSS Advisory Board.

ElementDate AddedPublisherVersion
channel03/1999NetscapeRSS 0.90
channel-description03/1999NetscapeRSS 0.90
channel-link03/1999NetscapeRSS 0.90
channel-title03/1999NetscapeRSS 0.90
channel-image03/1999NetscapeRSS 0.90
channel-image-link03/1999NetscapeRSS 0.90
channel-image-title03/1999NetscapeRSS 0.90
channel-image-url03/1999NetscapeRSS 0.90
channel-textInput03/1999NetscapeRSS 0.90
channel-textInput-description03/1999NetscapeRSS 0.90
channel-textInput-link03/1999NetscapeRSS 0.90
channel-textInput-name03/1999NetscapeRSS 0.90
channel-textInput-title03/1999NetscapeRSS 0.90
channel-item03/1999NetscapeRSS 0.90
channel-item-link03/1999NetscapeRSS 0.90
channel-item-title03/1999NetscapeRSS 0.90
rss07/1999NetscapeRSS 0.91
channel-copyright07/1999NetscapeRSS 0.91
channel-docs07/1999NetscapeRSS 0.91
channel-image-description07/1999NetscapeRSS 0.91
channel-image-height07/1999NetscapeRSS 0.91
channel-image-width07/1999NetscapeRSS 0.91
channel-language07/1999NetscapeRSS 0.91
channel-lastBuildDate07/1999NetscapeRSS 0.91
channel-managingEditor07/1999NetscapeRSS 0.91
channel-pubDate07/1999NetscapeRSS 0.91
channel-rating07/1999NetscapeRSS 0.91
channel-skipDays07/1999NetscapeRSS 0.91
channel-skipDays-day07/1999NetscapeRSS 0.91
channel-skipHours07/1999NetscapeRSS 0.91
channel-skipHours-hour07/1999NetscapeRSS 0.91
channel-webMaster07/1999NetscapeRSS 0.91
channel-item-description07/1999NetscapeRSS 0.91
channel-cloud12/2000UserLandRSS 0.92
channel-item-category12/2000UserLandRSS 0.92
channel-item-enclosure12/2000UserLandRSS 0.92
channel-item-source12/2000UserLandRSS 0.92
channel-category08/2002UserLandRSS 2.0
channel-generator08/2002UserLandRSS 2.0
channel-ttl08/2002UserLandRSS 2.0
channel-item-author08/2002UserLandRSS 2.0
channel-item-comments08/2002UserLandRSS 2.0
channel-item-guid08/2002UserLandRSS 2.0
channel-item-pubdate08/2002UserLandRSS 2.0

A few judgment calls had to be made compiling this list. The image and textInput elements were originally placed under the top-level element of the feed, but that is counted as their introduction even though they later moved inside channel. The rss element wasn't in the first version of RSS created by Netscape. Instead the top-level element was rdf:RDF until it was changed by Netscape to rss four months later.




ad

Downloading 50,000 Podcast Feeds to Analyze Their RSS

The software developer Niko Abeler has crawled 51,165 podcast feeds to study what RSS elements they contain. His comprehensive Podcast Feed Standard report looks at the usage of core RSS elements and namespace elements from Apple iTunes, Atom, Content, Podcast 2.0 and Simple Chapters. He writes:

In the world of podcasting, there is a great deal of freedom when it comes to the format and content of a podcast. Creators are free to choose their own audio format and feed content, giving them the flexibility to create something truly unique. However, when it comes to distributing a podcast, certain standards must be followed in order to be added to an aggregator such as Apple Podcasts. Additionally, the podcasting community has come to agree upon certain conventions that can be used to add additional features to a podcast, such as chapters, enhanced audio, and more. These conventions allow for a more immersive and engaging listening experience for the audience.

This website is dedicated to providing guidance and information on the conventions and standards used in podcasting.

There's a lot of interesting data in the RSS 2.0 report, which finds that these are the six least popular elements in an RSS feed's channel:

Element Usage
docs 8.3%
cloud 0.0%
rating 0.0%
skipDays 0.0%
skipHours 0.0%
textInput 0.0%

Over 99 percent of feeds contain the optional channel element language and the optional item elements enclosure, guid, pubDate and title. Only 0.2% of feeds contain a source element in an item.

The iTunes namespace report shows a lot of variation in support. The required element itunes:explicit is only present in 18 percent of feeds and four optional elements have less than 20 percent: itunes:new-feed-url, itunes:block, itunes:complete and itunes:title. One namespace in the report, Podcast 2.0, has been proposed by Podcastindex "to provide a solution for problems which previously have been solved by multiple competing standards" and is still under development.

The report also analyzes the audio files enclosed in the podcast feeds to determine their format, bitrate, channel and loudness. The report finds that 95.6 percent use MP3 and 4.4 percent AAC/M4A. People who like an alternative open source format will be oggravated that its sliver of the pie graph is so small it can't be seen.

If Abeler isn't tired of crunching numbers, one thing that would be useful for the RSS Advisory Board to learn is how many of the feeds contain more than one enclosure element within a single item.




ad

The RSS Advisory Board Just Turned 20

"Tomorrow we will run faster, stretch out our arms farther."

Today is the 20th birthday of the RSS Advisory Board, the group that publishes the RSS specification. It was formed on July 18, 2003, when the copyright of the specification was transferred to Harvard University, which immediately released it under a Creative Commons license and deferred all matters related to RSS to the new board.

At the time of the board's launch, here's how the founding members described its purpose:

Is the advisory board a standards body?

No. It will not create new formats and protocols. It will encourage and help developers who wish to use RSS 2.0. Since the format is extensible, there are many ways to add to it, while remaining compatible with the RSS 2.0 specification. We will help people who wish to do so.

What does the advisory board actually do?

We answer questions, write tech notes, advocate for RSS, make minor changes to the spec per the roadmap, help people use the technology, maintain a directory of compatible applications, accept contributions from community members, and otherwise do what we can to help people and organizations be successful with RSS.

This remains the purpose 140 dog years later. In addition to maintaining the current RSS specification, we are the official publisher of Netscape's RSS 0.90 and RSS 0.91 specifications and Yahoo's Media RSS specification.

We also offer an RSS Validator and RSS Best Practices Profile containing our recommendations for how to implement the format.

There's a resurgence of interest in RSS today as people discover the exhilarating freedom of the open web. Some of this is due to dissatisfaction with deleterious changes at big social sites like Twitter and Reddit. Some is due to satisfaction with Mastodon, a decentralized social network owned by nobody with more than one million active users. As long as there are social media gatekeepers using engagement algorithms to decide what you can and can't see, there will be a need to get around them. When someone offers an RSS or Atom feed and you subscribe to it in a reader, you get their latest updates without manipulation.

Here's to another 20 years of feeding readers, unlocking gates, helping developers adopt RSS and repeatedly getting asked the question, "Can an RSS item contain more than one enclosure?"




ad

How to Read an RSS Feed with Java Using XOM

There are a lot of libraries for processing XML data with Java that can be used to read RSS feeds. One of the best is the open source library XOM created by the computer book author Elliotte Rusty Harold.

As he wrote one of his 20 books about Java and XML, Harold got so frustrated with the available Java libraries for XML that he created his own. XOM, which stands for XML Object Model, was designed to be easy to learn while still being strict about XML, requiring documents that are well-formed and utilize namespaces in complete adherence to the specification. (At the RSS Advisory Board, talk of following a spec is our love language.)

XOM was introduced in 2002 and is currently up to version 1.3.9, though all versions have remained compatible since 1.0. To use XOM, download the class library in one of the packages available on the XOM homepage. You can avoid needing any further configuration by choosing one of the options that includes third-party JAR files in the download. This allows XOM to use an included SAX parser under the hood to process XML.

Here's Java code that loads items from The Guardian's RSS 2.0 feed containing articles by Ben Hammersley, displaying them as HTML output:

// create an XML builder and load the feed using a URL
Builder bob = new Builder();
Document doc = bob.build("https://www.theguardian.com/profile/benhammersley/rss");
// load the root element and channel
Element rss = doc.getRootElement();
Element channel = rss.getFirstChildElement("channel");
// load all items in the channel
Elements items = channel.getChildElements("item");
for (Element item : items) {
  // load elements of the item
  String title = item.getFirstChildElement("title").getValue();
  String author = item.getFirstChildElement("creator",
    "http://purl.org/dc/elements/1.1/").getValue();
  String description = item.getFirstChildElement("description").getValue();
  // display the output
  System.out.println(">h2>" + title + ">/h2>");
  System.out.println(">p>>b>By " + author + ">/b>>/p>");
  System.out.println(">p>" + description + ">/p>");

All of the classes used in this code are in the top-level package nu.xom, which has comprehensive JavaDoc describing their use. Like all Java code this is a little long-winded, but Harold's class names do a good job of explaining what they do. A Builder uses its build() method with a URL as the argument to load a feed into a Document over the web. There are also other build methods to load a feed from a file, reader, input stream, or string.

Elements can be retrieved by their names such as "title", "link" or "description". An element with only one child of a specific type can be retrieved using the getFirstChildElement() method with the name as the argument:

Element linkElement = item.getFirstChildElement("link");

An element containing multiple children of the same type uses getChildElements() instead:

Elements enclosures = item.getChildElements("enclosure");
if (enclosures.size() > 1) {
  System.out.println("I'm pretty sure an item should only include one enclosure");
}

If an element is in a namespace, there must be a second argument providing the namespace URI. Like many RSS feeds, the ones from The Guardian use a dc:creator element from Dublin Core to credit the item's author. That namespace has the URI "http://purl.org/dc/elements/1.1/".

If the element specified in getFirstChildElement() or getChild Elements() is not present, those methods return null. You may need to check for this when adapting the code to load other RSS feeds.

If the name Ben Hammersley sounds familiar, he coined the term "podcasting" in his February 2004 article for The Guardian about the new phenomenon of delivering audio files in RSS feeds.








ad

Does a Forest Have Rights? In Ecuador, It Does.

Journalist Peter Yeung explains how Los Cedros has remained protected for years thanks to Ecuador’s constitution extending rights to nature.




ad

Inside Trump’s Madison Square Garden Rally

Investigative journalist Arun Gupta offers an eyewitness account of the hate—and sense of belonging—on display at Donald Trump’s New York City rally.




ad

What’s Next for Bangladesh’s Student-Led Revolution?

A Bangladesh-born labor explores the South Asian nation’s prospects to transition to a stable democracy now that the dust has settled from Prime Minister Sheikh Hasina’s ouster.







ad

Meet the Mercaditas Fighting for Fairness in Mexico

Street selling is a risky activity in Mexico City. But the mercaditas movement aims to empower women and nonbinary sellers to protect themselves from economic exploitation.




ad

Cultivating Dragon Fruit’s Political Power in Ecuador

Amid ongoing colonization, the Indigenous Shuar people are taking back control of their economic and political futures.






ad

adrienne maree brown’s “Loving Corrections” to Build Collective Power

Best-selling author adrienne maree brown’s new book offers tools to navigate the difficult conversations and dynamics of organizing and belonging.




ad

Raw Milk Institute | The voice of responsible leadership for the growing raw milk market.

I've contributed... won't you?




ad

QUIZ: How fast is Mbappé? Quicker than Nitro from Gladiators?

In a Champions League match between his team, Paris Saint Germain, and Real Sociedad, the French forward managed to run 100m in 10.9 seconds.




ad

What do YOU enjoy reading in your free time?

Research by the National Literacy Trust (NLT) charity suggests that the number of children reading has gone down to around one in three. We want to know about your reading habits.




ad

'Today's class visitor is a.... GLADIATOR'

For Children In Need, one Gladiator is making surprise visits to primary schools around the country.




ad

So bad. I don't have any students to tutor now.



  • Editing & Writing Topics

ad

Diary - I'm currently reading the book Fairy Tale



  • Editing & Writing Topics

ad

Read the runes

If you read the runes, you understand what is likely to happen because of the current circumstances.




ad

Wrap your head around

If you are trying to 'wrap your head around' something, you are trying to understand something that is very foreign to you.

Examples:

"I can't wrap my head around quantum physics—it's so complex!"

"She finally wrapped her head around the new software update."

"They couldn't wrap their heads around the sudden policy changes."

"Once you wrap your head around it, chess becomes very enjoyable."

"He's struggling to wrap his head around the idea of moving abroad."




ad

The essentials of automation applied to distribution systems via PLCs, SCADA, IEDs, and RTUs

Nowadays, it seems that everything we do tends to be somehow automated. The very same is happening in electrical distribution systems. The distribution system at the medium voltage (MV) or low voltage (LV) levels is designed using different structures such... Read more

The post The essentials of automation applied to distribution systems via PLCs, SCADA, IEDs, and RTUs appeared first on EEP - Electrical Engineering Portal.




ad

Three most common SCADA applications in MV/LV distribution systems you SHOULD know

Electrical distribution systems comprise a large number of remote applications and locations, and it has traditionally been challenging to monitor and regulate these remote applications and sites. Utility companies have been installing remote terminal/telemetry units, often known as RTUs, at... Read more

The post Three most common SCADA applications in MV/LV distribution systems you SHOULD know appeared first on EEP - Electrical Engineering Portal.




ad

Parameters of generators, transformers, lines and cables for vars, voltage and loads control

For a power system to operate efficiently and securely, the importance of the correct and coordinated provision and control of reactive power cannot be overemphasised. It is necessary to examine reactive power requirements under both steady-state and dynamic conditions. Although... Read more

The post Parameters of generators, transformers, lines and cables for vars, voltage and loads control appeared first on EEP - Electrical Engineering Portal.




ad

Minnesota regulators approve Xcel Energy’s new additions, retirements

The Minnesota Public Utilities Commission approved Xcel Energy’s 2019 Integrated Resources Plan (IRP), which guides the utility’s direction over the next 15 years.




ad

How Duke Energy addresses attemperator issues

When combined cycle plants are run at low loads, problems often arise with overspray from attemperators using traditional mechanical atomization. To address this issue, plants can upgrade to steam atomization attemperators.




ad

Some of the Best Educational iPad and Android Apps for Teachers


Educational Technology and Mobile Learning provides a list of some of the best iPad apps curated for learning and instructional purposes.

The list is divided into 19 sections with each containing a list of apps for a specific need. The sections include apps that facilitates:

  1. presentation
  2. screencasting
  3. video creation
  4. file storage
  5. whiteboard
  6. PDF annotation
  7. audio recording
  8. note-taking
  9. blogging
  10. book creation
  11. comic apps
  12. digital storytelling apps
  13. apps for grading
  14. mindmapping apps
  15. portfolio apps
  16. apps for creating posters
  17. apps for creating timelines
  18. apps for creating word clouds
  19. speech-to-text apps
 Educational Technology and Mobile Learning also provides a list of 10 indispensable Android apps for teachers. The list is curated from the top trending apps in the education section of Google Play store. The listed apps are as follows:
  1. Book Creator
  2. Handouts
  3. Remind
  4. Google Keep
  5. ClassDojo
  6. Nearpod
  7. Socrative Teacher
  8. Edmodo
  9. Google Classroom
  10. Explain Everything










ad

A roadmap for engineers seeking mastery in the language of electrical schematics

In the intricate landscape of electrical engineering, the ability to decipher and interpret schematic drawings is a skill that separates the adept from the novice. This technical article delves into the art of understanding schematics, unraveling the complexities through a... Read more

The post A roadmap for engineers seeking mastery in the language of electrical schematics appeared first on EEP - Electrical Engineering Portal.




ad

The loop electrical distribution system used to supply bulk loads (industrial plants and buildings)

First, let’s say a word or two about the essentials of power distribution systems for our young electrical engineers. An electric distribution system, or distribution plant as it is sometimes called, is all of that part of an electric power... Read more

The post The loop electrical distribution system used to supply bulk loads (industrial plants and buildings) appeared first on EEP - Electrical Engineering Portal.