News for hackers. Stuff that matters.

scottdupoy

Re:Show HN: Fast and Exact Algorithm for Image Merging on Wednesday September 25, 2024 @02:58PM (#41650742)
Yes you're right it was a 2D cross-correlation which is very analogous to a convolution
Re:Show HN: Fast and Exact Algorithm for Image Merging on Wednesday September 25, 2024 @02:55PM (#41650704)
That's exactly how it worked, hand rolled FFT and filtering following the method in "Numerical Recipes for C"
Re:Show HN: Fast and Exact Algorithm for Image Merging on Wednesday September 25, 2024 @12:52PM (#41649365)
Interesting to see something like this!

My computer science masters thesis was based on the same goal. I used a 2D convolution which meant you can merge images with inexact overlaps. I had to run a high-pass filter first to limit the image details to their edges only or else the convolution incorrectly matched bright areas.

In reality merging pictures is further complicated because the source images may be slightly rotated relative to each other and also due to the images being slightly curved due to lens distortion.

My supervisor wanted me to do a PHD on the topic!

Re:Is My Blue Your Blue? on Tuesday September 03, 2024 @01:55PM (#41437343)
My partner and I regularly disagree on blue vs green as the colours become more of a gray colour - might be interesting to randomise the brightness of the colours being displayed then seeing if the skew towards people perceiving blue Vs green changes as the colours become closer to gray.
I did exactly the same thing a few years ago - now it feels like a pull service that I'm in control of, instead of a push service with an algorithm controlling the content I view.
Re:Stephen Sondheim on How to Do a Crossword Puzzle (1968) on Sunday December 05, 2021 @02:54PM (#29452471)
Correct!
Re:Stephen Sondheim on How to Do a Crossword Puzzle (1968) on Sunday December 05, 2021 @01:24PM (#29451454)
I've been attempting cryptic crosswords for 20+ years and this is a great answer.

My favourite clues: Die of cold (3-4) hijklmno (5)

All the tips you've given won't help with either of those, or your 'geg' clue, which is interesting. Maybe the best clues are all about lateral thinking.

Re:Testing Phone-Sized Faraday Bags on Thursday December 02, 2021 @05:36AM (#29414536)
> While the cookie tin performed much better than the mylar bags, and could provide a modicum of useful attenuation under some circumstances, it was not sufficient to provide meaningful assurance of signal isolation at any frequency. However, it was unique among the containers tested in providing tasty snacks during measurements

Back in the day working for Symbian I used to regularly have to run a load of automated Bluetooth tests. Unfortunately there were 200+ engineers in the close vicinity of my test setup and they all had smartphones and all had Bluetooth turned on, causing loads of the test to timeout. We were very pleased with ourselves when we thought of using a biscuit tin as a Faraday cage to try and improve things. Didn't work as well as we hoped, but got the tests running within their timeouts. I always thought it'd be interesting to try using an old microwave.

Best thing was that we got to eat all the biscuits first :)

Re:Wobblepaint on Friday October 30, 2020 @10:24AM (#24942520)
I couldn't agree more. In these difficult times this has given me hope both in terms of the state of humanity and also in the future of the internet.
> The gasoline produced from carbon is then intended for burn...

If it's captured from the atmosphere and then burnt then surely it's zero-sum (apart from the energy cost of capture). Is this not better than releasing historically captured fossil fuels with a larger net increase in atmospheric levels?

If the capturing process is net-negative in terms of CO2 emmissions then perhaps we could invest in capturing more than we require for fuel - ie pull the CO2 out of the atmosphere and stockpile it in non-gaseous form. My experience is that people are willing to pay to clear their conscience and feel that they're making a positive climate change impact, but irrationally very resistant to changing their own behaviour.

> That’s actually a huge opportunity though. If you have a small edge in information, you can make millions.

Also, if you can act on public information faster than others then you effectively have that edge in information.

Are atmospheric CO2 levels rising to an extent that currently projected levels would have a noticeable effect in the same way?
Re:Train ferry on Friday January 11, 2019 @03:53PM (#18886869)
Also if you don't want to sail your boat across an ocean you can sail it into a big boat with a load of other boats and just collect it at the other side!

https://www.cnbc.com/id/100758754

Re:Train ferry on Friday January 11, 2019 @02:08PM (#18885968)
The Picton ferry between the North and South islands of New Zealand does this too.

https://en.m.wikipedia.org/wiki/Interislander

The femtobarn is a unit of area. The inverse femtobarn is basically saying the number of interactions "per femtobarn". A higher value means more interactions are occurring.

When you fire a beam of particles at something, or another stream of particles then you usually want interactions to happen. Some particles miss, some interact and some are moving too past and fly right by. There is an optimum energy where the most particle interactions occur. If you plot out the interaction rates then you usually get a bell curve. This is known as the excitation function for that interaction.

I read Children of Time by Adrian Tchaikovsky recently. Quite a lot of the book is told from the perspective of some highly intelligent spiders. The author makes a good attempt at articulating how they might perceive the world around them and how they would consequently struggle to communicate with us.

I don't know if it's accurate but he describes how they communicate primarily using their mandibles, legs and with vibrations through their silk, rather than through audible vibrations like us.

https://en.wikipedia.org/wiki/Children_of_Time_(novel)

Re:Electric Buses Are Hurting the Oil Industry on Wednesday April 25, 2018 @06:00AM (#16920059)
Norway seems to be progressive and open-minded about this kind of thing. They have a massive sovereign wealth fund which has built up on the back of a successful national oil industry. However, last year they announced their intention to divest from oil and gas stocks. Whether or not this is to try and make the fund more environmentally and socially responsible, or if they genuinely believe that these are poor investment choices is an interesting question.

https://www.theguardian.com/business/2017/nov/16/oil-and-gas...

[edit: add link]

About 2 years ago I unfollowed all my friends. When I login there's nothing to see now. I feel that I've switched it from a push to a pull service and am much happier using it.
Re:Uncontrollability of a bricycle (2014) [video] on Wednesday April 18, 2018 @05:15AM (#16865864)
That's my experience too. If you very slowly lean to one side then you can start the turn that way.

Countersteering moves the bike to one side which means you're no longer balanced and so rapidly fall the other way initiating the turn.

Re:Puffin beaks glow under UV light on Tuesday April 10, 2018 @11:56AM (#16802307)
Agreed. Scorpions also glow under UV light and scientists don't seem to have come up with definite theory explaining why this may be. Maybe these are just random occurrences of proteins that glow under UV, but have other properties beneficial to the animal in question.
Re:What Did Ancient Romans Do Without Toilet Paper? on Thursday April 05, 2018 @05:57AM (#16763353)
The tersorium/stick the Romans used is the source of the expression: to get "the wrong end of the stick"
Re:Ask HN: Who is hiring? (February 2017) on Thursday February 02, 2017 @09:40AM (#13550778)
That was a fun little interlude - I wonder how effective strategies like this are? Is it to check for genuine technical ability, engage candidates or just a little barrier to ensure a candidate is really interested in the role?
Electronic piece of cheese!

Symbian OS was very capable, full of features, but hard for developers to pick up and work with. I remember when the iPhone first came out and Symbian developers couldn't believe how few features it had ("it doesn't even multi-task!") but it did absolutely nail the user interface which is what most people noticed.

As a friend working at Symbian once said to me, "it was like watching a train crash in slow motion"