Programming: NetBSD/Clang, C-Reduce, Rust, Python and More

2019-01-19 09:28:50

Wikipedia cofounder: How and why I transitioned to Linux—how you can, too

2019-01-19 01:24:01

Pagination Style 34

2019-01-19 00:22:17

The post Pagination Style 34 appeared first on Best jQuery.

Hover Effect Style 222

2019-01-19 00:20:48

The post Hover Effect Style 222 appeared first on Best jQuery.

AI System Shows Food Image Based On Recipe

2019-01-19 00:00:00

Researchers from Tel Aviv University have developed a deep learning-based system that can automatically generate pictures of a finished meal from a simple text-based recipe. Read more...

Mageia 2019-0042: php security update

2019-01-18 23:20:00

LinuxSecurity.com: Several buffer overflows in the components GD, MBString, Phar and XMLRPC were discovered and fixed. References: - https://bugs.mageia.org/show_bug.cgi?id=24165

The Art of Unix Programming (2003)

2019-01-18 22:29:17

Comments

Announcing SciUrls.com!

2019-01-18 20:32:09

New Rate Limit Console Launches in App Dashboard

2019-01-18 19:52:55

We're launching a new console in the app dashboard that provides developers with in-depth insight into the rate limiting system and helps them diagnose and prevent rate limiting issues.

Scope and Goals of the Publishing Working Group

2019-01-18 18:04:17

Scope and Goals of the Publishing Working Group What is a web publication? How is it different from a web site or a web app? Why do we need new standards, when the web is already full of publications? The Publishing Working Group (PWG) is continuing to address these questions in the Web Publications (WP) […]

Server Side Public License struggles to gain open-source support

2019-01-18 18:00:05

The Server Side Public License (SSPL) is not being welcomed into the open-source community with open arms as its creator, MongoDB, had hoped. But that’s not stopping the SSPL from getting the support it needs. MongoDB first announced the release of the new software license in October as a way to protect itself and other … continue reading The post Server Side Public License struggles to gain open-source support appeared first on SD Times.

How To Deploy a PHP Application with Kubernetes on Ubuntu 16.04

2019-01-18 17:35:37

Android Game SDK for Unity in the Works

2019-01-18 17:33:13

Recent reports indicate that Google is working on an Android Game SDK for Unity. Google has made no official announcements regarding the project, but the SDK first showed up in the Android open source docs last September.

Kong Announces New Tools for API Development Automation

2019-01-18 17:31:23

Kong, the API platform formerly known as Mashape, recently announced two new features that aim to simplify API development with the assistance of artificial intelligence and machine learning. The new tools, Kong Brain and Kong Immunity, have been added to the company’s Kong Enterprise API platform and serve to automate processes that include documentation, configuration, and traffic analysis.

Java Vs. Kotlin: Which One Will Be the Best in 2019?

2019-01-18 17:01:02

Which programming language comes to mind when you hear Android app development? Most probably, you will immediately think of Java. This is because of the vast number of Android apps that are developed in Java. Developers around the world are still wondering if Kotlin has any future or not. But with the introduction of Kotlin in Google I/O two years back, Kotlin has made its own place in the Android application development market.

How to coordinate an exciting and productive Hackathon

2019-01-18 17:00:51

Did you know Gmail was born from a hackathon project? Same goes for LinkedIn’s “Year in Review.” Companies of all sizes and from all industries embrace hackathons as a way to foster innovation and collaboration — even the NBA does it. Silicon Valley is home to a number of famous projects and startups that were … continue reading The post How to coordinate an exciting and productive Hackathon appeared first on SD Times.

Pyvoc - A Command line Dictionary And Vocabulary Building Tool

2019-01-18 17:00:00

ostechnix: Pyvoc is a cross-platform, open source, command line dictionary and vocabulary building tool written in Python programming language.

Tumbleweed Starts Year with New Plasma, Applications, VIM, curl

2019-01-18 16:31:08

This new year has brought several updated packages to users of openSUSE’s rolling release Tumbleweed. Three snapshots have been released in 2019 so far and among the packages updated in the snapshots are KDE’s Plasma, VIM, RE2, QEMU and curl. The 20190112 snapshot brought a little more than a handful of packages. The new upstream Long-Term-Support version of nodejs10 10.15.0 addressed some timing vulnerabilities, updated a dependency with an upgrade to OpenSSL 1.1.0j and the versional also has a 40-seconds timeout that is now applied to servers receiving HTTP headers. The changelog listed several fixes for the highly configurable text editor with vim 8.1.0687, which should now be able to be built with Ruby 2.6.0 that was released at the end of December. Google’s re2 20190101 offered some performance tweaks and bug fixes. The fast real-time compression algorithm of zstd 1.3.8 has better decompression speed on large files. There was a change in the yast2-firewall package, which arrived in the the 20190110 snapshot, that allows new ‘forward_ports’, ‘rich_rules’ and ‘source_ports’ elements in zone entries with yast2-schema 4.1.0. read more

MDN Changelog – Looking back at 2018

2019-01-18 16:11:25

John Whitlock highlights MDN's engineering accomplishments of 2018 - including major advances in converting MDN's documentation to structured data via the Browser Compat Data project, and in extending the Interactive Examples project with CSS, JavaScript, and HTML examples. Take a look at January's planned updates, fixes, and activiites. The post MDN Changelog – Looking back at 2018 appeared first on Mozilla Hacks - the Web developer blog.

SD Times news digest: Spell’s new AI platform, Google’s app translation service, and Rust 1.32

2019-01-18 15:38:14

AI startup Spell has released a new deep learning and AI platform that is meant to empower teams to build using AI. Platform features include a new design, Organizations, Hyperparameter search, and dedicated clusters. In addition, Spell has announced that it raised $15 million in funding, which it will use for continued innovations to help … continue reading The post SD Times news digest: Spell’s new AI platform, Google’s app translation service, and Rust 1.32 appeared first on SD Times.

SD Times Open-Source Project of the Week: Scylla

2019-01-18 14:00:13

With data having an impact on almost every part of today’s business, Scylla wants to make sure applications are powered by a database that can handle the influx of data without compromising performance. Scylla is a NoSQL database that provides low latency, always-on availability, high throughput, is scalable, easy to use, and community-backed. “Scylla is … continue reading The post SD Times Open-Source Project of the Week: Scylla appeared first on SD Times.

WebAssembly vs. JavaScript

2019-01-18 12:01:02

“Will WebAssembly replace JavaScript by 20XX?” This is one of those “sensationalizing” questions of the moment, right? But still: if we were to run a WebAssembly vs. JavaScript performance comparison, which one would be the winner? And would we have the same winner for different implementations? 

Predicting Variable Types in Dynamically Typed Programming Languages

2019-01-18 11:07:47

Comments

RSA Encryption Cracked By Careless Implemenation

2019-01-18 11:06:01

This is an odd story, especially so because it harks back to a paper from 2012. RSA encryption is important because it is the basis of the public key cryptographic framework that we all use. So is it cracked, or isn't it? Read more...

The Enduring Influence Of Postgres

2019-01-18 10:59:51

A historical recollection of the Postgres project and its impact on the DBMS industry provides an insight into the key features of the object-relational database as conceived by Mike Stonebraker.   Read more...

Enduring Influence Of Postgres

2019-01-18 10:59:51

A historical recollection of the Postgres project and its impact on the DBMS industry provides an insight into the key features of the object-relational database as conceived by Mike Stonebraker.   Read more...

R Programming Fundamentals (Packt)

2019-01-18 10:23:30

This book introduces you to the tools for working with data. To start with, author Kaelen Medeiros shows how to set up R and RStudio, followed by info on R packages, functions, data structures, control flow, and loops. The book then moves on to cover data visualization and graphics, and how to build statistical and advanced plots using the ggplot2 library. In addition to this, data management concepts such as factoring, pivoting, aggregating, merging, and dealing with missing values are covered. The book then moves on to cover data visualization and graphics, and how to build statistical and advanced plots using the ggplot2 library. In addition to this, data management concepts such as factoring, pivoting, aggregating, merging, and dealing with missing values are covered. <ASIN: 1789612993> Read more...

EVOC on Back Doors (ME) and Newt on an Arduino

2019-01-18 10:14:17

Touch-panel PCs offer a choice of Skylake or Bay Trail chips EVOC’s P15 and P17 panel PCs provide Intel Skylake-U or Bay Trail CPUs with IP66 protected 15- or 17-inch resistive displays, plus 2x to 4x GbE ports, up to 8x USB and 6x COM ports, and HDMI, VGA, mini-PCIe, and SATA. Like EVOC’s 15.6-inch PPC-1561 touch-panel PC from May 2008, EVOC’s fanless P15/P17 touch-panel PCs run on 6th Gen Skylake-U or Bay Trail Celeron J1900 processors. The 15-inch P15 and 17-inch P17 offer 5-wire resistive touch and a “next generation design” with “true flat display surface and narrow bezel,” says China-based EVOC. The front aluminum alloy panel offers IP66 waterproofing, dustproofing, and anti-vibration support, as well as over 7H-mohs hardness to prevent scratches, oil, dust, metal chip, and water mist damage. Newt-Duino: Newt on an Arduino Here's our target system. The venerable Arduino Duemilanove. Designed in 2009, this board comes with the Atmel ATmega328 system on chip, and not a lot else. This 8-bit microcontroller sports 32kB of flash, 2kB of RAM and another 1kB of EEPROM. Squeezing even a tiny version of Python onto this device took some doing. read more

Programming: GCN, Python, Rust, RcppArmadillo

2019-01-18 09:58:37

Radeon GCN Compiler Backend Merged Into GCC 9 - To Allow OpenMP/OpenACC Offloading The long-in-development AMD "GCN" back-end for the GNU Compiler Collection that allows targeting recent generations of Radeon GPUs for compute offloading has been merged into the upcoming GCC 9 release. This AMD Radeon GCN back-end is what has been in development for many months by Code Sourcery / Mentor Graphics with the ultimate goal of allowing Fortran/C/C++ compute work to be offloaded Radeon graphics processors via the OpenMP and OpenACC APIs, similar to the NVPTX offload support within GCC already for NVIDIA GPUs as well as Xeon Phi offloading on the Intel front. Getting Started with MySQL and Python For any fully functional deployable application, the persistence of data is indispensable. A trivial way of storing data would be to write it to a file in the hard disk, but one would prefer writing the application specific data to a database for obvious reasons. Python provides language support for writing data to a wide range of databases. Webinar Recording: “Live Development of a PyCharm Plugin” with Joachim Ansorg How to implement Download Manager in python "It's not a bug, it's a feature." - Differentiating between bugs and non-bugs using machine learning Beyond the “hello, world” of Python’s “print” function Leaving Mozilla and (most of) the Rust project RcppArmadillo 0.9.200.7.0 read more

Freebie: Emojious Icons (AI, SVG, PNG)

2019-01-18 09:42:34

A set of 50 vector icons from the quirky Emojious icon set exclusively for Codrops readers. Freebie: Emojious Icons (AI, SVG, PNG) was written by Emojious and published on Codrops.

Animating CSS Grid

2019-01-18 06:38:46

Comments

Python 101: Episode #42 – Creating Executables with cx_Freeze [Video]

2019-01-18 06:04:02

In this screencast, we will learn how to turn your Python code into a Windows executable file using the cx_Freeze project. You can also read the chapter this video is based on here or get the book on Leanpub.

Towards a hands-free query optimizer through deep learning

2019-01-18 06:00:00

Towards a hands-free query optimizer through deep learning Marcus & Papaemmanouil, CIDR’19 Where the SageDB paper stopped— at the exploration of learned models to assist in query optimisation— today’s paper choice picks up, looking exclusively at the potential to apply learning (in this case deep reinforcement learning) to build a better optimiser. Why reinforcement learning? […]

Programming: Django, PHP, Polonius and More

2019-01-18 03:59:48

