Hacker Newsnew | past | comments | ask | show | jobs | submit | zeograd's commentslogin

I'd love to see the original manga story animated. There are so many beautiful scenes and plots missing from the movie...

However, it couldn't just be a sequel of the movie, as it diverged from the manga story line near the end.


I often see code relying on the increasing property of primary key (keeping track of processed vs unprocessed by the last processed pk only).

This wrap into negative domain would wreck havoc for sure.


You generally can't rely on strict monotonicity of primary keys, since the order in which transactions commit isn't necessarily the order in which the ids were generated. But I have relied on primary keys being "monotonic enough" to sort output by creation time for display purposes.


I've worked on invoicing software where we had to introduce a public, always +1 counter to ensure there are no gaps between invoices. Not +2, not +5.

That way you couldn't make them disappear.


In the days when you used custom printed forms that had a number printed on them by the printer - when you loaded a new box of paper into your printer you had to input the first form number into the system so they'd match.

If you opened boxes in "whatever" order you'd have invoice numbers that would run contiguous for 150 or so counts (the number of forms in the box), then skip to the next multiple of 150 to correspond to when the next (or previous!) box had been used.


That mustn't be the primary key, though, but a serial that counts (and is unique) per-customer.


This was before the SaaS days.

On-prem, single company who issued invoices to customers.

When there was an audit the government could ask to see invoices in a certain range. If some of them were missing, what does that mean? Paid under the table?

My wife worked at a place where they did manual PDFs, but there they had a tool to change properties of a PDF to change the creation time / last editing time, for when 'modifications' were needed.

And this reminds me of the other post here where some people assume cash means shady. Definitely the case there.


Well, I'd imagine that before returning the value through their API they could just check that if the number is negative, then add 2^32 to it, which would make it look like an unsigned 32 bit integer.


But isn't that exactly what they were trying to not do as their problem was the api users and not their internal use?


It was definitely a problem with their database but I suppose it's possible that the customers were also expecting 32 bit signed ints.


In most languages that support differently sized integer types and/or unsigned integer types, you wouldn’t have to check, but can just apply the appropriate modulo or bit operation on all values.


Article mentions it amounts to ~5% ownership


That's the blender API, supported by an embedded python interpreter coming with each Blender install


IIRC, 1 year


Same for anthropic


I tried https://github.com/PaddlePaddle/PaddleOCR for my own use case (scanline images of parcel labels) and it beat Tesseract by an order of magnitude.

(Tesseract managed to get 3 fields out of a damaged label, while PaddleOCR found 35, some of them barely readable even for a human taking time to decypher them)


Intuitively, I read it as "tweetext"


Huh, in my head I was reading it 'twit-text' (this is not meant to be a pejorative comment), but I guess that is ascribing it another 't' where there isn't one


I love the idea but couldn't get it to work.

When I click the snapshot button from the /viewer URI, I end up on /image and can only download the photo I took or go back.

What is the intended workflow?


I've uploaded a quick recording here (Seems Youtube forced it to be a "Short"): https://www.youtube.com/shorts/rdZ25pyqqmA

So ideally it should "solve" a sudoku puzzle when there's one in the frame. Then you can use the snapshot button (taking you to /image) to save and download the solution.

Though if it's not solving it (Which is definitely not uncommon in less than perfect lighting etc), I can see the workflow being unclear.


Great, thanks!

I was probably not stable enough showing it to the webcam and had more luck with the sudoku lying on the table and moving the webcam.

The lightning was also quite important in getting the grid recognized.

Nice job :)


In the spirit of FOSS, he also publishes his video on peertube: https://peertube.touhoppai.moe/a/shichimi/video-channels

Disclaimer: I manage this Peertube instance and used to mirror, with his agreement, those channels as mirrors, and he's now managing them directly.


Correct me if I'm wrong, but if I was on a different peertube instance, there'd be no way to discover his videos aside from word-of-mouth? As in, peertube has no global search, right?


There is offering from the creators of Peertube I believe: https://sepiasearch.org/. I think instances have to be added manually into the index, and tbh I don't use it much and so I'm not sure of the quality. But it sort of covers what you're asking for, at least kinda.


Discoverability is indeed lacking in Peertube, as for global search, what looks the most like it is https://sepiasearch.org/


It's an awesome game, I'm playing it non-stop since last summer and embarked my 9-years old daughter along. We're sharing games and exchanging bits of information (yes, she's thinking out of the box, and it sometimes works :) )

The author, Evan, is maintaining a fediverse community for all mods of the original Pixel Dungeon, accessible via https://photon.lemmy.world/c/pixeldungeon for instance, after the Reddit troubles from last year.


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

Search: