Searching txt.sour.is

Twts matching #thoughtful
Sort by: Newest, Oldest, Most Relevant

** December adventure **
Over the past couple years I’ve done the advent of code to varying degrees. I thought I was going to do it again this year but decided to try something different. I’ve been calling what came together aā€œ December Adventure.ā€

It isn’t anything fancy; throughout December I aim to write a little bit of code everyday. So far I’ve written a bit of apl, bash, elisp, explored a bunch of flavors of scheme, and star … ⌘ Read more

⤋ Read More

I was inclined to let this go so as not to stir anything up, but after some additional thought I’ve decided to call it out. This twt:

Image

is exactly the kind of ad hominem garbage I came to expect from Twitterā„¢, and I’m disappointed to see it replicated here. Rummaging through someone’s background trying to find a ā€œgotchaā€ argument to take credibility away from what a person is saying, instead of engaging the ideas directly, is what trolls and bad faith actors do. That’s what the twt above does (falsely, I might add–what’s being claimed is untrue).

If you take issue with something I’ve said, you can mute me, unfollow me, ignore me, use TamperMonkey to turn all my twts into gibberish, engage the ideas directly, etc etc etc. There are plenty of options to make what I said go away. Reading through my links, reading about my organization’s CEO’s background, and trying to use that against me somehow (after misinterpreting it no less)? Besides being unacceptable in a rational discussion, and besides being completely ineffective in stopping me from expressing whatever it is you didn’t like, it’s creepy. Don’t do that.

⤋ Read More
In-reply-to » We've barreled past the microblog line and flew straight over the e-mail chain line. This is just social blogging.

@mckinley@twtxt.net Haha, while composing I was wondering two or three times whether I should throw my thoughts in an HTML page instead. But out of utter laziness I discarded that idea. ĀÆ_(惄)_/ĀÆ

⤋ Read More
In-reply-to » I did a take home software engineering test for a company recently, unfortunately I was really sick (have finally recovered) at the time 😢 I was also at the same time interviewing for an SRE position (as well as Software Engineering).

@prologic@twtxt.net Error handling especially in Go is very tricky I think. Even though the idea is simple, it’s fairly hard to actually implement and use in a meaningful way in my opinion. All this error wrapping or the lack of it and checking whether some specific error occurred is a mess. errors.As(…) just doesn’t feel natural. errors.Is(…) only just. I mainly avoided it. Yesterday evening I actually researched a bit about that and found this article on errors with Go 1.13. It shed a little bit of light, but I still have a long way to go, I reckon.

We tried several things but haven’t found the holy grail. Currently, we have a mix of different styles, but nothing feels really right. And having plenty of different approaches also doesn’t help, that’s right. I agree, error messages often end up getting wrapped way too much with useless information. We haven’t found a solution yet. We just noticed that it kind of depends on the exact circumstances, sometimes the caller should add more information, sometimes it’s better if the callee already includes what it was supposed to do.

To experiment and get a feel for yesterday’s research results I tried myself on the combined log parser and how to signal three different errors. I’m not happy with it. Any feedback is highly appreciated. The idea is to let the caller check (not implemented yet) whether a specific error occurred. That means I have to define some dedicated errors upfront (ErrInvalidFormat, ErrInvalidStatusCode, ErrInvalidSentBytes) that can be used in the err == ErrInvalidFormat or probably more correct errors.Is(err, ErrInvalidFormat) check at the caller.

