HNHacker News
TopNewBestAskShowJobs

ciconia

7,254 karma · joined March 13, 2014

https://github.com/noteflakes
submissionscomments
ciconia··on He Raced This 114-Year-Old Motorcycle Cross-Country and Won
https://archive.ph/BHYHA
ciconia··on The year Lou Reed gave up on music
https://archive.ph/xetF0
ciconia··on We reduced the cost of building Mastodon at Twitter-scale by 100x
> I'm honestly shocked that the technical implementation of a simplified, coherent platform took a full 9 person-months.

To be fair they developed this whole new platform to build this app with. I guess that's where the effort went.

ciconia··on Melatonin as a treatment for food waste
Some low-tech (and IMO better) solutions for food waste:

* Buy food locally, support your local farmers.

* Grow your own vegetables (some are really easy: potatos, onions, garlic, zucchini, corn, beans, etc.). Even tomatos, peppers and eggplants are not that hard.

* Compost your food waste - put it back in your garden.

* Learn how to preserve food when there's an abundance.

* Also, learn to eat better.

I think it's a real shame that so much food waste ends up in landfill instead of being composted locally. If you compost your leftovers, you turn your waste into a resource, and use that to fertilize your garden.

ciconia··on UCLA professor refuses to cover for Dan Ariely in issue of data provenance
Can you share a link to the source?
ciconia··on Privatisation has been a costly failure in Britain
Free markets don't magically solve the problems of capitalism. You still have to deal with monopolies, entrenched market leaders, mergers leading to less competition, backroom non-competition agreements, lobbying for prefential treatment, revolving doors between regulators and market players, or just plain corruption and bribery.

What I see everywhere, not just in Britain, is the same old story over and over again: privatizing the profits, nationalizing the losses.

ciconia··on Panel with photovoltaic material layered on silicon hits 33% efficiencies
> plants are pegged to (IIRC) 10-15% theoretical max efficiency...

OTOH, plants (i.e. trees) can live for hundreds of years, they are self-replicating, they extract their own minerals from the ground, require very little energy input to put in place, play an crucial role in the water cycle [1], reduce the albedo effect [2], cool the air [3], provide a habitat for a multitude of species, and bring joy to our hearts.

Oh, I almost forgot, they also fix carbon! And they do all this for free, the only thing you have to do is, you know, not cut them down.

I would say that's a pretty good deal.

[1] https://sustainablefootprint.org/nederlands-trees-and-the-wa... [2] https://en.wikipedia.org/wiki/Albedo#Trees [3] https://www.epa.gov/heatislands/using-trees-and-vegetation-r...

ciconia··on What if climate change meant not doom – but abundance?
https://archive.is/XUUg7
ciconia··on In Iran, Some Are Chasing the Last Drops of Water
https://archive.ph/WhrlX
ciconia··on Estimated U.S. deer population, 1450 to 2016
I'd like to remind all those talking about deer as pests, it is humankind that is responsible for destroying ecosystems and getting them out of balance. On the one hand, we encroach on natural habitats, remove predators, pollute water and vegetation. On the other, we live a wasteful life style and throw half of our food in the garbage. It's kinda obvious why these creatures tend to crowd our cities and suburbs (along with boars, foxes, bears and other fauna).
ciconia··on Sweden wants to build an entire city from wood
https://archive.ph/hTQku
ciconia··on The concurrence of three climatic events
There's this paradox where, on the one hand humanity is convinced it can overcome any problem nature throws at us, and can completely subjugate nature; and on the other hand, human beings are tragically grossly understimating the impact of their actions on their environment.

This is really what stands out to me when people on HN suggest that global warming is totally solvable with just enough technological innovation. The sad truth, and what this article is really driving home, is that while we're waiting for a deus ex machina, we continue to trash our planet, as if we can just move to Mars or something when earth is done.

I'm quite skeptical about the whole "collapse of industrial civilisation" schtick, but I am worried, most of all for my children and their generation.

ciconia··on Solar panels – an eco-disaster waiting to happen?
Note that use of the verb "hope" and the adverb "eventually". At this stage it's pure speculation.

Besides, the act of recycling in itself comes with its own problems: energy use (it would be interesting to have an estimate of EROEI of recyled solar panels), fresh water usage, pollution and effluents, and finally the recycling rate (how much of the input is actually recycled).

It is relevant IMO to note that after decades of plastic recycling operations, the rate of plastic waste being actually recycled is at about 9%. And recycled plastic in itself has degraded performance characteristics.

ciconia··on The explosive legacy of the hand sanitizer boom
> It was a fast, dynamically changing situation, everyone was getting sick...

I think one could say a lot of the reaction of governments around the world was knee-jerk, "let's copy what that other government is doing" kind of thinking. Not that this is specific to the CoVid situation, there's plenty of it going on at any given moment.

ciconia··on It’s time to admit that Remote Work doesn’t work
> Remote is a great lifestyle, not a way to build a great company.

The two are not necessarily mutually-exclusive. What's wrong with scheduling interactions, or simply working asynchronously? Yes, it's a bit slower, but why do we need to rush all the time?

ciconia··on Smol Developer
> Reading is much faster than writing.

Not in my experience, especially not reading code someone else wrote.

ciconia··on Smol Developer
> How many times do you need to write a CRUD app from scratch?

Personally, I really don't mind doing this. And each time I get a little better at it. I much prefer this to having an AI agent write code for me that I then have to audit and verify it does what it's supposed to do. I highly doubt this will reduce work.

