[-] [email protected] 8 points 3 months ago

Should have gone with Barclay as Kovitch.

[-] [email protected] 13 points 4 months ago

Languages don't have goto because they mindlessly copied it.

[-] [email protected] 9 points 4 months ago

I will never use a Windows laptop because it wakes up in the middle of the night to apply some stupid update, then glitches out, and can't go back to sleep. So every morning I find a laptop with a dead battery. Sometimes if I wake up early, it'll still be hot from whatever it was doing.

Fixing that stupid bug should have been easier than porting the whole OS and app stack and emulator to a new CPU arch. And I have no faith they fixed the bug anyway, so it'll probably still happen to ARM models. So no thank you.

[-] [email protected] 11 points 4 months ago

Some necessary caveats: This kind of attack can only be pulled off in relatively narrow circumstances by a dedicated attacker. Segal said the user would need to have installed a malicious browser extension or be in transit and use public Wi-Fi where their traffic could be intercepted and decrypted through a MITM attack.

Well, okay. Maybe there's something new here, but despite the many paragraphs of exposition, this sounds like exactly the sort of cookie stealing attack that's been possible for decades.

Is the big breakthrough here that somebody realized FIDO doesn't change that? Like, uh, no kidding? What's new?

[-] [email protected] 9 points 4 months ago
[-] [email protected] 8 points 4 months ago

Link to the source?

[-] [email protected] 8 points 4 months ago

Screenshot?

[-] [email protected] 6 points 5 months ago

Ignore the replies saying you did tag evan. If you look at the AP object, it's clear he wasn't tagged. If your intention was to notify him, what some random client does to the html later obviously won't do that.

[-] [email protected] 9 points 5 months ago

Who decides who gets the money? Meta? Isn't this literally the worst case EEE scenario that people are worried about? They're going to buy the changes they want?

[-] [email protected] 8 points 7 months ago

The list of accounts mentioned in the spam posts were harvested from the misskey.io timeline, so if you don't have followers there you did not receive any.

[-] [email protected] 9 points 7 months ago

7700K supports popcnt.

[-] [email protected] 10 points 8 months ago

If they provided constants, someone would complain that they produce the wrong result for daylight savings or leap years.

10
submitted 1 year ago by [email protected] to c/[email protected]

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
10
submitted 1 year ago by [email protected] to c/[email protected]

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.

19
submitted 1 year ago by [email protected] to c/[email protected]

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).

7
submitted 1 year ago by [email protected] to c/[email protected]

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.

15
Go 1.22 inlining overhaul (docs.google.com)
submitted 1 year ago by [email protected] to c/[email protected]

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.

8
Common pitfalls in Go benchmarking (eli.thegreenplace.net)
submitted 1 year ago by [email protected] to c/[email protected]

Go programmers have the good fortune of excellent testing and benchmarking tooling built into the standard library - in the testing package. However, benchmarking is hard. This isn't Go specific; it's just one of those things experienced developers learn over time.

This post lists some common benchmarking pitfalls Go programmers run into. It assumes basic familiarity with writing Go benchmarks; consult the testing package documentation if needed. While these pitfalls are presented in Go, they exist in any programming language or environment, so the lessons learned here are widely applicable.

view more: ‹ prev next ›

tedu

joined 1 year ago