Better HN
topnewbestaskshowjobs
Log inSign up

da12

353 karma · joined Mar 25, 2018 (8y ago) · 44 submissions

Submissions

1.

De-Tooling(davidamoswrites.com ↗)

1 points · by da12 · 3w ago · discuss

2.

How to Use an LLM Without Selling Your Soul(thoughtcicles.xyz ↗)

1 points · by da12 · 1y ago · discuss

3.

ChatGPT Is an Extra-Ordinary Python Programmer(davidamos.dev ↗)

25 points · by da12 · 3y ago · 9 comments

4.

Never Modify Inputs Without Permission(davidamos.dev ↗)

3 points · by da12 · 3y ago · discuss

5.

Method Chaining in Pandas: Bad Form or a Recipe for Success?(davidamos.dev ↗)

13 points · by da12 · 4y ago · 14 comments

6.

Things I Wish I’d Done Earlier as a Coder(davidamos.dev ↗)

2 points · by da12 · 4y ago · discuss

7.

Tree Traversals and Anagrams: A Weekend Project(davidamos.dev ↗)

1 points · by da12 · 4y ago · discuss

8.

5 Time-Saving VS Code Shortcuts and How to Memorize Them(davidamos.dev ↗)

1 points · by da12 · 4y ago · discuss

9.

You should write bad code(davidamos.dev ↗)

5 points · by da12 · 4y ago · discuss

10.

Want cleaner code? Use the rule of six(davidamos.dev ↗)

319 points · by da12 · 4y ago · 333 comments

11.

Beginner Projects from an Advanced View: Rock Paper Scissors(davidamos.dev ↗)

3 points · by da12 · 4y ago · discuss

comment 4y ago · link · parent

Could you explain what you mean the 0.0 case? math.isclose() has an abs_tol parameter for, among other things, handling comparisons to 0.

13.

The Right Way to Compare Floats in Python(davidamos.dev ↗)

3 points · by da12 · 4y ago · 1 comment

14.

3 Things You Might Not Know About Numbers in Python(youtube.com ↗)

1 points · by da12 · 4y ago · discuss

15.

3 Tips for Writing Pythonic Code(davidamos.dev ↗)

4 points · by da12 · 4y ago · discuss

comment 4y ago · link · parent

If you're using Python, check out grapheme: https://github.com/alvinlindstam/grapheme

comment 4y ago · link · parent

A whole lesson in Unicode in itself right there with your experience, haha!

18.

Why can't you reverse a string with a flag emoji?(davidamos.dev ↗)

189 points · by da12 · 4y ago · 238 comments

19.

Don't Be Fooled by This Peaceful Portrait of Venus(bestastronomyphotos.com ↗)

1 points · by da12 · 5y ago · discuss

12