HN user

quadhome

1,376 karma

Scott Robinson, wandering developer.

http://quadhome.com/

Posts14
Comments314
View on HN

Alzheimer’s is driven by the buildup of toxic proteins called amyloid-beta.

In the words of Derek Lowe:

Amyloid-directed therapies truly, truly do not appear to be the answer for Alzheimer’s treatment. When I started work in the field back in the early 1990s, I was convinced of the opposite - the evidence looked very strong that defects in amyloid processing were indeed the cause of the disease. But that was thirty-five years ago, thirty-five years in which therapy after therapy after therapy aimed at amyloid mechanisms has failed.

[…] We’re way past persistence, way past focus, way past optimism and multiple shots on goal and old-college-tries. Do something else! For God's sake, do something else.

https://www.science.org/content/blog-post/anti-amyloid-antib...

And just decided to relicense those forks with no real regard.

Also, it’s a loooong way from the self-contained goal—- there are a lot of third-party crates as dependencies still.

Yikes.

IP-Asia met every week via Zoom. Several other people whose names appear in the same literature frequented it too. Pop in tonight for the final session?

It's desirable to be able to express the idea that we want to continually poll drive one asynchronous operation to completion while periodically checking if some other thing has happened and taking action based on that, and then continue driving forward the ongoing operation.

This idea may be desirable; but, a deadlock is possible if there's a dependency between the two operations. The crux is the "and then continue," which I'm taking to mean that the first operation is meant to pause whilst the second operation occurs. The use of `&mut` in the code specifically enables that too.

If it's OK for the first operation to run concurrently with the other thing, then wrt. Tokio's APIs, have you seen LocalSet[1]? Specifically:

    let local = LocalSet::new();
    local.spawn_local(async move {
        sleep(Duration::from_millis(500)).await;
        do_async_thing("op2", lock.clone()).await;
    });
    local.run_until(&mut future1).await;
This code expresses your idea under a concurrent environment that resolves the deadlock. However, `op2` will still never acquire the lock because `op1` is first in the queue. I strongly suspect that isn't the intended behaviour; but, it's also what would have happened if the `select!` code had worked as imagined.

[1] https://docs.rs/tokio/latest/tokio/task/struct.LocalSet.html

But is there any major technology that post 1960s theoretical physics has given us? I can't think of any example.

Insane take. Just GPS, MRIs (high temp. supercondutors), electron microscopes, quantum computing, and chip fabs alone are relevant to us here at HN.

AsyncLocalStorage.enterWith is the wrong method; .enterWith changes the logger for across the *synchronous* execution. This doesn't matter if there's only one request happening at time-- like when you're testing locally. But that's why it didn't work on the actual project.

Use .run.

  return LoggerStorage.run(requestLogger(), () => {
      logger()?.debug({ url: request.url }, "Started processing request!");
      return NextResponse.next();
  });

Humans only retrieve information in a library in that way due to the past limitations on retrieval and processing. The invention of technologies like tables of contents or even the Dewey Decimal Classification are strongly constrained by fundamental technologies like ... the alphabet! And remember, not all languages are alphabetic. And embeddings aren't alphabetic and don't share the same constraints.

I recommend Judith Flanders' "A Place for Everything" as a both a history and survey of the constraints in sorting and organising information in an alphabetic language. It's also a fun read!

tl;dr why would we want an LLM do something as inefficiently as a human?

"Making the decision to have a child - it is momentous. It is to decide forever to have your heart go walking around outside your body." -- Elizabeth Stone

Screamers (1995) is one of my favourite sci-fi movies and it's more or less The Secondary Variety in film form.

Beware: low ratings on Rotten Tomatoes, "frustrating close to being great."

Galileo’s open service (civil-access) E1 signal incorporates public/private key encryption to digitally sign and authentify data. False Galileo signals from malicious forces are easily detected and rejected by GNSS receivers because they lack encryption watermarks. The feature, called Open Service-Navigation Message Authentication (OS-NMA), has been fully operational since August 2023.

All but one of these come from the restriction[1][2] lint group.

I try to remember to look at new restriction lints with every Rust release. For example, here's what new with 1.86.0[3]; the `return_and_then` lint looks pretty nice.

n.b. no one should enable all restrictions lints— some are mutually exclusive, some are appropriate for specialised circumstances like `#[no_std]`. But I find them helpful to keep a project away from the wild parts of Rust.

P.S. `unhandled_errors` doesn't exist[4].

[1] https://rust-lang.github.io/rust-clippy/stable/?groups=restr... [2]: https://doc.rust-lang.org/stable/clippy/lints.html#restricti... [3]: https://rust-lang.github.io/rust-clippy/stable/?groups=restr... [4]: https://rust-lang.github.io/rust-clippy/stable/index.html#/u...

An AI companion is focused only on you, or better, focused on the same things you are focused on; it is an extension of yourself, an advocate or councilor in all of your dealings, not a counterparty.

Weirdly, my (company name) hosted AI companion is pro-(company name).

Moreover, the vast majority of the callbacks to cyberpunk-- both aspirational and critical-- somehow miss that the entire aesthetic was a response to Reaganomics! Moreover, and somewhat ironically, Reagan was the last US president that used the Heritage Foundation's publications as his policy template.

I wonder what great aesthetic and fiction we'll get from Trumpism?

Empires collapse. States do too. NRx wants a philosopher-king from a tradition that believed in cyclical power structures. https://en.wikipedia.org/wiki/Social_cycle_theory

Meanwhile, the open question is whether or how much AI will kill humanity. No one questions how AI will compete against and govern itself; they just assume it'll be more capitalism!

Chinese iCloud accounts operate on Chinese infrastructure running Apple’s software managed by a Chinese entity. The arrangements are well documented and public, no need to speculate wildly.