criticaltinker
Connect-Web: TypeScript library for calling RPC servers from web browsers
https://news.ycombinator.com/item?id=32345670
I’m curious if anyone knows how Google internally works around the lack of support for gRPC in the browser? Perhaps gRPC is not used for public APIs?
The lack of browser support in the protobuf and gRPC ecosystem was quite surprising and one of the biggest drawbacks noted by my team while evaluating various solutions.
Is this the intended link?
https://matt.traudt.xyz/posts/2019-10-17-you-want-tor-browse...
The distinction between self and other is simply a concept. Certainly useful in many situations, but ultimately just one perspective - one tool at the mind’s disposal.
One could reasonably argue this is the central teaching of Buddhism. Alan Watts helped articulate these ideas to western audiences in many of his lectures:
“You see, the point is that an enormous number of things are going on inside us of which we are not conscious. We make a very, very arbitrary distinction between what we do voluntarily and what we do involuntarily, and we define all those things which we do involuntarily as things that happen to us rather than things that we do. In other words, we don’t assume any responsibility for the fact that our heart beats, or that our bones have such and such a shape.
If you become aware of the fact that you are all of your own body, and that the beating of your heart is not just something that happens to you, but something you’re doing, then you become aware, also—in the same moment and at the same time—that you’re not only beating your heart, but that you are shining the sun.”
- Alan Watts
I was hoping for an answer but alas there was none. Anyone have plausible theories? Is this an unexplained mystery or just an artifact of S curve growth?
Burning Buried Sunshine discussion and link:
The Wikipedia page for plasma cosmology is extremely biased, so I suggest anyone interested in these topics should read the previous comment I made and some of the resources I linked there.
As far as science is concerned, the jury is still out on stellar nucleosynthesis. The leading theory - that gravitational collapse causes fusion near the core - may be entirely incorrect, and there is mounting evidence suggesting so including a plethora of modern observations that the theory fails to explain.
For example the so-called ‘coronal heating’ problem has existed for 75 years, since the solar corona was first demonstrated to contain plasma with temperatures of 1 million degrees kelvin and above, much higher than the photospheric surface temperature of approximately 6000 K [1].
As another stunning counterexample, current gravitational models do not explain observed properties of the solar wind like spatial variation and periodicity in time (thanks voyager 1 & 2), among many other things.
See [2] for a dense intro to more unresolved problems in solar physics.
Alternative (non mainstream) theories like “plasma cosmology” are gaining traction in the scientific community for this reason. Note though that many papers do not use that particular phrase to describe their work.
Unfortunately (for intellectually curious folks), the contributors to Wikipedia pages on these physics topics are extremely … biased. Reading [3] may leave you with the impression that “plasma cosmology” has been completely debunked by the scientific community, when in fact nothing could be further from the truth ([4][5] are examples to support this claim).
[1] https://royalsocietypublishing.org/doi/full/10.1098/rsta.201...
[2] https://www.ias.ac.in/article/fulltext/joaa/029/01-02/0003-0...
[3] https://en.m.wikipedia.org/wiki/Plasma_cosmology
[4] https://link.springer.com/article/10.1007/s00159-013-0062-7
[5] https://agupubs.onlinelibrary.wiley.com/doi/pdfdirect/10.102...
I agree that some folks aren’t executing untrusted ruby code so they wouldn’t have to worry about this - but how many PaaS/SaaS products out there are? Or how about third party dev tools that are blindly downloaded and executed on local workstations or CI pipelines?
WebAssembly is less than 10%-20% slower than native code in our benchmarks and tests for algorithms like fast wavelet transform and bit packing.
WA allows us to aggressively optimize ahead of time when compiling, and be less sensitive to JS engine performance pitfalls around JIT optimization and garbage collection.
Day-muhn?
My colleagues all seem to say it differently, and I’ve always been curious which one of us sounds the most foolish.
I am surprised and a bit disappointed this paper does not mention mean field theory or dynamical isometry at all.
Mean field theory applies methods from physics - namely random matrix and free probability theory - to derive an exact analytical solution for information flow through a neural network.
It turns out that simply initializing the weights of a plain CNN using a delta-orthogonal kernel allows all frequency components (Fourier modes) to propagate through the network with minimal attenuation. Specifically, networks train well when their input-output Jacobians exhibit dynamical isometry, namely the property that the entire distribution of singular values is close to 1. This technique effectively solves the exploding/vanishing gradient problem.
The impact is shocking: the time to train a NN to a given accuracy becomes independent of network depth. No tricks like batch normalization, dropout, or anything else are needed. This insight has been proven for a wide range of architectures from plain FFNs to CNNs, RNNs, and even transformers.
I highly recommended reading the papers “How to Train a 10,000 Layer Neural Network” [1], and “ReZero is All You Need: Fast Convergence at Large Depth” [2].
[1] https://arxiv.org/abs/1806.05393
[2] https://proceedings.mlr.press/v161/bachlechner21a/bachlechne...
The short answer is yes: beyond mannitol, niacin, and even bespoke substances designed to mimic the organoleptic properties of ayahuasca have been used effectively as placebos.
At modest dosages (above the threshold of perception but within the therapeutic window) the side effects can be surprisingly similar in the general population, and thus difficult to distinguish for the average joe.
Of course studies vary widely in quality and rigor, so one must critique experimental design on a case by case basis.
What bothers me is the incessant pushing of this agenda:
> anyone ending up in a psychedelic research study is doing so because they think psychedelics are promising for mental health and they want to try it out
> maybe the real reason psychedelics show efficacy in depression is that they are a sort of super-placebo
This amounts to uninformed armchair dismissal that is inconsistent with a growing body of scientific evidence, and easily refuted by a cursory survey of recent literature and clinical trial results.
Surely you’re familiar with double blind randomized placebo controlled studies? I’ve linked you to recent ones in other comments.
These methods aren’t perfect and your concerns certainly have merit in general - I just don’t understand why you continue to make these broad and suggestive claims without any supporting evidence.
> Psilocybin is being studied in conjunction with 10-20 therapy sessions
For a quick reality check, you could take a look at Compass Pathways and their phase 1 & 2 clinical trial results [1][2]:
> we have completed a phase IIb clinical trial of psilocybin therapy for TRD, in 22 sites across Europe and North America. This was the largest randomised, controlled, double-blind psilocybin therapy clinical trial ever conducted, and our topline data showed a statistically significant (p<0.001) and clinically relevant improvement for patients who received a single high dose of COMP360 psilocybin with psychological support
That is a single dose along with a single therapy session, showing positive benefits lasting 12+ weeks. For treatment resistant depression (TRD), a notoriously difficult condition to cure and one that affects many people.
There are literally no other drugs on the market that come close to the safety, efficacy, and durability profile that is being observed!
Do you think the FDA granted breakthrough therapy status in 2018 because of some collective "utopian fantasy"?
It's well known there are numerous indications for psychedelic assisted therapy showing great promise - from anxiety and addiction to end of life care [3]. It's not just psilocybin either, many of these psychedelic substances are pharmacologically related - so they act on similar receptors and areas of the brain, and thus have similar therapeutic profiles [4].
Let's be realistic. Your appeal to extremes is an uncharitable interpretation of my comment, and frankly your uninformed pessimism on this topic is a disservice to anyone interested in learning about or benefiting from these advances.
[1] https://ir.compasspathways.com/news-releases/news-release-de...
[2] https://ir.compasspathways.com/static-files/0f9fbce8-2619-43...
[3] https://www.sciencedirect.com/science/article/pii/S009286742...
Ketamine/MDMA/LSD/Psilocybin and their derivatives are on their way to being recognized as the safest, most effective, and widely available medicines - for nearly every common mental health disorder - currently known to humanity.
Yes there will always be predatory behavior in healthcare, and regulation can help. And of course no medicine is 100% side-effect free or effective for everyone.
But shouldn’t we be complaining that many of these substances continue to remain federally outlawed in the US despite a huge body of scientific evidence and multiple companies discussing phase 3 clinical trials with the FDA this year?
I don’t really hear many folks calling for tighter regulation on these substances, especially given the current regulatory situation.
Given that fungi play a crucial role in decomposition and also water/nutrient exchange between living plants, do you think there are any major risks from second order effects? Particularly if these plants become well established and dominate a local ecosystem?
And as a follow up question, does the increase in metallic content pose any extra risks when burning in a forest fire? Perhaps through emissions or thermodynamic effects.
Very interesting idea, good luck and thank you for the thoughtful commentary here.
> studying electrical activity in certain arbitrary frequency bands doesn't tell us a lot about the brain
That might be true for now given our limited understanding. But would you really bet against this in the long run? Moreover, the article outlines considerable evidence that such coordination and frequencies have been empirically associated with conscious perception.
> Subjective descriptions of this phenomenon are described as intense and surreal and include a panoramic life review with memory recalls, transcendental and out-of-body experiences with dreaming, hallucinations and a meditative state
Finally, given the large body of anecdata and subjective evidence, don't you think it's a bit dismissive to suggest that the brain's capacitors are simply sputtering out?
Great review of the hazards involved in quantifying developer productivity - the correlation above has been true everywhere I’ve ever worked.
If the company you’re working for:
- is not investing in improving the developer experience
- is not listening to developer complaints about slow, tedious, or error prone processes
- is perpetually pushing tech debt onto a backlog that only grows
Then chances are you work for a company whose leadership does not understand and value software engineering. They likely see it as a cost center, and they likely incentivize managers by rewarding initial delivery of projects, at the expense of maintainability and developer sanity.
I know I’m preaching to the choir, I just had to put it out there for all the young engineers. Don’t waste too much of your life and happiness trying to patch those sinking ships.
> Toyota wasn’t directly targeted
GP is trying to say this is the assumption you’re making. Supply chain attacks can be a clever way to disguise a direct target as an indirect one.
I agree with you though, the headline could be more clear.
> A 2014 assessment compared Wim Hof and his identical twin brother. The scientists had them practice Wim's breathing exercises, then exposed them to the lowest temperature that would not induce shivering. They concluded that, "No significant differences were found between the two subjects, indicating that a lifestyle with frequent exposures to extreme cold does not seem to affect BAT activity and CIT (cold-induced thermogenesis)."[28] Both had rises of 40% of their metabolic rates over the resting rate, compared to a maximum of 30% observed in young adults. However, their brown fat percentage—while high for their age—was not enough to account for all of the increase. The rest was due to their vigorous breathing, which increased the metabolic activity in their respiratory muscles.
> One 2018 study of Wim Hof published in the journal NeuroImage used a combination of fMRI and PET/CT imaging, and found: forceful respiration results in increased sympathetic innervation and glucose consumption in intercostal muscle, generating heat that dissipates to lung tissue and warms circulating blood in the pulmonary capillaries. Our results provide compelling evidence for the primacy of the brain (CNS) rather than the body (peripheral mechanisms) in mediating the Iceman's [Wim Hof's] responses to cold exposure.
Only mentioning this because I wish someone had clued me in earlier in my career. I only learned after my friend in opsec called me out for my loose lips.
> We find that (1) a variety of deep learning algorithms linearly map onto the brain areas associated with reading, (2) the best brain-mapping are obtained from the middle layers of deep language models and, critically, we show that (3) whether an algorithm maps onto the brain primarily depends on its ability to predict words context
This is really cool research! Imagine wearing a VR like headset that records fMRI/MEG signals and then instantly transcribes the words you’re thinking of into your text editor. Neuralink may have some competition eventually if these findings generalize and can be used in a wearable fashion?
On another note, I believe masked language modeling was originally proposed in the BERT paper (Devlin et al 2019), as a way to learn contextual word embeddings using a transformer architecture (ie autoencoder with denoising reconstruction objective).
This paper seems to suggest the brain may behave somewhat like a denoising autoencoder. If these correlations can be leveraged, the implications could be staggering.
> “So when you listen on a port, you’re really listening on a combination of a port, an IP, a protocol, and an IP version?”
> “Yeah, unless you listen on all local IPs. And if you listen on all IPv6 IPs, you also listen on all IPv4 IPs, unless you specifically ask not to before you call bind.”
> “Right. So the operating system must have, like, a hash map from a port and IP pair to a socket, for each combination of TCP or UDP, IPv4 or IPv6.”*
> “To a list of sockets”, Liz corrects. “Remember how I could listen on more than one?”
> “But it also has to handle listening on all ‘home’ IPs, and to be able to find a socket listening on IPv6 from an IPv4 IP.”
Why wild foxes led you to treasure in Skyrim
https://news.ycombinator.com/item?id=28230305 4 Months ago | 221 comments
Transcribed text of tweets (for convenience): https://news.ycombinator.com/item?id=28230677
Worth noting the previous HN discussion on similar research:
CBD Inhibits SARS-CoV-2 Replication and Promotes the Host Innate Immune Response