Searching yarn

Twts matching #twtxt.txt
Sort by: Newest, Oldest, Most Relevant
In-reply-to » Question to all you Gophers out there: How do you deal with custom errors that include more information and different kinds of matching them?

@lyse@lyse.isobeef.org do you need to have an explicit Is function? I believe errors.Is has reflect lite and can do the type infer for you. The Is is only really needed if you have a dynamic type. Or are matching a set of types as a single error maybe? The only required one would be Unwrap if your error contained some other base type so that Is/As can reach them in the stack.

As is perfect for your array type because it asserts the matching type out the wrap stack and populates the type for evaluating its contents.

⤋ Read More
In-reply-to » @eapl que problema tuviste con las sesiones y pk decidiste implementarlo con php??

Quiero mantener una sesión por largo plazo (para no tener que estar poniendo el Password todo el tiempo).

Debido a que esta herramienta de twtxt tiene la intención de que cualquier persona pueda auto-hospedar su propio twtxt.txt, vĆ­ que lo mĆ”s ā€˜fĆ”cil’ y universal es tener un servidor con PHP 7.3+, como un Shared Hosting.

Despliegues con Python, Go, etc. podrían requerir mÔs configuración.

⤋ Read More
In-reply-to » @eapl que problema tuviste con las sesiones y pk decidiste implementarlo con php??

Quiero mantener una sesión por largo plazo (para no tener que estar poniendo el Password todo el tiempo).

Debido a que esta herramienta de twtxt tiene la intención de que cualquier persona pueda auto-hospedar su propio twtxt.txt, vĆ­ que lo mĆ”s ā€˜fĆ”cil’ y universal es tener un servidor con PHP 7.3+, como un Shared Hosting.

Despliegues con Python, Go, etc. podrían requerir mÔs configuración.

⤋ Read More
In-reply-to » So given's Googleā„¢'s recent policy changes where they now outright and blatantly just admit they'll crawl, index and feed your (yes your fuckind) writings, thoughts, conversations, etc into their AI models; Should we as a small niche community (still growing) think about perhaps finally building Yarn.social v2 where we have encrypted feeds? šŸ˜…

@prologic@twtxt.net hmm, I’d be up for thinking about that. At least at the protocol and design level–I’m afraid I can’t help much with Go programming.

⤋ Read More
In-reply-to » I never paid a lot of attention to Ben Shapiro before, but what he says is so transparently asinine it boggles the senses. You really have to have a Fox-addled mind to believe that the search for the submersible was completely faked and that the powers-that-be knew the entire time that it had imploded. To believe that a vast conspiracy among hundreds, thousands (?) of people from several countries and spanning several days was orchestrated to lie to the public in order to.....uh, achieve what exactly? "Undermine institutional credibility"? What does that even mean?

@shreyan@twtxt.net If that’s your reaction to PragerU, then do I have a podcast for you! https://www.stitcher.com/show/the-audit

⤋ Read More
In-reply-to » Google Says It'll Scrape Everything You Post Online for AI

@marado@twtxt.net It can’t possibly be defensible, which to me always signals an attempt at a power grab. They never explicitly said ā€œwe will use anything we scrape from the web to train our AIā€ before–that’s new. There is growing pushback against that practice, with numerous legal cases winding through the legal system right now. Some day those cases will be heard and decided on by judges. So they’re trying to get out ahead of that, in my opinion, and cement their claims to this data before there’s a precedent set.

⤋ Read More
In-reply-to » I never paid a lot of attention to Ben Shapiro before, but what he says is so transparently asinine it boggles the senses. You really have to have a Fox-addled mind to believe that the search for the submersible was completely faked and that the powers-that-be knew the entire time that it had imploded. To believe that a vast conspiracy among hundreds, thousands (?) of people from several countries and spanning several days was orchestrated to lie to the public in order to.....uh, achieve what exactly? "Undermine institutional credibility"? What does that even mean?

@xuu@txt.sour.is Oh wow I didn’t know he was associated with PragerU. I’ve listened to a few episodes of The Audit podcast, where they basically shred PragerU content, and it’s hilarious and terrifying.

⤋ Read More
In-reply-to » Home | Tabby This is actually pretty cool and useful. Just tried this on my Mac locally of course and it seems to have quite good utility. What would be interesting for me would be to train it on my code and many projects šŸ˜…

@prologic@twtxt.net The hackathon project that I did recently used openai and embedded the response info into the prompt. So basically i would search for the top 3 most relevant search results to feed into the prompt and the AI would summarize to answer their question.

⤋ Read More
In-reply-to » A GTK 4 application showing an empty window uses about 160 MB of RAM:

@movq@www.uninformativ.de If I understand it correctly, gtk4 renders using OpenGL. That means some of that RAM that appears to be allocated is actually some trick of the OpenGL driver so that it can map address in RAM space to the GPU’s VRAM (depends a lot on your setup though).

What happens if you run it with GSK_RENDERER=cairo set?

