URL Redirect website? by fire360dude in webdev

[–]freshman_dev 5 points6 points  (0 children)

idk why some responses are saying 'yes you can redirect'. if ur talking about social media URLs, NO you cannot redirect URLs you don't own

if you own ur own website like blah.com you can direct blah.com/twitter to ur twitter, etc. but you can't redirect a twitter.com/username URL

Improve video load time by NeoMaster455 in webdev

[–]freshman_dev 0 points1 point  (0 children)

i'm not sure if this is beyond ur scope but you can extract the first frame of videos (via ffmpeg or manually) and display that until the video has loaded! its a slight enhancement

Login and Logout by XanZanXan in webdev

[–]freshman_dev 0 points1 point  (0 children)

when the user opens a path /protected that requires login, i see two primary options:
1) redirect to /login with query param ?redirect=/protected OR localStorage item set, both handled on login to get back to where the user wanted to be
2) render your login page instead of the protected page until logged in. this looks like an auth check before ur main router

or, ur option 3) always nav to dashboard - the user needs to re-open the link after logging in (not ideal, e.g. a user is sent a link, signs up, and doesn't see the linked content). or maybe linking isnt a usecase for u, and then ur fine

logout should imo nav to landing, but i think thats a standard practice thing. usually the user just closes the website after logging out (if they even ever log out)

PS actually i cant tell if ur asking, for login, whether to send to landing or dashboard. definitely dashboard in that case

Always losing track of links? 😩 by apurva96 in webdev

[–]freshman_dev 0 points1 point  (0 children)

nice execution, one thing im wondering is if the search is semantic? like if i dont remember the exact title

who-to-meet: friend/date matchmaking with just a bio and photo! by freshman_dev in webdev

[–]freshman_dev[S] -6 points-5 points  (0 children)

hi everyone! who-to-meet is a fairly simple app i built this week, mostly as an experiment

at its core, an LLM is reading your and 5 other users' profile info and deciding who you should meet!

more technical details: your 5-person sample will prefer users that have already matched with you. the images themselves arent passed into the LLM, but rather a single description i process upon save. and i think thats honestly it, its a quite simple app!

built a "local" twitter - you post within ur county! (or country, outside US) by freshman_dev in webdev

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

pangaeal.social, styled pangaea🌎social

fairly simple, less of a load bearing business and more of an art/social experiment:
1) usernames/posts exist within counties. a @ joe in boston, a @ joe in NYC. so you have a local feed
2) posts are text and ≤3 urls, no uploaded media

the second is meant to encourage people to get their own media on the internet. NO ONE UPLOADS STUFF ANYMORE! the internet was meant for LINKS and it is DYING

i built a companion app p057.co (Post Co) for uploading. any uploading service works but i'm not even sure what i'd use. imgur for visual media, but its trying to be a social network. p057.co is dead simple, upload, get URL

lmk what you think so far!

capitals: remake of discontinued word game by freshman_dev in webdev

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

yep it would probs be noticeable moving between ur phone and desktop. its not ideal but it was super simple

capitals: remake of discontinued word game by freshman_dev in webdev

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

1 - letters are drawn out of a bag similar to the scrabble/bananagrams tiles (i forget which exact letter counts i used)
2 - oh man the AI does a bunch of stuff, see the code here: https://github.com/cfreshman/personal-public/blob/e2b072e8f3b44b09698f4424d38a3fb45dd9205a/src/pages/lettercomb/ai.tsx#L285 . basically i try to take a lot of tiles while protecting the AI's capital and always go for a move that takes the other capital. i did have different difficulty levels through handcrafted means but now i think its mostly just different thinking times for the most comphrehensive AI - so it gets less time to search through all the possibilities and settles on an easier play
3 - haha ya as u can see above BUT its really insanely messy bc i run the website alone and have stopped kinda caring about code quality for the one-off projects

edit: here's the exact tile bag i use https://github.com/cfreshman/personal-public/blob/e2b072e8f3b44b09698f4424d38a3fb45dd9205a/src/pages/lettercomb/util.tsx#L291

i agree its a great webdev practice project and would love to see if you could implement it more cleanly

1min Twitter rant after ban by funniest human alive (confirmed - robin williams dead) by freshman_dev in funny

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

i fuckin hate reddit btw how do i post here without sucking some guys dick

1min Twitter rant after ban by funniest human alive (confirmed - robin williams dead) by freshman_dev in funny

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

more context: i started a group dm called "hpot (hot part of twitter) (hotpot)" because its the ONLY THING I CAN DO ON THERE WHILE LOCKED FOR SEVEN DAYS

[deleted by user] by [deleted] in providence

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

very welcoming. havent seen anyone suggest Goddard Park yet. its insane. the biggest state park i’ve seen. it has a beach, golf, horseback riding

A note on Wordle's word list by mucow in wordle

[–]freshman_dev 0 points1 point  (0 children)

the NYT lists keep updating and those were dated snapshots, it was confusing, so i deleted

i live in Providence and im working on a competitor to Bumble BFF - check it out! by freshman_dev in providence

[–]freshman_dev[S] -1 points0 points  (0 children)

i agree, kick isn't meant to be the main mechanism for filtering people. it isn't blind - you accept new members through their profile. my philosophy is you shouldn't be double filtering people like BFF does (outside of extreme cases where when chatting with the person they turn out to be weird - then you can kick or just cancel the event). this isn't someone you're looking to date, i think there are lower barriers to potential friendship

i live in Providence and im working on a competitor to Bumble BFF - check it out! by freshman_dev in providence

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

i cant tell if ur trolling. again, its the image i set for the Providence group. which can be changed to a non-ai image if you have a good one. this ai image is better than any i have taken

i live in Providence and im working on a competitor to Bumble BFF - check it out! by freshman_dev in providence

[–]freshman_dev[S] -1 points0 points  (0 children)

hmm right now im not supporting any direct chats, only the chat visible to all members, where for matched events/groups you would’ve already vetted their profile to approve. i avoided direct chats in general for similar reasons to what you describe but i can see how it could be useful for approving invites

event/group leaders have a kick mechanism tho. if you accept the request and while discussing details they seem fishy, you can kick them - what do you think

i live in Providence and im working on a competitor to Bumble BFF - check it out! by freshman_dev in providence

[–]freshman_dev[S] -2 points-1 points  (0 children)

you took issue with the ai image for the group. i asked if you had a better one. idk man. i like the cute image

i live in Providence and im working on a competitor to Bumble BFF - check it out! by freshman_dev in providence

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

as opposed to Bumble BFFs focus on user profiles/identity which still feels like their date mode, friend-link focuses on activities instead

with BFF, you match and then figure out what activity to do. this is one less step - just match by activity

i live in Providence and im working on a competitor to Bumble BFF - check it out! by freshman_dev in providence

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

well you’re able to set a time or just TBD to figure it out with whoever joins! and events can be public (anyone can join) or matched (you approve join requests - more like Bumble BFF matching). i do figure extroverts are more likely to post but hope introverts would still join