-
3 votes
-
Signal removing support for SMS in Android
20 votes -
墨韵 Moyun - Playing God | Guzheng (Chinese plucked zither), Polyphia cover (2023)
4 votes -
Browser Session vs JWT tokens for authentication system for an app?
I'm working on an app idea, it's going to be "API first" in design which means there is a clear separation between the backend and frontend. Former will be accessible through a REST API and the...
I'm working on an app idea, it's going to be "API first" in design which means there is a clear separation between the backend and frontend. Former will be accessible through a REST API and the latter can be simple HTML without me having to delve too much on it. The idea is that the end users or clients will write their own front-end interacting with this REST API in future.
Firstly, I want to know where to start. Writing a REST API seems quite easy and simple for me as a backend engineer but I've never implemented a "pure API" app in practice. Do you just validate the headers, do the crunching and return back a JSON response? What all must you take care of here?
Finally, authentication and session handling is something very important here, isn't it? If I make use of session feature in the REST API (like PHP sessions or Django sessions, for eg), authentication will be pretty easier. I don't have to worry about encryption as SSL/TLS would be already doing that for me through the browser. But then what is the downside of this method? Why do so many people use JWT tokens then?
Coming to JWT tokens, is that the only way of encrypting/validating REST APIs, or are there others? My biggest concern here is scaling and performance. I'm willing to implement the most efficient path here, the one that gives the most performance using least resources.
3 votes -
That '90s Show impressions megathread
I get the feeling that a lot of people will watch at least some of this series due to the double nostalgia for That '70s Show and the actual 1990s. Share your impressions here!
7 votes -
I'm back!
hi, i've returned to look at how the site's going after a couple of years! is it dead? there seems to be some activity here but also the site isn't being worked on, wonder how y'all are doing...
hi, i've returned to look at how the site's going after a couple of years! is it dead? there seems to be some activity here but also the site isn't being worked on, wonder how y'all are doing here. seems to be some performance issues here as well, is it slow just for me?
i originally left because there wasn't any activities in the topics i was interested in, but i'll browse around, see what everyone's talking about
21 votes -
KeenType 1.0.0
6 votes -
Megacities: Reality or fiction? Architecture in sci-fi.
4 votes -
Five days in class with ChatGPT
13 votes -
Oscar nominations 2023: The full list
5 votes -
Invincible | Season 2 teaser
9 votes -
Fortnightly Programming Q&A Thread
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.
Don't forget to format your code using the triple backticks or tildes:
Here is my schema: ```sql CREATE TABLE article_to_warehouse ( article_id INTEGER , warehouse_id INTEGER ) ; ``` How do I add a `UNIQUE` constraint?
2 votes -
Luiz Inácio Lula da Silva accuses Jair Bolsonaro of genocide against Yanomami in Brazilian Amazon
6 votes -
Insulation only provides short-term reduction in household gas consumption
7 votes -
What did you do this week (and weekend)?
As part of a weekly series, these topics are a place for users to casually discuss the things they did — or didn't do — during their week. Did you accomplish any goals? Suffer a failure? Do...
As part of a weekly series, these topics are a place for users to casually discuss the things they did — or didn't do — during their week. Did you accomplish any goals? Suffer a failure? Do nothing at all? Tell us about it!
5 votes -
The Presidents of the United States of America - Lump (Live on 2 Meter Sessions, 1996)
4 votes -
Unpopular opinion: Wikipedia's old look was much better than the new one
I say that after throwing some caution to air because I understand that every new thing has some initial resistance or pushback due to the "past comfort zone" effect. But having said that, I feel...
I say that after throwing some caution to air because I understand that every new thing has some initial resistance or pushback due to the "past comfort zone" effect.
But having said that, I feel the aesthetics of the old site was much better than the new one. But then again, I'm from the old-school world who also prefers old reddit to the new one in browsing experience, so my opinion could be biased! But even considering the modern web design, don't you think the black icons on the top right have a somewhat odd look? And the "21 languages" feels a bit verbose, the I10N icon already conveys what that dropdown is about? And finally, that scrollable sidebar on the left looks a tad ugly?
I just hope this is just a beta stage or something of Wikipedia's new version and a better one will evolve soon! But that's just one humble unpopular opinion, me thinks!
15 votes -
Denmark's ode to the humble squash helped propel the Nordic nation to victory in prestigious culinary competition Bocuse d'Or
4 votes -
Spotify said Monday that it will cut 6% of its workforce to reduce costs – CEO Daniel Ek took full responsibility for the job cuts, which he called “difficult but necessary”
8 votes -
Factorio will increase in price next week "to account for the level of inflation"
14 votes -
Adult Swim severs ties with ‘Rick And Morty’ co-creator Justin Roiland after domestic violence charges; voice roles will be recast
15 votes -
Brazil and Argentina to start preparations for a common currency
10 votes -
HD TVs ruined sitcoms
7 votes -
Pickup trucks: From workhorse to joyride
6 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
6 votes -
SteamWorld Build | Announcement trailer
3 votes -
Encouraging the young to die - The most toxic site I've ever seen
17 votes -
What are the most personally influential/impactful/useful Tildes posts you can remember?
Inspired by this post by @kfwyre. For me, there's many; I don't want to influence responses but I will shout out the monthly mental health threads. Those really got me to (over)share feelings and...
Inspired by this post by @kfwyre.
For me, there's many; I don't want to influence responses but I will shout out the monthly mental health threads. Those really got me to (over)share feelings and find some reason. I got through dark times thanks to you all, Tildoes.
10 votes -
The world’s farms are hooked on phosphorus. It’s a problem.
10 votes -
Teardown Frame Teardown
5 votes -
Oscar nominations are announced tomorrow, what would be a nomination that makes you happy?
For me, as much as I didn’t care for the film, This is a Life from EEAAO getting into original song would make me incredibly happy. It’s such a good song and indie songs like it rarely get...
For me, as much as I didn’t care for the film, This is a Life from EEAAO getting into original song would make me incredibly happy. It’s such a good song and indie songs like it rarely get nominated.
Another one would be Glass Onion getting into Supporting Actress and Costumes.
5 votes -
Who predicted 2022?
2 votes -
What is the present state of NPM Packaging System?
As I recall, about 2-3 years ago I had experimented with what is called the npm install xyz through some tutorials, etc. The objective was to improve my tooling or toolchain at least with things...
As I recall, about 2-3 years ago I had experimented with what is called the
npm install xyz
through some tutorials, etc. The objective was to improve my tooling or toolchain at least with things like css/js minification, etc. along with Bootstrap customization. The idea was to then move on to other newer learnings like react, etc.But I was soon disgruntled by the whole process! Neither bootstrap turned out to be an easy horse to tame, and NPM was like this astronomical universe of packages that keep on downloading into your folders! I soon lost taste of the whole thing and kept using my tried and tested stack of PHP scripts and using stock Bootstrap through CDNs.
But today, I want to give it another shot. Has NPM improved than earlier days? What is the best way to go about building a toolchain using it? Are there any useful guides that make the whole process easier to digest?
6 votes -
What have you been eating, drinking, and cooking?
What food and drinks have you been enjoying (or not enjoying) recently? Have you cooked or created anything interesting? Tell us about it!
4 votes -
Why the ground under Colorado solar panels is ripe for growing food
7 votes -
‘Fair Play,’ starring Alden Ehrenreich and Phoebe Dynevor, sells to Netflix for $20 million in huge Sundance deal
1 vote -
Linoleum | Official trailer
4 votes -
Andy’s Pop Life - Revisiting Steve Schapiro’s historic 1965 visit to Andy Warhol’s Factory and his travels across the US with a cadre of Superstars
2 votes -
Navigating the ethics of ancient human DNA research
1 vote -
Berlin Film Festival unveils competition lineup, Sean Penn’s Ukraine doc to screen out of competition
3 votes -
Excessive outbreaks of seaweed are clogging up our waters – now the algae is being harvested alongside farmed crops to create ingredients for cosmetics and food products
5 votes -
Weekly coronavirus-related chat, questions, and minor updates - week of January 23
This thread is posted weekly, and is intended as a place for more-casual discussion of the coronavirus and questions/updates that may not warrant their own dedicated topics. Tell us about what the...
This thread is posted weekly, and is intended as a place for more-casual discussion of the coronavirus and questions/updates that may not warrant their own dedicated topics. Tell us about what the situation is like where you live!
3 votes -
How donkeys changed the course of human history
5 votes -
Gaytopia: Fed up with the horrific discrimination and violence against his community, Don Jackson had a plan to turn a remote spot in Northern California into the world's first gay-majority county
7 votes -
Razzies: ‘Blonde’ leads with eight nominations, including Worst Picture and Worst Director
4 votes -
US airline accidentally exposes ‘No Fly List’ on unsecured server
17 votes -
Getting logged out when I close out Firefox mobile on iOS
I do 99% of my browsing on Firefox mobile on iOS. Lately (possibly since I update to iOS 16.02), I’ve been logged out when I fully close out the app (swiping up).
3 votes -
Meet the Appalachian apple hunter who rescued 1,000 ‘lost’ varieties
10 votes -
Bolsonaro supporters invade Brazil's Congress, Supreme Court in Brasilia
30 votes -
China’s global mega-projects are falling apart
8 votes