News for hackers. Stuff that matters.

eshnil

Re:Android 14 adds support for using your smartphone as a webcam on Thursday September 21, 2023 @10:36PM (#37607209)
> eventually built in webcams will be cheap and good enough

We've been waiting what, 15 years for this to happen?

Re:DevToys–A Swiss army knife for developers on Tuesday August 29, 2023 @10:43AM (#37308703)
Last year, I started building a similar desktop tool in Flutter: https://github.com/PolyglotNetwork/devtoolbox

I wanted to include offline CyberChef within this app in a webview but it turned out, Flutter still doesn't support WebViews on non-mobile platforms. I wonder if that has changed.

https://OpenLibrary.org is Internet Archive's initiative to solve this once and for all. Plus it lets you borrow e-books.
Re:Algorithmic Trading with Go on Friday June 30, 2023 @02:16PM (#36539675)
Why not switch to Mojo lang for this? It's Python-compatible with Golang like performance from what I hear.
Re:Alphabet selling Google Domains assets to Squarespace on Thursday June 15, 2023 @11:13PM (#36350673)
They're transferring the user's assets, the domains, and killing the product (Google Domains).
Re:Total recall: the people who never forget on Sunday June 11, 2023 @10:45AM (#36281890)
I'm reminded of Sachin Tendulkar being able to recall every single dismissal in his 20+ yrs of cricket career: https://www.youtube.com/watch?v=kRofNOkZg0M

No relation with this particular condition though.

FF is my primary browser too, but with the user base down to 3%, it's not exactly relevant any more.
I ran into the same problem while building https://learnawesome.org/ . Forget the broad class of "learning resources", even the "books" category doesn't have a usable unique ID. Not everything gets an ISBN for example. There's also the ambiguity between a "work" and an "edition" of a work.

This is probably why OpenLibrary supports mapping of books with 40+ identifiers: https://github.com/internetarchive/openlibrary/blob/master/o...

But technology can empower individuals to change the balance of political power. See printing press, cryptography/encryption, social media etc.
Re:A Visual Book Recommender on Thursday April 27, 2023 @10:46AM (#35728948)
> Only include reviews which came from users who had at least 10 reviews.

Not sure if that's a good idea. It shrinks the set of genuine readers and overweights the set of professional spammers.

There's an extension for this: https://github.com/darold/pgtt
Re:Build your own agents which are controlled by LLMs on Tuesday April 04, 2023 @10:37PM (#35448605)
I built this puppeteer-based agent to do online tasks in browser, described in natural language: https://github.com/aicombinator/bot

Show HN: Aicombinator – Bot to automate tasks across browser and APIs

https://github.com/aicombinator/bot

This tool uses GPT-3.5-Turbo to generate code that invokes recipes which are either puppeteer-based or use activepieces to invoke API actions for many popular sites and apps.Ability to use a local browser enables the bot to fill in OTPs (SMS/Email/2FA etc), fill forms and make payments etc. Ability to use ActivePieces brings support for OAuth-based connections. Puppeteer recipes are currently...

( Read More... | no comments | 2 points | on HN )
Snap language by SAP (snap.berkeley.edu) would be a better stepping stone rather than directly going to industrial languages. It's got first-class functions, first-class lists, object-oriented programming, APL-style vector operations which are very handy for media processing, machine learning etc, continuations, ability to make HTTP calls etc - while keeping the same playful environment as scratch.

Features like this enable serious study of computer science possible with Snap: https://emu-online.de/ComputerScienceWithSnap_2.pdf

There's even a variation for 3D geometries: beetleblocks.com

Scratch is immensely popular but with lack of reporter blocks and lack of first-class lists, it encourages many bad programming habits (global state, no datas tructures like stack/queue/tree/graph etc. The one advantage it has over SnapLang is that it has better performance for building intensive games etc.

Re:TaxyAI: Open-source browser automation with GPT-4 on Tuesday March 28, 2023 @11:44PM (#35352152)
More like the death of APIs. If bots can handle UI designed for humans, there's no reason to build and deploy APIs.
Re:Bicycle on Tuesday March 28, 2023 @12:53PM (#35344098)
Another great interactive explanation.

I wish physics teachers start using geometric product of vectors, instead of the cross product. This allows forces and torques to be combined into a single concept "Forque". Really, translations are just rotations around infinity and rotations are just composition of two reflections. If we allow the algebra to take care of rotations, physics becomes a lot simpler.

Re:Firefox 111.0 enabled Origin private file system access on Wednesday March 15, 2023 @11:24AM (#35169744)
I actually implemented it recently in one of my open-source apps. It's 6 lines of Javascript: Create an <a> element, set the data in its href with:

element.setAttribute("href","data:text/plain;charset=utf-8," +encodeURIComponent(content))

and element.click() followed by document.body.removeChild(element);

This works perfectly fine for saving single files. FileSystem access API is useful when entire directory needs to be stored and perhaps without the standard SaveAs.. UI.

Re:Firefox 111.0 enabled Origin private file system access on Wednesday March 15, 2023 @06:12AM (#35166012)
Saving a file is easily implementable without a Filesystem access API. See https://draw.io/ as an example.
They don't need to do extra due diligence. Just buy insurance for the excess amount above the FDIC limit. After all, they do benefit from the upside like cheaper mortgages for execs.
Every bank account holder was made to pay insurance premium for those with more than $250K in a couple of banks. And this was done AFTER the risky event the insurance covers has already happened. This absolutely is socialization of losses, while privatization of profits goes on as usual. Good reason to be upset, IMHO.
"KYB" now means "Know Your Bank". :-D

More seriously, you don't need to do extra due diligence. Just buy insurance for your funds above $250K. Or use standard treasury methods like using institutional insured liquid deposits or sweep accounts.

It would be great to be able to navigate the page to a certain scroll location or a specific state if it's a single page app and THEN take a screenshot. I don't know how you would achieve that though. Easier for the user to upload an image.