@monomon@programming.dev avatar

monomon

@monomon@programming.dev

This profile is from a federated server and may be incomplete. Browse more on the original instance.

monomon,
@monomon@programming.dev avatar

Matrix does support voice, and I found the quality to be amazing.

monomon,
@monomon@programming.dev avatar

So relations are improving after the Russian “peacekeepers” left?

monomon, (edited )
@monomon@programming.dev avatar

One suggestion - if you get 10 plain black t-shirts, then implement your style!

I am a dev who was focused on design and ux early on (this has changed as the needs of my work changed).

@abhideckert’s suggestion on how to analyze the needs is great. Now on to the implementation.

Similarly to development, you start out with some requirements - you need to show an input box, a history of inputs, and a sidebar with categories. You work out the layout (with wireframes, pencil drawings, etc.). Then comes visual style, which I guess is the thing you struggle with?

In both layout and visual style, you need to apply design principles, but ultimately the goal is to guide the visitor’s eye to the right places. This is where rhythm, repetition and contrast play a role. Basically highlight important elements, make the order of elements logical and not boring, avoid large empty areas but leave sufficient “breathing room” between elements, etc.

For visual style, you should make your own “style guide” that you apply to all personal projects. You can vary it a bit for each, if you are worried about them looking the same. Make that into a css file with a dummy html page to test. Add an input box, a textarea, select, unordered lists, etc. and style all of them to your liking. This guide will capture a lot of visual ideas, colors, spacing, which you can paste straight into your project. Do not sweat too much about stealing other people’s ideas - it’s an intrinsic property of art, and anyway it will probably not look 100% the same even if you copy it.

Edit: PS: spend some time just looking at the design and thinking.

The most recent version of KeePassXC loads indefinitely when trying to open database. Any idea how I can fix this?

I am using Arch Linux on an older Thinkpad and recent upgraded. KeePassXC was part of that and now, after I enter my credentials, and click to unlock my database it shows that it is loading but never finishes. I am using a password, Yubikey, and keyfile and have it set to max decryption time (5s) though I don’t know if that is...

monomon,
@monomon@programming.dev avatar

If you start it from the terminal, do you see any error output while it’s loading?

monomon,
@monomon@programming.dev avatar

I think IS are not too much into music, on the whole.

monomon,
@monomon@programming.dev avatar

That’s so weird. So musical instruments are banned, but there is a loophole for a capella…

monomon,
@monomon@programming.dev avatar

Not always, i think. There are some SSO solutions that behave like this, and password gets filled in fine.

monomon,
@monomon@programming.dev avatar

ddev saved my life when I inherited a drupal project.

monomon,
@monomon@programming.dev avatar

Scary, there is a real danger for Bulgaria to go the same route, after brain drain rate at least reversed in the last years. Here’s to hoping

monomon,
@monomon@programming.dev avatar

Lisp macros.

But I’d be curious of the possibilities of generating code with tree sitter.

monomon,
@monomon@programming.dev avatar

Both languages you mentioned i highly recommend.

Lisp macros are another level, because they are part of the language - you can use all language primitives to transform forms however you like.

Haskell will give you a different view of programming. It’s beautiful and concise, and implements all sorts of academic research in languages. Ocaml is similar in many respects.

monomon,
@monomon@programming.dev avatar

Just thought of an example. If you want to, you can open a file at macroexpansion time, and generate code based on its contents. There are no limits, pretty much.

monomon,
@monomon@programming.dev avatar

Yeah all this free energy waiting to be harvested

monomon, (edited )
@monomon@programming.dev avatar

Nice. I am working on some improvements to parenscript, this might come in handy.

monomon,
@monomon@programming.dev avatar

Yes, it is. I find navigating s-exps way easier. Also it has some lispy features, and macros.

monomon,
@monomon@programming.dev avatar

Not exactly the question you were asking, but there are also SDKs for closed source software. You can get a library, or just an interface definition you adapt to. It can be frustrating when you cannot peek a layer deeper into the system, and takes head banging, but it’s a thing. Often, if you are a significant enough client, you can get consulting or guidance from the devs at the other end.

Nowadays a lot more business software is open source (at least partially), because it increases adoption. People found that when you remove the stops, others will flock and build stuff around.

Structuring Projects: when to include a dependency as a library instead of just calling a command line interface.

Hello fellow rustaceans! Recently, there was a thread about how we can grow this community (how can I link to posts across servers?), where I already talked briefly about this topic, saying that I did not know if it is worthy of a full post here, as most things seem to be pretty professional looking links to talks and blogs....

monomon,
@monomon@programming.dev avatar

Another reason to use libraries is communication. Would you prefer to receive a GitCommitResult in your code, or have to parse the stdout of the subprocess? If you need complex communication with the other program, then it needs to provide rpc or some other form of inter-process communication. A library avoids this issue.

monomon,
@monomon@programming.dev avatar

Great answer. I am also a fresh “lead” and am struggling with some aspects, but as you said, clarifying the direction and working together are the most important ones. Pairing also allows you to explain things in more depth, which aids understanding.

We don’t do complex planning, usually have a few meetings and we start prototyping. So that’s been a non-issue luckily as a lead. Detailed estimation can be really exhausting and takes a toll on the team.

monomon,
@monomon@programming.dev avatar

For this reason I’m building my own generator in Common Lisp, leveraging cl-who and parenscript. All components are descibed in one place and render as web components, which allows me to attach dynamic behaviors easily.

This works great for business-card style sites, deployed to netlify.

monomon,
@monomon@programming.dev avatar

A generator can help if you have a bunch of data that you need to convert to some html structure. I know what you are saying though, as little complexity as we can get away with, innit :)

monomon,
@monomon@programming.dev avatar

Another cool thing I realized - you avoid the chance of some framework updating under you and breaking everything. It’s a bit like pdf, it gets fixed and generally untouched.

monomon,
@monomon@programming.dev avatar

Concepts like Reactive programming are widely used in web/UI contexts. The problem of connecting a UI to an underlying data set is not trivial. Several frameworks deal with this.

As was already said, concerns like Accessibility are studied academically. They have more to do with user experience than the technology, so not sure if they match your question.

monomon,
@monomon@programming.dev avatar

It does look pretty damn cool. One thing that bothers me is it is in the npm ecoystem :)

monomon,
@monomon@programming.dev avatar

Same. Writing code is FUN! However that’s not the only goal there is. It’s a part of the puzzle. Perhaps it takes some maturity to reach that point.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • megavids
  • ethstaker
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines