|
It seems like just yesterday I was switching subsidiary companies at my resident multinational conglomerate, trading in my gig in enterprise business software for something more acutely interesting to me: surgical robotics. And the three+ intervening years have been not only a grand ole time, but also marked a clear shift in what I actually do at work. The last time I wrote a post like this, my main job was building the things other p..
|
|
We're creating a comprehensive Java 2021 report that reflects the state of the JVM ecosystem. This post includes a summary of the JVM Ecosystem 2020 report.
|
|
Me Hi! My name is Valtteri. I’m a hacker. I love to apply knowledge across domains and spend much of my limited freetime trying novel things on a computer. Some of those experiments end up here as writeups. Beyond my love for computers and security, I enjoy books, board games, trekking, and fishing. I work as a Senior Security Engineer at Konecranes. Previously, I worked as a freelancer and developed an OPC UA security scanner.
|
|
About seven years ago, I presented the Eve Framework in a very crowded Python room at FOSDEM 2014 in Brussels. If you don’t know about FOSDEM, well, you should check it out. Every year thousands of developers who recognize themselves with the free and open-source movement gather in Brussels from all over the world. And I mean thousands of them. According to Wikipedia, since 2011, the meeting hosts about 4,000 visitors every year. It’s huge,..
|
|
TL;DR: Some Linux distros and even different kernel versions within a distro have disabled IRQ time accounting. In such case, your monitoring tools will report zero time spent in hardware interrupt handlers (shown as %hi, %irq, hiq, etc). It’s easy to check how your kernel is behaving by looking at /proc/stat and you can still measure interrupt CPU usage using perf and a little creativity . Index Index Problem Explanation Kernel....
|
|
TL;DR: Some Linux distros and even different kernel versions within a distro have disabled IRQ time accounting. In such case, your monitoring tools will report zero time spent in hardware interrupt handlers (shown as %hi, %irq, hiq, etc). It’s easy to check how your kernel is behaving by looking at /proc/stat and you can still measure interrupt CPU usage using perf and a little creativity . Index Index Problem Explanation Kernel....
|
|
In late August 2020 I read The Dream Machine and it is my favorite book of 2020. It is an incredible overview of a sliver of computer pioneers in the 1960s-1980s and how one man was instrumental in tying all their narratives together. One of the strands the book follows is the group at PARC (and other places) that firmly believed in the notion of interactive computing. Over the last year, I’ve repeatedly been introduced to this strand of th..
|
|
In late August 2020 I read The Dream Machine and it is my favorite book of 2020. It is an incredible overview of a sliver of computer pioneers in the 1960s-1980s and how one man was instrumental in tying all their narratives together. One of the strands the book follows is the group at PARC (and other places) that firmly believed in the notion of interactive computing. Over the last year, I’ve repeatedly been introduced to this strand of th..
|
|
Lenovo (formerly IBM) ThinkPad laptops are widely known for three things: An amazing keyboard (often touted as the best for professional work) Rugged build quality (it’s hard to kill a Thinkpad: https://youtu.be/OMilj81s9SI ) The TrackPoint, which has been standard on ThinkPads since the first model in 1992 What is a TrackPoint? Simply put, it is an alternative to using a mouse or trackpad on laptops. To ensure that your index finge..
|
|
Lenovo (formerly IBM) ThinkPad laptops are widely known for three things: An amazing keyboard (often touted as the best for professional work) Rugged build quality (it’s hard to kill a Thinkpad: https://youtu.be/OMilj81s9SI ) The TrackPoint, which has been standard on ThinkPads since the first model in 1992 What is a TrackPoint? Simply put, it is an alternative to using a mouse or trackpad on laptops. To ensure that your index finge..
|
|
Getting started with GraphQL in Python with FastAPI and Graphene Learn how to create your first Python based GraphQL application
-
blog.adnansiddiqi.me
-
5 years ago
-
eng
This post is part of the FastAPI series. This is another post related to FastAPI(indirectly) in which I am going to discuss how to use GraphQL based APIs to access and manipulate data. I already have discussed how you can make Rest API in the FastAPI framework in the previous post. We will be learning some basics of GraphQL and how graphene helps us to use Python for writing a GraphQL based application. So, let’s get started! What is GraphQ....
|
|
Troubles with VirtualBox and the Windows Subsystem for Linux
-
nicolaiarocci.com
-
5 years ago
-
eng
Today I learned the hard way: don’t you dare running a vanilla install of VirtualBox together with Windows Subsystem for Linux v2 (WSL2). It won’t work. That’s because WSL2 uses Hyper-V under the hood, which is incompatible with VirtualBox. According to the official documentation for VirtualBox v6.0: Oracle VM VirtualBox can be used on a Windows host where Hyper-V is running. This is an experimental feature . No configuration is re..
|
|
Morning Trance Exercise In The Park (Recorded Sounds #18) 2021-02-13 09:13:41 +07:00 by Mark Smith Morning group exercises in the park to some seriously good trance tunes Episode details: Title: Morning Trance Exercise In The Park Show: Recorded Sounds Episode: 18 Page: show webpage File: direct download link Size: [object Promise] Duration: 00:00:28 Another awesome episode of the podcast. #
|
|
Repository: @knadh/listmonk GitHub release page: v0.9.0-beta What is new? This version includes several bug fixes and improvements including some major new features. Multilingual (i18n) support with 4 bundled languages: Malayalam by @joicemjoseph, German by @m42e , Portuguese by @diogotcorreia, and French by @TomBoss.
|
|
Do you feel like you understand how Python works under the hood? What is syntactic sugar, and how much of it should be in Python? This week on the show, we have Brett Cannon. Brett is a Python core developer and he's been working on a series of articles where he is unraveling the syntax of Python. His series is a fantastic resource for those wanting to learn how Python is structured and works at its core.
|
|
What music do you listen to while programming? 1 For me, it’s usually jazz, classical, electronic, lots of it, or nothing. There are some specialized websites and podcasts I sometimes recur to, like [Music for Programming][1]. Several Spotify playlists I dig a lot, [Every Day I’m Nerdin’][2] being one of them. What can I say? I am musically omnivore. However, I recently discovered something different: the [Field Recordings podcast][3].....
|
|
Update: The joke has worn off, there are more interesting and elaborate parody religions, such as Pastafarianism, and so on… The link mentioned is dead and the menu entry has been removed. Recently, in the main Techlore room, mazerfaker, DriftNotSkid and I were having some fun and joking around a bit after I said "Tell me something new" in reaction to a screenshot of one of those fingerprint testing sites stating "Your browser has a uni..
|
|
Last fall, we made the decision to launch a Community Outreach Internship Program at Snyk. Like many across the globe, we at Snyk were troubled by how the economic impacts of covid-19 are disproportionately affecting women and underrepresented minorities, and wanted to ensure that Snyk was playing a role in being a part of the solution.
|
|
Leaflet-Hexbins is a powerful tool to aggregate data and visualize it quickly on a map. It can size the hexbin radius based on a feature values. But what if we used HyperLogLog data to preserve user-privacy? This post will provide a convenient way to quickly perform on-the-fly HyperLogLog unions for leaflet-hexbins. No more backend-constraint for HyperLogLog There are many HyperLogLog implementations out there but few work as well as pos..
|
|
Learn more about security vulnerabilities in cybersecurity: vulnerability versus exploits and threats, website security vulnerabilities, and security and vulnerability management.
|
|
HyperLogLog Javascript (js-hll) & Postgres (postgres-hll): making them talk to each other!
-
geo.rocks
-
5 years ago
-
eng
1 2 3 4 5 6 7 8 9 10 11 hex_array = [ "/x138b7f010101c101e3024104e1058305a105c3072207810922098209a209c30b220c410ce20e210e410e610ee11002106310a210e31323138513a213c2142114421463156115a115e416011661168316a216e1186218a31927194119611aa81b411b611be11c411d431dc21e22218121a121e122a322e12324236123c224c12641266127c3288329442a012a612b012be22cc52d412e612e812fa12fc1302131843282338133e335023541356235a236233641382338....
|
|
Feedback is one of the most importante things when you are creating a product (probably the most important one!), so it should be easy for users to give feedback. In this post we’ll see how to implement a feedback button easily. This exact code is what I’m using at drwn.io , a little project I’m working on with a friend. The button does the following: after you use it, it will change its text to “Thank you!”, then it will fade out we wil..
|
|
Tests should be correct by inspection Tests require a different approach than normal code. We don't have tests for tests, so tests need to be correct by inspection -- and the main technique to achieve this is to get rid of the generality of the production code, and exercise only very narrow and specific scenarios. Decide what test to write The goal of testing is to increase confidence A test's purpose is to increase the confidence that y....
|
|
Tests should be correct by inspection Tests require a different approach than normal code. We don't have tests for tests, so tests need to be correct by inspection -- and the main technique to achieve this is to get rid of the generality of the production code, and exercise only very narrow and specific scenarios. Decide what test to write The goal of testing is to increase confidence A test's purpose is to increase the confidence that y....
|
|
Tests should be correct by inspection Tests require a different approach than normal code. We don't have tests for tests, so tests need to be correct by inspection -- and the main technique to achieve this is to get rid of the generality of the production code, and exercise only very narrow and specific scenarios. Decide what test to write The goal of testing is to increase confidence A test's purpose is to increase the confidence that y....
|
|
If you’re using the AWS suite of Kubernetes-related tools, you’ll be pleased to know that you use Snyk to scan directly into your workflows there, with integrations into Amazon Elastic Container Registry ( ECR ) and Amazon Elastic Kubernetes Service ( EKS ).
|
|
Querying Postgres with Python Fastapi Backend and Leaflet-Geoman Frontend - Applying Geometry Filters
-
geo.rocks
-
5 years ago
-
eng
Querying Postgres with Python Fastapi Backend and Leaflet & Geoman Fronted - Applying Geometry Filters How to query a database with a user-defined geometry drawn on a Leaflet frontend? A very common use case for map applications are custom filters. Either thematic, temporal or value-based filters play a significant role but probably in a geographical context the most dominant one might be spatial filtering. In this blog post, I describe a..
|