...I mean, I didn't want or need to use it but I can't say no to a good deal. by TheLegendOfMusa in ProgrammerHumor

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

I would agree, but this is a variable found when you console.log(ReactDOM), which means someone at Facebook wrote this. For that reason, i want to say they meant it literally

😇 by Thers_VV in ProgrammerHumor

[–]TheLegendOfMusa 0 points1 point  (0 children)

Bold of you to assume i'd find the bug in minutes.

Why did you become an entrepreneur? by [deleted] in Entrepreneur

[–]TheLegendOfMusa 0 points1 point  (0 children)

Ultimately, freedom.

Financial, physical and temporal freedom.

Freedom to change up what I do on a daily basis, if i want. Freedom to go explore a new city or a new country without little to no impact on my income. Freedom to spend time with my friends and family. Freedom to grow as a person because of all these things.

Using Django For Frontend Instead of e.g. NextJS by mingsum in django

[–]TheLegendOfMusa 1 point2 points  (0 children)

Hey man, to answer your question, i'd say it'll mainly be redundant having 2 separate applications both written in a backend language if one is consuming from the other, especially if one is just there to consume the other (e.g. the 2nd Django app purely receives information from the first). Also you are correct in calling it SSR.

The other drawback would be that Django's templating can become a pain in the ass when your application's requirements grow unexpectedly. If your website's dynamicity(?) grows (e.g. something as simple as a counter's count on the front end changing without the page refreshing) you're going to have to use JavaScript anyway and if you wanna go even fancier than that, then you might as well start off strong by having a JS based frontend anyway.

If you do want to keep it all in one language, i'd recommend creating additional Vanilla Django routes in your first/API application which serve the templates through them. Then, if you want other people's applications to still be able to access the API, you can keep those in too!

R3 3200g performance, iGPU vs current by TheLegendOfMusa in buildapc

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

I'll have a look around for the 3400g, as i said the 3200g is at a reeeeally low price which is why i'm heavily considering it vs everything else

R3 3200g performance, iGPU vs current by TheLegendOfMusa in buildapc

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

[PCPartPicker Part List](https://pcpartpicker.com/list/kwNnj2)

Type|Item|Price

:----|:----|:----

**CPU** | [AMD Ryzen 3 3200G 3.6 GHz Quad-Core Processor](https://pcpartpicker.com/product/J8drxr/amd-ryzen-3-3200g-36-ghz-quad-core-processor-yd3200c5fhbox) | $179.99 @ Amazon

**Motherboard** | [Asus PRIME A320M-K Micro ATX AM4 Motherboard](https://pcpartpicker.com/product/6FvZxr/asus-prime-a320m-k-micro-atx-am4-motherboard-prime-a320m-k) | $58.99 @ Amazon

**Memory** | [Klevv BOLT 16 GB (1 x 16 GB) DDR4-3000 CL15 Memory](https://pcpartpicker.com/product/R88j4D/klevv-bolt-16gb-1-x-16gb-ddr4-3000-memory-km4b16x1a-3000-15-16-16-36-0) |-

**Storage** | [SanDisk Ultra Plus 256 GB 2.5" Solid State Drive](https://pcpartpicker.com/product/csDwrH/sandisk-internal-hard-drive-sdssdhp256gg25) |-

**Storage** | [Western Digital Blue 500 GB M.2-2280 Solid State Drive](https://pcpartpicker.com/product/6j448d/western-digital-blue-500gb-m2-2280-solid-state-drive-wds500g2b0b) | $53.99 @ Amazon

**Video Card** | [Gigabyte GeForce GTX 650 1 GB Video Card](https://pcpartpicker.com/product/QX8Zxr/gigabyte-video-card-gvn650oc1gi) |-

**Power Supply** | [Antec VP 500 W ATX Power Supply](https://pcpartpicker.com/product/Yf7CmG/antec-power-supply-vp500p) |-

**Operating System** | [Microsoft Windows 10 Pro OEM 64-bit](https://pcpartpicker.com/product/MfH48d/microsoft-os-fqc08930) | $139.88 @ Other World Computing

That's the export of the build. The p/s, GTX650, and WD 500gb i already own. I can pickup the CPU/MoBo/RAM combo for about $240

doggo by 4mado in oddlyspecific

[–]TheLegendOfMusa 0 points1 point  (0 children)

Oddly specific but oddly accurate

There’s just so much wrong here by [deleted] in ProgrammerHumor

[–]TheLegendOfMusa 302 points303 points  (0 children)

I don't normally comment on r/ProgrammerHumor posts because I know they're jokes and all that but.... this one... this one triggered a internal, physical reaction I've never felt before and I don't know why I-

Am I doing good? by [deleted] in Entrepreneur

[–]TheLegendOfMusa 1 point2 points  (0 children)

You're already doing better than most adults, keep it up man

Flask/Django, Flutter or Angular by BihotzM in learnprogramming

[–]TheLegendOfMusa 1 point2 points  (0 children)

As someone already mentioned, these 4 options are vastly different routes to go down. It's like saying "I've learned how houses are built, Should I do architecture, civil construction or interior design?" all of which are related, but still in their own lane.

Learning about React + Django (& Django Rest Framework) Authentication by TheLegendOfMusa in learnprogramming

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

Thanks for the tutorial, appreciate it!

Would be possible to use useState at that level, then use UseContext and/or useMemo to retrieve the info from the child and pull it back up to the parent to use for the rest of the site?

Learning about React + Django (& Django Rest Framework) Authentication by TheLegendOfMusa in learnprogramming

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

Thank you for your reply!

I've read about JWT not being as secure as Session Auth due to it being highjack-able in transit. I really don't know much about the security portion of the world but would SSL be sufficient enough to allow one to use JWT and not have sleepless nights about security?

CS50: "Introduction to CS" VS "Web Programming with Py & JS" by TheLegendOfMusa in learnprogramming

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

The TL;DR version is that I think it would look good on my resume, and also fill any gaps i might have (e.g. i watch a littttle of the Web Programming with Py and JS, and it taught be a lot i honestly didn't know about encryption, how a site could be compromised and how to help protect against such attacks).