sing

SE Radio 578: Ori Mankali on Secrets Management using Distributed Fragments Cryptography

In this episode, Ori Mankali, senior VP of engineering at cloud security startup Akeyless, speaks with SE Radio’s Nikhil Krishna about secrets management and the innovative use of distributed fragment cryptography (DFC). In the context of enterprise IT, 'secrets’ are crucial for authentication in providing access to internal applications and services. Ori describes the unique challenges of managing these sensitive data, particularly given the complexities of doing so on a large scale in substantial organizations. They discuss the necessity for a secure system for managing secrets, highlighting key features such as access policies, audit capabilities, and visualization tools. Ori introduces the concept of distributed fragment cryptography, which boosts security by ensuring that the entire secret is never known to any single entity. The episode explores encryption and decryption and the importance of key rotation, as they consider the challenges and potential solutions in secrets management.




sing

SE Radio 603: Rishi Singh on Using GenAI for Test Code Generation

Rishi Singh, founder and CEO at Sapient.ai, speaks with SE radio’s Kanchan Shringi about using generative AI to help developers automate test code generation. They start by identifying key problems that developers are looking for in an automated test-generation solution. The discussion explores the capabilities and limitations of today’s large language models in achieving that goal, and then delves into how Sapient.ai has built wrappers around LLMs in an effort to improve the quality of the generated tests. Rishi also suggests how to validate the generated tests and outlines his vision of the future for this rapidly evolving area. Brought to you by IEEE Computer Society and IEEE Software magazine. This episode is sponsored by WorkOS.




sing

SE Radio 611: Ines Montani on Natural Language Processing

Ines Montani, co-founder and CEO of Explosion, speaks with host Jeremy Jung about solving problems using natural language processing (NLP). They cover generative vs predictive tasks, creating a pipeline and breaking down problems, labeling examples for training, fine-tuning models, using LLMs to label data and build prototypes, and the spaCy NLP library.




sing

SE Radio 620: Parker Selbert and Shannon Selbert on Robust Job Processing in Elixir

Shannon Selbert, co-founder of Soren and developer of Oban, and Parker Selbert, creator of the Oban background job framework, chief architect at dscout, and co-founder of Soren, speak with SE Radio host Gavin Henry about robust job processing in Elixir. They explore the reliability, consistency, and observability in relation to job processing, to understand how Oban, Elixir, and PostgreSQL deliver them.

The Selberts describe why Oban was created, its history, which parts of the Elixir ecosystem they use, and why this would not be possible without PostgreSQL and Elixir. They discuss the lessons learned in the 5 years since the first release, as well as use cases, job throughput, the hardest problem to solve so far, workers, queues, CRON, distributed architectures, retry algorithms, just-once methodologies, the reliability the beam brings, consistency across nodes, how PostgreSQL is vital, telemetry data, best use cases for Oban, and the most common issues that new users face. Brought to you by IEEE Computer Society and IEEE Software magazine.




sing

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.




sing

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.




sing

Surprising Solidarity in the Fight for Clean Water and Justice on O’ahu

After a 2021 leak at the U.S. military’s Red Hill fuel storage facility poisoned thousands, activists, Native Hawaiians, and affected military families have become unlikely allies in the fight for accountability.




sing

New York Considers a Social Housing Bill

Social housing as a concept is gaining popularity. Now, the state of New York is considering a bill to make it a reality.





sing

Undoing What Wall Street Did to the Housing Market

Billionaires have long leveraged the housing market for money. But a new report outlines how to regulate the market so people—not hedge funds—can buy homes.




sing

Swiss Schools’ Surprising Solution to Bullying

Switzerland’s “No Blame” approach eschews punishment, instead focusing on empathy, tolerance, and respect.




sing

Rich celebs accused of harming planet by 'using private jets like taxis'

New research shows the amount of carbon dioxide released into the atmosphere from private jets between 2019 and 2023.





sing

What steps should be taken to avoid choosing the incorrect current and voltage transformers?

Electrical systems normally use current and voltage transformers for protection and measurement purposes. They represent the power system’s eyes and ears, and it’s essential to fully understand how they work, how to make the correct specification and most importantly, the... Read more

The post What steps should be taken to avoid choosing the incorrect current and voltage transformers? appeared first on EEP - Electrical Engineering Portal.




sing

Potential Energy Savings In Utility Buildings Using EIB

Flexibility, utilisation value and energy saving are the three main requirements for utility buildings (administration, office and public buildings, schools, hospitals, etc.). Apart from recouping investment costs, so-called life-cycle costs are also becoming increasingly important. These are made up of... Read more

