HNHacker News
TopNewBestAskShowJobs

srean

8,901 karma · joined October 4, 2010

cat > Bourne.identity #! /bin/bash echo "$*" ^D
submissionscomments
srean··on Harnessing the Universal Geometry of Embeddings
One way to pose/(think about) the problem is that there are two finite metric spaces linked by an unknown odometry (damn you autocorrect). The problem is to recover that unknown isometry.

This, like graph isometry, can be very computationally intensive in the worst case. However, heuristics to aid matching one vertex on one graph to another vertex on another graph using local, semilocal structural signatures can be very effective on particular cases.

One can of course argue that the spaces are not designed as metric spaces. Even if true, these might be metrizable topological spaces.

More generally, if these are indeed non-metric spaces one can still pose it as finding the unknown isomorphism between two poset spaces.

In my other comment I was using the property of maximal chains -- Identify the longest chains in both posets. The isomorphism must map the longest chain in Poset 1 directly to a longest chain in Poset 2, preserving the exact linear order.

srean··on 2026 Hugo Awards
Thanks for the recommendation . Sounds like a good read.
srean··on Harnessing the Universal Geometry of Embeddings
Let's assume that monotonocity of pair-wise distances are preserved.

Without knowing the details of how the paper solved the problem, my first attempt would be to find the diametrically distant pair of points in the two different embeddings and assume that the pair is the same pair. Then find the next distant pairs and so on.

After sufficiently many such pairs have been found, or better still, the largest d-simplex is found, find that scaled rigid body transformation that makes the corresponding pairs coincide. Proceeding this way ought to be less work than solving a generic graph isomorphism problem.

srean··on 2026 Hugo Awards
Fantasys felt so lazy to me. Although sometimes I do enjoy the descriptions. But there is always an escape hatch out of a trouble and one that was not foreshadowed. It is constraints that makes things interesting and especially the higher order consequences of constraints and new tech.
srean··on Learn Programming with OCaml
Many of the classics were very popular and got their label later. Classics and pop culture are not necessarily at odds.
srean··on Pushdown automata in statistical machine translation (2014)
Yeah that's what I thought.
srean··on Pushdown automata in statistical machine translation (2014)
I understand your curiosity but am glad that this was posted. A Markov chain equipped with a stack is a simple yet powerful combination for text generation. I think we need reminders that simple models can often be adequate and easy to debug and maintain, especially if you have a small team. Bleeds less cash too.
srean··on Sky Map 2000 – Star Atlas and Planetarium
Try stellarium

https://stellarium-web.org/ or the app.

srean··on Why are European countries moving their gold out of North America?
Yes it showed in the ongoing US Iran conflict. /S
srean··on Sky Map 2000 – Star Atlas and Planetarium
I share your dismay. I grew up under dark skies and whenever I get a chance to watch the dark skies it takes my breath away. Soon we will be limited to watching starlink streaks.

Internet and smart telescopes don't do it for me. For the live feel, it's hard to beat a good pair of binoculars. I atleast get to take them out more often than I would have used a telescope.

That said, astrolabes and sundials and the working of astrolabes and sundials are a delight.

srean··on Elevator of the Year: Modernization of the Metropolis Trust Building
That was a long but a fantastic read. Thanks for sharing.
srean··on Longest Straight Line Paths on Water or Land on the Earth (2018)
It's going South and then trying to close the loop from behind. It gets interrupted by land before the loop closes.

Hope it makes sense.

srean··on Hilariously fast volume computation with the divergence theorem (2018)
Yes it goes by a couple of names. Surveyor's formula, shoelace formula.

The Surveyor’s Area Formula Bart Braden The College Mathematics Journal, September 1986, Volume 17, Number 4.

https://web.archive.org/web/20150406152731if_/http://www.maa...

srean··on Hilariously fast volume computation with the divergence theorem (2018)
Indeed.

One of my off by one errors is a stupid hacky Monte Carlo intution for Picks theorem.

I count the number of points inside. Now about the boundary points I must assign some fractional weight because they are not fully inside. What's a stupid fraction I can use? Well, half seems about right. Voila,

    A = I + B/2.
srean··on Hilariously fast volume computation with the divergence theorem (2018)
On the other hand, if you want to compute the area of a polygon that have vertices at lattice points, you can count the number of interior points I, the number of boundary points B. Then the area A is

    A = I + B/2 - 1
This is Pick's theorem

https://en.wikipedia.org/wiki/Pick's_theorem

one of my favorite results. It does not generalize as nicely to higher dimensions unfortunately.

If like the post you want the volume of a polyhedron you can use the three dimensional analogue of the shoelace formula (essentially equivalent).

Let Va, Vb and Vc be the vertices of a triangle ∆ of a triangulation of the surface. You need to name the vertices in a consistent order/orientation wrt the origin.

Then the volume V is the sum over all such triangles of the signed volumes

   V_∆ = 1/6 Va ^ Vb ^ Vc.
That's the beauty of signed areas and volumes, determinants and exterior algebra.

To understand why this is so there's this beautiful short video

https://youtu.be/Sv7VseMsOQc

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
They (meaning not just US) are literally proving Upton Sinclair's law.
srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
For an idea about the rampant corruption in the Himalayan states of India that promotes illegal and dangerous real estate projects. There is a cartel of politicians and builders who are making a fast buck selling to those who are not fully aware of the magnitude of the dangers.

https://timesofindia.indiatimes.com/city/chandigarh/kiratpur...

https://citizenmatters.in/shimla-illegal-construction-urbani...

https://youtu.be/IcfbZgaUneQ

https://timesofindia.indiatimes.com/city/shimla/muck-in-rive...

