|
Macros are tricky beasts. Most languages—if they have macros at all—usually include a huge “here there be dragons” warning to warn curious would-be macro programmers of the dangers that lurk ahead. What is it about macros that makes them so dangerous and unwieldy? That’s difficult to answer in general: there are many different macro systems with varying degrees of ease-of-use. Moreover, making macros easy to use safely is an open area of ....
|
|
Introduction I wish it were possible to look up any medical issue without being exposed to the most graphic photographs ever taken by man or beast. — Velveteen , Post on akko.wtf While browsing the WICG discussion forms, I stumbled upon a proposal for a standardized
|
|
There are a number of blogs and serials that I really enjoy reading and (where available), I've tended to subscribe to their RSS feeds using Nextcloud News . What I've noticed though, is that, amongst everything else I do on my phone, the new article notifications do tend to get lost. The result is that I quite often don't notice that a new post has been published unless I happen to see someone else toot it into the fediverse (for exampl....
|
|
Following are some shortcuts that I believe all desktop users should be familiar with. It is not a complete list by any means, and does not include virtual desktop or app pinning shortcuts as I felt those were beyond the scope of common desktop shortcuts. If you feel I omitted a common shortcut, email me ( jason.eckert@trios.com ) and I’ll add it to the list! 1. Windows shortcuts The Windows (⊞) key on your keyboard has the Windows logo p..
|
|
Following are some shortcuts that I believe all desktop users should be familiar with. It is not a complete list by any means, and does not include virtual desktop or app pinning shortcuts as I felt those were beyond the scope of common desktop shortcuts. If you feel I omitted a common shortcut, email me ( jason.eckert@trios.com ) and I’ll add it to the list! 1. Windows shortcuts The Windows (⊞) key on your keyboard has the Windows logo p..
|
|
I recently redid the DNS on my home network, moving from dnsmasq to Unbound and NSD . Unbound acts as the DNS server the network uses, and Unbound hosts losts local zones for my search domains. For reasons, this is really across two sites: our home, and a barn we own a few miles away. Because I am a dork, I have things at both sites :-) My network controller has a built in DNS server which assigns a local domain, a la brians-laptop.l....
|
|
I recently redid the DNS on my home network, moving from dnsmasq to Unbound and NSD . Unbound acts as the DNS server the network uses, and Unbound hosts losts local zones for my search domains. For reasons, this is really across two sites: our home, and a barn we own a few miles away. Because I am a dork, I have things at both sites :-) My network controller has a built in DNS server which assigns a local domain, a la brians-laptop.l....
|
|
Using a Markov chain to generate readable nonsense with 20 lines of Python
-
benhoyt.com
-
2 years ago
-
eng
Describes a simple Markov chain algorithm to generate reasonable-sounding but utterly nonsensical text, and presents some example outputs as well as a Python implementation.
|
|
That one boring Saturday I wanted to learn something more about agents and thought it would be a really cool idea to “unfinalize” java.lang.String. I started working on the project, developed simple transformer: if (name.equals("java/lang/String")) { ClassPool classPool = ClassPool.getDefault(); final CtClass ctClass; try { ctClass = classPool.get(name.replace("/", ".")); } catch (NotFoundException e) { throw new RuntimeException(e); } int ..
|
|
A Java project with published container image that contains intentionally leaky native code to observe symptoms of a memory leak in Java in podman/docker or Kubernetes. Native code intentionally “leaks” provided number of megabytes in a loop. The project runs by default with -XX:NativeMemoryTracking=summary enabled. I wanted to observe how JVM will report native memory, crash and what pod and JVM metrics will look like. Java doesn’t allocat..
|
|
I cannot let 2023 go past without writing anything given it is 20 years of this blog, but an update to Hugo broke things, and getting it to work was just annoying. So I got frustrated enough making Hugo do what I wanted that I ported over to Zola and here we go, I am able to update again! Along the way I took a moment to add all the posts from my original blosxom based blog to the archive , which makes me happy. Really, I want to pos..
|
|
I cannot let 2023 go past without writing anything given it is 20 years of this blog, but an update to Hugo broke things, and getting it to work was just annoying. So I got frustrated enough making Hugo do what I wanted that I ported over to Zola and here we go, I am able to update again! Along the way I took a moment to add all the posts from my original blosxom based blog to the archive , which makes me happy. Really, I want to pos..
|
|
Envoy Proxy is a well known proxy load balancer offering HTTP, gRPC, TCP, customizable with Lua, Go, WASM … It’s often the core component used to build gateways/proxies for Kubernetes. For example Istio is using it as a proxy load balancer for ingresses but also as a sidecar to create a “mesh network”. Envoy Gateway is a more recent project to manage Envoy proxies inside Kubernetes, it is meant to be a common foundation to build on top of i..
|
|
My new #IndieWeb enabled website is now live! You can follow my microblog posts or blog articles by entering @srijan.ch@srijan.ch in your Fediverse app search bar or reply and interact with any post using #Webmention or your Mastodon/Fediverse app. Site Features: Indieauth Webmentions Federation with the fediverse (via Bridgy Fed) Structured author, posts, and feeds using microformats Microsub …
|
|
My new #IndieWeb enabled website is now live! You can follow my microblog posts or blog articles by entering @srijan.ch@srijan.ch in your Fediverse app search bar or reply and interact with any post using #Webmention or your Mastodon/Fediverse app. Site Features: Indieauth Webmentions Federation with the fediverse (via Bridgy Fed) Structured author, posts, and feeds using microformats Microsub …
|
|
Studying Python Software Architecture & Creating Lambda Expressions
-
realpython.com
-
2 years ago
-
eng
Have you moved through the fundamentals of Python, and are you now considering building a more extensive project or complete application? Where can you study the architecture of existing Python projects and learn best practices? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
|
|
Cheapskate beginners guide to switching from hands-on web development to WordPress
-
www.lasselaursen.com
-
2 years ago
-
eng
This post is the third in a three-part series about migrating from a self-built PHP-based Laravel backend to a managed WordPress backend, in an attempt to minimize on-going maintenance and custom code. Part one discussed why moving to WordPress felt like a visit to the Ferengi homeworld, and part two detailed what motivated the switch. […]
|
|
For those interested in the history of tabletop roleplaying game design, Monsters, Aliens, and Holes in Ground is an excellent, near encyclopedic treatment. The author, Stu Horvath, documents major and minor game systems, how they innovated or were influenced by other game systems, and how the systems expanded with settings and adventures. Horvath covers the 1970s through the 2010s and, reading through the entries, chronicles the major ch....
|
|
For those interested in the history of tabletop roleplaying game design, Monsters, Aliens, and Holes in Ground is an excellent, near encyclopedic treatment. The author, Stu Horvath, documents major and minor game systems, how they innovated or were influenced by other game systems, and how the systems expanded with settings and adventures. Horvath covers the 1970s through the 2010s and, reading through the entries, chronicles the major ch....
|
|
Linux RAID Configurations for Data Redundancy and Performance
-
akashrajpurohit.com
-
2 years ago
-
eng
RAID is a popular method of combining multiple physical storage devices into a single logical unit, for the purposes of improving data redundancy and/or performance. Linux has a number of built-in tools and configurations for managing RAID setups. In this article, we'll provide an overview of RAID and the different RAID levels, as well as examples of how to configure and manage RAID arrays in Linux.
|
|
Today I'm introducing a new part of Contraption Company: Essays covering thoughts and opinions on online work, dependability, tools, and craft. My name is Philip, and I'm the founder and owner of Cont...
|
|
Linux RAID Configurations for Data Redundancy and Performance
-
akashrajpurohit.com
-
2 years ago
-
eng
RAID is a popular method of combining multiple physical storage devices into a single logical unit, for the purposes of improving data redundancy and/or performance. Linux has a number of built-in tools and configurations for managing RAID setups. In this article, we'll provide an overview of RAID and the different RAID levels, as well as examples of how to configure and manage RAID arrays in Linux.
|
|
Linux RAID Configurations for Data Redundancy and Performance
-
akashrajpurohit.com
-
2 years ago
-
eng
RAID is a popular method of combining multiple physical storage devices into a single logical unit, for the purposes of improving data redundancy and/or performance. Linux has a number of built-in tools and configurations for managing RAID setups. In this article, we'll provide an overview of RAID and the different RAID levels, as well as examples of how to configure and manage RAID arrays in Linux.
|
|
New #Coffee #BlueTokai This new packaging from BlueTokai looks nice. And the coffee tastes amazing. Chocolatey flavour with very little bitterness.
|
|
New #Coffee #BlueTokai This new packaging from BlueTokai looks nice. And the coffee tastes amazing. Chocolatey flavour with very little bitterness.
|
|
Are you looking to reduce your email marketing costs? With email marketing offering a phenomenal ROI, generating $8.5 billion every... The post Email Marketing Costs: 5 Ways To Save Money In 2024 appeared first on GoSquared Blog .
|
|
How to use XmlWriter along with StringWriter to properly serialize a UTF-8 string
-
nicolaiarocci.com
-
2 years ago
-
eng
Today, I (re)learned how to serialize an XML to a UTF-8 string. Like all the other times I did this, I got backstabbed by StringWriter, which only supports UTF-16. A simple code snippet like this: await using var sw = new StringWriter(); await using var w = XmlWriter.Create(sw, new() { Async = true }); ... await w.FlushAsync(); return sw.ToString(); Will emit this output:
|
|
Learn how to use AND and OR rules and custom messages using OPA and Rego in the second part of our beginner's guide to Rego.
|
|
We're thrilled to announce Snyk’s integration with SentinelOne, offering a unified view that bridges the gap between build-time vulnerabilities and runtime threats to offer real-time threat protection.
|
|
Binding USearch to 10 languages reveals the friction in each ecosystem—from Python's simplicity to Java's complexity—and why C++ still rules performance-critical code.
|
|
Welcome. If you are reading this you either follow me on RSS, watch my blog or were directed here at the start of my GopherConSyd 2023 talk about “Bloom Filters: Building a Cutting Edge Go Search Engine to Explore the World’s Source Code”. Whatever the case may be, welcome! For the slides visit https://boyter.org/static/gophercon-syd-presentation-2023/ then just use the space bar to advance, the arrow keys to move around or the ESC key ..
|