Django 2.2 alpha 1 released Django 2.2 alpha 1 is now available. It represents the first stage in the 2.2 release cycle and is an opportunity for you to try out the changes coming in Django 2.2. Django 2.2 has a salmagundi of new features which you can read about in the in-development 2.2 release notes. Eliminating PHP polyfills The Symfony project has recently created a set of pure-PHP polyfills for both PHP extensions and newer language features. It allows developers to add requirements upon those functions or language additions without increasing the system requirements upon end users. For the most part, I think this is a good thing, and valuable to have. We've done similar things inside MediaWiki as well for CDB support, Memcached, and internationalization, just to name a few. But the downside is that on platforms where it is possible to install the missing PHP extensions or upgrade PHP itself, we're shipping empty code. MediaWiki requires both the ctypes and mbstring PHP extensions, and our servers have those, so there's no use in deploying polyfills for those, because they'll never be used. In September, Reedy and I replaced the polyfills with "unpolyfills" that simply provide the correct package, so the polyfill is skipped by composer. That removed about 3,700 lines of code from what we're committing, reviewing, and deploying - a big win. Polonius and region errors Now that NLL has been shipped, I’ve been doing some work revisiting the Polonius project. Polonius is the project that implements the “alias-based formulation” described in my older blogpost. Polonius has come a long way since that post; it’s now quite fast and also experimentally integrated into rustc, where it passes the full test suite. Serious Python released! Well, Serious Python is the the new name of The Hacker's Guide to Python — the first book I published. Serious Python is the 4th update of that book — but with a brand a new name and a new editor! read more

Mozilla: Rust 1.32.0, Privacy, UX and Firefox Nightly

2019-01-18 03:35:24

Announcing Rust 1.32.0 The Rust team is happy to announce a new version of Rust, 1.32.0. Rust is a programming language that is empowering everyone to build reliable and efficient software. Rust 1.32 Released With New Debugger Macro, Jemalloc Disabled By Default For fans of Rustlang, it's time to fire up rustup: Rust 1.32 is out today as the latest feature update for this increasingly popular programming language. The Rust 1.32 release brings dbg!() as a new debug macro to print the value of a variable as well as its file/line-number and it works with more than just variables but also commands. Julien Vehent: Maybe don't throw away your VPN just yet... At Mozilla, we've long adopted single sign on, first using SAML, nowadays using OpenID Connect (OIDC). Most of our applications, both public facing and internal, require SSO to protect access to privileged resources. We never trust the network and always require strong authentication. And yet, we continue to maintain VPNs to protect our most sensitive admin panels. "How uncool", I hear you object, "and here we thought you were all about DevOps and shit". And you would be correct, but I'm also pragmatic, and I can't count the number of times we've had authentication bugs that let our red team or security auditors bypass authentication. The truth is, even highly experienced programmers and operators make mistakes and will let a bug disable or fail to protect part of that one super sensitive page you never want to leave open to the internet. And I never blame them because SSO/OAuth/OIDC are massively complex protocols that require huge libraries that fail in weird and unexpected ways. I've never reached the point where I fully trust our SSO, because we find one of those auth bypass every other month. Here's the catch: they never lead to major security incidents because we put all our admin panels behind a good old VPN. Reflections on a co-design workshop Co-design workshops help designers learn first-hand the language of the people who use their products, in addition to their pain points, workflows, and motivations. With co-design methods [1] participants are no longer passive recipients of products. Rather, they are involved in the envisioning and re-imagination of them. Participants show us what they need and want through sketching and design exercises. The purpose of a co-design workshop is not to have a pixel-perfect design to implement, rather it’s to learn more about the people who use or will use the product, and to involve them in generating ideas about what to design. We ran a co-design workshop at Mozilla to inform our product design, and we’d like to share our experience with you. [...] Our UX team was tasked with improving the Firefox browser extension experience. When people create browser extensions, they use a form to submit their creations. They submit their code and all the metadata about the extension (name, description, icon, etc.). The metadata provided in the submission form is used to populate the extension’s product page on addons.mozilla.org. Firefox Nightly: These Weeks in Firefox: Issue 51 read more

Games: Valve, Gravel, Meeple Station

2019-01-18 03:26:26

Another Steam Client Beta is out, adds the ability to force Steam Play Valve are working fast to improve the Steam client this year, with another beta now available including an option that was highly requested. Firstly, Steam Input gained support for the HORI Battle Pad and HORI Wireless Switch Pad. Additionally, Big Picture mode had two bugs fixed. The usual stuff there and nothing major, that is until you get to the Linux section of the beta changelog. Gravel, the 'ultimate off-road experience' is now officially supported on Linux The second racing game from Milestone has arrived on Linux with Gravel, what they claim is the 'ultimate off-road experience'. Much like the previous port of MXGP3, Milestone once again teamed up with the porting company Virtual Programming to bring it to Linux. Space station building sim 'Meeple Station' is now on Steam, with the new publisher Modularity Meeple Station from Vox Games officially arrives on Steam today in Early Access, backed up by the new publisher Modularity from the folks behind Indie DB, Mod DB and most recently mod.io. read more

NES.css Is a NES-Style(8bit-like) CSS Framework

2019-01-18 00:24:08

Comments

Pricing Table Style 105

2019-01-18 00:22:59

The post Pricing Table Style 105 appeared first on Best jQuery.

Counter Style 58

2019-01-18 00:20:38

The post Counter Style 58 appeared first on Best jQuery.

Twitter. Android. Private tweets. Pick two... Account bug unlocked padlocked accounts

2019-01-18 00:01:30

Cock-up went unnoticed for two Olympics, one World Cup, an EU referendum, and a US presidential election Twitter has fessed up to a flaw in its Android app that, for more than four years, was making twits' private tweets public. The programming blunder has been fixed.…

Moving from Flow to TypeScript for static typing

2019-01-18 00:00:00

#420 — January 18, 2019 Read on the Web JavaScript Weekly Exploring JavaScript Modules: From IIFEs to CommonJS to ES6 Modules — A commonly 'under-learned' aspect of JavaScript is the module system, but given its unusual and varied history, that might not be a surprise. In this post (which also comes in video form), Tyler McGinnis provides a useful refresher of module approaches, both past and present. Tyler McGinnis Porting 30K Lines of Code From Flow to TypeScript — The story of how MemSQL ported 30 thousand lines of JavaScript from using the Flow static type checker to TypeScript. In related news, the Jest project (which is owned by Facebook, as is Flow) is also planning a switch to TypeScript. David Gomes Swift and Straightforward Bug Fixes for Your JavaScript Apps — Automatically detect & diagnose JavaScript errors impacting your users with Bugsnag. Get comprehensive diagnostic reports, know immediately which errors are worth fixing, & debug in a fraction of the time compared to traditional tools. Try it free. Bugsnag sponsor Why I've Stopped Exporting Defaults From My Modules — The creator of ESLint says that after years of fighting with default exports, he’s taking a different approach. He makes a compelling argument. Nicholas C. Zakas Animating URLs with JavaScript and Emojis — Half fantastic and half terrifying, this is a cute look at a technique to make your location bar a lot more memorable in a variety of ways.. Matthew Rayfield ???? Jobs UI Engineer, Design Systems (San Francisco) — As a UI Platform Engineer at Uber, you'll be building Base UI, Uber's design language for all web applications at Uber and beyond. Uber Senior Frontend Engineer - Redwood City, CA — Build the platform that empowers researchers to develop high-performance materials and chemicals faster than ever before. Citrine Informatics Find A Job Through Vettery — Vettery specializes in developer roles and is completely free for job seekers. Vettery ???? Tutorials and Opinions How to Start a Node Project — Short and sweet but there are a few neat tidbits here I wasn’t familiar with. Phil Nash Build an App with Everything New and Noteworthy in Angular 7 Matt Raible Being Type Strict Without Writing TypeScript — Explains how you can write typed JSDoc annotations in comments and have type safety checked in the IDE. An interesting compromise that may suit some setups or if you want to 'try out' static typing without going all in. Kevin Nuut Handling Time Zones in JavaScript Dong Woo Kim State Management in Angular Using Firebase and RxJS — A rather extensive and practical tutorial. Joaquin Cid Blazing Fast GraphQL PIM & Ecommerce Service — GraphQL backend for your ecommerce with subscription management? Crystallize sponsor Reverse Engineering GoDaddy's Tracking Script — A developer found that GoDaddy was injecting JavaScript into sites hosted by them in order to collect metrics for performance reasons. Joshua Small Why GraphQL is Taking Over APIs — GraphQL continues to eat the world and is a key technology to watch in 2019. Azat Mardan ???? Code and Tools Code to Graph: Visualize JavaScript Code as a Network Diagram — Certainly an interesting idea and fun to play with. Source here. Vincent Lecrubier NS:IDE: A JS IDE for Accessing a Phone/Tablet's Native Runtime — Uses NativeScript’s bindings to access native functionality. Jamie Birch ✅ ZingGrid: Web Component-Based JavaScript Data Grid & Table Library — Make responsive data grids and tables with CRUD functionality, built-in layout modes, column types and more with ZingGrid. ZingGrid sponsor wpk: A Friendly, Intuitive, and Unofficial CLI for webpack Sam Gluck jsdiff: A JavaScript Text Diffing Implementation — Can compare strings for differences in various ways including creating patches for such changes. The library is quite mature but just reached version 4.0. Kevin Decker AlaSQL: A JavaScript SQL Database for Browser and Node.js — Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel. Andrey Gershun Build Enterprise-Grade Apps for Free with Ext JS Community Edition Sencha, Inc. sponsor Shiny: Shiny Reflections for Mobile Websites — Add shiny reflections to page elements on devices that support DeviceMotion. Rik Schennink SurveyJS: A JavaScript Survey and Form Builder — Can integrate with Angular, jQuery, Knockout, React and Vue.js. Live demo here. Devsoft Baltic Sockette: A Tiny WebSocket Wrapper — A 348 byte wrapper around WebSocket that auto reconnects when necessary. Luke Edwards P.S. Next Tuesday (22nd), a long-time reader and friend of JavaScript Weekly, Brian Rinaldi, is hosting two great talks in an online event called JavaScript for Enterprise Development. It's free and no strings attached so check it out.

Daily API RoundUp: Air France-KLM, Speakap, Clust, TCGPlayer

2019-01-17 22:25:00

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.

Unbounded analytics introduced in latest Instana EUM release

2019-01-17 21:06:15

Application performance management company Instana launched a new version of its End User Monitoring (EUM) utility this week, introducing advanced filtering of trace and request data with its new unbounded analytics feature. According to the company, Instana EUM is part of the Instana APM service and is designed for site reliability engineers and developers to … continue reading The post Unbounded analytics introduced in latest Instana EUM release appeared first on SD Times.

Rust 1.32 Released With New Debugger Macro, Jemalloc Disabled By Default

2019-01-17 20:40:46

For fans of Rustlang, it's time to fire up rustup: Rust 1.32 is out today as the latest feature update for this increasingly popular programming language...

Creating a custom magic file database - Christian Weiske

2019-01-17 20:35:12

The unix file utility command uses a "magic" database to determine which type of data a file contains, independently of the file's name or extension. Here is how I created a custom magic database for testing purposes: Test files At first I created some files to run the tests on: test.html test.php <?php echo 'foo'; ?> test.23 Test 23 Let's see what the standard magic database detect here: $ file test.* test.23: ASCII text test.foo: PHP script, ASCII text test.html: html document, ASCII text $ file -i test.* test.23: text/plain; charset=us-ascii test.foo: text/x-php; charset=us-ascii test.html: text/html; charset=us-ascii Magic database The magic database contains the rules that are used to detect the type. It's a plain text file with a rule on each line. Lines may refer to the previous line, so that rules can be combined. The full documentation is available in the magic man page. Here is my simple file that detects "23" within the first 16 bytes of the file and returns the "text/x-23" MIME type: my-magic 0 search/16 23 File containing "23" !:mime text/x-23 We can already use it: $ file -m my-magic test.23 test.23: File containing "23", ASCII text Compilation If you want to use it many times, you should compile it to a binary file for speed reasons: $ file -C -m my-magic $ file -m my-magic.mgc test.* test.23: File containing "23", ASCII text test.foo: ASCII text test.html: ASCII text $ file -i -m my-magic.mgc test.* test.23: text/x-23; charset=us-ascii test.foo: text/plain; charset=us-ascii test.html: text/plain; charset=us-ascii The html and PHP files that have been detected properly earlier are not detected anymore, because my own magic database does not contain the rules of the standard magic file (/usr/share/misc/magic.mgc). You may however pass multiple magic files to use, separated with a : $ file -i -m my-magic.mgc:/usr/share/misc/magic.mgc test.* test.23: text/x-23; charset=us-ascii test.foo: text/x-php; charset=us-ascii test.html: text/html; charset=us-ascii Programming language detection With this knowledge, I wrote a magic file that detects the programming language in source code files, so that phorkie can automatically choose the correct file extension: MIME_Type_PlainDetect.

New Attacks Target Recent PHP Framework Vulnerability

2019-01-17 20:30:00

Multiple threat actors are using relatively simple techniques to take advantage of the vulnerability, launching cryptominers, skimmers, and other malware payloads.

TensorFlow 2.0 Public Preview Expected Soon

2019-01-17 20:21:59

TensorFlow 2.0 is almost here. Late last year, the TensorFlow team announced high level concepts that would drive TensorFlow 2.0. This week, the team announced more details, including an anticipated preview release of early 2019.

Please update your RSS subscription

2019-01-17 19:52:53

When I started this blog I routed my RSS feed through Feedburner, and now Feedburner is no longer working for my site. If you subscribed by RSS, please check the feed URL. It should be https://www.johndcook.com/blog/feed which was previously forwarded to a Feedburner URL. If you subscribe directly to the feed with my domain, I […]

Scratch 3.0's new programming blocks, built on Blockly

2019-01-17 18:00:00

Gravel, the 'ultimate off-road experience' is now officially supported on Linux

2019-01-17 17:58:03

Tags: Racing, Humble Store, Steam, Virtual ProgrammingThe second racing game from Milestone has arrived on Linux with Gravel, what they claim is the 'ultimate off-road experience'. Much like the previous port of MXGP3, Milestone once again teamed up with the porting company Virtual Programming to bring it to Linux. More about it: Take a tour around the world to discover the range of extreme and wild environments that will offer you a fully off-road experience. There are four disciplines where you can compete with the most powerful cars. Cross Country: Huge areas with different layouts, perfect for competing in checkpoint races in the most evocative landscapes. Run through a waterfall with the aurora borealis as backdrop or try the right grip in the largest deserts in the world. Wild Rush: The wildest locations where you can compete in lap races. Unique environments with natural obstacles that will force you to race your way through the slopes of a mountain, on paradise islands, and through masses of debris and quarry rocks. Speed Cross: Races set in the most beautiful tracks in the world. Real-world tracks, from Europe to America, where you can show your skills in incredible jumps and chicanes. Stadium: Real and fictional arenas, full of jumps and spectacular layouts! It's worth noting, that on Steam user reviews don't paint a very good picture overall. It's sat on Mixed overall, with the most recent being Mostly Negative. As always, take it with a pinch of salt. We may take a look at it sometime soon, depending on receiving a review key. I've reached out to Milestone, so hopefully we can have a proper look. You can find Gravel on Humble Store (on sale) and Steam.

Collective #484

2019-01-17 16:31:32

JavaScript Modules * Spectrum * A more complicated web * SVRF API * CSS Grid for Designers * Emscripten and npm Collective #484 was written by Pedro Botelho and published on Codrops.

Google prepares developers for 64-bit app requirements

2019-01-17 16:30:35

Google is looking to require developers to provide 64-bit versions of their app this year. The company first announced plans to require 64-bit versions in December of 2017, and now it’s getting one step closer to that goal. By August 2019, Google will require developers to provide 64-bit versions in addition to 32-bit versions when … continue reading The post Google prepares developers for 64-bit app requirements appeared first on SD Times.

Baffle.js — bewilder that text!

2019-01-17 16:11:39

Best Coding Bootcamps of 2019

2019-01-17 16:11:35

SD Times news digest: Dynatrace’s code level insights, Java Card 3.1, and Mozilla’s Test Pilot Program ends

2019-01-17 16:05:20

Dynatrace is now offering automatic code level insights on applications that use Go. Dynatrace will automatically discover and monitor Go components so that developers do not need to inject code into microservices or change the code of Go applications. Dynatrace believes this capability will help organizations that use high profile cloud platforms that were built … continue reading The post SD Times news digest: Dynatrace’s code level insights, Java Card 3.1, and Mozilla’s Test Pilot Program ends appeared first on SD Times.

Some changes for me - Stefan Koopmanschap

2019-01-17 16:00:00

For the past years a lot of my focus has been on the (PHP) community. I've spoken at numerous conferences and usergroups. And although I've been cutting down on the amount of conferences, I've done more usergroups in the past year than in the years before that. In December 2018, I've made a decision to cut down on this a bit more. This has nothing to do with not wanting to speak anymore, but more with an opportunity that has arisen that I want to take. I want to put 110% of my effort into this, which means I have to cut down on other activities that I'm doing. Speaking at usergroups and conferences is one of those things. PHP has been my biggest hobby for the past 20+ years. It is great that I have been able to make it my job as well. Since quite a few years, I've picked up on something I've been interested in for years. I've started doing live radio. My first radio show was on the now discontinued Internet radiostation On Air Radio, after which I've moved on to another Internet radiostation IndieXL. Both times I did everything in my own little radio studio that I had built at home. It was a lot of fun. My interest in radio already began when I was a teen. A Dutch morning show was also broadcasting on TV, so I was "watching radio" every morning. In the 90's, the Dutch radiostation KinkFM introduced me to an incredible amount of alternative music. KinkFM was the best radiostation I could imagine in terms of music, but also in terms of DJ's. People with an incredible passion for and knowledge of music. When the station was stopped by its owner in 2011, I was incredibly sad. 2 years ago one of the original founders of KinkFM saved the brand name from the company that at that time owned the name. While he wasn't planning to restart the station, the response he got was overwhelming, so he started researching his options. I got in touch and over a year ago I started doing a Spotify playlist for them called KLUB KINK. Late last year, the announcement came: A new radiostation focussing on alternative music will be launched. Since FM is something nearly of the past, the name will now be KINK. I have been asked to evolve my Spotify playlist into a podcast, and next to that, present a radioshow. After giving it some thought and looking at my schedule, I have decided to take this opportunity. I love doing radio, and to be able to do it for my all-time favorite radiostation is amazing. Starting on Thursday Januari 31, I will be doing a radioshow every Thursday from 7PM to 9PM. Will I be completely gone from conferences and usergroups? Of course not! But as I mentioed earlier, I really want this to succeed, I want to give it 110% of my effort, and that means making tough choices.

Big O tilde notation

2019-01-17 15:33:51

There’s a variation on Landau’s big-O notation [1] that’s starting to become more common, one that puts a tilde on top of the O. At first it looks like a typo, a stray diacritic mark. What does that mean? In short, That is, big O tilde notation ignores logarithmic factors. For example, the FFT algorithm computes […]

Programming: Panda 3D Game Project, Skills in 2019, Golang Mastery, Python and Mozilla

2019-01-17 15:31:03

Create Panda 3D Game Project Hello, do you still remember that I have mentioned to you before that I will start another game project alongside the new pygame project? Well, I have not decided yet which game framework should I use to build the python game. Yesterday I had just came across Panda 3D which is a very attractive game framework that we can use to create the python game. Top technical skills that will get you hired in 2019 Landing the perfect IT job is never easy, but certain technical skills can smooth the way, especially if they’re in high demand. Job search platform Indeed has analyzed the fastest-growing terms used by job seekers when searching for tech jobs in 2019, and the results represent some significant changes over last year. “When people look for new jobs, they often use search terms that describe cutting-edge skills associated with the jobs they want,” says Daniel Culbertson, economist at Indeed. “On the employer side, the highly specialised tech talent who have these proficiencies are in great demand.” 5 open source Go tools for tuning up your Golang mastery Love programming in Go? It’s hard not to fall in love with it, we know! Today we browsed through some Golang tools on GitHub and picked some of our favorites from the list. Far from exhaustive, this list highlights some of the best in show. Executing Shell Commands with Python Introduction to Python Convert video from one format to another with python L10n report: January edition read more

Amazing User Agent API with userstack

2019-01-17 15:09:37

We do our best to design and code websites so that they look and perform the way they should regardless of device or browser, but the truth is we sometimes we need to code for specific device, browser, or crawler. Whether it’s a quick hack or a simply wanting to display different content for a […] The post Amazing User Agent API with userstack appeared first on David Walsh Blog.

Security: Amadeus, Kubernetes, WordPress and More

2019-01-17 14:53:34

Major Security Breach Discovered Affecting Nearly Half of All Airline Travelers Worldwide According to ELAL, the bug stems from their supplier Amadeus’ (https://amadeus.com/en/industries/airlines) online booking system, which controls a staggering 44% market share of airlines operating worldwide, including United Airlines, Lufthansa, Air Canada, and many more. While booking a flight with ELAL, we received the following link to check our PNR: https://fly.elal.co.il/LOTS-OF-NUMBERS-HERE. By simply changing the RULE_SOURCE_1_ID, we were able to view any PNR and access the customer name and associated flight details. Kubernetes flaw shows API security is no ‘set & forget’ deal When a report surfaced last month detailing a ‘severe vulnerability’ in Kubernetes, the popular, open-source software for managing Linux applications deployed within containers, many of us will have wondered what the deeper implications of this alleged flaw could mean. Although the flaw was quickly patched, it allowed any user to escalate their privileges to access administrative controls through the Kubernetes API server. WordPress to show warnings on servers running outdated PHP versions Top 10 app vulnerabilities: Unpatched plugins and extensions dominate This Clever New Ransomware Attempts To Steal Your PayPal Credentials Meanwhile, PayPal offers two factor authentication which, when turned on, can offer a vital extra layer of security should your password and username be compromised, Moore says. A deep dive into the technical feasibility of Bloomberg's controversial "Chinese backdoored servers" story These denials also don't add up: Bloomberg says it sourced its story from multiple (anonymous) sources who had direct knowledge of the incidents and who had been employed in the named organizations while they were unfolding. Bloomberg stood by its reporting, and implied that the idea that all these sources from different organizations would collude to pull off a hoax like this. Faced with the seemingly impossible task of sorting truth from hoax in the presence of contradictory statements from Big Tech and Bloomberg, technical experts began trying to evaluate whether the hacks attributed to the Chinese spy agencies were even possible: at first, these analyses were cautiously skeptical, but then they grew more unequivocal. Last month, Trammell Hudson -- who has developed well-regarded proof-of-concept firmware attacks -- gave a detailed talk giving his take on the story at the Chaos Communications Congress in Leipzig. read more

Professional programming resources

2019-01-17 14:44:54

Comments

Last Call To Join Google's AI Impact Challenge

2019-01-17 14:22:48

Google.org, Google's nonprofit arm, is inviting organizations around the world to submit their ideas for how they could use AI to help address societal challenges. Selected organizations will receive funding from a $25M pool together with support from Google’s AI experts to transform ideas into action. Read more...

On concurrency in Go HTTP servers

2019-01-17 14:10:00

Go's built-in net/http package is convenient, solid and performant, making it easy to write production-grade web servers. To be performant, net/http automatically employs concurrency; while this is great for high loads, it can also lead to some gotchas. In this post I want to explore this topic a …

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

2019-01-17 14:05:02

Here's what was popular in the PHP community one year ago today:HHVM Blog: HHVM 3.24 (End of PHP 5 Support) Laravel News: Laracon US 2018 Announces Speaker Robert C Martin Laravel News: Install Microsoft SQL Drivers for PHP 7 in Docker Brandon Savage: Don’t write useless unit tests Martin Hujer: Have you tried Composer Scripts? You may not need Phing. PHP Town Hall Podcast: Episode 56: GraphQL is better than REST Matthias Noback: Simple CQRS - reduce coupling, allow the model(s) to evolve Exakat Blog: PHP assertions and their usage Oscar Merida: Creating ZIP files and streaming the response with Silex Stitcher.io Blog: Where a curly bracket belongs Matthias Noback: Setting the stage: Code complexity Christoph Rumpel: How I redesigned my blog and moved it from Jekyll to Laravel Sergey Zhuk: Managing ReactPHP Promises Pineco.de: Simple Eloquent Model Translations Freek Van der Herten: How to send a "trial expiring soon" mail in Laravel Spark Joe Ferguson: How to move a dependency to Composer while requiring an old version Colin O'Dell: Optimizing colinodell/json5 with Blackfire

Salesforce Enables Citizen Developers With Low-Code Mobile App Dev Solution

2019-01-17 13:50:25

In light of the rapid proliferation of mobile application development and usage, Salesforce has announced a suite of tools specifically aimed at alleviating some of the pressure placed on companies to develop competitive mobile experiences.

Hosting Resources for Web Applications on the IBM Cloud

2019-01-17 13:01:02

Recently I open sourced a complete serverless web application which can be deployed on the IBM Cloud. This short article describes how static web resources like HTML and JavaScript files can be hosted in the cloud in a serverless fashion. This diagram shows the architecture of the full application. In this article I focus on the components in the red rectangle:

Interactive Particles with Three.js

2019-01-17 10:15:28

A tutorial on how to draw a large number of particles with Three.js and make them interactive. Interactive Particles with Three.js was written by Bruno Imbrizi and published on Codrops.

JS Array From an Array-Like Object

2019-01-17 10:01:02

I remember the struggle and the misunderstanding as I was trying to iterate over a NodeListcollection with no success. In this article, you’ll see how to convert an array-like object like NodeList to a real Array using different methods. Array-Like Objects Some objects in JavaScript look like an array, but they aren’t one. That usually means that they have indexed access and a length property, but none of the array methods. Examples include the special variable arguments, DOM node lists, and strings. - Axel Rauschmayer on array-like objects.

Programming: Python 'Standard', sr.ht and Wing Python IDE 6.1.4

2019-01-17 09:45:37

What should be in the Python standard library? Python has always touted itself as a "batteries included" language; its standard library contains lots of useful modules, often more than enough to solve many types of problems quickly. From time to time, though, some have started to rethink that philosophy, to reduce or restructure the standard library, for a variety of reasons. A discussion at the end of November on the python-dev mailing list revived that debate to some extent. Jonathan Underwood raised the issue, likely unknowingly, when he asked about possibly adding some LZ4 compression library bindings to the standard library. As the project page indicates, it fits in well with the other compression modules already in the standard library. Responses were generally favorable or neutral, though some, like Brett Cannon, wondered if it made sense to broaden the scope a bit to create something similar to hashlib but for compression algorithms. A new free-software forge: sr.ht Many projects have adopted the "GitHub style" of development over the last few years, though, of course, there are some high-profile exceptions that still use patches and mailing lists. Many projects are leery of putting all of their project metadata into a proprietary service, with limited means of usefully retrieving it should that be necessary, which is why GitLab (which is at least "open core") has been gaining some traction. A recently announced effort looks to kind of bridge the gap; Drew DeVault's sr.ht ("the hacker's forge") combines elements of both styles of development in a "100% free and open source software forge". It looks to be an ambitious project, but it may also suffer from a lack of "social network" effects, which is part of what sustains GitHub as the forge of choice today, it seems. The announcement blog post is replete with superlatives about sr.ht, which is "pronounced 'sir hat', or any other way you want", but it is a bit unclear whether the project quite lives up to all of that. It combines many of the features seen at sites like GitHub and GitLab—Git hosting, bug tracking, continuous integration (CI), mailing list management, wikis—but does so in a way that "embraces and improves upon the email-based workflow favored by git itself, along with many of the more hacker-oriented projects around the net". The intent is that each of the separate services integrate well with both sr.ht and with the external ecosystem so that projects can use it piecemeal. There are two sides to the sr.ht coin at this point; interested users can either host their own instance or use the hosted version. For now, the hosted version is free to use, since it is still "alpha", but eventually one will need to sign up for a plan, which range from $2 to $10 per month, to stay on the hosted service. There are instructions for getting sr.ht to run on other servers; it uses nginx, PostgreSQL, Redis, and Python 3 along with a mail server and a cron daemon. Wing Python IDE 6.1.4 This minor release fixes using typing.IO and similar classes as type hints, improves handling of editor splits in goto-definition, fixes failure to install the remote agent, and fixes failure to convert EOLs in the editor. See the change log for details. read more

Create a Kubernetes cron job in OKD

2019-01-17 08:02:00

It can be daunting to get started with Kubernetes and OKD (a Kubernetes distribution formerly known as OpenShift Origin). There are a lot of concepts and components to take in and understand. This tutorial walks through creating an example Kubernetes cron job that uses a service account and a Python script to list all the pods in the current project/namespace. The job itself is relatively useless, but this tutorial introduces many parts of the Kubernetes & OKD infrastructure. read more

How To Install and Configure Redmine on CentOS 7

2019-01-17 07:04:08

Redmine is one of the most popular open source project management and issue tracking software tools. It is cross-platform and cross-database and built on top of the Ruby on Rails framework. In this tutorial we will cover the steps needed to install and configure the latest version of Redmine on an CentOS 7 server using MariaDB as a database back-end and Passenger + Nginx as a Ruby application server.

Programming: gVisor/Go, Rust, and Python

2019-01-17 06:32:30

gVisor: Building and Battle Testing a Userspace OS in Go Adin Scannell talks about gVisor - a container runtime that implements the Linux kernel API in userspace using Go. He talks about the architectural challenges associated with userspace kernels, the positive and negative experiences with Go as an implementation language, and finally, how to ensure API coverage and compatibility. Rust bindings for GStreamerGL: Memoirs Rust is a great programming language but the community around it’s just amazing. Those are the ingredients for the craft of useful software tools, just like Servo, an experimental browser engine designed for tasks isolation and high parallelization. Both projects, Rust and Servo, are funded by ">">Mozilla. Thanks to Mozilla and Igalia I have the opportunity to work on Servo, adding it HTML5 multimedia features. First, with the help of Fernando Jiménez, we finished what my colleague Philippe Normand and Sebastian Dröge (one of my programming heroes) started: a media player in Rust designed to be integrated in Servo. This media player lives in its own crate: servo/media along with the WebAudio engine. A crate, in Rust jargon, is like a library. This crate is (very ad-hocly) designed to be multimedia framework agnostic, but the only backend right now is for GStreamer. Later we integrated it into Servo adding an initial support for audio and video tags. Currently, servo/media passes, through a IPC channel, the array with the whole frame to render in Servo. This implies, at least, one copy of the frame in memory, and we would like to avoid it. For painting and compositing the web content, Servo uses WebRender, a crate designed to use the GPU intensively. Thus, if instead of raw frame data we pass OpenGL textures to WebRender the performance could be enhanced notoriously. proc-macro-rules Analyzing Robinhood trade history read more

Generating Awesome Slideshows Using JavaScript and Vue.js

2019-01-17 06:04:01

I have recently been using several JS frameworks to produce slideshows and ultimately programmatic videos. Here is my feedback about two frameworks, Reveal.js and Eagle.js. Introduction As I wrote before, at Faveeo, we are working hard to produce original content from curated articles. One idea the team had, is to produce videos from written articles, to maximize the reader engagement and produce fresh, easy to understand materials.

A Complete Guide To Deploying Your Web App To Amazon Web Service

2019-01-17 04:33:35

Product Grid Style 31

2019-01-17 00:22:15

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

CSS Text Effect Style 26

2019-01-17 00:20:27

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

JavaScript Data Structures - the String Object

2019-01-17 00:00:00

The String is the most basic and most useful of the native JavaScript data structures. It can also be used as a starting point for, or be incorporated into, many other data structures. Let's see how it all works. Read more...

Pwn2Own Contest To Win A Tesla

2019-01-17 00:00:00

Contestants at this year's CanSecWest security conference have a chance of winning a different prize to the usual offered in the Pwn2Own competition - a Tesla Model 3 car. Read more...

Programming: Flask, Agile, Rust and Python

2019-01-16 23:43:18

How to build an API for a machine learning model in 5 minutes using Flask As a data scientist consultant, I want to make impact with my machine learning models. However, this is easier said than done. When starting a new project, it starts with playing around with the data in a Jupyter notebook. Once you’ve got a full understanding of what data you’re dealing with and have aligned with the client on what steps to take, one of the outcomes can be to create a predictive model. You get excited and go back to your notebook to make the best model possible. The model and the results are presented and everyone is happy. The client wants to run the model in their infrastructure to test if they can really create the expected impact. Also, when people can use the model, you get the input necessary to improve it step by step. But how can we quickly do this, given that the client has some complicated infrastructure that you might not be familiar with? What is Small Scale Scrum? Agile is fast becoming a mainstream way industries act, behave, and work as they look to improve efficiency, minimize costs, and empower staff. Most software developers naturally think, act, and work this way, and alignment towards agile software methodologies has gathered pace in recent years. VersionOne’s 2018 State of Agile report shows that scrum and its variants remain the most popular implementation of agile. This is in part due to changes made to the Scrum Guide’s wording in recent years that make it more amenable to non-software industries. This Week in Rust 269 Async IO in Python: A Complete Walkthrough Async IO is a concurrent programming design that has received dedicated support in Python, evolving rapidly from Python 3.4 through 3.7, and probably beyond. You may be thinking with dread, “Concurrency, parallelism, threading, multiprocessing. That’s a lot to grasp already. Where does async IO fit in?” This tutorial is built to help you answer that question, giving you a firmer grasp of Python’s approach to async IO. read more

Google Lays Out Schedule for Transition to 64-Bit Apps

2019-01-16 23:12:17

Google wants to ensure a greater percentage of apps have 64-bit versions for newer devices. That's why Google recently revealed a revised set of deadlines for developers, who will need to update their apps if they want to continue distributing them via the Play Store. Here's what you need to know.

My PHP Development Setup

2019-01-16 21:02:32

Comments

My Modern PHP Development Setup

2019-01-16 21:02:32

Comments

5 Questions to Ask During the API Lifecycle

2019-01-16 20:50:55

Anyone creating or maintaining APIs is surely aware that sometimes APIs become outdated. While we do our best to create APIs that last, there’s a natural evolution. In some cases, we need to close down APIs, or transition to a new approach. The earlier you accept the natural lifecycle, the easier you’ll make things on yourself in the future. Below we’ll cover five stages of the API lifecycle: 1. Conception 2. Design 3. Development 4. Maintenance 5. Deprecation

JS++ programming language looks to solve out-of-bounds errors

2019-01-16 20:04:47

Out-of-bounds errors occur when the container element you are trying to access doesn’t exist. “For example, if an array has only three elements, accessing the tenth element is a runtime error,” Roger Poon, JS++ lead designer and co-inventor of existent types, explained in a post. “Out-of-bounds errors have plagued computer science and programming for decades. … continue reading The post JS++ programming language looks to solve out-of-bounds errors appeared first on SD Times.

Crystal Clear Java (Authorhouse)

2019-01-16 18:49:37

This book is about clearly understanding the concepts of Java as a language and then applying these concepts to develop applications. The first objective of author Mohammed Ashequr Rahman is to make the concepts of the Java language easy to understand. His second objective is to make it easy to write Java solutions to a programming problem and to make it easy to debug and correct code quickly. The third objective is to enable you to apply these concepts in learning another challenging language. The aim is that by the time you finish reading this book and practice the exercises, you will have mastered Java and ready to take on the next Java assignment. <ASIN:1546271775> Read more...

GrapeCity’s ActiveReports 13 features long-awaited ProDesigner for Web

2019-01-16 18:21:56

Enterprise software tool provider GrapeCity has announced the latest release of its design toolkit ActiveReports 13 with the long-promised web-based designer ProDesigner for Web. In addition, the company explained this release focuses on better and more dynamic reports with upgrades to developers’ design toolkit. “ActiveReports users have requested the web designer for a long time, … continue reading The post GrapeCity’s ActiveReports 13 features long-awaited ProDesigner for Web appeared first on SD Times.

Trends in AI: NeurIPS 2018

2019-01-16 17:50:00

Co-authors: Gungor Polatkan and Romer Rosales   In December, we attended the artificial intelligence and machine learning conference NeurIPS 2018 in Montreal, Canada. In this post, we share our personal observations from the event, explain the trends in artificial intelligence research, and provide an overview of specific hot topics in addressing the problems in online systems and web applications. Though we provide an overview of each problem for a broader audience, we will also dive into a couple of selected papers or ideas in more detail. For those that may be unfamiliar, NeurIPS […]

Finland's Ambitious Plan To Teach Anyone the Basics of AI

2019-01-16 16:50:00

In the era of AI superpowers, Finland is no match for the US and China. So the Scandinavian country is taking a different tack. From a report: It has embarked on an ambitious challenge to teach the basics of AI to 1% of its population, or 55,000 people. Once it reaches that goal, it plans to go further, increasing the share of the population with AI know-how. The scheme is all part of a greater effort to establish Finland as a leader in applying and using the technology. Citizens take an online course that is specifically designed for non-technology experts with no programming experience. The government is now rolling it out nationally. As of mid-December, more than 10,500 people, including at least 4,000 outside of Finland's borders, had graduated from the course. More than 250 companies have also pledged to train part or all of their workforce. Read more of this story at Slashdot.

Report: App services are an essential component to successful digital transformation

2019-01-16 16:46:02

As businesses scramble to keep up with today’s fast-paced digital world, they are turning to application services to help ease the pain. A newly released report revealed app services are key to cloud adoption and a successful app-driven digital economy. According to application service provider F5 Networks, app services refer to things like load balancing, … continue reading The post Report: App services are an essential component to successful digital transformation appeared first on SD Times.

SD Times news digest: Progress’ DataDirect Autonomous REST Connector, MariaDB Platform X3, and FoundationDB’s Record Layer

2019-01-16 16:44:16

Progress has announced the release of Progress DataDirect Autonomous REST Connector. The new solution enables teams to build connectors for applications quickly without needing to write custom code. According to Progress, the Data Direct Autonomous REST Connector allows developers to fully access data from SQL-based applications. The key benefits that the solution offers are broad … continue reading The post SD Times news digest: Progress’ DataDirect Autonomous REST Connector, MariaDB Platform X3, and FoundationDB’s Record Layer appeared first on SD Times.

Unstructured data is an oxymoron

2019-01-16 15:27:41

Strictly speaking, “unstructured data” is a contradiction in terms. Data must have structure to be comprehensible. By “unstructured data” people usually mean data with a non-tabular structure. Tabular data is data that comes in tables. Each row corresponds to a subject, and each column corresponds to a kind of measurement. This is the easiest data to […]

Programming: Go, JavaScript, Data Science Programming Languages and PyFilesystem

2019-01-16 10:46:38

How To Learn Go Programming Language First appeared in November 2009, Go is a statically typed, compiled programming language designed at Google. You might have just heard about this programming language in the past couple of years but recently, Go has started to gain significant popularity in the coding world. Being light-weight, open source, and suited for today’s microservices architectures, Go is an amazing choice for a language. Also known as Google’s Golang, this language was developed by some of the brilliant minds from Google who created the C programming language. Today, it is one of the fastest growing languages and it’s absolutely a great time to start learning and working with GO. Review: The 6 best JavaScript IDEs Back in the ancient days when Java Swing was new and exciting, I enjoyed using Eclipse for Java development, but soon moved on to other Java IDEs. Five-plus years ago, when I did some Android development with Eclipse, I found the experience OK, but poky. When I tried to use Eclipse Luna with JSDT for JavaScript development in 2014, it constantly displayed false-positive errors for valid code that passed JSHint. A Complete List of The Best Data Science Programming Languages Data science is one of the fastest-growing fields in America. Organizations are employing data scientists at a rapid rate to help them analyze increasingly large and complex data volumes. The proliferation of big data and the need to make sense of it all has created a vortex where all of these things exist together. As a result, new techniques, technologies and theories are continually being developed to run advanced analysis, and they all require development and programming to ensure a path forward. PyFilesystem is greater than or equal to Pathlib I was reading a post by Trey Hunner on why pathlib is great, where he makes the case that pathlib is a better choice than the standard library alternatives that preceded it. I wouldn't actually disagree with a word of it. He's entirely correct. You should probably be using pathlib were it fits. read more

Snakes on a Spaceship - An Overview of Python in Heliophysics

2019-01-16 07:23:24

A scientific paper that discusses the standards for peer review of code and analysis using the open source language Python in scientific research.

Programming: Samba, newt-lola, Kano, Python and More

2019-01-16 06:22:00

Samba 4.10 RC1 Released: Adds Offline Domain Backups, Now Defaults To Python 3 Samba 4.10 release candidate 1 was announced today as the open-source SMB implementation with support for Windows Server and Active Directory domains. The Samba 4.10 release is bringing export/restore features for Group Policy Objects (GPO), pre-fork process model improvements, support for offline domain backups with the samba-tool domain backup command now supporting an offline option, support for group membership statistics within a domain, Python 3 is now considered the default Python implementation while Python 2 support is retained, JSON logging improvements, and other work. newt-lola Bison and Flex (or any of the yacc/lex family members) are a quick way to generate reliable parsers and lexers for language development. It's easy to write a token recognizer in Flex and a grammar in Bison, and you can readily hook code up to the resulting parsing operation. However, neither Bison nor Flex are really designed for embedded systems where memory is limited and malloc is to be avoided. When starting Newt, I didn't hesitate to use them though; it's was nice to use well tested and debugged tools so that I could focus on other parts of the implementation. With the rest of Newt working well, I decided to go take another look at the cost of lexing and parsing to see if I could reduce their impact on the system. Kano Scores a Disney Partnership, Announces a Star Wars Kit for Later This Year Kano creates killer little sets to teach kids how to code and beyond (like the awesome Harry Potter Coding Kit), and today the company is announcing a Disney partnership. The first product will be a Star Wars kit. While other info is scant at the time, Kano says the Star Wars kit will be out “in the second half of 2019.” Alex Klein, Kano’s CEO and co-founder, only teased other details, saying that “Collaborating with Disney is a blessing. We can combine connected, creative technologies with some of the most memorable stories ever told.” GDA and GObject Introspection: Remember 1 No really, pathlib is great Top Seven Apps Built With Python Turn video into black and white with python Happy Mu Year 2019! Python 101: Episode #42 – Creating Executables with cx_Freeze In this screencast, we will learn how to turn your Python code into a Windows executable file using the cx_Freeze project. PyCoder’s Weekly: Issue #351 (Jan. 15, 2019) read more

Web Scraping Using Python (Part 2)

2019-01-16 06:05:04

In this article, I will outline how to efficiently automate web scraping to return any data you may desire and then store it in a structured format for analysis. This is the second part of the series from part one in which I went through just the basics of web scraping. If you'd like to get a quick basic overview you can check part one in this link.

The 7 Best Practices for Visual Testing With the Galen Framework

2019-01-16 06:04:02

For the past few months, we have been executing our visual testing with the Galen framework. First of all, this should illustrate that we think it is a great framework. For those of you new to the Galen Framework, it is a test framework used for responsive and cross-browser visual testing and functional testing. Galen also has Galen Specs, its own visual testing language. These are based on the Selenium WebDriver. Galen Specs also contains a JavaScript API that allows you to interact directly with Selenium. These features allow users to run tests in any browser in the cloud and in addition test on real mobile devices as well with Appium Studio.

SageDB: a learned database system

2019-01-16 06:00:00

SageDB: a learned database system Kraska et al., CIDR’19 About this time last year, a paper entitled ‘The case for learned index structures’ (part I, part II) generated a lot of excitement and debate. Today’s paper choice builds on that foundation, putting forward a vision where learned models pervade every aspect of a database system. […]

Installing the .NET Core 2.x SDK on a Raspberry Pi and Blinking an LED with System.Device.Gpio

2019-01-16 02:00:00

I've written about running .NET Core on Raspberry Pis before, although support was initially limited. Now that Linux ARM32 is a supported distro, what else can we do? We can certainly quickly and easily install Docker on a Raspberry Pi and be running C# and .NET Core programs in minutes. We can run .NET Core in a stack of Raspberry Pis as a Kubernetes Cluster, making our own tiny cloud and install a serverless platform in it like OpenFaas! If you have a Raspberry Pi 3 with Raspbian on it like I do, check out https://dotnet.microsoft.com/download/dotnet-core/2.2 and note that last part of the URL. You can ask for /2.1, /2.0, etc, just in case you're reading this post in the future, like tomorrow. ;) Everything is always at https://dotnet.microsoft.com/download/archives so you can tell what's Current and what's not. For example, if I end up here https://dotnet.microsoft.com/download/thank-you/dotnet-sdk-2.2.102-linux-arm32-binaries I can grab the exact blob URL from the "try again" link and then wget it on my Raspberry Pi. You'll want to get a few prerequisites first. Note these blob links change when new stuff comes out, so you'll want to double check to get latest.sudo apt-get install curl libunwind8 gettextwget https://download.visualstudio.microsoft.com/download/pr/9650e3a6-0399-4330-a363-1add761127f9/14d80726c16d0e3d36db2ee5c11928e4/dotnet-sdk-2.2.102-linux-arm.tar.gzwget https://download.visualstudio.microsoft.com/download/pr/9d049226-1f28-4d3d-a4ff-314e56b223c5/f67ab05a3d70b2bff46ff25e2b3acd2a/aspnetcore-runtime-2.2.1-linux-arm.tar.gz I got the Linux ARM 32-bit SDK as well as the ASP.NET Runtime so I have those packages available for any web apps I choose to make. Then we'll extract. You can set it up as a user off of $HOME or in /opt/dotnet and then link to /usr/local/bin.mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-2.2.102-linux-arm.tar.gz -C $HOME/dotnetexport DOTNET_ROOT=$HOME/dotnet export PATH=$PATH:$HOME/dotnet Don't forget to untar the ASP.NET Runtime as well.tar zxf aspnetcore-runtime-2.2.1-linux-arm.tar.gz -C $HOME/dotnet Cool. You will want to add the PATH to your profile if you want it to survive restarts. Then run "dotnet --info" to see if it works.pi@crowpi:~ $ dotnet --info.NET Core SDK (reflecting any global.json): Version: 2.2.102Runtime Environment: OS Name: raspbian OS Version: 9 OS Platform: Linux RID: linux-arm Base Path: /home/pi/dotnet/sdk/2.2.102/Host (useful for support): Version: 2.2.1.NET Core SDKs installed: 2.2.102 [/home/pi/dotnet/sdk].NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.1 [/home/pi/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.1 [/home/pi/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.1 [/home/pi/dotnet/shared/Microsoft.NETCore.App] Looks good. At this point I have BOTH the .NET Core runtime (for running stuff) as well as all the ASP.NET runtime for web apps or little microservices AND the .NET SDK which means I can actually compile code (slowly) on the Pi itself. It's up to me/you. If you aren't ever going to develop (compile code) on the Raspberry Pi, you can just install the runtime, but I think it's nice to be prepared. I am installing all this on a wonderful Raspberry Pi kit called a "CrowPi." They had a successful KickStarter and are now selling a Raspberry Pi Educational Kit with an attached custom board with dozens of components. Rather than having to connect motion sensors, soud sensors, touch sensors, switches, buttons, and carry around a bunch of wires, you can experiment and play with stuff in a very organized case that also has a 7inch HDMI touch screen. They also have 21 great Python Video Courses on their YouTube Channel on how to get started with hardware. It's a joy of a device. More on that later. NOTE: I talked to the #CrowPi people and they gave me an Amazon COUPON that's ~$70 off! The coupon is 8EMCVI56, add it during checkout. The Advanced Kit is at https://amzn.to/2SVtXl2 #ref and includes everything, touchscreen, keyboard, mouse, power, SNES controllers, motors, etc. I will be doing a full review soon. Short review is, it's amazing. Now that .NET Core is installed, I can start exploring the fun happening over at https://github.com/dotnet/iot. It's filled with lots of new functionality inside of System.Device.Gpio. Remember that GPIO means "General Purpose Input/Output" which, on a Raspberry Pi, is connected to a ribbon cable on the CrowPi with lots of cool sensors ready to go! I could build my Raspberry Pi apps on my Windows/Mac/Linux machine and I'll find it much faster to compile. Then I can "scp" (secure copy) it over to the Pi. It's nice to point out that Windows 10 includes scp.exe now by default! In this example, by adding -r linux-arm I'm copying a complete self-contained app over the Pi, so don't actually need to install .NET Core like I did above. If instead, I didn't use -r (to declare a specific runtime) then I would need to make sure I've got the right versions on my dev box vs my RPi, so consider what's best for you. Here I am in my Windows machine that also has the same version of the .NET Core SDK installed. I'm in .\rpitest with a console app I made with "dotnet new console." Now I want to build and copy it over to the Pi.dotnet publish -r linux-armcd bin\Debug\netcore2.1\linux-arm\publishscp -r . pi@crowpi:/home/pi/Desktop/rpitest From the Pi, I'll need to "sudo chmod +x" the rpitest application to make sure it is executable. There's a brilliant video from Cam Soper that shows you in great detail how to run .NET Core 2.x on a Raspberry Pi and I recommend you check it out as well. IoT devices expose much more than serial ports. They typically expose multiple kinds of pins that can be programmatically used to read sensors, drive LED/LCD/eInk displays and communicate with our devices. .NET Core now has APIs for GPIO, PWM, SPI, and I²C pin types. These APIs are available via the System.Device.GPIO NuGet package. It will be supported for .NET Core 2.1 and later releases. There's some basic samples here https://github.com/dotnet/iot/blob/master/samples/README.md to start with. From Microsoft: Most of our effort has been spent on supporting these APIs in Raspberry Pi 3. We plan to support other devices, like the Hummingboard. Please tell us which boards are important to you. We are in the process of testing Mono on the Raspberry Pi Zero. For now System.Device.Gpio is a prelease so you'll want to add a nuget.config to your project with the path to the dailies:<?xml version="1.0" encoding="utf-8"?><configuration> <packageSources> <clear /> <add key="myget.org" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" /> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> </packageSources></configuration> Add a reference to System.Device.Gpio or (at the time of this writing) version 0.1.0-prerelease.19065.1. Now let's do something! Here I'm just blinking this LED!Console.WriteLine("Hello World!");GpioController controller = new GpioController(PinNumberingScheme.Board);var pin = 37;var lightTime = 300;controller.OpenPin(pin, PinMode.Output);try { while (true) { controller.Write(pin, PinValue.High); Thread.Sleep(lightTime); controller.Write(pin, PinValue.Low); Thread.Sleep(lightTime); }}finally { controller.ClosePin(pin);} Yay! Step zero works! Every cool IoT projects starts with a blinking LED! Do be aware that System.Device.Gpio is moving VERY fast and some of this code and the samples may not work if namespaces or class names change. It'll settle down soon. Great stuff though! Go get involved over at https://github.com/dotnet/iot as they are actively working on drivers/abstractions for Windows, Linux, etc and you could even submit a PR for a device like an LCD or simple sensor! I've only been playing for an hour but I will report back as I try new experiments with my kids. 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 16

