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
-
5 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..
|
|
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
-
5 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
-
5 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.
|
|
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,…
|
|
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.
|
|
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....
|
|
Update: The project moved from Gitlab to Codeberg; you will find it here . I wrote a Matrix bot based on matrix-nio which parses and posts JSON feeds. Wait, what? JSON Feed is a JSON-based format which aims to replace, or at least offer an alternative to, the XML-based Atom and RSS formats. Now, I still offer an RSS feed, but since Cobalt also supports generating JSON Feed, and I find JSON to be a format that is more easy to read ....
|
|
We’re excited to share that CRN has included Snyk in its annual Emerging Vendors List in the Security category.
|
|
There's an algorithm for product discovery, at least for business-to-business products. If you combine that algorithm with decent technical execution and a SaaS business model then you have a recipe for a company. And if your market is big enough then you may even be looking at a billion-dollar startup.
|