HNHacker News
TopNewBestAskShowJobs

tda

2,807 karma · joined October 26, 2016

submissionscomments
tda··on The case for not sanitising fairy tales
> In Italy is now illegal to send your kids to school alone before they turn 14, it's now legally child abandonment

I find your claim very hard to believe, can you back this up? I did some searching and could not find anything to back up your claim.

tda··on Agricultural drones are transforming rice farming in the Mekong River delta
But there are also costs considered: no flexibility, thus no way to hedge risk. Think weather, plagues and diseases, funghi whatever: If you single crop is vulnerable, now all of it is affected. The use of pesticides and fertiliser is also not free, and monocultures need a lot more of that. Furthermore the giant tractors needed for monoculture tend to damage the soil they drive on, and require the ground water table to be fairly low.

Certainly the logistical challenge of multiple small harvests of varying products is there, but this is definitely more manageable with robots and computers than without.

And for a small close to population centers, if they can supply multiple kinds of produce reliably, they might be able to make orders of magnitude more money on the local market than on the commodities market.

tda··on Agricultural drones are transforming rice farming in the Mekong River delta
And more, smaller, robots vs large tractors could put an end to monocultures. Monoculture is the result of optimizing for minimal human labour, not an optimization for yields. So when labour is free, mixed fields are the way to maximize profits
tda··on WebKit fix: Quirk news.ycombinator to skip TextAutoSizing
I seriously thought that implementing some site specific custom rendering behaviour was meant as a joke. Why change html/css for a website when you can just implement some hardcoded site specific behaviour straight in the rendering engine? What could possibly go wrong?

But after having a closer look at the PR, the 1900 LOC monstrosity Quirks.cpp actually seems to exist with lots of things like

    if (host == "tripadvisor.com"_s || host.endsWith(".tripadvisor.com"_s))
        m_needsRelaxedCorsMixedContentCheckQuirk = true;
Fixing CORS issues has never been easier
tda··on EU countries must implement right to repair laws within two years
Luckily we have https://elektrotanya.com. All it takes is a little civil disobedience and a few professional repair man to make all those manuals available to everyone in true hacker spirit.
tda··on It looks a lot like VMware just lost a 24,000-VM customer
except that customers that pay 10x have different expectations. They will have a dedicated account manager, SLA's with very short response times, etc
tda··on Ask HN: Which LLMs can run locally on most consumer computers
I was looking out for a new laptop but was wondering the same. This NPU thing might be one of Microsoft's bets that pays off, and makes all pre-NPU hardware obsolete quickly. Though of course they have doubled down on various failed projexts before (arm Windows, windows phones, etc)
tda··on Rethinking Text Resizing on Web
The version with per div reflowing might have been before android. My Sony P1i ran symbian I think, can't remember actually. It was way before reactive webpages were a thing. And it worked really well for making most desktop pages usable on my phone. I also missed the scroll wheel and the rocker keyboard for the longest time
tda··on Rethinking Text Resizing on Web
Opera also had a mode where it reflowed individual div's to fit the screen, without reflowing the entire page. I remember looking for an alternative browser with this feature back when, but never finding one
tda··on ICC prosecutor seeks arrest warrants against Sinwar and Netanyahu for war crimes
Leaving out personal opinions, I would love to hear some thoughtful speculation on how this might pa out. Will the ICC actually approve the warrants? How far will the US and/or Israel go to threaten or discredit the ICC leadership? Will Egypt or other neighbours respond? What is the reaction in China? Will Europe and the Netherlands stand by the ICC unconditionally?
tda··on How Python asyncio works: recreating it from scratch
There is a brilliant talk by David Beazley on asyncio. I used it to write a Discrete Even Simulation tool. Pretty cool to be able to make your own implementation of asyncio and replace the system clock with a simulated time
tda··on Cycloidal marine propellers: Efficient thrust in any direction
The article is to light on details to claim anything radical. The operating principal is the exact same principal as a Voith Schneider Propeller, but then with more actuators and less linkages. That too me could just as well be a cost saving thing. Especially as they compare it too "conventional shaftline", and not to a Voith Schneider (I think). Also Voith Schneider's are already available in a in an electric version (eVSP) for diesel-electric drives.

