I Recently complete a basic ncurses based terminal application for minglinng with bits. I’m working low level most of the times and need to tinker with bits, masks and to translate between number bases (hex to dec, and vice verse). As I’m working 99% of my time in a terminal, I found it very annoying […]
|
|
A few days ago, I decided to start an article about my writing setup. Over the years I have dialed it in, and today I have a pretty neat workflow. As I started on that piece, though, I realized that I had never talked about why I write in plain text. Most aspects of my workflow traces back to that choice, so today I want to explain some of the reasons I made it. Permalink.
|
In this post we are going to manage nested objects of a document indexed with Elasticsearch. The nested type is a specialised version of the object datatype that allows arrays of objects to be indexed in a way that they can be queried independently of each other. – Nested datatype - Official Elasticsearch reference Prerequisites To follow this post you need: an up and running Elasticsearch instance I use 6.7 here an up....
|
In this post we are going to manage nested objects of a document indexed with Elasticsearch. The nested type is a specialised version of the object datatype that allows arrays of objects to be indexed in a way that they can be queried independently of each other. – Nested datatype - Official Elasticsearch reference Prerequisites To follow this post you need: an up and running Elasticsearch instance I use 6.7 here an up....
|
In this post we are going to manage nested objects of a document indexed with Elasticsearch. The nested type is a specialised version of the object datatype that allows arrays of objects to be indexed in a way that they can be queried independently of each other. – Nested datatype - Official Elasticsearch reference Prerequisites To follow this post you need: an up and running Elasticsearch instance I use 6.7 here an up....
|
In this post we are going to manage nested objects of a document indexed with Elasticsearch. The nested type is a specialised version of the object datatype that allows arrays of objects to be indexed in a way that they can be queried independently of each other. – Nested datatype - Official Elasticsearch reference Prerequisites To follow this post you need: an up and running Elasticsearch instance I use 6.7 here an up....
|
|
When I first moved to the Bay area I was fresh out of grad school. I was frequently heading out to dinner or to happy hour after work with colleagues. I was young and single, so why not of course. As time passed, marriage, kids, etc. the ability to go out for a quick drink or dinner was competing with various priorities. Dinner and drinks with co-workers was always a great time. It wasn’t just about hanging out, it built rapport and trust w....
|
|
When I first moved to the Bay area I was fresh out of grad school. I was frequently heading out to dinner or to happy hour after work with colleagues. I was young and single, so why not of course. As time passed, marriage, kids, etc. the ability to go out for a quick drink or dinner was competing with various priorities. Dinner and drinks with co-workers was always a great time. It wasn’t just about hanging out, it built rapport and trust w....
|
|
Starting today, developers can test, fix, and monitor their Azure Repos projects for open source vulnerabilities.
|
|
Avoiding Javascript also means missing out on cool tricks like these, that make writing good code easier when we have no choice but to use it. I work hard to optimize the Python behind this site , but did almost nothing with the 400 lines of uncommented Javascript code behind my LMTV RV builder . I have some serious work ahead of me on that project, and simple tips like these from Antonio Sanchez will make that a lot easier. Permali..
|
|
With today’s Serverless Framework Enterprise release, we are extending the capabilities of Serverless Error Insights to support invocation logs access along with stack traces & more.
|
|
We're continuing to extend our Container Vulnerability Management offering, now providing integration with your container image registries as well.
|
|
Responsibility is only possible by granting ownership and setting expectations. If you don't turn over ownership, don't expect folks to take responsibility. When you grant ownership and set expectations, you'll be astounded what folks will accomplish without you. I am astounded.
|
|
Thoughtworks and MeetupAI welcomed a group of speakers and panelists, presented by Anna Gudmundson, to discuss the business value of ethical Artificial Intelligence and Machine Learning.
|
|
Docker Hub may have reset your account details if it detected that it was part of the breach. What could potentially happen? What should I do to protect my code?
|
|
I haven't seen a movie in theatres since Disaster Artist a few years ago. I try again, this time with Avengers: Endgame.
|
|
Having a small home server I've always wanted to encrypt my files, however I have never wanted to be locked out if I'm far away. Enter dropbear ssh. A small light weight ssh server already packaged in debian to work prior to decryption. Install sudo apt update && sudo apt install dropbear-initramfs Note: initramfs will kick up an error after installing dropbear-initramfs. This is solved after adding your public key Add your ssh key s....
|
|
Having a small home server I've always wanted to encrypt my files, however I have never wanted to be locked out if I'm far away. Enter dropbear ssh. A small light weight ssh server already packaged in debian to work prior to decryption. Install sudo apt update && sudo apt install dropbear-initramfs Note: initramfs will kick up an error after installing dropbear-initramfs. This is solved after adding your public key Add your ssh key s....
|
|
The native low level camera API on Android is a disaster. It’s often cited as one of the worst API’s on Android. To make matters worse there are two separate API’s Camera and Camera2 (yes really). You need to use Camera2 where it’s available but that means no support for older devices. To solve this we picked the Android Camera Kit library when we started building our low level camera support. This proved to be a mistake.
|
|
Are you sure whether your Linux kernel is able to run Containers in an optimal way, or if there are still some missing kernel settings which will lead to some strange issues in the future? Normally you don’t have to bother about this question. When you’re using Docker and Containers on a modern Linux system or on a public cloud offering, this has been already optimized by the Linux distribution or your cloud provider. But when you star....
|
|
I have pondered on this question for years. Today, while I was watching the anime Rurouni Kenshin , finally the answer hit me like a brick. Strong Convictions My thesis is that Strong Convictions in anime characters are the main reason why I like anime so much - whether they are good
|
|
Did you read the latest news from Docker about their newly announced technology partnership together with Arm, “Docker and Arm Partner to Deliver Frictionless Cloud-Native Software Development and Delivery Model for Cloud, Edge, and IoT” ? This is really a great ground-breaking news, as it will enable an improved development workflow. Build and test all your Arm containers on your Intel-based laptop or workstation. These new Arm capab....
|
|
Dominik Vacikar measured growth signals for 4,000 companies, then searched for historical correlations between those signals and stock market performance. His research lead to some interesting results that he plans to turn into an interest product. This reminded me of my work on a Hacker News scraper , a project I hope to revive soon. Permalink.
|
|
Caddy is the swiss army of the web server, and with the recent commercial license changes, it’s time to give it some love back. I have several static websites, some generated with Hugo, some are plain HTML. I wanted a small container, to run it inside a Kubernetes cluster, capable of pulling some git repos and serve them. Caddy-git Caddy is already capable of that with the help of caddy-git unfortunately it is only working with ssh keys.
|
|
I talked about my road to weightlifting the other day, to give you insight into my background. Having reached each end of the fitness spectrum, and after going back and forth between extreme conditioning and extreme strength, I look forward to sharing with you the lessons I learned along the way. As I work to regain the strength I lost over the last month, I want to highlight some of the consequences of that decision. In doing so, I hope ..
|
|
"Activation" library missing when sending email from Jetty on JDK11 despite library included via Maven
-
www.databasesandlife.com
-
7 years ago
-
eng
When trying to send an email, using JavaMail , from my application deployed via the Jetty web server in Docker , I kept on getting the following errors: java.lang.NoClassDefFoundError: javax/activation/DataSource Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource OK so with the upgrade from Java 8 to Java 11, due to Java 9 Project Jigsaw, a lot of things have been “removed” from the JVM. (Perhaps “removed” is not ..
|
So I recently discovered this site. First of all I appreciate that this place is fully functional w...
|
|
I found this article after Making the obvious code fast , where Jack Mott explained the impact of ignoring basic optimization. In his 2016 piece Marginal Gains , he went over some small tips to make developers’ lives easier. He had some good suggestions, and I want to take a minute to emphasize one of his points. Use the command line as much as possible, so that you can automate as much of your work as possible. Most programs wrap....
|
Kalamazoo native is a force behind Gigwalk, a new cellphone app that puts iPhones users to work On May 15, 2011 I was interviewed By Al Jones on Gigwalk at The Kalamazoo Gazette Read Original Article The interiew is pasted below as well... The concept links iPhone users with small jobs they can do, quite often in their spare time. It links companies that need local data — like GPS service providers and online travel services — with a quick,..
|
|
I interact with a lot of people in a given week, a few in person and far more on video and conference calls. I don’t claim to be a perfect person to talk to on the phone, but over the past several years I’ve noticed how painful some conference call experiences can be. As more and more work is conducted virtually and not face to face an ability to do communicate well on conference/voice calls is tied to what success you can deliver. It isn’....
|
|
I interact with a lot of people in a given week, a few in person and far more on video and conference calls. I don’t claim to be a perfect person to talk to on the phone, but over the past several years I’ve noticed how painful some conference call experiences can be. As more and more work is conducted virtually and not face to face an ability to do communicate well on conference/voice calls is tied to what success you can deliver. It isn’....
|
|
Django For quite some time python has been one of my favourite programming language. Although its not the best choice for all use cases, the right tool for the right job after all, it has a very nice flow to it when programming. Things are easily done, the documentation quite good and there is a lot of help available through google. One of the best examples for the excellent ecosphere of libraries that can be used with python is Django ..
|