Hacker News new | past | comments | ask | show | jobs | submit login

1. Ask HN: What books changed the way you think about almost everything? - https://news.ycombinator.com/item?id=19087418

2. Ask HN: What are the best MOOCs you've taken? - https://news.ycombinator.com/item?id=16745042

3. Ask HN: How to self-learn electronics? - https://news.ycombinator.com/item?id=16775744

4. Ask HN: Successful one-person online businesses? - https://news.ycombinator.com/item?id=21332072

5. Ask HN: What's the most valuable thing you can learn in an hour? - https://news.ycombinator.com/item?id=21581361

6. Ask HN: What are your “brain hacks” that help you manage everyday situations? - https://news.ycombinator.com/item?id=18588727

7. Ask HN: What do you do with your Raspberry Pi? - https://news.ycombinator.com/item?id=20264911

8. Ask HN: What are your favorite low-coding apps / tools as a developer? - https://news.ycombinator.com/item?id=22786853

9. Machine Learning 101 slidedeck: 2 years of headbanging, so you don't have to - https://news.ycombinator.com/item?id=15919115

10. Ask HN: Mind bending books to read and never be the same as before? - https://news.ycombinator.com/item?id=23151144

11. Questions to ask a company during a job interview - https://news.ycombinator.com/item?id=20916749

12. Ask HN: What are some books where the reader learns by building projects? - https://news.ycombinator.com/item?id=22299180

13. Ask HN: Name one idea that changed your life - https://news.ycombinator.com/item?id=23092657

14. Systems Design for Advanced Beginners - https://news.ycombinator.com/item?id=23904000

15. Mathematics for the Adventurous Self-Learner - https://news.ycombinator.com/item?id=22400375

16. Teach Yourself Computer Science - https://news.ycombinator.com/item?id=23588896

17. Basic Social Skills Guide (2012) - https://news.ycombinator.com/item?id=21585235

18. How to be a Manager – A step-by-step guide to leading a team - https://news.ycombinator.com/item?id=17238135

19. Tricks to start working despite not feeling like it - https://news.ycombinator.com/item?id=22105229

20. Machine Learning Crash Course - https://news.ycombinator.com/item?id=16493489

21. Most favorited Hacker News posts of all time - https://news.ycombinator.com/item?id=24351073

22. Gears - https://news.ycombinator.com/item?id=22310813

23. The boring technology behind a one-person Internet company (2018) - https://news.ycombinator.com/item?id=20985875

24. A guide to difficult conversations - https://news.ycombinator.com/item?id=19490573

25. How to stop procrastinating by using the Fogg Behavior Model - https://news.ycombinator.com/item?id=24120275

26. Ask HN: What's a promising area to work on? - https://news.ycombinator.com/item?id=21324768

27. Linux Productivity Tools (2019) [pdf] - https://news.ycombinator.com/item?id=23229241

28. Ask HN: Best book / resources on leadership, especially for tech teams? - https://news.ycombinator.com/item?id=21712194

29. Ask HN: What is your favorite YouTube channel for developers? - https://news.ycombinator.com/item?id=12702651

30. Algorithms, by Jeff Erickson - https://news.ycombinator.com/item?id=18805624

31. Build Your Own React - https://news.ycombinator.com/item?id=21536789

32. Ask HN: What are the best textbooks in your field of expertise? - https://news.ycombinator.com/item?id=18104814

33. Ask HN: What's your quarantine side project? - https://news.ycombinator.com/item?id=23170881

34. The missing semester of CS education - https://news.ycombinator.com/item?id=22226380

35. Medium-hard SQL interview questions - https://news.ycombinator.com/item?id=23053981

36. The Importance of Deep Work and the 30-Hour Method for Learning a New Skill - https://news.ycombinator.com/item?id=17163251

37. My productivity app for the past 12 years has been a single .txt file - https://news.ycombinator.com/item?id=22276184

38. Ask HN: What Skills to Acquire in 2020? - https://news.ycombinator.com/item?id=22235279

39. Ask HN: What are some books where the reader learns by building one project? - https://news.ycombinator.com/item?id=13660086

40. Ask HN: What language-agnostic programming books should I read? - https://news.ycombinator.com/item?id=14486657

41. Ask HN: Where can I find high-end stock images for a website? - https://news.ycombinator.com/item?id=15602538

42. Ask HN: What overlooked class of tools should a self-taught programmer look into - https://news.ycombinator.com/item?id=19900955

43. Advanced Data Structures (2017) - https://news.ycombinator.com/item?id=20044876

44. Immersive Linear Algebra (2016) - https://news.ycombinator.com/item?id=19264048

45. Ask HN: How to get started with machine learning? - https://news.ycombinator.com/item?id=12713056

46. Tools for Better Thinking - https://news.ycombinator.com/item?id=23339830

47. Ask HN: Best books you read in the past decade? - https://news.ycombinator.com/item?id=21900498

48. Startup idea checklist - https://news.ycombinator.com/item?id=20254057

49. Ask HN: Favorite teachers on YouTube? - https://news.ycombinator.com/item?id=17999659

50. Ask HN: What startup/technology is on your 'to watch' list? - https://news.ycombinator.com/item?id=23276456




Thank you! Now I just wonder - did you use some command line magic to do this, or did you compose it manually? (no complaints if you did, but it would be interesting to know how to do that in a line of script). Anyway, thanks again.


You can do this with Notepad++ and Block-Selection in like 1,2 Minutes:

- Paste the original list

- Block-Select (Alt + Pressed Mouse1) a block-line behind (trailing) all entries; I admit this step is hard to describe with words, but currently im unable to provide an image/video

- Paste "https://news.ycombinator.com/item?id="

- Block-Select all ids from original list and paste it at the end

- You may be finished now or you can Regex-Replace " +" with " " to remove the long spaces between the link title and the link itself.

Block-Selection + Copy-Paste is amazingly fast for doing things like that.


Pretty dirty solution, but:

cat list| cut -d ' ' -f 4 | xargs -I{} echo "https://news.ycombinator.com/item?id={}" | paste list - | cut -d ' ' -f 5-


Sure. I just did it quickly in Python, it was all of about three or four lines long. I've gotten a bit rusty in Python so when I see a small task I try to give it a go.


Consider adding this comment on the grandparent. Thank you!


Favorited, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: