loading...
Cover image for Top 5 DEV Comments from the Past Week
The DEV Team

Top 5 DEV Comments from the Past Week

peter profile image Peter Kim Frank ・1 min read

This is a weekly roundup of awesome DEV comments that you may have missed. You are welcome and encouraged to boost posts and comments yourself using the #bestofdev tag.

@bcnzer shares their most commonly referenced search in What do you have to Google? Every. Single. Time.:

Regex. Every. Single. Time 🤦‍♂️

I have to use regex tools to help and it feels like I bumble my way through it each time.

@cristinaruth adds some extremely helpful feed back directly to the DEV Team in the Hello again. It's time to do some work! thread:

  1. Please show me first the articles per my followed authors and tags.
  2. Please allow me to “hide” an article from the home page if I don’t want to see it again.
  3. Please indicate a “read” indicator for an article on the home page. (somehow grayed out or somewhat?)
  4. The side bars are good on desktop but they’re very hidden on mobile and I realize that’s on purpose but the listings are not visible on mobile. Maybe scatter the listings on mobile throughout the feed like reddit does? I haven’t thought this through so there are likely holes in that idea.
  5. Maybe even start showing me articles on my “to read” list if nothing else to show me? They pile up and I actually forget about them but I do visit the home page a lot.

@ivannmg offers a hilarious and somewhat tragic anecdote in response to Tell me something funny about your first DEV job:

Someone came to visit offices, as CEO wasn't there I made the visit

Turned out he was an FBI agent investigating on the company :/

@ghostcat provides a great list in reply to What are your favorite portfolio sites for devs?:

Finally, @craigmc08 expands with an enlightening comment and some helpful visuals in Improve Your Algorithms with this Simple Equation:

I also like the more visual geometric proof of this formula. Say you want the sum of 1-4, you can make this shape:

*
**
***
****

The area of this triangle is then equivalent to our original problem, the sum of the first 4 natural numbers. But, it's hard to find the area of this "triangle", but easy if you make a rectangle (#s are a second, rotated copy of the triangle)

*####
**###
***##
****#

This is a 5x4 rectangle, so its area is 20. The rectangle is made of two of the triangles we want to know the area of, so the sum is 20/2 = 10.

If you generalize this to the first n natural numbers, you do indeed get the formula n (n + 1) / 2

See you next week for more great comments ✌

Posted on Feb 11 by:

peter profile

Peter Kim Frank

@peter

Doing a bit of everything at DEV.

The DEV Team

The team behind this very platform. 😄

Discussion

markdown guide
 

Congrats to @bcnzer , @cristinaruth , @ivannmg , @ghostcat , and @craigmc08 for making the list this week!