Fedora: Flatpak, PHP Builds, Ansible and NeuroFedora

2018-11-18 03:18:06

Script & Style Show: Episode 28: “Get Off My Lawn”, and Other Software Stories with Eric Brandes

2018-11-18 02:54:36

Script & Style Show: Episode 26: Web Games with ExcaliburJS with Erik Onarheim and Kamran Ayub

2018-11-18 02:31:06

In this episode:  Todd returns from a vacation to Disney and gives David some tips about surviving a family visit to Orlando’s most famous theme parks.  Erik Onarheim and Kamran Ayub join the guys to discuss HTML5 games, the Excalibur JavaScript HTML5 game library, the amazing games made with Excalibur, and more JavaScript sorcery.  Enjoy! The post Script & Style Show: Episode 26: Web Games with ExcaliburJS with Erik Onarheim and Kamran Ayub appeared first on David Walsh Blog.

Daily API RoundUp: Qboxmail, Aeon, Pine, Cinchy, Bitvore

2018-11-17 19:12:04

Every day, the ProgrammableWeb team is busy, updating its three primary directories for APIs, clients (language-specific libraries or SDKs for consuming or providing APIs), and source code samples.

If I were to invent a programming language for the 21st century

2018-11-17 18:53:02


Export Data to Excel File in Laravel

2018-11-17 16:07:35

Data Export to Excel (xlsx or xls) format is feature of web project to allow users to export MySQL data for further use. In our previous tutorial you have learned how to export data to excel with PHP, in this tutorial you will learn how to export data to excel in Laravel framework. As PHPExcel […]

Raspberry Pi 3A+ Last Of The Line

2018-11-17 14:02:55

The long-awaited Raspberry Pi 3 Model  A+ is now on sale in time for the holidays. It has a smaller form factor than the Model B+, which is priced at $35. These two Model 3+ Raspberry Pi are the last ever of the "classic" Raspberry Pi. Read more...

Show HN: Gmail Classic – CSS for Reverting Gmail's New Look

2018-11-17 13:55:53


The State of the Octoverse: top programming languages of 2018

2018-11-17 13:12:12


Radeon GCC Back-End Updated For Running Single-Threaded C & Fortran On AMD GPUs

2018-11-17 10:20:52

Back in September Code Sourcery / Mentor Graphics posted the Radeon GCC back-end they have been developing with the cooperation of AMD. This is for allowing the GCC compiler to eventually offload nicely to Radeon GPUs with its different programming languages and supported parallel programming models, particularly with OpenMP and OpenACC in mind. But for now this patch series just works with single-threaded C and Fortran programs. The second version of this port was posted for review...

GitHub alternative strives to be all open source, only open source

2018-11-17 08:29:47

A new software service for hosting and managing open source projects, Sr.ht, aims to be an entirely open source alternative to existing services like GitHub, GitLab, and Bitbucket, recreating many of their features. Created by Drew DeVault and written in a mixture of Python and Go, Sr.ht is now available for public alpha testing by developers. Users can create an account with the hosted version provided by DeVault, or set up the exact same code on cloud or on-prem hardware. read more

Programming: Java EE, Rust, JavaScript, RcppGetconf and More

2018-11-17 08:22:34

Free Online Java EE Development Course From Red Hat Available Now The Red Hat Training team is pleased to announce the release of Fundamentals of Java EE Development. This free training is hosted by our partner edX. edX is an open online course provider that now hosts three Red Hat courses, including Fundamentals of Red Hat Enterprise Linux and Fundamentals of Containers, Kubernetes, and Red Hat OpenShift. Enterprise Java (Java EE is now known as Jakarta EE) is one of the most in-demand and marketable programming platforms. With Fundamentals of Java EE Development, students learn the foundational skills needed to develop modern applications. Serving as an introduction to enterprise Java development using Red Hat Developer Studio and Red Hat JBoss Enterprise Application Platform, this course builds on students’ Java SE skills to teach the basic concepts behind more advanced topics such as microservices and cloud-native applications. New Rust Course - Building Reuseable Code with Rust This course is about the Rust programming language, but it’s not those general introductory course on basic Rust syntax. This course focus on the code reuse aspect of the Rust language. So we won’t be touch every language feature, but we’ll help you understand how a selected set of features will help you achieve code reuse. [...] snippet is not enough. What comes next naturally is to define a clear interface, or internal API between the modules (in a general sense, not the Rust mod). This is when traits comes in handy. Traits help you define and enforce interfaces. We’ll also discuss the performance impact on static dispatch vs. dynamic dispatch by using generics and trait object. Finally we talk about more advanced (i.e. you shouldn’t use it unless necessary) tool like macros, which will help do crazier things by tapping directly into the compiler. You can write function-like macros that can help you reuse code that needs lower level access. You can also create custom derive with macros. What is the MEAN stack? JavaScript web applications Most anyone who has developed web applications knows the acronym LAMP, which is used to describe web stacks made with Linux, Apache (web server), MySQL (database server), and PHP, Perl, or Python (programming language). Another web-stack acronym has come to prominence in the last few years: MEAN—signifying a stack that uses MongoDB (database server), Express (server-side JavaScript framework), Angular (client-side JavaScript framework), and Node.js (JavaScript runtime). RcppGetconf 0.0.3 Changes are minor. We avoid an error on a long-dead operating system cherished in one particular corner of the CRAN world. In doing so some files were updated so that dynamically loaded routines are now registered too. The performance impact of zeroing raw memory When you create a new variable (in C, C++ and other languages) or allocate a block of memory the value is undefined. That is, whatever bit pattern happened to be in the raw memory location at the time. This is faster than initialising all memory (which languages such as Java do) but it is also unsafe and can lead to bugs, such as use-after-free issues. There have been several attempts to change this behaviour and require that compilers would initialize all memory to a known value, usually zero. This is always rejected with a statement like "that would cause a performance degradation fo unknown size" and the issue is dropped. This is not very scientific so let's see if we could get at least some sort of a measurement for this. read more

Product Grid Style 19

2018-11-17 00:13:31

The post Product Grid Style 19 appeared first on Best jQuery.

CSS Text Effect Style 20

2018-11-17 00:11:32

The post CSS Text Effect Style 20 appeared first on Best jQuery.

Kilogram redefined in terms of Planck constant

2018-11-16 22:52:12

The General Conference on Weights and Measures voted today to redefine the kilogram. The official definition no longer refers to the mass of the International Prototype of the Kilogram (IPK) stored at the BIPM (Bureau International des Poids et Measures) in France. The Coulomb, kelvin, and mole have also been redefined. The vote took place today, 2018-11-16, and […]

BlockMarkets Launches API for Real-Time Cryptocurrency Market Data

2018-11-16 20:40:03

BlockMarkets, provider of cryptocurrency market data, has announced a new API that will provide access to both real-time and historical cryptocurrency pricing. The company’s data set features over 500 assets in total, including leading cryptocurrencies, exchanges, and real-time USD spot rates.

Coding Conversations: The “Perfect Storm" that Brought Down LinkedIn.com

2018-11-16 20:09:00

Editor’s Note: This article originally appeared as a guest post on VentureBeat titled “What I learned by bringing down LinkedIn.com.” Reprinted here in full, the post tells the story of how Katie accidentally crashed LinkedIn.com. After the immediate problem was resolved, the incident resulted in sitewide technical improvements and turned out to be a growth opportunity for Katie both professionally and personally. Three years ago, I joined LinkedIn as a 22-year-old fresh out of college after graduating with a computer science degree. Sometime in my last year at school, a recruiter […]

Daily API RoundUp: Voltaire, CloudReq, Blend, TokenD, Squarelink

2018-11-16 20:03:46

Every day, the ProgrammableWeb team is busy, updating its three primary directories for APIs, clients (language-specific libraries or SDKs for consuming or providing APIs), and source code samples.

SD Times Blog: How to effectively build a security awareness program for your organization

2018-11-16 19:59:40

At the Infosecurity North America conference in New York City this week, a group of security executives from various organizations came together to talk about the key features of successful security awareness programs. All panelists stressed the importance of developing a strategy that is tailored to their individual organization. Matt Nappi, CISO at Stony Brook … continue reading The post SD Times Blog: How to effectively build a security awareness program for your organization appeared first on SD Times.

Laravel News: Building a Laravel Translation Package – Wiring Up The Frontend

2018-11-16 19:33:36

The Laravel News site has posted the latest in their "Building a Laravel Translation Package" series of tutorials with a new post focusing on the frontend and getting it connected to the backend functionality. In the last installment of this series, we talked through the process of manipulating the translations in our application’s language files into a format where we are now in a position to start interacting with them. In this article, we’ll be wiring up the frontend ready to start building out the user interface which will aid users with the process of translation management. The UI will be developed using the community favorites, Tailwind CSS and Vue.js. The tutorial starts with the approach for the functionality, taking a more hybrid approach and using a balance of backend and frontend for the majority of the functionality. It then starts in on the technical parts to connect the two halves: adding the required routes creating the controllers building out the views to render the interface The majority of the post is then dedicated to the creation of the assets - the Javascript and CSS - to create the "framework" the functionality will use to work with the translations.

Microsoft Introduces Azure Blockchain Development Kit

2018-11-16 18:40:47

Microsoft just released its Azure Blockchain Development Kit. The kit enables seamless integration of blockchain with various Microsoft technologies and third party SaaS providers.

Microsoft releases Azure Blockchain Development Kit

2018-11-16 18:24:19

Microsoft is giving developers new tools for developing blockchain solutions with the introduction of the Azure Blockchain Development Kit. The first initial release comes with a focus on connecting, integrating and deploying smart contracts and blockchain networks. ‘The Azure Blockchain Development Kit is the next step in our journey to make developing end to end … continue reading The post Microsoft releases Azure Blockchain Development Kit appeared first on SD Times.

Zend Blog: Modern cryptography in PHP 7.2 with Sodium

2018-11-16 18:14:24

On the Zend blog there's a new tutorial posted by Enrico Zimuel covering the use of libsodium in PHP 7.2 to provide stronger encryption for your data. Recently, at ZendCon & OpenEnterprise 2018, I presented a session about the usage of Sodium in PHP 7.2. Here you can find the slides of this session. Sodium is a powerful library for modern cryptography. It is a portable, cross-compilable, installable and packageable fork of NaCl, a famous cryptographic tool designed by Prof. D.J. Bernstein. The tutorial begins with an outline of the Sodium encryption including the algorithms it can use and how it helps to prevent side-channel attacks. It then lists out some of the common use cases and provides a simple code sample showing how to use it to encrypt a simple message with a randomly generated key.

premium OWASP Top 10 comes to serverless

2018-11-16 17:54:11

The Open Web Application Security Project (OWASP) is releasing a Top 10 interpretation for web application security risks in serverless. Serverless has been gaining a lot of attention as of late because of its ability to eliminate operations and improve speed, costs, and scalability for businesses. However, serverless is a new paradigm and with it … continue reading The post <span class="sdt-premium">premium</span> OWASP Top 10 comes to serverless appeared first on SD Times.

Pineco.de: Adding a Subdomain to Your Laravel Application

2018-11-16 17:44:42

On the Pineco.de blog there's a tutorial for the Laravel users out there showing how to set up subdomains in your application using the built-in framework functionality (and their setup with Valet/Forge). Often we need to handle subdomains with our Laravel application. Let’s take a look, how can we treat the routes dynamically and set up the subdomain with Valet and Forge. The tutorial then walks you through the steps to get subdomains working: Defining Subdomains in Our Routes Dynamically Generate Subdomains Faking Subdomains in Valet Setting Up Subdomains in Forge Each section comes with a brief explanation and any code or configuration changes that would need to be made to make it all work.

Qt/KDE: QtCon Brasil 2018, Qt 5.12 and Qt Creator 4.8.0 Beta 2

2018-11-16 17:30:23

Talking about Qt and Computer Vision at QtCon Brasil 2018 I had the opportunity to participate in QtCon Brasil 2018 as a speaker during the last weekend. It happened in São Paulo, which is a city that I haven’t visited for a long time. My talk was about the integration of Qt applications and Computer Vision, specially focused on the mobile environment with QtQuick and QML. During my presentation, I was focused on introducing some concepts to the people who just have heard or never had contact with Computer Vision. I talked a little bit about OpenCV, including an brief explanation about its modules and how they work, and I presented a little example of object recognition application made with QML (the code is available in the repository). Qt Quick Performance Improvements with Qt 5.12 LTS Qt 5.9 LTS already shows a great improvement of the overall performance compared to the previous long-term supported Qt 5.6 LTS release. These are summarized in a blog post about Performance Improvements with Qt 5.9 LTS and Qt Quick Performance Improvements on 64-bit ARM. With Qt 5.12 LTS we have continued to tune these further and taken a deeper look into the areas of QML engine memory consumption and JavaScript performance. Qt 5.9 LTS already shows a great improvement of the overall performance compared to the previous long-term supported Qt 5.6 LTS release. These are summarized in a blog post about Performance Improvements with Qt 5.9 LTS and Qt Quick Performance Improvements on 64-bit ARM. With Qt 5.12 LTS we have continued to tune these further and taken a deeper look into the areas of QML engine memory consumption and JavaScript performance. Qt 5.12 Lowering The QML Memory Consumption, Better JavaScript Performance As part of The Qt Company's ongoing improvements to their tool-kit and with Qt 5.12 being an LTS release, this cycle they focused a lot on improving the performance. Qt 5.12 LTS will be releasing in the next few weeks and as part of their performance push they have been working to lowering the memory consumption of the QML engine. The QML data structures have been optimized to reduce their size and better handling around cached objects. Qt Creator 4.8 Beta2 released We are happy to announce the release of Qt Creator 4.8.0 Beta2! This release comes with the many fixes that we have done since our first Beta release. Additionally we upgraded the LLVM for the Clang code model to version 7.0, and our binary packages to the Qt 5.12 prerelease. read more

Scylla DB Adds HTAP

2018-11-16 17:14:11

A new release of Scylla DB has been released with support for Hybrid Transactional / Analytical Processing (HTAP) via concurrent OLTP and OLAP. The open source NoSQL database also now has feature parity with Apache Cassandra.  Read more...

New Relic introduces APM support for AWS Lambda

2018-11-16 17:05:12

New Relic has announced a number of new features to help organizations adopt modern architectures, including new APM support for AWS Lambda. Application monitoring for AWS Lambda will provide improved visibility into function invocations, event sources, and connected services. This will enable DevOps teams to more quickly build and deploy applications using AWS functions-as-a-service, New … continue reading The post New Relic introduces APM support for AWS Lambda appeared first on SD Times.

CloudWays Blog: PHP-FPM Cuts Web App Loading Times by 300%

2018-11-16 16:18:33

There's several ways to run PHP on various webservers out there and in a tutorial from the CloudWays blog they focus on one: using PHP-FPM and the performance gain it can give. Speed matters. Our engineers are always looking at ways on improving the stack. One of the major objectives of our stack integrations is to improve the speed of the overall processes of our stack. Keeping up with this practice, in a bid to increase speed of aspects of Managed Cloud Hosting coupled with constant improvements based on users feedback, Cloudways has now integrated PHP-FPM in all its servers. Owing to this integration, applications hosted on Cloudways servers are now going to perform up to 3x faster. The post starts with a look at why to choose PHP-FPM and shares some benchmarks of it in use versus the more typical mod_php shared module. It then gets into the implementation steps, linking to a step-by-step guide on how to implement it.

Nix – The Purely Functional Package Manager for Linux

2018-11-16 16:13:14

Nix is a powerful, purely functional package management system designed for reliable and reproducible package management, released under the terms of the GNU LGPLv2.1. It is the primary package management system in NixOS, a lesser known Linux distribution. Nix offers atomic upgrades and rollbacks, multiple versions of package installation, multi-user package management and effortless setup of build environments for a package, regardless of what programming languages and tools a developer is using. Under Nix, packages are built from a functional package language called “Nix expressions”. This functional approach to package management guarantees that installing or upgrading one package cannot break other packages. Nix also has multi-user support, which implies that normal (or non-privileged) system users can securely install packages and each user is identified by a profile (a collection of packages in the Nix store that appear in the user’s PATH). read more

SD Times news digest: SignalFX Microservices APM, Dart 2.1, and Bugcrowd’s pen testing solution

2018-11-16 15:35:18

Cloud monitoring company SignalFx has revealed SignalFX Microservices APM, which is a new application performance monitoring solution designed for DevOps teams. The solution is built on top of the company’s streaming analytics platform, giving it access to power data analytics. “The world happens in real-time and if something goes wrong, finding problems minutes later just … continue reading The post SD Times news digest: SignalFX Microservices APM, Dart 2.1, and Bugcrowd’s pen testing solution appeared first on SD Times.

5 Programming Languages Every Programmer Should Learn

2018-11-16 15:13:04

