Spyke

Posts

espresso·Espressobytedu

DIY Espresso

High pressure, high forces, long lever arms...all of that meant heavy and strong (read: expensive) parts which I was not looking forward to having to fabricate. Instead, I settled on the simpler idea of harnessing the power of compressed gas. Instead of using a high mechanical advantage lever to push a piston, compressed CO2 would be dispensed from a small and inexpensive 12g or 16g cartridge which would then generate the requisite pressure to properly extract espresso. This concept is not actually novel; both an unsuccessful kickstarter and a now-defunct handheld espresso maker (with a fanatical user base) employed this mechanism.

DIY Espressohttps://www.fourbardesign.com/2020/10/diy-espresso.htmlOpen linkView original on azorius.net
31
golang·Golangbytedu

Unmasking a Go HTML Parser Bug with Differential Fuzzing

In this write-up, we’ll delve into how, through differential fuzzing, we uncovered a bug in Go’s exp/net HTML’s tokenizer. We’ll show potential XSS implications of this flaw. Additionally, we’ll outline how Google assessed this finding within their VRP program and guide how to engage and employ fuzzing to evaluate your software.

https://mionskowski.pl/posts/unmasking-go-html-parser-bug/Open linkView original on azorius.net
10
golang·Golangbytedu

WASI support in Go

Go 1.21 adds a new port targeting the WASI preview 1 syscall API through the new GOOS value wasip1. This port builds on the existing WebAssembly port introduced in Go 1.11.

WebAssembly (Wasm) is a binary instruction format originally designed for the web. It represents a standard that allows developers to run high-performance, low-level code directly in web browsers at near-native speeds.

Go first added support for compiling to Wasm in the 1.11 release, through the js/wasm port. This allowed Go code compiled using the Go compiler to be executed in web browsers, but it required a JavaScript execution environment.

As the use of Wasm has grown, so have use cases outside of the browser. Many cloud providers are now offering services that allow the user to execute Wasm executables directly, leveraging the new WebAssembly System Interface (WASI) syscall API.

WASI support in Gohttps://go.dev/blog/wasiOpen linkView original on azorius.net
15

CVE-2020-19909 Is Everything That Is Wrong With Cves

It was obvious already before that NVD really does not try very hard to actually understand or figure out the problem they grade. In this case it is quite impossible for me to understand how they could come up with this severity level. It’s like they saw “integer overflow” and figure that wow, yeah that is the most horrible flaw we can imagine, but clearly nobody at NVD engaged their brains nor looked at the “vulnerable” code or the patch that fixed the bug. Anyone that looks can see that this is not a security problem.

https://daniel.haxx.se/blog/2023/08/26/cve-2020-19909-is-everything-that-is-wrong-with-cves/Open linkView original on azorius.net
25
golang·Golangbytedu

Structured Logging with slog

The new log/slog package in Go 1.21 brings structured logging to the standard library. Structured logs use key-value pairs so they can be parsed, filtered, searched, and analyzed quickly and reliably. For servers, logging is an important way for developers to observe the detailed behavior of the system, and often the first place they go to debug it. Logs therefore tend to be voluminous, and the ability to search and filter them quickly is essential.

Structured Logging with sloghttps://go.dev/blog/slogOpen linkView original on azorius.net
11

WinRAR flaw lets hackers run programs when you open RAR archives

The flaw is tracked as CVE-2023-40477 and could give remote attackers arbitrary code execution on the target system after a specially crafted RAR file is opened.

RARLAB released WinRAR version 6.23 on August 2nd, 2023, effectively addressing CVE-2023-40477.

https://www.zerodayinitiative.com/advisories/ZDI-23-1152/

WinRAR flaw lets hackers run programs when you open RAR archiveshttps://www.bleepingcomputer.com/news/security/winrar-flaw-lets-hackers-run-programs-when-you-open-rar-archives/Open linkView original on azorius.net
36
golang·Golangbytedu

