Personal: I’ve been working on a recipe website after some friends and I got frustrated at how bloated existing recipe sites are. It is privacy friendly, fairly accessible and hopefully easy to use.
University: My next university semester starts this week (I’m studying part time as well as working). I’m doing reading-heavy courses this semester so I’ll have to spend time working through the assigned papers.
Work: Trying to keep productive while working from home, partially succeeding :)
hint from an old guy: bigger font, please!
just imagine you’re almost 50, the arms are too short to hold anything to read, and you want to use minimalrecipe on a tablet fixed to a kitchen cupboard door.
Your hands are covered in ground beef, eggs and spices. You want to know what the next part to the recipe is but it’s sitting on the counter a few feet away. If the font is big everything is cool. Otherwise, you’re going to need to wash your hands, check the recipe, stick your hands back in the mixture, finish and wash your hands again. (Or try to use that one knuckle that’s clean on the trackpad, but I don’t recommend it.)
Sure you can zoom at the start, but if you forgot you may be SOL in the middle of some steps.
I agree. The default font size on the web is standard, it’s something like 16 CSS
px if I remember correctly. Every website should use this size for body text. But hopefully one CSS px is not one pixel on the display and good web browsers support adjusting this ratio through zooming. I don’t remember how to do this on Android (from memory it was a bit awkward on Chrome), but on iOS there’s the “aA” button at the left of the URL bar and you can also set a default level in the settings.
Thanks! I’ll think about ways we can cater for this, though I’d prefer not to increase the default font size too much. Perhaps we could have a setting that increases the font size, but would probably have to have a cookie notice if we were to make it persistent between visits (I think?). Another idea we’ve discussed was having a ‘viewing mode’ just for tablets in the kitchen
CSS can accomplish this fairly simply with some well-placed media queries to provide different font sizes depending on the display’s logical resolution.
Thank you! We just want to grow the number of high quality recipes that are on there to maximise the public good that the website can bring. We’re not looking to make a living or anything. The idea is to keep the features simple and people-first (privacy first, accessibility first, etc). Hopefully then we will naturally gain usage, and full bellies :)
I note that the crepes recipe mentions keeping batter in the fridge and making more later. Is that even possible? I’ve always seen the batter run out before people’s appetites. :-)
Also, the Irish Soda Bread recipe doesn’t have units on its oven instructions.
This looks fantastic! Bookmarked. Do you have any thoughts on allowing people to add recipes via GitHub or something similar (and you folks still get to control what gets in)?
Thanks a lot! At the moment, we’re taking suggestions via email (suggestions@minimalrecipe.com) but might let people submit PR’s directly in the future.
Sometimes programming is so hard. Today I had to choose between evils, and deadlocked, typing nothing for three hours. Scrolling hither and thither. Eventually I settled for repeating some code “unnecessarily”. It works but those three hours are gone and I feel bad.
These things happen to everyone, and have since the first proto-human was banging rocks together to make more useful rocks. Forgive yourself for it, think about how to avoid the deadlock next time… and then move on, change gears, and do something that makes you feel happy and productive. If you weren’t good at this stuff you wouldn’t be taking it so hard.
Sure, I come into the office, putter around, check my email every ten seconds, read the web, even do a few brainless tasks like paying the American Express bill. But getting back into the flow of writing code just doesn’t happen.
These bouts of unproductiveness usually last for a day or two. But there have been times in my career as a developer when I went for weeks at a time without being able to get anything done. As they say, I’m not in flow. I’m not in the zone. I’m not anywhere.
That’s part of the job. I’ve been at this 20 years professionally and both paid and hobby work in highschool/college. I’ve had so many things that are 1-2 line fixes that too HOURS of this before I figured it out and wrote something.
And that’s on a “normal” day, let alone when there’s an actual crisis to be managed and people who are working are often now scared because their friends are getting laid off.
When I feel this way (often) I try to remember a quote I like from Fred Brooks:
The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination.
That’s a great quote. Which book? I don’t recall it from the Brooks book I have.
I think you might enjoy this image, or perhaps enjoy isn’t the right word. I didn’t enjoy it at all. Appreciate yes, enjoy no. I was doing some particularly intricate programming on the day I first saw it, and it hurt.
I’m gonna add my voice to the crowd and say that we all have one (or more) of these days. It’s part of “a process”, I guess.
Many years ago I arrived at the office and I found one of the lead devs of the team I was in goofing around with some music tracker. He said he’d tried to code that day, failed miserably, and it was just one of those days when it was not gonna happen. So this guy, one of the smartest and most disciplined people I’ve ever known, who – if the situation required it – would sit down at 8 AM and crank out code until 6 AM, spent the rest of the day listening to 1980s tracker music and metalcore.
He thought (and today I think so, too!) that forcing code out of a brain that has run out of code steam will generally result in bad decisions that will take much longer to fix. Sometimes you just gotta stop and binge watch something or play or read or whatever.
I feel like a rat on a wheel, so I am stopping all programming outside of work. This is going to be the best of a computer detox I can do and will include other computer-based leisure activities (YouTube, games, Netflix). I’m also going to try to skip out on other electronics for as a long as I can.
I’ve been cranking out web-based UIs for a while, so going back to asynchronously updating a tree of stateful widgets is …interesting. I wish I could have just printed a <form>.
Rust, so the choice of GTK was partly due to gtk-rs being the most complete rustified toolkit. The wrapper is quite nice. Python examples can be copied almost 1:1.
I’m juggling with two projects this week so there’s not much time left for non-essential things. So here’s what I’ll probably postpone:
Fixing our espresso machine. It’s a clunky, unpretentious thing but it’s one of the first presents I got for my wife when we moved to our apartment years ago, so there’s no way I’m giving up on the little bugger.
Playing with wlroots, which I really like. I’m piling hacks on top of tinywl in the hope of eventually producing something that resembles the old Workbench interface. Wayland (and the tools around it) are finally stable enough that I can realistically stay on top of Wayland-related code even if I don’t touch it for weeks at a time.
More of the cryptopals challenges, *sigh*.
On the other hand I’m pretty happy with the projects that I’m involved in right now, I don’t mind cranking up the pace for a few weeks/months.
Fixing our espresso machine. It’s a clunky, unpretentious thing but it’s one of the first presents I got for my wife when we moved to our apartment years ago, so there’s no way I’m giving up on the little bugger.
If water canal is clogged: use formic acid (which is often used by central heating professionals to decalcinate the hydronic parts of cast furnaces, but you can also buy it especially for espresso machines, at a premium).
rinse with deionized water or destilled water and compressed air. caution: formic acid is not kind to skin or eyes, wear safety glasses, gloves and old, long sleeved stuff. But it only goes after the calcium and not after the chrome. it may happen that the clog compund was calcium and some form of biofilm. formic acid will only remove the calcium, the rest of the biofilm will still be there. in my case the pressurized ait got out everything, but you could use some lye out of demineralized water and dishwasher tabs (these have enzymes which eat up proteines, also proteines of biofilms. Rinse even more after using the dishwasher lye!
You could also use pipe cleaners, but I found these harder to come by than the chemicals.
Oh, thanks! Formic acid was one of the things my mind raced to but I thought it would be overkill for a silly espresso machine. Good to know it’s not. I’d rather avoid things that require me to put on safety glasses, but if it turns the deposit is too nasty, formic acid it is!
You could also use pipe cleaners, but I found these harder to come by than the chemicals.
As luck would have it I actually do smoke pipe, and have a handy supply of these!
FWIW, any place that also sells pipe tobacco is bound to carry them. Not just tobacco shops – I get mine at a fancy wine shop that’s pretty near to my place (I don’t really like the place but I regularly run out of pipe cleaners and it’s the closest place where I can get them). They aren’t advertised anywhere and they don’t sell pipes, either, I asked on a whim.
I upgraded h11 to use Zig 0.6.0, but it took me the weekend to understand how ownership should be done (questions I never ask myself in Python ^^): I hope to finish it tonight.
Train before saturday to last longer than a friend at Bring Sally Up
Try to code a small web service with goland and fiber. I am want to see the benefits compared with Python/Django.
Trying to figure out a schedule where I safely get out of the apartment more often and both off technology and take a break from everything being either work or immediate family every single day and no time for myself.
Also trying to figure out how to be way more selective about social media.
Apparently my brain decided I would be making a Gameboy emulator so that’s what I was doing until bad hours of the night last night. I can execute the boot rom, but I should make a display to see if it works correctly.
Somewhat guiltily reinventing wheels. But it’s exciting to be building a simple bytecode interpreter for expressions and applying it to a query engine for JSON-ish data. I know some of the theory behind things like query planning and indexing, but it’s neat to put it into practice.
And so far it’s too fast to measure (hyperbole!) It was fun to come up with clever optimizations for the bytecode, but were they really necessary when indexing the whole database already took only 5ms?
That’s a dead end. Use a invisible checkbox input instead, controlled by a label. Then use the input’s :checked pseudoelement to in css to make it visible by using a sibling selector. Like this:
Starting off, at least, with a bit of Yak-shaving.
One of the chapters I’m writing is how to better scale microservices, so I need a coding example (that’s not under a NDA) where I can show that in action.
That means finding a sample microservice, stripping it except for the essentials, then writing a quick BASH script to generate new projects using the template plus a project name. Finally going in and adding the minimal amount of code to demonstrate coordination.
I figure five microservices. I started Thursday afternoon with a traditional “How hard could it be?” statement. I am still screwing around with it. One of the things I find most difficult is that I’m not trying to generalize the template; that is, I’m not trying to make some kind of framework. I just need some sample projects in place. So I don’t have to make the dang thing perfect. Still, even knowing that, the defects call to me….
$WORK: Continuing a slightly frenetic pace of project tests and updates, still at the cost of prep for the next project. I’m one of the people who is doing the physical stuff so that others can keep working from home, which is stressful.
$PLAY: Much like @x64k apparently, I’m playing with wlroots, though I’m still working through re-creating the tinywl example in Rust. Annoyingly there does not seem to be an up to date wlroots-sys crate, but it took an hour or two to roll my own with bindgen, most of which was learning how to use bindgen and getting the stupid include paths right. Works fine so far, but I haven’t actually done anything but a skeleton.
“Almost offline week”: Get the garden allotment started. Weather is nice, and I managed to get organic cattle manure, woodchips and some compost shipped (normally I’d fetch it myself, but self-quarantine…), and I have reduced work hours, and I will likely spend the whole year at home, so why not making it nice & complete.
If Amazon finally delivers: make some decent WLAN in the garden (for the same reason).
Work: Implementing Jira Data Center Single Node on our test environment and same time learning Terraform to provision infrastructure needed for Jira Data Center Cluster environment.
Fitness: Taking advantage of Corona, I’ve pledged to run total 100 miles in month of April. So far I’ve logged 71 miles (average 24 miles/week). Hoping to hit the goal before month end. Also there is added challenge that I’m going to try on May 3rd. So this is all helping towards this objective.
Mentoring: Working with undergrads, we’ve setup a goal that before start of next school year, we will complete few essential courses and ready for real world work! We just did kick-off yesterday. Planning to be do more ground work this week so that we all can start from next week. Hoping we will have lot of fun along the way!
Finally making some progress rebuilding my personal website with phoenix and elixir. Inspired by dashbit and Saša Jurić.
I’ve also been playing around with Roam Research and while I love the backlinks functionality I don’t love the idea of outsourcing my personal knowledge store to a third party so I’m playing around with doing backlinks with vim-wiki and vim-zettel.
At work we’re building with Phoenix Liveview which has been amazing. Working on our text editor probably this week.
A digital floppy disk box, a floppybox. Originally I had the idea as a parody of drop box that provided cloud storage in 1.44 MB chunks. I bought the domain on a whim over a year ago and the idea had collected dust ever since.
I mooted the idea of dusting it off and making it into some kind of art project, with each “disk image” being statically served via a custom subdomain (which could be CNAME linked to a users domain if they so wish) to see what creative things people can fit into 1.44 MB a bit like the demoscene but with digital art/web based projects.
People will be able to upload either archives (zip,tar, etc) containing no more than 1.44 MB in uncompressed content or a disk image of the same size restriction. Once uploaded, before publishing (if they choose to do so publicly or not) they can toggle the image as statically served content or to be displayed in something similar to js-dos or [pce-js])https://jamesfriend.com.au/pce-js/ibmpc-games/)
–
Those aggregators look nifty, I operate a pixelfed server: federated.photos, but need to do a bit of maintenance on it as I think it’s a fair few versions behind current stable.
They actually remind me of another project I have on the back burner, aggregating polls on the fediverse and displaying results as a grid of pie charts.
Sure. So basically I have a csv file which is read by the script and then later data from the csv file is used to generate necessary graphs and data is supposed to go into the pdf and
et voila using jinja and html I am able to generate a pdf report using python pdfkit module. I will write a blog post on doing something similar
Getting some gardening stuff ready for the missus.
Working a bit on organizing my mountain of old notes and notebooks. It’s going to be a monster project to get them all digitized and indexed.
Bought an antique farm table for the dining room, so I have to navigate getting that picked up, decontaminated, and in the house.
I put my raytracer project on hold for a while, started to get a little burnt on it after rewriting all the vector math bits. I’ll probably come back to it next week.
$WORK:
Not a ton I can go into, but there’s a lot of things and I am responsible for many of them. Lots of people depending on timelines being met. Working in Healthcare (even my distant status as “Guy-who-makes-things-blink-in-the-right-order”) is even more hectic than it usually is.
$WORK: Upgrading several of our ELK clusters (used for logging mostly) and moving some stuff into k8s. Wrapping a PR for filebeat that I’ve been procrastinating long enough by now. Finishing some design documents and a couple of tiny things.
$HOME: I’m playing with Loki which is “like Prometheus but for logs”. I’m using it for a personal project, the general idea is to collect metrics from the few visitors of my blog and generate useful metrics, which should work without any Javascript (in the browser at least). I will probably setup minio to have a usable S3 object storage on top of Azure (which I use to run some small things).
Not complaining too much because I still have a good job.
Co-ordinating three kids’ schooling-from-home over a peculiar mix of Zoom, YouTube, MS Teams, and sundry other systems that confuse adults on good days.
Working from home inbetween all the school-from-home stuff. More challenging since moving into tech management; it’s easier to code remotely than it is to, say, help a team to go from a high-level mission to concrete objectives. At least I find it easier; perhaps that’s just because I’ve been doing the former for longer than the latter.
Trying to get a Common Lisp development environment going on my PinePhone - the idea being to develop GUI apps interactively, with Emacs + SLIME running on my laptop, connecting to a running SBCL instance on the phone.
At home, I go back and forth from wanting to work on some side projects I have queued up to wanting to focus on anything but computers. So, it’s a toss up there.
At work, I’m on point for handling this week’s unplanned work. So, trying to chew through that small backlog that’s there and quickly resolve anything that pops up.
Half way through ‘Expert C’. It’s a very enjoyable read and it is really helping me understand so many things. Also, started learning and making some graphics with Inkscape for fun.
Continuing to work on a localization side project https://github.com/wolfadex/fluent-web. It’s ready to use, just want to migrate the docs to to use the project itself
Continue looking for a new job after being laid off
Personal: I’ve been working on a recipe website after some friends and I got frustrated at how bloated existing recipe sites are. It is privacy friendly, fairly accessible and hopefully easy to use.
University: My next university semester starts this week (I’m studying part time as well as working). I’m doing reading-heavy courses this semester so I’ll have to spend time working through the assigned papers.
Work: Trying to keep productive while working from home, partially succeeding :)
yep, the minimalism rocks!
hint from an old guy: bigger font, please! just imagine you’re almost 50, the arms are too short to hold anything to read, and you want to use minimalrecipe on a tablet fixed to a kitchen cupboard door.
You can zoom the page to make the fonts bigger.
Counterpoint:
Your hands are covered in ground beef, eggs and spices. You want to know what the next part to the recipe is but it’s sitting on the counter a few feet away. If the font is big everything is cool. Otherwise, you’re going to need to wash your hands, check the recipe, stick your hands back in the mixture, finish and wash your hands again. (Or try to use that one knuckle that’s clean on the trackpad, but I don’t recommend it.)
Sure you can zoom at the start, but if you forgot you may be SOL in the middle of some steps.
I agree. The default font size on the web is standard, it’s something like 16 CSS
px
if I remember correctly. Every website should use this size for body text. But hopefully one CSSpx
is not one pixel on the display and good web browsers support adjusting this ratio through zooming. I don’t remember how to do this on Android (from memory it was a bit awkward on Chrome), but on iOS there’s the “aA” button at the left of the URL bar and you can also set a default level in the settings.Thanks! I’ll think about ways we can cater for this, though I’d prefer not to increase the default font size too much. Perhaps we could have a setting that increases the font size, but would probably have to have a cookie notice if we were to make it persistent between visits (I think?). Another idea we’ve discussed was having a ‘viewing mode’ just for tablets in the kitchen
CSS can accomplish this fairly simply with some well-placed media queries to provide different font sizes depending on the display’s logical resolution.
Oh wow, that recipe website rocks! It’s a breath of fresh air.
Thank you very much :)
This is awesome. Where are you planning to take your recipe site?
Thank you! We just want to grow the number of high quality recipes that are on there to maximise the public good that the website can bring. We’re not looking to make a living or anything. The idea is to keep the features simple and people-first (privacy first, accessibility first, etc). Hopefully then we will naturally gain usage, and full bellies :)
I note that the crepes recipe mentions keeping batter in the fridge and making more later. Is that even possible? I’ve always seen the batter run out before people’s appetites.
:-)
Also, the Irish Soda Bread recipe doesn’t have units on its oven instructions.
I’ve had that happen when my eyes were bigger than my belly!
Thanks, I’ll fix that soon. :)
Edit: Fixed.
Padrón peppers? Is there a Galician in our midst?
Nope, the site is made by two British people and a French person, but that doesn’t mean we don’t love food from a little further West!
Ah, gotcha! My father is from Galicia, but in California it’s a lot more common to see shishito peppers.
This looks fantastic! Bookmarked. Do you have any thoughts on allowing people to add recipes via GitHub or something similar (and you folks still get to control what gets in)?
Thanks a lot! At the moment, we’re taking suggestions via email (suggestions@minimalrecipe.com) but might let people submit PR’s directly in the future.
I’m also working on one of these! We have a recipe database but all the individual recipes are still on bloated websites and it’s very frustrating.
Do you use the canonical recipe format?
We don’t use the recipe format, but that’s a great suggestion. Thanks!
Update, we just implemented this. It’s live now and we’ll improve the integration in the future.
Amazing! I’m excited to check it out.
This is great. I love the minimal design.
Do you have plans to open source the recipe website? I am looking to build my own collection.
Not yet, possibly in the future :)
$WORK: Negotiating new contracts after being laid off, can afford to be picky so taking it slow.
$PLEASURE: Took the tactic of ‘keep calm and adopt a puppy’ so a lot of puppy training.
$RESEARCH: Side-channels on remote desktop protocols and related crypto designs.
We need a puppy picture here.
This week I’ve been procrastinating. Sigh.
Sometimes programming is so hard. Today I had to choose between evils, and deadlocked, typing nothing for three hours. Scrolling hither and thither. Eventually I settled for repeating some code “unnecessarily”. It works but those three hours are gone and I feel bad.
These things happen to everyone, and have since the first proto-human was banging rocks together to make more useful rocks. Forgive yourself for it, think about how to avoid the deadlock next time… and then move on, change gears, and do something that makes you feel happy and productive. If you weren’t good at this stuff you wouldn’t be taking it so hard.
This was the guy behind VBA, Trello, and Stack Overflow talking. So don’t beat yourself up. It happens to all of us, including the great.
That’s part of the job. I’ve been at this 20 years professionally and both paid and hobby work in highschool/college. I’ve had so many things that are 1-2 line fixes that too HOURS of this before I figured it out and wrote something.
And that’s on a “normal” day, let alone when there’s an actual crisis to be managed and people who are working are often now scared because their friends are getting laid off.
Go easy on yourself.
When I feel this way (often) I try to remember a quote I like from Fred Brooks:
That’s a great quote. Which book? I don’t recall it from the Brooks book I have.
I think you might enjoy this image, or perhaps enjoy isn’t the right word. I didn’t enjoy it at all. Appreciate yes, enjoy no. I was doing some particularly intricate programming on the day I first saw it, and it hurt.
I don’t know who made it.
His most famous — The Mythical Man-Month
I’m gonna add my voice to the crowd and say that we all have one (or more) of these days. It’s part of “a process”, I guess.
Many years ago I arrived at the office and I found one of the lead devs of the team I was in goofing around with some music tracker. He said he’d tried to code that day, failed miserably, and it was just one of those days when it was not gonna happen. So this guy, one of the smartest and most disciplined people I’ve ever known, who – if the situation required it – would sit down at 8 AM and crank out code until 6 AM, spent the rest of the day listening to 1980s tracker music and metalcore.
He thought (and today I think so, too!) that forcing code out of a brain that has run out of code steam will generally result in bad decisions that will take much longer to fix. Sometimes you just gotta stop and binge watch something or play or read or whatever.
I feel like a rat on a wheel, so I am stopping all programming outside of work. This is going to be the best of a computer detox I can do and will include other computer-based leisure activities (YouTube, games, Netflix). I’m also going to try to skip out on other electronics for as a long as I can.
I’m learning GTK.
I’ve been cranking out web-based UIs for a while, so going back to asynchronously updating a tree of stateful widgets is …interesting. I wish I could have just printed a
<form>
.What language are you using?
Rust, so the choice of GTK was partly due to
gtk-rs
being the most complete rustified toolkit. The wrapper is quite nice. Python examples can be copied almost 1:1.I’m working on Pybench, a Python benchmarks suite inspired by Geekbench.
I’m juggling with two projects this week so there’s not much time left for non-essential things. So here’s what I’ll probably postpone:
On the other hand I’m pretty happy with the projects that I’m involved in right now, I don’t mind cranking up the pace for a few weeks/months.
If water canal is clogged: use formic acid (which is often used by central heating professionals to decalcinate the hydronic parts of cast furnaces, but you can also buy it especially for espresso machines, at a premium). rinse with deionized water or destilled water and compressed air. caution: formic acid is not kind to skin or eyes, wear safety glasses, gloves and old, long sleeved stuff. But it only goes after the calcium and not after the chrome. it may happen that the clog compund was calcium and some form of biofilm. formic acid will only remove the calcium, the rest of the biofilm will still be there. in my case the pressurized ait got out everything, but you could use some lye out of demineralized water and dishwasher tabs (these have enzymes which eat up proteines, also proteines of biofilms. Rinse even more after using the dishwasher lye! You could also use pipe cleaners, but I found these harder to come by than the chemicals.
Oh, thanks! Formic acid was one of the things my mind raced to but I thought it would be overkill for a silly espresso machine. Good to know it’s not. I’d rather avoid things that require me to put on safety glasses, but if it turns the deposit is too nasty, formic acid it is!
As luck would have it I actually do smoke pipe, and have a handy supply of these!
FWIW, any place that also sells pipe tobacco is bound to carry them. Not just tobacco shops – I get mine at a fancy wine shop that’s pretty near to my place (I don’t really like the place but I regularly run out of pipe cleaners and it’s the closest place where I can get them). They aren’t advertised anywhere and they don’t sell pipes, either, I asked on a whim.
as in this style: https://www.youtube.com/watch?v=3O40cPUqLbU
or one of the fancier new ones?
I’m aiming for something that’s closer to what you could get in 3.9, something like this or like this, for example.
The rate at which it’s happening is about one weekend per month, though, so it should be out just in time for the new Amiga :).
I upgraded h11 to use Zig 0.6.0, but it took me the weekend to understand how ownership should be done (questions I never ask myself in Python ^^): I hope to finish it tonight.
Train before saturday to last longer than a friend at Bring Sally Up
Try to code a small web service with goland and fiber. I am want to see the benefits compared with Python/Django.
Previous What are you doing this weekend
Reading Systems Performance, contemplating getting a Linux laptop once again, binging through conference videos from this blog post: https://medium.com/@copyconstruct/best-of-2019-in-tech-talks-bac697c3ee13
Trying to figure out a schedule where I safely get out of the apartment more often and both off technology and take a break from everything being either work or immediate family every single day and no time for myself.
Also trying to figure out how to be way more selective about social media.
Apparently my brain decided I would be making a Gameboy emulator so that’s what I was doing until bad hours of the night last night. I can execute the boot rom, but I should make a display to see if it works correctly.
Best of luck! Making an emulator was one of the most satisfying personal projects I’ve done.
That’s good to hear! I’m probably the most stuck on graphics right now. Loading and rendering the tiles, etc
Work:
Personally:
My company reduced pay to 80% and cut our work week to 4 days… so I have Fridays off for the next 4 months. Time to learn some new skills.
Onboarding at a new job.
Somewhat guiltily reinventing wheels. But it’s exciting to be building a simple bytecode interpreter for expressions and applying it to a query engine for JSON-ish data. I know some of the theory behind things like query planning and indexing, but it’s neat to put it into practice.
And so far it’s too fast to measure (hyperbole!) It was fun to come up with clever optimizations for the bytecode, but were they really necessary when indexing the whole database already took only 5ms?
Refactoring my Web site. Making a decent CSS burger menu that works on
:focus
is not as easy as it may look.Oh, let me know what you find.
My website is using a “checkbox dropdown hack” from ~2015 and I have yet to figure out what the non-hack 2020 version of that would look like.
That’s a dead end. Use a invisible checkbox input instead, controlled by a label. Then use the input’s :checked pseudoelement to in css to make it visible by using a sibling selector. Like this:
Starting off, at least, with a bit of Yak-shaving.
One of the chapters I’m writing is how to better scale microservices, so I need a coding example (that’s not under a NDA) where I can show that in action.
That means finding a sample microservice, stripping it except for the essentials, then writing a quick BASH script to generate new projects using the template plus a project name. Finally going in and adding the minimal amount of code to demonstrate coordination.
I figure five microservices. I started Thursday afternoon with a traditional “How hard could it be?” statement. I am still screwing around with it. One of the things I find most difficult is that I’m not trying to generalize the template; that is, I’m not trying to make some kind of framework. I just need some sample projects in place. So I don’t have to make the dang thing perfect. Still, even knowing that, the defects call to me….
Working from home, continuing to learn SaltStack, and working on my pi-hole blocklist: https://twitter.com/RooneyMcNibNug/status/1246197954207154176
$WORK: Continuing a slightly frenetic pace of project tests and updates, still at the cost of prep for the next project. I’m one of the people who is doing the physical stuff so that others can keep working from home, which is stressful.
$PLAY: Much like @x64k apparently, I’m playing with
wlroots
, though I’m still working through re-creating thetinywl
example in Rust. Annoyingly there does not seem to be an up to datewlroots-sys
crate, but it took an hour or two to roll my own withbindgen
, most of which was learning how to usebindgen
and getting the stupid include paths right. Works fine so far, but I haven’t actually done anything but a skeleton.“Almost offline week”: Get the garden allotment started. Weather is nice, and I managed to get organic cattle manure, woodchips and some compost shipped (normally I’d fetch it myself, but self-quarantine…), and I have reduced work hours, and I will likely spend the whole year at home, so why not making it nice & complete.
If Amazon finally delivers: make some decent WLAN in the garden (for the same reason).
Personal: finish updates for the next release of my forth system, starting work on a new code editor for personal use
Work: implementing SMS and email order status notifications for customers
Other: begin planting herbs, repairing the beds for my mom’s garden
Work: Implementing Jira Data Center Single Node on our test environment and same time learning Terraform to provision infrastructure needed for Jira Data Center Cluster environment.
Fitness: Taking advantage of Corona, I’ve pledged to run total 100 miles in month of April. So far I’ve logged 71 miles (average 24 miles/week). Hoping to hit the goal before month end. Also there is added challenge that I’m going to try on May 3rd. So this is all helping towards this objective.
Mentoring: Working with undergrads, we’ve setup a goal that before start of next school year, we will complete few essential courses and ready for real world work! We just did kick-off yesterday. Planning to be do more ground work this week so that we all can start from next week. Hoping we will have lot of fun along the way!
Finally making some progress rebuilding my personal website with phoenix and elixir. Inspired by dashbit and Saša Jurić.
I’ve also been playing around with Roam Research and while I love the backlinks functionality I don’t love the idea of outsourcing my personal knowledge store to a third party so I’m playing around with doing backlinks with vim-wiki and vim-zettel.
At work we’re building with Phoenix Liveview which has been amazing. Working on our text editor probably this week.
I shared a project idea I had on the fediverse and almost 100 people showing interest, so spurred on from that I have begun building it.
What kind of idea ? I’ve been working on some aggregators.
https://mastodonia.club
https://pixelfed.club
Let me know if you want to talk
A digital floppy disk box, a floppybox. Originally I had the idea as a parody of drop box that provided cloud storage in 1.44 MB chunks. I bought the domain on a whim over a year ago and the idea had collected dust ever since.
I mooted the idea of dusting it off and making it into some kind of art project, with each “disk image” being statically served via a custom subdomain (which could be CNAME linked to a users domain if they so wish) to see what creative things people can fit into 1.44 MB a bit like the demoscene but with digital art/web based projects.
People will be able to upload either archives (zip,tar, etc) containing no more than 1.44 MB in uncompressed content or a disk image of the same size restriction. Once uploaded, before publishing (if they choose to do so publicly or not) they can toggle the image as statically served content or to be displayed in something similar to js-dos or [pce-js])https://jamesfriend.com.au/pce-js/ibmpc-games/)
–
Those aggregators look nifty, I operate a pixelfed server: federated.photos, but need to do a bit of maintenance on it as I think it’s a fair few versions behind current stable.
They actually remind me of another project I have on the back burner, aggregating polls on the fediverse and displaying results as a grid of pie charts.
Building a pdf report generator
Curious to know what’s the use case here.
It’s basically generating financial reports
Oh cool! Looking forward to hear more on the same. Take care!
Sure. So basically I have a csv file which is read by the script and then later data from the csv file is used to generate necessary graphs and data is supposed to go into the pdf and et voila using jinja and html I am able to generate a pdf report using python pdfkit module. I will write a blog post on doing something similar
Looking forward to this blog post. Thank you!
$HOME:
$WORK:
$WORK: Upgrading several of our ELK clusters (used for logging mostly) and moving some stuff into k8s. Wrapping a PR for filebeat that I’ve been procrastinating long enough by now. Finishing some design documents and a couple of tiny things.
$HOME: I’m playing with Loki which is “like Prometheus but for logs”. I’m using it for a personal project, the general idea is to collect metrics from the few visitors of my blog and generate useful metrics, which should work without any Javascript (in the browser at least). I will probably setup minio to have a usable S3 object storage on top of Azure (which I use to run some small things).
Not complaining too much because I still have a good job.
Co-ordinating three kids’ schooling-from-home over a peculiar mix of Zoom, YouTube, MS Teams, and sundry other systems that confuse adults on good days.
Working from home inbetween all the school-from-home stuff. More challenging since moving into tech management; it’s easier to code remotely than it is to, say, help a team to go from a high-level mission to concrete objectives. At least I find it easier; perhaps that’s just because I’ve been doing the former for longer than the latter.
Trying to get a Common Lisp development environment going on my PinePhone - the idea being to develop GUI apps interactively, with Emacs + SLIME running on my laptop, connecting to a running SBCL instance on the phone.
At home, I go back and forth from wanting to work on some side projects I have queued up to wanting to focus on anything but computers. So, it’s a toss up there.
At work, I’m on point for handling this week’s unplanned work. So, trying to chew through that small backlog that’s there and quickly resolve anything that pops up.
Half way through ‘Expert C’. It’s a very enjoyable read and it is really helping me understand so many things. Also, started learning and making some graphics with Inkscape for fun.
Continuing to work on a localization side project https://github.com/wolfadex/fluent-web. It’s ready to use, just want to migrate the docs to to use the project itself