Readit News logoReadit News
rocha commented on Nanolang: A tiny experimental language designed to be targeted by coding LLMs   github.com/jordanhubbard/... · Posted by u/Scramblejams
cmrdporcupine · 2 months ago
Not my experience, honestly. With a good code base for it to explore and good tooling, and a really good prompt I've had excellent results with frankly quite obscure things, including homegrown languages.

As others said, the key is feedback and prompting. In a model with long context, it'll figure it out.

rocha · 2 months ago
But isn't this inefficient since the agent has to "bootstrap" its knowledge of the new language every time it's context window is reset?
rocha commented on Trump to impose $100k fee for H-1B worker visas, White House says   reuters.com/business/medi... · Posted by u/mriguy
Alex3917 · 6 months ago
Seems like a reasonable policy. Given that the most talented tech workers, the ones the H1-B visas are designed to make it easier bring to the U.S., are getting $100M+ signing bonuses right now, a $100k/yr fee seems pretty trivial in comparison.
rocha · 6 months ago
The number of people at that compensation level is very very small, and they will probably go for a O1 type visa instead of a H1B.
rocha commented on Python’s new t-strings   davepeck.org/2025/04/11/p... · Posted by u/tambourine_man
MR4D · a year ago
Reread my comment. It’s about noticing you have an “f” or a “t” and both are very similar characters.
rocha · a year ago
Yes, but you will get an error since string and templates are different types and have different interfaces.
rocha commented on UN chief says fossil fuels 'incompatible with human survival,'   apnews.com/article/climat... · Posted by u/voisin
nocoder · 3 years ago
I totally agree with you. For this reason, I don't follow mainstream outlets about climate change. The most balanced source I have found so far is this substack by Hannah Ritchie. Here is one of those balanced article - https://www.sustainabilitybynumbers.com/p/15c-warming-tempor...
rocha · 3 years ago
Great resource! Thanks for bringing it up.
rocha commented on The Nettle Magic Project: Scanner for decks of cards with bar codes on edges   github.com/nettlep/magic... · Posted by u/fortran77
gostsamo · 4 years ago
If the manufacturer is willing to provide the entire db of cards or a well-trained model that could be embedded or a ready mobile app, that would be great. However, waiting on them is not a winning strategy. The other option is community contributions, but you need a large community. This will be welcomed as well, but again not something that should be relied on. Both developments would be wonderful to happen, however in the meantime I'm looking for something cheap, fast, and easy to implement that I can do on my own in the local scope of my deck.
rocha · 4 years ago
For some of the card games I am familiar with (Netrunner, MTG) there are resources online (wikis, dbs, deck builders) that have all the graphic assets. Alternatively, you can scan or photograph each card in your deck, but that may be time consuming.

As for software, there are engines out there that do content-based image retrieval (CBIR) out of the box [1]. It should be possible to build something quickly in OpenCV. You may be able to get away using simple image template matching by putting a few constraints on how the camera sees each card. Something more robust can be also be build using image descriptors and approximate nearest neighbors, as in [2].

[1] https://en.wikipedia.org/wiki/List_of_CBIR_engines

[2] https://blog.francium.tech/feature-detection-and-matching-wi...

rocha commented on The Nettle Magic Project: Scanner for decks of cards with bar codes on edges   github.com/nettlep/magic... · Posted by u/fortran77
gostsamo · 4 years ago
As I said in another comment, normal cards are easy. The issue is with everything else where each card might have a picture with different animals and you are looking for the lama giving you the bird.
rocha · 4 years ago
I think it is very doable for card games with thousands of different cards like MTG. I remember there was an old school SIFT/SURF image retrieval system that was able to deal with tens of thousands of album covers super fast. That was more than 10 years ago IIRC.
rocha commented on The Nettle Magic Project: Scanner for decks of cards with bar codes on edges   github.com/nettlep/magic... · Posted by u/fortran77
gostsamo · 4 years ago
This tech could be a game changer for accessibility. Many card games are not or cannot be adapted to braille, so I haven't been able to play them with friends. If cards can be sold with invisible ink in an open format, then I would need only a scanner and a earphone to be able to check my cards without other help.

I've thought of doing with with QR codes, but I'm not sure if it will look okay for the other players and if the qr codes won't be recognizable enough by a human to give someone unfair advantage in some situations.

rocha · 4 years ago
Another option is an image recognition system trained on already existing cards. No need for special ink or qr code, just a camera as the reader.
rocha commented on Sony's Robot Dog, Aibo   theguardian.com/science/2... · Posted by u/leancz
Veen · 5 years ago
So you can take it for a walk?
rocha · 5 years ago
The walk really slowly. The can "run", but only for a very limited amount of time before their servos overheat and the dog has to take a nap.
rocha commented on CIA director says he is escalating efforts to solve 'Havana Syndrome'   npr.org/2021/07/22/101340... · Posted by u/crackercrews
fakedang · 5 years ago
I don't get the logic behind terming "China virus" as malicious use, while we call past viruses names such as "Middle East Respiratory Syndrome" and "Spanish flu" and "Japanese encephalitis". The only difference between one and the rest is that its host country it was named after raised a ruckus about it in a highly biased and obliging media under a belligerent president, while the other countries either did not care enough in the past or in the present.
rocha · 5 years ago
Here are the arguments that the WHO used in 2015 to change the practices for naming new infectious diseases:

https://www.who.int/news/item/08-05-2015-who-issues-best-pra...

u/rocha

KarmaCake day177March 12, 2008View Original