2019-01-16 00:22:27

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

Button Style 73

2019-01-16 00:20:21

The post Button Style 73 appeared first on Best jQuery.

Proposed New Patent Office Guidance Could Promote Absurd Software Patents

2019-01-16 00:00:00

The US Patent and Trademark Office (USPTO) is working on revised guidance for distinguishing between patent-eligible and patent-ineligible subject matter. It has called for comments by March 8, 2019 but I doubt it would want to hear ours. Read more...

Android Studio 3.3 - Trying Harder?

2019-01-16 00:00:00

Another decimal point upgrade to Android Studio and more hope for the future. I really wanted to like this one. Read more...

KDE Students Excel during Google Code-in 2018

2019-01-16 00:00:00

After many years of successful Google Code-in participation, this year we did it again! KDE attracted a number of students with exciting tasks for their eager young minds. Google Code-in is a program for pre-university students aged from 13 to 17 and sponsored by Google Open Source. KDE has always worked to get new people involved in Free and open source (FOSS) projects with the aim of making the world a better place. This year was no different. Our students worked very hard, and some of them already have their contributions committed to the KDE codebase! We designed tasks in a way that made them exciting for all students. Students who were not skilled in programming took on tasks of writing blogs or documentation. To help students who had no experience with FOSS or with the community, we set up introductory tasks for IRC and mailing lists, both of which are essential in FOSS as communication channels. The students who had some prior programming experience received tutorial tasks to get a better understanding of how KDE software works. Those types of tasks also helped them become familiar with the Qt framework on which all KDE software is based. Finally, students good at programming were put to work contributing to on-going KDE projects. They created new features or solved known bugs and wrote unit tests. We’re happy that some really enthusiastic and persistent students joined us this year. Thanks to their passion for programming, they completed many tasks and delivered quality code we merged into our project repositories. It wasn’t easy for the mentors to select winners, as every student had accomplished great things. Still, we finally settled on pranav and triplequantum (their GCI names). Finalists were TURX, TUX, UA and waleko. KDE would like to congratulate all the winners and finalists, and we warm-heartedly welcome all our new contributors! Author: Pranam Lashkari

Daily API RoundUp: ORY, Trawlingweb, MuckRock, Kami

2019-01-15 23:12:36

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.

Practice JavaScript and Learn: Object-Oriented Programming

2019-01-15 23:00:00

Google Honed Its Own Code in Android Studio 3.3 so You Can Hone Yours

2019-01-15 22:58:31

Google has released a stable version of Android Studio 3.3 that the company says is focused on delivering a refined experience and higher quality and stability. By taking developer feedback to heart, Google believes Android Studio 3.3 will help keep application writers productive. 

How to Install Craft CMS on CentOS 7

2019-01-15 22:43:02

Craft is an open source CMS written in PHP which allows you to easily create and manage great-looking content, and to design and build exactly what you need. This tutorial will walk you through the Craft CMS installation procedure on a fresh CentOS system using Nginx as the web server and we will secure the website with a Let's encrypt SSL certificate.

Augmented Reality and the Browser — An App Experiment

2019-01-15 21:33:03

We all want to build the next (or perhaps the first) great Augmented Reality app. But there be dragons! The space is new and not well defined. There aren’t any AR apps that people use every day to serve as starting points or examples. Your new ideas have to compete against an already very high […] The post Augmented Reality and the Browser — An App Experiment appeared first on Mozilla Hacks - the Web developer blog.

Android Studio 3.3 forgoes big changes for better experience

2019-01-15 20:24:16

Google released Android Studio 3.3 this week with a strong focus on refinement and quality. The key updates featured a tidied-up UI, and support for IntelliJ 2018.2.2, Kotlin 1.3.11 and Clang-Tidy C++. According to the company, the updates are a part of a broader plan for solidifying the feature set of the IDE that the … continue reading The post Android Studio 3.3 forgoes big changes for better experience appeared first on SD Times.

Samba 4.10 RC1 Released: Adds Offline Domain Backups, Now Defaults To Python 3

2019-01-15 19:38:53

Samba 4.10 release candidate 1 was announced today as the open-source SMB implementation with support for Windows Server and Active Directory domains...

How to use HTML5 form validations with React

2019-01-15 19:27:44

WordPress To Show Warnings on Servers Running Outdated PHP Versions

2019-01-15 18:02:00

The WordPress open-source content management system (CMS) will show warnings in its backend admin panel if the site runs on top of an outdated PHP version. From a report: The current plan is to have the warnings appear for sites using a PHP version prior to the 5.6.x branch (5.6 or lower). The warnings will contain a link to a WordPress support page with information on how site owners can update their server's underlying PHP version. In instances where site owners are running their WordPress portals on top of tightly-controlled web hosting environments, the web host has the option to change this link with a custom URL pointing at its own support site. [...] Around 66.7 percent of all Internet sites run an unsupported PHP version, according to W3Techs. Almost a quarter of all internet sites run on top of a WordPress CMS. Read more of this story at Slashdot.

Kong launches new solutions for intelligently automating the API development lifecycle

2019-01-15 17:45:59

API platform provider Kong’s vision of a service control platform is coming to life with the announcement of two new machine learning capabilities on its Kong Enterprise API platform. Kong Brain and Kong Immunity is designed enable organizations to intelligently automate the API and service development lifecycle. “Four months ago, we declared that API Management … continue reading The post Kong launches new solutions for intelligently automating the API development lifecycle appeared first on SD Times.

WSO2 reveals plans to support open-source communities in 2019

2019-01-15 17:03:37

Open-source technology provider WSO2 is committing itself to solving open-source challenges in 2019. The company revealed its plans to expand open-source communities this year as well as support open-source businesses. The news comes as many other open-source businesses are turning to stricter licenses to tackle open-source business model challenges. RELATED CONTENT: New software licenses aim … continue reading The post WSO2 reveals plans to support open-source communities in 2019 appeared first on SD Times.

Understanding Infosec as a Cost Center

2019-01-15 16:35:50

SD Times news digest: XebiaLabs’ new DevOps Risk and Compliance features, Split’s free Feature Flag Edition, and Google’s changes to its SMS/Call Log policy

2019-01-15 16:19:02

XebiaLabs has launched a new security and risk assessment solution for enterprises. The new solution features enhanced chain of custody reporting, a new security risk dashboard for software releases, and new at-a-glance compliance overviews. According to the company, this will help organizations track app release status and understand security better. “To effectively manage software delivery … continue reading The post SD Times news digest: XebiaLabs’ new DevOps Risk and Compliance features, Split’s free Feature Flag Edition, and Google’s changes to its SMS/Call Log policy appeared first on SD Times.

Salesforce Enhances Commerce Cloud with New AI-Powered Recommendations Tools

2019-01-15 15:46:59

Salesforce has announced a set of upgrades to Commerce Cloud, the company’s cloud-based commerce solution that provides tools for building unified buying experiences across all customer touchpoints. These new tools are headlined by AI-enhanced APIs that help to encourage user engagement through visual search and custom recommendation services.

How to Install IDLE Python IDE on your Ubuntu

2019-01-15 15:13:08

In this article, we will be installing IDLE through the Ubuntu command line. The article also explains how to launch IDLE and use it to write and run a simple Python script.

Licensing: GPL Compliance and the Server Side Public License (SSPL)

2019-01-15 15:04:06

arter97’s custom kernel and vendor images greatly improve the Xiaomi Mi Pad 4’s performance Xiaomi (and a lot of Chinese OEMs) have had a difficult time complying with the rules of the GNU GPL when it comes to releasing the kernel source code for their Android products. The company said they would start doing this 3 months after the release of a new product, but that wasn’t the case with the Xiaomi Mi Pad 4. The device launched in June of last year and, as of October, they had yet to comply with the GPL. Thankfully, they finally released it (a month after we reported on their tardiness) and it has helped developers work their magic on the device. Amazon Web Services’ DocumentDB Takes Aims At MongoDB Workloads DocumentDB uses version 3.6 of the MongoDB application programming interface (API) to interact with MongoDB clients. That version, dating back to 2017, is covered by the open source Apache licence, a move intended to circumvent MongoDB’s new licensing structure, based on the specially created Server Side Public License (SSPL). read more

