HNHacker News
TopNewBestAskShowJobs

whatsakandr

168 karma · joined April 14, 2021

submissionscomments
whatsakandr··on “I think the vast majority of developers still debug using print() statements”
I've found tests to be my new print debug. Too complicated of an internal state to get at what's going on? Write a test. The failing test will tell you the output.
whatsakandr··on Vitamin D and Depression (2020)
These types of studies are where I'd love to see frequency domain trials. I've been seriously down multiple times, got back on vitamin D, and Whoosh feel better.
whatsakandr··on -h –Help -help Help –? –?
Is or was -q ever used for help? Or is this a weird thing one of my coworkers started?
whatsakandr··on Ask HN: Is your company considering inflation in this year's comp review cycle?
My company didn't, then raised everyone's salary by 3%.
whatsakandr··on Ask HN: Any weird tips for weight loss?
Highly recommend ChubbyEmu's opinion on this. Most unique perspective I've heard. https://youtu.be/iIgfnsTFm3M

Persoanlly, I've swung a quarter of my body mass in the past five years. It really came down to eating less, but it wasn't a healthy situation. The key is change behaviors that you don't need to actively think about. Just change habits.

whatsakandr··on How Does This End?
There is one path not diaxuesssd: Putin topples. And that is what I'm hoping for.
whatsakandr··on I wrote the least-C C program I could
Once I macro'd `const auto` to `let` in my C++ program. After a few moments of "haha C++ go rust", I got terrified and undid it.
whatsakandr··on Show HN: Test your shape rotation skills
I used to do a lot of 3D CAD professionally,and I remember being able to mentally rotate around IKEA instructions no problem. Haven't done that in several years. Now IKEA furniture is much difficult. I question whether this gender difference is nature or nuture.
whatsakandr··on Ask HN: How do you cope with realizing you mostly wasted your potential?
I have felt the same way. You play the hand you're dealt in life. "Wasted potential" is just regretting your past circumstances and blaming yourself for them. But you are not to blame. If you want to "not waste" your "potential", start studying something you think is worth studying. You might find you enjoy it, and want to work more on it. You might not. When I did that. I realized I just wanted to play video games and hang out with my wife. So am I wasting my potential? Just focus on living a life you're proud of. Who gives a shit if you're mentally capable of doing higher level stuff, you might not be emotionally capable. Value your mental health over any "accomplishments" in society.
whatsakandr··on Compiling code into silicon
While I only really know what and FPGA is, I wonder if we're going to see a good amount of die area dedicated to an FPGA in the future, allowing software to define a new hardware accelerator for different tasks.
whatsakandr··on Ask HN: What are these low quality “code snippet” sites?
Recently I've found duckduckgo to provide better coding results than Google, which really surprised me. I was only using duckduckgo at home for privacy, and Google at work because "best tool for the job", but I think that might not be the case anymore.
whatsakandr··on Ask HN: How did you learn math notation?
I have a masters in engineering, but there was a lot of pure math things that I never understood until recently. I found the same approach to learning software concepts and APIs. Just start at the one you don't know and recursively explore the concepts until you find stuff you do know.
whatsakandr··on Physics Student Earns PhD at Age 89
JHU has a "Doctrate of Engineering" program where you work full time. But you have to convince your employer to be able to work full time on a particular problem.
whatsakandr··on Ask HN: What are you building this weekend?
Ben Eater's breadboard computer design, and an assembler for it, written in Rust. First program in Rust. It's nice.
whatsakandr··on Command line wizardry, part two: Variables and loops in Bash
I would say "just use python!" but python, in my experience, has been difficult to keep running on an environment. Bash scripts have thier place, but one must be weary of accidentally writing an unintelligible script.
whatsakandr··on A wind-powered vehicle that can travel twice as fast as the wind itself
I think you're getting at it, but at the limit, you throw out the air, which Derek did in the follow up. Once you have two surfaces moving relative to each other, energy can be extracted. Doesn't matter how fast you're going relative to the two surfaces.
whatsakandr··on Ask HN: Tools you have made for yourself?
Almost trivial, but I built a little jig out of sheet metal that came with breadboard to cut hookup wire exactly the length I needed it. Saves tons of time.
whatsakandr··on Ask HN: Worst code you ever had to fix up?
I've worked with a million lines of C++ code written by a guy who doesn't understand C++. There's a 10k line loop that's "Unabstractable" according to my former boss. Everything stored custom linked lists, even trianglated meshes. Copy and pasted code everywhere. Maybe I should leave the organization.
← PreviousPage 3 of 3