Backward Compatibility, Go 1.21, and Go 2

Boring is good. Boring is stable. Boring means being able to focus on your work, not on what’s different about Go. This post is about the important work we shipped in Go 1.21 to keep Go boring.

There will not be a Go 2 that breaks Go 1 programs. Instead, we are going to double down on compatibility, which is far more valuable than any possible break with the past. In fact, we believe that prioritizing compatibility was the most important design decision we made for Go 1.

Backward Compatibility, Go 1.21, and Go 2https://go.dev/blog/compatOpen linkView original on azorius.net
29
espresso·Espressobytedu

Espresso Coffee Mitigates the Aggregation and Condensation of Alzheimer′s Associated Tau Protein

Espresso coffee is among the most consumed beverages in the world. Recent studies report a protective activity of the coffee beverage against neurodegenerative disorders such as Alzheimer′s disease. Alzheimer′s disease belongs to a group of disorders, called tauopathies, which are characterized by the intraneuronal accumulation of the microtubule-associated protein tau in fibrillar aggregates. In this work, we characterized by NMR the molecular composition of the espresso coffee extract and identified its main components. We then demonstrated with in vitro and in cell experiments that the whole coffee extract, caffeine, and genistein have biological properties in preventing aggregation, condensation, and seeding activity of the repeat region of tau. We also identified a set of coffee compounds capable of binding to preformed tau fibrils. These results add insights into the neuroprotective potential of espresso coffee and suggest candidate molecular scaffolds for designing therapies targeting monomeric or fibrillized forms of tau.

In vitro results, take with a grain of salt or shot of espresso.

https://pubs.acs.org/doi/10.1021/acs.jafc.3c01072Open linkView original on azorius.net
26
azorius·Azorius (software)bytedu

A few notes on search

The search box, at present, is more like a fetch activity box. It can only find and retrieve objects by their activitypub ID (url).

First caveat is that you have to get to the actual object. Lemmy marks this with a little fediverse icon, but it's pretty subtle. You can't retrieve an object from a server that doesn't own it, even if you can see it there. That's just the way things are. Also remember that posts and groups can be on different servers.

Second caveat is that kbin omits some information that lets azorius know which group a post is in. If you get a group not found error, you have to search for the group first, then the post.

Fetching a post doesn't retrieve comments. I don't believe this is possible at present. You should be able to search for comments to import them, however.

View original on azorius.net
1
azorius·Azorius (software)bytedu

The chat has entered azorius

Pushed a big change to enable group chat.

This kinda seems like feature creep, but looking at successful forums, I think many of them have an irc (or a fucking discord) on the side. Or you resort to an adhoc chat post. So I think it's fairly important. It's not very complicated, either.

It's not on by default, and can be enabled on a per group basis.

But does it fedi? Obvi! Well, within reason, and with certain caveats.

It's based on the ChatMessage type, addressed to the group, and federated via Announce/Create/ChatMessage like other group activities. So nothing special.

Honk required a small fix because it wasn't expected chats to be announced. Not sure how other software would react. The fix was pretty simple and obvious, just not something I anticipated. The tricky part is getting addressing right and replying to the group, not only the poster.

View original on azorius.net
1

Summary: MTE As Implemented

MTE = Memory Tagging Extension

In mid-2022, Project Zero was provided with access to pre-production hardware implementing the ARM MTE specification. This blog post series is based on that review, and includes general conclusions about the effectiveness of MTE as implemented, specifically in the context of preventing the exploitation of memory-safety vulnerabilities.

Despite its limitations, MTE is still by far the most promising path forward for improving C/C++ software security in 2023. The ability of MTE to detect memory corruption exploitation at the first dangerous access provides a significant improvement in diagnostic and potential security effectiveness. In comparison, most other proposed approaches rely on blocking later stages in the exploitation process, for example various hardware-assisted CFI approaches which aim to block invalid control-flow transfers.

Implementation Testing

Mitigation Case Studies

The Kernel

