@tymwol@hachyderm.io
@tymwol@hachyderm.io avatar

tymwol

@tymwol@hachyderm.io

All things programming, data, and ML (“AI”), but also all other kinds of things.

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

Cmastication, to random
@Cmastication@mastodon.social avatar

Google: unsafe at any speed

tymwol,
@tymwol@hachyderm.io avatar

@Cmastication graduating at 176 years old is a great accomplishment!

iuculano, to Ukraine
@iuculano@masto.ai avatar

As per the

« landing ship was sunk in the on the morning of Feb. 14.

The ship's sinking was confirmed by the General Staff of 's Armed Forces.

It is the fourth landing ship from 's Black Sea Fleet to be sunk since the beginning of the full-scale invasion in February 2022, according to the U.K. Defense Ministry. »


https://kyivindependent.com/media-russian-landing-ship-allegedly-sunk-by-drones-in-black-sea/

tymwol,
@tymwol@hachyderm.io avatar

@iuculano Russia seems to be modernizing its Black Sea fleet and turning all the vessels into submarines recently.

tymwol, to rust
@tymwol@hachyderm.io avatar
  • What is the religion of developers?
  • It's not a religion, it's a cargo cult.
tymwol, to programming
@tymwol@hachyderm.io avatar

How not to be clever (for your own good) when :

  • Always start with a simple solution.
  • Prefer simple solutions over the clever and fancy.
  • Proceed in small steps.
  • Change one thing at a time.
  • Don't future-proof.
  • Commit often.
  • Fail fast.
  • Prefer boring technologies.
  • Better repeat yourself than create unnecessary dependencies.
  • Get rid of dead code ASAP.
  • Make things that are hard to misuse.
  • If it doesn't have tests, it probably has bugs.
tymwol, to programming
@tymwol@hachyderm.io avatar

I'm reading this book on #Scala now and what can I say so far about the language, is that it can be summarized as ‘best effort to create a decent functional language given the limitations of JVM’. https://www.goodreads.com/book/show/13541678

tymwol, to random
@tymwol@hachyderm.io avatar

"Killed by Google" would soon get a completely new flavor... https://theblower.au/@nando161/112494681037016935

Patricia, to random
@Patricia@vivaldi.net avatar

CSS flexbox is fabulous and this tutorial is a masterpiece in teaching
https://css-tricks.com/snippets/css/a-guide-to-flexbox/

tymwol,
@tymwol@hachyderm.io avatar

@Patricia I don't know if I don't like the interactive one even better https://flexboxfroggy.com/

tymwol, to ai
@tymwol@hachyderm.io avatar

Interesting podcast on using tools for code refactoring. TL;DR it makes you faster, but not necessarily works or improves your code. Programming is not a speed race. https://podcasts.apple.com/pl/podcast/thoughtworks-technology-podcast/id881136697?i=1000652816370

olafurw, to random
@olafurw@mastodon.social avatar

(context for non icelanders, ull means wool)

Are you tired of mistyping your git commands?
Introducing: git ull

tymwol,
@tymwol@hachyderm.io avatar

@olafurw Expected behavior:

tymwol, to random
@tymwol@hachyderm.io avatar

I started reading the Scala book. From what I get so far, Scala is a functional Java-Ruby.

tymwol,
@tymwol@hachyderm.io avatar

@anderseknert yeah, it's funny like the book says “Scala is a functional language” and a few pages later “it is more purely object-oriented than Java”.

tymwol,
@tymwol@hachyderm.io avatar

Hmm, ok, so basically Scala has all the common functional programming features (like e.g. OCaml) with some limitations (tail-call optimization), and object-oriented quirks and tech debt from Java 🤔

frankel, to Bash
@frankel@mastodon.top avatar
tymwol,
@tymwol@hachyderm.io avatar

@frankel But why? If you want human-readable scripts, you would rather write them directly in Bash. If you want it compiled, why not compile it to binary format.

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