Programming: Python, Qt 6.0, and LLVM

2019-01-15 15:02:13

The starting of new pygame project Hello, welcome back, due to busy managing the offline business as well as writing article for another website, therefore, no post had been created in the past few days. Qt 6 To Begin Early Stages Of Development In Git While Qt 6.0 isn't due out for the better part of two years still, early patches planned for Qt 6 are expected to begin taking shape within a Git staging branch. Lars Knoll laid out plans today to have a Qt 6 branch start for qtbase, since that's where most of the early stage Qt6 development will begin taking place. Already he's been collecting some patches from fellow developers and at least having this branch early will serve as a basis for staging until the Qt 6.0 development really heats up. The current Qt5 "dev" code would regularly merge into the Qt6 code-base, functions planned for removal in Qt6 would need to be first marked as deprecated by the Qt5 code, and binary compatibility breakage can begin. Intel Looking To Drop Their Nios II Backend From LLVM One of the lesser known compiler backends/targets by the LLVM compiler is Nios II, which is for the 32-bit embedded FPGA processor designs. Of course, Intel acquired Altera back in 2015 and has been focusing upon the Intel Stratix hardware as their current FPGA focus. For Nios II coverage there's long been an out-of-tree GCC-derived compiler while the LLVM back-end hasn't received much attention. It seems the LLVM support for Nios II isn't widely used as the Intel developers are now looking to drop this back-end. In fact, the Nios2 LLVM back-end with being broken for months before it was noticed. Additionally, the experimental target has never been full-featured to the extent that the Intel compiler developers would rather just drop the code. Apple Opens Up Swift/C LSP Based On Clangd Built atop LLVM's clangd server, Apple recently open-sourced SourceKit-LSP as a language server protocol for Swift and C-based languages. This allows for better integration with various IDEs and development tools. Language Server Protocols are a standardized protocol for communicating between integrated development environments / IDEs and servers providing various programming language specific features. These LSPs can be re-used by different development tools / editors while providing the necessary functionality for code completion, code formatting, syntax highlighting, and other features that are language-specific and better off re-used across projects rather than needing to be re-implemented each time. Writing Golang as a Python Dev I’ve gone through the Golang tutorial once before but in the last month or so, I fully dove into it. I started by writing a simple hello world web application. I found the implementation of the webserver so neat that most of the uses I’d have for a framework is redundant. The in-built libraries already take care of handling most of the use-cases I have. I did a couple of views and a couple of templates. It seems to be working well. As someone coming from Python, I keep tripping over types. I started my professional career with PHP and then moved to Python. Both of these languages aren’t very strongly typed by default. So it’s been fun to find errors and fix them. I learn more and more that I can’t be lazy. read more

407 Proxy Authentication Required - Evert Pot

2019-01-15 15:00:00

407 Proxy Authentication Required is an error a HTTP proxy returns if it requires authentication. It’s really similar to 401 Unauthorized. Example HTTP/1.1 407 Proxy Authentication Required Proxy-Authenticate: Basic; realm="Secured area" As you can see above, the response looks pretty similar to 401 and can use the same authentication schemes. This is an example of a client authenticating with a proxy: GET / HTTP/1.1 Proxy-Authorization: Basic d2VsbCBkb25lOllvdSBmb3VuZCB0aGUgc2Vjb25kIGVhc3RlciBlZ2cK If a clients connects to a server that requires authentication via a proxy that also requires authentication, both headers might appear in a request: GET / HTTP/1.1 Proxy-Authorization: Basic ZWFzdGVyIGVnZzpudW1iZXIgdGhyZWUK Authorization: Bearer c2VuZCBtZSBhIHR3ZWV0IG9yIHNvbWV0aGluZwo Usage HTTP proxies used to be more common. They can act like local caches or provide an additional layer of security in a corporate environment. These days they are less common for those purposes. Caching is not as needed, and the security layer is more often implemented with a VPN. Most HTTP proxies these days are reverse proxies, which is mostly transparent for HTTP clients. Basic and Digest authentication for proxies is widely supported by browsers and other HTTP clients. References RFC7235, Section 3.2 - 407 Proxy Authentication Required

Security: Back Doors and Metasploit

2019-01-15 14:22:57

Vulnerabilities found in building access system used by schools, governments Tenable Research discovered four zero-day vulnerabilities in PremiSys access control system from IDenticard (PremiSys IDenticard). The first, a hardcoded backdoor account, “allows attackers to add new users to the badge system, modify existing users, delete users, assign permission, and pretty much any other administrative function.” The ability to “give an attacker unfettered access to the badge system database, allowing him/her to covertly enter buildings by creating fraudulent badges and disabling building locks” is troubling considering tens of thousands of customers, ranging from K-12 schools, universities, government agencies, medical centers, and Fortune 500 companies, rely on IDenticard for secure key card access. Open-Source Metasploit Framework 5.0 Improves Security Testing Among the most widely used tools by security researchers is the open-source Metasploit Framework, which has now been updated with the new 5.0 release. Metasploit Framework is penetration testing technology, providing security researchers with a variety of tools and capabilities to validate the security of a given application or infrastructure deployment. With Metasploit, researchers can also test exploits against targets to see if they are at risk, in an attempt to penetrate the defensive measures that are in place. The 5.0 release of Metasploit introduces multiple new and enhanced capabilities, including automation APIs, evasion modules and usability improvements. "As the first major Metasploit release since 2011, Metasploit 5.0 brings many new features, as well as a fresh release cadence," Brent Cook, senior manager at Rapid7, wrote in a blog post. [...] Metasploit 5.0 now also brings improved usability for security researchers to test multiple targets at scale. "While Metasploit has supported the concept of scanners that can target a subnet or network range, using an exploit module was limited to only one host at a time," Cook wrote. "With Metasploit 5.0, any module can now target multiple hosts in the same way by setting RHOSTS to a range of IPs or referencing a host’s file with the file:// option." Usability also gets a boost with improved performance, including faster startup and searching capabilities than in previous versions of Metasploit. Additionally, with Metasploit 5.0, researchers are now able to write and use modules in any of three programming languages: Go, Python and Ruby. Overall, development for Metasploit 5.0 benefited from an updated process that included a stable branch that is used by Rapid7 and other distributions for everyday use and an unstable branch where new development can be rapidly added before it’s ready for broader consumption. read more

Community News: Latest PECL Releases (01.15.2019)

2019-01-15 14:05:01

Latest PECL Releases:pq 2.1.5* Fix PHP-7.3 compatibility datadog_trace 0.9.1### Added - Ability to reset all overrides via `dd_trace_reset` Changed By default do not throw an exception when method or function doesn't exist Fixed Eloquent integration calling protected performInsert method mcrypt 1.0.2- The mcrypt extension as it was in PHP 7.1, before it was removed from core. gRPC 1.18.0RC1- gRPC C Core 1.18 uptake

Advanced Deep Learning with Keras

2019-01-15 13:28:20

Author: Rowel AtienzaPublisher: Packt PublishingPages: 368ISBN: 978-1788629416Print: 1788629418Kindle: B078N8RDCPAudience: Developers using KerasRating: 4.5Reviewer: Mike James There's a shortage of books on AI with "advanced" in the title, so how does this one live up to its claim? Read more...

Serverless PHP on AWS Lambda

2019-01-15 13:01:01

Like, Simon Wardley, I think that serverless computing is an interesting space because the billing is granular (pay only when your code executes) and you don't need to worry about maintaining and provisioning servers or containers. So much so, that I maintain the Open Source PHP Runtime for Apache OpenWhisk which is available commercially as IBM Cloud Functions. There are other serverless providers, and AWS Lambda is the market leader, but until recently PHP support could most charitably described as "cumbersome." That all changed at the end of 2018 with Lambda's new runtime API and support for layers.

ModalJS – Most Complete jQuery Popup/Modal Plugin

2019-01-15 12:18:55

Popup messages Inline messages Device detection, show/hide mobile specific modals Modern looks Easy Integration Behavioral Triggers GDPR Ready Cookies Gradient color picker Supports all modern browsers The post ModalJS – Most Complete jQuery Popup/Modal Plugin appeared first on Best jQuery.

C Programming Language in 2019 and Python Leftovers

2019-01-15 12:08:34

State of C Programming Language in 2019 In four years’ time, C will reach its 50th birthday, an anniversary also shared with PL/M and Prolog. Unlike those two, C remains immensely popular, it’s in the top ten of virtually every programming language popularity survey. Linux is mostly written in C. Python‘s CPython implementation, Perl, Matz’s Ruby, about half of R, the MyISAM code for MySQL and even the first Java compiler were all written in C. The kernels of most operating systems (including Windows, Mac, Linux, iOS and Android) all feature C. Now we have a new C standard, C18, that was ratified a few months ago. A mere 198 Swiss Francs will buy the ISO/IEC 9899:2018 standard, all 520 pages of it; you can view the final draft of it for free, though, on openStd.org (PDF) to get a sense of the document. It’s only really of use if you are a compiler writer who wants to be 100 percent conformant, or just curious. Remove audio from video with Python and FFmpeg Dockerizing Python Applications Docker is a widely accepted and used tool by leading IT companies to build, manage and secure their applications. Improve Your Code With Atomic Functions In your studies, you may have encountered the terms "atomic function" and "Don't Repeat Yourself (DRY)". Today, I'm going to demonstrate how these concepts work together to provide easily maintainable, easily testable, and beautiful code. In your studies, you may have encountered the terms "atomic function" and "Don't Repeat Yourself (DRY)". Today, I'm going to demonstrate how these concepts work together to provide easily maintainable, easily testable, and beautiful code. So... let's talk Pyramid Last year, I started working on a project that I truly believe(d) might change the world (cliche, right?). Like most developers, my first instinct at the outset was to make certain crucial decisions about the overall architecture of the project in view. First question that came to mind was the language to use for the backend of the web app, at least at the outset. To be clear, I am quite a Pythonista as I love everything about the language. Although I'm pretty much familiar with Java, Javascript and a little bit of Elixir, I knew there was no way I could go wrong with Python since I was going to be the only developer working on the project for months and I needed to churn out code quickly. Speed Up Your Python Program With Concurrency If you’ve heard lots of talk about asyncio being added to Python but are curious how it compares to other concurrency methods or are wondering what concurrency is and how it might speed up your program, you’ve come to the right place. read more

JavaScript Labels

2019-01-15 11:52:16

No matter how long you’ve been a JavaScript developer, there will always be language features that you didn’t know about until you saw them in a fringe piece of code. Your reaction generally is a bit like: One of those features I see developers quizically trying to figure out is JavaScript labels, which allow you […] The post JavaScript Labels appeared first on David Walsh Blog.

Improbable, Epic and Dis-Unity

2019-01-15 11:03:27

A dispute between Unity and Improbable over violations of terms and condition by the cloud-based game development platform, Spatial OS, was played out in a series of blog posts. It also led to a $25 million fund being set up to help devs move to more "open" game engines. Read more...

SVG Filters 101

2019-01-15 10:22:33

The first article in a series on SVG filters. This guide will help you understand what they are and show you how to use them to create your own visual effects. SVG Filters 101 was written by Sara Soueidan and published on Codrops.

Arrow Functions in JavaScript

2019-01-15 10:02:01

Arrow functions are the most powerful feature in ES6, especially in TypeScript. Let's look at one simple example of this using a forEach loop. //Normal Statement with a callback function arrayOfItems.forEach(function(x) { updatedItems.push(x+1); }); //arrow function arrayOfItems.forEach((x) => { updatedItems.push(x+1); }); In a JavaScript class, we use this keyword to refer to the instance of the class .But here are some cases likemyObject.myMethod1() here this used inside my first method, which will refer to myObject. Another example you can with this snippet.

While Windows 7 wobbled, AI continued its relentless march at Microsoft

2019-01-15 09:15:05

Plenty of Python news emitted from Redmond in this week's round-up The gang at Microsoft continued their busy start to 2019, dodging falling masonry, wobbly updates and toppling cloud services.…