https://googleprojectzero.blogspot.com/2023/08/summary-mte-as-implemented.htmlOpen linkView original on azorius.net
7
golang·Golangbytedu

What’s New in Go 1.21 Comprehensive Notes

The Go programming language has released its first Release Candidate (RC) for version 1.21, which is packed with new features, improvements, and performance enhancements. This article provides an overview of the notable changes and features in Go 1.21, along with some exciting additions to the standard library.

  • PGO
  • min, max functions
  • preview of loop capture change
  • new slog, slices, and map packages
  • WASI port
https://medium.com/lyonas/whats-new-in-go-1-21-a-comprehensive-notes-96017750b390Open linkView original on azorius.net
10

The Ups and Downs of 0-days: A Year in Review of 0-days Exploited In-the-Wild in 2022

41 in-the-wild 0-days were detected and disclosed in 2022, the second-most ever recorded since we began tracking in mid-2014, but down from the 69 detected in 2021. Although a 40% drop might seem like a clear-cut win for improving security, the reality is more complicated.

The Ups and Downs of 0-days: A Year in Review of 0-days Exploited In-the-Wild in 2022https://security.googleblog.com/2023/07/the-ups-and-downs-of-0-days-year-in.htmlOpen linkView original on azorius.net
6
golang·Golangbytedu

Scripting with Go: a 400-line Git client

A few years ago I wrote pygit, a small Python program that’s just enough of a Git client to create a repository, add some commits, and push itself to GitHub.

I wanted to compare what it would look like in Go, to see if it was reasonable to write small scripts in Go – quick ’n’ dirty code where performance isn’t a big deal, and stack traces are all you need for error handling.

The result is gogit, a 400-line Go program that can initialise a repository, commit, and push to GitHub. It’s written in ordinary Go … except for error handling, which is just too verbose in idiomatic Go to work well for scripting (more on that below).

https://benhoyt.com/writings/gogit/Open linkView original on azorius.net
15
cryptography·Cryptographybytedu

The Cryptographer Who Ensures We Can Trust Our Computers

Yael Tauman Kalai’s breakthroughs secure the digital world, from cloud computing to our quantum future.

My master’s thesis was titled “How to Leak a Secret.” Here’s the problem: We know how to digitally sign — to say, “This is me that wrote this message.” But say I want to sign something as an MIT professor, but I don’t want people to know it’s me? That way the secret does hold some water because you know an MIT professor signed it, but you don’t know who.

We solved this with something we called ring signatures, which were inspired by a notion in computer science called witness-indistinguishable proofs. Let’s say there’s a statement and two different ways to prove it. We say there’s two “witnesses” to the statement being correct — each of the proofs. A witness-indistinguishable proof looks the same no matter which you use: It hides which witness you started with.

The Cryptographer Who Ensures We Can Trust Our Computershttps://www.quantamagazine.org/the-cryptographer-who-ensures-we-can-trust-our-computers-20230727/Open linkView original on azorius.net
2
golang·Golangbytedu

Go 1.22 inlining overhaul

Our current inlining policy remains built on a foundation that is becoming increasingly strained as we add things like PGO, is increasingly anchored in past backend limitations, and it continues to use an overly simplistic cost model driven by an overly simplistic scheduler. Between unified IR and the untapped possibilities of PGO, I believe there’s now a significant opportunity to improve the inlining policy, resulting in significant performance improvements for Go applications, and reducing the effort and expertise needed to write highly efficient Go code.

https://docs.google.com/document/d/1a6p7-nbk5PVyM1S2tmccFrrIuGzCyzclstBtaciHxVw/mobilebasicOpen linkView original on azorius.net
14
azorius·Azorius (software)bytedu

notifications

Okay, we've got some basic notifications now. Some more to come.

Admins get notified when users sign up.

Mods get notified when posts are mod in their group.

Users get notified when someone comments on your post.

The logic for this is still incomplete, doesn't include all replies, etc. and so forth.

View original on azorius.net
1