Ephera

joined 5 years ago
[–] Ephera@lemmy.ml 2 points 11 hours ago (1 children)
[–] Ephera@lemmy.ml 40 points 12 hours ago (5 children)

One time, I had to request firewall access for a machine we were deploying to, and they had an Excel sheet to fill in your request. Not great, I figured, but whatever.

Then I asked who to send the Excel file to and they told me to open a pull request against a Git repo.
And then, with full pride, the guy tells me that they have an Ansible script, which reads the Excel files during deployment and rolls out the firewall rules as specified.

In effect, this meant:

  1. Of course, I had specified the values in the wrong format. It was just plaintext fields in that Excel, with no hint as to how to format them.
  2. We did have to go back and forth a few times, because their deployment would fail from the wrong format.
  3. Every time I changed something, they had to check that I'm not giving myself overly broad access. And because it's an Excel, they can't really look at the diff. Every time, they have to open it and then maybe use the Excel version history to know what changed? I have no idea how they actually made that workable.

Yeah, the whole time I was thinking, please just let me edit an Ansible inventory file instead. I get that they have non-technical users, but believe it or not, it does not actually make it simpler, if you expose the same technical fields in a spreadsheet and then still use a pull request workflow and everything...

[–] Ephera@lemmy.ml 14 points 13 hours ago (1 children)

Still works well as a concept for PeerTube...

[–] Ephera@lemmy.ml 0 points 13 hours ago (5 children)

It's a speed limit, not a mandatory speed.

I also have to say that I was frequently tailgated, because I was going at the speed limit, when mostly everyone else went above.

[–] Ephera@lemmy.ml 9 points 20 hours ago

They have breaking changes in their minor versions...

[–] Ephera@lemmy.ml 9 points 21 hours ago

I think, they miscounted. It's actually 4 billion body types, not just 4.

[–] Ephera@lemmy.ml 4 points 22 hours ago

Weiß nicht, ob ich das als Lustigmachen bezeichnen würde:

Bild von Roosevelt und einem Mann, der einen kleinen Bären am Strick hält. Roosevelt läuft mit seinem Gewehr davon und winkt ab.

Also zeigt ja einen gewissen Stolz, dass man nicht einen wehrlosen Bären erschießt, was erstmal kein verkehrter Charakterzug ist.

[–] Ephera@lemmy.ml 40 points 1 day ago

Personally, I find that (complex) software implemented in Python tends to be so unreliable that I typically don't want to use it after all, but I only find that out after wasting a bunch of time learning the software.
It's just frustrating, especially if I come back to the software every so often, naively thinking that it's been a few versions, so maybe they've fixed it. It's always just different bugs, which still end up being too frustrating to use the software.


To give an example, I like to compose music using Lilypond, which is more-or-less a programming language to create sheet music. And there is a program that's supposed to give you a well-integrated workflow for that (i.e. an IDE), called Frescobaldi.
The first time I tried it, playback of the composed music wouldn't work.
The second time, I couldn't click on notes to jump to the respective code snippet.
And I tried it again a few weeks ago and it just crashed immediately with an obscure error message.

Instead, I've slapped together a script, which just opens the sheet music in my PDF viewer, the code in my normal editor and then uses a CLI tools to generate and playback the sheet music. And while it's definitely not perfect, it has been working more reliably for me than Frescobaldi ever has.

[–] Ephera@lemmy.ml 8 points 1 day ago (1 children)

Top-right looks like a potato to me. 🙃

[–] Ephera@lemmy.ml 2 points 1 day ago (1 children)

Yeah, this discrepancy really irks me in programming, too. It's really good at known problems, like student homework or whatever task a middle manager will throw at it to see how well it works.
But because of the nature of software – if there is a solution, you can easily share it with everyone in the world – it's kind of our job to work on anything but known problems.

Yeah, there's gonna be some known parts, where it may be able to assist, similar to a library or StackOverflow. But if it can put together your whole solution without tons of human input, chances are that solution is already out there and you should be using it instead.

[–] Ephera@lemmy.ml 2 points 1 day ago

Ah, thanks, I hadn't read that far. It says this:

A 1941 Commerce Department survey found no significant expansion of retail sales due to the change.

With this as source: https://www.nytimes.com/1941/05/21/archives/thanksgiving-goes-back-to-old-date-in-42-president-says-change-did.html

[–] Ephera@lemmy.ml 9 points 1 day ago (2 children)

