Better HN
topnewbestaskshowjobs
Log inSign up

LecroJS

380 karma · joined Jan 11, 2022 (4y ago) · 81 submissions

Submissions

comment 4y ago · link · parent

This is the first I’ve heard a recommendation to learn elixir. I’m definitely interested based on your description + a quick google. Is there anything that comes to mind in terms of what it does different from Go/Rust that makes you recommend it? My understanding was that I’d get these types of benefits from those two languages

comment 4y ago · link · parent

Touché. And to top off your comment, my DnD party is about to engage xanathar in his lair this week which doesn’t bode well..

comment 4y ago · link · parent

Thanks for sharing! That’s good to know. I’ll likely knock out the go spec in that case. Lmk if you have any opinions either way

64.

Ask HN: Should I learn Rust or Go?

78 points · by LecroJS · 4y ago · 125 comments

comment 4y ago · link · parent

Wow. All I can say is thank you. This is great.

comment 4y ago · link · parent

Very interesting to see someone with significant life experience quantifying this in terms of time instead of dollar value.

I found this comment helpful as I approach my mid 20s and think about the costs of some of the bigger investments l’d like to make in life. Thanks

comment 4y ago · link · parent

Yaml always mocking likortera. Sorry it’s early

68.

Ask HN: What options are there to send an HTTP request with a hardware button?

1 points · by LecroJS · 4y ago · 4 comments

69.

Ask HN: What is the difference between SDE-2 vs. SDE-3 at Amazon?

3 points · by LecroJS · 4y ago · discuss

comment 4y ago · link · parent

Thanks for taking the time for this! 1, 3, and the honorable mention are among my all time favorites. I haven’t seen either variation of 2 before — Going to do it right now

comment 4y ago · link · parent

Hi Darek thanks for doing this AMA. If you had to pick 3 leetcode problems that are most representative of those seen in google interviews, which would they be (can just be topics too if you feel google tests for certain data structures etc)

comment 4y ago · link · parent

Interesting tale story, thanks for sharing!

comment 4y ago · link · parent

I tutor kids in my free time from ages 4 up to college. I find that Processing/p5.js is a great tool for teaching younger kids how to use their imagination through the vessel of built-in functions + tweaking arguments to instantly see their input on the canvas in the form of bright, flashy colors/shapes. It requires a much more hands on approach and can really only be done well in 1 on 1 settings. While I wish there was a way for me to be less of a navigator in terms of the amount of code that goes on the screen, I have come to find that kids are generally exceptional at pattern recognition. Even my student that is 4 (although he’s a smart kid) is capable of writing his own scripts now without much guidance in his logic/syntax. I had my own start with micro worlds as a kid, and played with netlogo in a college class. That made me a staunch supporter of kids getting into code through agent/turtle based environments

comment 4y ago · link · parent

Thanks for taking the time to write this out. I’ve always been into shortcuts/efficiency when using computers, but vim has made me realize how just how deep the rabbit hole goes and I find it intimidating. With that said, since learning more about vim and why people like it, I find myself getting more and more frustrated every time I instinctively reach for the mouse in vs code or really anything, which while it’s not even that slow, this mental tax leads to an unpleasant development experience. I’m now finding myself at the awkward intersection of seeing how much I leave on the table with vscode in the long term, but also not being anywhere near as productive after making the full switch to vim.

I could care less about what people think of the editor I use. The ergonomic benefit is nice, but after seeing a video[0] of someone who is clearly years ahead in vim fluency, I am so drawn to the idea of having my productivity limited by my thoughts vs how quick I can interaction with my editor.

[0] https://youtu.be/-I1b8BINyEw

comment 4y ago · link · parent

Good point. I’m a Fullstack js web dev and decided I should make the switch after a combination of getting fed up with unpleasant experiences on ec2 instances and creating dozens of custom vscode shortcuts that I later learned do things that basic vim does

76.

Ask HN: Is switching from VSCode to Vim worth it?

19 points · by LecroJS · 4y ago · 40 comments

comment 4y ago · link · parent

From someone else who shared it here:

https://github.com/nuvious/pam-duress

So insane that something like this isn’t available natively on all of our phones

comment 4y ago · link · parent

Thanks for the clarification. Makes sense

comment 4y ago · link · parent

Would you mind elaborating on the second point? Is this unique to larger pools? My inclination is that this would be true for pools of all sizes

comment 4y ago · link · parent

Maybe I’m misunderstanding the problem but any reason why you can’t just call .map on the input array and if el.name === John -> el.hobby[knitting] = true, then return el regardless?

comment 4y ago · link · parent

Looks great on mobile. Aside from not being at my computer to give feedback on that, I’d consider a dark color scheme that isn’t completely/near #000000 as the background with white text. The contrast is too taxing on the eyes imo and would benefit from a gray tint on the text at the very least and then possibly the bg as well. Again though very nicely done
123