News for hackers. Stuff that matters.

code-is-code

Why did you not ask for the payment first before printing the logo on everything?
Training in parallel on more then one GPU is pretty hard. Distributing the training over many random computers and adding at least some kind of validation, seems to kill the performance. So it would always be easier to rend cloud GPUs.
Re:Local-First Web Development on Monday February 20, 2023 @10:53AM (#34869260)
Not true. Most RxDB users use the dexie.js storage which is for free: https://rxdb.info/rx-storage-dexie.html Also you should compare it to the alternatives like firestore or AWS datastore which are not even open source partially and cannot even be used with a self-hosted server.
Re:Downsides of Offline First on Friday October 01, 2021 @12:51PM (#28720774)
Firebase works until you want a different conflict resolution then last-write-wins. It is also only offline first if the user is authenticated. Otherwise you need a connection to the servers before using the local state.
You should have a look at RxDB which does exactly what you have described. Also notice that neither firebase nor supabase is really offline-first.

https://github.com/pubkey/rxdb

Re:Ask HN: Assisted Suicide in Canada? on Friday June 04, 2021 @07:51PM (#27400497)
You need help, likely not in canada and for sure not with suicide.
Re:Ask HN: How do you organize yourself ? on Tuesday June 01, 2021 @02:06PM (#27358755)
I made a whatsapp group where I am the sole participant. This makes it easy to work on my "todo-list" on all devices synchronized.
Re:JsonLogic on Thursday May 27, 2021 @02:41PM (#27306551)
I also did this some year ago. A big learning was that you should define the allowed input types in the logic object.

https://github.com/pubkey/secure-json-logic#readme

Yes I did.
Progressive Web App
And how big was the risk to have the invested time wasted? How long did you block new feature developement?
Re:What Might Happen If Bitcoin Crashes (2017) on Wednesday April 14, 2021 @10:36PM (#26815606)
I had to close 5 popups just to read the first line of text.
Re:Is WebAssembly magic performance pixie dust? on Wednesday April 14, 2021 @06:58AM (#26805370)
He is right. Implying that Webassembly is strongly typed is garbage and tells much about the rest of the content.
No, just dangerous for your users.
This is so dangerous to use. There have been hundrets of these sites in the past. As soon as they have enough traffic they silently redirect or change affiliate ids etc. Do not use them, the rel=noreferer is good enough.
Re:Ask HN: Cross Platform Development on Tuesday February 02, 2021 @08:31PM (#26009540)
I think the time has come where a PWA does it for most kind of projects.
Re:Giant leak exposes data from almost all Brazilians on Monday January 25, 2021 @08:21PM (#25911256)
I was even able to dos my mail server with a bot that signed up newsletters.
Re:Ask HN: What companies are you excited about? on Friday January 22, 2021 @03:09AM (#25869535)
I am waiting for the time when every "normal" website is so censored and shitty that the average joe is using tor. Then we can create a truly free internet and the cycle starts again. Seems like I have to wait just a few more years.
Do you really have to launder them? I mean, you do as the smart contract says, it might not even be illegal.
Re:Bitcoin's market cap is now higher than Tesla's on Thursday January 07, 2021 @09:43AM (#25671560)
Also we can predict the short shift to altcoins again before the bubble explodes.
Re:We’re Google Workers, and We Are Forming a Union on Monday January 04, 2021 @08:23AM (#25630972)
No this is not a good thing. Binding workers right to political views is dangerous and other countries show that unions can work without any party propaganda.
This. Same happens with the sms verifcation in microsoft teams. On older devices switching to the sms app will restart the teams authentication process. So you have no chance in every typing the correct 2 factor sms key.
Re:Ask HN: I wish I knew before I launched my project on Thursday December 31, 2020 @09:21PM (#25600179)
Have a data backup strategy before you save critical data.
They just want to protect you from yourself, do not take it personal.
Re:Ask HN: Self Promotion on Reddit on Monday November 16, 2020 @07:22PM (#25118923)
Just dump it on reddit like everyone does. Especially projects that do not sell something are mostly welcomed.
Re:A Spacetime Surprise: Time Isn’t Just Another Dimension on Monday November 16, 2020 @03:12AM (#25109311)
Forbes is so broken on mobile
Re:Hasura raises $9.9M to simplify GraphQL on Thursday February 27, 2020 @08:45AM (#22433142)
If you love hasura and want something like firebase, please check out the tutorial with hasura + RxDB. It is like having a firebase with better offline-first and more features and of course without vendor lock-in.

https://hasura.io/blog/building-an-offline-first-web-app-wit...

Re:CouchDB 3.0 on Wednesday February 26, 2020 @03:35PM (#22427034)
If you like PouchDB, you should also check out RxDB. It is build on top of PouchDB and is optimised for realtime-applications where you can subscribe to queries and stuff.

https://github.com/pubkey/rxdb

Older »