I read somewhere that programmers should learn a new programming language every year (I think it's code complete, not sure, though), but if you cannot do so, I suggest you at least learn the following five programming languages to do well in your career. Every company loves polyglot programmers and an well-rounded coder, who is versatile enough languages to write a quick script, and can also write complex Java programs, is a valuable coder indeed. In fact, it's almost mandatory for a senior developer to learn more than one language.

Introducing Chartify: Easier chart creation in Python for data scientists

2018-11-16 14:40:37


New Raspbian Update, Qt Creator 4.8 Beta2 Released, Firefox Monitor Now Available in More Than 26 Languages, Chrome OS Linux Soon Will Have Access to Downloads Folder and Canonical Extends Ubuntu 18.04 Long-Term Support

2018-11-16 14:38:06

News briefs for November 16, 2018. Simon Long has released a new Raspbian update. This update includes a "fully hardware-accelerated version of VLC", version 3 of the Thonny Python development environment, improved desktop configuration and more. You can download the update from here. Qt Creator 4.8 Beta2 is now available. In addition to many bug fixes, the LLVM for the Clang code model is updated to version 7.0 and binary packages are updated to the Qt 5.12 prerelease. You can get the open-source version here. Firefox Monitor, the free services that tells you whether your email has been part of a security breach, is now available in more than 26 languages: "Albanian, Traditional and Simplified Chinese, Czech, Dutch, English (Canadian), French, Frisian, German, Hungarian, Indonesian, Italian, Japanese, Malay, Portuguese (Brazil), Portuguese (Portugal), Russian, Slovak, Slovenian, Spanish (Argentina, Mexico, and Spain), Swedish, Turkish, Ukranian and Welsh." Along with this, Mozilla also announced that it has added "a notification to our Firefox Quantum browser that alerts desktop users when they visit a site that has had a recently reported data breach". See the Mozilla blog for details. Chrome OS Linux soon will be able to access your Downloads folder and Google Drive. According to the 9to5Google post, "Making the entire Downloads folder accessible will turn Linux apps into a first-class citizen on Chrome OS and will dramatically help with file organization and ease of use." Canonical and Ubuntu founder Mark Shuttleworth announced in his keynote at OpenStack Summit in Berlin that the Ubuntu 18.04 long-term support lifespan will be extended from five years to ten years. He also addressed IBM's acquisition of Red Hat. ZDNet reports that Shuttleworth indicated that this may lead customers to switch to Ubuntu, saying "We're neutral on the public cloud. We work at arm's length with AWS, Azure, and Google. We provide a common currency across different environment. But, we're not the lowest common denominator. We want to be the best operating system on Azure for Azure, AWS for AWS, and so on." News Raspberry Pi Raspbian qt Firefox Security Mozilla Chrome OS Canonical Ubuntu

How to Aggregate an Archive Log’s Deltas into a Snapshot with SQL

2018-11-16 14:07:35

A customer of my popular SQL training (which you should book!) has recently challenged me to optimise a hierarchical query that merges an archive log’s deltas in order to obtain a snapshot of some record at a given point in time. In this article, I will reproduce their problem statement in a simplified version and…Read more How to Aggregate an Archive Log’s Deltas into a Snapshot with SQL

Site News: Popular Posts for This Week (11.16.2018)

2018-11-16 14:05:01

Popular posts from PHPDeveloper.org for the past week:PHP Roundtable Podcast: Episode 79 - GDPR For PHP Devs Hackernoon.com: PHP is dead…Viva le PHP! TutsPlus.com: PHP Integers, Floats, and Number Strings Tim MacDonald: Loading Eloquent relationship counts Pehapkari.cz: Can you Count more Than 1024 PHP Groups in The World? Sameer Nyaupane: PHP Test Driven Development Part 5: Integration Testing Larry Garfield: Book review - Functional Programming in PHP TutsPlus.com: Write to Files and Read Files With PHP PHPUgly Podcast: Episode #128 - The Set Up

Big Data Languages, Tools, and Frameworks

2018-11-16 14:01:02

To understand the current and future state of big data, we spoke to 31 IT executives from 28 organizations. We asked them, "What are the most prevalent languages, tools, and frameworks you see being used in data ingestion, analysis, and reporting?" Here's what they told us: Python, Spark, Kafka With big data and the push into AL/ML, Scala and Python are leading with Apache Spark gaining popularity. Move from OLAP cubes and data warehouses to less organized structures applying ML with Python. Developers are writing Python ML models due to the library support that’s out there.  Kafka for streaming ingest. R and Python for programming. Java is prevalent. SQL hasn’t gone away. Not big data’s best friend but opens access to a broader range of people can access the data. Gartner has SQL on Hadoop coming out of the trough of disillusionment.  We see a lot of Hadoop, Spark, and Kafka. The emerging tech is in data warehousing where there is a lot of interest in Redshift, Snowflake, and Big Query. ML is out there. Added capabilities for TensorFlow. Early interest there. The third is Kubernetes. A lot of interest in leveraging to scale out consumption.  Other open source tools are widely used, such as Spark, R, and Python. This is why platforms offer an integration with these open source tools. In our workflow, it is possible to introduce a new node in which to script Python, R or Spark code. At execution, the node will execute the code and will become part of the node pipeline in the workflow.  For a while, R was predominant, especially in data science operationalizing models. Now the real innovation is around Python. A lot of tools, libraries, and support. People are starting to explore Spark and Kafka. Spark processes huge volumes at speed. Kafka is a messaging system for getting data into Spark. R is great for analyzing historical data. Take the model, get real-time data, and help marshal data so it can be run in real-time and apply the models.  Some of the common tools and frameworks include in-memory relational databases like VoltDB, Spark, Storm, Flink, Kafka, and NoSQL databases.   We provide a LINQ-type API for all CRUD data operations which can be called from a variety of languages such as C#, Go, Java, JavaScript, Python, Ruby, Scala, and Swift. Designed as a high performance (predictable low latency) database, our primary data access was created to be programmatic rather than declarative and as such, we do not currently support SQL. As our customers add analysis to the workloads they are currently performing, we will be adding SQL support. We support exporting data to backend data warehouses and data lakes for analysis. For ingestion, tools such as Kafka and Kinesis are gaining traction as the default data communications pipes within our customers.  We see SQL as the primary protocol used by companies of all sizes for data residing in our platform. For deployment management, we have seen a rapidly growing use of Docker and Kubernetes. For data ingestion, Apache Kafka is used by many of our customers and we recently announced the certification of our Kafka Connector within the Confluent partner program. For analysis, we frequently see Apache Spark used along with Apache Ignite as an in-memory data store.  Apache Kafka has become, essentially, a standard for streaming high volumes of data (particularly sensor data) into data analytical platforms in near real-time at ingest. For the highest analytical performance, in-database machine learning and advanced analytics are becoming an increasingly important way for organizations to deliver predictive analytics at scale. For reporting, there are a variety of data visualization tools on the market today – from Tableau to Looker to Microsoft Power BI to IBM Cognos to MicroStrategy and many others. Business analysts have never had more options to report on and visualize data. However, they should insist that their underlying data analytical platform has the scale and performance to enable them to get insight from the largest volumes of data with complete accuracy in seconds or minutes, not after the business opportunity has passed.  We leverage several data ingestion and orchestration tools, with Apache Kafka and NIFI projects being the most prevalent. We use Hadoop YARN with HBASE/HDFS for our persistence layer, we take advantage of data processing, predictive modeling, analytics, and deep learning projects such as Apache Zeppelin, Spark/Spark Streaming, Storm, SciKit-Learn, and Elasticsearch. In addition to these open source projects above, we leverage Talend, Pentaho, Tableau, and other best in class commercial licensed tools. TensorFlow, Tableau, PowerBI 1) We use Amazon Athena (Apache Presto) for log analysis. 2) We use Mode Analytics for data visualizations and Reporting. 3) We use TensorFlow to analyze traffic patterns.  Data science from an ML perspective. Availability of DL frameworks, TensorFlow, Pytorch, Keras, Caffe has made a huge difference to apply ML and create models for large-scale data.  Working through the platforms as a way to deliver insights at scale. BI use cases are trying to scale analysts. Tableau, PowerBI, MicroStrategy, TIBCO, and Qlik try to expand the number of people dashboards are in front of.  We see a lot of Spark as organizations are moving away from MapReduce. Java and Python are popular. Kafka is being used for ingestion. Visual Arcadia Data, Tableau, Qlik, and PowerBI for visualization.  Many projects use multiple languages and multiple analytics tools. We see a lot of SQL use, of course, and data science-oriented languages such as Python and R, but also a significant use of classic programming languages such as Java and C#. For data science, the top package we’re seeing as an adjunct to our products is TensorFlow, followed closely by self-service BI tools such as Tableau, PowerBI, and ClickView. Other Open source. More are moving to streaming data. This is driven by a need/desire for real-time answers. It depends on the project. We see multiple mechanisms being used for ingestion, enrichment, document classifiers. SciByte, Thompson Reuters – ontologies, intelligent tagging tools to drill down into the data. Personality insights, sentiment analysis enrichment of the data. The customer drives what they use from the browser. Customers are looking for how to build off tools they already have. SQL is still the language for big data. Works on top of Hadoop and other databases. OData isn’t that new, but people are using it from server-side and client-side. Others use GraphQL to dynamically query and get data. There is a lot of new technology on the server side. MongoDB does certain things well. We're getting more specific about what they are offering. Redis is good for caching. S3 is useful for data storage with Elasticsearch and S3 as the backend. More clearly-defined technologies and design patterns. People who use R and Python stick with what they use. There are a number of APIs in the system with more support. From an ingestion point of view, you want to offer as many ways to get data into and out of the system as possible. Support as many tools as possible. This is no critical mass. Cater to the talent. Developer tools and APIs support a wide range of both. Larger companies would like people using the same tool for BI and data science since they have a mix of tools and it's hard to standardize thousands of people on one tool. The way to integrate with different backends and accelerate production varies from tool to tool. We provide integration, acceleration, and a catalog of what the data is and the semantic meaning of the data. The catalog is centrally located in the platform. Pull security, integration, and acceleration into a central open source layer that works with all tools and data sources. The big data world is quickly evolving in so many ways across all environments—on-premises, in the cloud, etc. We see lots of variations of languages, execution engines, and data formats. Our core value is allowing customers to bypass having to deal with all those different tools and standards. With the drag and drop, no code environment that we deliver, customers don’t have to code anything by hand. This allows them to develop data pipelines once as part of a repeatable framework and then deploy them en mass regardless of the technology, platform, or language. For example, we have customers that have used Infoworks to implement on-premises on Cloudera once and then run those same pipelines without re-coding on Google Cloud using Dataproc. Here’s who we spoke to:

SD Times Open-Source Project of the Week: Mycroft

2018-11-16 14:00:44

Companies are looking to provide better experiences with their customers, which has given rise to the popularity of chatbots. Yet assistants that use voice tend to be only associated with tech giants like Apple, Amazon, and Google. Mycroft is an open-source voice assistant that is aiming to make voice assistants more attainable for everyone. “We … continue reading The post SD Times Open-Source Project of the Week: Mycroft appeared first on SD Times.

What is the MEAN stack? JavaScript web applications

2018-11-16 12:53:24

Most anyone who has developed web applications knows the acronym LAMP, which is used to describe web stacks made with Linux, Apache (web server), MySQL (database server), and PHP, Perl, or Python (programming language). Another web-stack acronym has come to prominence in the last few years: MEAN—signifying a stack that uses MongoDB (database server), Express (server-side JavaScript framework), Angular (client-side JavaScript framework), and Node.js (JavaScript runtime).

Glorious Demo : Easiest way to Demonstrate your Code

2018-11-16 12:39:37

Glorious Demo is the easiest way to demonstrate your code in action. The post Glorious Demo : Easiest way to Demonstrate your Code appeared first on Best jQuery.

SampGallery : Simple jQuery Image Previewer

2018-11-16 12:25:11

SampGallery is a simple jQuery image previewer gallery. The post SampGallery : Simple jQuery Image Previewer appeared first on Best jQuery.

Qt 5.12 Lowering The QML Memory Consumption, Better JavaScript Performance

2018-11-16 10:31:29

As part of The Qt Company's ongoing improvements to their tool-kit and with Qt 5.12 being an LTS release, this cycle they focused a lot on improving the performance...

PHP on RHEL-8 - Remi Collet

2018-11-16 08:16:00

RHEL-8 Beta is announced and is available for download for whom want to try it. This is an opportunity to look a PHP installation and how modules work. 1. Installation ISO image is available for everyone, see the README file. Don't forget to enable the Beta repositories. # dnf repolist repo id repo name status rhel-8-for-x86_64-appstream-beta-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs) 4594 rhel-8-for-x86_64-baseos-beta-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs) 1686 2. Installation of PHP PHP is not part of BaseOS which is the base of the Operating System, reduced to minimal, but is available in AppStream, i.e. as a module. # dnf module list Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs) php 7.1 devel, minimal, defaul PHP scripting language t [d] php 7.2 [d] devel, minimal, defaul PHP scripting language t [d] You can see that both versions 7.1 and 7.2 (défaut) are available. Installation of version 7.1 # dnf module install php:7.1 Dependencies resolved. ========================================================================================================== Package Arch Version Repository Size ========================================================================================================== Installing group/module packages: php-cli x86_64 7.1.20-2.el8+1700+11d526eb rhel-8-for-x86_64-appstream-beta-rpms 2.9 M php-common x86_64 7.1.20-2.el8+1700+11d526eb rhel-8-for-x86_64-appstream-beta-rpms 624 k php-fpm x86_64 7.1.20-2.el8+1700+11d526eb rhel-8-for-x86_64-appstream-beta-rpms 1.5 M php-json x86_64 7.1.20-2.el8+1700+11d526eb rhel-8-for-x86_64-appstream-beta-rpms 70 k php-mbstring x86_64 7.1.20-2.el8+1700+11d526eb rhel-8-for-x86_64-appstream-beta-rpms 547 k php-xml x86_64 7.1.20-2.el8+1700+11d526eb rhel-8-for-x86_64-appstream-beta-rpms 187 k Installing dependencies: httpd-filesystem noarch 2.4.35-6.el8+2089+57a79027 rhel-8-for-x86_64-appstream-beta-rpms 32 k nginx-filesystem noarch 1:1.14.0-3.el8+1631+ba902cf0 rhel-8-for-x86_64-appstream-beta-rpms 23 k Installing module profiles: php/default Enabling module streams: httpd 2.4 nginx 1.14 php 7.1 Transaction Summary ========================================================================================================== Install 8 Packages Total download size: 5.9 M Installed size: 20 M Is this ok [y/N]: y Result: # php -v PHP 7.1.20 (cli) (built: Jul 19 2018 06:17:27) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies And you can switch easily to  7.2 # dnf module install php:7.2 Dependencies resolved. ========================================================================================================== Package Arch Version Repository Size ========================================================================================================== Upgrading: php-cli x86_64 7.2.11-1.el8+2002+9409c40c rhel-8-for-x86_64-appstream-beta-rpms 3.1 M php-common x86_64 7.2.11-1.el8+2002+9409c40c rhel-8-for-x86_64-appstream-beta-rpms 653 k php-fpm x86_64 7.2.11-1.el8+2002+9409c40c rhel-8-for-x86_64-appstream-beta-rpms 1.6 M php-json x86_64 7.2.11-1.el8+2002+9409c40c rhel-8-for-x86_64-appstream-beta-rpms 73 k php-mbstring x86_64 7.2.11-1.el8+2002+9409c40c rhel-8-for-x86_64-appstream-beta-rpms 580 k php-xml x86_64 7.2.11-1.el8+2002+9409c40c rhel-8-for-x86_64-appstream-beta-rpms 188 k Switching module streams: php 7.1 -> 7.2 Transaction Summary ========================================================================================================== Upgrade 6 Packages Total download size: 6.2 M Is this ok [y/N]: y Result: # php -v PHP 7.2.11 (cli) (built: Oct 9 2018 15:09:36) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies 3. Web usage 3.1 with Apache HTTP ServerTruncated by Planet PHP, read more at the original (another 1503 bytes)

Overload control for scaling WeChat microservices

2018-11-16 06:00:00

Overload control for scaling WeChat microservices Zhou et al., SoCC’18 There are two reasons to love this paper. First off, we get some insights into the backend that powers WeChat; and secondly the authors share the design of the battle hardened overload control system DAGOR that has been in production at WeChat for five years. […]

Qt/KDE: Qt for Python, Inkscape Dark Theme on KDE Plasma, Atelier at Maker Faire and QtCon 2018!

2018-11-16 05:00:22

Python and Qt: 3,000 hours of developer insight With Qt for Python released, it’s time to look at the powerful capabilities of these two technologies. This article details one solopreneur’s experiences. [...] The big problem with Electron is performance. In particular, the startup time was too high for a file manager: On an admittedly old machine from 2010, simply launching Electron took five seconds. I admit that my personal distaste for JavaScript also made it easier to discount Electron. Before I go off on a rant, let me give you just one detail that I find symptomatic: Do you know how JavaScript sorts numbers? Alphabetically. ’nuff said. After considering a few technologies, I settled on Qt. It’s cross-platform, has great performance and supports custom styles. What’s more, you can use it from Python. This makes at least me orders of magnitude more productive than the default C++. Inkscape Dark Theme on KDE Plasma On KDE Plasma, it's very easy to setup Inkscape Dark Theme. To do so, go to System Settings > Application Style > GNOME/GTK+ Style > under GTK+ Style: switch all themes to Dark ones and give check mark to Prefer Dark Theme > Apply. Now your Inkscape should turned into dark mode. To revert back, just revert the theme selections. This trick works on Kubuntu or any other GNU/Linux system as long as it uses Plasma as its desktop environment. Atelier at Maker Faire and QtCon 2018! On the weekend of November 3 and 4, it happened on Rio de Janeiro the first Maker Faire of Latin America. And I was able to do a talk about Atelier and the current status of our project. The event hold more than 1.500 people on the first day, that saw a lot of talks and the exposition of makers of all over the country that came to Rio to participate in this edition of the Maker Faire. read more

Compiling C# to WASM with Mono and Blazor then Debugging .NET Source with Remote Debugging in Chrome DevTools

2018-11-16 02:45:00

Blazor quietly marches on. In case you haven't heard (I've blogged about Blazor before) it's based on a deceptively simple idea - what if we could run .NET Standard code in the browsers? No, not Silverlight, Blazor requires no plugins and doesn't introduce new UI concepts. What if we took the AOT (Ahead of Time) compilation work pioneered by Mono and Xamarin that can compile C# to Web Assembly (WASM) and added a nice UI that embraced HTML and the DOM? Sound bonkers to you? Are you a hater? Think this solution is dumb or not for you? To the left. For those of you who want to be wacky and amazing, consider if you can do this and the command line:$ cat hello.csclass Hello { static int Main(string[] args) { System.Console.WriteLine("hello world!"); return 0; }}$ mcs -nostdlib -noconfig -r:../../dist/lib/mscorlib.dll hello.cs -out:hello.exe$ mono-wasm -i hello.exe -o output$ ls outputhello.exe index.html index.js index.wasm mscorlib.dll Then you could do this in the browser...look closely on the right side there. You can see the Mono runtime compiled to WASM coming down. Note that Blazor IS NOT compiling your app into WASM. It's sending Mono (compiled as WASM) down to the client, then sending your .NET Standard application DLLs unchanged down to run within with the context of a client side runtime. All using Open Web tools. All Open Source. So Blazor allows you to make SPA (Single Page Apps) much like the Angular/Vue/React, etc apps out there today, except you're only writing C# and Razor(HTML). Consider this basic example.@page "/counter"<h1>Counter</h1><p>Current count: @currentCount</p><button class="btn btn-primary" onclick="@IncrementCount">Click me</button>@functions { int currentCount = 0; void IncrementCount() { currentCount++; }} You hit the button, it calls some C# that increments a variable. That variable is referenced higher up and automatically updated. This is trivial example. Check out the source for FlightFinder for a real Blazor application. This is stupid, Scott. How do I debug this mess? I see you're using Chrome but seriously, you're compiling C# and running in the browser with Web Assembly (how prescient) but it's an undebuggable black box of a mess, right? I say nay nay!C:\Users\scott\Desktop\sweetsassymollassy> $Env:ASPNETCORE_ENVIRONMENT = "Development"C:\Users\scott\Desktop\sweetsassymollassy> dotnet run --configuration DebugHosting environment: DevelopmentContent root path: C:\Users\scott\Desktop\sweetsassymollassyNow listening on: http://localhost:5000Now listening on: https://localhost:5001Application started. Press Ctrl+C to shut down. Then Win+R and run this command (after shutting down all the Chrome instances)%programfiles(x86)%\Google\Chrome\Application\chrome.exe --remote-debugging-port=9222 http://localhost:5000 Now with your Blazor app running, hit Shift+ALT+D (or Shift+SILLYMACKEY+D) and behold. Feel free to click and zoom in. We're at a breakpoint in some C# within a Razor page...in Chrome DevTools. What? How? Blazor provides a debugging proxy that implements the Chrome DevTools Protocol and augments the protocol with .NET-specific information. When debugging keyboard shortcut is pressed, Blazor points the Chrome DevTools at the proxy. The proxy connects to the browser window you're seeking to debug (hence the need to enable remote debugging). It's just getting started. It's limited, but it's awesome. Amazing work being done by lots of teams all coming together into a lovely new choice for the open source web. Sponsor: Preview the latest JetBrains Rider with its Assembly Explorer, Git Submodules, SQL language injections, integrated performance profiler and more advanced Unity support. © 2018 Scott Hanselman. All rights reserved.      

Email Signature Style 10

2018-11-16 00:12:49

The post Email Signature Style 10 appeared first on Best jQuery.

Link Hover Style 49

2018-11-16 00:10:07

The post Link Hover Style 49 appeared first on Best jQuery.

Learn About AWS On Coursera

2018-11-16 00:00:00

Coursera and Amazon Web Service (AWS) have joined forces to provide a course that introduces the core services and infrastructure of ASW. Through demonstrations participants will learn how to use and configure AWS services to deploy and host a cloud-native application. Read more...

A sneak peek at Vue.js 3.0

2018-11-16 00:00:00

#412 — November 16, 2018 Read on the Web JavaScript Weekly Evan You Previews Vue.js 3.0 — The creator of Vue.js presented a look at the future of the popular framework at an event this week. Plenty of performance optimizations are on the cards, plus a goal of getting to just 10KB gzipped. A move from Flow to TypeScript may provoke discussion, however. Slides here. Gregg Pollack and Adam Jahr The Power of Web Components — ‘Web Components’ is a set of standards to enable user-defined HTML elements. This is an accessible tutorial that looks at the state of play and how to create your own components with HTML and JavaScript. Potch (Mozilla Hacks) How to Brand Yourself or Your Tech Business for the Most Impact — Being passionate about technology reflects in your work, ideas and imagination. But, does it reflect in your online identity too? It’s time for you to choose .TECH, a domain name that is innovative and relevant to who you are. .TECH Domains sponsor TNG-Hooks: React-Inspired 'Hooks' for Stand-Alone Functions — An interesting idea inspired by React’s recently proposed Hooks feature. Kyle Simpson Faster Async Functions and Promises for V8 — A substantial and easy-to-follow exploration of how async functions and promises in V8 have been optimized and how the debugging experience for async code has been improved. Maya Lekova and Benedikt Meurer (V8) Slate: A Framework for Building Rich Browser-Based Text Editors — A flexible, plugin-driven framework for building rich, intuitive editors. An established project but with lots of improvements and releases since we last linked it. Play with all the live demos here. Ian Storm Taylor Goodbye Electron, Hello Desktop PWAs? — There’s still a long way for progressive webapps to go, but in many use cases the technology is advanced enough to displace typical ‘hybrid’ desktop apps especially when desktop PWA support lands on macOS in Chrome 72. David Novicki ???? Jobs Developer Avocado ???? in Beautiful Norway???? — Passion for React & GraphQL? Love tech evangelism? Join our fast growing GraphQL based e-commerce service Crystallize. Crystallize AS Full Stack Engineer, SEO Platform (SF) — The Uber SEO Engineering team is a full-stack team focused on improving Uber's SEO. We build tools, systems, libraries, and features to improve SEO @ scale. Uber Join Our Career Marketplace & Get Matched With A Job You Love — Through Hired, software engineers have transparency into salary offers, competing opportunities, and job details. Hired ???? Tutorials and Opinions A Guide to Handling Errors in JavaScript Lukas Gisder-Dubé React Concepts You Should Know (After You Learn The Basics) — If you’re still pretty new to React, this is for you. You’ve followed some tutorials, maybe got your first React app working, but what’s worth understanding next? Context, HOCs, and lifecycle methods for starters. Chris Chuck Handling Complex Data Integrations in JavaScript Apps — Demand for apps is increasing, but integration challenges slow the process. Explore how to tackle complex data integrations in this webinar. Register today. Progress Kinvey sponsor Promise Chaining Is Dead. Long Live async/await — One developer makes the argument for stopping using promise chaining altogether and getting entirely on the async/await train. Alberto Gimeno Inlining or Caching? Both Please — A look at the potential for using Service Workers and the Cache API to cache inlined assets. Scott Jehl Building Offline-First Vue.js Apps with Hoodie & Workbox — Hoodie is a backend for ‘offline-first’ JS apps while Workbox adds offline support to web apps. Peter Mbanugo Common Testing Mistakes — A look at some of the common mistakes people make when testing JavaScript applications. Kent C. Dodds After Two Years with TypeScript - Was It Worth It? — Contrary to Betteridge’s “law of headlines”, the answer was yes in this case. Kamil Zagrabski ???? Code and Tools TensorSpace.js: A 3D Visualization Framework for Neural Networks — Provides an intuitive way to visualize and understand pre-trained models built by TensorFlow, Keras, TensorFlow.js, etc. GitHub repo. TensorSpace Team Create a Serverless Powered API in 10 Minutes — Use Cloudflare Workers to create and deploy a serverless API to 150+ data centers. Cloudflare Workers sponsor Offline PDF Documentation for Node — A handy set of PDFs (weighing in at up to 1080 pages) covering different versions of Node. Thomas Hunter II Visual Studio Code October 2018 Edition Released — The JS world’s most popular editor introduces multiline search and better macOS display support, amongst many improvements. Microsoft Tiptap: A 'Renderless', Extendable Rich-Text Editor for Vue.js Scrumpy UG PLV8: Write JavaScript Functions in PostgreSQL — Did you know you can use JavaScript within Postgres for things like stored procedures and triggers? We also have a Postgres newsletter if this is your sort of thing. PLV8JS Development Group A Much Faster Way to Debug Code Than with Breakpoints or console.log Wallaby.js sponsor Router: A Simple Framework-Agnostic Router Kevin Durbin react-beautiful-dnd: Accessible Drag and Drop for Lists — Version 10 dropped this week. See our React newsletter for more like this. Atlassian

The Dream Team Nightmare

2018-11-16 00:00:00

Author: Portia TungPublisher: Pragmatic Bookshelf, 2013Pages: 304ISBN: 978-1937785718Print: 1937785718Kindle: B00I9GR4UQAudience: Anyone who has worked on an agile project or is thinking about trying itRating: 4Reviewer: Lucy Black A novel approach to teaching lessons about using Agile techniques. Is it effective? Read more...

Faster web

2018-11-15 23:27:42

Practice PHP and Learn: File Handling

2018-11-15 23:00:00

ZeroBounce Announces New API for Bulk Email Validation

2018-11-15 22:15:39

ZeroBounce, provider of email verification services, has announced the addition of a new API for bulk email validation. The new API is designed for users with frequent email validation needs, that would prefer to automate the entire process.

Sameer Nyaupane: PHP Test Driven Development Part 5: Integration Testing

2018-11-15 19:54:21

Sameer Nyaupane has posted the latest part in his "PHP Test Driven Development" series of tutorials. In this latest post, part five, he focuses on integration testing, ensuring the components are all working together as they should. Let’s learn about Integration testing today. Integration testing is a method of testing by passing in the real dependencies and thus testing out the integration between two or more objects. He updates the examples from his previous post to test the integration between the Math and Calculate classes. He walks you through the changes required to the phpunit.xml configuration and the creation of the initial test classes. He goes through each line of the tests, explaining what it's doing and how mocks are used to help with dependencies.

Tisane Labs Introduces API to Detect Abusive Text Content

2018-11-15 19:40:25

Tisane Labs, AI-powered text analytics solution provider, recently announced the Tisane API. The API detects and classifies abusive text content across 27 languages. Abusive speech types include hate speech, personal attacks, unwanted sexual advances, criminal activity and the company will continue to add to this list.

Applitools announces plans for Test Automation University

2018-11-15 18:56:10

Cloud-based application testing and visual management company Applitools revealed the upcoming launch of its Test Automation University, a program that aims to teach test automation skills through training and tutorials produced by a community of specialists. The program is expected to launch early next year. Applitools explained the group is composed of testers, engineers and … continue reading The post Applitools announces plans for Test Automation University appeared first on SD Times.

Visual Studio Java Gets IntelliCode

2018-11-15 18:22:29

Developers using Visual Studio Code to write in Java can now make use of Microsoft's AI-assisted IntelliSense extension. The extension has until now been limited to use with Python and C#. Read more...

Pro SQL Server on Linux (Apress)

2018-11-15 18:19:16

This book walks you through installing and configuring SQL Server on the Linux platform. Author Bob Ward is one of the principal architects of SQL Server for Linux, and brings a corresponding depth of knowledge. Throughout this book are internals of how SQL Server on Linux works including an in depth look at the architecture. It covers day-to-day management and troubleshooting, including diagnostics and monitoring, the use of containers to manage deployments, and the use of self-tuning and the in-memory capabilities.It also covers performance capabilities, high availability, and disaster recovery along with security and encryption. <ASIN:1484241274> Read more...

Book Review: Deception

2018-11-15 17:37:02

PHPUgly Podcast: Episode #128 - The Set Up

2018-11-15 17:19:32

The PHPUgly podcast, hosted by PHP community members Eric Van Johnson, John Congdon and Thomas Rideout, has posted their latest episode - Episode #128: The Set Up. In this latest show, the hosts discuss several topics including the preloading RFC, Laravel Telescope and the post from Freek Van der Herten about other people's setups. You can listen to this latest show either using the in-page audio player or by downloading the mp3 directly for listening at your leisure. If you enjoy the show, be sure to subscribe to their feed and follow them on Twitter to get updates when the latest shows are released. You can also support them via Patreon to help make the show even better!

Collective #468

2018-11-15 17:15:18

State of Houdini * Turtletoy * VisBug * Squoosh * The Writable Files API * Web.dev (beta) * Inlining or Caching? Both Please! Collective #468 was written by Pedro Botelho and published on Codrops.

TutsPlus.com: Write to Files and Read Files With PHP

2018-11-15 16:41:04

TutsPlus.com has continued their series of posts covering some of the basics of the PHP language with their latest article. In this newest tutorial they cover reading from and writing to files using functionality already included with the language. In this tutorial, you'll learn several important functions in PHP which are sufficient for all your basic file reading and writing needs. You'll learn how to read a file, write to a file, write to a text file, and check if a file exists. Luckily, PHP provides a lot of functions to read and write data to files. In this tutorial, I'll show you the easiest ways to read data from a local or remote file and how to use flags to write to files exactly how we want. The tutorial is broken down into several sections: checking if a file exists reading data from a file writing data to a file reading and writing data to files Each section comes with a bit of description and code examples showing it in action. The post wraps up with some final thoughts and "gotchas" that you need to know when working with files in PHP (especially large ones).

The Internet Has a Huge C/C++ Problem and Developers Don't Want to Deal With It

2018-11-15 16:40:00

What do Heartbleed, WannaCry, and million dollar iPhone bugs have in common? From a report: One bug affects iPhones, another affects Windows, and the third affects servers running Linux. At first glance these might seem unrelated, but in reality all three were made possible because the software that was being exploited was written in programming languages which allow a category of errors called "memory unsafety." By allowing these types of vulnerabilities, languages such as C and C++ have facilitated a nearly unending stream of critical computer security vulnerabilities for years. Imagine you had a program with a list of 10 numbers. What should happen if you asked the list for its 11th element? Most of us would say an error of some sort should occur, and in a memory safe programming language (for example, Python or Java) that's what would happen. In a memory unsafe programming language, it'll look at wherever in memory the 11th element would be (if it existed) and try to access it. Sometimes this will result in a crash, but in many cases you get whatever happens to be at that location in memory, even if that portion of memory has nothing to do with our list. This type of vulnerability is called a "buffer-overflow," and it's one of the most common types of memory unsafety vulnerabilities. HeartBleed, which impacted 17 percent of the secure web servers on the internet, was a buffer-overflow exploit, letting you read 60 kilobytes past the end of a list, including passwords and other users' data. Read more of this story at Slashdot.

Gartner predicts RPA spending will reach $2.4 billion by 2022

2018-11-15 16:33:00

Interest in robotic process automation (RPA) is gaining. The research firm Gartner estimates it will reach $680 million by the end of the year and is on pace to reach $2.4 billion in 2022. According to Gartner, RPA is a business process automation solution for reducing costs, eliminating errors and speeding up processes. “End-user organizations … continue reading The post Gartner predicts RPA spending will reach $2.4 billion by 2022 appeared first on SD Times.

Comparing bfloat16 range and precision to other 16-bit numbers

2018-11-15 16:23:51

Deep learning has spurred interest in novel floating point formats. Algorithms often don’t need as much precision as standard IEEE-754 doubles or even single precision floats. Lower precision makes it possible to hold more numbers in memory, reducing the time spent swapping numbers in and out of memory. Since this where a lot of time […]

MapR Data Platform v6.0 and v6.1 now certified on Oracle Cloud Infrastructure

2018-11-15 15:46:32

MapR Technologies, Inc., provider of the industry’s next generation data platform for AI and Analytics, today announced a validated reference architecture for the MapR Data Platform on Oracle Cloud Infrastructure (OCI) and the certification of MapR Data Platform versions 6.0.0, 6.0.1 and 6.1 on the OCI. With the MapR certification, the Oracle Cloud Marketplace brings … continue reading The post MapR Data Platform v6.0 and v6.1 now certified on Oracle Cloud Infrastructure appeared first on SD Times.

SD Times news digest: Docker and MuleSoft’s partnership, ActiveState’s open-source language automation category, and Instana’s automatic Python instrumentation

2018-11-15 15:38:58

Docker and MuleSoft have announced a new partnership to modernize applications and accelerate digital transformation. As part of the partnership, the companies will work together to deliver new capabilities for legacy apps with APIs, legacy apps without APIs and new apps created in Docker. In addition, MuleSoft’s Anypoint platform will be combined with Docker Enterprise. … continue reading The post SD Times news digest: Docker and MuleSoft’s partnership, ActiveState’s open-source language automation category, and Instana’s automatic Python instrumentation appeared first on SD Times.

Larry Garfield: Book review - Functional Programming in PHP

2018-11-15 15:28:47

Larry Garfield has posted a book review to his Steemit site giving his thoughts about the "Functional Programming in PHP" book from php[architect] press. I was asked by php[architect] a while back to review "Functional Programming in PHP, 2nd Ed" by Simon Holywell. I've been sitting on this review for a while, so it's time to finally get it done. He starts with some of the usual disclosures about receiving the book (for free), what the review is based on and that the opinions are his alone. He goes on to share some of his initial impressions of the book and whether he feels it's a good book to recommend to those wanting to start out with functional programming in PHP. He also points out that, while the book was published in 2016 the recommended PHP version even then was quite old (v5.4). He covers some of the topics that the book covers, noting that many of them, while interesting, don't add much to the overall book. He does focus on one chapter and how, at the beginning, it showed promise but quickly moved towards using 3rd party libraries for more complex operations. He finishes the review by answering the question: "does this book make me care about functional programming in PHP?"

The Power of Web Components

2018-11-15 15:06:07

Web Components comprises a set of standards that enable user-defined HTML elements. These elements can go in all the same places as traditional HTML. Despite the long standardization process, the emerging promise of Web Components puts more power in the hands of developers and creators. The post The Power of Web Components appeared first on Mozilla Hacks - the Web developer blog.

Are HTML Pages Really Static? Think Again!

2018-11-15 14:17:34

According to the definition of a static page - "It shows information exactly as it is stored." So, if you are building a page that shows information from the database (dynamic), then you will use a server-side page like .php/.aspx/.cshtml. As a web developer, I have heard quite often that, "an HTML page is a static page, so it cannot be used to show dynamic content." This sounds fair but it is not totally correct. Let's discuss why an HTML page is not really a static page.

Tell Mozilla About Your CSS Woes

2018-11-15 14:06:03

Tell the Firefox DevTools team about your biggest CSS and web design issues by taking part in its Design Tools survey. Mozilla wants to hear from both web developers and designers, and not just Firefox users; devs who use Chrome, Safari, Edge, and IE users are encouraged to join in. Read more...

Site News: Blast from the Past - One Year Ago in PHP (11.15.2018)

2018-11-15 14:05:02

Here's what was popular in the PHP community one year ago today:Symfony Finland: Attaching React.js to a template rendered on the server with Twig Symfony Finland: State of GraphQL PHP libraries and Symfony integrations in 2017 Rob Allen: Implementing CORS in Zend Expressive Jordi Boggiano: PHP Versions Stats - 2017.2 Edition PHPUgly Podcast: Episode #83 - Self Titled Alison Gianotto: So You Ran Composer as Root...

Getting Started with Scilab

2018-11-15 13:15:15

by Joey Bernard Introducing one of the larger scientific lab packages for Linux. Scilab is meant to be an overall package for numerical science, along the lines of Maple, Matlab or Mathematica. Although a lot of built-in functionality exists for all sorts of scientific computations, Scilab also includes its own programming language, which allows you to use that functionality to its utmost. If you prefer, you instead can use this language to extend Scilab's functionality into completely new areas of research. Some of the functionality includes 2D and 3D visualization and optimization tools, as well as statistical functions. Also included in Scilab is Xcos, an editor for designing dynamical systems models. Several options exist for installing Scilab on your system. Most package management systems should have one or more packages available for Scilab, which also will install several support packages. Or, you simply can download and install a tarball that contains everything you need to be able to run Scilab on your system. Once it's installed, start the GUI version of Scilab with the scilab command. If you installed Scilab via tarball, this command will be located in the bin subdirectory where you unpacked the tarball. When it first starts, you should see a full workspace created for your project. Figure 1. When you first start Scilab, you'll see an empty workspace ready for you to start a new project. On the left-hand side is a file browser where you can see data files and Scilab scripts. The right-hand side has several panes. The top pane is a variable browser, where you can see what currently exists within the workspace. The middle pane contains a list of commands within that workspace, and the bottom pane has a news feed of Scilab-related news. The center of the workspace is the actual Scilab console where you can interact with the execution engine. Let's start with some basic mathematics—for example, division: --> 23/7 ans = 3.2857143 As you can see, the command prompt is -->, where you enter the next command to the execution engine. In the variable browser, you can see a new variable named ans that contains the results of the calculation. Along with basic arithmetic, there is also a number of built-in functions. One thing to be aware of is that these function names are case-sensitive. For example, the statement sqrt(9) gives the answer of 3, whereas the statement SQRT(9) returns an error. There also are built-in constants for numbers like e or pi. You can use them in statements, like this command to find the sine of pi/2: Go to Full Article

Programming: WebRender, Healthcare Design Studio GoInvo, PHP Boost and Google Cloud Platform (GCP)

2018-11-15 12:51:26

Mozilla GFX: WebRender newsletter #30 Hi! This is the 30th issue of WebRender’s most famous newsletter. At the top of each newsletter I try to dedicate a few paragraphs to some historical/technical details of the project. Today I’ll write about blob images. WebRender currently doesn’t support the full set of graphics primitives required to render all web pages. The focus so far has been on doing a good job of rendering the most common elements and providing a fall-back for the rest. We call this fall-back mechanism “blob images”. The general idea is that when we encounter unsupported primitives during displaylist building we create an image object and instead of backing it with pixel data or a texture handle, we assign it a serialized list of drawing commands (the blob). For WebRender, blobs are just opaque buffers of bytes and a handler object is provided by the embedder (Gecko in our case) to turn this opaque buffer into actual pixels that can be used as regular images by the rest of the rendering pipeline. Healthcare Design Studio GoInvo Releases Open Source Research on Loneliness [Ed: Very odd if not 'creative' use of the term Open Source] PHP Lands Preload Feature, Boosting Performance In Some Cases 30~50% PHP developers unanimously approved and already merged support for the new "preloading" concept for this web server language. PHP preloading basically allows loading PHP code that persists as long as the web server is running and that code will always be ready for each subsequent web request, which in some cases will dramatically speed-up the PHP performance on web servers. While PHP has long supported caching to avoid PHP code recompilation on each new web request, with each request PHP has still had to check to see if any of the source file(s) were modified, re-link class dependencies, and similar work. PHP preloading allows for given functions/classes to be "preloaded" that will survive as long as the web server is active. It effectively allows loading of functions or entire/partial frameworks that will then be present for each new web request just as if it were a built-in function. Google Announces a Managed Cron Service: Google Cloud Scheduler Google announced a new Service on the Google Cloud Platform (GCP) - Cloud Scheduler, a fully managed cron job service that allows any application to invoke batch, big data and cloud infrastructure operations. The service is currently available in beta. With Google Cloud Scheduler customers can use the cron service with no need to manage the underlying infrastructure. There is also no need to manually intervene in the event of transient failure, as the services retries failed jobs. Furthermore, customers will only pay for the operations they run -- GCP takes care of all resource provisioning, replication and scaling required to operate Cloud Scheduler. Also, customers can, according to Vinod Ramachandran, product manager at Google, benefit from: read more

Gradle Goodness: Generate Javadoc in HTML 5

2018-11-15 11:04:01

Since Java 9, we can specify that the Javadoc output must be generated in HTML 5 instead of the default HTML 4. We need to pass the option -html5 to the javadoc tool. To do this in Gradle, we must add the option to the javadoc task configuration. We use the addBooleanOption method of the options property that is part of the javadoc task. We set the argument to html5 and the value to true. In the following example, we reconfigure the javadoc task to make sure the generated Javadoc output is in HTML 5:

Implementing an IoT Network Using Only JavaScript

2018-11-15 11:01:01

This article provides a brief explanation on how embedded software developers can build an IoT network using JavaScript on Alibaba Cloud's IoT platform. This tutorial is ideal for developers with front-end experience and who typically prefer JavaScript over C and Java. Let's get right into it! Overview This example uses the Developer Kit (with AliOS Things ported) as the development hardware to implement data uploading from a board-mounted temperature sensor to Link Develop and uses Web App for demonstration.

PHP Lands Preload Feature, Boosting Performance In Some Cases 30~50%

2018-11-15 10:35:25

PHP developers unanimously approved and already merged support for the new "preloading" concept for this web server language. PHP preloading basically allows loading PHP code that persists as long as the web server is running and that code will always be ready for each subsequent web request, which in some cases will dramatically speed-up the PHP performance on web servers...

Scalability and Performance: It's Time to Relax With CouchDB and Java

2018-11-15 08:01:02

Performance and scalability are the most desirable traits that developers talk about in regards to persistence technology. Apache CouchDB makes this dream a reality. Apache CouchDB is an open-source database software that focuses on ease of use and having a scalable architecture. CouchDB is a document-oriented NoSQL database architecture and is implemented in the concurrency-oriented language Erlang; it uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API. This article will cover about this NoSQL database and integrate it with Jakarta EE. Installing CouchDB Using Docker To install CouchDB using Docker, we need to follow these steps:

Just one Corretto, give it to me... AWS brews its own blend of Java with free long-term support

2018-11-15 07:56:08

Post boasts cloud host's utmost roast Amazon may be working to rid itself of Oracle database software, but the box-and-bit shifting biz can't get enough of Oracle's coffee-themed programming technology, Java.…

SpaceTime : Javascript Timezone Library

2018-11-15 06:18:42

SpaceTime is a lightweight javascript timezone library. handle dates in remote timezones heavily-support daylight savings, leap years (and seconds!), and hemisphere-logic Moment-like  API Orient by quarter, season, month, week.. Zero Dependencies – no Intl API weighs just […] The post SpaceTime : Javascript Timezone Library appeared first on Best jQuery.

Upgrade to Angular 7 in 5 Simple Steps

2018-11-15 06:01:01

Angular helps to build modern applications for web, mobile, or desktop. Currently, Angular 7 is the latest version. Staying up-to-date with the latest version is very important. Upgrading to Angular 7 takes just a few simple steps: First, upgrade the Angular version globally by adding the latest version via the terminal: sudo npm install -g @angular/cli@latest Upgrade the version locally in your project and make sure the changes for the new version are reflected in the package.json fileng update @angular/cli Upgrade all your dependencies and dev dependencies in package.json Dependencies: npm install --save @angular/animations@latest @angular/cdk@latest @angular/common@latest @angular/compiler@latest @angular/core@latest @angular/flex-layout@latest @angular/forms@latest @angular/http@latest @angular/material@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/router@latest core-js@latest zone.js@latest rxjs@latest rxjs-compat@latest Dev Dependencies: npm install --save-dev @angular-devkit/build-angular@latest @angular/compiler-cli@latest @angular/language-service @types/jasmine@latest @types/node@latest codelyzer@latest karma@latest karma-chrome-launcher@latest karma-cli@latest karma-jasmine@latest karma-jasmine-html-reporter@latest jasmine-core@latest jasmine-spec-reporter@latest protractor@latest tslint@latest rxjs-tslint@latest webpack@latest Angular-devkit was introduced in Angular 6 to build Angular applications that required dependency on your CLI projects. Also, you'll need to upgrade the version for Typescriptnpm install typescript@2.9.2 --save-dev Now, migrate the configuration of angular-cli.json to angular.jsonng update @angular/cli ng update @angular/coreIf Angular material is used, use this command:ng update @angular/material Remove deprecated RxJS 6 features npm install -g rxjs-tslint   rxjs-5-to-6-migrate -p src/tsconfig.app.json(Please, be patient and wait until the execution completes). Now, uninstall rxjs-compat as it is an unnecessary dependency for Angular 7.npm uninstall --save rxjs-compat Also changeimport { Observable } from 'rxjs/Observable';  toimport { Observable } from 'rxjs'; Finally, start your Angular 7 application using ng serve.

Doubly Linked List Implementation in JavaScript

2018-11-15 05:56:55

Mozilla: Thunderbird Hires, Firefox 64 Beta 12 Testday, Firefox DevTools

2018-11-15 02:35:23

The Thunderbird project is hiring: Software Engineers We need your help to improve and maintain Thunderbird. Moving Thunderbird forward includes replacing/rewriting components to be based primarily on web technologies, reducing the reliance on Mozilla-internal interfaces. It also includes boosting the user experience of the product. Maintenance involves fixing bugs and regressions, as well as addressing technical debt and enhancing performance. Most tasks have a component of both maintenance and improvement, and any new component needs careful integration with the existing system. We have compiled a high level list of tasks here; the work assigned to you will include a subset of these items. Let us know in your cover letter where you believe you can make most impact and how. Firefox 64 Beta 12 Testday, November 23th We are happy to let you know that Friday, November 23th, we are organizing Firefox 64 Beta 12 Testday. We’ll be focusing our testing on: Multi-Select Tabs and Widevine CDM. New & Experimental Web Design Tools: Feedback Requested A year ago, the Firefox DevTools team formed a subgroup to focus on new tools for working in web design, CSS, and HTML. Motivated by the success of the Grid Inspector, and with help from the Developer Outreach, Gecko Platform, and Accessibility teams, we launched the Variable Fonts Editor and the Shape Path Editor, added an Accessibility Inspector, and revamped our Responsive Design Mode. [...] We’re just getting started, and now we want to learn more about you. Tell us about your biggest CSS and web design issues in the first-ever Design Tools survey! read more

Bootstrap Vertical Tab 16

2018-11-15 00:12:08

The post Bootstrap Vertical Tab 16 appeared first on Best jQuery.

Service Box 99

2018-11-15 00:10:48

The post Service Box 99 appeared first on Best jQuery.

Functional And Dysfunctional Programming

2018-11-15 00:00:00

What is functional programming? Surely all our programs should function in some way or other? No - that's not what it means. Functional programming is altogether different.... Read more...

Zype Announces News Video Analytics APIs

2018-11-14 22:51:25

Zype, a cloud platform for video publishing and distribution, has announced the release of video analytics APIs that allow users to create custom views around video stream hours, impressions, and devices used. The APIs aim to further the company’s vision of connecting content owners directly with their audiences.

Kofax adds new robotic process automation capabilities to its toolbelt

2018-11-14 21:38:12

Kofax is updating its business process automation solution used for cutting costs, reducing errors and speeding up processes. The intelligent automation software provider announced next-generation robotic process automation (RPA) capabilities that will leverage artificial intelligence and machine learning advances. “Early adopters of RPA have experienced the many benefits in shifting human labor from ‘data gatherer’ … continue reading The post Kofax adds new robotic process automation capabilities to its toolbelt appeared first on SD Times.

Elastic Stack 6.5 features new visualization and collaboration tools

2018-11-14 21:32:01

Open-source search and analytics company Elastic released version 6.5 of its Elastic Stack suite of open-source utilities today, introducing infrastructure monitoring, distributed tracing support and Java and Go agents in the Elastic APM tool. While this release may be labeled as a ‘minor release’ the company explained there are foundational stack-level features being applied for … continue reading The post Elastic Stack 6.5 features new visualization and collaboration tools appeared first on SD Times.

Bitvore Precision News API Now Generally Available

2018-11-14 20:02:09

Bitvore, precision intelligence solution provider, recently announced that its Bitvore Precision News API is now generally available. Precision News continuously surveils news on public and private companies, and governments. The data Bitvore pulls, aggregates, and consolidates is efficiently delivered to business analysts who make decisions based on the data.

R for Data Analysis (In Easy Steps)

2018-11-14 18:38:14

This book is aimed at anyone who wants to produce graphic visualizations to gain insights from gathered data. Author Mike McGrath begins by explaining core programming principles of the R programming language including the storing of data in vectors from which simple graphs can be plotted. Next he describes how to create matrices to store and manipulate data from which graphs can be plotted to provide better insights and then demonstrates how to create data frames from imported data sets, and how to produce advanced visualizations. <ASIN:1840787953> Read more...

Amazon releases a no-cost distribution of OpenJDK

2018-11-14 17:43:13

Amazon wants to make sure Java is available for free to its users in the long term with the introduction of Amazon Corretto. The solution is a no-cost, multi-platform, production-ready distribution of the Open Java Development Kit (OpenJDK). “Java is one of the most popular languages in use by AWS customers, and we are committed … continue reading The post Amazon releases a no-cost distribution of OpenJDK appeared first on SD Times.

React Anti-Pattern: Poor Naming

2018-11-14 17:42:45

Magic Grid

2018-11-14 17:13:17

Transport: Towards Logical Independence Using Translatable Portable UDFs

2018-11-14 17:11:00

In a recent blog post, we touched upon Dali’s new architecture, which is designed to make data and logic seamlessly accessible and shareable across LinkedIn’s diverse environments. Dali achieves this vision by adopting the principles of physical and logical independence. Physical independence refers to enabling users to transparently access data regardless of its physical location, storage format, partitioning strategy, or even sharding strategy across multiple clusters. Logical independence refers to making Dali user-defined logic available in any engine or data processing […]