All three errors define separate error categories and are created using errors.New(…). But for the invalid status code and invalid sent bytes cases I want to include more detail, the actual invalid number that is. Since these errors are already predefined, I cannot add this dynamic information to them. So I would need to wrap them Ć  la fmt.Errorf("invalid sent bytes '%s': %w", sentBytes, ErrInvalidSentBytes"). Yet, the ErrInvalidSentBytes is wrapped and can be asserted later on using errors.Is(err, ErrInvalidSentBytes), but the big problem is that the message is repeated. I don’t want that!

Having a Python and Java background, exception hierarchies are a well understood concept I’m trying to use here. While typing this long message it occurs to me that this is probably the issue here. Anyways, I thought, I just create a ParseError type, that can hold a custom message and some causing error (one of the three ErrInvalid* above). The custom message is then returned at Error() and the wrapped cause will be matched in Is(…). I then just return a ParseError{fmt.Sprintf("invalid sent bytes '%s'", sentBytes), ErrInvalidSentBytes}, but that looks super weird.

I probably need to scrap the ā€œparent errorā€ ParseError and make all three ā€œsuberrorsā€ three dedicated error types implementing Error() string methods where I create a useful error messages. Then the caller probably could just errors.Is(err, InvalidSentBytesError{}). But creating an instance of the InvalidSentBytesError type only to check for such an error category just does feel wrong to me. However, it might be the way to do this. I don’t know. To be tried. Opinions, anyone? Implementing a whole new type is some effort, that I want to avoid.

Alternatively just one ParseError containing an error kind enumeration for InvalidFormat and friends could be used. Also seen that pattern before. But that would then require the much more verbose var parseError ParseError; if errors.As(err, &parseError) && parseError.Kind == InvalidSentBytes { … } or something like that. Far from elegant in my eyes.

⤋ Read More

Hi, I am playing with making an event sourcing database. Its super alpha but I thought I would share since others are talking about databases and such.

It’s super basic. Using tidwall/wal as the disk backing. The first use case I am playing with is an implementation of msgbus. I can post events to it and read them back in reverse order.

I plan to expand it to handle other event sourcing type things like aggregates and projections.

Find it here: sour-is/ev

@prologic@twtxt.net @movq@www.uninformativ.de @lyse@lyse.isobeef.org

⤋ Read More

ā€˜Based’ Paganism vs. Christianity
I’ve been meaning to write about Paganism recently. I will frame it as a response to an email I received within the past day or so:

Hey Luke,

First off, I would like to thank you for all your efforts in making everything
you know accessible to everyone. You have exposed me to some of the most
thought-provoking people on the internet and Varg is one of them. I was
wondering if you can write an article or make a video on what you think about
Varg’s Paganism in r … ⌘ Read more

⤋ Read More

I seem to have way more ideas for things I want to write when I’m out and about than when I’ve got some time to write at the end of the day. I think this has been going on for months with multiple thoughts I’ve had.

⤋ Read More

The hardest technical solutions are right in front of your face.
Nassim Taleb had this old anecdote of the sheer absurdity that while the suitcase and other bags had existed for lifetimes, it was only in the 1990’s that people had the idea to put wheels on the things so they didn’t have to haul them around airports all day with their strength.

It reminds you of the fact that while children in the Incan Empire did indeed have some toys with wheels, apparently no one thought to use the wheel to make a simple … ⌘ Read more

⤋ Read More

the right level for solving the hard problem of consciousness is within existing science/within philosophy/within meta- or pre-philosophy/needs a fully new paradigm of thought

⤋ Read More

Given that we don’t have a ā€œhome phoneā€, what’s the best way to create a ā€œhunt groupā€ for my partner’s and my cell phones? My first thought is Asterisk on a VPS, but my knowledge of such things is years out of date. Is there a better way?

⤋ Read More

å…³äŗŽ Go ä»£ē ē»“ęž„ēš„ę€č€ƒ

å…³äŗŽ Go ä»£ē ē»“ęž„ēš„ę€č€ƒ

⤋ Read More
In-reply-to » @fastidious Oh But somehow @lyse saw the old Twt and replied to that šŸ¤¦ā€ā™‚ļø

@prologic@twtxt.net I have thought about this because even though it doesn’t happen often, when it does it bothers me greatly. I haven’t found a solution. How about you? What could be done to avoid this from happening?

I know we have been over this in more than one occasion. Ideas about editing timeouts, or not allowing to edit/delete came up, but were quicky discarded as absurd.

⤋ Read More

** Star Wars, and a year in review **
I tried to write aā€œ year in reviewā€ kinda post, but it got wicked melodramatic pretty fast. This year has been a slog…it really fucking sucked.

Rather than reflect on it further, I thought I’d write about something vapid that I’ve been thinking a bit about lately instead: Star Wars.

Despite my best efforts, I’ve always loved Star Wars. As a child I spent hundreds of hours pouring over novels, and comics, and books of sch … ⌘ Read more

⤋ Read More

šŸ¤” šŸ‘‹ Reconsidering moving Yarn.social’s development back to Github: Speaking of which (I do not forget); @fastidious@arrakis.netbros.com and I were discussing over a video call two nights ago, as well as @lyse@lyse.isobeef.org who joined a bit later, about the the whole moved of all of my projects and their source code off of Github. Whilst some folks do understand and appreciate my utter disgust over what Microsoft and Copilot did by blatantly scraping open source software’s codebases without even so much as any attempt at attribution or respecting the licenes of many (if not all?) open source projects.

That being said however, @fastidious@arrakis.netbros.com makes a very good and valid argument for putting Yarn.social’s codebases, repositories and issues back on Github for reasons that make me ā€œtornā€ over my own sense of morality and ethics.

But I can live with this as long as I continue to run and operate my new (yet to be off the ground) company ā€œSelf Hosted Pty Ltdā€ and where it operates it’s own code hosting, servicesa, tools, etc.

Plese comment here on your thoughts. Let us decide togetehr šŸ¤—

#yarnsocial #github #opsnsource #copilot #microsoft

⤋ Read More

A Short Review of Selling on Tindie
I started using the Tindie platform in April to sell my WiFiStation kits. I’ve now sold out all of my initial inventory and am not planning on making any more, so I thought I’d offer my opinions of Tindie as a platform for selling things. ⌘ Read more

⤋ Read More

Apple’s event on Monday is bringing, as always, speculation to the table. One thing most outlets seem to agree is the introduction of an ā€œM1Xā€ chip, thought Apple might call it differently. M1X might also mean, M1(we don’t know what comes after, or next generation). Either way, I would really like to see the return of the 27ā€ iMac, but I will not hold my breath. Nevertheless, Monday is going to be an exciting day for many, including me! šŸŽ

⤋ Read More

30 free and open source Linux games – part 3
With Linux celebrating it’s 30 year anniversary, I thought I’d use that as an excuse to highlight 30 of my favorite free and open source Linux games, their communities, and their stories. If you’ve haven’t ⌘ Read more

⤋ Read More

A screenshot of a very tiny c program written on System7

I’ve got to use macOS by nature of my work. Lately I’m increasingly down on this. Here I will not re-hash anything about the current state of Apple’s hardware and software ecosystem. I don’t care.

Wanting to take a trip down nostolgia lane, however (to when I was 2 years old) I thought I’d install Mac OS System 7. What follows is a quick guide for doing the sa … ⌘ Read more

⤋ Read More

I was receiving strange requests to mine spartan server, so i fixed that. Someone wanted to hack me (they thought it is webserver), someone tryed to send request from some browser on mac :)

