[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: rails.png (390 KB, 1698x1722)
390 KB
390 KB PNG
Is Ruby on Rails still a good option?

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS

>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests

>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related

>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue

/wdg/ may or may not welcome app development discussion. You can post and see what the response is.
Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.

We have our own website: https://wdg-one.github.io

Submit your project progress updates using this format in your posts, the scraper will pick it up:

:: my-project-title ::
dev:: anon
tools:: PHP, MySQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet

Previous: >>106687188
>>
>>106741639
>Is Ruby on Rails still a good option?
No and it hasn't been for like 15 years.
>>
I'm building a business with Rails and I think it's pretty great.
>>
function Mediation(){
this.value = arguments[0]
this.pageTrail = arguments[1] ?? 'species';
if (typeof this.value == 'object')
this.value = 'value' in this.value ? this.value.value : this.value;
this.constructor.stack.push(this)
}

Exception.accuse = function(mode){var sock = mode.stack.pop()
return sock ? sock.value : null
}


Maid code anticipates mistakes in your execution and prepares for their eventuality.
>>
File: 1752523352512351.png (217 KB, 716x659)
217 KB
217 KB PNG
>call chatgpt a jeet and tell it to think hard
>what did you mean by calling me a jeet
there's an actual jeet behind the "thinking longer" feature isn't there
>>
File: 1uwiheiuwaehniwuaeh.gif (54 KB, 516x351)
54 KB
54 KB GIF
:: kothakotha ::
dev:: blessbrah
tools:: Spring, Angular, MySQL
link:: https://www.kothakotha.com
repo::
progress:: Am still a Junior in the web dev world, but I am enjoying building the website and learning along the way. Someone mentioned about hashing sessions which makes total sense, so I spent the whole day (mostly figuring out how to do a database migration) rewriting the like system to hash sessions. So now we have salted + hashed IPs (since day 1) and hashed sessions. The database is secure in that regard. Now, I think I have everything that I wanted to implement for the phase 1 of the forum. On to the next feature..
>>
>>106742383
u need to animate that otherwise it's hard to follow what's happening
>>
File: G2BUA8UXoAA8hT3.jpg (77 KB, 1024x768)
77 KB
77 KB JPG
>>106741639
vercel bros I can't. Well desu all tech CEOs have probably had a meeting with Netanyahu.
>>
File: backwards-collapse.gif (289 KB, 516x351)
289 KB
289 KB GIF
>>106742431
something like this?
>>
>>106741639
Don't be fooled
Dhh being based doesnt mean rails is good now. Its still dogshit.

>>106742786
When you get an invite to israel and you dont go kiss the wall they whack you. Ask charlie kirk.
>>
File: backwards-collapse2.gif (446 KB, 516x351)
446 KB
446 KB GIF
>>106742431
>>106743033
even better with relative scroll
>>
File: 1743779575570518.png (785 KB, 716x675)
785 KB
785 KB PNG
>>106741639
They are native Brits.
>>
DHH lives in Malibu, Florida, USA.

He moved from Denmark.

So all his anti immigration stuff is fake and gay.
>>
>>106741639
>Is Ruby on Rails still a good option?
It is a comfy language, probably my favorite scripting language.

That said, it's slow compared to basically every mainstream alternative, it's more likely to not have some library you need by virtue of it not being popular anymore, Ruby version upgrades tend to introduce breaking changes, it's an interpreted language, and some of its language syntax is somewhat niggerlicious.
>>
>cloudflare images is free for most small websites
how true is this?
>>
>>106744712
don't ever sign-up for services which pricing you do not understand
>>
>>106744712
It's free until cloudflare decides that it isn't and holds your domain hostage until you pay up. They have a history of doing things like that. Just use a VPS (or two or three) and diy. It isn't very hard and you will learn a lot of useful things.
>>
>>106745046
i already have a website, this is for cdn and maybe hosting for images
>>
>>106741639
Personally I support a hard fork of Rails so that DHH no longer controls it
>>
Elixir + Phoenix is a good replacement for Ruby on Rails today
>>
>>106745070
learn to read
https://developers.cloudflare.com/images/pricing/
>Storage in Images is available only with an Images Paid plan. You can purchase storage in increments of $5 for every 100,000 images stored per month.
>>
>>106745375
it's the other way around.
phoenix did some nice experiments but never gained a mature ecosystem like rails.
rails 8 then incorporated most nice things from phoenix. you should switch to rails.
>>
>>106743437
>Dhh being based doesnt mean rails is good now
Dhh being based also means that rails is gonna have less and less funding in the future
The sidekiq guy already pulled out, I am a rails dev and my company also said they're not gonna sponsor conventions anymore
>>
File: bump.webm (474 KB, 1100x1100)
474 KB
474 KB WEBM
>>
>>106745746
enjoying the looks a lot, except for the circles with text visibility issues
>>
>>106745766
right, I'll add a stroke text in black or remove the text.
>>
File: balls.png (24 KB, 314x149)
24 KB
24 KB PNG
>>106745772
>>
File: metriks.webm (453 KB, 1100x1100)
453 KB
453 KB WEBM
also this
>>
>>106741639
>Is Ruby on Rails still a good option?
it literally never was.
>>
>>106745802
if a manager type sees this he'll be blown away by the way your UI gives the impression of a million things happening at once
this gave me an idea, perhaps an idea for a similar project, live performance statistics from streaming servers or just web/program servers in gwneral
>>
promo[cçv](?:[õo]es|e?r?[ãáa]?o?)

this filter captures promoções and promocoes

promo[cçv](?:e?r?[ãáa]?o?|[õo]es)

this filter fail to do the same

why is that?
>>
auth0 pricing is jewish as fuck
do I really have to write my own authorization? I don't want to store passwords and shit.
>>
>>106747041
regex alternation (|) is order-sensitive. the engine first tries to match e?r?[ãáa]?o?. This can consume the "o" that should belong to "ções" or "coes", leaving nothing for the [õo]es branch to work with. By the time it backtracks, the match is already considered failed in that path
>>
>>106747074
>do I really have to write my own authorization? I don't want to store passwords and shit.
You should do that and it's not even hard. Hash the password with the latest hashing algo (argon2id) and encrypt the email addresses using AES-128 or AES-256. You can use OAuth (open authorization - https://en.wikipedia.org/wiki/OAuth ) and have people login with Google etc. if you don't want to store passwords and email addresses, but it's better to actually control all of that yourself in my opinion.
>>
>>106747074
Just use some other oauth2 provider like jewgle, applel, fagbook or shithub.
there. you're welcome. If it weren't for how shit sending emails was, I'd just use my own honestly. If you're so abjectly against handling auth outside of flows, keycloak exists.
>>
>>106748483
handling hashes sucks though. argon variants are both memory and cpu hard.
>encrypt emails
why?
>>
>>106748539
>handling hashes sucks though. argon variants are both memory and cpu hard.
You only need to hash it at signup and login. Give them a session token after they have logged in that you can hash with e.g. SHA-256.

>why?
To make it harder for hackers to get their email if there is a leak.
>>
>>106748519
supabase?
>>
Do any of you take antidepressants, and if so, does it affect your programming productivity?

I tried reducing my antidepressant dose recently but I'm less productive now. I might have to go back to my previous higher dose.
>>
>>106749125
I use to, but then the medical establishment got too pushy and jewish trying to push me to do talk therapy bullshit.
they work, you won't be more productive off them. depression makes you weaker, not stronger. hopefully the one they have you on works at the dose you're taking.
>>
>>106749143
>>106749125
you fags don't want to break free?
t. schizo, I want to get off the forever meds
>>
>>106749143
I see. I'm on Prozac. I want to get off it, but every time I try, my programming productivity suffers. It's frustrating.
>>
what went on with the ruby coup?
>>
>>106749154
>you fags don't want to break free?
duh? we all do, but sometimes you have shit that can only be mitigated by drugs. accepting reality is a fact of life. not everyone is perfect.
either way, I'm not taking them now because I refuse to waste my time talking to some roastie about problems no one (other than myself, maybe) can solve.
>>106749155
why? if the drugs work, there is no reason to stop. idfgi.
>>
>>106749160
does anyone care desu? I haven't touched ruby in forever. rails seems like a massive meme.
>>
>>106749173
>accepting reality is a fact of life
I don't deviate from that, but reality might be that I can lower my dose to 0 or near 0 if I do so carefully.
This shit can give you diabetes, heart issues and worse. As of right now I have to work out to not die in my sleep, literally.
>>
>>106742314
you're scarin' me
>>
>>106749154
I absolutely want to break free but when I reduce my Prozac I become much less productive. I become lazier, more tired, less motivated.

>>106749173
>duh? we all do, but sometimes you have shit that can only be mitigated by drugs. accepting reality is a fact of life. not everyone is perfect.
That might be true, but how would you know if drugs are the only way to solve your problems? I dislike the fact that doctors treat pills as the only option, or at least the only sensible option. I wish I had tried making different changes in my life before I tried pills.
>why? if the drugs work, there is no reason to stop. idfgi.
I don't feel like myself on Prozac to be honest. And I worry what it's doing to my brain and body.

>>106749204
>This shit can give you diabetes, heart issues and worse. As of right now I have to work out to not die in my sleep, literally.
I assume this is an antipsychotic since you said "t. schizo". I've met people who have been on clozapine which has significant side effects - I think I should be grateful that I've never been on clozapine. One guy said how he would wake up with saliva all over his mouth and pillow, a known effect of clozapine.
>>
>>106749261
yes I meant anti-psychotics, but since both operate on the brain or whatever I advise you to review the long term effects of your medicine
>>
its pretty based for making a quick reddit/twitter clone the fucking docs/tutorials from even 15yrs ago were basically how to clone those current slop with ease yet we still live in a monoculture of websites
>>
>>106749361
>yet we still live in a monoculture of websites
that is sad indeed
>>
>>106749322
True. I wish I was off my meds. Maybe I will keep slowly reducing the dose to reduce withdrawal effects.
>>
File: 1732506820620678.png (240 KB, 1478x1039)
240 KB
240 KB PNG
>>106741639
chatgpt has this query string
https://chatgpt.com/?q=hey

don't think the feature is available in aistudio, so i replicated it.
WARNING: ear rape when i quickscope some elements
https://files.catbox.moe/pkhqtl.mp4
https://github.com/wormpilled/Local_Monkey
>>
If I rent a VPS to run some websites I made (to show employers), how long will it take me to setup the VPS with all the necessary security stuff? Like fail2ban, stuff like that?
>>
>>106749125
no i am not a jewish slave no
>>
>>106750888
>how long will it take me to setup the VPS with all the necessary security stuff?
It's easy. Here is a good playlist with everything you need to know. Follow along with it:
https://www.youtube.com/playlist?list=PLLnpHn493BHHAxTeLNUZEDLYc8uUwqGXa

You don't really need fail2ban btw, if you disable the password login and only login using SSH, but it's nice to have.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.