Perhaps this new Dynafin is much more efficient than an eVSP because better tuned individual control optimised by AI and industry 4.0 allows for much better control. But it is equally possible that there is exactly zero advantage to this system and all we read is marketing BS. Hefty improvement claims without details are usually BS in my experience

tda··on Soul: A SQLite REST and Realtime Server
If you want to know more of the origins of SQLite I can highly recommend this episode of the Corecursive podcast

https://corecursive.com/066-sqlite-with-richard-hipp/

tda··on Flexagon
I immediately thought of those videos when I read the title, but somehow she is missing from the wiki page, even though there is a section on popular culture.
tda··on European summer weather linked to North Atlantic freshwater anomalies
The issue with climate change is exactly that: change. Doesn't matter if it get colder, dryer, wetter, warmer than it used too. It is a huge undertaking to change the built environment to handle conditions that were once seen as exceptional. Houses, streets and waterways are normally replaced/adjusted on the scale of multiple decades or even centuries. Significant climate change is affecting areas everywhere on a single decade timescale. So infrastructure is now outdated much more quickly, and needs to be replaced/upgraded at a higher pace. This if hugely expensive and will lead to more waste and more emissions. And that is just for the built world on which we have a lot of influence. The natural world doesn't always have the ability to adjust; lots of habits are suffering and species are going extinct.
tda··on Show HN: Sqlbind a Python library to compose raw SQL
Yes, but to get the exact query with interpolated parameters that can be copy pasted into e.g. pgadmin for a nice explain analyze visualization is a bit more involved. As I could never remember it I always copy pasted that function in any project. But other than that minor complaint I have always been thoroughly impressed by both SQLAlchemy ORM and the Core query builder, and how they can be combined to have a best of both worlds situation. I have written some very complex queries that remained maintainable thanks to composition with cte's, sub queries and computed properties. Doing that in pure SQL would also have been possible, but using using SQLlachemy allowed me to name and reuse smaller components, avoiding the wall of text SQL statements.
tda··on Earth just experienced its hottest 12 months in recorded history
Putting the blame for the climate crisis on environmentalists for opposing nuclear is very disingenuous. Nuclear would not have saved us from SUV's, consumption society or all the other forces wrecking the earth we live on. If nuclear would have made electricity cheap and abundant without addressing other factors, we just would have wasted more of it.
tda··on We sped up time series by 20-30x
Yep, that trusty simple algorithm always works. I have some grafana dashboards that plot a lot of 3D data (x,y,z lines coloured by some sensor readings) using a plotly plugin. I can't pre-aggregate too much in the database, or I'll loose too much detail. So I ended up adding a little ad-hoc js implementation to reduce my number of points by a factor ten on the fly for plotting, works great.

I was just about to write down that it would be too difficult to de RDP simplification in the (ClickHouse) database, but then I recalled PostGIS has it built in and low and behold, there is also something in ClickHouse for this [0]. Back to the drawing board.

[0] https://clickhouse.com/codebrowser/ClickHouse/contrib/boost/...

tda··on How Lego Became the Apple of Toys (2015)
And it is not only the variety of pieces, but also that the number of colors has exploded. Lego is becoming more like Playmobil, with the advantage that you have extra fun putting your sets together, and with the disadvantage that they will disintegrate and be hard to put together again.

I find myself "helping" my kids keep their built sets whole after playing with them, as once the sets become pieces it is too tedious/frustrating for the kids to find all the pieces to put them back together again amongst the pile. Also because the manuals are very much step by step, it is very clear what piece you need for the next 1 step, but not what you need for the next 10 steps. So searching ahead is not so easy for the kids.