Die genaue Entstehungsgeschichte scheint etwas umstritten zu sein (habe gerade auf Wikipedia 3 verschiedene Fassungen gefunden), aber das Meme bezieht sich auf Theodore "Teddy" Roosevelt.
Der wollte, gemäß 2 von 3 der Darstellungen, ein angeleintes Bären-Baby nicht erschießen (nachdem er bei der Bärenjagd wenig Glück hatte), was dann von einem Karikaturist aufgegriffen wurde und dafür sorgte, dass sich Teddybären als Spielzeug etabliert haben.

Variante 1&2: https://de.wikipedia.org/wiki/Teddyb%C3%A4r#Geschichte
Variante 3 (ähnlich zu 2): https://de.wikipedia.org/wiki/Theodore_Roosevelt#Der_Teddyb%C3%A4r

 

Very simple + sane extension that I found.

Puts an RSS icon into your URL bar when the webpage you're on has an RSS feed. The button is hidden, if it does not.
When you click the button, it copies the feed URL into your clipboard, so you can add it into your RSS reader. If there's multiple RSS feeds on a webpage, it shows a little dropdown and then when you click one of the entries, it copies the feed URL.

When I say "RSS", I do also mean Atom and possibly others.

193
submitted 3 weeks ago* (last edited 3 weeks ago) by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
 

Increasingly so, the more experienced I get...

143
Underappreciated top (friendo.monster)
 

Always thought top was one of those programs frozen in time since the 70s, but apparently, it has a feature set comparable to htop and the like. The default configuration just doesn't show much of it...

-15
submitted 1 month ago* (last edited 1 month ago) by Ephera@lemmy.ml to c/dadjokes@lemmy.world
 

Spoilertrans-parent

 

Found this article interesting. Some (technological) highlights for me:

She initially wrote simple Python scripts to help with chain-of-custody problems. Those scripts worked on her machine, but she had trouble delivering the software to the people who actually need it.

Yeah, Python, Java etc. are quite portable in theory, but we also always ship the runtime along with it at $DAYJOB, because we don't want to deal with different runtime versions and users failing to install them properly. And since the runtime is compiled for specific platforms, we effectively have non-portable artifacts anyways.

Deuson's first attempt at distributing her software was to bundle it using Kubernetes. That sort of worked, but it turned out to be hard to get it installed in police departments. Opening ports in the firewall is also often prohibitively hard. "Getting software into these environments is really difficult."

Eventually, she decided that the only way to make this work would be to write a single, standalone executable that does everything locally. It would need to be able to run on ancient desktop computers, in a variety of environments, without external dependencies. That's why she ultimately chose Rust to write FolSum.

I feel like our industry poured tons of effort into making things deployable via Kubernetes, but there's still an absurd amount of niches, where this just does not make sense. Always interesting to hear about yet another such niche...

One thing that users really liked about the Rust version of the application was that it starts quickly, she said. Lots of commercial software is big and bulky, and takes a while to start up, leaving users staring at splash screens. FolSum starts up almost as soon as the user releases the mouse button.

Yep, I never quite buy it when this is deemed unimportant in commercial software development. The chance of your software running all the time is really low. And if it's not running all the time, I need to start it before I can use it. If I need to wait a minute for that, that takes me out of my workflow and I'll kind of hate your software for it.

It turns out that non-technical users like the approach that she has called "GUI as docs", where the application puts the explanation of what it does right next to the individual buttons that do those things. Several users have told her that they wished other software was written like this, to her bafflement. For-profit software is often a forest of features, which makes it hard to find the specific thing one needs, especially if the tool is only rarely used, she said.

I've been looking to take that kind of approach for our GUI at $DAYJOB, too. Our software is not either something that users use all the time. They might not look at it for months at a time. It's ridiculous to assume that they will remember all the concepts, just as ridiculous as it is to expect them to look at a completely separate manual every time. So, just dotting help texts around the place seems like a good idea.

 

Result presentation (first 25 mins) and discussion of an accessibility study that Thunderbird ran. They explain various accessibility technologies (like screen readers, eye tracking etc.) and problems they encountered in their design when users relied on these technologies.

Nothing really groundbreaking in here, but still good for challenging one's assumptions.

 

Und was macht ihr so um 1 Uhr nachts? Ich habe anscheinend noch eine Verabredung. 🙃

view more: next ›