The post Potential Energy Savings In Utility Buildings Using EIB appeared first on EEP - Electrical Engineering Portal.




sing

Eight common mistakes in reading and creating single line and wiring diagrams

In order to create a consistent and technically correct single line or wiring diagram, more than basic knowledge about the engineering field in question is required. Besides electrical installation and equipment, the design engineers should be familiar with electrical symbols... Read more

The post Eight common mistakes in reading and creating single line and wiring diagrams appeared first on EEP - Electrical Engineering Portal.




sing

The most used types of single-phase motors in the world

You should know that single-phase motors are rarely rated above 5 kW. Fractional-kilowatt motors, most of which are single-phase, account for 80−90% of the total number of motors manufactured and for 20−30% of the total commercial value. A typical modern... Read more

The post The most used types of single-phase motors in the world appeared first on EEP - Electrical Engineering Portal.




sing

Film: 21st Century Literacy - Teaching Using Film Questionnaire

Film: 21st Century Literacy are surveying teachers who use film to help them teach. Eligible teachers who complete the survey by 15 July will go into a free prize draw to win an iPad 2.




sing

Choosing between AIS and GIS substation design: Factors you MUST take into consideration

For the last sixty years, gas-insulated substation (GIS) has been used in applications related to substations all over the world, and this use of the technology is becoming an increasingly common asset for those who make use of substations. GIS... Read more

The post Choosing between AIS and GIS substation design: Factors you MUST take into consideration appeared first on EEP - Electrical Engineering Portal.




sing

Assessing Water Damage: Insurance Companies' Struggle

We delve into the challenges insurance company’s face when categorizing the different levels of water intrusion and the importance of why this is a big issue if done incorrectly.




sing

Advantages of Franchising within the Restoration Industry

Ben Gergis tells us just how lucrative franchising within the restoration industry can be.




sing

Is Franchising Right for Me? Lesser Considered Options are No Less Important

Over the past decade, the restoration industry has witnessed a significant shift from large franchises to a more diverse mix of independent companies. 




sing

Stop Guessing, Start Working with the FLIR MR176

The FLIR MR176 visually guides you to the precise spot that moisture may be hiding for further testing and investigation. 




sing

Hisense Releases PL2 Single-Laser UST Projector

Hisense has bolstered its 2024-2025 UST line-up with the PL2, a cost effective single-laser model that brings many of the desirable features of its higher end offering at an attractive $2,499 price point.



  • Home Theater Projectors

sing

Holidays and Early Closings 2024-2025

131-24 : Holidays and Early Closings 2024-2025




sing

6 Tips to Boost Training ROI by Focusing on Impact

Learn how to boost your training ROI by focusing on impact-driven strategies that strengthen workforce performance and align with business goals in the fast-paced restoration industry.




sing

Capturing insights into Ageing Singapore

Senior Research Associate Stephen Hoskins CREA The issues facing a growing silver population are gaining ground. Singapore’s baby boomers are now exiting the workforce. Would those approaching retirement have enough resources to maintain their current standard of living? Would future policy changes in healthcare, housing and pension impact their retirement adequacy? Facing a rapidly ageing population, Singapore is presented with urgent policy challenges. Yet there is very little data on the economic, health and family circumstances of older Singaporeans. In response, the Centre for Research on the Economics of Ageing, or CREA, at the Singapore Management University has been collecting monthly data on a panel of Singaporeans aged between 50 and 70 years, resulting in the Singapore Life Panel®, or SLP. SMU’s Prof Bryce Hool and Prof Rhema Vaithianathan detail the methodology by which the SLP was constructed, in a published paper titled High-Frequency Internet Survey of a Probability Sample of Older Singaporeans: The Singapore Life Panel®. In this podcast, Stephen Hoskins, Senior Research Associate at CREA introduces the SLP and how it yields rich and remarkable insights to Singapore’s ageing situation. Additional Info High-frequency Internet survey of a probability sample of older Singaporeans: The Singapore Life Panel - by Rhema Vaithianathan, Bryce Hool, Michael D. Hurd, Susann Rohwedder




sing

Understanding needs of youth-at-risk In Singapore

