News for hackers. Stuff that matters.

tpaschalis

I think you’re underselling the amount of sophistication and refinement that goes into a modern ICE, which is the backbone of a big part of the global economy.
Re:I turned my Kindle into my own personal newspaper on Sunday March 29, 2026 @05:37AM (#47561667)
Nice write up!

After a couple of attempts I settled on a a different approach for my old Kobo.

It can connect to Dropbox so I deployed a small app in Fly.io which takes a link, bundles it as an epub and uploads to the right folder. Day-to-day all I use is a bookmarklet

Re:Deep vs. Shallow Go Interfaces on Sunday March 23, 2025 @11:06AM (#43453412)
Author here, thanks for posting this!

If anyone has any feedback, questions, or any additional examples of deep/shallow abstractions they've used recently, let me know!

Regarding the culture bit: I feel that Erin Meyer's "The Culture Map" [1] should be high on any reading list around how to work in a remote environment, especially as a manager. Of course, every individual is different and not everything needs to be taken at face value, but it provides a nice framework to think about how/why other teammates may approach situations in a specific way.

[1] https://www.goodreads.com/book/show/22085568-the-culture-map

I'd have to agree. I personally found that the book's structure with the themed chapters doesn't lend itself to a continuous reading; but going in small chunks as the authors intended, the commentaries felt a tad better.
- So Good They Can't Ignore You. Even though kinda 'self-help'-ish and repetitive at times, it played a role in shaping the way that I think about my career.

- The Daily Stoic. A collection of snippets from stoic philosophers, tied with examples from modern living, it was a good and lightweight introduction to philosophy.

Re:Be good to your mentors on Thursday March 17, 2022 @05:10AM (#30709101)
One thing to try might be contributing to Open Source?

Choose a project that looks interesting to you (ideally with a large community and modern tech stack) and join their Slack/Discord/Mailing List. You'll need to be patient and humble and it's going to take a while until you feel really comfortable, but read a lot, ask questions and try to contribute small bits here and there.

This will put you in touch with many interesting and experienced people, plus it's usually a great learning experience.

Re:A New Coefficient of Correlation on Monday January 03, 2022 @09:31AM (#29781101)
If anyone is interested, I've also published a Go implementation [1] of the code for float64 slices.

Results seem to exactly match the R and Python implementation, so there will be a second pass focusing on performance, stability and support for categorical variables.

[1] https://github.com/tpaschalis/xicor-go

Come on, no offence, but you sound like astroturfing.

I have no idea how you may be aware of a company's internal information, but the greek article you linked does _not_ mention rating system names.

Also, but when using e-food there's no way to actually rate delivery people, only restaurants (like you claim above with "Negative reviews from customers...").

Re:Shapecatcher: Draw the Unicode character you want on Saturday July 17, 2021 @04:29PM (#27868573)
+1. I couldn't get it to understand the partial derivative symbol ∂, unless it was drawn in a very specific way.

But really cool idea, name and execution!

Re:Far Cry: How the Fire Burns and Spreads (2012) on Wednesday December 16, 2020 @05:48AM (#25441112)
Thanks for bringing back fond memories of playing Far Cry 2 LAN multiplayer in run-down internet cafes back in middle/high school. :)

In case you haven't played Far Cry 2 before, here's [1] a great video that showcases the aesthetic choices and art direction behind the game, and how they all fit together. Also [2] showcases the amount of detail that went into making FC2, that isn't always found in more modern games.

[1] https://www.youtube.com/watch?v=mx4eSkMBx-U

[2] https://www.youtube.com/watch?v=FCeEvQ68jY8

Re:/* You Are Not Expected to Understand This */ (2018) on Thursday October 22, 2020 @04:03AM (#24855852)
This comment has produced one of the geekiest t-shirts of all time.

In [1] Brian Kernighan interviews Ken Thompson, who's wearing a t-shirt which contains the relevant snippet along with a comment "ΕΠΙΤΕΛΟΥΣ ΤΟ ΚΑΤΑΛΑΒΑ!" (greek for 'I finally understood it!').

[1] https://youtu.be/EY6q5dv_B-o?t=1181

Re:Ask HN: How do you organise your files and folders? on Thursday June 04, 2020 @07:53AM (#23415403)
Great ideas all around here, definitely stealing some!

Personally, there was a time where I grew a little fond of numeric-based naming. It allowed for quickly tabbing between directories, easy separation and predictable ordering (eg. 1xx is for clientA, 2xx for clientB, 9xx is for miscellaneous files etc).

Fun story of how that came up; at some large project they were using Sharepoint for everything. From specification documents, to invoices, to code backups and JAR files.

I never figured out whether it was Sharepoint translating for different locales or people using Windows machines different languages, you'd get things like "My Documents", "Mes documents" "Τά Έγγραφα Μου" and "Eigene Dokumente" all mangled up together, which was a nightmare to navigate in, both in speed and understanding, so the this numeric-based naming was an attempt to put some order to that chaos.

Since you mentioned terminal-based tutorials, here's a terminal-based solution.

Most linux systems should include script [1] and scriptreplay[2], which should suit your needs. Here's a complete example of a recorded/replayed session[3].

On MacOS it should be as easy as `script -r <filename>` to record and `script -p <filename>` to replay. YMMV, but I like it for _small_ use-cases, as it puts simplicity and portability over features.

[1] http://man7.org/linux/man-pages/man1/script.1.html

[2] http://man7.org/linux/man-pages/man1/scriptreplay.1.html

[3] https://www.tecmint.com/record-and-replay-linux-terminal-ses...

Re:Less is exponentially more (2012) on Tuesday May 12, 2020 @10:53AM (#23154634)
I think you're right regarding the verbosity, but I personally find this is outweighed by the fact that my code is 2x more likely to run correctly on the first try, and do what I expect it to.
Re:Less is exponentially more (2012) on Tuesday May 12, 2020 @10:49AM (#23154592)
Of course it's a matter of preference and being the right tool for the right job! Personally after using Go to build a simple ray-tracer and having to do numerical computations with it, I would really think twice before doing it again.

Want to reverse an array? You can't just list.reverse() or list[::-1] like you'd do in Python. Want a simple lookup if a value exists? You can't ['a', 'b', 'c'].include? 'a' like you'd do in Ruby. Want to reach for low-level primitives? You'd have to delve into CGO territory, which is not always "elegant". Want different concurrent paradigms (eg. an actor model), well, maybe you're better off without it.

But it's up to you whether that kind of 'simplicity' is desirable or not.

So many good suggestions here! I'll try adding two more

[1] "So Good They Can’t Ignore You" by Cal Newport. It changed the way I look at my career and how I view my personal development.

[2] ADP 6-22 Army Leadership and the Profession by the US Army. Looking past the militaristic stuff, it made me change the way I see leader/subordinate relationships and how to start becoming a person others can depend on and look up to.

[1] https://www.amazon.com/Good-They-Cant-Ignore-You/dp/14555091...

[2] https://www.amazon.com/Army-Doctrine-Publication-Leadership-...

Re:Go Debugging with Delve, or No More Fmt.Printfs on Tuesday April 14, 2020 @03:23PM (#22870320)
I was initially on the same side. But setting things up is a simple `go get`, and when you want to dive into more complex scenarios, such as concurrency-related bugs, a debugger can save the day!

I'd urge you to give it a spin next time you come across a weird bug ^^

Re:Go Debugging with Delve, or No More Fmt.Printfs on Tuesday April 14, 2020 @12:54PM (#22868306)
Yes, the project has gone a long way, as it's being used by what may be the two most prominent development environments for Go (VSCode and Jetbrains Goland).

GDB still has a lot of value if you're working with a non-amd64 architecture or want to dive into cgo parts of a codebase, but Delve is a great addition to your toolbelt!

Older »