Searching txt.sour.is

Twts matching #idea
Sort by: Newest, Oldest, Most Relevant
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

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 SDF Public Access UNIX System Celebrates 35 Years!

Here’s what I wrote about SDF back on the 20th anniversary, only now more impressive as SDF goes on in operation, and still faithful to the same ideas, objectives and modus operandi.

Happy birthday!

https://mindboosternoori.blogspot.com/2007/06/sdf-celebrates-20-years.html**
The SDF Public Access UNIX System Celebrates 35 Years!

Here’s what I wrote about SDF back on the 20th anniversary, only now more impressive as SDF goes on in operation, and still … ⌘ Read more

⤋ 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

Dino: Project Stateless File Sharing: First Steps
Hey, this is my first development update!
As some of you might already know from my last blog post, my Google Summer of Code project is implementing Stateless File Sharing for Dino.
This is my first XMPP project and as such, I had to learn very basic things about it.
In my blog posts I’ll try to document the things I learned, with the idea that it might help someone else in the future.
I won’t refrain from explaining terms you might take for gran … ⌘ Read more

⤋ Read More

it’s funny, conditional on AGI (and perhaps also WBE?) not doing us in, i’m pretty bullish on this century. bio seems much less of a problem, and everything else is basically a-okay, especially with people becoming richer and needing to fight less. most other collapse narratives sound pretty unlikely (though prepping is sitll a good idea! you should have three months of food & water at home)

⤋ Read More

**RT by @mind_booster: ½ 📢The Commission wants to do the impossible of detecting illegal content in end-to-end encrypted communications, but has no idea how to do this (because it IS impossible).

Solution: leave it to service providers under the guise of technological neutrality.**
½ 📢The Commission wants to do the impossible of detecting illegal content in end-to-end encrypted communications, but has no idea how to do this (because it IS impossible).

Solution: leave it to service providers under the guise of te … ⌘ Read more

⤋ Read More

Not only Telegram implements new features, I spontaneously had an idea and a bit of programming desire. As an optional feature GoBlog now offers “reactions”. I don’t think I need to explain this feature, just try it out on this post. 😉 ⌘ Read more

⤋ Read More

idea: upvote-only lw shortforms posts: the karma isn’t counted on the user karma score, but it also can’t be downvoted, which encourages more wild and possibly wrong speculations

⤋ Read More

Docker’s Response to the Invasion of Ukraine
Docker is closely following the events surrounding the Russian invasion of Ukraine. The community of Docker employees, Docker Captains, developers, customers, and partners is committed to creating an open, collaborative environment that fosters the free and peaceful exchange of ideas. The tragedy unfolding in Ukraine is in opposition to what our community stands for and […]

