News for hackers. Stuff that matters.

jugjug

Re:Ask HN: Programming Courses for Experienced Coders? on Sunday December 31, 2023 @04:35AM (#38822864)
I've been thinking about this, but I don't really know. The podcast is a lot of Clojure, which by itself might be an interesting language to learn. Some people report that learning Clojure was different than other languages, eg Uncle Bob, Gene Kim (see "Love Letter to Clojure") or I think even Paul Graham.

Maybe the Effectively Isolated Serie might be interesting (ep 021-027). Oh, and Cooking Up Composition, about composing functions (ep 093-098).

Re:Ask HN: Programming Courses for Experienced Coders? on Friday December 29, 2023 @01:08PM (#38808158)
Lately, I have been struck by pragmatism of approaches discussed in https://clojuredesign.club/

For example, one can start separating pure functions from side-effects, aiming for aggressively minimal side-effecting functions. Applying this approach to calling REST APIs, one would first create a full request (including the http method, body, headers, etc) in a pure function, and only then send that request to the wire. With such a split, one can easily unit-test the request construction (it's a pure fn), and also explore the request.

It was mind-bending to me when I first heard it. The podcast is full of such approaches and it seems that Chris and Nate, the hosts, have quite some battle scars to source from.

Re:Volkswagen Will Bring Back Physical Buttons in New Cars on Tuesday December 19, 2023 @09:25AM (#38695851)
Reminds on Rich Hickey ranting about touch screens in cars [1] in Design in Practice:

> We do not have feature X" is never a valid problem statement. If you need proof of this you only need to look at a modern car which has a touch screen where no one said, "I need to slide my finger on some random piece of glass to a precise point to set my blower in my car while I am driving." No one has ever said that, right? But somebody did say, "We need touch screens because young people will never buy our cars." This is what happens when you are not talking about the problem.

[1]: https://youtu.be/c5QF2HjHLSE?si=M6apr6fG_YaIDOpj&t=1826

Re:Ask HN: How do you get side gigs? on Tuesday August 30, 2022 @02:24PM (#32653439)
not mentioned here yet: small bet approach, popularized by Daniel Vassalo https://twitter.com/dvassallo
Re:Ask HN: Working in tech for climate? on Wednesday August 03, 2022 @07:06AM (#32330116)
I worked shortly for an airline, breathing carosine weekly, and so then switched back to EV charge-points and solar. I am not sure if it makes real impact, but I feel subjectively better and find more satisfaction on every day basis.

I started as a full-time employee, now I work remotely as a freelancer/contractor.

I am pretty glad for the switch. The type of work I do (data engineering, tech leadership) is quite similar to the airline business; but in the clean-tech side.

For finding a job, maybe remote job listing sites might help [1], or then clean-tech related job sites.

[1] https://twitter.com/insharamin/status/1554160501550358528

Re:More Control with Idempotency on Friday April 15, 2022 @11:21AM (#31041218)
OP here. I draw them on a tablet. For more, see https://marcel.is/drawings-first-steps/
Re:PostgREST 9.0 on Tuesday November 30, 2021 @03:57PM (#29397361)
As far as I know, AppSync doesnt provide GraphQL resolver on top of an RDS out of the box, one needs to write these resolvers by hand.

Or am I missing something?

Re:Ask HN: How do you take notes throughout your work day? on Monday September 13, 2021 @11:13AM (#28512495)
Love Obsidian as well, for about 1y now. I have a tech background, but typescript and aws serverless were new to me, so I decided to learn-in-public. Regarding categorization (and design), I was inspired by Julia's web: https://jvns.ca/
Re:Ask HN: How do you take notes throughout your work day? on Monday September 13, 2021 @08:11AM (#28510465)
For technical things where I'm a newbie, I'm trying to learn-in-public [1]. I write a TIL usually at the end of the day, it typically goes quickly.

In those cases where the matter is private (maybe 1/4 of all), I attempt to document it in company's knowledge base or at least share it in the company chat.

All other things go to my personal Obsidian.

[1] https://marcel.is/tils/

Re:Ask HN: How to build empathy? on Saturday March 20, 2021 @12:04PM (#26524032)
I use two complementing strategies:

- Developing empathy towards myself first, that is, being able to observe feelings that arise within me and then being able to accept these feelings as they are. I have found this to be very relieving. A technique that helped me was meditation; training the mind like a muscle to be able to observe & recognize feelings.

- Turning this outwards to others, the works of Marshall Rosenberg on the NonViolent Communiction (NVC) [1] had a profound impact on my perception of feelings of others. I'm trying to follow the essence of the book, rather than copying the phrases outlined there. I'm seeing more and more that NVC can be applied to business as well as personal relationships [2]

Applying these to your example, it might be interesting to explore what do you _feel_ when the other person just wants you to listen. What is it that you _need_ out of the relationship and what is it that the _other_ side needs [3]?

[1]: https://www.goodreads.com/book/show/71730.Nonviolent_Communi...

[2]: https://marcel.is/contractor-didnt-deliver/

[3]: https://marcel.is/conflict-resolution/

Re:Fzf – the basics part 1 – layout on Friday February 05, 2021 @11:07AM (#26037774)
Yeah, that would be nice. I don't know though from the top of my head.
Re:Fzf – the basics part 1 – layout on Friday February 05, 2021 @08:57AM (#26036339)
I love fzf as well. I use it with the npm package manager to select the script to run (we have an app with 20+ scripts):

    npmrf () {
        local script
        script=$(cat package.json | jq -r '.scripts | keys[] ' | sort | fzf)  && npm run $script
    }
Another usecase is tracking hours with Clockify. I was frustrated opening up the web everytime, so I wrote a script using fzf, httpie and jq. Love it now. [1]

[1]: https://marcel.is/tracking-hours/

Re:The curious case of if-not on Thursday January 21, 2021 @04:04PM (#25864214)
OP here. Yeah, I should have made it clearer, thanks.
Re:Ask HN: What are your favourite productivity tools? on Tuesday January 12, 2021 @03:07PM (#25752725)
Obsidian [1] for organizing notes of any kind, together with the book How to Take Smart Notes by Sonke Ahrens.

[1] https://obsidian.md/

Older »