But regardless of all my opinions, the kids are huge fans of lego. I have also noticed that as the sets are much larger, it is quite nice to buy a set second hand, build it once and then sell it again. I found out there are even people renting out the top sets for like 10€/week. So these sets are more like puzzles to me, where the joy is in building them. Such a contrast with when I was a kid; I never kept my sets built, I was always building my own designs.

Recently my kids got something called plusplus. A 3d building block where all blocks are identical (shaped like ++) and in limited colors. They were having fun building their own designs from the start. Limitations really spark creativity

tda··on Crime rings trafficking sand
I once was involved in project where 60M m3 of sand was pumped to the desert from the sea. It felt totally insane; all that sand was dredged from the sea, mixed with a ton of water and then pumped for some 5-15km using up to 6 5MW pumps in series. Look for Al Zout refinery in Kuwait
tda··on The quest to decode the Mandelbrot set
Thanks for creating this, I had some fun exploring the set. What does the scale parameter stand for?
tda··on ICJ orders Israel to prevent genocide in Gaza, stops short of ordering ceasefire
I am not so sure. I believe Israel only exists by the mercy of support from their Allies. The minute they lose that support Israel is doomed. The country is surrounded by enemies on all sides. Sure their military could win a conventional war with their nukes against any of their neighbors. But on the long term a small country with a small population and limited natural resources needs friends to run an economy big enough to support the huge military it needs to defend itself. And Israel is running out of friends fast. Sympathy for Israel in the West is surely declining at lightning speed with the current situation, I would not be surprised if this conflict is the start of the end of the country
tda··on Polars
Matplotlib is MATLAB inspired, but otherwise your point stands.
tda··on 4B If Statements
I quit iterating on my animations (led strip based bedlight with ESPHome/ESP32) due to the exact same frustrations (and that writing c++ in a yaml file is not really great). Care to share the code for your approach?
tda··on Large Balloon Reflector: a potentially game-changing antenna design
The article really could use a picture. If I understand correctly you can get a parabolic shape if you have a stretchy film over ring and apply a pressure differential. The spherical balloon functions as the support ring for an internal reflective third layer. If both halves of the balloon are inflated to equal pressure the reflective layer is flat, but by changing the pressure in both halves the layer takes on a parabolic shape.
tda··on Show HN: CFR[]: Very minimal drawing language with 5 commands: C, F, R, [, ]
So it should be possible to combine this with piet and write a quine... Just putting this out there hoping I can need snipe anyone
tda··on The pivot table, the spreadsheet's most powerful tool (2020)
Back in the days I recall there was some plug-in to query Pivot tables in postgres, but it was such a pain to use that a two step approach (query the column names, and then generate a second query based on these column names) with Python/SQLAlchemy glue code was easier and possibly even more performant. I hope the situation has improved, as indeed pivot tables are so useful
tda··on Amtrak Explorer
This is only a map of the primary connecting railways, find all other rail here: https://www.openrailwaymap.org/
tda··on Kafka as an Antipattern
The main problem I have with Kafka is that their sales team is too good: at my previous employer the CIO was convinced we needed Kafka and bought a contract for sever 100k. But we already had all our events in a postgres database.

Admittedly that database had some complicated queries with lots of business logic to get a useful view on the data. But at first I hoped Kafka would somehow make this easier, but of course our particular usecase with a low event volume (hundreds per day), high latency tolerance (next day reporting was considered good enough), highly complex business logic (various computations that required knowledge of what was done previously) all made Kafka just about the least suitable tool for the job.

Of course the contract was already signed (I was naturally never consulted up front), so this resulted in lots of solution looking for a problem. No suitable problem was found so I ended up leaving enterprise world for a scale-up and the CIO is still doing whatever he wants for god knows why

tda··on Ask HN: How to do literal web searches after Google destroyed the “ ” feature?
Great tip! Seems like this adds the query param "&tbs=li%3A1", so this might be something you can configure as an extra search engine in firefox. But then I am a happy kagi customer, and I was just thinking that I can't recall the last time I had to do a !g to find something. For me, google search si pretty much dead. I only use it now when on someone else's pc
← PreviousPage 4 of 18Next →