News for hackers. Stuff that matters.

antonio-ramadas

Re:Removal of Heroku free product plans on Thursday August 25, 2022 @04:37PM (#32599638)
As an occasional hobbyist user of Heroku’s free tier, what other providers do you recommend? Fly.io?

A bit more context if it matters, I use it very lightly, and I’m interested on ease of use and ability to have a DB attached to it (I was using PostgreSQL, but any SQL DB would do it).

I found the same video on the website of the summit: https://nabstreamingsummit.com/videos/2022vegas/

I’m on mobile and there does not seem to exist a direct link. Search for: “Case Study: Serving Netflix Video Traffic at 400Gb/s and Beyond”

Re:Use Touch ID for Sudo on Mac on Tuesday March 02, 2021 @03:29PM (#26320188)
Yes, that is my recommendation as well. It is too late to add that to my comment now, but it is worth mentioning what I said should be a last resource solution.
Re:Use Touch ID for Sudo on Mac on Monday March 01, 2021 @01:47PM (#26306495)
Having the ability to use Touch ID for sudo is handy. I’ve been using it for a while.

Coupled with `expect` I use it to authenticate through SSH (that is the only feasible option I got to connect to hosts I’ve got limited access). I even wrote about it: https://antonio-ramadas.github.io/blog/2020/10/30/ssh-login-...

Here is the gist of it:

  #!/usr/bin/expect
  
  # Connects via SSH to the host passed as argument
  
  set timeout 60
  set server [lindex $argv 0]
  set username <USERNAME>
  set password [exec sudo cat <PATH_TO_YOUR_PASSWORD_FILE>]
  
  spawn ssh $username@$server
  
  expect { 
   "yes/no" { send "yes\r" ; exp_continue }
   "\*?assword" { send "$password\r" }
  }
  
  interact
Edit: Please remove all permissions from the password file with:

  chmod a-rwx <PATH_TO_PASSWORD_FILE>
I’m also assuming you run this script on an environment you control and trust. Be wary of your password.
Re:TailwindCSS v2.0 on Wednesday November 18, 2020 @04:00PM (#25142377)
I don’t want to steal the focus from the achievement, but the landing page fails to open on Safari on iPad Air 2013.
Re:Ask HN: How do you remain disciplined and be your best self? on Tuesday December 04, 2018 @12:02PM (#18601224)
I highly recommend "The Power of Habit" by Charles Duhigg[0]. It gives great advice on how habits can change your life.

[0] - https://en.wikipedia.org/wiki/The_Power_of_Habit

Re:A funny rap song about the pains of pair programming on Monday November 26, 2018 @11:07AM (#18534273)
This made my day. Great work. Keep it up!

A small suggestion: include the lyrics either in the video itself or as subtitles. (I know they are in the description, but this way it would be easier to follow them).

Re:Ask HN: What podcasts do you listen to regularly? on Wednesday September 26, 2018 @05:39AM (#18074295)
Here is the link for the ones interested: Darknet Diaries — https://darknetdiaries.com

I discovered it here on HN. I recommend it.

Would you feel more comfortable if doing a project at home? I read here on HN a nice advice to people that may be uncomfortable in a coding interview. Here it goes: - Ask the company if you can do a project of their choosing instead of coding at the interview. I do not mean to replace that interview, but instead of solving a problem, you would walkthrough what you have done with the interviewee. I never tried this, but I read some companies allow it.
Re:Discover dev – a daily digest of engineering blogs on Saturday May 12, 2018 @05:34PM (#17056132)
First, great work! I’ve subscribed the RSS feed :) This is something I started wishing for!

Second, on the RSS feed, could you display the source of each link as you do on the website?

I do a tutorial of the language I want to learn, but often I find it is not enough. So, I just browse open-source projects (usually GitHub), check their programming style, learn new tricks (some are not usually mentioned in tutorials) and only then I contribute to the project. Most of the times I get code review for free. This practice has also other positive effects.
Re:Ask HN: Resumes that look good but professional too on Wednesday February 28, 2018 @10:30AM (#16483573)
I just used this template: https://www.careercup.com/resume

It is not very creative, but I believe it shows a great space management and certainly looks professional. It is very similar to some other CVs already mentioned. I've used only the Microsoft Word template, but there is in LaTeX.