|
Talking to Postgres Through Java 16 Unix-Domain Socket Channels
-
www.morling.dev
-
5 years ago
-
eng
Table of Contents The Postgres JDBC Driver The Vert.x Postgres Client Other Use Cases Reading a blog post about what’s coming up in JDK 16 recently, I learned that one of the new features is support for Unix domain sockets ( JEP 380 ). Before Java 16, you’d have to resort to 3rd party libraries like jnr-unixsocket in order to use them. If you haven’t heard about Unix domain sockets before, they are "data communications [..
|
|
Talking to Postgres Through Java 16 Unix-Domain Socket Channels
-
www.morling.dev
-
5 years ago
-
eng
Table of Contents The Postgres JDBC Driver The Vert.x Postgres Client Other Use Cases Reading a blog post about what’s coming up in JDK 16 recently, I learned that one of the new features is support for Unix domain sockets ( JEP 380 ). Before Java 16, you’d have to resort to 3rd party libraries like jnr-unixsocket in order to use them. If you haven’t heard about Unix domain sockets before, they are "data communications [..
|
|
Debugging and fixing a SwiftUI keyboardShortcut bug that fails when mixing SwiftUI with UIKit through reverse engineering and LLDB analysis.
|
Learn how to protect API endpoints with access and refresh tokens using the third-party jwt-go library.
|
|
Getting started with FastAPI and MySQL Learn how to create Db driven Rest APIs in FastAPI
-
blog.adnansiddiqi.me
-
5 years ago
-
eng
This post is part of the FastAPI series. In the first post, I introduced you to FastAPI and how you can create high-performance Python-based applications in it. In this post, we are going to work on Rest APIs that interact with a MySQL DB. We will also be looking at how we can organize routers and models in multiple files to make them maintainable and easier to read. FastAPI does not strict you to use a certain database framework. You may u....
|
|
This week I passed the AWS SysOps Administrator (Associate) Exam. Here’s some notes on what I did to prepare, and observations of the process.
|
|
This week I passed the AWS SysOps Administrator (Associate) Exam. Here’s some notes on what I did to prepare, and observations of the process.
|
|
How to Build an API Server in Go - Part 3: Postgres Database
-
bartlomiejmika.com
-
5 years ago
-
eng
The purpose of this article is to provide instructions on how to setup postgres database with our application.
|
|
In the Indian startup circles, Atmanirbhar (self-reliance) is the word of the year. Technology startups of all shapes and sizes, “unicorns” and non-unicorns have incorporated the tri colour and the Made in India label into their brand messaging and advertising campaigns—marketing prowess and valuations built on top of rapid innovation enabled by Free and Open Source Software (FOSS) created all over the world by countless programmers volun..
|
|
In the Indian startup circles, Atmanirbhar (self-reliance) is the word of the year. Technology startups of all shapes and sizes, “unicorns” and non-unicorns have incorporated the tri colour and the Made in India label into their brand messaging and advertising campaigns—marketing prowess and valuations built on top of rapid innovation enabled by Free and Open Source Software (FOSS) created all over the world by countless programmers volun..
|
|
Repository: @knadh/gtbump GitHub release page: v0.3.0 Full Changelog : https://github.com/knadh/gtbump/compare/v0.2.3...v0.3.0
|
|
For one of my classes I am required to take a short weekly exam via Proctorio. There’s been some controversy surrounding this software. Although it claims it’s trustworthy, it’s not open-source, so no one can verify their claims. So naturally, I was reluctant to install it on my primary machine. Enter: the spare raspberry pi I have sitting around.
|
|
For one of my classes I am required to take a short weekly exam via Proctorio. There’s been some controversy surrounding this software. Although it claims it’s trustworthy, it’s not open-source, so no one can verify their claims. So naturally, I was reluctant to install it on my primary machine. Enter: the spare raspberry pi I have sitting around.
|
|
Snyk and Rapid7 strengthen partnership to provide a holistic risk assessment solution for container applications
-
snyk.io
-
5 years ago
-
eng
Since most organizations are taking steps to reduce the friction of application development, containers are rapidly becoming the de facto standard of abstraction and virtualization, helping development teams move code to production as quickly as possible.
|
In /baw/ there is a general webm thread, and I thought we should have that in /pco/. Post anything, ...
|
|
Achieving 11M IOPS & 66 GiB/s IO on a Single ThreadRipper Workstation
-
tanelpoder.com
-
5 years ago
-
eng
TL;DR Modern disks are so fast that system performance bottleneck shifts to RAM access and CPU. With up to 64 cores, PCIe 4.0 and 8 memory channels, even a single-socket AMD ThreadRipper Pro workstation makes a hell of a powerful machine - if you do it right! Update 1: Since 2021, networks have gotten faster and now it is possible to have high-speed reliable remote I/O even in cloud VMs! Here’s my recent article about testing an ..
|
|
Achieving 11M IOPS & 66 GiB/s IO on a Single ThreadRipper Workstation
-
tanelpoder.com
-
5 years ago
-
eng
TL;DR Modern disks are so fast that system performance bottleneck shifts to RAM access and CPU. With up to 64 cores, PCIe 4.0 and 8 memory channels, even a single-socket AMD ThreadRipper Pro workstation makes a hell of a powerful machine - if you do it right! Update 1: Since 2021, networks have gotten faster and now it is possible to have high-speed reliable remote I/O even in cloud VMs! Here’s my recent article about testing an ..
|
|
Are you interested in processing images in Python? Do you need to load and modify images for your Flask or Django website or CMS? Then you most likely will be working with Pillow, the friendly fork of PIL, the Python imaging library. This week on the show, we have Mike Driscoll, who is writing a new book about image processing in Python.
|
|
I am presenting at two different events in February next month. Given the current COVID situation, that is entirely unexpected. In 2020 I only gave four talks , three of which were virtual. I am not holding my breath for 2021. Conferences are going virtual all year-long. Next year too, most likely. There are some clear advantages in going virtual, but the final result is a net negative. Any conference junkie will tell you that she/he att..
|
|
I am presenting at two different events in February next month. Given the current COVID situation, that is entirely unexpected. In 2020 I only gave four talks , three of which were virtual. I am not holding my breath for 2021. Conferences are going virtual all year-long. Next year too, most likely. There are some clear advantages in going virtual, but the final result is a net negative. Any conference junkie will tell you that she/he att..
|
The purpose of this post is to learn how our basic API server can read the body of a request . In addition, we will learn how to use an easy-to-use simple database for beginners called scribble .
|
|
A look at the new os.ReadDir function and os.DirEntry interface coming in Go 1.16, with a comparison to os.scandir in Python.
|
|
The original title included a short list of such positions, including gender nihilism. However, it was pointed out to me that a lot of gender nihilists do not actually hold transphobic views (only few people, who are not even considered nihilists by some, do), so I decided to remove that. This is yet another of those posts that mainly exists for the purpose of quickly debunking opinions I consider incorrect without having to write a full....
|
|
Identify, prioritize, and fix vulnerabilities with Reachable Vulnerabilities for GitHub
-
snyk.io
-
5 years ago
-
eng
In a perfect world, you want to do vulnerability remediation on all issues and end with zero vulnerabilities. But you may not be able to fix all the vulnerabilities at once. You want to start with the most vulnerable issues that impact your application and start vulnerability remediation from there.
|
|
I still have no idea what actually was going on… Most of what I know is in this issue . Basically, my server was sending events successfully, yet, they did not show up on other servers, and then today, it suddenly worked again for whatever reason… In other news, fantasycookie17.onederfultech.com now redirects to fantasycookie17.cf, and I might get a "proper", paid domain during the next Netcup (my favourite registrar so far) sale, probab....
|
|
We’ve seen other articles pointing the finger at unnecessarily bloated websites. Terence Eden’s On the unreasonable effectiveness of simple HTML deserves mention, I think, for two reasons. First, the delivery is incredibly effective. Second, it is effective because of the storytelling. By enveloping the message into an original short, touching story, he achieves two goals. First, he captures the reader’s attention; second, he makes th..
|
|
Introduction Update: I wrote a follow up: Keeping platforms open . Check it out if you found this article interesting. I have never used WhatsApp, and never will. Despite this, I still feel the need to write an article about WhatsApp since it’s the perfect case study to help understand a class of businesses models I call “user domestication”. The domestication of users is high on my list of problems plaguing the human race, and is....
|
|
Zero-downtime deploys with DigitalOcean, GitHub, and Docker
-
blog.logrocket.com
-
5 years ago
-
eng
|
|
An exploration of my favorite 2020 escapism methods (aka the best things I read, watched, and played this year). Read the whole thing .
|
|
The new version of the very sucessful open-source project OpenMapTiles used by 250 millions users every month was just released.
|
|
An exploration of my favorite 2020 escapism methods (aka the best things I read, watched, and played this year). Read the whole thing .
|
|
Creating a SwiftUI button that supports both tap and long-press gestures by bridging to UIKit when SwiftUI's gesture system fails on Catalyst.
|
|
Imagine if you were able to pause your aging and just live at the same age forever − people might pick a time in their 20s or 30s so they could spend time partying; they might pick an older time when they’d have more money and wisdom; but nobody is going to say that they want to be 8 again and spend their time finger painting and learning to use scissors.
|