News for hackers. Stuff that matters.

ndand

There is a way to watch the video anyways, on YT with just 2 clicks.
Re:If you are useful, it doesn't mean you are valued on Monday June 02, 2025 @06:33AM (#44157414)
> Valued = useful + hard to find.

I agree, but I think it slightly differently, Valued = useful + hard to replace.

How difficult is to be replaced by some other human or a machine.

Re:Tracing the thoughts of a large language model on Thursday March 27, 2025 @06:13PM (#43498800)
I understand it differently,

LLMs predict distributions, not specific tokens. Then an algorithm, like beam search, is used to select the tokens.

So, the LLM predicts somethings like, 1. ["a", "an", ...] 2. ["astronomer", "cosmologist", ...],

where "an astronomer" is selected as the most likely result.

Re:Ruby: A great language for shell scripts on Sunday June 23, 2024 @08:34AM (#40766993)
You can capitalize a string in Python using functional style

  ' '.join(map(str.capitalize, string.split(' ')))
which is similar to the example in Ruby, except the operations are written in reverse order.
Re:What I think about when I edit on Saturday April 06, 2024 @06:50AM (#39951527)
Google has a few courses about technical writing for engineers:

https://developers.google.com/tech-writing

Re:Linkers and Loaders (1999) [pdf] on Wednesday March 06, 2024 @04:16PM (#39621583)
Steve Yegge mentions the book in the "Compilers, why learn them?" episode,

https://www.youtube.com/watch?v=o87pOVK8khc&t=1939s

"you're not done actually when you learn how compilers work you also need to learn how linkers and loaders work and you need to learn how to operating systems work before all of the magic is gone. So you really want to learn compilers and operating systems and then get this book that I have called Linkers and Loaders it's like the only book on linkers and loaders. I should have brought it and uh and it's really good"

Re:I have reached Vim nirvana on Tuesday December 27, 2022 @05:22AM (#34147363)
> I believe there's now also a VS code plugin for the same behavior, but I don't know what it's called.

It's called "sticky scroll". It's a relatively new feature of VS Code.

Re:Bitwarden raises $100M on Tuesday September 06, 2022 @10:36AM (#32737664)
Not for the rest of their lives. 50 people can live on $100k/year for 20 years.
"Roberta and I will be on Twitch tomorrow to talk about a new game we're working on. Our interview will be at 3pm Pacific time."

https://twitter.com/caboken/status/1506390567197896705

Re:Going mouseless on Wednesday August 04, 2021 @03:45PM (#28065350)
My attempt to make a practical keyboard-driven cursor app for Windows:

https://github.com/ndandoulakis/SlickCursor

Re:Commits are snapshots not diffs (2020) on Thursday April 08, 2021 @03:28PM (#26742711)
I used to think commits as snapshots, but it was confusing. Then I read "Git Internals".

A commit contain the "whole" content of each file that we've commited. But since a commit has a pointer to a root commit, it also represents a working directory. Even though a commit contain "whole" files, the git internally stores only parts of the files as an optimization.

When we diff two commits, we see the difference of the file contents in the corresponding working directories that the commits represent.

The "indirect" variable does not point to a list entry directly, like what "head" and "next" variables do, that's why it's named "indirect".
The comment is correct. The "thing" is the variable that holds the "entry". The entry is removed by updating the "thing".
Re:How to Interview Engineers on Monday October 12, 2020 @03:00PM (#24758087)
This can't be a satire. It's a guide on how to interview engineers when you're looking for extraordinary engineers, not good or great ones.
Re:Ask HN: Who wants to be hired? (October 2020) on Thursday October 01, 2020 @01:23PM (#24653653)
Location: Athens, Greece

Remote: Yes

Willing to relocate: No

Technologies: Java, C#, C++, Delphi, Python, JavaScript, SQL, Google App Engine, Android SDK

Résumé/CV: n/a

Email: ndandoulakis hotmail com

https://github.com/ndandoulakis

https://linkedin.com/in/nick-dandoulakis/

https://stackoverflow.com/users/108130/nick-dandoulakis

Yes, that's what I meant.
It's the same thing. I just used a different word.
> that took Rubik himself an entire month to solve

I'm not sure you what you mean by this, but Rubik discovered an algorithm to solve the cube, he didn't follow instructions like what the 1 out 20 of cube owners do.

It'd be interesting to know the percentage of the people that have discovered an algorithm by themselves to solve the cube.

Re:Ask HN: How do I learn to write better code? on Tuesday September 22, 2020 @01:25PM (#24557326)
Writing good code is hard. In general, you should be looking to learn programming practices, principles, and patterns.

The main aspects of coding:

* Make it work (programming paradigms)

* Make it right (code structure/design fundamentals)

* Make it fast (dynamic structure/engineering)

Re:Exploring new forms of chess using artificial intelligence on Friday September 11, 2020 @06:23AM (#24441098)
Stockfish evaluates the position of the entire board, e.g. mobility of pieces, how much opposing space they control, etc. But still, the evaluation function is hardcoded and weaker than AlphaZero.

Recently Stockfish introduced neural network evaluation.

https://blog.stockfishchess.org/post/625828091343896577/intr...

It took about a year without mouse use for my wrist to heal. Now I use a mouse but I'm very careful with posture and mouse positioning.

How long did it take to familiarize yourself with the trackball?

I didn't really try other pointing devices because I thought that they won't be as good as the mouse, plus I liked the idea of using keyboard-driven navigation software.

Very handy!

My right wrist used to pain a lot because of excessive mouse usage. I had tried out various keyboard-driven apps but I didn't find any app practical enough for my needs, so I made one.

I'd like to share here my "generic" keyboard-driven navigation app for Windows:

https://github.com/ndandoulakis/SlickCursor

Re:Ask HN: Who wants to be hired? (July 2020) on Wednesday July 01, 2020 @11:55AM (#23702866)
Location: Athens, Greece

Remote: Yes

Willing to relocate: Maybe

Technologies: Java, C#, C++, Delphi, Python, JavaScript, SQL, Google App Engine, Android SDK

Resume/CV: Available upon request

Email: ndandoulakis hotmail com

https://github.com/ndandoulakis

https://linkedin.com/in/nick-dandoulakis/

https://stackoverflow.com/users/108130/nick-dandoulakis