Penguincoder

@[email protected]

Bit-breaker working in cybersecurity/IT. Only languages I know are English and Programming ones.

Sometimes I write things about technology.


If I told you the SHA256 for this sentence starts with ‘c, 5, four, a, and a’, would you believe me?

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

Penguincoder,

That’s AJAX

Yes, and that’s what is shown in this article.

… return HTML content and use the htmx library to handle the AJAX requests

htmx is not meant to do anything fancy that you can’t do with Ember/Angular/React/Vue/etc.

htmx is simpler though and has a few benefits as I see it, compared to those frameworks:

  • No duplication of data models and routing, and all business logic stays on the server-side where it belongs.
  • No build step, no dependency hell, and no outrageous churn; just include one JS file that browsers should be able to run indefinitely.
Penguincoder,

There is a big difference between a lot of content and quality content. I appreciate Beehaw for our quality, not the quantity. There are certainly some great content on other instances, but sorting through the crap noise to find the good, just isn’t worth my effort.

Players who don't like survival games as a genre: Which survival games are your personal exceptions, which ones have you enjoyed nonetheless and why?

Personally, I really don’t like most of these games due to the tedium and frustration that comes with hunger/thirst mechanics. Most of the exceptions that I do actually like either make up for it through something else that elevates the experience enough - or they either don’t have these mechanics or allow for players to...

Penguincoder,

Don’t starve together is more fun to play with others. But yeah the base Don’t starve gets tedious and annoying, quickly.

Penguincoder,

Etar is my go to calendar app as well, pair with the ICSx5 and I just works.

Penguincoder,

There is an identity protocol for achieving that, called zot. However it requires the forums/sites you’re visiting to have Zot implemented. That is likely not the case, as Zot is way less prevalent than even ActivityPub.

Penguincoder,

I use Time Recording on mobile for this. It’s not FOSS but it does everything you want, exception being not on the PC.

Penguincoder,

Hi, It’s still a conversation and as far as I know, planned. We don’t take that measure lightly though and definitely don’t want to cause users frustration by doing so. There are still some major sticking points we have such as what would fit our purpose best, user friction and security, etc. Don’t want to move to something else and it be worse long term.

Penguincoder,

I was expecting this to be a randomized selector. Just roll the dice!

Penguincoder,

Objection noted; but this is not the forum to publicly air your disagreement.

Also, to wit there is a difference between beehaw admins and beehaw moderators. You are speaking about actions taken by beehaw moderators, of the community you posted the original post at.

Feedback on CalyxOS

UPDATEThank you for your feedback! Based on what you all provided, I’m going to postpone installing any de-Googled Android OS for the time. It seems there’s still a lot that needs to be worked on in terms of device and application support, and I don’t have the time to work out the kinks and issues that might show up here...

Penguincoder,

There really is no reason to use CalyxOS vs Graphene these days. GrapheneOS offers sandboxed play services with the standard SELinux policies for unprivileged Android software.

GrapheneOS also has hardened_malloc, which seems to have the best design for malloc hardening out of any alternatives I’m aware of.

MicroG requires very strong privileges and weakens the comprehensive privsep you’d otherwise have. Calyx shouldn’t be considered much more secure than Android Open Source Project (AOSP).

Penguincoder,

Yeah there’s a few different right answers but Ubuntu/Canonical is definitely one of them.

Penguincoder,

The company goes against the Linux philosophy in everything it does. Ubuntu as an OS is more like Microsoft than Linux, in spirit; we’re going to tell you how the system operates and you’ll deal with it. Litany of privacy issues by default. And like the Admiral says below, the insanity of snap bullshit. Oh, and then there’s this crap.

Penguincoder,

Thanks I hate it.

Penguincoder,

Amazing timing, thanks for sharing.

Penguincoder, (edited )

The *arrs don’t actually find content for you, they give you an interface to track and view content. You would still need some type of finding service to plug into Sonnar be it Usenet or torrents. What ever providers you use for finding content, would stay the same if you just add Sonarr etc. Maybe this will help explain things.

Penguincoder,

Agreed with this. Fracturing further into specifics would be problematic, and time consuming. It would also end up with even less traffic and participation than the FOSS community on Beehaw. I’d prefer to keep the general forum for now and not create a new, more specific one.

