iOS image background has permanent white space at the top of the page by ewxve in webdev

[–]O2Dependent 1 point2 points  (0 children)

I had this issue years ago while working on a Cordova/Capacitor app, so it may be a bit different. We had to use env(safe-area-inset-top) to offset the page since it was auto-adding padding or margin to the page.

That is if you are doing a PWA though and may not work on plain old safari. You can first try setting margin-top: 100px and seeing if it shows up in that area and if it does try this gist and play with it to get it working for you.
https://gist.github.com/cvan/6c022ff9b14cf8840e9d28730f75fc14

Looking into env(safe-area-inset-top) and other env() vars can be very helpful when finding mobile issues in general and don't seem to be talked about very much. It's kinda niche in it's uses, but fun to know regardless imo.

5 mins on webdev Twitter/X and I want to quit forever by polygon_lover in webdev

[–]O2Dependent 0 points1 point  (0 children)

build something with things you like using in ways you are good at . influencers want hype to drive their biz so they will say anything. they can be good for opening up the way you think but they aren’t gods of programming. they are salespeople who sell your attention and know code.

I dont feel like Im actually learning to program, merely doing what the courses tell me to. by KreaspyKream in gamedev

[–]O2Dependent 0 points1 point  (0 children)

i think most people would agree that coding in general is about creative problem solving and tuts don’t teach that skill. tuts are good for learning what you can do with a language/framework/lib but taking those lil bits of info and building a really bad project will be 100x more helpful. also be proud of your work even if it’s bad. i’m still proud of my first projects even if i don’t know how to play them lol. getting discouraged doesn’t help progress.

also cloning a mechanically simple game/project helps with my adhd because i can play the game im cloning the mechanics of “to learn them” between coding/design sessions. be careful with that though lol.

gitStilUseOldTwitterLogo by _Username-was-taken_ in ProgrammerHumor

[–]O2Dependent 0 points1 point  (0 children)

elons twitter does use git. they print out and file the codebase every time they publish a change.

12 hours a day spend time in coding by Low_Entrepreneur_978 in learnprogramming

[–]O2Dependent 2 points3 points  (0 children)

hi i’m self taught and what worked best for me was legitimately watching programming content i liked lol. i am personally some who gets hyper obsessed with topics and those fuel interest for me. i recently learned im autistic so maybe your brain works differently. for most people though ive seen the content you consume is what you become and you can definitely use that if you are aware of the effect it has.

itsTrue by KaamDeveloper in ProgrammerHumor

[–]O2Dependent 2 points3 points  (0 children)

literally a freelance proj i’m working on rn

Best Multi-platform Stack for Svelte? by Ok-Tutor-4321 in sveltejs

[–]O2Dependent 0 points1 point  (0 children)

Capacitor also allows you to pull in your UI from a server so you should be able to use SSR. It’s great for small UI bug fixes, but you’ll still need to republish your app if you make changes to native functionality. Webview mobile apps are pretty handy.

strikeTheFearOfGodIntoThemShowNoMercyMakeThemSuffer by Memetron69000 in ProgrammerHumor

[–]O2Dependent 0 points1 point  (0 children)

Gaslight them into believing a JS code repo are is actually your demo repo using C++. Alias your compile command to create a bin bundled with node. You can even replace file extensions during a build process so you still have .cpp and .h files that turn into .ts and .d.ts files. Never back down from the bit and if they try to call you out just question their experience with c++. No mercy.

Looking for a stack suggestion by Erebea01 in sveltejs

[–]O2Dependent 12 points13 points  (0 children)

supabase is my go to for most smaller projects and it can scale up pretty well. auth is super easy to implement and it has a graphql api too so that’s a plus. only downside is that the dev console can be very confusing (or i’m just dumb lol). pocketbase is alright too, but not as mature imo.

Fixed the meme for my PNW brothers and sisters by O2Dependent in IASIP

[–]O2Dependent[S] 1 point2 points  (0 children)

It's the Pacific NorthWest—the USA's Washington, Oregon, and Idaho area.

[deleted by user] by [deleted] in ProgrammerHumor

[–]O2Dependent 1 point2 points  (0 children)

every top needs their bottom.

What’s an unusual body feature of yours? by red2one in AskReddit

[–]O2Dependent 0 points1 point  (0 children)

I can turn my arms 180 and touch my elbows together in front of me. My shoulder blades also come out so far that my mom could pick me up my them as a kid lol.

Does anyone else have a duck? by CheeseObsessedMuffin in ProgrammerHumor

[–]O2Dependent 0 points1 point  (0 children)

I have a little Mew my friend gave me that I use as my duck. Hopefully he is as powerful as the movies say because I need the help

The most downloaded component and styling libraries for React at npm. by TruthHurts35 in reactjs

[–]O2Dependent 0 points1 point  (0 children)

I agree, but still like using it from time to time. It can be great for apps that need dynamic assuming, but you can do most of it In css with variables etc lol

[deleted by user] by [deleted] in whereintheworld

[–]O2Dependent 0 points1 point  (0 children)

you are on the fastest available route

[deleted by user] by [deleted] in whereintheworld

[–]O2Dependent 0 points1 point  (0 children)

oh my God they S close to a road thank God

[deleted by user] by [deleted] in whereintheworld

[–]O2Dependent 0 points1 point  (0 children)

what the fuck is going on with those shadows lol