How to build an Angular App with Angular CLI in a couple of minutes

2018-11-14 16:47:57

Sauce Labs introduces headless browser testing

2018-11-14 15:55:25

Sauce Labs is looking to speed up software development with the release of a new testing solution. The company announced Sauce Headless, a cloud-based headless testing solution. According to Sauce Labs, headless browsers are becoming more popular as an option for testing web-based apps. “A headless browser is a type of software that can access … continue reading The post Sauce Labs introduces headless browser testing appeared first on SD Times.

Why “work smarter, not harder” bothers me

2018-11-14 15:50:52

One of my most popular posts on Twitter was an implicit criticism of the cliché “work smarter, not harder.” Productivity tip: Work hard. — John D. Cook (@JohnDCook) October 8, 2015 I agree with the idea that you can often be more productive by stepping back and thinking about what you’re doing. I’ve written before, […]

SD Times news digest: Microsoft to acquire XOXCO, Acumos AI Athena and SnapLogic’s intelligent integration platform

2018-11-14 15:24:17

Microsoft has agreed to acquire the software product design and development studio XOXCO. According to the company, XOXCO is known for its conversational AI and bot development solutions. “The company has been paving the way in conversational AI since 2013 and was responsible for the creation of Howdy, the first commercially available bot for Slack … continue reading The post SD Times news digest: Microsoft to acquire XOXCO, Acumos AI Athena and SnapLogic’s intelligent integration platform appeared first on SD Times.

Type inference

2018-11-14 14:16:00

Type inference is a major feature of several programming languages, most notably languages from the ML family like Haskell. In this post I want to provide a brief overview of type inference, along with a simple Python implementation for a toy ML-like language. Uni-directional type inference While static typing is …

KDevelop 5.3

2018-11-14 14:07:49

KDevelop 5.3 released A little less than a year after the release of KDevelop 5.2 and a little more than 20 years after KDevelop's first official release, we are happy to announce the availability of KDevelop 5.3 today. Below is a summary of the significant changes. We plan to do a 5.3.1 stabilization release soon, should any major issues show up. KDevelop 5.3 Released With Better C++, Python & PHP Support KDevelop 5.3 brings the Clazy analyzer that makes use of Clang, many improvements to C++ support, a whole lot of PHP language support improvements, and the Python language support has seen some fixes as well as the ability to inject environment profile variables into the debug process environment. KDevelop 5.3 has also seen improvements for its support on BSD, Haiku, and other operating systems. read more

Zentyal Open Source Linux Server Version 6.0 Now Available, KDevelop 5.3 Released, Scalyr Announces New Features, Mozilla Launches Version 2.0 of Its *Privacy Not Included Buyer's Guide and Debian No Longer Allowing Vendor-Specific Patches

2018-11-14 14:06:47

News briefs for November 14, 2018. The Zentyal development team announces a new major version of its Zentyal Open Source Linux Server with native Microsoft Active Directory interoperability. Version 6.0 is based on Ubuntu 18.04 LTS with the Linux 4.15 kernel, Samba 4.7, and it includes a new RADIUS module and virtualization manager module. See the full Changelog for more details. KDevelop 5.3 was released this morning. It's been almost a year since version 5.2, and much has changed. KDevelop 5.3 has a new analyzer plugin that's shipped out of the box, and there's a new Clazy clang analyzer plugin "specialized on Qt-using code" that also can be run from within KDevelop by default. In addition, it has improved C++, PHP and Python support. You can download it here. Scalyr announces new troubleshooting features, introducing support for Slack, GitHub, Kubernetes and more. According to the press release, the company is moving beyond traditional log monitoring and now offers Kubernetes cluster-level logging, chart annotations, stack trace linking and AWS CloudWatch support. The new features will be available in Q4. See the Scalyr website for more information. Mozilla has launched version 2.0 of its *Privacy Not Included Buyer's Guide just in time for holiday shopping. The guide's goal is to help you "shop smart—and safe—for products that connect to the internet". The guide also includes a "Creep-O-Meter" that allows users' to rate their feelings on a given product. Debian is phasing out vendor-specific patches. Phoronix reports that "effective immediately these vendor-specific patches to source packages will be treated as a bug and will be unpermitted following the Debian 10 'Buster' release". See the mailing-list announcement for more information. News Zentyal KDevelop Scalyr Monitoring Mozilla Privacy Debian Distributions

Community News: Recent posts from PHP Quickfix (11.14.2018)

2018-11-14 14:05:01

Recent posts from the PHP Quickfix site:Style Contact Form 7 WordPress Plugin - Pine #wordpress, #contact, #form, #style Laravel 5.7.13 Released - Laravel News #laravel, #framework, #release Show outdated composer packages | Blog of Leonid Mamchenkov #outdated, #composer, #packages

WebSite X5 Evolution 17.0 rebuilds internal engine for greater speed and precision

2018-11-14 12:00:37

Incomedia has released major new versions of its wizard-driven web-building tool with the launch of WebSite X5 Evolution 17.0. Website X5 Evolution is accompanied by both higher (Professional) and lower (Start) packages. Version 17.0 is the third major update of 2018, and integrates CSS Grid Layout into a brand new version of its internal page-creation engine. This, Incomedia promises, will mean more speed, flexibility, precision and compatibility for the end user’s web pages. CSS Grid Layout is used to build web pages using CSS layout techniques, making it possible to position content -- horizontally and vertically -- with greater precision.… [Continue Reading]

Integrating ERP with eCommerce platform

2018-11-14 11:52:04

ERP (Enterprise Resource Planning) presents the “backbone” of your business and powerful software system designed to integrate and unify the main functional areas of your organization. The benefits of ERP and eCommerce integration are immense when the process is done the right way. What should companies keep in mind when planning the integration of two... The post Integrating ERP with eCommerce platform appeared first on Inchoo.

KDevelop 5.3 Released With Better C++, Python & PHP Support

2018-11-14 11:06:25

KDevelop 5.3 is out today as the first major release to this KDE integrated development environment in about one year...

Using WebSocket with React and Redux part 1

2018-11-14 10:18:40

PyDev of the Week: Frank Vieira

2018-11-14 10:05:03

This week we welcome Frank Vieira as our PyDev of the Week. Frank is the creator of the Vibora package, a "fast, asynchronous and elegant Python web framework." You can see what else Frank is up to over on his Github profile. Let's take a few moments to get to know Frank better! Can you tell us a little about yourself (hobbies, education, etc)?: My name is Frank Vieira, I'm 25, a really skilled Dota player (lol) and passionate software developer. On my free time, I like to play some games and work on hobby projects like small games using Unity or open-source projects as Vibora.

The Powerful Resource of PHP Stream Wrappers

2018-11-14 10:01:01

Introduced in PHP 4.3, streams are little known powerful resources that PHP provides. In this article, we will explore ways to bypass protection methods using the PHP Stream Wrappers, which are responsible for handling protocol-related tasks like downloading data from a web or FTP servers and exposing it in a way in that it can be handled with PHP's stream related functions. First, let's define the keywords such as 'stream' and 'wrappers'.

Python Thread Tutorial (Part 1)

2018-11-14 06:06:02

A Python thread is like a process, and may even be a process, depending on the Python thread system. In fact, Python threads are sometimes called “lightweight” processes, because threads occupy much less memory, and take less time to create than do processes. Threads allow applications to perform multiple tasks at once. Multi-threading is important in many applications.

Unikernels as processes

2018-11-14 06:00:00

Unikernels as processes Williams et al., SoCC’18 Ah, unikernels. Small size, fast booting, tiny attack surface, resource efficient, hard to deploy on existing cloud platforms, and undebuggable in production. There’s no shortage of strong claims on both sides of the fence. See for example: Unikernels: library operating systems for the cloud Jitsu: just-in-time summoning of […]

React Anti-Pattern: No Library

2018-11-14 02:42:18

Web Development and Advanced Techniques with Linux on Windows (WSL)

2018-11-14 02:36:00

I've posted several times on the Windows Subsystem for Linux that allows you to run Linux on Windows 10 without a VM. Check out my YouTube on Editing code and files on Windows Subsystem for Linux on Windows 10. There's just one rule. You can mess with Windows files from Linux but you can't mess with Linux files from Windows. Otherwise, go crazy and enjoy. Here's some of my previous posts you should check out: The year of Linux on the (Windows) Desktop - WSL Tips and Tricks Setting up a Shiny Development Environment within Linux on Windows 10 Installing Fish Shell on Ubuntu on Windows 10 Writing and debugging Linux C++ applications from Visual Studio using the "Windows Subsystem for Linux" Ubuntu now in the Windows Store: Updates to Linux on Windows 10 and Important Tips WSL is pretty fantastic although its disk access is slower than native Linux, I find myself using it every day. If you want to setup Linux on your Windows 10 machine, just turn it on, then head over to the Windows Store and search for "Linux." You can turn on Linux on Windows 10 by typing "Windows Features" and checking "Windows Subsystem for Linux." Then get a Linux from the Windows Store. If you prefer to use PowerShell and do it in one line, just do this from an Admin PowerShell prompt:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Then go get any one (or more!) of these from the Store: Ubuntu OpenSUSE SLES Kali Linux Debian GNU/Linux When you're in a Windows shell like PowerShell or CMD you might want to run Linux and/or jump comfortably between shells. You can do that in a few ways. The best and recommended way is running "wsl.exe" as that will start up your default distro. You can also just type the name of the distro. So I can type "ubuntu" and get in there directly. You can type "bash" but that's not recommended if you've changed shells. If you've set up zsh or fish and type bash, it's gonna still try to run bash. Here I've typed wslconfig and you can see I've got both Ubuntu and Debian installed, with Ubuntu as the default when I type "wsl."C:\Users\scott>wslconfig /listWindows Subsystem for Linux Distributions:Ubuntu-18.04 (Default)Debian Now that I know how to run wsl from anywhere I can even pipe stuff in and out it Linux from outside. For example here I am in cmd.exe but I'm calling commands in Linux, that come out, then back in, etc. You can mix and match however you'd like!C:\dev>type hello.shecho HelloC:\dev>wsl cat /mnt/c/dev/hello.sh | wsl fromdos | wsl /bin/shHello This means even when I'm in CMD or PowerShell I can use Linux commands that are convenient or familiar to me. For example, here I'm piping a Windows Update log file into a the Linux command sha1sum command. Note the use of - to accept standard input - even though that input is from Windows!C:\Users\scott\Desktop>type WindowsUpdate.log | wsl sha1sum -3b48adce8f6c9cb816e8845d824dacc0440ca1b8 - Sweet. There's a number of nice advanced techniques if you want to make your WSL installations smarter AND automatically configured.  You can make a file in /etc/wsl.conf to affect your DNS, metadata and driving mounting. When you are in a WSL shell, your Windows drive (your main drive) is at /mnt/c. So here is my Windows desktop as viewed from WSL: I most of my dev work in /mnt/d/github for example. That way I can use VS Code from Windows but run Node/Ruby/Go/Whatever from WSL. I keep my files on my Windows drive, edit them in VS Code, but run things in WSL. Again, never use Windows utilities to reach into and/or edit files on the WSL/Linux subsystem. Also, always been conscious of your CR/LF situation, and be real conscious if you're going to run git in both Windows and WSL. Here's VS Code at the top, WSL/Ubuntu running Node at the bottom, and the local node app running in Edge on Windows on the lower right. We are sharing file systems and network port space: You can even share environment variables between WSL and Windows with a special environment variable called WSLENV. This is pretty advanced but super powerful. Read this carefully. You make a environment variable that is a list of names of other variables that you want translated between environments. That means you can do something like this. I'm in WSL and I have an environment variable that points to a location on the filesystem. I need it to be correct in both worlds. scott@IRONHEART:/mnt/d$ export MYLINUXPATH=/mnt/d/github/expresstestscott@IRONHEART:/mnt/d$ export WSLENV=MYLINUXPATH/pscott@IRONHEART:/mnt/d$ cmd.exeD:\>echo %MYLINUXPATH%D:\github\expresstest Read that carefully. It's awesome and it's very configurable. There's lots of users of WSL and many have assembled great lists of resources like Awesome-WSL by Hayden. It's also worth pointing out that WSL is just now one console you can choose from. There's PowerShell, CMD.exe, and a half dozen Linuxes. You can even make your own custom Linux Distro for your company if you like. And there's a whole world of 3rd party Consoles that sit on top of/replace conhost.exe so you can have consoles with tabs, cool fonts, ones based on web tech, whatever! You can even choose WSL/bash as your default shell in Visual Studio Code if you'd like with Ctrl+~. Hope this gets you started with Linux on Windows. What did I miss? Sound off in the comments. Sponsor: Preview the latest JetBrains Rider with its Assembly Explorer, Git Submodules, SQL language injections, integrated performance profiler and more advanced Unity support.© 2018 Scott Hanselman. All rights reserved.      

React Anti-Pattern: Overloaded

2018-11-14 01:41:58

Android Development - Constant Churn

2018-11-14 01:39:58

With the Android Dev Summit just over it is a good time to reconsider where we are in the light of what was, and was not, announced. Read more...

Preloader Style 212

2018-11-14 00:12:45

The post Preloader Style 212 appeared first on Best jQuery.

Range Slider Style 15

2018-11-14 00:10:39

The post Range Slider Style 15 appeared first on Best jQuery.

Explore More on Complexity Explorer

2018-11-14 00:00:00

There's a new facility on Complexity Explorer that lets you browse over 700 Complex Systems Science Resources. This will help anyone wanting to learn more locate relevant courses, tutorials, videos and web content at levels from beginner to technically advanced. Read more...

Practice JavaScript and Learn: Form Validation

2018-11-13 23:00:00

Google launches new website for web developers

2018-11-13 20:17:17