Behind the scenes with one Magento PWA Studio contributor

2019-01-15 08:18:12

To kick off the year, I’ve talked to Adrian Bece, one of our frontend developers who has been delving deep into PWAs and is among the most active contributors to Magento’s official PWA Studio. Take a look at what he had to say about the state of PWA in the world of Magento and eCommerce,... The post Behind the scenes with one Magento PWA Studio contributor appeared first on Inchoo.

Middleware in Express applications

2019-01-15 08:17:47

If you have recently moved or are thinking of moving to the nodejs Express framework than you should primarily get acquainted with its routing and middleware concepts, as an Express application is essentially a series of middleware function calls. Middlewares in Express are functions executed after the incoming request from the client, the middleware then […] The post Middleware in Express applications appeared first on codediesel.

5 Best Python Frameworks for WebView Testing

2019-01-15 06:05:01

Python has become one of the most widely used programming languages. The reason behind its popularity is that it is extremely easy to use and allows you to create platform independent programs. It is a high-level language and has all the important features that make a good programing language. It also supports OOPs, i.e. Object Oriented Programming concepts. The syntax of Python is very different from C or C++ and simpler too. This makes it easy to learn and understand.

How fast can you multiply really big numbers?

2019-01-15 01:27:23

How long does it take to multiply very large integers? Using the algorithm you learned in elementary school, it takes O(n²) operations to multiply two n digit numbers. But for large enough numbers it pays to carry out multiplication very differently, using FFTs. If you’re multiplying integers with tens of thousands of decimal digits, the […]

Fedora: Releases, PHP and Fedora Test Day

2019-01-15 00:57:47

Updating release schedule tasks One thing that I noticed as I got settled in to this role last summer is that the Fedora release schedule tasks look a lot like they did when I first started contributing almost a decade ago. That’s not necessarily a bad thing — if it’s not broke, don’t fix it. but I suspect it’s less because we’re still getting releases out in the same way we did 10 years ago and more because we haven’t captured when reality has drifted from the schedule. PHP with the NGINX unit application server Contribute at the Fedora Test Day for kernel 4.20 read more

Bootstrap Vertical Tab 22

2019-01-15 00:22:14

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

Hegemon - A Modular System And Hardware Monitoring Tool For Linux

2019-01-15 00:21:05

2DayGeek: Hegemon is a modular system and hardware monitoring tool which was written in Rust programming language.

Service Box 105

2019-01-15 00:20:26

The post Service Box 105 appeared first on Best jQuery.

Mozilla: Firefox 67 Plans, Servo, TenFourFox FPR12b1

2019-01-14 23:39:25

Moving to a Profile per Install Architecture With Firefox 67 you’ll be able to run different Firefox installs side by side by default. Supporting profiles per installation is a feature that has been requested by pre-release users for a long time now and we’re pleased to announce that starting with Firefox 67 users will be able to run different installs of Firefox side by side without needing to manage profiles. This Week In Servo 123 In the past three weeks, we merged 72 PRs in the Servo organization’s repositories. TenFourFox FPR12b1 available TenFourFox Feature Parity 12 beta 1 is now available (downloads, hashes, release notes). As before, this is a smaller-scope release with no new features, just fixes and improvements. The big changes are a fix for CVE-2018-12404, a holdover security fix from FPR11 that also helps improve JavaScript optimization, and Raphael's hand-coded assembly language AltiVec-accelerated string matching routines with special enhancements for G5 systems. These replace the C routines I wrote using AltiVec intrinsics, which will be removed from our hacked NSPR libc source code once his versions stick. Unfortunately, we continue to accumulate difficult-to-solve JavaScript bugs. The newest one is issue 541, which affects Github most severely and is hampering my ability to use the G5 to work in the interface. This one could be temporarily repaired with some ugly hacks and I'm planning to look into that for FPR13, but I don't have this proposed fix in FPR12 since it could cause parser regressions and more testing is definitely required. However, the definitive fix is the same one needed for the frustrating issue 533, i.e., the new frontend bindings introduced with Firefox 51. I don't know if I can do that backport (both with respect to the technical issues and the sheer amount of time required) but it's increasingly looking like it's necessary for full functionality and it may be more than I can personally manage. read more

LibreOffice: First Quarter Without Work For TDF, Mohamed Trabelsi and Jim Raykowski, Report on the New LIbreOffice Help Pages Online Editor

2019-01-14 22:58:12

First Quarter Without Work For TDF I did pour volunteer work for LibreOffice and its antecessor for about sixteen years. I worked in different roles for the open source project during this long periode. The project consumed a lot of my spare time. But then I experienced a ‘nice’ communication experience inside the community, that showed me a lack of respect for my project work, its value and also for my person. Thus I decided to completely stop my pour volunteer work within the project three month ago. The LibreOffice extensions and templates website (extensions.libreoffice.org) lost its maintainer and project reviewer since that time. Community Member Monday: Mohamed Trabelsi and Jim Raykowski I’ve been living in Kobe, Japan for three years now. I was Master student at Kobe Institute of Computing for two years, then I did internship for six months at iCRAFT Corp, a Japanese IT company in Kobe. And now I work as a Network Engineer at the same company. Outside of work, I’m usually playing soccer, watching movies, traveling around Japan with some friends and family, and going for some volunteering activities nearby. Report on the New LIbreOffice Help Pages Online Editor The Javascript editor used is CodeMirror and was carefully selected by Mike Saunders who also set the initial confguration for working with XML and our XML dialect XHP, as well as configured the autocompletion features. The XHP snippets were originally designed for the KDE Kate editor and ported to the online editor. read more

React Hooks in 5 Minutes!

2019-01-14 20:55:03

React’s Hooks in 5 Minutes!

2019-01-14 20:55:03

Discovering Hexo: E-Commerce with Node.js Blog Framework

2019-01-14 20:52:59

10 technology trends you should be worried about this year

2019-01-14 20:04:15

While businesses are looking for the latest and greatest technology trends to hop on this year, Microsoft is trying to look at the bigger picture. The company’s president and CLO Brad Smith released his top 10 technology developments for 2019 as well as the societal impact the developments will have. “It was a momentous year … continue reading The post 10 technology trends you should be worried about this year appeared first on SD Times.

I've renamed ProgURLs to DevURLs

2019-01-14 19:45:06

Collective #483

2019-01-14 19:41:35

The Flexbox Holy Albatross * destyle.css * Conversations with Robots * 2018 JavaScript Rising Stars Collective #483 was written by Pedro Botelho and published on Codrops.

JETCO Launches Hong Kong-based Open Banking API Exchange

2019-01-14 18:44:04

Hong Kong-based Joint Electronic Tellers Services Limited (JETCO), a cross-bank ATM service, announced the launch of the JETCO APIX exchange platform. The platform provides access to over 200 APIs from 13 banks. The APIs include banking services such as deposit, Forex, loans, investment, insurance, safe deposit box, branch, ATM and more.

Google Kills Webmaster Central Comments

2019-01-14 18:38:33

This isn't "big" news but it is ironic. Google has few enough ways of engaging with the public - could it be that closing down comments is just another way to avoid having to deal with complaints and questions? Read more...

GoDaddy is Injecting Site-Breaking JavaScript Into Customer Websites

2019-01-14 18:25:00

Web hosting service GoDaddy is injecting JavaScript into customer websites that could impact the overall performance of the website or even render it inoperable, according to Australian programmer Igor Kromin. From a report: GoDaddy's analytics system is based on W3C Navigation Timing, but the company's practice of unilaterally opting in paying customers to an analytics service -- tracking the visitors to websites hosted on GoDaddy services -- without forewarning is deserving of criticism. GoDaddy claims the technology, which it calls "Real User Metrics" (RUM), "[allows] us to identify internal bottlenecks and optimization opportunities by inserting a small snippet of javascript code into customer websites," that will "measure and track the performance of your website, and collects information such as connection time and page load time," adding that the script does not collect user information. The script name "Real User Metrics" is somewhat at odds with that claim; likewise, GoDaddy provides no definition of "user information." GoDaddy claims "most customers won't experience issues when opted-in to RUM, but the JavaScript used may cause issues including slower site performance, or a broken/inoperable website," particularly for users of Accelerated Mobile Pages (AMP), and websites with pages containing multiple ending tags. Read more of this story at Slashdot.

How LinkedIn Uses Data to Improve Video Performance

2019-01-14 18:07:00

At LinkedIn, we use data to improve our members’ experiences while using our site. On the video team, we value metrics that yield insight on how long our videos take to load, why certain videos draw more attention than others, and how our members tend to interact with videos across web, iOS, and Android. In short, the various data points collected during video playback on LinkedIn are leveraged to drive powerful improvements in video performance. Technical terms This post will make mention of the following terms, defined below for your convenience: Iframe: An element that can render […]

How to Make Your Python Workers Scale Dynamically

2019-01-14 18:01:03

We’ve recently had an interesting opportunity to experiment with deploying modern Python workers at Rainforest. We used to host most of our stack on Heroku[1], but it was not a good fit for this particular use case. This post explains the challenge we were facing and how we solved it, while also mentioning a bunch of cool tools that make development and deployment much less painful than it was a few years ago. Dynamic Scaling for Python Workers So what was our task? We wanted to run Python workers, each for some time between a few minutes and a few hours. We also wanted to have the flexibility to support thousands of workers running simultaneously during high-traffic periods without paying for the infrastructure in times of low demand – basically dynamic scaling. When you’re used to building web applications, where a request taking more than 1s is considered bad and your demand is a little more constant, you have to slightly change your perspective and probably the tools you’re using. Heroku can work great for some things, but dynamic scaling is not really one of them (things like HireFire can help, but we found that we wanted a bit more flexibility).

Structure of a Go Program

2019-01-14 18:01:02

Every single programming language has got its own syntax or structure, it’s own flavor, and that’s what makes it standout. Go is no different. It’s easy and elegant in its own way, making to it fun to play with. In this article we will be talking about: A Go program structure. Running a Go program. Comments in Go. Semicolons. Revisiting the code. Go Program Structure To understand a Go program's structure, we need to have a Go program first, so let’s revisit our favorite Hello, World! program.

Android Studio 3.2 Development Essentials (Payload Media)

2019-01-14 17:54:28

Subtitled 'Developing Android 9 Apps Using Android Studio 3.2, Java and Android Jetpack', this edition has been fully updated for Android Studio 3.2, Android 9 and Android Jetpack. The goal of this book is to teach the skills necessary to develop Android-based applications using the Java programming language. Author Neil Smyth begins with the basics, providing an outline of the steps necessary to set up an Android development and testing environment.. <ASIN:0960010947> Read more...

Amazon Ditches MongoDB, Launches Rival

2019-01-14 17:47:05

Amazon has launched a database that's compatible with the MongoDB API, but doesn't use any MongoDB code. The move is being seen as a counter-move to MongoDB's attempt to make Amazon pay up for using its open source software. Read more...

How the right team organization helps to survive a microservices-based project

2019-01-14 17:22:08

The work on a microservices project is always stressful. Such projects introduce larger data sets, faster update rates, more requests, more failures, more latency challenges, more service interdependencies, more developers, more documentation, more servers, more networks, more databases.   Yet, all that doesn’t mean you should avoid microsevices-based projects. The right organization of your team … continue reading The post How the right team organization helps to survive a microservices-based project appeared first on SD Times.

6 Java Web Frameworks to Build Scalable Applications

2019-01-14 16:53:44

We usually don’t think of Java as a language for creating web applications, but there are actually several high-quality Java web frameworks that are worth considering. The Java Virtual Machine is a solid platform that makes it possible to follow … Continue reading →

Choosing The Right R Book

2019-01-14 16:02:04

In a decade of reviews, I Programmer's book reviewers have read and commented on over 1500 programming titles. That's only a fraction of the programming books published, but we try to cover the important ones. In Programmer's Bookshelf we recommend the books you might find helpful at different stages in your personal development. Read more...