|
Docker Madness - When The Output Order of Debugging Seems Impossible
-
fuzzyblog.io
-
6 years ago
-
eng
Yesterday I was stuck in a hellish debugging cesspool – you know what I mean – when you are debugging a mysterious crash right down embedding line by line print statements and nothing is making sense. And I don't mean that its not making a lot of sense; I mean that its making NO DAMN SENSE. I was debugging on a GPU instance on AWS that was running a TensorFlow application and what I kept seeing was output appearing before the routine invo....
|
|
Our attention spans are short. Even more when looking for new information. We get flooded by different sources. Most of them contain little useful information. Content should be concise, packed with information and clean of empty prose. Focused around examples. Remove everything not related to the title. When was the last time you spent more than 15 minutes reading a single piece of information? That is why I started writing recipes .
|
|
Due to the ongoing challenges of COVID-19, we decided to run the 7th edition of XConf, our yearly technology conference, in a virtual format. XConf Online covered a wide range of topics including: mutation testing, docker container security, data science, unit testing COBOL and much more. Here are a few key highlights from the day. You can write unit tests for COBOL programs and get fast feedback without having a dependency on the mainframe..
|
|
Docker Madness - When The Output Order of Debugging Seems Impossible
-
fuzzyblog.io
-
6 years ago
-
eng
Yesterday I was stuck in a hellish debugging cesspool – you know what I mean – when you are debugging a mysterious crash right down embedding line by line print statements and nothing is making sense. And I don't mean that its not making a lot of sense; I mean that its making NO DAMN SENSE. I was debugging on a GPU instance on AWS that was running a TensorFlow application and what I kept seeing was output appearing before the routine invo....
|
|
Compares routing techniques in Go, including five custom approaches and three using third-party routing libraries.
|
|
I have now uploaded all source code I wrote that I use to build this website! The corresponding link is in the menu; the document it links to also contains more info on licensing. With it, and the tools I use, you would be able to reproduce my website completely. I decided not to use a Git or Hg repo for various reasons, but really, just check it out. But why? Of course, this is a static site, and there is not much that is extremely origi....
|
|
Most founders in tech will tell you that they’re a contrarian But is being a contrarian an optimal decision? What are the alternatives? Is being a contrarian an advantage? Founders of high growth companies, are making one big high risk high reward bet. If you’re looking for a big win you first have to find something that has high uncertainty. For example, there’s high uncertainty around when VR will become mainstream.
|
|
A presentation of the Go draft designs for a filesystem interface and a standard way to embed files in a Go binary (LWN.net).
|
|
If you use sequences to generate primary key values make sure you use the checksum feature of APEX. Otherwise, users can easily discover data they should not be able to see by raising or lowering the numeric ID in the URL.
|
Monero’s privacy technology is not the only difference that sets it apart from BTC and it's derivatives. In this article we'll look at another - the tail emission.
|
|
I always forget the details about Kubernetes pod shutdown lifecycle when I need them, so this is my now made public notes on the subject.
|
|
Steve just updated our CEF support which should now work on all platforms. We updated the original post with additional information. We’ve also updated the build servers to use API level 29 on Android. The API level change should be seamless to most of you but might impact some edge case functionality and cause some native/cn1libs to fail in odd ways. So be sure to do extra checks on Android when building a new release.
|
|
My nightly Emacs builds stopped about a month and a half ago. A couple days after I noticed it was failing I tried to debug the issue and found that building openssl was hanging—I found that Jenkins was timing out after an hour or so. I should mention that it’s dying on a Mac OS … Continue reading Failed Emacs builds, hanging kernels, abort(), oh my
|
|
Table of Contents Why Serverless? Solution Overview Data Extraction Search Backend Implementation Apache Lucene in a GraalVM Native Binary The Search HTTP Service Wiring Things Up Deployment to AWS Lambda Building Quarkus Applications for AWS Lambda Identity and Access Management Performance Cost Control Wrap-Up and Outlook I have built a custom search functionality for this blog, based on Java and th..
|
|
Table of Contents Why Serverless? Solution Overview Data Extraction Search Backend Implementation Apache Lucene in a GraalVM Native Binary The Search HTTP Service Wiring Things Up Deployment to AWS Lambda Building Quarkus Applications for AWS Lambda Identity and Access Management Performance Cost Control Wrap-Up and Outlook I have built a custom search functionality for this blog, based on Java and th..
|
|
Table of Contents Why Serverless? Solution Overview Data Extraction Search Backend Implementation Apache Lucene in a GraalVM Native Binary The Search HTTP Service Wiring Things Up Deployment to AWS Lambda Building Quarkus Applications for AWS Lambda Identity and Access Management Performance Cost Control Wrap-Up and Outlook I have built a custom search functionality for this blog, based on Java and th..
|
|
For those who do not get the reference: In very active forums and news sites with comments such as ComputerBase (which reminds me, I have not visited that site for probably months now, and it was not that bad after all), it kind of used to be (and probably still is) a cliché that the first person who wrote a comment would not actually write something useful, just something like First!, as it was not that easy to do that, considering how q....
|
|
I could not get reliable connections with docker-machine or docker context. This is how I got 100% reliable connections through ssh forwarding. It’s also more secure. You don’t need to expose any additional ports. # create bash function function dockcon () { # if used with the argument `unset`, close the connection # see the part after this conditional to understand it better if [[ " $1 " == ....
|
|
Vulnerabilities are not born equal, and their risk variance is influenced by an array of objective and subjective factors. Effective prioritization depends on an accurate assessment of these factors.
|
|
What’s a bot password? What’s the difference between bot accounts and bot passwords? Why do I need all this anyway?
|
|
What’s a bot password? What’s the difference between bot accounts and bot passwords? Why do I need all this anyway?
|
|
How NextRoll is Supporting Our Rollers During the COVID-19 Pandemic
-
tech.nextroll.com
-
6 years ago
-
eng
Our Rollers (employees) are the most essential “ingredient” to our success and culture. This pandemic is like nothing any of us have been through before. So, as we navigate this time with our Rollers, we want to ensure they are being supported… but we can’t read their minds! The best way to understand their needs and concerns is to ask them via a survey, interpret the results, and then take action. That’s just what we did and will continue ....
|
|
It’s pretty much instilled into us since the day we arrive at university that the end goal is to get a fulfilling job in an industry you love. Within my first few days of my degree, career fairs and internships were ingrained into our brains. I remember thinking...this three years is going to end. I’m going to have to get a job.
|
|
Create your first REST API in Django Rest Framework A step by step guide creating APIs in Django Rest Framework
-
blog.adnansiddiqi.me
-
6 years ago
-
eng
In this post, I am going to talk about Django Rest Framework or DRF. DRF is used to create RESTful APIs in Django which later could be consumed by various apps; mobile, web, desktop, etc. We will be discussing how to install DRF on your machine and then will be writing our APIs for a system. Before we discuss DRF, let’s talk a bit about REST itself. What is Rest From Wikipedia Representational state transfer (REST) is a software architectur....
|
|
How to choose a median result when running Google Lighthouse multiple times
-
maxrozen.com
-
6 years ago
-
eng
Running Google Lighthouse five times will half the variability of your test results. So how do you figure out which run is the median?
|
Would you believe you can participate in cryptocurrency production using a simple Raspberry Pi computer? No need for powerful ASIC miners! Peercoin is an interesting altcoin that has minting capability built-in, and minting is the ability to create new coins from the ones you already have. In this tutorial, you’ll learn how to set up a dedicated Raspberry Pi computer to mint the Peercoins in your wallet.
|
|
The ability to make friendships through your passions is the best super power that the internet gives us. The best things that happened in my life happened through communities on the internet. Here’s a story of all the places I hanged out on the internet and made friends from. Until the first year of high school I’ve been offline. My experience until then with the internet was running a Blogspot to sell snacks in middle school (wi..
|
|
I’ve been programming TypeScript professionally for the last two years. Even with that much TypeScript experience it’s always useful to have a beginner’s mindset.
|
|
I’ve been programming TypeScript professionally for the last two years. Even with that much TypeScript experience it’s always useful to have a beginner’s mindset.
|
|
In my book, A Programmer’s Introduction to Mathematics, I describe the Taylor Series as a “hammer for every nail.” I learned about another nail in the design of modern smartphone accelerometers from “Eight Amazing Engineering Stories” by Hammack, Ryan, and Ziech, which I’ll share here. These accelerometers are designed using a system involving three plates, which correspond to two capacitors. A quick recap on my (limited) understanding of h..
|
|
In my book, A Programmer’s Introduction to Mathematics, I describe the Taylor Series as a “hammer for every nail.” I learned about another nail in the design of modern smartphone accelerometers from “Eight Amazing Engineering Stories” by Hammack, Ryan, and Ziech, which I’ll share here. These accelerometers are designed using a system involving three plates, which correspond to two capacitors. A quick recap on my (limited) understanding of h..
|
|
In my book, A Programmer’s Introduction to Mathematics, I describe the Taylor Series as a “hammer for every nail.” I learned about another nail in the design of modern smartphone accelerometers from “Eight Amazing Engineering Stories” by Hammack, Ryan, and Ziech, which I’ll share here. These accelerometers are designed using a system involving three plates, which correspond to two capacitors. A quick recap on my (limited) understanding of h..
|
|
Coding with Python Dictionaries the Ruby Way With Respect to Missing Keys
-
fuzzyblog.io
-
6 years ago
-
eng
I recently had an interesting experience with Python dictionaries that made question one of Python's foundational principles i.e. TOOWTDI: There should be one– and preferably only one –obvious way to do it. Although that way may not be obvious at first unless you're Dutch. More… The application was a large scale JSON processor and, in Python, JSONs are mapped to Python dictionaries which correspond to Ruby hashes. The issue is ....
|
|
Somehow I got curious: what would be the smallest bitmap font that would still be readable? why 2x3 grid There are plenty of existing retro 8x16 bitmap fonts, like the ones used in VGA graphics and text-mode consoles. We should probably be able to go much smaller than that. We only need to encode 26 different symbols. If our encoding is perfect - we need roughly 5 bits of information, or 5 pixels, each being either black or white.
|
|
Somehow I got curious: what would be the smallest bitmap font that would still be readable? why 2x3 grid There are plenty of existing retro 8x16 bitmap fonts, like the ones used in VGA graphics and text-mode consoles. We should probably be able to go much smaller than that. We only need to encode 26 different symbols. If our encoding is perfect - we need roughly 5 bits of information, or 5 pixels, each being either black or white.
|