Google is giving web developers a place to learn, create and solve problems on the web with the launch of web.dev. The company announced the website at the Chrome Dev Summit in San Francisco earlier this week. Web.dev provides actionable guidance and analysis for developers to test their sites and apps or start learning how … continue reading The post Google launches new website for web developers appeared first on SD Times.

Google Aims to Increase Interoperability of Web and Native Apps with Writable Files API

2018-11-13 19:42:36

Google is currently designing an API to increase the interoperability of web applications with native applications. Google is calling it the Writable Files API, and is asking for the developer community's support in the design process. Not only is syncing functionality across native and web applications difficult in itself, the concept requires significant access to user data and opens the API to potential abuse.

How to Install phpMyAdmin with Nginx on Ubuntu 18.04

2018-11-13 19:35:42

phpMyAdmin is an open source PHP based tool for managing MySQL and MariaDB servers over a web-based interface. phpMyAdmin allows you to interact with MySQL databases, manage user accounts and privileges, execute SQL-statements, import and export data in a variety of data formats and much more.

Microsoft previews changes coming in Visual Studio 2019

2018-11-13 19:25:33

Microsoft is giving developers insight into the changes they can expect in the upcoming release of its suite of development tools Visual Studio 2019. As part of the release, Microsoft will be updating the theme, icon and splash screens as well as providing new ways for developers to get to their code faster. Microsoft first … continue reading The post Microsoft previews changes coming in Visual Studio 2019 appeared first on SD Times.

OzCode makes debugging available as a service

2018-11-13 17:07:00

OzCode is on a mission to reduce the time it takes to debug a service from days to hours to minutes with its latest debugging as a service solution. OzCode provides debugging extensions for Visual Studio. Its latest OzCode Azure DevOps offering is available through Microsoft Azure cloud. “Studies show that roughly 50 percent of … continue reading The post OzCode makes debugging available as a service appeared first on SD Times.

Visual Data Storytelling with Tableau

2018-11-13 17:01:55

Author: Lindy RyanPublisher: Addison-WesleyPages: 272ISBN: 978-0134712833Print: 0134712838 Audience: Data usersRating: 3Reviewer: Kay Ewbank This is a book that is more about the author's thoughts on why and how you can present information in a way that will get your audience's attention than it is about Tableau.  Read more...

Ubuntu 3817-1: Python vulnerabilities

2018-11-13 16:58:00

LinuxSecurity.com: Several security issues were fixed in Python.

Dremio Adds Data Catalog

2018-11-13 16:57:12

There's a new version of Dremio, an open-source project designed to give business analysts and data scientists a way to explore and analyze data no matter what its structure or size. New in this release are a data catalog, prioritized workload management, and Kubernetes support. Read more...

Dremio 3.0 Adds Data Catalog

2018-11-13 16:57:12

There's a new version of Dremio, an open-source project designed to give business analysts and data scientists a way to explore and analyze data no matter what its structure or size. New in this release are a data catalog, prioritized workload management, and Kubernetes support. Read more...

Graphics: Vulkan, Wayland, AMD, Mesa and Vulkan

2018-11-13 16:31:59

Vulkan 1.1.92 Released, Finally Allows For Chunked HTML Documentation Vulkan 1.1.92 is out today to mark the newest specification update to this high-performance graphics/compute API. With it just being one week since Vulkan 1.1.91 that brought some new/improved extensions, there isn't any new extensions to find with Vulkan 1.1.92. But there are a number of documentation/specification corrections and clarifications. Wayland Protocols 1.17 Brings Explicit Synchronization & Primary Selection Jonas Ådahl of Red Hat today released a new version of Wayland-Protocols, the collection of stable and unstable protocols for extending Wayland functionality. With the Wayland-Protocols 1.17 release the big new feature is the initial (unstable) version of linux-explicit-synchronization. The Wayland explicit synchronization protocol provides a means of explicit per-surface buffer synchronization. This synchronization protocol is based on Google Chromium's extension (zcr_linux_explicit_synchronization_v1) and lets clients request this explicit synchronization on a per-surface basis. Google, Intel, and Collabora were involved in the formation of this extension. The Radeon GCN Backend Is Still Being Worked On For GCC, GCC 9 Deadline Looms Back in September Code Sourcery / Mentor Graphics posted their new Radeon GCN port for the GNU Compiler Collection (GCC). Two months later this port is still being worked on but not yet ready for mainline. This Radeon GCN back-end for GCC is being done with a focus on GPU computing with eventually a goal of allowing OpenMP / OpenACC offloading to newer AMD GPUs. At this current stage, single-threaded C and Fortran programs can be built for Radeon GPUs with this compiler but the multi-threading API offloading bits are still coming about. This back-end has been focused on Fiji/Tonga support and newer. AMDVLK Vulkan Driver Sees Its First Tagged Release In the nearly one year that the AMDVLK official Vulkan driver has been open-source there hasn't been any "releases" but rather new code drops on a weekly basis that is pushed out of their internal development repositories. But surprisingly this morning is now a v2018.4.1 release tag for this open-source AMD Vulkan Linux driver. The AMDVLK public source repositories have just been perpetual Git while AMD pulls from their internal repositories when building out their official closed-source Windows/Linux Radeon Software driver releases (that also use their closed-source shader compiler currently rather than the open-source AMDGPU LLVM back-end, as used by the public AMDVLK sources). Waking up this morning there is now the first release tag in AMDVLK as v2018.4.1. Mesa Drops Support For AMD Zen L3 Thread Pinning, Will Develop New Approach It was just a few months back that the Mesa/RadeonSI open-source AMD Linux driver stack received Zen tuning for that CPU microarchitecture's characteristics. But now AMD's Marek Olšák is going back to the drawing board to work on a new approach for Zen tuning. Just a few days ago I wrote about another developer wanting to toggle the support around L3 thread pinning as it was found to hurt the RadeonSI Gallium3D performance in at least some Linux games. At that point the goal was to allow making it a DriConf tunable that could then be adjusted a per-game/app basis, but it turns out the gains aren't there to keep it around. Mesa Gets Testing Patches For New Zen Optimization Around Thread Pinning It was just yesterday that the AMD Zen L3 thread pinning was dropped from Mesa due to that optimization not panning out as intended for benefiting the new AMD processors with the open-source Linux graphics driver stack. Lead Mesa hacker Marek Olšák is already out with a new Zen tuning implementation that may deliver on the original optimization goal. The first patch posted by Marek as part of his new tuning effort is to regularly re-pin the driver threads to the core complex (CCX) where the application thread is. Basically, when Mesa is being used without the glthread (OpenGL threading) behavior, keep chasing the application/game thread on the processor so it will be part of the same CCX and share a cache. This chasing is done rather than explicitly pinning the application thread. The Shiny New Features Of Mesa 18.3 For Open-Source Intel / Radeon Graphics Drivers Being well into the Mesa 18.3 feature freeze and that quarterly update to these open-source OpenGL/Vulkan drivers due out in about two weeks, here is a look at all of the new features and changes you can expect to find with this big update. NVIDIA released a new 415.13 beta driver recently for Linux One I completely forgot to post about here, NVIDIA recently released the 415.13 beta driver for Linux. Released on the 8th of November, it includes a number of interesting fixes, including an issue fixed with WINE where it might crash on recent distribution releases. Nice to see WINE get some focus, since things like this can affect Valve's Steam Play. read more

SmartBear makes continuous testing easy with user-specified scheduling

2018-11-13 16:17:00

SmartBear, the leader in software quality tools for teams, added a new scheduling feature in CrossBrowserTesting, the only all-in-one UI functional web testing platform, enabling users to create and choose a reoccurring schedule for automated and visual testing. This new scheduling feature for bothRecord & Replay scripts and full-page screenshot tests empowers users to be first to … continue reading The post SmartBear makes continuous testing easy with user-specified scheduling appeared first on SD Times.

SD Times news digest: PageSpeed Insights, Codefresh’s Azure integration, and Visual Studio Code October 2018

2018-11-13 16:11:05

Google has revealed that PageSpeed Insights now uses Lighthouse as its analysis engine. This switch will enable developers to receive the same performance audits and recommendations anywhere, whether that’s the web, command line, or in Chrome DevTools, the company explained. PageSpeed Insights API version 5 also now gives CrUX data and Lighthouse audits. Previous versions … continue reading The post SD Times news digest: PageSpeed Insights, Codefresh’s Azure integration, and Visual Studio Code October 2018 appeared first on SD Times.

TIBCO announces new AI-driven insights for Spotfire X

2018-11-13 16:05:02

TIBCO has announced that the latest version of its data analytics solution is now available. Spotfire X comes with a focus on Agile, augmentation, automation and acceleration. According to the company, this is the most sophisticated version of Spotfire to date. Spotfire X was first revealed at TIBCO NOW in September. It is designed to … continue reading The post TIBCO announces new AI-driven insights for Spotfire X appeared first on SD Times.

Ubuntu 19.04 Development Starts Off With Python 3.7, Merged Usr Directories

2018-11-13 15:23:03

Ubuntu 19.04 "Disco Dingo" development is now officially underway...

SD Times Blog: Service management dragging down DevOps

2018-11-13 15:20:46

Much of the movement in DevOps has happened from the perspective of software development. And, while systems managers have adapted to the new order, the one area that has been a drag on achieving greater DevOps success is in change and release management. And at least one service management provider believes automation is the key … continue reading The post SD Times Blog: Service management dragging down DevOps appeared first on SD Times.

Private by Design: How we built Firefox Sync

2018-11-13 15:09:17

Firefox Sync lets you share your bookmarks, browsing history, passwords and other browser data between different devices, and send tabs from one device to another. We think it’s important to highlight the privacy aspects of Sync, which protects all your synced data by default so Mozilla can’t read it, ever. In this post, we take a closer look at some of the technical design choices we made in order to put user privacy first. The post Private by Design: How we built Firefox Sync appeared first on Mozilla Hacks - the Web developer blog.

400 Bad Request - Evert Pot

2018-11-13 15:00:00

