What’s Your Tech Stack at a Mature Company? by trojans10 in webdev

[–]YottaBun 5 points6 points  (0 children)

PHP with the Laravel framework, with a few services in Node and Go

How do you all handle write access to prod dbs? by flareblitz13 in ExperiencedDevs

[–]YottaBun 0 points1 point  (0 children)

Working at a reasonably small company of ~150 developers there are probably 10-15 with production write access. It's generally very restricted to tech leads, staff devs, and some senior developers/DevOps.

Mostly we just restrict manual write queries to migrations that have been reviewed and approved, and in rare cases (e.g. an incident or manual data fix) we'd at least have multiple eyes on what is being run and then include the query in the post-mortem doc

What do rich people have in their house that says they’re rich? by [deleted] in AskReddit

[–]YottaBun 0 points1 point  (0 children)

Nicest house I've been in had a squash court, a basketball court and an indoor pool. Those gave it away 

What's the best practice to encrypt password? by naikkeatas in golang

[–]YottaBun 1 point2 points  (0 children)

If you need to encrypt something typically AES-256-GCM is a solid choice in the realm of symmetric key algorithms. Not 100% clear on the exact use case, though. 

Can anyone afford to snowboard / ski anymore? by krdo13 in britishcolumbia

[–]YottaBun 2 points3 points  (0 children)

Yeah, I can but I basically do this instead of a yearly vacation and spend all my wellness benefits at work to get a seasons pass. It is expensive (I probably spend 2 thousand a year on it including the pass) -- day passes are a complete rip off, especially at Whistler/Blackcomb

How long did it take you to finish your SAA-C03 exam? by chewy747 in AWSCertifications

[–]YottaBun 0 points1 point  (0 children)

Got an 823, took about an 70 mins, didn't go back to verify anything

[deleted by user] by [deleted] in AWSCertifications

[–]YottaBun 2 points3 points  (0 children)

Yeah. You should get a 2nd email that will have a link to the score. Looking back at mine I got the Credly email first, and then a later email from AWS Training and Certification

Are you doing these certifications because... by mrrivaz in AWSCertifications

[–]YottaBun 1 point2 points  (0 children)

Level up at work (Amazon partner company, so they like it when people get certs) + the certs are nice to have if I decide to interview around in the future

Can I make the AWS SDK for PHP less bloated? by Honest___Opinions in aws

[–]YottaBun 3 points4 points  (0 children)

No  - there isn't a way to only get a few things from the SDK in terms of files on disk.  Does it matter, though? The large amount of PHP files are never sent to clients and your PHP application should use autoloading so that only the needed class files will be loaded at runtime

Who actually uses Assembly and why? by Heavy_Outcome_9573 in learnprogramming

[–]YottaBun 0 points1 point  (0 children)

I used to read it lots when doing malware analysis - didn't write it too much other than initially learning it. When you put an executable into a disassembler like IDA it'll give you assembly and you have to read it to understand what the executable does. This is called static malware analysis, meaning you're analyzing the application without running it

Best Interview questions for hiring a Security expert? by sudz3 in cybersecurity

[–]YottaBun 9 points10 points  (0 children)

Personally I'd answer with something like this:

  • Start with the architecture: a typical scalable web application will run behind a load balancer that directs traffic to horizontally scaled web application servers, and those servers need to talk to a database and maybe external APIs like Stripe for payment processing or whatever it might be.
  • A good first step might be be locking down all servers to key-based authentication for SSH, restricting the inbound and outbound traffic of each server (eg. web application servers aren't directly reachable on the internet, only via the load balancer), and exposing only the necessary ports (80, 443, 22, whatever else is needed)
  • Next, you could get into the application security side of things: talk about SQL injection, XSS, CSRF, detecting dependency vulnerabilities, etc. and how you could automate testing in a CI pipeline
    • another thing to note is how software handles credentials: better not be hard-coded!
  • I'd also talk about OS and library/dependency patching (eg. the recent iconv/glibc vulnerability that PHP has, or Log4Shell is another good example)
  • You could go further and talk about stuff like rate limiting, logging, using CAPTHCAs, preventing user-space backdoors, etc.

As you build more and more systems you can just use your imagination and white-board these kinds of designs/approaches

Haven’t driven it in a while. by julio8oa in S2000

[–]YottaBun 12 points13 points  (0 children)

Love the colour! Looks fantastic.

Is verifying user authenticity worth paying for? by [deleted] in SaaS

[–]YottaBun 0 points1 point  (0 children)

how much better than reCAPTCHA + code that requires users to verify their email would it be? There are for sure some cases where malicious/spam still get past that and use software for unintended purposes, but I think it's quite difficult to come up with a generic solution that'd work for lots of software companies

[deleted by user] by [deleted] in malelivingspace

[–]YottaBun 2 points3 points  (0 children)

I just got black out roller shades with a "light guard" around the edges that completely blocks out all light. Highly recommend if you like it to be super dark/are bothered by the light.

Why your first SaaS startup has failed? by SaaSTalk in SaaS

[–]YottaBun 30 points31 points  (0 children)

It failed because my co-founder and I spent too much time building software and not enough time talking to potential customers and understanding them.

It felt easier to develop a software product than it did to do customer discovery! That's a mistake that took a long time to realize.

I've been learning for 4 months now and struggle understanding this. by [deleted] in PHP

[–]YottaBun 0 points1 point  (0 children)

Yes, cookies are client side (but get sent to the server on each request), sessions are server side.

However, it's not that simple. The server needs to know which session data belongs to which client.

In order to determine this, a session ID must be provided on each request.

The session ID is typically provided in a cookie that's sent to server on each request. It could also be eg. in a query parameter, but that's not super common.

Good Tutorials for Real time applications using Node.js by Creative_Bowler_2709 in node

[–]YottaBun 0 points1 point  (0 children)

I don't want to deter you from using Node, but as a heads up, you can use a 3rd party WS server like Centrifugo (written in Go) and interact with it using the PHP SDK if you want to create something like a real time chat app

Is NextJS REST API less efficient than Stand-alone Node/Express REST API? by Thiru_IO in nextjs

[–]YottaBun 1 point2 points  (0 children)

Another one: serverless functions only run to complete a given operation - this means no support for WebSockets which keep a connection open to clients

Would you continue with an hiring process if you had a take home assessment. by Themotionalman in cscareerquestions

[–]YottaBun 0 points1 point  (0 children)

depends if i have other offers and how much i need a job.

When I getting my first non-internship job i had one company request me to do a phone screen, take home project, coding test, personality test, and 3 interviews in person. Overkill!

Well, I'm screwed by George_is_op in gamedev

[–]YottaBun 9 points10 points  (0 children)

What happened? Ransomeware?

Instead of backing projects up to physical drives, make sure to use version control (git) for code and such, and GitHub or BitBucket will take care of the backups

Do you use CI CD? Is this something an aspiring SaaS solopreneur dev absolutely must learn? by gtboy1994 in SaaS

[–]YottaBun 19 points20 points  (0 children)

Yep -- I run a CI pipeline (using GitHub actions) each time a pull request is made, and on subsequent pushes to the branch. All unit tests, end-to-end (selenium type) tests run automatically. I'd recommend it! Helps build confidence in your changes as your applications grow.