Afaik many of these issues are why the company i worked for ended up giving up on Prisma. We ended up switching to Objection.js.
The biggest issue was the transactions which was a non starter for us. It wasn't very helpful when after explaining our use case and being told "we are doing it wrong" in the GH discussions, and instead were told to write rollback code manually instead of using transactions was a very poor answer.
Every year or so I check back in to see if Cognito has gotten any better. I hasn't. I'd love to use it, but some very basic things are just not done correctly. Yan Cui has a nice writeup on Cognito [0] that touches on some of its shortcomings.
My blood pressure is still coming back down from AWS having an all-day outage during a holiday week last year, because Kinesis had an issue and it turns out their entire infrastructure depends on that.
Have they resolved issues where many third party packages are not available for Deno? Like i don't see things such as MikroORM/Pino/Firebase-Admin on deno.land, and even things like AWS-SDK are out of date.
Pro tip: don't import those libs from deno.land/x. The runtime is agnostic to where you're pulling libs from, and that's by design. The AWS SDK v3 for example works great through the Skypack CDN, and you're pulling the canonical one, not simply a port maintained by a third party.
I am pretty much in the same boat, i cannot afford a house where i live, and probably will never be able to at least within the next couple of years. Unfortunately between the ongoing construction, and the fact our building is slowly renovating most of the units has hurt my productivity.
While people say "oh just move somewhere else outside the city", unfortunately that means i need to now buy/maintain a car on top of everything else. Then commute into the city to be social with my friends group, or to do physical activities.
Neither of those things appeal to me, and since our work is strongly leaning to switching to be fully remote, it is kind of frustrating. A bunch of coworkers are very much just move to a city where you can buy a house! That is what i did. Or even worse a lot of people who are just "buy a house!", and are completely ignorant of how insane the housing prices have become.
Honestly the end result is probably just going to lead to me finding employment at a company that still has the ability to work onsite. A few of my like mininded coworkers pitched the idea that we could rent a small office area for people like us, and were promptly shot down by management.
Does anyone know if they have addressed the major performance problems with typescript?
This was a few months ago, but tslint takes a few seconds on one of our larger code bases. However ESLint with the typescript plugin would take up to a minute+, and seemed to make webstorm struggle with the eslint integration.
Could it be that you were using type-aware linting rules? If you have these rules enabled, ESLint basically has to compile all your TS files to check if the rules are followed. Note that most of the ESLint rules are _not_ type aware, but following the setup guides quickly has you turning them on “by accident”. For more details, see: https://github.com/typescript-eslint/typescript-eslint/blob/...
Been testing it out the beta, in my experience performance is better but still behind tslint, though tslint lacks a ton of rules compared to eslint so I am guessing that is partially why. I think the webstorm struggle is a webstorm specific issue, I've seen a few of my co-workers experience similar webstorm slow downs from eslint (and ts) but it works fine for me in vim without any slowdown of the editor itself.
You’ll probably need to be more specific about the speed issues you’re seeing. I don’t see that issue, but I also factor my code into smaller packages in my monorepo (which is a good practice). I still have relatively long lint times against the monorepo (greater than a minute), but that’s part of the CI stage.
Costco is an okay place to work however, As someone who worked for Costco in the past, i think i was getting barely $1.50 more than minimum wage (this was 2015).
Furthermore you have a ton of full time employees who will sing praises about the company. However part timers get shafted hard. Oh you can't work 3 days a week due to school, okay enjoy barely 8 hours a week. There were a lot of people there who had to work multiple jobs simply because they could not get enough hours.
Unless you are fully willing to commit to them it isn't a great place to work.
Where was this? Sounds like the kind of things that are extremely variable depending on where you live. When I was working near minimum wage in California, companies would screw me like this. But when I moved to Utah, companies would give me nearly any hours I asked for since they really needed the work done.
I tried Hasura in the past and unfortunately found it unsuitable for our auth requirements. There is no way currently to hook into their authorization system, you get extremely basic RBAC and if that isn't good enough for you too bad.
For example we currently are required to talk to some external auth services (depends on the customer) and fetch the users permissions based on that, (e.g. user can READ notes, and WRITE notes but not delete NOTES). At the time we had an extremely simple express middleware that handled this.
Also the entire idea that i need another GraphQL or rest server to do any sort of custom validation/custom actions made me do a double take and more or less killed any interest to me.
We ended up using NestJS with their GraphQL tooling and objection.js and never looked back. Ironically the adoption of the GraphQL version of our API compared to Rest is almost 0.
Hasura's authz is whatever authz you can derive from the data within your database or from the claims embedded in the authn token. If you have a table that contains the claims for each user, then you can reference that in the authz rule for any other table/view/function. READ notes if user.is_note_reader = true.
We're working on making it easy to integrate resource claims and rule engines that are external as well (make an IO call instead of embedding the rule in the SQL query itself). The good news is that it is possible to do at the Hasura layer because Hasura owns the RBAC so we'll get to it soon enough :)
Over the last few months, we've seen users flip from their custom GraphQL servers to using Hasura because of the reduction in code/maintenance that Hasura brings for their use-cases. Especially when you have a large number of tables. Being able to manage authorization rules at a "type" level instead of a "resolver" level also makes things convenient.
We've also started work on making it easy to integrate REST APIs for custom logic (esp writes) which also helps skip a bunch of GraphQL/authz boilerplate: https://blog.hasura.io/introducing-actions/
Unfortunately we do not have these claims defined in our auth token or the datasource hasura is attached to. We have an external session cache service in Redis. If the user isn't cached we need to hit an internal API to attempt to fetch this information for us and return it to us. No user information is stored in our auth token/database.
Actions look painful, i don't want to write and maintain microservices just to do simple actions. I just want to be able to write code and handle the hook around the function. Also from the link it only seems like actions occur AFTER something happens, i need the ability to run before changes are persisted.
Can someone explain to me this, as i could not find any real answers from my few minutes of searching. Lets say i have a blog and suddenly people start sending me BAT.
1. How does this impact my taxes? Wouldn't this be considered an income?
2. If i don't collect it where does it go?
3. If my content is being hosted on something like youtube or github do i get it or does the site hosting it get it?
4. How do i go about claiming that i own this, and how is this even verified?
After reading their FAQ, basically to collect any money you need to sign up for an uphold account. In order to become verified on Uphold i need to provide a random company a copy of my passport/drivers license/etc to verify my identity. On top of this they also take 1.95% conversion fee for working with BAT. Ontop of the 5% that Brave already takes by default.
On top of this if you are lets say a Twitch streamer sign up for Brave Rewards, but Twitch doesn't sign up as a publisher on Brave. According to the documentation you apparently get nothing? Where do those tokens go if someone donates?
The tokens get set aside (tracked only in the user's browser) but nothing happens until you verify on https://creators.brave.com/
Once you verify, the tokens will leave the user's wallet and are put into a wallet (called a card) with Brave partner Uphold. If you want to convert the tokens to your local currency and put into your account, there's a "Know Your Customer" process that the government makes sure is enforced
Tax-wise, I'm not sure how that works (great question). Besides manually converting to your currency and depositing to your bank, Uphold has a debit card that will automatically do the conversion if you use it when shopping
All first world countries and many others with developed financial systems put laws in-place on their financial institutions (like banks) and all money transmitters. They are required to get specific licenses and one of the key parts of these various licenses is "Knowing Your Customer". The intent is to prevent money laundering. Essentially, governments regulate these financial institutions and require them to know who exactly they are dealing with (sometimes there is a minimum amount that is interesting for them, other governments require it for everyone regardless of value).
According to Wikipedia: Australia, Canada, India, Italy, South Korea, Namibia, New Zealand, South Africa, United Kingdom, United States, Luxembourg, Singapore, and Japan
They can attempt to send you BAT in the browser, but it shows that you're an unverified creator, so the browser essentially 'holds' the BAT and attempts to send to you for a period of time (I think 90 days).
You sign up at https://creators.brave.com/ for your website / reddit / github / twitter / soundcloud / etc and verification happens depending on the platform, then you're shown as a registered creator in the browser when someone visits.
You get the BAT donation and just like any income would have to consider tax implications.
The biggest issue was the transactions which was a non starter for us. It wasn't very helpful when after explaining our use case and being told "we are doing it wrong" in the GH discussions, and instead were told to write rollback code manually instead of using transactions was a very poor answer.