diff --git a/content/blog/2015-04-16-function-two-points-theory.md b/content/blog/2015-04-16-function-two-points-theory.md index 846f3ae..57fdab6 100644 --- a/content/blog/2015-04-16-function-two-points-theory.md +++ b/content/blog/2015-04-16-function-two-points-theory.md @@ -3,15 +3,9 @@ id: 65 title: Math Theory for Function Between Two Points date: 2015-04-16T22:15:21+00:00 author: Brandon Rozek -layout: post -guid: http://brandonrozek.com/?p=65 permalink: /2015/04/function-two-points-theory/ medium_post: - 'O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";N;s:2:"id";N;s:21:"follower_notification";N;s:7:"license";N;s:14:"publication_id";N;s:6:"status";N;s:3:"url";N;}' -tumblr_post_id: - - "138122079174" -kind: - - note --- diff --git a/content/blog/2015-04-16-responsive-layout-and-animation.md b/content/blog/2015-04-16-responsive-layout-and-animation.md index 5a4a0a4..a3fd177 100644 --- a/content/blog/2015-04-16-responsive-layout-and-animation.md +++ b/content/blog/2015-04-16-responsive-layout-and-animation.md @@ -3,8 +3,6 @@ id: 57 title: Responsive Layout and Animation date: 2015-04-16T22:19:36+00:00 author: Brandon Rozek -layout: post -guid: http://brandonrozek.com/?p=57 aliases: - /2015/04/responsive-layout-and-animation/ permalink: /2015/04/responsive-layout-and-animation/ @@ -18,11 +16,6 @@ dsq_thread_id: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135656876494" - - "135656876494" -kind: - - article tags: ["Web", "CSS"] --- I saw [Mike Riethmuller’s](http://madebymike.com.au/) precision typography [pen](http://codepen.io/MadeByMike/pen/YPJJYv){.broken_link}, and was highly impressed. I think the equation used has other purposes as well diff --git a/content/blog/2015-05-23-animatable-border.md b/content/blog/2015-05-23-animatable-border.md index e1df4cd..f10e44e 100644 --- a/content/blog/2015-05-23-animatable-border.md +++ b/content/blog/2015-05-23-animatable-border.md @@ -13,14 +13,9 @@ medium_post: dsq_thread_id: - "3807156267" - "3807156267" -tumblr_post_id: - - "135657818649" - - "135657818649" mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -kind: - - article tags: ["Web", "CSS"] --- This is part 1 of an animation series I’m doing. It is inspired by Lea Verou’s talk called “[The Humble Border-Radius.](https://www.youtube.com/watch?v=JSaMl2OKjfQ)” I looked at her site and she has a good demo of a bunch of different animations [here](http://lea.verou.me/2011/10/animatable-a-css-transitions-gallery/). My goal here is to create a more comprehensive guide to these different animatable properties–mainly for future reference. Animations play a big part in adding interactivity to the web, so why not explore some possible options? diff --git a/content/blog/2015-09-14-animatable-box-model.md b/content/blog/2015-09-14-animatable-box-model.md index 621016e..3fe0a56 100644 --- a/content/blog/2015-09-14-animatable-box-model.md +++ b/content/blog/2015-09-14-animatable-box-model.md @@ -3,8 +3,6 @@ id: 155 title: 'Animatable: Box Model' date: 2015-09-14T12:07:52+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=155 aliases: - /2015/09/animatable-box-model/ permalink: /2015/09/animatable-box-model/ @@ -18,11 +16,6 @@ dsq_thread_id: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657238924" - - "135657238924" -kind: - - article tags: ["Web", "CSS"] --- This post is part 2 of an animation series I am doing; you can read part 1 [here](https://brandonrozek.com/2015/05/animatable-border/). In this post, we’ll look at the different parts of the box model (margin, padding, height, and width) and see how they can be animated. diff --git a/content/blog/2015-10-03-animatable-location.md b/content/blog/2015-10-03-animatable-location.md index 1c0d63f..6c8bf1c 100644 --- a/content/blog/2015-10-03-animatable-location.md +++ b/content/blog/2015-10-03-animatable-location.md @@ -4,7 +4,6 @@ title: 'Animatable: Location' date: 2015-10-03T09:34:08+00:00 author: Brandon Rozek layout: post -guid: https://brandonrozek.com/?p=190 aliases: - /2015/10/animatable-location/ permalink: /2015/10/animatable-location/ @@ -18,11 +17,6 @@ dsq_thread_id: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657326384" - - "135657326384" -kind: - - article tags: ["Web", "CSS"] --- Animating the location of objects is one of the most common types of animation. It’s interesting to animate this way because you need to keep in mind how each of the element’s interact with each other to constitute a page. diff --git a/content/blog/2015-10-03-animatable-text.md b/content/blog/2015-10-03-animatable-text.md index 0d6b35b..087d591 100644 --- a/content/blog/2015-10-03-animatable-text.md +++ b/content/blog/2015-10-03-animatable-text.md @@ -3,8 +3,6 @@ id: 148 title: 'Animatable: Text' date: 2015-10-03T08:44:51+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=148 aliases: - /2015/10/animatable-text/ permalink: /2015/10/animatable-text/ @@ -15,9 +13,6 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657083469" - - "135657083469" kind: - article tags: ["Web", "CSS"] diff --git a/content/blog/2015-10-04-html-css-javascript-link-together.md b/content/blog/2015-10-04-html-css-javascript-link-together.md index 35a37e3..7510976 100644 --- a/content/blog/2015-10-04-html-css-javascript-link-together.md +++ b/content/blog/2015-10-04-html-css-javascript-link-together.md @@ -3,8 +3,6 @@ id: 210 title: HTML, CSS, Javascript, and how they all link together date: 2015-10-04T17:50:50+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=210 aliases: - /2015/10/html-css-javascript-link-together/ permalink: /2015/10/html-css-javascript-link-together/ @@ -18,11 +16,6 @@ dsq_thread_id: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657370214" - - "135657370214" -kind: - - article tags: ["Web"] --- I’ve been teaching a small class on web development recently, and after my first lecture, I’ve gained a newfound respect for teachers. Teaching didn’t come as naturally to me as I would have imagined. I tried going in prepared: with a few outlines and a few code demos. Instead of letting my preparation go to waste, I decided to share them here with you on my site. It’s a nice break from the Animatable posts, so I hope you enjoy! diff --git a/content/blog/2015-10-10-javascript-data-types.md b/content/blog/2015-10-10-javascript-data-types.md index 9035ef9..a3354f0 100644 --- a/content/blog/2015-10-10-javascript-data-types.md +++ b/content/blog/2015-10-10-javascript-data-types.md @@ -3,8 +3,6 @@ id: 238 title: Javascript Data Types date: 2015-10-10T20:01:20+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=238 aliases: - /2015/10/javascript-data-types/ permalink: /2015/10/javascript-data-types/ @@ -18,11 +16,6 @@ dsq_thread_id: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657462089" - - "135657462089" -kind: - - article tags: ["Web", "JS"] --- Javascript has multiple ways you can store your data. Each of these different ways is called a data type, and they each carry different “methods” which are helpful commands. Today, I’ll show you the different data types and methods that I use and how they’re useful. diff --git a/content/blog/2015-10-11-animatable-visual.md b/content/blog/2015-10-11-animatable-visual.md index 7f8b9ba..899ed12 100644 --- a/content/blog/2015-10-11-animatable-visual.md +++ b/content/blog/2015-10-11-animatable-visual.md @@ -3,8 +3,6 @@ id: 297 title: 'Animatable: Visual' date: 2015-10-11T16:52:36+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=297 aliases: - /2015/10/animatable-visual/ permalink: /2015/10/animatable-visual/ @@ -12,14 +10,9 @@ medium_post: - 'O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";N;s:2:"id";N;s:21:"follower_notification";N;s:7:"license";N;s:14:"publication_id";N;s:6:"status";N;s:3:"url";N;}' - 'O:11:"Medium_Post":11:{s:16:"author_image_url";s:74:"https://cdn-images-1.medium.com/fit/c/200/200/1*dmbNkD5D-u45r44go_cf0g.png";s:10:"author_url";s:32:"https://medium.com/@brandonrozek";s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";s:2:"no";s:2:"id";s:12:"c1119f67e27a";s:21:"follower_notification";s:2:"no";s:7:"license";s:19:"all-rights-reserved";s:14:"publication_id";s:2:"-1";s:6:"status";s:6:"public";s:3:"url";s:63:"https://medium.com/@brandonrozek/animatable-visual-c1119f67e27a";}' - 'O:11:"Medium_Post":11:{s:16:"author_image_url";s:74:"https://cdn-images-1.medium.com/fit/c/200/200/1*dmbNkD5D-u45r44go_cf0g.png";s:10:"author_url";s:32:"https://medium.com/@brandonrozek";s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";s:2:"no";s:2:"id";s:12:"c1119f67e27a";s:21:"follower_notification";s:2:"no";s:7:"license";s:19:"all-rights-reserved";s:14:"publication_id";s:2:"-1";s:6:"status";s:6:"public";s:3:"url";s:63:"https://medium.com/@brandonrozek/animatable-visual-c1119f67e27a";}' -tumblr_post_id: - - "135657496179" - - "135657496179" mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -kind: - - article tags: ["Web", "CSS"] --- Hello everyone! This is part 5 of my series on animation. Today’s post will be short, since we’re only going to talk about color and opacity. diff --git a/content/blog/2015-10-18-animatable-transform.md b/content/blog/2015-10-18-animatable-transform.md index 249d6fb..9128f12 100644 --- a/content/blog/2015-10-18-animatable-transform.md +++ b/content/blog/2015-10-18-animatable-transform.md @@ -3,8 +3,6 @@ id: 337 title: 'Animatable: Transform' date: 2015-10-18T16:32:37+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=337 aliases: - /2015/10/animatable-transform/ permalink: /2015/10/animatable-transform/ @@ -15,11 +13,6 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657540174" - - "135657540174" -kind: - - article tags: ["Web", "CSS"] --- This is the last post of the animatable series. The grand finale. Here, we will talk about the transform property. It’s only one property but it comes with a lot of goodies in the form of transform-functions. diff --git a/content/blog/2015-10-18-javascript-conditional-statements.md b/content/blog/2015-10-18-javascript-conditional-statements.md index 4fd3b63..b412eb1 100644 --- a/content/blog/2015-10-18-javascript-conditional-statements.md +++ b/content/blog/2015-10-18-javascript-conditional-statements.md @@ -3,8 +3,6 @@ id: 344 title: Javascript Conditional Statements date: 2015-10-18T18:30:21+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=344 aliases: - /2015/10/javascript-conditional-statements/ permalink: /2015/10/javascript-conditional-statements/ @@ -18,11 +16,6 @@ dsq_thread_id: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657634939" - - "135657634939" -kind: - - article tags: ["Web", "JS"] --- Javascript, like most other programming languages, include ways to run blocks of code when something meets a condition. Here, I will describe the most common ways to do so. diff --git a/content/blog/2015-10-25-functions.md b/content/blog/2015-10-25-functions.md index 61a44ac..ef9934a 100644 --- a/content/blog/2015-10-25-functions.md +++ b/content/blog/2015-10-25-functions.md @@ -3,8 +3,6 @@ id: 350 title: Functions in Javascript date: 2015-10-25T13:48:41+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=350 aliases: - /2015/10/functions/ permalink: /2015/10/functions/ @@ -15,11 +13,6 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657661534" - - "135657661534" -kind: - - article tags: ["Web", "JS"] --- Ever had a snippet of code that appears multiple times in different places in your program? Whenever you had to change that snippet, you end up playing this game of search and replace. Functions can help. They exist to abstract your code, making it not only easier to change that little snippet, but to read and debug your code as well. diff --git a/content/blog/2015-11-14-service-workers.md b/content/blog/2015-11-14-service-workers.md index 5a4b341..23e296e 100644 --- a/content/blog/2015-11-14-service-workers.md +++ b/content/blog/2015-11-14-service-workers.md @@ -3,8 +3,6 @@ id: 400 title: An Offline Experience with Service Workers date: 2015-11-14T15:47:06+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=400 aliases: - /2015/11/service-workers/ permalink: /2015/11/service-workers/ @@ -15,11 +13,6 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657690564" - - "135657690564" -kind: - - article tags: ["Web", "JS"] --- I’m excited to say that I’ve written my first service worker for brandonrozek.com. What is a service worker? A service worker provides an extra layer between the client and the server. The exciting part about this is that you can use service workers to deliver an offline experience. (Cached versions of your site, offline pages, etc.) diff --git a/content/blog/2015-11-15-fractions-js.md b/content/blog/2015-11-15-fractions-js.md index c44313b..ccb738a 100644 --- a/content/blog/2015-11-15-fractions-js.md +++ b/content/blog/2015-11-15-fractions-js.md @@ -3,8 +3,6 @@ id: 398 title: Math with Fractions.js date: 2015-11-15T12:46:14+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=398 aliases: - /2015/11/fractions-js/ permalink: /2015/11/fractions-js/ @@ -15,11 +13,6 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657739439" - - "135657739439" -kind: - - article tags: ["JS"] --- Last week I published my first library over on Github called [Fractions.js](https://github.com/brandonrozek/Fractions.js). Fractions.js is a library to help avoid the [mathmatetical errors](http://floating-point-gui.de/) in floating point arithmetic. What do you mean by floating point artihmetic errors? Here is an example: .1 * .2 outputs 0.020000000000000004 even though the correct answer is .02 diff --git a/content/blog/2015-11-30-limiting-cache-service-workers-revisited3.md b/content/blog/2015-11-30-limiting-cache-service-workers-revisited3.md index 104007f..f305e32 100644 --- a/content/blog/2015-11-30-limiting-cache-service-workers-revisited3.md +++ b/content/blog/2015-11-30-limiting-cache-service-workers-revisited3.md @@ -3,8 +3,6 @@ id: 449 title: Limiting the Cache in Service Workers Revisited date: 2015-11-30T00:34:15+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=449 aliases: - /2015/11/limiting-cache-service-workers-revisited/ - /2015/11/limiting-cache-service-workers-revisited1/ @@ -18,11 +16,6 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135657767639" - - "135657767639" -tumblr_crosspostr_crosspost: - - 'N' kind: - article tags: ["Web", "JS"] diff --git a/content/blog/2015-12-22-playing-with-qr-codes.md b/content/blog/2015-12-22-playing-with-qr-codes.md index 18473e6..bdd4e6d 100644 --- a/content/blog/2015-12-22-playing-with-qr-codes.md +++ b/content/blog/2015-12-22-playing-with-qr-codes.md @@ -3,8 +3,6 @@ id: 572 title: Playing with QR Codes date: 2015-12-22T15:13:44+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=572 aliases: - /2015/12/playing-with-qr-codes/ permalink: /2015/12/playing-with-qr-codes/ @@ -15,15 +13,10 @@ medium_post: mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "135727537264" - - "135727537264" bridgy_syndication: - | https://twitter.com/B_RozekJournal/status/790337750280970241 -kind: - - article --- Looking at Aaron Parecki’s [“Fun with QR Codes”](https://aaronparecki.com/articles/2015/10/05/1/fun-with-qr-codes) inspired me to play with QR Codes myself. Using the tool [QArt Coder](http://research.swtch.com/qr/draw) made by [Russ Cox](https://plus.google.com/116810148281701144465), I made a QR Code with my face in it! diff --git a/content/blog/2015-12-27-creating-vcards-from-h-cards.md b/content/blog/2015-12-27-creating-vcards-from-h-cards.md index cb352f6..26b0c61 100644 --- a/content/blog/2015-12-27-creating-vcards-from-h-cards.md +++ b/content/blog/2015-12-27-creating-vcards-from-h-cards.md @@ -3,8 +3,6 @@ id: 599 title: Creating vCards from h-cards date: 2015-12-27T15:17:12+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=599 aliases: - /2015/12/creating-vcards-from-h-cards/ permalink: /2015/12/creating-vcards-from-h-cards/ @@ -13,10 +11,6 @@ medium_post: - 'O:11:"Medium_Post":11:{s:16:"author_image_url";s:74:"https://cdn-images-1.medium.com/fit/c/200/200/1*dmbNkD5D-u45r44go_cf0g.png";s:10:"author_url";s:32:"https://medium.com/@brandonrozek";s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";s:2:"no";s:2:"id";s:12:"9eab6bd8e0e4";s:21:"follower_notification";s:3:"yes";s:7:"license";s:19:"all-rights-reserved";s:14:"publication_id";s:2:"-1";s:6:"status";s:6:"public";s:3:"url";s:74:"https://medium.com/@brandonrozek/creating-vcards-from-h-cards-9eab6bd8e0e4";}' mf2_cite: - 'a:1:{s:6:"author";a:0:{}}' -tumblr_post_id: - - "136059699334" -kind: - - article tags: ["Web"] --- Microformats is semantic HTML used to convey metadata. Using an userscript, I can generate a vCard from the representative h-card of the page. The code for this is on this gist [here.](https://gist.github.com/brandonrozek/e0153b2733e947fa9c87) diff --git a/content/blog/2016-08-16-pass-password-manager.md b/content/blog/2016-08-16-pass-password-manager.md index d37a8a7..99e35fd 100644 --- a/content/blog/2016-08-16-pass-password-manager.md +++ b/content/blog/2016-08-16-pass-password-manager.md @@ -3,8 +3,6 @@ id: 919 title: Pass the password manager date: 2016-08-16T23:37:09+00:00 author: Brandon Rozek -layout: post -guid: http://brandonrozek.com/?p=919 aliases: - /2016/08/pass-password-manager/ permalink: /2016/08/pass-password-manager/ @@ -12,16 +10,10 @@ medium_post: - 'O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";s:2:"no";s:2:"id";N;s:21:"follower_notification";s:3:"yes";s:7:"license";s:19:"all-rights-reserved";s:14:"publication_id";s:2:"-1";s:6:"status";s:4:"none";s:3:"url";N;}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "149056904199" bridgy_syndication: - https://twitter.com/B_RozekJournal/status/790336614866100224 -tumblr_crosspostr_crosspost: - - 'N' mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' -kind: - - note tags: ["Security"] --- Looking over the list of programs installed on my computer, one of my all time favorites is a program called [Pass](https://www.passwordstore.org/). It’s a program available under most Linux distributions, Mac OS X (through [Brew](http://brew.sh/)), [Windows](https://github.com/mbos/Pass4Win), [Android](https://play.google.com/store/apps/details?id=com.zeapo.pwdstore), and [iOS](https://github.com/davidjb/pass-ios#readme). It stores all of the passwords using gpg encryption and stores them as actual files on the hard disk. Meaning if you wanted, you can sync them to all your devices! diff --git a/content/blog/2017-03-07-knit-document-rstudio.md b/content/blog/2017-03-07-knit-document-rstudio.md index b8433d3..3854aae 100644 --- a/content/blog/2017-03-07-knit-document-rstudio.md +++ b/content/blog/2017-03-07-knit-document-rstudio.md @@ -3,8 +3,6 @@ id: 2090 title: Knit a Document in RStudio date: 2017-03-07T04:29:50+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2090 aliases: - /2017/03/knit-document-rstudio/ permalink: /2017/03/knit-document-rstudio/ @@ -14,11 +12,7 @@ mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "158095811719" format: aside -kind: - - note tags: ["R"] --- In case you were wondering how I got all the R code and output for the [“Do females live longer than males?”](https://brandonrozek.com/portfolio/male-vs-female-life-expectancy/) page. There is actually a function in RStudio that allows one to compile a report based on code and it’s output. diff --git a/content/blog/2017-03-07-uniformity-math-random.md b/content/blog/2017-03-07-uniformity-math-random.md index 1e826d6..bb6bf64 100644 --- a/content/blog/2017-03-07-uniformity-math-random.md +++ b/content/blog/2017-03-07-uniformity-math-random.md @@ -3,8 +3,6 @@ id: 2095 title: Uniformity of Math.random() date: 2017-03-07T21:50:52+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2095 aliases: - /2017/03/uniformity-math-random/ permalink: /2017/03/uniformity-math-random/ @@ -14,11 +12,7 @@ mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "158123669889" format: aside -kind: - - note tags: ["Statistics"] --- There are many cases where websites use random number generators to influence some sort of page behavior. One test to ensure the quality of a random number generator is to see if after many cases, the numbers produced follow a uniform distribution. diff --git a/content/blog/2017-03-09-simplifying-expressions-octave.md b/content/blog/2017-03-09-simplifying-expressions-octave.md index be029ba..58661a3 100644 --- a/content/blog/2017-03-09-simplifying-expressions-octave.md +++ b/content/blog/2017-03-09-simplifying-expressions-octave.md @@ -3,8 +3,6 @@ id: 2115 title: Simplifying Expressions with Octave date: 2017-03-09T02:09:58+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2115 aliases: - /2017/03/simplifying-expressions-octave/ permalink: /2017/03/simplifying-expressions-octave/ @@ -14,13 +12,9 @@ mf2_syndicate-to: - 'a:1:{i:0;s:22:"bridgy-publish_twitter";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "158172999969" mf2_syndication: - 'a:1:{i:0;s:60:"https://twitter.com/B_RozekJournal/status/839659534146801665";}' format: aside -kind: - - note --- Octave is a high level programming language intended for numerical computations. One of the cool features of this is that with symbolic expressions, you can then simplify mathematical expressions. diff --git a/content/blog/2017-03-14-monte-carlo-pi.md b/content/blog/2017-03-14-monte-carlo-pi.md index 3c0c42b..b947da6 100644 --- a/content/blog/2017-03-14-monte-carlo-pi.md +++ b/content/blog/2017-03-14-monte-carlo-pi.md @@ -3,15 +3,11 @@ id: 2089 title: Approximate Pi using a Monte Carlo Simulation date: 2017-03-14T05:31:21+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2089 aliases: - /2017/03/monte-carlo-pi/ permalink: /2017/03/monte-carlo-pi/ medium_post: - 'O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";N;s:2:"id";N;s:21:"follower_notification";N;s:7:"license";N;s:14:"publication_id";N;s:6:"status";N;s:3:"url";N;}' -tumblr_post_id: - - "158383170019" mf2_syndicate-to: - 'a:1:{i:0;s:22:"bridgy-publish_twitter";}' mf2_cite: @@ -19,8 +15,6 @@ mf2_cite: mf2_syndication: - 'a:1:{i:0;s:60:"https://twitter.com/B_RozekJournal/status/841522141346570244";}' format: aside -kind: - - note tags: ["Math", "Java"] math: true --- diff --git a/content/blog/2017-05-24-viewing-java-applets.md b/content/blog/2017-05-24-viewing-java-applets.md index 497a243..a370290 100644 --- a/content/blog/2017-05-24-viewing-java-applets.md +++ b/content/blog/2017-05-24-viewing-java-applets.md @@ -3,8 +3,6 @@ id: 2174 title: Viewing Java Applets date: 2017-05-24T15:59:45+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2174 aliases: - /2017/05/viewing-java-applets/ permalink: /2017/05/viewing-java-applets/ @@ -14,12 +12,8 @@ mf2_syndicate-to: - 'a:1:{i:0;s:22:"bridgy-publish_twitter";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "161024360884" mf2_syndication: - 'a:1:{i:0;s:60:"https://twitter.com/B_RozekJournal/status/867409810932760576";}' -kind: - - article tags: ["Java"] --- When you use an IDE there are many things you can take for granted. A section of an intro level computer science course at my university uses [JGrasp](http://www.jgrasp.org/) to build Java Applets. diff --git a/content/blog/2017-06-05-java-swing-components.md b/content/blog/2017-06-05-java-swing-components.md index de0be46..665610f 100644 --- a/content/blog/2017-06-05-java-swing-components.md +++ b/content/blog/2017-06-05-java-swing-components.md @@ -3,8 +3,6 @@ id: 2198 title: Java Swing Components date: 2017-06-05T23:30:18+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2198 aliases: - /2017/06/java-swing-components/ permalink: /2017/06/java-swing-components/ @@ -14,10 +12,6 @@ mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "161484582559" -kind: - - article tags: ["Java"] --- This post, over time, will serve as a reference to myself and others of the different UI components available in the Swing library. This post assumes a general familiarity with setting up a basic Swing application and focuses only on the individual components. diff --git a/content/blog/2017-06-05-using-system-themes-java-swing.md b/content/blog/2017-06-05-using-system-themes-java-swing.md index d63b80e..37c0409 100644 --- a/content/blog/2017-06-05-using-system-themes-java-swing.md +++ b/content/blog/2017-06-05-using-system-themes-java-swing.md @@ -3,8 +3,6 @@ id: 2192 title: Using System Themes In Java Swing date: 2017-06-05T20:36:22+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2192 aliases: - /2017/06/using-system-themes-java-swing/ permalink: /2017/06/using-system-themes-java-swing/ @@ -14,12 +12,8 @@ mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "161478693279" mf2_syndication: - 'a:1:{i:0;s:60:"https://twitter.com/B_RozekJournal/status/871828083459936257";}' -kind: - - article tags: ["Java"] --- The default theme for Java Swing components is a cross-platform theme called “Metal”. I use the Adapta theme for GTK on Linux and this theme does not match at all what my other GUI applications look like. So here, I will describe a simple way to utlize already existent system themes in Java Swing applications. diff --git a/content/blog/2017-08-28-escape-sequences-java.md b/content/blog/2017-08-28-escape-sequences-java.md index c026c18..d405728 100644 --- a/content/blog/2017-08-28-escape-sequences-java.md +++ b/content/blog/2017-08-28-escape-sequences-java.md @@ -3,8 +3,6 @@ id: 2236 title: Escape Sequences in Java date: 2017-08-28T17:12:00+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2236 aliases: - /2017/08/escape-sequences-java/ permalink: /2017/08/escape-sequences-java/ @@ -14,12 +12,6 @@ mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "164716848139" -tumblr_crosspostr_crosspost: - - 'N' -kind: - - note tags: ["Java"] --- Sometimes you want to format your outputs. This is a quick cheatsheet containing the differerent escape sequences diff --git a/content/blog/2017-08-28-obtaining-command-line-input-java.md b/content/blog/2017-08-28-obtaining-command-line-input-java.md index e17364b..2fab18b 100644 --- a/content/blog/2017-08-28-obtaining-command-line-input-java.md +++ b/content/blog/2017-08-28-obtaining-command-line-input-java.md @@ -3,8 +3,6 @@ id: 2241 title: Obtaining Command Line Input in Java date: 2017-08-28T17:37:59+00:00 author: Brandon Rozek -layout: post -guid: https://brandonrozek.com/?p=2241 aliases: - /2017/08/obtaining-command-line-input-java/ permalink: /2017/08/obtaining-command-line-input-java/ @@ -14,12 +12,8 @@ mf2_syndicate-to: - 'a:1:{i:0;s:4:"none";}' mf2_cite: - 'a:4:{s:9:"published";s:25:"0000-01-01T00:00:00+00:00";s:7:"updated";s:25:"0000-01-01T00:00:00+00:00";s:8:"category";a:1:{i:0;s:0:"";}s:6:"author";a:0:{}}' -tumblr_post_id: - - "164717769554" mf2_mp-syndicate-to: - 'a:1:{i:0;s:4:"none";}' -kind: - - note tags: ["Java"] --- To obtain console input for your program you can use the `Scanner` class diff --git a/content/blog/2018-01-22-identifying-misspelled-words-dataset-hunspell.md b/content/blog/2018-01-22-identifying-misspelled-words-dataset-hunspell.md index 913669d..5f0ff29 100644 --- a/content/blog/2018-01-22-identifying-misspelled-words-dataset-hunspell.md +++ b/content/blog/2018-01-22-identifying-misspelled-words-dataset-hunspell.md @@ -2,9 +2,7 @@ id: 2250 title: Identifying Misspelled Words in your Dataset with Hunspell date: 2018-01-22T05:17:16+00:00 -author: rozek_admin -layout: post -guid: https://brandonrozek.com/?p=2250 +author: Brandon Rozek aliases: - /2018/01/identifying-misspelled-words-dataset-hunspell/ permalink: /2018/01/identifying-misspelled-words-dataset-hunspell/ @@ -12,12 +10,8 @@ medium_post: - 'O:11:"Medium_Post":11:{s:16:"author_image_url";s:75:"https://cdn-images-1.medium.com/fit/c/200/200/1*06lotWcLMUnKZTN6-Th3IQ.jpeg";s:10:"author_url";s:32:"https://medium.com/@brandonrozek";s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";s:2:"no";s:2:"id";s:12:"c0ccd543b7e6";s:21:"follower_notification";s:3:"yes";s:7:"license";s:19:"all-rights-reserved";s:14:"publication_id";s:2:"-1";s:6:"status";s:6:"public";s:3:"url";s:104:"https://medium.com/@brandonrozek/identifying-misspelled-words-in-your-dataset-with-hunspell-c0ccd543b7e6";}' mf2_mp-syndicate-to: - 'a:1:{i:0;s:22:"bridgy-publish_twitter";}' -tumblr_post_id: - - "169988632939" mf2_syndication: - 'a:1:{i:0;s:60:"https://twitter.com/B_RozekJournal/status/955308388384235521";}' -kind: - - article tags: [] --- This article is based on one written by [Markus Konrad](https://datascience.blog.wzb.eu/author/markus_konrad/) at this link https://datascience.blog.wzb.eu/2016/07/13/autocorrecting-misspelled-words-in-python-using-hunspell/