Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
h0l0cube
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
901.
▲
by
h0l0cube
4y ago
I feel like the title is a bit misleading. All 3 are still uncoupled, it's more that the V and C is now cohered in the directory structure, which seems a bit more ergonomic.
902.
▲
by
h0l0cube
4y ago
Elixir-ls provides Language Server Protocol support as well as VS Code Debug Protocol support which gives extra powers to VS Code, NeoVim, Emacs, and the like. https://github.com/elixir-lsp/elixir-ls I do agree that a
903.
▲
by
h0l0cube
4y ago
Bandit is written in pure Elixir which is a bit undesirable to integrate with pure Erlang projects. From what I gleaned off the podcast, it's a subset of the HTTP features available in Cowboy, specifically those that are available on
904.
▲
by
h0l0cube
4y ago
I think I've encountered a couple of times where I've gotten obscure errors, and I agree that error messaging needs to be improved. On the other hand, every time it's pointed out an error, it was right. And IMHO union type-
905.
▲
by
h0l0cube
4y ago
I think that Jose makes a solid case that static typing doesn’t bring as much to the table to Elixir as most people believe, but enough people point to the lack of it as a reason not to adopt the language that it’s worth addressing. Again,
906.
▲
by
h0l0cube
4y ago
Could even switch over to Bandit which was on a recent Thinking Elixir podcast > In recent performance tests, Bandit's HTTP/1.x engine is up to 5x faster than Cowboy depending on the number of concurrent requests. When comparin
907.
▲
by
h0l0cube
4y ago
Jose has been working with some PhDs to attempt to implement static typing https://elixir-lang.org/blog/2022/10/05/my-future-with-elixi... In the meantime I don’t know what people have against using @s
908.
▲
by
h0l0cube
4y ago
> No, there does not have to be advantage nor clear answer to question. A trait that produces no advantage can remain. What you're talking about is a spandrel , and eusociality is not that. I'd recommend reading the article m
909.
▲
by
h0l0cube
4y ago
From TFA: > To see this, we can look at our own immune systems. For instance, immune cells inside your body known as neutrophils are just as suicidal as the worker bees. When bacteria invade your body, neutrophils migrate to the site of
910.
▲
by
h0l0cube
4y ago
Why would honey bees evolve to leave behind an autonomous pump with their stinger? I don’t think the article suggests that all stings result in suicide, it merely answers the question of why it happens at all, and why it is peculiar to onl
911.
▲
by
h0l0cube
4y ago
Yes. If only people read TFA (which was very thorough) before opining at length: > These altruistic acts are typically not done consciously, they have simple been formed by natural selection to act in this way. For instance, your neutrop
912.
▲
by
h0l0cube
4y ago
It’s an easier decision for me when it’s just digging a deeper and deeper hole in the ground to extract iron ore to make steel structures vs deforesting large swathes of forest for timber. But I’d err to destroy ecosystems we somewhat unde
913.
▲
by
h0l0cube
4y ago
> from the mud on the deep sea bottom in an area off Minami-Torishima Island, a coral atoll in the Pacific Ocean about 1,900 kilometers southeast of Tokyo. If they were a way to make resource extraction from asteroids commercially feasib
914.
▲
by
h0l0cube
4y ago
> Ammonia doesn’t burn well on its own, he notes, and converting exported ammonia back to hydrogen for steel plants or fuel-cell vehicles requires a lot of energy. “You’re using energy to import energy. If you need green hydrogen in Euro
915.
▲
by
h0l0cube
4y ago
If Apple open-sourced their connectors and involved other manufacturers and stake-holders, we might have had both. But the extra profits from accessories was obviously too hard to ignore. That said, lightning is probably more complicated a
916.
▲
by
h0l0cube
4y ago
> Look how quickly Shorts copied TikTok 2022 Revenue: TikTok ~12b (operating since 2016) YouTube ~28b (operating since 2005) YouTube, Instagram and Facebook are in damage control.
917.
▲
by
h0l0cube
4y ago
> One recent example is the mandatory use of USB-C ports for wired charging by 2024, in order to reduce electrical waste by allowing the same chargers to be used for all small consumer electronics devices. This comes into force in 2024,
918.
▲
by
h0l0cube
4y ago
> Edit: If you showed a programmer from the 1950s python syntax and told them that all you have to do is write these words to build a program, they'd think it was artificial intelligence. I think you might be underestimating program
919.
▲
by
h0l0cube
4y ago
Most certainly. It's not if, but when. The same for our eventual place of perfect trust in artificial intelligence. For now, ChatGPT, Co-pilot, and the like are at best productivity tools for boilerplate.
920.
▲
by
h0l0cube
4y ago
I really depends on how much you care about undefined behaviour. If you're just playing around with a prototype or making a personal tool, corrupt state doesn't have huge ramifications, but for any software people would pay for (
921.
▲
by
h0l0cube
4y ago
I'm glad I'm not alone
922.
▲
by
h0l0cube
4y ago
Anyone else try peeping the chat in Zoom?
923.
▲
by
h0l0cube
4y ago
I think with cane toads, the lethality and sheer number has very different implications. There are many species in Australia that are on the brink of extinction, whereas in other continents that have been affected longer by human intervent
924.
▲
by
h0l0cube
4y ago
Not sure why the downvotes. A bit pedantic and distracting from a good story, perhaps, but accurate. > The potato was originally believed to have been domesticated by Native Americans independently in multiple locations, but later geneti
925.
▲
by
h0l0cube
4y ago
An interesting strategy used in Australia, is to drop cane toad baits ahead of the encroaching population so that native species don’t eat them, and reducing population loss – which is the main problem. > Cane-toad sausages laced with a
926.
▲
by
h0l0cube
4y ago
> It has earned the moniker "bin chicken" for its propensity to scavenge food from anywhere it can To say it more accurately: We paved over their food source and these industrious creatures have adapted in spite of us.
927.
▲
by
h0l0cube
4y ago
I have to remark how peculiar it was to see this article being almost immediately throttled of the front page despite trending votes and low comment ratio. The idea that consequentialism might not be the moral high ground it’s claimed to be
928.
▲
by
h0l0cube
4y ago
It's hard to know, which is what makes it a compelling thought experiment. I'd say I have a pretty consequentialist mindset in the abstract, but without a figurative or literal 'gun to my head' I'm not sure I would
929.
▲
by
h0l0cube
4y ago
In a Twitter thread regarding a poll whether people would press a button that gives them a million dollars but kills a random person somewhere in the world, and whether or not they are an EA, Eliezer Yudkowsky had this to say: > It'
930.
▲
by
h0l0cube
4y ago
> Not any faster than stars themselves. I don't think I made any claim about their actual speed, but I would have thought if they're not geostationary (like the ISS) they are crossing our sky much faster, which is all that matt
More ›