https://www.thehindu.com/news/national/himachal-pradesh/supr...

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
Maybe true in the first world. In 3rd world countries some times the information about the hazards is not properly appreciated.

For example, there were recent floods, is a location were previous governments had not developed. Now the current government rather than taking accountability are claiming that affected houses should be grateful that they have been touched by the river god.

Difficult to believe, but some people fall for the propaganda.

https://timesofindia.indiatimes.com/city/chandigarh/kiratpur...

https://citizenmatters.in/shimla-illegal-construction-urbani...

https://youtu.be/IcfbZgaUneQ

https://timesofindia.indiatimes.com/city/shimla/muck-in-rive...

https://www.thehindu.com/news/national/himachal-pradesh/supr...

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
> Your question is why they are allowed to build in some areas

No that is not my question at all. In fact I don't have a question, I have a position.

My position is that population density in many of these super dangerous areas is because of corruption laced government policies and practices. The government follows these policies in concert with builders because they can knowingly profit from endangering people (i) in dire straits, (ii) people who are not informed about magnitude of the risks.

In addition to that their corrupt practices distort the market prices so that people end up suckered. If these corrupt practices were to stop or reduce and better more people friendly policies were followed then these place will not become uninhabited but plausible less populated. If you look at my other comments on this story you will get more details of my position.

Some people are in such dire straits that they may still agree to stay in a hazard equivalent to living on Chernobyl lands. Some who are more fortunate would take other options should the government be doing their job.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
I feel bad for Roger Waters now. He seems to be a sad old solitary man shouting at the clouds, though I mostly agree with him.

My disagreements are about how he treated the band.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
> Have you ever been in a river valley in a mountainous region?

Brought up there.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
Indeed.

Cutting down on annual emissions will not be accompanied by reduction in atmospheric CO2, unless the current rate of emission is lower than that of natural processes that take CO2 out of the atmosphere.

That's why atmospheric CO2 continues to rise, despite cuts, if the cuts at global scale are at all real.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
Arggh! excuse my autocorrect induced typos.

incentivize.

talking about

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
https://news.ycombinator.com/item?id=49463187

Since you are making this personal I am not going to respond to you any further. Sorry.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
You may have lived, in the past presumably.

On the otherhand I live here, with large part of my childhood in an earthquake hazard zone, the highest in fact. If you have lived here and know your high school geography you would be well equipped to guess where.

I am not sure I hear any constructive suggestions from you other than lulz. Unfortunately that's not going to make a difference.

In any case, since this has devolved into personal insults. I recuse myself from a wrestling bout in the mud, sorry about denying the pleasure.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
Not sure what you mean by give concrete examples, when my position is normative.

I am not sure where you are getting "all or nothing" in my comments. If you are interested, you can read my other comments on this story to get perhaps a fuller picture of my position.

I understand my comments have worked you up, but I am not sure why. If you have lost people in this incident, I am genuinely sorry for your loss and can understand emotional outbursts. If you have dear ones engaged in practices that I am disapproving of, well, then in that case too I can understand your displeasure.

If you thought that I am claiming that adhering to my position will ensure that future death tolls would magically become zero then that's uncharitable reading.

My position is quite simple, price in the hazards based on scientific hazard assessment. Enforce policies that encourages correct pricing, rather than part take in corrupt practices that encourages mispricing of the kind that benefits the political class and builder class nexus that operate from the safety of being out of range.

This can be done through regulations. For example, we have mandatory third party accident insurance for vehicles. That's an example of a regulation that encourages pricing in the hazards.

Hazard zoning is not all or nothing of the type (a) permitted and (b) not permitted. It is about assigning areas to different grades of quantized hazards. See my other comment for example of such zoning for Earthquake hazard.

With hazard priced in, the markets would mostly take care of where to build new homes and what kinds to build.

In Himalayan states of India we have the opposite going on. Politicians, in concert with the enforcement bodies that are peopled by their flunkies, encourage illegal constructions in known hazardous areas, deregulates zoning so that dangerous areas are cheaper to own property on in exchange of kickbacks from the builders.

> don’t forget major earthquakes ...

I am not forgetting that for sure but not sure what your point is. If it's -- look here are other dangerously built up areas in the US -- then yes I agree.

There was corruption involved in managing the levies that were supposed to protect New Orleans too.

> or stop bs’ing

And yes there is no need to be rude. It does not make your point stronger.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
Not all valleys are equally dangerous.

The question is why people build new on known dangerous places. The new is an important word. They do because the future is not priced in (make insurance mandatory?) and because of acts of corruption that actively promote/incentivize development in hazardous areas by rewriting zoning, repricing permits, rewriting saner policies.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
For some who are very poor yes I agree. But many are baited in by corrupt policies by a nexus of politicians and contractors/builders -- cheap land, cheap permits.
srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
That's not quite it. Its about policies that take into account the cost of future events and balance it against the ease of building. The future needs to be priced in, in today's prices.

Regulations (for example, you cannot build unless and insurer is willing to insure your property against known local hazards) and enforcing the regulations can make that happen. Often we move in the other direction by adopting policies that encourages mispricing.

srean··on Worst-case glacial lake flood scenarios in a transboundary Himalayan basin 2022
I am not knowledgeable about Nepal so I wouldn't know what role corruption played in this particular case.

Nepal is literally between rock and a hard place. But in my country, India, there is plenty of this kind of corruption going on.

EDIT:

> I wager that the wealth of those cronies doesn't come close to my western living standards, so who am I to judge?

They are in no way implicated in this particular case but corruption in India can pay very handsomely

https://en.wikipedia.org/wiki/Vinod_Adani#Career

Lookup his brother too.

https://en.wikipedia.org/wiki/Gautam_Adani#Career (read the second half closely)

← PreviousPage 5 of 34Next →