ciconia··on Smol Developer
Frankly, no. I much prefer interacting with humans than with machines, and I emphasize interacting. A machine does what you tell it - it will not enlighten you, will not surprise you, will not create new knowledge.
ciconia··on Smol Developer
What is the reasoning behind this whole AI business? I mean, apart from making something cool that sort of simulates human intelligence (and that's quite a stretch IMHO), what's the point? Is this driven by laziness, greed, or what? I'm seriously asking because I just don't see the point.
ciconia··on Farmland practices are driving bird population decline across Europe
I would say there's a difference between a fir Douglas plantation and a multi-species forest. The two are not ecologically equivalent. At least around where I live (department 71 in France), there are less and less forests and more and more tree plantations.

I think it would be interesting to look at how much biodiverse forests we have now compared to 100 years ago. I might be proven wrong.

ciconia··on Farmland practices are driving bird population decline across Europe
There are multiple factors causing the decline in bird population, but I'd like to focus on a single one: deforestation. Trees provide so many different functions for birds (as for other animals, and for humans too), both directly and indirectly: shelter, fruits, a cooling effect in summer, and most importantly, they act as an entire ecosystem for insects and caterpillars. You remove the tree, you remove the insects, and you remove caterpillars which are a staple food for baby birds.

So yeah, deforestation + pesticides = less birds, and will lead to a desertification of Europe in more than one sense. But even in the desert you can find here and there an oasis, a place full of life where birdsong is just as vigorous as ever. There are still many places across Europe where this is happening, many oases (plural?) that teem with life, and bring happiness to the heart. In fact, this is not so difficult to do, just bring back the trees and the biodiversity, then the insects will return, and when the insects are there, birds will return.

Build it and they will come.

It is high time we change our agricultural practices from destructive to regenerative. The techniques are already well known, and pioneering work in this field of regenerative practices have been going on for decades already - from Yeomans, Molisson, and Holmgren in Australia to Fukuoka in Japan and Goetsch in Brasil, the knowledge is there.

I live with my family on a small piece of land where we work to increase biodiversity and to reforest. Every year, birdsong gets louder and louder. I know it's possible and my garden is proof. Build it and they will come.

ciconia··on The climate cost of the AI revolution
I cannot say much as to the numbers in the article, but it is obvious to me that the use of AI will increase the overall energy use of computing. What's more interesting, I think, is revisiting the customary reasoning in the technology sector: "people are expensive, compute power is cheap". Actually computing also has costs in terms of externalities beyond the energy used, notably the CO2 emissions associated with energy consumption, as well as those associated with the manufacturing process for the computing machines. Other costs I can think of are societal costs stemming from the jobs people might lose once use of AI becomes widespread.

I think it's time we explored the true costs to our species. Maybe in the end people are not that expensive after all if you consider the alternative.

ciconia··on Chile's firefighting goats protect a native forest from deadly blazes
https://archive.ph/4c1r0
ciconia··on Record Temperatures, Heatstroke Cases Engulf Southeast Asia
https://archive.ph/GSYnS
ciconia··on France is a paradise inhabited by people who think they’re in hell
My feelings exactly. I've immigrated to France with my family about 10 years ago. I always say to my French friends who complain about their country: "you have no idea how lucky you are to live in this country. I do!"
ciconia··on Polyphony: Fine-Grained Concurrency for Ruby
> From what I understand of the code, you can send fibers to other fibers with the "<<" operator.

You can pass any data between fibers using "receive" and "<<", including fiber refs.

> In my original code sample, my code refers to the children tasks. In your code sample, the parent refers to the children tasks. This seems to be a property of structured concurrency.

In general, yes, but in Polyphony at least you can easily walk the fiber tree using "Fiber#parent" and "Fiber#children".

ciconia··on Polyphony: Fine-Grained Concurrency for Ruby
No. libev provides a nice abstraction over different operating systems, and has good performance. I don't think coding a whole new backend against kqueue is worth the effort.
ciconia··on Polyphony: Fine-Grained Concurrency for Ruby
On non-Linux systems it just uses libev to for I/O readiness and for timers, and uses normal syscalls for the actual I/O.
ciconia··on Polyphony: Fine-Grained Concurrency for Ruby
> That's assuming Polyphony is aiming to replace most or all of it.

Not really. Concurrent-Ruby implements a lot of different concurrency patterns. Polyphony has a much smaller scope, though I imagine you could reimplement a lot of concurrent-ruby on top of Polyphony. I think there's a place for the two in the Ruby ecosystem.

ciconia··on Polyphony: Fine-Grained Concurrency for Ruby
> I am interested in how concurrency can be represented elegantly and efficiently

This was the main driving force behind the development of Polyphony. I've been exploring all the different ways of expressing concurrent operations: callbacks, promises, async/await. Each of these solutions has its drawbacks: callbacks make you split your app logic across different functions; promises are a somewhat better API but do not solve the split logic problem; async/await potentially leads to two types of functions (the "what color is your function" problem). All three kind of break Ruby's exception handling model.

In contrast, Polyphony relies on Ruby fibers, which provide a base for implementing cooperative concurrency, where each fiber does its work, yielding execution whenever it performs a blocking operation, such as reading from a socket, or waiting for a timeout. In addition, fibers are arranged into a tree where each fiber is considered the child of the fiber from which it was spawned, and is guaranteed to stop executing before its immediate parent stops executing. Any uncaught exception raised by a fiber will be propagated up the fiber tree. This implements a pattern known as Structured Concurrency [1]. Fibers can communicate by sending each other messages, in a similar fashion to Erlang/Elixir processes.

There's no direct equivalent in Polyphony to the program you included, which seems to implement two generators running asynchronously. But the following does something similar.

    def number_generator
      n = 0
      loop do
        client = receive
        client << (n += 1)
      end
    end

    task1 = spin { number_generator }
    task2 = spin { number_generator }
    
    10.times do
      task1 << Fiber.current
      puts "next number from task1: #{receive}"
      task2 << Fiber.current
      puts "next number from task2: #{receive}"
    end

 So in the above program, two fibers are spun, each running the same number generator, which repeatedly waits for a message which is actually the fiber of the "client", and sends the next number to the client. In Python there's the Trio library [2], which implements structured concurrency, and which was actually one of the main inspirations for developing Polyphony.
[1] https://en.wikipedia.org/wiki/Structured_concurrency [2] https://github.com/python-trio/trio
← PreviousPage 8 of 22Next →