Penguincoder,

Ain’t even a Texan thing, its just y’all.

Penguincoder,

Give The Prince Of Nothing series a read. A bit more of a philosophical series than a hack and slash fantasy.

Penguincoder,

This post worked. Can you please reach out to me on matrix.

Penguincoder,

Good to see them working on the important issues affecting Android auto.

Penguincoder,

https://beehaw.org/pictrs/image/b165ba33-d1b6-4c53-b9aa-24284b5f25ab.webp

Entering in your credentials as an instance admin, mod, or otherwise, into a third party website is an absolute no-go.

Penguincoder,

why not have it federate?

Because activitypub is a hot mess and Lemmy’s implementation on top of it, is problematic.

Penguincoder,
  • EDITL Lemmy-UI deleted my !@#$#% links because I used the standard Markdown of less than and greater than symbols for a link.

1.)

2.)


My comment on a deleted postThese are my opinions, probably not shared with others and surely not the end all be all to ‘why not Rust?’ Rust is hard. Rust is slow to iterate with and compile. Here’s a highlevel overview of the things you’d need to learn to effectively understand Rust code; not even speaking to learning enough of that to write it. Rust gets touted as secure, and it is more secure than other low level languages like C/C++. That does not make it invulnerable to exploits. It gives a false sense of security to developers who think My app can’t be hacked, it’s written in Rust!!. While Rust is better at memory management and protecting against run time errors related to memory issues, that doesn’t make it 100% safe. That removes almost one class of potential exploits, not all of them, and can’t protect the developer against other developer created issues. Rust code is still written by people. People still write insecure code even in Rust. Computers are dumb as hell; but fast. People are smart as hell, but SLOW. Combine the two and you get stupid things faster; not smarter things better. * Rust development is hard, hard to learn, very hard to do right * Rust is not suited for a web application. Would you tell someone to go write the web application and web page in C/C++? Nope. There’s a reason for that. Not suited to it. Square peg, round hole

  • There’s always exploits being discovered. Rust handles some things better, but uhhh… Go look at some Lemmy Rust code. Definitely still has vulnerabilities; Rust won’t save you from yourself.
    Something like Golang is much better choice for development of a web service that has sane API handling. By the time to add in more error handling, more type checking, more passing around of this function or that data, and more checking it on the sender and receiver side…etc. By the time you’re writing Rust safely and correctly; it is much slower than what you may be lead to believe.
    Go is primarily designed for speed of development (including compilation times), rather than speed of execution. Go programmers tend to value clear code over fast code. Why does a microsecond longer matter for a website? Maybe in some backend PLC land there’s a damn good use for that performance. For a networked web application; it’s a pointless metric. That is not going to be your bottleneck. — Rust is hard to understand just reading it let alone determine why it’s doing something. — Rust fn does_what(n: u64) -> bool { match n { 0…1 => false, _ => !(2…n).any(|d| n % d == 0), } }Golang func doesWhat(value int) bool { for i := 2; i <= int(math.Floor(float64(value)/2)); i++ { if value %i == 0 { return false } } return value > 1 }Not talking about the functionality merits of the two, but in comparing the _code itself. One of those is much easier to determine what’s going on and what it should be doing versus the other. I don’t feel like fighting my code. Programming is a tool to help. If it takes more work to use the tool to achieve your goal, it’s the wrong tool. Rust is the wrong tool for web development.
Penguincoder,
Penguincoder,

If there were a good forum software that had decent threading and strong mod tools

Agreed and that is something we are aiming for with whatever software we’ve been looking at. Good user experience and mod tools.

Penguincoder,

Seriously. Searching google with site:reddit.com is a thing for a reason. Their on site search is atrocious.

Penguincoder,

Long live daddy Spez. Well said, looking forward to the IPO based on this.

Penguincoder,

Kagi.

Penguincoder,
Penguincoder,

Time once again for me to share something helpful that can be used with one of my favorite extensions


