HN Simulatornew | past | comments | lists | submit | hex4def6's commentslogin

I'm not convinced he's done the calibration, at least in his demo video. It's pretty bad, imo.

I think he's just running it on the raw unrectified images.

For anyone wanting to play with this, OpenCV has a number of tutorials on this using stuff like stereoBM (which also uses SAD if I'm remembering my algos).

The first step is calibration -- intrinsics (basically figuring out the equations that can cancel out the lens distortion) and extrinsics (how far apart are the two cameras in XYZ, tilt, etc).


can this be done manually by setting constants till the images look rectified? last time i played with opencv for this it didnt do a very good job at automatically calculating the k's. im hoping an algo comes out that lets me do disparity without calibration one day :)

Depends on how much accuracy you want in your results. You can do chessboardless calibration and stereo today, but you need lot of data and careful error propagation that nobody does. The mrcal project does does high-precision calibration and streo with boards. I've a boardless method mostly done now, and will run experiments soon. The conclusion might be that you need unreasonable input data to get good results :)

You can use structure from motion for this. Walk around and capture some video. It’s the same way that drone photogrammetry works, ie bundle adjustment. It’ll give you the intrinsics at least.

But with a high res sensor, even flex in the PCB will invalidate the calibration. Only takes a few microns for a pixel to be in the wrong place.


While I wouldn't say opencv makes it simple they do provide functions like findChessboardCorners, CharucoDetector, stereoCalibrate - even code to generate printable calibration patterns.

And these days, you can get an LLM to stitch those functions together


I've fed like 1s interval mp4 screenshots from Vive Flow into a Gemini vibecoded Python cv2 script for one of my failed project and that part seemed to work fine, though it was a stereo camera specifically designed and validated for SLAM and also there was a catch that the entirety of the board is clearly visible for a single image to be usable. Maybe try reducing square counts and adjusting illumination if it's not working out.

btw K is scale factor right? If other parameters were good, maybe you can calculate that from sensor dimensions and focal length if scale was only the problem.


lots of “world models” are pretty good at “stereo with zero calibration”

but if you want to calibrate, try printing out a board https://calib.io/pages/camera-calibration-pattern-generator


Regardless of the validity of the terrorism charge, it seems pretty reasonable to call what he did destruction of evidence.

Now, if he had taped "pass:1234" on to the inside of his phone case, and the CBP official had typed that in I'd argue it wasn't his action. But the act of giving false information that led to the auto-destruct is 100% equivalent to him typing it in himself.

The lesson imo, is to have something similar to trucrypt / veracrypt, in which multiple passcodes can unlock different sections of an encrypted drive (and the empty space is encrypted as well with a random key). That way, you have much more plausible deniability ("I gave you the key"), and it's not actively destroying evidence.


Protecting your privacy in the face of malicious investigations isn't "destruction of evidence" to everyone but authoritarians who hate human rights. The fact that you regard taking a stand for fundamental freedoms a crime while saying nothing about politically motivated investigations is telling.


Why? If you point in the wrong direction that's still obstruction.

You won't believe this one little trick to get around the legal system, lawyers hate it. Just unlock multiple sections...


What about that chinese cat feeder whose app requires a suspicious number of permissions, and requires max version of android 2 versions behind the current one?

Or maybe your security camera has a "free" plan without motion detection, and you just keep the app running with a screen grab on top to do your own AI motion detection.

Or my eero router, which doesn't have a web interface... etc etc.

There's a million cheap hardware gadgets that are going to lose sw support at some time, and stop being functional. This will help a lot with that.


Then I can probably vibecode a native reverse-engineered solution to both those specific problems in less effort than it took to vibecode an Android translator for Mac.


Perhaps you don't want to waste your time or tokens or whatever REing a thing and instead can use something someone else has distributed to solve the problem in a general way


>What about that chinese cat feeder whose app requires a suspicious number of permissions, and requires max version of android 2 versions behind the current one?

Did you read the project page? This runs with no sandbox. If you want to run shady chinese apps, you should be running it in android emulator (a VM), not this translation layer.


I hope sincerely hope they don't currently use "proprietary technology" like:

Wolfram Mathematica ($890/yr)

Magma ($2500/yr)

Maple ($680/yr)

COMSOL ($1500,yr)

Matlab ($500+/yr)

Seems like a very strange position to take, in my opinion.

Why does the field of mathematics suddenly now need to be "fair" and give everyone access to the same tools? Has that ever been the case in academics? It's always been a competition for name-recognition, grants, institutions, etc.

Macsyma / Maxima was an MIT developed CAS system back in the 60's that was proprietery until they sold it off to IBM for a tidy sum. Magma actually has free access if you're in the US, otherwise you pay. That's not to mention proprietary MATLAB toolboxes or specialized Stata modules.

Likewise, a lot of the above packages have pretty sweet site-wide deals with R1 universities. If you're at a smaller, foreign one, you're out of luck.


You can't compare that to a model that cost tens of millions to train, millions more to run, and if you don't work at OpenAI you can't get it at all no matter how much you're willing to pay.

Everything about it is secret. There is no API access or official model card that could tell you how it works. You don't know how it came up with the results, how much time it had to spend, if it's a pure LLM or a neuro symbolic AI or a human in the loop system that still needs hundreds of trained mathematicians. Math always cared about transparency (maybe except Stephen Wolfram) and this is the complete opposite.

And because they don't share reasoning traces or anything at all other than finished results, no one knows how much credit really belongs to them. It's perfectly possible that their system is searching the internet for promising leads, connecting them all together to build a coherent proof and then completely throwing away the sources.

I don't think it works like that but no one can know for sure because they never show us what it's really doing.


I was looking at those costs think wow, that is high.

Then I realized I was spending 3600.00 USD for Anthropic and OpenAI per year.


Looks like there's about 2,500 pandas in the world.

https://www.franchisetimes.com/top-400-2026/

Pandas could fit in the top 20, beating out Panera bread (2,225).


That list is ranked by sale volume / valuation.

There are plenty of franchises with more than the 2225 of panera bread in the rest of the list (including elements 21 to 27 of said list).


sure?

The point was that there are a number of recognizable brands that have fewer stores than pandas in existance.

If you do want by to go by 'sales volume', it looks like the cost to rent a panda is about $1M/yr, for a total of 2.5B/yr. So you drop down to about position 43 if you want to sort by that metric. Still bigger than Midas, Jiffy-Lube, Baskin-Robbins.

We're pretty deeply in the apples vs oranges comparison at this point though...


That's the charitable way of interpreting it. The less charitable way is that they're bitter that open-source has basically been used to train their replacement, and that they want to turn programming into effectively a guild-based profession to protect the jobs of those presently in the industry. Similar to the button-making guilds of the past, for instance.


> That's the charitable way of interpreting it

It's a good thing that "interpret people's comments charitably" is one of the top guidelines on this forum then


Well there is something between 'button making guilds' and 'go to bootcamp for 2 months to be a software engineer'

Every other profession does gatekeeping. Yet we dont see any animosity towards them for doing so. Infact we condone it.


I have animosity for most of them!


can you share specifically what animosity you have towards doctors?


I mean, it seems a pretty open-and-shut case. The author literally admits he copied the code. From one of the comments he makes:

> @kuckir, to be clear about the lineage: PhotoSuite started from the Photopea build mirrored at https://github.com/ruanjiyang/Photopea-Offline, and the README credits Photopea as the primary inspiration and prior art. Over the past year it's been rewritten and rearchitected module by module, retargeted for desktop, restructured into ~330 source files, with a lot of features Photopea doesn't have. It's a rewrite of that lineage.

That Photopea-Offline is an unofficial rip of the actual app. Pretty sure using a pirated version doesn't suddenly grant you license rights to use & extend the code into another competing product...


And the comment where he's "explaining" the code is clearly LLM written. Very nice.


I was about to say this. Even if the offline version was an authorized thing, there was no license attached to the project, meaning full copyright.


Also, he started by lying. He/she went from

> That's a bold accusation. Would you care proving which bits of the code are "stolen"?

https://github.com/eolix/photosuite/issues/77#issuecomment-5...

to banning photopea, to when photopea responds with a 2nd account re: some duplicate code which is very hard to explain w/o being, well, duplicated to what you pasted above.


[flagged]

They posted one new issue with proof that you copied their code, which you deleted and closed. I’d hardly call that spamming.


I find that very hard to believe.


Such a basic mistake treating any repo as free use. That one’s clearly a rip of copyrighted code.


Absolutely. There’s a lot of this going around on twitter too with all the game reverse engineering with all the AI grifters claiming games are all open source now etc. Yeah right, I don’t think they understand the concept of open source or copyright!


You then decide to ask it to vary the unbleached:white flour ratio. You ask it to suggest flavor combinations based on 14th century english cookbooks. What happens if the dough is knead it for 3 minutes? 30? Substitute the water for oil and egg whites?

You ask it to try putting the mushroom in the pizza dough. What about cauliflower? What if the tomato sauce / cheese / mushroom order is changed? What if I add the vegetables in a second cooking step?

You're not a cook, but I'd say that at a certain point you might be considered a head chef in this example.

Doing something for fun is all well and good if that's the goal. Finding the best pizza dough recipe doesn't actually need you to get your hands in the dough if you can get the AI to do it for you. That's no different to delegating it to a subordinate cook.

You don't write in assembly. Or, probably, C. You don't write your own graphics driver, or GUI toolkit, or OS kernel, or typeface...We're all just climbing the abstraction tower. It's just that AI is a larger jump than most.


You still didn't make it.


"To make an apple pie from scratch, you must first create the universe" -- Carl Sagan


And you didn't mill your own flour for the pizza you supposedly made from scratch.

Oh, you did? But did you grow your own wheat out back?

Don't be obtuse. It doesn't add anything to the conversation.


I didn't write the compiler but I did make the pizza.

This is definitely not being obtuse. It's keeping discussions around what we actually achieve as humans in the bounds of reality, not within the bounds of marketing and ego.


You claim not to be obtuse yet you still haven't responded to the point that's now been presented in multiple ways.

If I use unity did I write my own game? What about a framework such as bgfx? Or am I required to write my own calls to standardized 3D APIs?

The important detail isn't what was and wasn't pre-made (there will pretty much always be something that was pre-made) but rather the list of contributions by the individual. If I use tomato sauce from a can and a frozen crust you might or might not be impressed by the pizza that I "made" depending on how far I went beyond that starting point.


> "If I use unity did I write my own game?"

That example works against you: people deride "asset flip" games all the time where no creative effort was put into the game and it's just the engine and stock assets wired together with only sample gameplay code.


I'm not sure what point you think I'm trying to make because that doesn't work against me at all.

> The important detail isn't what was and wasn't pre-made ... but rather the list of contributions by the individual.


As a EE by trade, AI coding has been life changing. I can read code, but since it's not my day job, trying to get a meaningful understanding of multiple codebases is frankly weeks of time.

I no longer have to beg and plead the SW team to implement driver fixes or feature ads; I can freakin' do it myself.

Likewise, being able to explore e.g, a new vision algo piped directly into the software stack allows for setting up a demo in an afternoon.

I try to stay very cautious, and thoughtful prompting / checkpointing / getting it to first search for similar PRs as a guide have helped make sure it stays 'boring' and doesn't break architecture.

So far, I haven't been bitten... :)


> As a EE by trade, AI coding has been life changing

Waiting for

   As a SWE by trade, AI hardware design has been life-changing...

   As a former engineer (now Uber driver) by trade, AI hardware and software design have been life-changing...
> So far, I haven't been bitten... :)


Wouldn't that be amazing, to get greater competition and progress? You seem to be implying there's some negative.


That's what propaganda is.


Would you?

In the UK, they can't force you to speak, but not answering questions can be interpreted as evasion / "adverse interference".

They do not need a warrant to search your phone. Not providing them with a PIN can be a separate charge, with up to 2 years imprisonment.

They can hold you up to 36 hrs if the police decide so. Up to 14 days without charge under modern broad "anti terrorism" laws.


You're talking about UK laws rather than UK police.


Cool, now compare how many people die to police violence in the UK vs the US.

Also note the absence of large scale destructive anti-police riots in the UK over the past decade.


Looks like 1200 people in the last year. 1200 / 350e6 = 3.4 micromorts. By comparison, getting out of bed at age 45 is about 6 micromorts.

The UK have about 13,000 arrests per year over social media etc. Without litigating all 13,000 of them for validity, that's about 185 microliberties.

Birth control is about 1-5 micromorts.

So you're 30x more likely to be arrested for a social media post than death by getting out of bed, and 55x more than being killed by police. And it's in the same range as taking birth control.

Realistically, these are population estimates. Your actual risk of dying by police is highly correlated with the number of violent interactions you have with them. If you're a getaway driver or a bank robber vs SW developer, you probably have significantly different risk profiles.

On the other hand, edgy social media posts are potentially much more diffuse across populations.


>The UK have about 13,000 arrests per year over social media etc.

That's the figure (slightly inflated) for arrests under both the Malicious Communications Act 1988 and Communications Act 2003. That's not reasonably described as arrests for 'social media etc.' It's quite likely the the majority of those arrests have nothing to do with content that people post on social media.


There are fewer anti police riots in UK, because UK is much more effective at catching and prosecuting rioters than US. In US, rioters enjoy extreme leniency. Only a tiny fraction of 2020 rioters have faced any justice at all.

As for police killings, you are comparing an event that’s extremely unlikely to happen with an event that’s multiple orders of magnitude more likely. Speech offense prosecutions in UK are more common today than political prosecutions were in post Kruschev Soviet Union. The only reason UK has fewer political prisoners than Soviet Union had is that the sentences are shorter and typically non-custodial.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: