Pleased to have had the opportunity to use my brain on a programming (#SQL) task.
It was a bit like working out compound interest, when the interest rate changes every year. The task was:
In a manufacturing process, there are various losses of material at each step. Each input component has a cost per kg, so when the mass of the final output is less, the cost per kg of items produced goes up (using costs from the original materials).
Now each processing step has a known loss (e.g. 5% for one step, 6% for the next). The loss acts on what's left from the step before, so is compound.
We want a report of the amount of money lost at each step of the way, with a final total at the end.
The solution involved creating a new #Postgresql operator to do a cumulative multiplication (Postgres can do cumulative sums but not multiplications out of the box) and Window functions, so made my day
Glad to have the help of colleagues as well.
Goblin mode:
When signing up for an account at a new website, set your initial password to “; DROP TABLE CUSTOMERS; COMMIT; —“
Finally! Next #Laravel version will include a way to find a value between two table columns.
'This paper introduces the LEGO® Database, a large natural dataset that can be used to teach Structured Query Language (SQL) and relational database concepts.'
Two open positions in my lab to develop scientific software with python and javascript.
Software: CATMAID
Documentation:
https://catmaid.readthedocs.io/en/stable/
Source code:
https://github.com/catmaid/CATMAID/
If you have experience with #SQL (#postgresql), #python and its many libraries (particularly #django), #rust, and #javascript, write to me and let's discuss.
Examples of open issues: https://github.com/catmaid/CATMAID/issues
I want to be your next #FediHire ! I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.
I currently require a 100% remote position. I cannot relocate from Cove, #Arkansas. I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).
I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with #Haskell, #Purescript, or #Idris as the primary source language. I've previously delivered value in Haskell, #Javascript, #SQL, #Python, #Scala, #Java, #C, and #C++ among others. I can be productive in almost any language (no PHP, please; I promised myself never again).
Xero is hiring Senior Machine Learning Engineer
#python #aws #sql #machinelearning #seniorengineer
Toronto, Canada
Full-time
Xero
Job details https://jobsfordevelopers.com/jobs/senior-machine-learning-engineer-at-xero-com-jun-20-2025-2dab33?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
Ever tried to build a #database for "names" for humans? And ran into exception over exception? Building a database for #Aviation data is equally complicated! There are more exceptions than rules.
Falsehoods Programmers Believe About Aviation
https://flightaware.engineering/falsehoods-programmers-believe-about-aviation/
pro tip for user interface designers:
if you have hundreds of millions of dollars of venture capital and you want to make a user facing data analytics tool of some kind and you think it's reasonable to ask an average human being to type this:
CAST('2023-05-01' AS TIMESTAMP)
to do literally anything with a date or time in your application's user interface, just stop right there. do not pass go, do not collect $200, and do not ever attempt to offer feedback to a UX designer ever again. something is deeply broken inside you that means there are certain mysteries of the universe that even the guys who designed the postgres command line can access that you will never know, and that's ok. You can still live a really rad life.
scariest shit i've seen in years
PandaDoc is hiring Senior Python Engineer, Document App Track (AI Document Generation Team)
#python #django #grpc #aws #kafka #sql #seniorengineer
Remote; Poland
Full-time
PandaDoc
Job details https://jobsfordevelopers.com/jobs/senior-python-engineer-document-app-track-ai-document-generation-team-at-pandadoc-com-jun-10-2025-6a0ddf?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
From shower idea to #Shiny app in two days. A little late for last week’s #TidyTuesday but I couldn’t stop myself from adding a bit more! Movable Data Type explores Project Gutenberg data across different storage backends, comparing structure and performance, running custom queries, and visualizing distributions. #RStats #SQL https://jmclawson.shinyapps.io/movable-datatype/
The new PostgreSQL extension for VScode is amazing!
The VSCode team recently released a new extension for working with Postgres, and its features are mind-blowing. This includes the following features: Support both connections to local and cloud-based Postgres databases
Schema visualizations
Copilot SQL agent
Docker supports
SQL editor
More details on the extension documentation: https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-pgsql
Harlequin: The SQL IDE for Your Terminal.
https://harlequin.sh/
Un chouette outil pour remplacer `psql` et taper des commandes SQL : autocomplétion, formatage, résultats en tableaux, nom des tables…
#sql #psql #outil #cli
I've only scratched the surface, but I'm glad SQL isn't a mystery anymore. I really recommend the SQLBolt tutorial — it’s free, interactive, and easy to get into.
More thoughts on LinkedIn: https://www.linkedin.com/posts/alelazic_sql-sqlbolt-datascience-activity-7335610508605059073-wkZS
@petergleick I don't have alter trace permissions on the #SQL server so I have to ask the admin every time I want to do a trace.
My work email inbox is blessedly sparse though, which is really nice.
It's with my utter dissatisfaction to confirm y'all that PostgreSQL 18 doesn't support `MAX|MIN` aggregates over a UUID column.
This means, you will need to creates the functions I already described... or just plug in Microsoft SQL Server, MySQL or MariaDB as alternatives.
First post might as well be my pinned post! A link to my web projects and a blog, which is mostly about webdev and gaming.
I discovered Mastodon though editing my profile on Itch.io lol. Now I can fill in that field, yay xD.