⤋ Read More
In-reply-to » A GTK 4 application showing an empty window uses about 160 MB of RAM:

@movq@www.uninformativ.de
Doesn’t even compile on my system, which is apparently broken:

> cc -Wall -Wextra -o win win.c $(pkg-config --cflags --libs gtk4)                                                                                                        
cc: error: unrecognized argument in option ā€˜-mfpmath=sse -msse -msse2 -pthread -I/usr/include/gtk-4.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgtk-4 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgraphene-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0’
cc: note: valid arguments to ā€˜-mfpmath=’ are: 387 387+sse 387,sse both sse sse+387 sse,387

⤋ Read More
In-reply-to » Russia blowing up the Nova Kakhovka dam is an incomprehensible war crime. Among other things, it drains water from the Zaporizhzhia nuclear power plant, water that is needed for cooling. They are trying to generate a widespread disaster.

@prologic@twtxt.net I tried to call him but he wouldn’t answer the phone šŸ˜ž

⤋ Read More
In-reply-to » Russia blowing up the Nova Kakhovka dam is an incomprehensible war crime. Among other things, it drains water from the Zaporizhzhia nuclear power plant, water that is needed for cooling. They are trying to generate a widespread disaster.

@stigatle@yarn.stigatle.no I think I understand NATO’s hesitation, but at the same time if this drags on and on for years then it causes massive loss of life and is even more dangerous for everyone. If that nuclear power plant melts down, whether because Russia causes it directly or because of an ā€œaccidentā€, then all of Europe can be blanketed with fallout. The longer this goes on, the more likely that possibility (and worse ones!) becomes.

That is scary to be so close to Russia. I hope you’re doing OK.

⤋ Read More
In-reply-to » Russia blowing up the Nova Kakhovka dam is an incomprehensible war crime. Among other things, it drains water from the Zaporizhzhia nuclear power plant, water that is needed for cooling. They are trying to generate a widespread disaster.

@prologic@twtxt.net I don’t agree. I think he’s a thug who benefits a lot if everybody thinks he’s a madman.

All through this war, there has been a repeated cycle:

  • We can’t give Ukraine weapon X; that will provoke Putin and he’ll drop a nuke!
  • Russian propagandists threaten they’re about to drop nukes
  • After lots of hand wringing, some country gives weapon X to Ukraine
  • No nukes are dropped

We’re on like the 5th iteration of this. Now it’s about F-16 fighter jets. In the meantime, a lot of Ukrainians AND Russians are dying en masse.

⤋ Read More
In-reply-to » Russia blowing up the Nova Kakhovka dam is an incomprehensible war crime. Among other things, it drains water from the Zaporizhzhia nuclear power plant, water that is needed for cooling. They are trying to generate a widespread disaster.

@prologic@twtxt.net I said nothing about an international violent response. You added that šŸ¤”

If someone punches you in the face over and over again, you don’t stand there and take it to avoid ā€œbegetting violenceā€. You stop them from punching you, and do your best to ensure they never punch you again. That’s not ā€œviolence begets violenceā€. That’s rationality.

⤋ Read More
In-reply-to » People complain about the noise that the crows in our area make. Well … https://movq.de/v/7b8c06eb73/noise.ogg Notice anything?

@lyse@lyse.isobeef.org @movq@www.uninformativ.de I’ve always liked the sound of crows, and I really really hate the sound of motorized vehicles, so I also find it absurd. I’ve come to think that some people are at some level afraid of nature, and nature sounds remind them of it.

⤋ Read More
In-reply-to » People complain about the noise that the crows in our area make. Well … https://movq.de/v/7b8c06eb73/noise.ogg Notice anything?

@movq@www.uninformativ.de wow. I’d trade crow sounds for car sounds, or jet sounds, or leaf blower sounds, or lawn mower sounds, or…..100% of the time.

As far as fighting the birds goes, maybe they’re right, but probably it’d be better to re-balance the ecosystem so that crows aren’t so dominant? At least there are things to try. When it comes to reducing how much air travel people use, it takes a terrorist attack or a pandemic to affect it.

⤋ Read More
In-reply-to » Erlang Solutions: How ChatGPT improved my Elixir code. Some hacks are included. I have been working as an Elixir developer for quite some time and recently came across the ChatGPT model. I want to share some of my experience interacting with it.

@Planet_Jabber_XMPP@feeds.twtxt.net No. ChatGPT does not improve your code. Coding is thinking. You offloaded your thought to a machine. You will not be able to reproduce what the machine did for you if you don’t have the machine, so you learned nothing.

⤋ Read More
In-reply-to » @mckinley Yeah, that’s more clear. šŸ‘Œ

@prologic@twtxt.net that would work if it was using shamir’s secret sharing .. although i think its typically 3 of 5 so you get 3, one to the company, and one to the ā€œthird partyā€. so you can recover all you want.. but if the company or 3rd wants to they need one of your 3 to recover.

but still .. if they are providing them then whats the point of trusting they don’t have copies.

⤋ Read More