Tech_Uncensored Podcast

Paul Sherer and Nick Kaufmann
Tech_Uncensored Podcast Podcast

Paul and Nick discuss weekly topics about Technology, IoT, software design and applications.

  1. 23/05/2018

    Webpack 4 NodeJS

    This weeks episode dives in to Webpack 4 release, how EASY it is, and what you can do to get started. https://github.com/webpack/webpack example: const path = require('path') const webpack = require('webpack') const HtmlWebpackPlugin = require('html-webpack-plugin') const CompressionPlugin = require('compression-webpack-plugin') const ExtractTextPlugin = require('extract-text-webpack-plugin') const CleanWebpackPlugin = require('clean-webpack-plugin') const PATHS = { app: path.join(__dirname, 'src'), dist: path.join(__dirname, 'dist'), }; mode: "production", module.exports = { devtool: "source-map", entry: { app: PATHS.app }, output: { path: PATHS.dist, filename: "[name].js", publicPath: "/" }, devServer: { open: true, compress: true, historyApiFallback: true, contentBase: "dist" }, module: { rules: [ { test: /\.jsx?$/, exclude: /node_modules/, use: ["babel-loader"] }, { test: /\.css$/, exclude: /node_modules/, use: ExtractTextPlugin.extract({ fallback: "style-loader", // Could also be write as follow: // use: 'css-loader?modules&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader' use: [ { loader: "css-loader", query: { modules: true, localIdentName: "[name]__[local]___[hash:base64:5]" } }, "postcss-loader" ] }) }, { test: /\.scss$/, use: ExtractTextPlugin.extract({ fallback: "style-loader", use: ["css-loader", "sass-loader"] }) }, { test: /\.(png|jpe?g|gif|svg|ttf|eot|woff|woff2)$/, use: [ { loader: "file-loader", options: { // path where the images will be saved name: "assets/[name].[ext]" } }, { loader: "image-webpack-loader", options: { mozjpeg: { quality: 65 }, pngquant: { quality: "10-20", speed: 4 }, svgo: { plugins: [ { removeViewBox: false }, { removeEmptyAttrs: false } ] }, gifsicle: { optimizationLevel: 7, interlaced: false }, optipng: { optimizationLevel: 7, interlaced: false } } } ] } ] }, plugins: [ new CleanWebpackPlugin([PATHS.dist]), new HtmlWebpackPlugin({ template: path.resolve(__dirname, "src/public", "index.html"), favicon: "src/public/images/fav.png", minify: { collapseWhitespace: true, collapseInlineTagWhitespace: true, removeComments: true, removeRedundantAttributes: true } }), new ExtractTextPlugin({ filename: "[name].css", disable: false, allChunks: true }), new UglifyJSPlugin({ uglifyOptions: { ie8: false, ecma: 8, compress: { warnings: false, drop_console: true }, output: { comments: false, beautify: false }, warnings: false } }), new webpack.optimize.AggressiveMergingPlugin(), //Merge chunks new CompressionPlugin({ asset: "[path].gz[query]", algorithm: "gzip", test: /\.js$|\.css$|\.html$/, threshold: 10240, minRatio: 0.8 }), new CopyWebpackPlugin([ { from: PATHS.app + "/public/static", to: PATHS.dist }, // Copy everything from src/public/static to dist folder // { from: require.resolve("workbox-sw"), to: "workbox-sw.prod.js" } ]), // new WorkboxPlugin({ // globDirectory: "./dist/", // globPatterns: ["**/*.{html,js,css,png,jpg}"], // swSrc: "./src/client/sw.js", // swDest: "./dist/service-worker.js" // }) ] }

  2. 02/05/2018

    Tech_News (5/2/2018)

    Face Book news by TRUST? Facebook CLEAR HISTORY (Post at bottom) Facebook Dating APP? Youtube getting $$ for ads that promote kids to cheat in school?? Jupyter receives ACM award! Jupyter site ivelope GraphQL learning with JSON GCC 8.1 released! gVisor released from Google Digital Ocean introduces Kubernetes product Learn how to stand out as a web-dev Mysterious CABINETS? Tech_Uncensored now on iTunes! (From FB Mark Zuckerberg...) --Today at our F8 conference I'm going to discuss a new privacy control we're building called "Clear History". In your web browser, you have a simple way to clear your cookies and history. The idea is a lot of sites need cookies to work, but you should still be able to flush your history whenever you want. We're building a version of this for Facebook too. It will be a simple control to clear your browsing history on Facebook -- what you've clicked on, websites you've visited, and so on. We're starting with something a lot of people have asked about recently: the information we see from websites and apps that use Facebook's ads and analytics tools. Once we roll out this update, you'll be able to see information about the apps and websites you've interacted with, and you'll be able to clear this information from your account. You'll even be able to turn off having this information stored with your account. To be clear, when you clear your cookies in your browser, it can make parts of your experience worse. You may have to sign back in to every website, and you may have to reconfigure things. The same will be true here. Your Facebook won't be as good while it relearns your preferences. But after going through our systems, this is an example of the kind of control we think you should have. It's something privacy advocates have been asking for -- and we will work with them to make sure we get it right. One thing I learned from my experience testifying in Congress is that I didn't have clear enough answers to some of the questions about data. We're working to make sure these controls are clear, and we will have more to come soon.--

About

Paul and Nick discuss weekly topics about Technology, IoT, software design and applications.

To listen to explicit episodes, sign in.

Stay up to date with this show

Sign in or sign up to follow shows, save episodes and get the latest updates.

Select a country or region

Africa, Middle East, and India

Asia Pacific

Europe

Latin America and the Caribbean

The United States and Canada