Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jstrong
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
jstrong
6y ago
as someone who works 95% of the time in rust, how to handle my errors is never a problem for me. I think the issue is the expectations of people coming into it with a different frame of reference, expecting the kind of traceback/except
92.
▲
by
jstrong
6y ago
it's pretty crazy. even when we are not in the middle of a 'once in a generation' winter storm electricity prices regularly spike as much as 100x as peak gen ramps up, and the whole world (basically) goes on consuming it as i
93.
▲
by
jstrong
6y ago
I completely agree you can build hardy solar/wind generation (i.e. runs in winter), however, the sun still sets each day, and wind is intermittent and unpredictable. until there is a revolution in battery technology, relying on those t
94.
▲
by
jstrong
6y ago
you make him sound like Uhtred in Last Kingdom season 1, returning home to find his chief servant pilfering from his land, prompting him to leap off from his horse and plunge a sword through his heart ("now THAT ... is justice!" U
95.
▲
by
jstrong
6y ago
the difference is, the motivation for the two kinds of communication are completely different. anonymous govt sources talking to the media want the info to be public. govt officials telling a limited circle of people involved in core infras
96.
▲
by
jstrong
6y ago
> some sketchy anonymous government source for whatever reason, you are refusing to grapple with the fact that the second, just-released article, does not rely on the testimony of anonymous government sources, "sketchy" or othe
97.
▲
by
jstrong
6y ago
"first hand" as in, 'the govt told me that china bugged supermicro motherboards,' as opposed to, 'I was told the govt briefed tech companies about how china bugged supermicro motherboards.' honestly, describing
98.
▲
by
jstrong
6y ago
that seems pretty legit.
99.
▲
by
jstrong
6y ago
I read the section in that book about storing each thread's count in a TLS variable, and I think the root of the confusion is related to how C vs. Rust (the language I use and learned how to write multithreaded code in) deal with threa
100.
▲
by
jstrong
6y ago
first, I don't understand how this quote squares with your overall description -- it's specific, first-hand, from a named source, who should (on its face) know what he is talking about: > “This was espionage on the board itself
101.
▲
by
jstrong
6y ago
it's not the "only" sourcing of the main claim, merely an example. (did you read the article?) > Alarmed by the devices’ sophistication, officials opted to warn a small number of potential targets in briefings that identif
102.
▲
by
jstrong
6y ago
I don't think this is as easy as you say it is. from the article: > The machines turned out to be loaded with unauthorized instructions directing each one to secretly copy data about itself and its network and send that information
103.
▲
by
jstrong
6y ago
> “In early 2018, two security companies that I advise were briefed by the FBI’s counterintelligence division investigating this discovery of added malicious chips on Supermicro’s motherboards,” said Mike Janke, a former Navy SEAL who co
104.
▲
by
jstrong
6y ago
Gruber's article says > Today’s follow-up from Bloomberg offers no evidence either. The follow-up article actually has quite a bit of evidence. e.g. > “In early 2018, two security companies that I advise were briefed by the FBI’s
105.
▲
by
jstrong
6y ago
we must have read different articles. I read one where multiple credible people went on the record to say the FBI had warned them that supermicro servers were compromised.
106.
▲
by
jstrong
6y ago
it does acknowledge it though? > Supermicro, Apple and Amazon publicly called for a retraction. U.S. government officials also disputed the article.
107.
▲
by
jstrong
6y ago
> Alarmed by the devices’ sophistication, officials opted to warn a small number of potential targets in briefings that identified Supermicro by name. Executives from 10 companies and one large municipal utility told Bloomberg News that
108.
▲
by
jstrong
6y ago
I have done plenty with threads but never used thread-local storage except when forced to by some other library using it. To me it seems like a bolted-on monstrosity that provides thread safety to thread-naive code after the fact. Am I miss
109.
▲
by
jstrong
6y ago
did you write about your experience? I am interested in this but have very limited knowledge about it at this point.
110.
▲
by
jstrong
6y ago
thank you for providing all this info! as someone who doesn't know much about fgpa boards, what does it mean when you write "From there you can instantiate either Xilinx's Microblaze MCU"? Also, one thing that is confusi
111.
▲
by
jstrong
6y ago
how much would it cost to buy the underlying hardware?
112.
▲
by
jstrong
6y ago
in rust, there is no built-in runtime, so it depends on which one you are using. the runtime (e.g. tokio) is responsible for polling the future. for network io, behind the scenes this is most likely utilizing epoll system calls. epoll mitig
113.
▲
by
jstrong
6y ago
generally speaking, the advantage of async io is strongest for high performance server applications, especially in regards to the cpu usage required relative to the amount of io stuff you can do. with that in mind, "users running your
114.
▲
by
jstrong
6y ago
what kind of problem were you trying to solve that you found sizing a thread pool to be difficult? generally when I've worked on high performance server code I've been coding with a target machine in mind, so it's more a matt
115.
▲
by
jstrong
6y ago
mio and mio_httpc are options if you're the kind of person like me who finds 'async' worse than event loops.
116.
▲
by
jstrong
6y ago
ah, a fellow traveler - godspeed. what a sane, reasonable world we could have if nanosecond timestamps ruled supreme.
117.
▲
by
jstrong
6y ago
> Price goes up 500%. Nobody knows why. welcome to currency trading
118.
▲
by
jstrong
6y ago
do you have any sense for how this would integrate with rust? as someone who isn't familiar with how it works, it's not clear whether that would be as easy as normal C ffi interop or more involved.
119.
▲
by
jstrong
6y ago
for long-running daemon/server programs where reliability is a key priority, I have had a lot of success building in "partial" restarts into the design, which means that periodically the program exits the main event loop and
120.
▲
by
jstrong
6y ago
even the US market has very extensive government intervention in it, so I don't think it's a valid comparison to say, US has free market health care and is expensive, while some other place has socialized medicine and is cheap. p
More ›