⤋ Read More

Programs and Equipment I Use
After many requests, here are the programs I use for everything. I’m only putting here programs I consider tried and true and have used for a while.

Software I Use Priorities

I’m about getting things done quickly and having as little space between my thoughts and actions on the computer.

I like having vim-like bindings and prefer running programs in the terminal for simplicity’s sake. That said, I’m very much against the cringey meme that things … ⌘ Read more

⤋ Read More

@movq@www.uninformativ.de ā€œRandom thought: Would be great if you could do for i in ...; do something "$i" & done ; wait in a Shell script, but with the Shell only spawning one process per CPU.ā€ -> Interesting which annoyances stay in the back of the head – I’d never articulated this, but it’s absolutely true that this would be great.

⤋ Read More

Never thought I’d want a 6K monitor, but I’m running VS Code and it sure would be nice to have a little bit more width. The proper layout for the task I’ve been doing is four editors wide, plus some more space on the left for a file picker.

⤋ Read More

@vain@www.uninformativ.de the truth is, i never ā€œgotā€ or liked twitter. i think it’s way too noisy and a terrible way to have a conversation, what with the character limit and all. and then mastodon came along and i thought it would be different, but then it became too twitter-like. i get what you mean about twtxt and discoverability, that is one of its drawbacks.

⤋ Read More

@prologic@twtxt.net My thoughts on it being if they switched from a different way of hosting the file or multiple locations for redundancy..

I have an idea of using something like SRV records where they can define weighted url endpoints to reach.

⤋ Read More

@prologic@twtxt.net to answer some of your previous questions, i’m using txtnish for my timeline and user controls, and plain twtxt for posting. the alternative to that would be setting up a bunch of shell aliases or small scripts. or making my own client in Go. There’s a thought… ;)

⤋ Read More

suddenly I have an urge to build a concatenative macro language to go along with this !txtvm project of mine. Together, they maybe could build a more @!(ref ā€œthoughtful_programmingā€ ā€œthoughtfulā€)!@ !runt? #halfbakedideas

⤋ Read More

I never thought I’d ever say this, but I am officially done with Csound. I’ve been using Csound since I was 16 years old, but now I feel like throwing my copy of the Csound book in the trash. Good riddance.

⤋ Read More

You are angry about the Marxist movement of the left?
Hey you thinker, here are some thoughts for you to ponder. STOP trying! We are preprogrammed not to trust anything that doesn’t look, feel, or smell like us. The more someone looks like us, and talks like us, the more trustworthy they appear to us. The second we meet someone we judge them. We judge […] ⌘ Read more

⤋ Read More

One can construct a bingo sheet to group together anybody. A bingo sheet constructed to group together people who don’t act or think similarly will not reliably predict those people’s thoughts or actions.

⤋ Read More

disinfo never dies. I ran into somebody the other day who thought LSD stayed in your spinal fluid permanently & caused flashbacks – despite definitely not being alive when that BS was last seriously floated.

⤋ Read More

Reading the DomeKano manga, I keep running into stuff where it’s like, I don’t remember them happening in the anime but they must have, but at the same time I would have thought I would have remembered them. Maybe the constant bombshells produced twist fatigue.

⤋ Read More

If you thought Quora’s anime tag was bad, wait until you see their The Beatles tag. If you think that’s bad, wait until you get on the automatic recommendation list for answering questions in ā€˜acronyms’.

⤋ Read More

Read some excepts from a book I randomly found yesterday. While the writing was a little dry, I thought it could be an interesting read. However when I looked on Amazon, found out the book was 80 USD. I’m sorry but it was not that interesting.

⤋ Read More