Go currently lacks any sort of heredoc or similar syntax, and it's backtick syntax cannot contain backticks. This can make correctly encoded creating go strings, particularly for large strings that contain many backticks, a bit of a challenge. Here's a tool to safely encode any given input to Go string. It's written in Go using Go's own string encoder and compiled with WASM. The code as well as a CLI version of it are available on G..
|
|
I made a mistake: I bought an electric car. EV articles I have read on Hacker News and Reddit didn’t prepare me for a dozen EV infrastructure problems in my part of the EU. Anecdotes below explain lessons I learned … Continue reading →
|
|
Exploring K-means Clustering and Building a Gradebook With Pandas
-
realpython.com
-
6 years ago
-
eng
Do you want to learn the how and when of implementing K-means clustering in Python? Would you like to practice your pandas skills with a real-world project? This week on the show, David Amos is back with another batch of PyCoder’s Weekly articles and projects.
|
|
Leo Babauta, in Showing Up Even When You’re Not Feeling It : “Most of us have an expectation that we should feel in the mood to do something. We should be excited, rested, focused. And when we do it, it should be easy, comfortable, fun, pleasurable. Something like that. That results, predictably, in running from the things that feel hard, overwhelming, uncomfortable.” You will not always feel like taking the hard road, but achiev..
|
|
[Career Pathways] I wasn’t always interested in tech, but I was up for a challenge.
-
www.thoughtworks.com
-
6 years ago
-
eng
In our new series ‘Career Pathways’, we’ll share inspiring, real-life stories from our Thoughtworkers based in Australia on how they began their careers in technology, their learnings, and how their journey at Thoughtworks has continued to enable their career as technologists.Name: Ann Mwangi
|
|
Snyk has recently introduced a Priority Score to help prioritize vulnerabilities we detect, helping you identify the most important issues that need your attention.
|
|
Why you should use functional components + Hooks over class components in React
-
maxrozen.com
-
6 years ago
-
eng
If you find yourself asking whether to use functional components with Hooks over class components, you'll find a lot of outdated information out there. Let's settle this once and for all in this article.
|
|
Getting started with Apache Avro and Python Learn how to create and consume Apache Avro based data for better and efficient transfer.
-
blog.adnansiddiqi.me
-
6 years ago
-
eng
In this post, I am going to talk about Apache Avro, an open-source data serialization system that is being used by tools like Spark, Kafka, and others for big data processing. What is Apache Avro According to Wikipedia: Avro is a row-oriented remote procedure call and data serialization framework developed within Apache’s Hadoop project. It uses JSON for defining data types and protocols, and serializes data in a compact binary format. Its ....
|
|
Whether you’re an IT systems administrator, developer or devop working with Linux/UNIX shell scripts, you’re likely going to come across some that are not well documented and difficult to trace (read and understand) as a result. While these scripts discourage others from tracing them, you can easily trace even the most difficult shell scripts if you follow good tracing procedures. Moreover, by tracing a difficult shell script, you build y..
|
|
Whether you’re an IT systems administrator, developer or devop working with Linux/UNIX shell scripts, you’re likely going to come across some that are not well documented and difficult to trace (read and understand) as a result. While these scripts discourage others from tracing them, you can easily trace even the most difficult shell scripts if you follow good tracing procedures. Moreover, by tracing a difficult shell script, you build y..
|
|
July was a pretty good month reading-wise. It helps that my son likes to bring me books to read. However, he often usurps reading time with my daughter.
|
|
A couple of weeks ago I answered a question on Quora about the security of cross platform tools. I try to rise above my confirmation bias when discussing these things. I won’t discuss Codename One in this context or any other specific tool. Only general ideas. Security depends a lot on the tools involved and their level of support for security features such as certificate pinning, storage/db encryption etc. Some tools also store the cod..
|
|
This blog post outlines why message brokers can’t be trusted, and how to exploit Apache Airflow in order to gain privileges to machines that are supposed to be protected.
|
|
Unfortunately I must have fermented too long in the first attempt as the beans became mouldy. Attempt 2 Fermented for only 1 day 19 hours Used a dehydrator on full for around 4 hours, this was probably too hot in retrospect, next time put beans in a higher shelf and use a low temperature Roasted […]
|
|
Unfortunately I must have fermented too long in the first attempt as the beans became mouldy. Attempt 2 Fermented for only 1 day 19 hours Used a dehydrator on full for around 4 hours, this was probably too hot in retrospect, next time put beans in a higher shelf and use a low temperature Roasted […]
|
|
Unfortunately I must have fermented too long in the first attempt as the beans became mouldy. Attempt 2 Fermented for only 1 day 19 hours Used a dehydrator on full for around 4 hours, this was probably too hot in retrospect, next time put beans in a higher shelf and use a low temperature Roasted […]
|
|
Unfortunately I must have fermented too long in the first attempt as the beans became mouldy. Attempt 2 Fermented for only 1 day 19 hours Used a dehydrator on full for around 4 hours, this was probably too hot in retrospect, next time put beans in a higher shelf and use a low temperature Roasted […]
|
|
This is my first Vonnegut novel, and my first words are “Wow!“. The novel through its simplicity explores a whole range of themes,…
|
Let's have a look at one of the more recent Monero protocol innovations: the replacement of the linkable ring signature scheme, MLSAG, with a drop-in replacement CLSAG.
|
|
Energy: Preparing for the coming disruption - a wheelhouse view
-
www.thoughtworks.com
-
6 years ago
-
eng
We know that, in energy, the winds of change are approaching gale force. The Covid-19 crisis has only amplified and accelerated matters. Yet, the entrenched nature of existing systems and players raise impediments - both cultural and systemic - that have held change back. So, how to get ahead of the disruption wave? Where to even start, when the future’s so uncertain?
|
|
The air we breathe, the food we eat is a solo show I did at Lavender Opener Chair in February-March 2020. Special thanks to Tatsu and Mai.
|
|
You pride yourself on delivering fast websites to your clients, but do the websites stay fast as the months go by?
|
|
Snyk’s new Priority Score helps to drastically simplify one of the biggest challenges in using open source securely—working out which vulnerabilities to tackle first.
|
|
React's useEffect hook is an incredibly useful tool for fetching data, but if you're not careful, can cause infinite re-renders.
|
|
If you have been to our blog before, you might notice that it has a new look. Our past version of the site was one that we had used for several years. It utilized Jekyll for the static site generation, which is a popular project that leverages the Ruby ecosystem. Over the last few months, we recognized that our site needed an update. This change wasn’t only with its look and feel, but also with what we used in building the site.
|
|
I’ve been thinking about programming languages a lot recently. A question I asked myself was: why do we work on, refine, and create new programming languages? I thought of several reasons, but they seemed to boil down into two broader reasons: Better abstractions and more automation: Some languages automate and ease some tedious tasks like memory management, concurrency, or type annotations. Almost all languages give you some ways o....
|
|
For every serious web application, you should choose a component library. This article compares Material UI, Fluent UI React, Ant Design, React Spectrum and Semantic UI React.
|
|
Our previous blog looked at 7 D's inexorably driving change in the energy sector. None are dramatically new or surprising. Yet, change has felt frustratingly slow in coming; as if (the Japanese might say) current market participants have ‘heavy bottoms’. This blog looks at some of the main drag factors.
|
|
I’ve been thinking about programming languages a lot recently. A question I asked myself was: why do we work on, refine, and create new programming languages? I thought of several reasons, but they seemed to boil down into two broader reasons: Better abstractions and more automation: Some languages automate and ease some tedious tasks like memory management, concurrency, or type annotations. Almost all languages give you some ways o....
|