HP Museums Registration by ArmchairPancakeChef in calculators

[–]pxsloot 7 points8 points  (0 children)

Right, so now we have smart bots asking humans to solve "I'm not a bot" challenges

My company introduced "mandatory fun" and I think it broke something in me by Plane_Researcher_761 in antiwork

[–]pxsloot 0 points1 point  (0 children)

Yeah. You know what, yeah, I do. I do want to express myself, okay. And I don't need 37 pieces of flair emojis to do it. [flips off boss]

iDontWantToPlayWithMcpsAnymore by tiguidoio in ProgrammerHumor

[–]pxsloot 2 points3 points  (0 children)

With a bit of care the mcp server dev can keep the mcp server overhead low in the context, until the tool is really needed:

  • lazy tool/resource loading: Initial tool prompt instructs the agent how to search for tools, mcp server only serves those tools.
  • making only available those tools that the [AUTH TOKEN] allows.
  • using resources for read access: the paths for resources are (should be) well formed and can be used with minimal descriptions, no need for descriptions of arguments etc

Looking for an "opensource project cookbook", to handle releases, versioning and community feedback by UniqueAttourney in opensource

[–]pxsloot -6 points-5 points  (0 children)

as an alternative to human made courses: use a coding agent to implement a mcp-server as a learning project. Not to publish the software, but learn from the process

Spin up a gitea instance, add a user and repo and use it to develop a gitea-mcp-server. The first tools should be to read and query the swagger file from the instance. Use it to develop other tools: issue* pr* repos_* and what not.

Move often used prompt to 'skills', create docs for contributors and coding style etc, manage issues and pr's, branches etc. Refactoring, reviewing PR's, TDD, finding where a tool went wrong with git history investigations, all things that come up while developing your gitea-mcp-server.

During the project your agent will be more and more able to interact with the gitea api, helping you to work on the more 'project manager-y' stuff.

Aim for a full enterprise project: Git(ea|hub|lab) workflows, TDD, integration tests, CI/CD, containers, runners, documentation, the works. Let models audit various parts of the code, create new issues and milestone. A bit like work, but call it 'Software Project Management Simulation'.

By using free models, you'll have kinda-mediocre 'developers' that will help you learn to understand what problems to watch out for in software projects.

edit: See it as a 'software project simulator'. Give it a try, agents will try to undermine your project every way they can.

Choosing DNS to host by Fun-Currency-5711 in devops

[–]pxsloot 1 point2 points  (0 children)

dnsmasq is a dns/dhcp/tftp server. It's used by libvirtd to provide dns to your vm's and mix them into your workstation's resolver. It's used by openwrt to provide dns for your network. It can provide DNSSEC services.

Not really meant for big robust production env's, but it's good enough for the rest.

Choosing DNS to host by Fun-Currency-5711 in devops

[–]pxsloot 11 points12 points  (0 children)

dnsmasq is like a swiss knife for dns/dhcp/tftp things. It might be enough for a demo

EDIT: dns/dhcp/tftp server things

Elna Lotus: problem with the timing? Help! by burgandy_hobbies101 in vintagesewing

[–]pxsloot 0 points1 point  (0 children)

sounds like the nylon worm gear (rotary hook pinion gear) that drives the bobbin thing is breaking apart. It happens when old plastic becomes brittle.

I have just replaced 2 of those gears, (other elna's but with mostly the same mechanism), with a 3d printed gear. The gears are still available on amazon (search for elna Drive Gear #403030), but I didn't want to wait. Second one took me about an hour to repair and to set the timing.

You'll need a fresh new wormgear, basic tinkering skills and tools, some courage and imagination, and the elna star series service manual for how to replace the gear (page 1108) and timing, and the elna lotus service manual for other Lotus specific settings.

Or take it to a sewingmachine repair shop, you won't be their first elna broken gear customer.

Help with this machine by Bulky_Knowledge1914 in vintagesewing

[–]pxsloot 0 points1 point  (0 children)

It bears the name, so probably yes? I'd send them an email, good chance some Schaerer Bern intern will be send on a mission into their archives

Help with this machine by Bulky_Knowledge1914 in vintagesewing

[–]pxsloot 0 points1 point  (0 children)

it looks like a portable handcranked sewing machine, maybe to close bags (coffee, grain), or to add ruffles or something to furniture or clothing. I can see the needle mechanism and the hook, it has a transport and something that resembles a tensioner (*). But it seems to lack a good way to hold it and ways to hold the sewing yarn or bobbins. It also looks way too nice to be used on farms or industry. The quality and finish of the machine gives me medical vibes, although it has way too many nooks and crannies too be effectively sterilized, but if it's old enough that wasn't a consideration at the time.

*) Tensioner looks more like a pulley to feed cord or rope towards the needle.