The post [Docker’s Response to the Invasion of Ukraine](https://www.docker.co … ⌘ Read more

⤋ Read More

Why I renamed my blogs
After a bit of consideration and a poll on Fosstodon, which shows a clear result even before it ends, I decided to rename this blog from “jlelse’s Blog – Thoughts, stories and ideas” to “Jan-Lukas Else – Thoughts of an IT expert”. Likewise, my German blog from “einGeek – Mehr als nur Internet und Programmieren” to “Jan-Lukas Else – Gedanken eines IT-Experten”. ⌘ Read more

⤋ Read More

Peter Saint-Andre: Philosophies and Ways of Life
In his book What Is Ancient Philosophy?, Pierre Hadot almost singlehandedly resurrected the ancient conception of philosophy as a way of life. Consider this observation about the philosophical schools of Greece and Rome: “For us moderns, the notion of a philosophical school evokes only the idea of a doctrinal tendency or theoretical position. Things were very different in antiquity. No university obligations oriented the future philosopher toward a specific school; instead, the futur … ⌘ Read more

⤋ 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
In-reply-to » @prologic sorry about the spelling mistakes. English is my third language. Also I didn't mean to question the vision as such. Just ment a mobile up that pulls in files directly from the users follow list would line up better with the idea of decentralizing personal data. Since not everyone will be running a pod, but most everyone can have a public facing folder. Specially now with services like Skynet coming online. Sorry hope I didn't offend you too much.

@lyse@lyse.isobeef.org that is a horrible idea. A mobile device isn’t a server. Having a mobile device pull raw twtxt feeds from everywhere on an ongoing bases, will be, at the very least, tolling on the device’s battery. Just at you, or even further, I will never use such thing.

⤋ Read More
In-reply-to » @tamer We're not trying to compete with anything... If you've read About Yarn.social -- In a nutshell I want to create an open, transparent social platform that respect's folks privacy and freedoms. It must also be easy to use and down-to-earth where human interactions actually matter. None of this rubbish of manipulating what you see, driving up engagement numbers to serve your advertisers and all that garbage

@prologic@twtxt.net sorry about the spelling mistakes. English is my third language.
Also I didn’t mean to question the vision as such.
Just ment a mobile up that pulls in files directly from the users follow list would line up better with the idea of decentralizing personal data. Since not everyone will be running a pod, but most everyone can have a public facing folder. Specially now with services like Skynet coming online.
Sorry hope I didn’t offend you too much.

⤋ Read More

参加过 4 届 TiDB Hackathon 是一种什么体验? | TiDB Hackathon 选手访谈

Image

TiDB Hackathon 2021 自 12 月 9 日开启报名至今,已经收到 259 名参赛者报名,组队 64 支,光是队名就脑洞大开,如:渡渡鸟复兴会、LET ETL ROCK、队长负责带饭、小母牛坐飞机、双呆、OneLastCode、TiDB 十年老粉等等,项目 idea 也充满各种奇思妙想。

目前�� … ⌘ Read more

⤋ Read More

干货来了!神州数码 CIO 沈旸揭秘 Hackathon 背后的 TiDB 生态丨 TiDB Hackathon 评委访谈

Image

你多久没仅为 Have fun 去写一段代码?
你多久没为实现一个天马行空的 idea 而兴奋不已?你又多久没为和团队一起 Coding 而干劲十足了?来 TiDB Hackathon 吧,这些体验都能找到!
TiDB Hackathon 2021 已于 12 月 9 日起正式开启报名,我们已经� … ⌘ Read more

⤋ Read More

I missed the exact day, but now it’s been over a year since I switched to my completely custom blogging system. And still I am very happy with it! It has all the features I need, and if I have a new idea, I can usually implement it quickly right away. ⌘ Read more

⤋ Read More
In-reply-to » @movq would it be possible to trim the subject to, say, 100 or 140 characters? Just the subject.

@movq@www.uninformativ.de

If Subject contains the full twt, then you can skim over conversations just by reading those lines in mutt’s index pager

Yes, I do the same, true.

So I decided: Okay, let’s have mutt do it.

And Mutt does it well. I agree it was/is a good idea.

The subject lines are already “compressed”

I noticed, yes.

I am not sure why I asked to begin with; in retrospect, in was a silly request. Perhaps the OCD in me got triggered while viewing rich headers, on a specific twt, when I saw the huge subject line that is, otherwise, always hidden.

Anyway, don’t mind me, move along. 😂

⤋ Read More

I never seem to run out of projects to do. Some slosh around as mere ideas until I decide not to do them for whatever reason, but even so there’s enough to go around and then some.

⤋ Read More

Accelerating New Features in Docker Desktop
In November 2019 Docker announced our re-focusing on the needs of developers. Specifically, we set out to simplify the complexity of modern application development to help developers get their ideas from code to cloud as quickly and securely as possible. We’ve made a lot of progress since delivering against our public roadmap, including shipping Docker […]

The post [Accelerating New Features in Docker Desktop](https://www.docker.com/blog/acc … ⌘ Read more

⤋ Read More

Obscenities are symptoms of weak minds.
Over the past few years, I made the decision to totally cut obscenities out from my speech. You might actually be able to find recordings of me cursing four or five years ago, but as of now, I really stand by my decision.

Obscenities are the linguistic equivalent of an trashy emaciated person entirely decked in tattoos, smoking cigarettes and wearing a shirt with nudity on it. They’ll defend what they do on the idea that it’s someone “their right,” or “e … ⌘ Read more

⤋ Read More

Gajim: Gajim 1.4 Preview: Workspaces
The Gajim team has been hard at work in the past months to prepare the next v1.4 release. The upcoming version brings a major interface redesign. In this post, we explain how the new interface works and what remains to be decided or implemented before the release.

Of course, your feedback is important! No interface can please everyone, so please react to this post with how this change would impact you positively and negatively, and ideas you have to make it even better … ⌘ Read more

⤋ Read More
In-reply-to » I wrote a 'banner'-like program for Plan 9 (and p9p) that uses the Unicode box drawing characters: http://txtpunk.com/banner/index.html

No, I’m still doing them manually. 🤣🤦🏻 But I do think they are a good idea and will be adding them, I just haven’t gotten around to finding a compatible implementation of the hash yet.

⤋ Read More

The Problems with Utilitarianism
I originally wrote this essay in 2014 or 2015 in a Chinese buffet in Athens, Georgia. I’ve changed some of it and am re-adding it here. I talk about the issues with Utilitarianism and a bad book by Sam Harris.

Utilitarianism

At a dumb intuitive level, the “ethical” idea of Utilitarianism in principle gets pretty close to what most people reflexively want from social-political affairs: the greatest good for the greatest number of people—who … ⌘ Read more

⤋ Read More

Good idea. Plan 9 sets $NPROC on boot to the number of cores, so other things can use it. mk will dispatch things in just that way.

⤋ Read More
In-reply-to » My finger server now includes the last post from tw that doesn't have a subject. 'finger a@9srv.net'

With the finger server specifically? No idea, it’s a toy. I’d honestly forgotten I had it on until someone mentioned finger.farm and I was inspired to poke at it again.

⤋ Read More
In-reply-to » I just built a poc search engine / crawler for Twtxt. I managed to crawl this pod (twtxt.net) and a couple of others (sorry @etux and @xuu I used your pods in the tests too!). So far so good. I might keep going with this and see what happens 😀

@prologic@twtxt.net sounds about right. I tend to try to build my own before pulling in libs. learn more that way. I was looking at using it as a way to build my twt mirroring idea. and testing the lex parser with a wide ranging corpus to find edge cases. (the pgp signed feeds for one)

⤋ Read More
In-reply-to » I just built a poc search engine / crawler for Twtxt. I managed to crawl this pod (twtxt.net) and a couple of others (sorry @etux and @xuu I used your pods in the tests too!). So far so good. I might keep going with this and see what happens 😀

@prologic@twtxt.net sounds about right. I tend to try to build my own before pulling in libs. learn more that way. I was looking at using it as a way to build my twt mirroring idea. and testing the lex parser with a wide ranging corpus to find edge cases. (the pgp signed feeds for one)

⤋ Read More
In-reply-to » I just built a poc search engine / crawler for Twtxt. I managed to crawl this pod (twtxt.net) and a couple of others (sorry @etux and @xuu I used your pods in the tests too!). So far so good. I might keep going with this and see what happens 😀

@prologic@twtxt.net the add function just scans recursivley everything.. but the idea is to just add and any new mentions then have a cron to update all known feeds

⤋ Read More
In-reply-to » I just built a poc search engine / crawler for Twtxt. I managed to crawl this pod (twtxt.net) and a couple of others (sorry @etux and @xuu I used your pods in the tests too!). So far so good. I might keep going with this and see what happens 😀

@prologic@twtxt.net the add function just scans recursivley everything.. but the idea is to just add and any new mentions then have a cron to update all known feeds

⤋ Read More

Being misunderstood is a great temporary moat. I could write a book on this, but suffice it to say, I didn’t have confidence in my own vision until I took the time to really look at others and realized that the main difference between me and the average idiot was that I had bothered to look at the ideas of other idiots at all. It was like their entire ontology had become an ant farm. It was the moment I realized, I am a super-idiot. I only half joke, because becoming a super-idiot liberated me from the perfectionism and the addiction to approval that caused a stultifying and primal narcissistic fear of criticism. If you are struggling with this, take it from someone on the other side of it: It’s ok, you’re an idiot. The Strength of Being Misunderstood | Hacker News

⤋ Read More

Would online dating without images lead to deeper, more human connections? I.e. only descriptions of people. If yes, is it different because of molochian reasons? More beautiful people have no problem showing their faces, so not showing ones face is seen as a low-status signal at some point. Counter: The idea of deeper, more human connections is in itself flawed, most mating choices are the result of a combination of class/status signals and physical attractiveness anyway.

⤋ 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 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

There is a palpable difference between the universe described by many religions and the universe described by science. The former is all built from concepts rooted in human society such as father, son, judgment, commandment, obedience, sacrifice, punishment etc. The latter is built from eerie ideas such as force field, wavefunction, observable, reference frame, superposition etc. The former feels small, ordinary, familiar and manmade. The latter feels like we’re fumbling for words to describe something that fundamentally transcends ordinary human experience. 100k Stars | Hacker News

⤋ Read More

When you take stretch breaks every hour it’s a good idea to get up and step away from the keyboard. It is less obvious what you should do when the stretch-break notification comes and you’ve been using a standing desk the entire time.

⤋ Read More

the idea would be to build and share tiny 6.5 bit programs encoded as printable ascii characters. this could then in turn be read by a virtual computer to do things like paint a picture or compose a piece of music. #halfbakedideas

⤋ Read More

A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die and a new generation grows up that is familiar with it… . An important scientific innovation rarely makes its way by gradually winning over and converting its opponents: it rarely happens that Saul becomes Paul. What does happen is that its opponents gradually die out, and that the growing generation is familiarized with the ideas from the beginning: another instance of the fact that the future lies with the youth. The machine learning community has a toxicity problem | Hacker News

⤋ Read More

System Justification Theory: Inefficient systems will be defended and maintained if they serve the needs of people who benefit from them – individual incentives can sustain systemic stupidity. 100 Little Ideas · Collaborative Fund

⤋ Read More

Depressive Realism: Depressed people have a more accurate view of the world because they’re more realistic about how risky and fragile life is. The opposite of “blissfully unaware.” 100 Little Ideas · Collaborative Fund

⤋ Read More