Better HN
topnewbestaskshowjobs
Log inSign up

prudentpomelo

60 karma · joined Aug 28, 2022 (4y ago) · 40 submissions

Submissions

1.

The problem with MySQL foreign key constraints in Online Schema Changes (2021)(code.openark.org ↗)

46 points · by prudentpomelo · 1y ago · 7 comments

comment 1y ago · link · parent

Wow, this is wildly refreshing. Definitely more interesting and fun than any crud bullshit I do every day.

comment 2y ago · link · parent

The stream was lagging almost as much as Tyson's fighting.

comment 2y ago · link · parent

I use scholar.google.com and search for topics I am interested in. If you have access to IEEE or ACM publications then even better. Or I download books as pdfs and read those instead of scrolling hacker news ;)

comment 2y ago · link · parent

I am taking a crack (again) at creating vim bindings in Javascript for HTML textarea inputs.

comment 2y ago · link · parent

Please don't make me write uppercase keywords. They make my eyes bleed and hurt my hands. Why not let the syntax highlighter do the heavy lifting for you? Dress your keywords with mauve or a nice butterscotch. Don't shout at the database. Write queries as if you are texting your best friend—all lowercase. Your friend understands and so does the database.

  select      e.first_name,
              e.last_name,
              s.amount
  from        employee as e
  inner join  salary as s
              on e.id = s.employee_id;

comment 2y ago · link · parent

CTEs would be such a blessing. I am stuck using mysql 5.6. So many queries would just get simpler.

comment 2y ago · link · parent

Kinesis Advantage360 Keyboard. Solved so many RSI symptoms in one shot.

comment 2y ago · link · parent

https://betterexplained.com/

comment 2y ago · link · parent

Take therefore no thought for the morrow: for the morrow shall take thought for the things of itself. Sufficient unto the day is the evil thereof.

- Matthew 6:34, KJV

comment 2y ago · link · parent

Downloaded it this morning on my work machine and it worked like a dream. Multiline mode and vim bindings were the chefs kiss that brought it all together.

comment 2y ago · link · parent

I touch type between 60-70 wpm. When I practice using source code it drops to 30. However, the most important thing I have done for my editing speed is learning vim. Vim is a cheat code in programming. The learning curve is steep. Once I got the basics down it helped eliminate most of the fatigue I would feel when editing text with the mouse.

comment 2y ago · link · parent

It's honestly relieving to read all these stories because I feel like I am in the middle of this right now. Our legacy product is a mishmash of perl and php that was probably started in the early 2000s. Which I wouldn't feel bad about supporting if it wasn't for the new system that has been bolted on top of it. The previous team that started the migration is all gone and now we are halfway between two two systems that we have to support. On top of that my manager is afraid to say no to our eccentric CEO so we are flooded with new feature requests but can never get anything done because we spend so much time chasing down problems in the old system. Is there any sane way out of this? I just feel like I am white-knuckling it through every day.

comment 2y ago · link · parent

This is the exact boat I am in. I always say the best thing about our codebase is the worst thing: junior developers can do whatever they want.

15.

Ask HN: What are some examples of underutilized technology?

3 points · by prudentpomelo · 2y ago · 1 comment

comment 2y ago · link · parent

tmux + ssh multiplexing has been a big time saver for me. I have a single script that I run when I open my terminal and I have an entire dashboard to manage my dev environment. Now I just need to figure out copy and paste in tmux lol.

comment 2y ago · link · parent

These get better every time I read them.

comment 2y ago · link · parent

I love Oklahoma. Wholesome, hardworking people in a beautiful state. My favorite drive is through Sand Springs to Cleveland and Skiatook. You wind through Keystone Lake and the Arkansas River. So peaceful and pretty.

comment 2y ago · link · parent

I left the trades for programming. Your body can't maintain that type of work unless you stay fit. Then there is the risk of injuries which is inevitable. Working on concrete is hard on your knees, hips and back. You eventually have to do something different like management.

comment 2y ago · link · parent

I am in a similar boat. Starting a masters in cs in the fall. What resources are you using to study? I have neem doing some refreshing on Khan Academy but looking for other options.

comment 2y ago · link · parent

Definitely one of my favorites. It helped me level up when I was learning Javascript but also helped me understand how to be a better programmer.

comment 2y ago · link · parent

They really have thought of everything! I wonder what it would be like to work on a codebase for 20+ years. Richard Hipp must be dreaming in C by now. I have listened to several interviews with him recently and he seems so unencumbered in his approach to software design. I admire his passion for solving hard problems and lack of trepidation for critique.

comment 2y ago · link · parent

Such a fun way to introduce cryptography. My mind was blown this summer when I took a discrete math course this summer. Using math to encrypt and decrypt data is elegant and pure.

comment 2y ago · link · parent

What a cool way to capture your interests! A small library of links to come back to and cherish. This is what makes the web great. You can just stand up your website and share and link as much as you please. Well done!

comment 2y ago · link · parent

Awk now supports a `--csv` flag for processing csv's. https://github.com/onetrueawk/awk/blob/master/README.md

comment 2y ago · link · parent

>> There’s a lot of reading material out there. For the basics, I still recommend that students purchase K&R.

Has anyone read K&R and regretted it? I am working through all the exercises and have really enjoyed the process.

27.

Dear Functional Bros [video](youtube.com ↗)

3 points · by prudentpomelo · 2y ago · discuss

comment 2y ago · link · parent

- helix editor

- tmux

- bash

comment 2y ago · link · parent

Referential integrity saves you so many headaches. I am dealing with a 500+ table database with no foreign keys at all. This has allowed so many problems to creep in. Writing queries is pure suffering.
12