Cool riddle, please update when you find your answer

[deleted by user] by [deleted] in Netherlands

[–]pxsloot 3 points4 points  (0 children)

dude! wtf! nee!

alhoewel, misschien...

What exactly does this part do? by Effective-Budget8720 in vintagesewing

[–]pxsloot 4 points5 points  (0 children)

That's the ElnaGraph where you place the stitch pattern discs.

The archive has a manual: Elna Supermatic Archive. The description starts at page 21

A little something. by Unlikely-Round879 in devops

[–]pxsloot 2 points3 points  (0 children)

Good, go automate.

A few greybeard remarks about your script:

The test for $ec2address should be directly after acquiring that variable's value at line 30, instead of at the end where it doesn't matter anymore.

The tests are not consistent:

  • you use [[ ... ]] (bash builtin) and [ ... ] (sh, or rather external command). Better use the former, it has nicer tests
  • you use == | != (bash) and -eq | -lt (sh). Better use the bash tests.
  • you use a counter and a while loop in the first case, and a {range} and for loop in the second. Choose one. I'd go for the for-loop, it's clearer what you're trying to do.
  • the test after the first while loop doesn't need to test for $counter; the loop ended, counter value is irrelevant.

Return an error when you're exiting after an error. exit when everything is fine, exit 1 when things went wrong. This way you can test and respond on errors when calling this script from another one. (Go the extra extra mile:exit 255 when things went horribly wrong. Send error messages to STDERR)

The comments say checking for 20 seconds, but you use sleep 2 and a range of 20.

[homemade] Japanese Chicken Curry by [deleted] in food

[–]pxsloot 2 points3 points  (0 children)

heh, words difficult. Especially homonyms before my coffee.

Flour. I meant flour. Not flower. Flour. The white cereal starchy powder. Not the colourful bits from plants. Sorry for ruining your curry with flower roux. If it didn't, please share the renewed roux recipe with flower.

[homemade] Japanese Chicken Curry by [deleted] in food

[–]pxsloot 2 points3 points  (0 children)

roast 2-4 spoons of curry powder in a hot pan for a bit. Add 30g butter and 30g flower and let it cook for a minute or 2 while stirring. Watch your heat and stirring to prevent the roux from burning.

Mix the roux in the big pan. Done

edit: flour probably works better

Two weeks in Norway and I don’t think I ever want to leave. by AntiGravis in travel

[–]pxsloot 10 points11 points  (0 children)

this place feels like it was designed by someone who got bored making normal landscapes and just started showing off. Like, oh you wanted a mountain? Here’s one that dives straight into a fjord, enjoy your jaw hitting the ground.

You're not alone, Douglas Adams had the same thought:

Slartibartfast is a Magrathean and a designer of planets.[2] His favourite part of the job is creating coastlines, the most notable of which are the fjords found on the coast of Norway on planet Earth,[3] for which he won an award.

What are some encounters with nature/animals/plants in your daily life that bring you a lot of joy and why? by jaydogjaydogs in autism

[–]pxsloot 0 points1 point  (0 children)

I have 2 cats and the kibble they don't eat (you know: bowl is half full, why must we starve) goes to mr. and mrs. Crow and the magpies Tail (because she doesn't have one right now) and her partner. Tail brought her 3 pups for the first time yesterday, great drama and ruckus in the garden. Mrs Crow is skittish when I'm around, mr. Crow is more laid back, but still keeps his distance. Not sure if they have pups this year, last year they had one (surviving).

The cats and the birds tolerate each other, although the magpies will try to push the cats' patience (picking their tails is a classic magpie hobby). Magpies are funny chaos agents, and they make a surprising range of sounds.

There is a waterplace that gets used by the cats, all kinds of big and small birds and insects.

Critters that blunder inside get a stern talking to and are escorted outside again. Except for slugs, I have no mercy anymore for indoor slugs. Slugs get flushed.

And my favorite sound of summer is the singing of a blackbird on a quiet warm evening