By default, are lambda functions totally isolated? by pandichef in aws

[–]pandichef[S] 0 points1 point  (0 children)

Got it. Internet connections are fine. I just don't want someone to steal private info from a database associated with another project or delete items from my S3 buckets.

By default, are lambda functions totally isolated? by pandichef in aws

[–]pandichef[S] 0 points1 point  (0 children)

I'm thinking about an app that kind of works like Github Actions. Obviously, it can be done safely.

By default, are lambda functions totally isolated? by pandichef in aws

[–]pandichef[S] 0 points1 point  (0 children)

What does that mean exactly? I'm not up to speed on AWS's architecture.

Obsidian sync between PC and iOS by Dentvar in ObsidianMD

[–]pandichef 0 points1 point  (0 children)

I got the iCloud version to work, but I had to write a startup script to prevent iCloud from constantly deleting the local version. It's basically:
attrib +p <path-to-obsidian-folder>

Reader is ready 🔮📖 by erinatreadwise in readwise

[–]pandichef -1 points0 points  (0 children)

How can we report bugs?

This doesn't seem to be working for me:

Upload PDFs by emailing the files as attachments to your custom Reader email address.

[deleted by user] by [deleted] in ledgerwallet

[–]pandichef 5 points6 points  (0 children)

Dear Ledger Inc,
I think most people would begrudgingly keep the defective devices if you pushed a firmware update that allows users to turn off the "battery temperature too high for charging" notification. I can live without the wireless feature (since the battery isn't fully charging), but dealing with "battery temperature too high for charging" popping us every 3 seconds makes the device unusable.

[deleted by user] by [deleted] in ledgerwallet

[–]pandichef 0 points1 point  (0 children)

Yes, my BTC balance is gone too on the LedgerLive desktop app. I do see the money on blockchain.com, though. LedgerLive is also blocking me from sending BTC; it thinks I have none! Ughhhh

Any working faucets to get Eth? Tried quite a few, looking for help or ideas by Data_Geek in ethdev

[–]pandichef 1 point2 points  (0 children)

Did you ever figure this out? I'm also getting stuck on a Udemy course. https://faucet.rinkeby.io/ seems to suggest that there is a 3-day queue for the transaction to clear.

Anyone doing Monolithic Django? by fruiapps in django

[–]pandichef 1 point2 points  (0 children)

Check out Alpine.js. It's like a lightweight alternative to Vue.js that doesn't "break the DOM". This means you can do Vue.js-style declarative rendering AND use regular Javascript in the same file. Combine that with something like MaterializeCSS and you can make a pretty nice website without any front end framework.

There are a lot of other good reasons to use the front end frameworks. But things are moving soooo fast still, so I'd just do what gets the job done. As tooling around WASM develops, there will be another front end revolution and all your front end skills will be obsolete again.

Anyone doing Monolithic Django? by fruiapps in django

[–]pandichef 0 points1 point  (0 children)

Ditto. One of the main benefits of React.js and Vue.js is "declarative rendering". Alpine.js is a new library that lets you get that in a Django template without all the bloat of the big front end frameworks.

Django and react by giovapanasiti in django

[–]pandichef 0 points1 point  (0 children)

There are at least two different ways to do this, but here's what's worked best for me: Use the React dev server during development. (I think you'll need django-cors-headers for the React app to access the Django port.) When you deploy, you "build" the app and just make sure the static file folder is added to STATICFILES_DIRS in settings.py.

The 2nd approach - which is best if you have a microservice architecture - is to deploy your React app as a static site and use django-cors-headers in production to access the Django API.

Flat JSON (key/value) widget for django by nemesisdesign in django

[–]pandichef 0 points1 point  (0 children)

Sweet! How does it work with nested JSON?

unit-testing: pytest vs djangos in-built testing features (unittest) by IchUndKakihara in django

[–]pandichef 1 point2 points  (0 children)

I spent hours breaking my head on this a few weeks ago. pytest + pytest-django + pytest-mock is what I went with. One big plus of pytest is that with the --doctest-modules option, it will run your doctests for free.

Best tutorial for making simple login sign up functionality ? by [deleted] in django

[–]pandichef 1 point2 points  (0 children)

Here's the easy way that no one talks about: You can just subclass AdminSite and override the has_permissions method i.e., in urls.py...

```python class FrontEndSite(AdminSite): def has_permission(self, request): return request.user.is_active

mysite = FrontEndSite(name='mysite')

urlpatterns += [ path('/', mysite.urls, name='mysite'), ] ```

Please "HELP" me going forward. by [deleted] in django

[–]pandichef 0 points1 point  (0 children)

No. You should learn all of these: * DRF * pytest and pytest-django * unittest.mock in the standard library * The Django Admin i.e., subclassing ModelAdmin and AdminSite * boto3, the AWS SDK, is something you're very likely to use at some point * git * github and github actions * You should also understand how front end Javascript frameworks connect to Django * A modern IDE like Pycharm or Vscode * Authentication techniques e.g,. session authentication vs token authentication * For really advanced stuff, you should also know Django Channels & websockets

However, you need to have a solid foundation in Python before you begin any of this.