I was too lazy to type "kubernetes/kubernetes"

tymwol,
@tymwol@hachyderm.io avatar

@fasterthanlime That's the yak shaving kind of lazy 😆

anderseknert, to random
@anderseknert@hachyderm.io avatar

When was the last time you unstared a GitHub repo? 🙃

tymwol,
@tymwol@hachyderm.io avatar

@anderseknert I do it every time I see their release notes are edited by their marketing dept, not devs.

tymwol,
@tymwol@hachyderm.io avatar
anderseknert, to Stockholm
@anderseknert@hachyderm.io avatar

Just entered that delightful time of the year of like 4 days where #Stockholm is not too cold and not too warm.

tymwol,
@tymwol@hachyderm.io avatar

@anderseknert Not sure about Stockholm, but as a fellow European, I think what you mean by the part o they year https://www.youtube.com/watch?v=QYEC4TZsy-Y

judell, to random
@judell@social.coop avatar

Here's one for the @b0rk compendium of git oddities.

Today I learned there is a difference between a lightweight tag:

$ git tag v0.20
$ git cat-file -t v0.20
commit

and an annotated tag:

$ git tag -a v0.21 -m "this is an annotated tag"
$ git cat-file -t v0.21
tag

I have only ever used the former, but it's possible for software to care about the difference between the former (the type of the object is commit) and the latter (the type is tag).

What a tangled web we weave.

tymwol,
@tymwol@hachyderm.io avatar

@judell @b0rk What's the difference?! 👀

anderseknert, to random
@anderseknert@hachyderm.io avatar

No, LinkedIn, I don't think I will turn this comment into a blog post, as I have some serious doubts about it making me appear to be leading the conversation.

tymwol,
@tymwol@hachyderm.io avatar

@anderseknert TBH, by LinkedIn standards it wouldn't be that bad.

ekuber, to random
@ekuber@hachyderm.io avatar

It's frustrating to see how many people compare languages by looking at their syntax instead of their semantics. You can make a C-looking Haskell or a Python-looking C.

tymwol,
@tymwol@hachyderm.io avatar

@ekuber you can, but the syntaxes are not born in the void. Functional languages have similar syntaxes because they inspire each other, etc. So looking at the syntax is not that bad heuristic (but a heuristic).

CatherineFlick, to random
@CatherineFlick@mastodon.me.uk avatar
tymwol,
@tymwol@hachyderm.io avatar
CatherineFlick, to random
@CatherineFlick@mastodon.me.uk avatar
tymwol,
@tymwol@hachyderm.io avatar
tymwol, to rust
@tymwol@hachyderm.io avatar

Stages of using lifetimes in :

  1. Start with no lifetimes,
  2. The compiler complains, so you put lifetimes everywhere,
  3. It's so ugly that you simplify it, so it doesn't need any lifetimes anymore.
tymwol,
@tymwol@hachyderm.io avatar

@fil (opt 5) After several unsuccessful iterations, give up and rollback the clones.

anderseknert, to opensource
@anderseknert@hachyderm.io avatar

In one of my apps, I'd like to ensure that users are running with the latest version, and recommend an upgrade if they aren't. Is that type of "telemetry" OK? Code is #OpenSource so it'll be easy to verify that it only calls GitHub to compare current version vs last released. Conditions:

  1. Nothing is "sent" other than a GET request to GH to get latest version.
  2. No data is collected — I don't even run the server.
  3. If not online, do nothing.
  4. Possible to opt-out, via config or env var.
tymwol,
@tymwol@hachyderm.io avatar

@anderseknert Oh-my-zsh does this, to give one example. On start it checks GitHub and if the new version exists asks if you want to pull it.

hrefna, to random
@hrefna@hachyderm.io avatar

Why are horses?

tymwol,
@tymwol@hachyderm.io avatar

@hrefna Why neigh horses?

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