HackerLangs
TopNewTrendsCommentsPastAskShowJobs

Erlangen

591 karmajoined 6 anni fa

Submissions

RustFS vulnerability: Hardcoded token with privileged access

old.reddit.com
6 points·by Erlangen·6 mesi fa·0 comments

comments

Erlangen
·6 giorni fa·discuss
You said "ranges and algorithms", but you didn't copy the third function which actually uses <range> library.

inline double ranges_pipeline(std::span<double const> xs) noexcept { auto costs = xs | std::views::transform(calibrated_mv) | std::views::transform(residual) | std::views::transform(weighted_square);

  return std::ranges::fold_left(costs, 0.0, std::plus<double>{});
}

It's still a bit verbose, because C++ doesn't allow universal function call syntax. It will be even more concise in other languages like D.
Erlangen
·4 mesi fa·discuss
You have write access to this git repo as a first time contributor. You are likely the owner of this repo as well.

You made a pull request not from your own fork, but from a separate branch, https://github.com/Ataraxy-Labs/weave/pull/9
Erlangen
·4 mesi fa·discuss
I delayed upgrade to IPadOS 26.3 til reddit users shared on /r/ipad that its performance was on par with older version now. However, once I upgrade, the performance issues and bugs are noticeable instantly. For example,

1. switching between different browser tabs has a sub-second delay(est 200ms) 2. a tab in system settings menu takes 200ms to load 3. maximizing a video doesn't always work(sometimes it leaves a big white space on top) 4. double tabbing a keyboard key often triggers zooming into the browser page

I couldn't believe these issues haven't been fixed after 3 subversions.
Erlangen
·5 mesi fa·discuss
> Notably, the first scan of this URL on the VirusTotal platform occurred in late September, by a user from Taiwan.

Could this be the attacker? The scan happened before the hack was first exposed on the forum.
Erlangen
·6 mesi fa·discuss
It even censors contents related to GDR. I asked a question about travel restriction mentioned in Jenny Erpenbeck's novel Kairos, it displayed a content security warning as well.
Erlangen
·6 mesi fa·discuss
> Every mammal on this planet instinctively develops a natural equilibrium with the surrounding environment but you humans do not.

Though it's an interesting quote, I have to disagree. The reindeers on St. Matthew Island continued to multiply and depleted their food resources without any predators, until an extreme snow storms struck. They don't "instinctively" develops a natural equilibrium.

https://www.adn.com/features/article/what-wiped-out-st-matth...
Erlangen
·7 mesi fa·discuss
Another mistake is to place "The Road"(Cormac McCarthy) under "On the Road"(Jack Kerouac).
Erlangen
·4 anni fa·discuss
I think Rob Pike has changed his idea. I remember watching Youtube video featuring language designers(golang, d and rust), where Rob Pike, Andrei Alexandrescu and Steve Klabnik talked about the stories behind three languages. Rob Pike said something like, "Golang was mistakenly called system language, it should be called server programming language instead".

I tried to find the video on youtube, but to no avail.