Dr Tania Nagpaul Youth at-risk typically refers to those who may be seriously anti-social, homeless, who may have dropped out of school, taken to substance abuse or engaged in illegal activities. The factors that place these young people at risk in the first place, such as poverty, family dysfunction and disturbed neighbourhoods, are often not factored into the equation. Dr Tania Nagpaul and Ms Chen Jinwen from the Lien Centre for Social Innovation at SMU have published a study which used the Self-determination Theory offered by Deci and Ryan in a past research as a lens to better understand the needs of youth-at-risk and their fulfilment from the vantage points of both social service professionals and youth themselves. In this podcast, Dr Tania Nagpaul discusses the key findings of this research and how it generates a nuanced understanding of the needs of youth in Singapore. Additional Info Self-determination theory as a framework for understanding needs of youth at-risk: Perspectives of social service professionals and the youth themselves - by Tania Nagpaul, Jinwen Chen




sing

Electronic waste recycling and sustainability in Singapore

Assistant Professor of Humanities Aidan Wong from SMU’s School of Social Sciences has researched on the areas of development and sustainability, in particular on electronic waste, informal labour and economic development. In recent years, he has published a paper on ‘Waste’, Value and Informal Labour: The Regional E-Waste Recycling Production Network in Malaysia and Singapore” and is seeking to update it. In this podcast, Assistant Professor Wong discusses the value of electronic waste recycling and sustainability in Singapore.




sing

Scrutinising financial information on Twitter & detecting misreporting

Assistant Professor Richard Crowley from SMU’s School of Accountancy examines financial accounting using both archival and analytical methods for his research. Much of his archival work deals with large sets of unstructured data using high-powered computing algorithms to address accounting issues that are otherwise infeasible to approach. He has recently written two research articles on using a machine learning technique to assess the content of companies’ disclosures. In this podcast, he discusses how fraud and misreporting can be detected by studying a company’s financial statement using a machine learning technique, and shares how companies disclose financial information on Twitter, and how feedback from investors and others can influence this.




sing

The integrative potential of religion in Singapore

Assistant Professor of Humanities Orlando Woods from SMU’s School of Social Sciences has a keen research interest in areas including religion, cities and urban landscapes, digital technologies, space, and social and cultural geography. He has published a research paper on the role of Christianity in migrant integration in Singapore, and has received a grant from the Singapore Ministry of Education to conduct further research on this subject. Titled ‘New Religious Pluralism in Singapore: Migration, Integration and Difference”, the study seeks to better understand new types of socio-cultural diversity in Singapore. In this podcast, Assistant Professor Woods discusses the role of whether religion enables or dis-enables migrant integration into Singapore.




sing

Financial knowledge & portfolio complexity in Singapore

Financial literacy in Singapore has not been analysed in much detail, despite the fact that this is one of the world’s most rapidly aging nations. In this podcast, Professor of Finance Benedict Koh from the SMU Lee Kong Chian School of Business, discusses the key findings of his research jointly conducted with Olivia Mitchell from the University of Pennsylvania and Susann Rohwedder, Senior Economist at the RAND Corporation and Associate Director of the RAND Center for the Study of Aging. Using a unique new data-set and nationally representative survey - the Singapore Life Panel, they conducted an analysis of older Singaporeans’ financial literacy. Here, Professor Koh discusses his key findings, including: Do older Singaporeans score better on financial knowledge compared to their counterparts in the United States? What are the empirical linkages between financial literacy and retirement preparedness in Singapore? And is financial literacy positively associated with greater wealth and diversity of portfolios?




sing

Singapore in the Global Value Chains

Singapore is a small and open economy, with its economic growth highly dependent on international trade. With the momentum of global trade growth being buffeted by increased economic uncertainties and rising trade tensions, does Singapore’s position in the global value chains, or GVCs, stand it in good stead to navigate choppy waters ahead? In this podcast, Associate Professor of Economics and Lee Kong Chian Fellow Chang Pao-Li from the SMU School of Economics, discusses the key findings of her research jointly conducted with Phuong T. B. Nguyen, Postdoctoral Research Fellow from SMU Lee Kong Chian School of Business. They evaluate how intensively the Singapore economy has participated in the GVCs, and characterise Singapore’s key upstream and downstream trade partners in the international production network. They also analyse the position of Singapore in the GVC, and how its position has shifted over the years. The pattern of Singapore’s position is compared with those of major regional exporters including China, Japan, Korea, Taiwan, the US, and the world as a whole.




sing

Artificial Intelligence & data protection in Singapore

Data has emerged as the most important driver for modern economic development. New industries have arisen from the use of data with personal information as the core asset, while many traditional models of business are ‘disrupted’ or drastically transformed. Artificial Intelligence (A.I.) has also become an integral tool for the management and processing of data, including personal data, as it provides greater accuracy and capability. How should the use of A.I. in data management be regulated and should it be treated any differently under the data protection regime? What role can A.I. play in regulating the use of personal data and as a cybersecurity tool? Is creating a form of propertisation of personal data and ‘data ownership’ useful? These are just some of the lingering questions that regulators and organisations are currently grappling with. Central to the issue is how A.I. can best serve and safeguard humanity’s interests. Warren Chik is Associate Professor of Law at SMU School of Law, and concurrently Deputy Director at SMU’s Centre for AI and Data Governance. In this podcast, he shares his recent research into Artificial Intelligence and Data Protection in Singapore, which takes a deeper look into consumers’ trust, organisational security and government regulation.




sing

Harnessing the power of TikTok for science communication

TikTok catapulted in popularity during the COVID-19 pandemic and has now come to dominate the social media landscape. With over 1 billion monthly active users, science communicators have the potential to capitalize on TikTok’s success and share their science with a broad, engaged audience.

The post Harnessing the power of TikTok for science communication appeared first on The Plainspoken Scientist.




sing

AGU joins letter opposing FY25 Labor, Health and Human Services cuts

On 9 July, AGU joined nearly 200 organizations in sending a letter to House Appropriations leadership expressing concern over proposed cuts to the Fiscal Year (FY) 2025 Labor, Health and Human Services, Education, and Related Agencies (Labor- HHS).   We, the undersigned organizations, are writing to share our opposition to the Fiscal Year (FY) 2025 Labor, Health and Human Services, Education, and Related Agencies (Labor- HHS) Appropriations bill as currently …

The post AGU joins letter opposing FY25 Labor, Health and Human Services cuts appeared first on The Bridge: Connecting Science and Policy.




sing

Housing and registration now open for industry mega event - co-location of PROCESS EXPO, International Dairy Show and InterBev Process

The Food Processing Suppliers Association (FPSA), the International Dairy Foods Association (IDFA) and NürnbergMesse today announced that registration and housing are now open...




sing

Podcast | Closing the Loop with Mono-material Blister Packs

Amcor’s new AmSky blister packaging uses HDPE throughout for curbside recycling.




sing

Food processing, packaging machinery exports hit record levels in 2023: VDMA

Against the backdrop of a lack of skilled labor, the food and beverage sector continues to invest in automated, efficient and stable processes. 




sing

SnapSlide Unveils Child-Resistant Closure with Single-Hand Operation for Rx Vials

The patented solution brings life-changing potential for over 60 million Americans with physical limitations, while also reducing plastic usage.




sing

Quadpack and PSB Industries subsidiary Texen to combine into a single group

The new group will be positioned among the Top 5 cosmetics packaging companies worldwide, boasting combined sales of around €350 million.




sing

Berry Launches Closed Politainer™ System for Enhanced Safety and Dispensing

Available in sizes from one to 30 liters, Politainer comprises a polyethylene container held within a sturdy cardboard outer.




sing

Rising shipping costs: How custom packaging protects your brand and bottom line

Custom packaging can help offset rising freight costs by optimizing packaging size and weight, reducing damage, streamlining logistics, and enhancing brand recognition.




sing

Processing a healthier future

In the beverage industry, new products are fulfilling more than just offering refreshment.




sing

Choosing the Right Pouch

When making the choice between premade pouches and form-fill-seal, OEMs should consider factors like run speed, changeovers and flexibility of package sizes handled, according to the 2019 Flexible Packaging Assessment by PMMI, The Association for Packaging and Processing Technologies.




sing

Corona Launches Sustainable Beer Pack Made Using Barley

The new technology repurposes surplus barley straw into six-pack packaging material in a circular process.




sing

Ink Technologies Growing Increasingly Sophisticated

Until recently, most pharmaceutical manufacturers would buy blister foils pre-printed with product names, dosage information, and branding and use a basic in-line printing or embossing system to add a batch code and expiry date to the blister in human-readable text.




sing

Suntado Opens Vertically Integrated Dairy Processing Plant in Idaho

With commercial readiness expected just in time for Dairy Month (June), the facility can process up to 1 million pounds of local milk per day into shelf-stable and ESL milk and other liquid dairy products, many of which will be packaged in Tetra Pak® cartons.




sing

Berry Global Earns Several Awards for Abel & Cole's Single-Use Milk Bottles

Club Zero Refillable Milk is designed to cut the carbon footprint of Abel & Cole’s single-use milk bottles in half, with Abel & Cole estimating a saving of up to 450,000 single-use plastic milk bottles annually.




sing

Guittard introduces couverture line of chocolate using PCR packaging material

Guittard Couverture showcases the brand's commitment to providing customers with premium chocolate in enhanced, sustainable packaging.