Better HN
topnewbestaskshowjobs
Log inSign up

FrenchyJiby

315 karma · joined Nov 30, 2015 (11y ago) · 67 submissions

Submissions

comment 1y ago · link · parent

I enjoy:

- seamless container logs (journalctl), no weird separate logger

- service start/stop/enable-at-boot no weird separate command

- integration with system/user slices, triggers, cronjobs (timers), exposing containers as first class commands overall!

Basically it's worth seeing container services work with non-container services.

If you don't like systemd, or have no stake in it, sure, have fun without it, but it's definitely added value when you're running services, and want to start containerizing some of them without abandoning all the good tools you are using in favour of docker logs docker run etc.

comment 1y ago · link · parent

Podman has good systemd integration, in the form of quadlets.

It lets you define a systemd job with some custom syntax and run it as a systemd service, and even stretches to allow some form of kubernetes YAML to be run as local (single node, rootless) containers!

Real nice.

See previous presentation on HN: https://news.ycombinator.com/item?id=43456934

comment 1y ago · link · parent

Yes-anding this to say:

For per-user gitignore, one can set the following config in ~/.gitconfig:

    # System-wide gitignore file
    # To avoid in-repo repetition for system-specifc garbage files
    [core]
        excludesfile = ~/.config/git/gitignore

Then your file at ~/.config/git/gitignore can be a normal format, and not need to be stored in repo. Perfect for system files (.DS_Store...) or editor swap files etc.

comment 1y ago · link · parent

Not an expert, but it seems NASA holds a few magazine publications for just that, it must come up often.

One VERY on topic is "ISS Benefits for Humanity", which shows why the ISS benefits everyone.

See edition 2022: https://www.nasa.gov/wp-content/uploads/2022/09/iss_benefits...

Seems from the table of contents, it breaks down to: earth observation, microbiology in microgravity, human health research, inspiring younglings, new physics, and "growing the low-earth economy".

Then broader there's a yearly one called Spinoff that points to the technology transfers, but that's not just from human flight, but from all NASA-funded work.

See last few years' edition: https://spinoff.nasa.gov/spinoff/archives

comment 1y ago · link · parent

I really want to love uv: It's a hair away from being perfect, they just have to find a solution to the "poetry version" (bump) problem = https://github.com/astral-sh/uv/issues/6298 (Work in progress, last I heard!).

Once we have a way to get package version bumps, I can finally leave poetry for the speed of uv!

Of particular interest to me, uv has "workspaces", perfect for monorepo-like sub-packages: useful for plugin-based workflows where you may want to keep a few independent plugins in one repo.

comment 1y ago · link · parent

Yeah I'm confused why none of the solutions presented deploy the same TF across the environments: Surely if you have dev vs prod, 90% of dev infra is also needed in prod?

Then sure sprinkle a few per-env-toggles `count: 1 if env == dev else 0` (or whatever the latest nicest way to do that is today), but it feels weird to have to set up an artificial TF module around our entire codebase to be able to share the bulk of the code?

comment 1y ago · link · parent

I've written mine up as I've noticed I was repeating myself a bit once my opinions stabilized.

See https://jiby.tech/post/my-git-worfklow/

comment 2y ago · link · parent

Note that the specific naming of hurl.dev is not random: hurl is a wrapper for curl, where the requests are stored in a plaintext file.

So hurl.dev didn't roll dice and got hurl, but consciously got a close sounding word.

In that sense, that makes one claim over the other a little more valid, in my mind, though you're right that clashes will have to occur.

I did get confused extra hard by the url = hurl.wtf, when hurl.dev is so close yet about different topic.

comment 2y ago · link · parent

Totally, I describe it as "shorthand for most used commands + lightweight documentation".

I made an entire presentation about this[1], trying to sell it to work mates.

[1]: https://jiby.tech/presentation/makefiles/makefiles.html

comment 2y ago · link · parent

Yes, and going further, I think you'll enjoy the amazing lib Pytest-cases[1] which enables naming the parametrized tests, listing them not as decorators but as separate functions/classes.

See the europython video intro: [2], or as slides[3]

[1] https://smarie.github.io/python-pytest-cases/ [2]: https://www.youtube.com/watch?v=QTyfr2UNR98 [3]: https://ep2021.europython.eu/talks/649sqwq-powerful-tests-an...

comment 2y ago · link · parent

answer to which the standard response that _led_ to "code forge" being a word, is: ok but what about all the stuff that isn't just "git on the network"? Pull requests, basic tickets, eventually some of the CI...

Or framed differently: "What category of software would you describe Github as?"

For all of this, the answer the community came together to find is ... Code Forge.

One extra resource on it: ForgeFed[1], which describes itself as:

> ForgeFed is a federation protocol for software forges and code collaboration tools for the software development lifecycle and ecosystem. This includes repository hosting websites, issue trackers, code review applications, and more. ForgeFed provides a common substrate for people to create interoperable code collaboration websites and applications.

[1]: https://forgefed.org/

comment 3y ago · link · parent

NNCP, from http://www.nncpgo.org/

It's a protocol/tool for async file transfer, built for disconnected/intermittent connectivity amongst known parties (trusted friends as p2p), allowing even for sneakernet-based file transfer.

It's started as a modern take on usenet, but it boggles my mind how cool it is:

Want to send a TV Series to your friend? send it via nncp, and it will make it through either via line-based file transfer (when connection allows, pull or push, cronjob, etc), or even via sneakernet if there is "someone going that way".

Comms priority system lets you hi-prio message-checking via expensive network link vs bulk file transfer using trunk lines later.

It even can be configured to run arbitrary commands on message receive, to allow indexing/processing of files (like a ZFS-receive hook, mail/matrix ingestion...)

See all the usecases: http://www.nncpgo.org/Use-cases.html

As with many of these cool techs, I just wish I had a good reason to use it =D

comment 3y ago · link · parent

Absolutely, though the default F-Droid repo is a little slow to update (in case of the twice-a-year "Youtube changed their UI, breaking the world" update), so Newpipe team recommends their own (third party) F-Droid repo[1], where the updates are fresh off the press.

[1]: https://newpipe.net/FAQ/tutorials/install-add-fdroid-repo/

comment 3y ago · link · parent

Rome ... Virginia, USA.

comment 3y ago · link · parent

I'll note that France has a slight variant on that, where it's assumed that any identifiable marker of the ballot could reveal a voter's identity, bad in case of blackmail like "vote for X, and show it by having a stripe at at the top, or I [do bad things to family], I'll be checking the ballots").

To avoid this, no markers, but all possible votes are pieces of paper with printed text, grab N>2, go in the booth, put in one in an envelope.

This way your vote and any other vote look identical, and vote is voided in case of any identifying mark (even weirdly bent paper etc). No stamp needed, just number of votes/envelopes.

comment 3y ago · link · parent

I'm building Mass Driver[1], a tool to automate PR creation across many (many) repos, building a library of reusable changes via "patchdriver" plugins.

The repos can be fed as list on CLI, via file, or via a "source" type plugin (allows github search or custom API calls), the PR creation works via a "Forge" plugin.

Resulting PR list can be fetched to review status:

> Of 113 given PRs, 73 merged, 30 closed not merged, 5 ready to merge (no conflict), 5 with conflicts.

I've created hundreds of PRs with it via github app integration, see the plugins repo[2].

[1]: https://jiby.tech/mass-driver/usage.html [2]: https://github.com/OverkillGuy/mass-driver-plugins.html

comment 3y ago · link · parent

Very straightforward reason: less capabilities for naughty executables to "live off the land" from.

Kind of like the sysadmins removing any scripting languages and compilers from servers to avoid giving rogue processes any leg up. It's legitimately making it harder for baddies to exploit a way in. ...Though it's never been easier to package your own interpreter (micropython or equivalent), so I don't expect it slows people down much.

In the mindset of MS: legit devs should package their own tooling, and baddies shouldn't get the freebies.

comment 3y ago · link · parent

This idea of getting historical data fused from multiple private sources, to be able to remember properly what happened, was at the core of Memacs[1], an Emacs (org-mode-based) data-fusion framework feeding into calendar.

Here's a diagram from the Memacs repo:

   emails              -> memacs-maildir.py  \
   firefox history     -> memacs-firefox.py   |
   SMS                 -> memacs-sms.py       |
   RSS-feeds           -> memacs_rss.py       |
   bank statements     -> memacs-easybank.py  |>  Memacs
   postings            -> memacs-slrn.org     |
   git repository logs -> memacs_git.py       |
   svn repository logs -> memacs_svn.py      /
   |_________________|   |_________________|     |______|
   your personal data      Memacs modules        Org mode
This relied on org-mode having a good date-links-to-calendar and agenda system.

See the whitepaper, called "What really happened on September 15th 2008? Getting The Most from Your Personal Information with Memacs"[2].

This project is now a little bit dead, but the concept of private data fusion was fantastic, and transformed my view of calendars.

Agree that calendars are a little underused in that way, and would love to see more work towards that private calendar data usage.

[1]: https://github.com/novoid/Memacs [2]: https://arxiv.org/abs/1304.1332

comment 3y ago · link · parent

Biscuit has been one of those pieces of tech that makes me re-think the way we organize our stack, with a couple of key ideas that make us more user-centric and enable decentralized systems.

Granted I haven't used it, on toy project or in anger, but it sounds really neat.

comment 3y ago · link · parent

https://jiby.tech/

I'm a software dev turned devops, and I try to write down opinions I haven't seen written anywhere before.

Lots of Unix shell, TDD/BDD, automation, project management, and most recently SDLC ramblings.

Sample articles:

- https://jiby.tech/post/literate-wordle/

- https://jiby.tech/post/my-git-worfklow/

comment 3y ago · link · parent

I highly recommend using local solutions to this local issue: Zeal[1] (aka Dash[2] on MacOS)

Load up the "docsets" of your languages (lightly edited HTML docs for indexing purposes) and use a global keyboard shortcut (F8 for me) to pull up Python/Postgres/Terraform docs, searching for the right function without internet query.

This isn't straight up applicable to all questions of course, but "How do I search regular expressions in Python again?" is now as easy as <F8> "re" <ENTER>

Note that the docsets can be converted from normal HTML ones via doc2dash[3], especially useful to load up custom docs like private providers.

[1]: https://zealdocs.org/ [2]: https://kapeli.com/dash [3]: https://doc2dash.readthedocs.io/en/stable/usage/

22.

My Git Workflow(jiby.tech ↗)

3 points · by FrenchyJiby · 3y ago · discuss

comment 3y ago · link · parent

Considering the alternative at work was an old Bugzilla instance, and code review feedback was done by email, adopting Phabricator was a breath of fresh air: good engineering-oriented tickets (subtasks, task grouping), good code review experience + integration with tickets, a wiki, and a few extra... yeah it really rocked.

Of course, if you compare to Jira's ticket-management experience, and nowaday's github code review, sure, it's quite jank. But for a brief moment, in a period of time at work, Phabricator really shined!

comment 4y ago · link · parent

Very much agree.

[small plug] I've just done a presentation at $Work saying just that:

> By using Makefiles in your repos, you document and automate common "build" tasks.[1]

[1]: https://jiby.tech/presentation/makefiles/makefiles

comment 4y ago · link · parent

Huh, have you heard of the popular pass(1) extension pass-opt[1]?

It allows one to get OTP secrets via a simple:

pass otp secretname # Add -c for clipboard, as usual

And because the OTP side is just a otpauth:// URL on a line of the GPG file, we can still use the rest of the secret for other things:

pass secretname -c

Real smooth!

[1]: https://github.com/tadfisher/pass-otp

comment 4y ago · link · parent

Lots of love for the Casio Lineage line, which brings together the Tough Solar + multiband aspects with analog-looking thin profile. Check out the LCW-M100DSE-1AER model[1], my daily driver.

As a kid, I've always liked the toughness of G-Shock watches. Especially grew fond of the tough solar multiband radio-synched ones.

As I grew up I wanted a sleeker look, less dorky, smaller footprint, ideally analog, or at least not looking like digital = cheap. The kind of thing that just looks like a Swatch would, but with the good old features. The Lineage brand is just that, offshoot of the latest G-Shock models. Someone else mentioned the Edifice and Oceanus lines as siblings, they're worth a look too, with different featureset.

[1]: https://www.casio-europe.com/euro/products/watches/radio-con...

comment 4y ago · link · parent

This feature is something I always wished to see in FOSS world.

Private package registries unlock a TON of value in companies, and having Gitea propose it just makes sense, to move away from a Github-only world.

Let's hope they add some of the killer features like repo-proxying too, and it'll really challenge some of the bigger players (JFrog, I want to love you, but you make it really hard sometimes)

comment 4y ago · link · parent

I'd add the very entertaining "Dirty Biology", attacking scientific explanations for the public with heavy editing "a la meme": https://www.youtube.com/c/dirtybiology

And my favourite, the fantastic TV Show "C Dans L'air" from France 5, is a great daily 1h balanced deep dive into topics of local politics or geopolitics, broadcast into youtube for archival/rewatches with 1 day delay.

https://www.youtube.com/c/Cdanslairofficiel

Be aware people in France will have the last 1 week of C Dans L'Air shows blocked from Youtube (GeoIP) to favour the annoying France TV Pluzz VOD platform, so VPN away if you need, or hop to non-YT.

comment 4y ago · link · parent

This is hinted at in the linked "Lena" story:

> [Uploaded person] initially reported extreme discomfort which was ultimately discovered to have been attributable to misconfigured simulated haptic links, and was shut down after only 7 minutes and 15 seconds of virtual elapsed time, as requested by [uploaded person]. > Nevertheless, the experiment was deemed an overwhelming success.

This is lauded as the first time "running a brain", but regardless of the cause, the person was clearly in such pain ("discomfort") they asked to DIE (turn off the simulation).

comment 4y ago · link · parent

Assuming devs are familiar with the usual branch/commit/push workflow, and history rewrites like rebase/cherry-picking are the point of confusion:

I can't recommend highly enough Learn Git Branching[1], an interactive demo for understanding rebases and cherry-picks.

Then try it a couple of tricky times, and you're settled.

[1]: https://learngitbranching.js.org/

123