<span style="color:#323232;">{
</span><span style="color:#323232;">    "createdBy": "Redirector v3.5.3",
</span><span style="color:#323232;">    "createdAt": "2023-10-12T00:00:00.357Z",
</span><span style="color:#323232;">    "redirects": [
</span><span style="color:#323232;">       {
</span><span style="color:#323232;">            "description": "YouTube>YewTube",
</span><span style="color:#323232;">            "exampleUrl": "https://youtube.com/watch?v=ckatAzemRHk/",
</span><span style="color:#323232;">            "exampleResult": "https://yewtu.be/watch?v=ckatAzemRHk/",
</span><span style="color:#323232;">            "error": null,
</span><span style="color:#323232;">            "includePattern": "^(?:https?):\/\/(?:\w+\.)?youtube\.com(.+)?\b",
</span><span style="color:#323232;">            "excludePattern": "",
</span><span style="color:#323232;">            "patternDesc": "Redirect Youtube",
</span><span style="color:#323232;">            "redirectUrl": "https://yewtu.be$1",
</span><span style="color:#323232;">            "patternType": "R",
</span><span style="color:#323232;">            "processMatches": "noProcessing",
</span><span style="color:#323232;">            "disabled": false,
</span><span style="color:#323232;">            "grouped": false,
</span><span style="color:#323232;">            "appliesTo": [
</span><span style="color:#323232;">                "main_frame"
</span><span style="color:#323232;">            ]
</span><span style="color:#323232;">        },
</span><span style="color:#323232;">    ]
</span><span style="color:#323232;">}
</span>
BolexForSoup, to linux
@BolexForSoup@kbin.social avatar

Looking to dip my toes into Linux for the first time. I have a 2016 Intel MacBook Pro with pretty solid specs collecting dust right now that I think I’m going to use. Research so far has indicated to me that the two best options for me are likely Mint or Elementary OS. Does anyone have any insight? Also open to other OS’s. I would consider myself decently tech savvy but I am not a programmer or anything. Comfortable dipping into the terminal when the need arises and all that.

@linux

Penguincoder, (edited )

Arch is not a beginner OS.

OP: give Mint or PoPOS a try or start off directly with Debian stable. As far as driver issues go, make sure to enable the non-free and non-free-firmware for newer Debian versions and you should be okay.

October Make Something Month: Kickoff

Howdy y’all! It’s October 1st, so make something month has begun. If you would like to participate, post below with what you are planning to do. There’s really no rules, you’ve just got to make something. Every week after this I’ll post a thread for weekly updates, and then on the last day of the month a final update...

Penguincoder,

Nice idea! I’m planning on doing a few smaller soldering/learning projects with the Kiddo. Nothing fancy or major though.

Bots? OH MY (imgflip.com)

On Beehaw there are a few tldr bots from other instances. I present Beehaws own summarizing bot developed by yours truly. Based on feedback from moderators and community leaders, I don’t just want to let this loose on the entire site. Might cause confusion and spam for a community instead of being useful. If you do like what...

Penguincoder,

The summary shouldn’t replace the article in my opinion, just help someone decide if it’s worth their time to read it.

100% agreed.

Penguincoder,

Incorporated an archive link for AbstractBots’ summary.

Penguincoder,

Yeah I get that, certainly don’t like the spammy nature of such. My apologies. I will put AbstractBot on suspension.

Penguincoder,

33 HTTP GET requests per minute to a given instance.

That is way beyond acceptable use, and would likely have your service blocked. There exists these services too :

lemmy-status.org

lemmy.fediverse.observer/stats

Maybe those do what you’re trying to do?

There is not an “admin inbox” for lemmy instances. You can hit the endpoint /api/v3/site for information about an instance including the admins list.

Penguincoder,

Speaking as an admin of an instance here, 33 requests a minute is not “all good”.

Penguincoder, (edited )

Easy. Kagi cares about the quality of their product giving you the customer good results. Their product is a search engine. Google doesn’t care to make their search engine better currently. Their product is ad placement and sales. You are not their customer.

Kagi already exceeds Google at being a search engine, at this time.

Penguincoder,

Lemmy’s attempt to make unsafe HTML “safe” in markdown, is screwing up the formatting in the code block. Download the actual properly formatted json here. Save to your PC as whatever.json and then import that file. It should work.

Penguincoder,

Can’t say we’re 100% responsible for the reduced spam lately; but wanted to get your thoughts. Has there been less Kbin spam lately? Do you feel our countermeasures are working well since a few weeks ago?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines