|
Why we've removed Inheritance/Extend from SASS & you should do the same!
-
engineering.wingify.com
-
8 years ago
-
eng
SASS is a preprocessor that provides features like variables, nesting, mixins, inheritance and other nifty goodies and makes CSS clean and…
|
|
A lot of people have asked me to do another run of my Oracle Troubleshooting training or at least get access to previous recordings – so I decided to geek out over the holiday period, update the material with latest stuff and run one more AOT class in 2018 ! The online training will take place on 29 January – 2 February 2018 (Part 1) & 26 February – 2 March 2018 (Part 2).
|
|
A lot of people have asked me to do another run of my Oracle Troubleshooting training or at least get access to previous recordings – so I decided to geek out over the holiday period, update the material with latest stuff and run one more AOT class in 2018 ! The online training will take place on 29 January – 2 February 2018 (Part 1) & 26 February – 2 March 2018 (Part 2).
|
|
A common topic of conversation is what people would do if they won the lottery. People often dream of winning it big any buying big houses, nice cars, and quitting their jobs. My brothers and I weren’t immune to this topic, however, we often would have another answer as to what to do with lottery winnings: put it in the bank and live off the interest.
|
|
Today I used the rust pem crate to check whether a given file was or was not parseable as PEM encoded. PEM stands for Privacy Enhanced Mail. I learned that most ssh private keys are stored as PEM files and there are ED25519, ECDSA, RSA, and DSA types (maybe more but those are the ones I'm familiar with and read about a bit in the openssh source code). Still not clear on whether the public keys are in SSLEAY format or not. Also did some pair..
|
|
So as an exercise I wanted to make a rust struct with custom order and blog the process. I did this in my tealeaves project to get some data to group/sort by severity (errors then warnings then infos) and it worked nicely but it was mostly the derived implementations and I wanted to review. So let's make a basic Person struct (very similar to the example in the official rust docs, but we'll get fancier). struct Person { name: String, } fn....
|
|
I ran across this one today. Microsoft's Visual Studio C++ compiler (MSVC) doesn't inline functions marked as inline, even when the function is only called once (has exactly one call site). A little background on inliners: The inliner is the part of the compiler that inlines function calls. For every function call site (function/procedure invocation) it needs to decide whether to inline the function there, replacing the function call ....
|
|
Each of us have our own giants to face. This is a story about one of my giants. Something I never imagined could make a grown man cry, until it did. A 3D camera. No one can face your giants for you. This is a story, not a walkthrough. Expect no useful information. For that I recommend 50 Game Camera Mistakes by thatgamecompany's John Nesky. His job title is literally "camera designer".
|
|
Lately, I’ve been taking advantage of Swift’s functional abilities where it makes sense to help me write concise and clear code that’s easy to test. I’d like to share one technique that has helped me to eliminate repetition and breakages of encapsulation in tests: function injection . In traditional dependency injection , an object that is dependended on is passed to the method that depends on it. Function injection is my name for follo....
|
|
I spent a long time today trying to understand how the AsRef trait works. I failed. I was able to split my tealeaves project code out into a handful of files and more strongly model the filesystem checks as Enums in the type system. If you are printing filesystem permission octals, don't forget the {:o} format string. I find if I battle the compiler too long or just in general struggle to understand something, it drains me really quickl..
|
|
I recently got my hands on an older Raspberry Pi, which was a great excuse to see if I could get .NET running on it! If you're interested in…
|
|
We’re excited to open source Bunsen, a library to make analyzing FHIR data with Apache Spark simple and scalable. Bunsen encodes FHIR resources directly into Apache Spark’s native data structures. This lets users leverage well-defined FHIR data models directly within Spark SQL. Here’s a simple query against a table of FHIR observations that produces a table of heart rate values: spark.sql(""" select subject.reference person_id, effectiveDat..
|
|
Tomorrow, it begins. The culmination of weeks of research, documentation, and preparation by multiple open-source projects, just waiting to start hacking away with students. Tomorrow, students aged 13-17 can begin participating in Google Code-in 2017. Ubuntu is one of the mentoring organizations, with several of my colleagues and me as mentors. Just in case you haven’t heard of it, Ubuntu is an open-source operating system for servers, desk..
|
|
One of the more interesting and important parts of studying two different sets of data is to see if they are correlated. It might make one wonder if the order of the data matters. In this blog post, I show with three different methods - by an empirical example, by looking at the correlation function, and visually - why the order doesn’t matter so long as each data point is matched to the same datapoint each time.
|
|
Several weeks ago, I had a few friends over to our house to watch Les Lanphere’s excellent Calvinist documentary. I assumed this would be their first exposure to Reformed theology, so I expected some lively discussion. About half way through the movie, we had to pause to answer a simple clarification question. Once that was done, one of the guys volunteered an interesting observation. He said: “I hope they show some quotes from Jesus,....
|
|
Several weeks ago, I had a few friends over to our house to watch Les Lanphere’s excellent Calvinist documentary. I assumed this would be their first exposure to Reformed theology, so I expected some lively discussion. About half way through the movie, we had to pause to answer a simple clarification question. Once that was done, one of the guys volunteered an interesting observation. He said: “I hope they show some quotes from Jesus,....
|
|
Ready Player One is a fast-paced book filled with 80s references, but falls short with one-dimensional characters and a lack of new ideas.
|
|
Ready Player One is a fast-paced book filled with 80s references, but falls short with one-dimensional characters and a lack of new ideas.
|
|
I spoke about how we migrate our monitoring infrastructure to Prometheus & Friends, what we got out of it and how it is working for us right now.
|
|
The way I see it, you have three options when selection an edition of John Calvin’s Institutes of the Christian Religion. The final edition of 1559 translated by Henry Beveridge, published in 1867. The final edition of 1559 translated by Ford Lewis Battles, published in 1960. The French edition of 1541 translated by Robert White, published in 2014. Beveridge With Beveridge , you get the full text of the Institutes . The language is s....
|
|
The way I see it, you have three options when selection an edition of John Calvin’s Institutes of the Christian Religion. The final edition of 1559 translated by Henry Beveridge, published in 1867. The final edition of 1559 translated by Ford Lewis Battles, published in 1960. The French edition of 1541 translated by Robert White, published in 2014. Beveridge With Beveridge , you get the full text of the Institutes . The language is s....
|
|
I grew up 1 [some old pictures of me]]] in Madison, Wisconsin and studied art and physics at the University of Wisconsin — Madison, receiving my doctorate in physics there in 1996 under Prof. Francis Halzen . I also worked for a year at CERN in Geneva, Switzerland, under Prof. Sau Lan Wu on the ALEPH experiment. My doctoral work and postdoc focused on the AMANDA neutrino detector constructed at the Geographic South Pole, and th....
|
|
So today I was trying to store some decimal fields on a MongoDB 3.4 instance and I kept failing, miserably. In Compass I was getting a somewhat obscure “connection lost” message on every save attempt. Upgrading to Mongo 3.4.10 (I was on 3.4.4) improved things, as the error message was now hinting at the setFeatureCompatibilityVersion setting which, apparently, was preventing some features to be made available. Now that made sense, as ..
|
|
Jumped out of order from my earlier checklist and set up some automagic build and deploy. I'd wanted an excuse to try out CodePipeline , so this was it! So, how does this blog work? It is deployed to an S3 bucket ( skife.org ) with CloudFront in front of it. CloudFront is set up to use the free SNI certs to provide TLS. Previously, I pushed manually via s3cmd , which worked well with some incantation fiddling. I won't write a full C....
|
|
Jumped out of order from my earlier checklist and set up some automagic build and deploy. I'd wanted an excuse to try out CodePipeline , so this was it! So, how does this blog work? It is deployed to an S3 bucket ( skife.org ) with CloudFront in front of it. CloudFront is set up to use the free SNI certs to provide TLS. Previously, I pushed manually via s3cmd , which worked well with some incantation fiddling. I won't write a full C....
|
|
Six Easy Pieces by Richard Feynman is a fun read that provides an intuitive grasp of physics concepts, but falls short of teaching techniques.
|
|
Six Easy Pieces by Richard Feynman is a fun read that provides an intuitive grasp of physics concepts, but falls short of teaching techniques.
|
|
So I'm working on a tool that will interact heavily with the filesystem. This has always presented a unit testing problem both from a test speed perspective but as well as the perspective of simulating unusual errors. Yesterday I shopped on crates.io and found the filesystem crate which looked to be built exactly to what I needed. However, I quickly discovered it was missing some key things like exposing a file's size without having to re....
|
|
800 words, 3 1/2 minutes. Making Your 1st Decision This is the first of a short series of posts about the Cyber Security market. This market is interesting now because I believe it’s at a juncture where we can choose one of two possible futures. We being the product builders, investors, and customers. The choice being whether to align ourselves with reality or fantasy. Plenty of markets perpetuate a degree of fantasy.
|
|
Last week, we released our first annual State of Open Source Security report. One of the discoveries the report mentions is that an analysis of around 433,000 sites found that 77% of them use at least one front-end JavaScript library with a known security vulnerability. In this post, we take a deep dive into that problem space.
|
|
This morning I worked on my "tealeaves" crypto diagnostic library. Just the basics of statting files but some interesting type system modeling and grokking what #[derive(PartialOrd)] does for enums and structs. I basically got rust to handle printing errors then warnings then OK messages via the sorting mechanisms. I found a could-be-awesome crate called filesystem which gives a consistent interface for both an in-memory filesystem for fa..
|
|
I showed how to build and release binaries in Go, including cross-compiling, Docker images, Linux packages and Homebrew, featuring GoReleaser on the end.
|