400 Bad Request is the first error code. Every status that starts with a 4 indicates that the client did something wrong. If the status starts with a 5 it means that the server did something wrong. 400 Bad Request is used as a generic error code. It’s a useful default error code if there’s no specific error code that’s a better fit. There’s often a lot of discussion about which 4xx code is the most appropriate for any different situations. This might be because there’s many, and it’s not always super clear what the distinctions between them are. The most important thing to remember when selecting the appropriate code is: “can a generic client do something with this response?”. If the answer is no, it might not matter as much which error code is returned. For example, when a client sees a 401 it might know to show a login window. When a client sees a 403, it might know to tell the end-user that the reason their operation failed, was because of permissions-related issues. Those are good reasons to show an error code, but those reasons don’t always exists. For those cases it’s fine to just use the generic status code 400. Response bodies When returning any error, you should also return a response body with more information about the failure. If your client is a browser, this might be user-friendly html page. If your client is some kind of JSON-based client, it might be good idea to use the standard application/problem+json response code. Example HTTP/1.1 400 Bad Request Content-Type: application/problem+json { "type": "https://example.org/impolite", "title": "Request was not polite enough", "detail": "HTTP requests must be made using a 'Please' HTTP header. } References RFC7231, Section 6.5.1 - 400 Bad Request RFC7807 - Problem details for HTTP APIs How to think about HTTP Status codes - Article by Mark Nottingham.

Help For Mobile App Devs From Text Mining

2018-11-13 14:50:50

Mobile app developers need to react quickly to reviews that reflect dissatisfaction. Statisticians at Cornell have found a faster way for developers to respond, with a new text-mining method that aggregates and parses customer reviews in one step. Read more...

Community News: Latest PECL Releases (11.13.2018)

2018-11-13 14:05:02

Latest PECL Releases:psr 0.6.1- Fixed test failures on PHP 5.6 yaml 2.0.3Bugs Fixed: - #75029 Empty documents are valid (bd808) - #75213 Fix float parsing on Alpine (neclimdul) - #76309 Quote strings like "0." when emitting (bd808) - #76522 PHP 7.3 compilation fixes (dktapps, remicollet) - CRLF and whitespace fixes (petk) mustache 0.8.1- Require libmustache >= 0.5.0 - Remove old deprecated experimental compiler - Change minimum PHP version to 5.6 - Allow installation on PHP 7.3 - Fix missing php5to7.h (@remicollet) handlebars 0.8.3- Allow installation on PHP 7.3 - Removed class aliases `HandlebarsRegistryRegistry` for `HandlebarsRegistry` and `HandlebarsRegistryDefaultRegistry` for `HandlebarsDefaultRegistry` psr 0.6.0- Added PSR-18 support (@flyinghail) - Documentation/CI improvements (@sergeyklay) - Set minimum PHP version to 5.6 mustache 0.8.0- Require libmustache >= 0.5.0 - Remove old deprecated experimental compiler - Change minimum PHP version to 5.6 - Allow installation on PHP 7.3 swoole 4.2.7+ `Server` adds `task_async` config item, supports switching between pure sync mode and async mode, sync mode by default (backward compatibility) + Support `gethostbyname` in `Runtime::enableCoroutine` + Support `PHP7.3RC5` version * Fixed low version `GCC` compatibility problem (#2094) * Fixed ssl timeout bug for `client->recv` * Fixed `Socks5` proxy not work (#2103) * Fixed the bug that `connected` property of `CoRedis` was not updated. (#2104) * Fixed `taskWait` segment fault (#2098) * Fixed `CoSocket` reuse problem * Fixed a bug in `ProcessPool` - `SwooleSerialize` will be forced to close in PHP73 (unsupported temporarily) redis 4.2.0RC3phpredis 4.2.0RC3 The main feature of this release is new Streams API implemented by Michael Grunder. 4.2.0RC3: Optimize close method [2a1ef961] (fanjiapeng) Prevent potential infinite loop for sessions [4e2de158] (Pavlo Yatsukhnenko) Fix coverty warnings [6f7ddd27] (Pavlo Yatsukhnenko) Fix session memory leaks [071a1d54, 92f14b14] (Pavlo Yatsukhnenko, Michael Grunder) Fix XCLAIM on 32-bit installs [18dc2aac] (Michael Grunder) Build warning fixes [b5093910, 51027044, 8b0f28cd] (Pavlo Yatsukhnenko, Remi Collet, twosee) 4.2.0RC2: Fix incorrect arginfo for Redis::sRem and Redis::multi [25b043ce] (Pavlo Yatsukhnenko) Update STREAM API to handle STATUS -> BULK reply change [0b97ec37] (Michael Grunder) Treat a -1 response from cluster_check_response as a timeout. [27df9220, 07ef7f4e, d1172426] (Michael Grunder) Use a ZSET insted of SET for EVAL tests [2e412373] (Michael Grunder) Missing space between command and args [0af2a7fe] (@remicollet) 4.2.0RC1: Streams API [2c9e0572] (Michael Grunder) Reset the socket after a timeout to make sure no wrong data is received [cd6ebc6d] (@marcdejonge) Modify session testing logic [bfd27471] (Michael Grunder) Allow '-' and '+' arguments and add tests for zLexCount and zRemRangeByLex [d4a08697] (Michael Grunder) Fix printf format warnings [dcde9331] (Pavlo Yatsukhnenko) Session module is required [58bd8cc8] (@remicollet) Set default values for ini entries [e206ce9c] (Pavlo Yatsukhnenko) Display ini entries in output of phpinfo [908ac4b3] (Pavlo Yatsukhnenko) Persistant connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko) Documentation improvements (@mg, @elcheco, @lucascourot, @nolimitdev, Michael Grunder)

Automate Sysadmin Tasks with Python's os.walk Function

2018-11-13 12:30:00

by Reuven M. Lerner Using Python's os.walk function to walk through a tree of files and directories. I'm a web guy; I put together my first site in early 1993. And so, when I started to do Python training, I assumed that most of my students also were going to be web developers or aspiring web developers. Nothing could be further from the truth. Although some of my students certainly are interested in web applications, the majority of them are software engineers, testers, data scientists and system administrators. This last group, the system administrators, usually comes into my course with the same story. The company they work for has been writing Bash scripts for several years, but they want to move to a higher-level language with greater expressiveness and a large number of third-party add-ons. (No offense to Bash users is intended; you can do amazing things with Bash, but I hope you'll agree that the scripts can become unwieldy and hard to maintain.) It turns out that with a few simple tools and ideas, these system administrators can use Python to do more with less code, as well as create reports and maintain servers. So in this article, I describe one particularly useful tool that's often overlooked: os.walk, a function that lets you walk through a tree of files and directories. os.walk Basics Linux users are used to the ls command to get a list of files in a directory. Python comes with two different functions that can return the list of files. One is os.listdir, which means the "listdir" function in the "os" package. If you want, you can pass the name of a directory to os.listdir. If you don't do that, you'll get the names of files in the current directory. So, you can say: In [10]: import os When I do that on my computer, in the current directory, I get the following: In [11]: os.listdir('.') Out[11]: ['.git', '.gitignore', '.ipynb_checkpoints', '.mypy_cache', 'Archive', 'Files'] As you can see, os.listdir returns a list of strings, with each string being a filename. Of course, in UNIX-type systems, directories are files too—so along with files, you'll also see subdirectories without any obvious indication of which is which. I gave up on os.listdir long ago, in favor of glob.glob, which means the "glob" function in the "glob" module. Command-line users are used to using "globbing", although they often don't know its name. Globbing means using the * and ? characters, among others, for more flexible matching of filenames. Although os.listdir can return the list of files in a directory, it cannot filter them. You can though with glob.glob: Go to Full Article

How this keyword work in javascript

2018-11-13 11:54:31

FormBuilder in Angular 6

2018-11-13 10:04:02

As a follow-up to my "New Application Journey" article, I wanted to focus on how FormBuilder in Angular improves the process of form-based aspects of your application, while introducing some reactive programming concepts along the way. Recap As a TL;DR (too long, didn't read) to the original article, I wasn't happy with the application my mother-in-law was using for her very small business in the southeast section of the United States. So, I used her business needs to create a new application from scratch using Angular, MySQL, and the AWS environment. Since the application had a few forms to introduce, I was dreading the dated process I have been using — going all the way back to my introduction to AngularJS back in 2013.

Wrap GObjects in Python

2018-11-13 08:24:18

Python is a wonderful language for coding graphical interfaces. Thanks to the speed at which working code can be written and the lack of a time-consuming compile cycle, interfaces can be up and running in minutes and usable not long after that. Couple this with Python's ability to easily link to native libraries, and an excellent environment emerges. Learning how to wrap GTK+ C modules for use in Python will enable you to use a C-coded GObject in Python whenever you like, whether or not you[he]apos[/he]re especially proficient in C.

Page Flip Layout with CSS Grid & TweenMax

2018-11-13 07:21:24

Today we’d like to share a flat take on a magazine-like layout with a “page flip” animation. When navigating, the content gets covered and then the next “pages” show. Depending […] The post Page Flip Layout with CSS Grid & TweenMax appeared first on Best jQuery.

How to Develop a Web Application Compatible With Internet Explorer 11

2018-11-13 06:06:03

Developing web pages compatible with Internet Explorer can be tough at times. Even though Internet Explorer’s support was pulled back by Microsoft, it still remains a popular choice among users. Internet Explorer misbehaves with some of the most important components of HTML, be it low-height, margin, or padding. To achieve a proper fix to this problem, developers can use conditional comments and CSS commands to target browser specific commands. While it is practically impossible to achieve 100% compatibility for Internet Explorer due to its discontinued support and compatibility issues, there are several feasible ways to make sure that the user receives a decent experience. Although there is no way to develop perfectly compatible web pages, here’s a guide on how to develop a web application compatible with Internet Explorer 11 and its other variants. 

Basics of Spring AOP

2018-11-13 05:01:01

What Is AOP? AOP (Aspect-Oriented Programming) is a way of programming that helps increase modularity and avoid strong coupling of code by separating cross-cutting concerns. Additionally, it is one of the key components of the Spring Framework. A cross-cutting concern is code logic, which is scattered throughout the application. It affects the entire application. Transaction management and logging are the best examples of cross-cutting concerns.

New & Experimental Web Design Tools: Feedback Requested

2018-11-13 02:31:32

We’re currently hard at work on some new tools for web designers: a comprehensive Flexbox Inspector as well as CSS change-tracking. Tell us about your biggest CSS and web design issues and pain points in the first-ever Design Tools survey from Mozilla! We want to hear from developers and designers, no matter what browser you use. The post New & Experimental Web Design Tools: Feedback Requested appeared first on Mozilla Hacks - the Web developer blog.

Should Comcast Be Investigated For Antitrust Violations?

2018-11-13 01:25:00

The American Cable Association (ACA), an industry group that represents over 700 small and medium-sized cable operators, wants antitrust regulators to investigate whether Comcast-NBCUniversal is abusing its power to hurt smaller television and internet service providers. The group has "asked U.S. Assistant Attorney General Makan Delrahim to 'immediately' open an investigation into Comcast's practices," reports The Verge. Comcast is denying the claims, and while the Justice Department hasn't publicly responded, that may change soon. President Donald Trump tweeted about the ACA's claims earlier this afternoon. From the report: The ACA claims Comcast has a uniquely powerful hold on the U.S. cable industry because it controls a large chunk of "must have" programming like NBC's regional sports channels. The group argues that the Comcast "has shown a willingness to harm rivals" in the past, even while bound by a 2011 consent decree that expired earlier this year. The letter is dated November 6th but was published today, after Fox Business Networks reported on its existence last week. Contra Trump's description, the letter doesn't seem to describe "routine" violations of antitrust law. It's primarily arguing that there's a huge risk of Comcast abusing its market position, while explaining just how much damage could result if Comcast did so. The ACA has put forward more concrete claims in the past, though -- like a 2017 complaint that Comcast was forcing smaller cable providers to bundle unwanted NBC-owned channels into TV packages, driving up their costs. The ACA's letter also raises concerns involving Hulu, suggesting that Comcast could effectively hold the service hostage. "We have heard from ACA members that they fear that ComcastNBCU may restrict, if it is not already restricting, their ability to access Hulu and make it available to their customers as an alternative to their cable offerings," reads the letter. Read more of this story at Slashdot.

New expansions of confluent hypergeometric function

2018-11-13 01:22:36

Last week Bujanda et al published a paper [1] that gives new expansions for the confluent hypergeometric function. I’ll back up explain what that means before saying more about the new paper. Hypergeometric functions Hypergeometric functions are something of a “grand unified theory” of special functions. Many functions that come up in application are special […]

DataStructures: What is a LinkedList?

2018-11-13 00:30:00

DataStructures: Implementation of Linked List in JavaScript

2018-11-13 00:30:00

CSS Timeline Style 49

2018-11-13 00:12:28

The post CSS Timeline Style 49 appeared first on Best jQuery.

Product Grid Style 18

2018-11-13 00:10:25

The post Product Grid Style 18 appeared first on Best jQuery.

Book review: Functional Programming in PHP - larry@garfieldtech.com

2018-11-12 21:29:01

Book review: Functional Programming in PHP I was asked by php[architect] a while back to review "Functional Programming in PHP, 2nd Ed" by Simon Holywell. I've been sitting on this review for a while, so it's time to finally get it done. Continue reading this review on SteemIt. Larry 12 November 2018 - 4:29pm Read more about Book review: Functional Programming in PHPAdd new comment

Fedora and NeuroFedora

2018-11-12 21:00:09

Model the brain with the NEST simulator on Fedora The latest version of the NEST simulator is now available in Fedora as part of the NeuroFedora initiative. NEST is a standard tool used by computational neuroscientists to make large scale computer models of the brain that are needed to investigate among other things, how the brain processes information. The Latest Version of the Nest Simulator Now Available in Fedora, Cloudflare's DNS Services Comes to Android, Ceph Now Has Its Own Open-Source Foundation, Valve Making a VR Headset and Sparky Linux 4.9 Released The Fedora team announces that the latest version of the Nest simulator is now available in Fedora as part of the NeuroFedora initiative. Nest allows computational neuroscientists to "make large scale computer models of the brain that are needed to investigate among other things, how the brain processes information". Nest provides an easy to use Python interface and it can be run on both laptops and supercomputing clusters. read more

PHP Roundtable Podcast: Episode 79 - GDPR For PHP Devs

2018-11-12 19:48:49

The PHP Rountable podcast, hosted by PHP community member Sammy K Powers, has posted their latest episode focusing on GDPR for developers. In it he's joined by guests Michelangelo van Dam and Wim Godden. The first major piece of legislation that we've seen attempt to regulate how our personal information is handled on the web is the General Data Protection Regulation (GDPR). Today we chat with some panelist who have gone down the GDPR-compliance road and they are going to help us PHP devs understand how the GDPR affects us and what we can do to make sure our technology stack is as GDPR-compliant as possible. You can catch this latest episode in a few different ways: either using the in-page audio/video player, watching the video directly on YouTube or grabbing the audio file directly. If you enjoy the show, be sure to follow them on Twitter and subscribe to their feed to get updates on when future shows are released.

Google Announces Android Support for Foldable Devices

2018-11-12 19:36:45

Google recently announced that Android will support Foldables. A number of hardware companies (e.g. Samsung, Lenovo, LG, etc.) have announced plans to explore some version of a Foldable phone. Samsung, a major Android partner, has formally introduced its foray into Foldables with the Flex Display.

Ad-Hoc YAML DSLs and Productivity

2018-11-12 19:01:01

One of my frustrations with the DevOps and cloud infrastructure tools is that most of them are badly designed DSLs that eschew all features of modern programming languages. Things like modules, data structures, functions, imperative control flow constructs, debuggers, linters, standard versioning/deployment practices, and rich library ecosystems are all missing. Of course, it is hard to do any real work without these features so the folks using these tools at some point come to the same conclusion and re-invent non-standard analogs to get by. The re-invention usually ends up being some kind of templating system built with a real language. Two obvious examples I can think of are Ansible with its Jinja templating and Terraform with its own ad-hoc variable interpolation mechanism that I presume is built on top of Go's templating features. Oh and I almost forgot Kubernetes and Helm. The arguments the tool designers bring up for why they made yet another DSL are usually some variation of "YAML or FooBarLang is declarative and so it reduces complexity". On the surface, this seems to make sense because declarative solutions, in theory, reduce complexity by hiding more details but when you start actually trying to solve problems the shortcomings become obvious. When real-world use cases are brought up along with the shortcomings of the tool to address them the response ends up being some variation of "You're using the tool wrong". Again, this kinda makes sense until you dig deeper and realize that it's not really an answer. Tools must always be subordinate to human intentions. If a tool can not accomplish a goal or requires extraordinary workarounds then it's not the user's fault and the logical conclusion is that the tool is badly designed. If I want to write a loop and can't for some reason then that's a lack of foresight on the tool designer's part and not my problem. There could be several valid reasons I'd want to use a loop (or recursion) but because DSLs are not really programming languages I don't have any real recourse other than to figure out how to work around the limitation.

Framework & Language — Top 5 Things for Software Developers to Consider in SaaS

2018-11-12 18:23:59

SaaS (software-as-a-service) development has evolved significantly over the past decade. Traditional desktop applications move to the cloud, and iterate faster due to the limited nature of supported devices and open-source software teams have to maintain. Desktop applications can now be overcome easily with the adoption of the open-source Electron framework, wrapping around a hosted SaaS … continue reading The post Framework & Language — Top 5 Things for Software Developers to Consider in SaaS appeared first on SD Times.