Better HN
topnewbestaskshowjobs
Log inSign up

ndand

39 karma · joined Jul 1, 2020 (6y ago) · 23 submissions

Submissions

comment 1y ago · link · parent

There is a way to watch the video anyways, on YT with just 2 clicks.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Google has a few courses about technical writing for engineers:

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

comment 2y ago · link · parent

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"

comment 3y ago · link · parent

> 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.

comment 4y ago · link · parent

Not for the rest of their lives. 50 people can live on $100k/year for 20 years.

comment 4y ago · link · parent

"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

comment 5y ago · link · parent

My attempt to make a practical keyboard-driven cursor app for Windows:

https://github.com/ndandoulakis/SlickCursor

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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".

comment 5y ago · link · parent

The comment is correct. The "thing" is the variable that holds the "entry". The entry is removed by updating the "thing".

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

Yes, that's what I meant.

comment 6y ago · link · parent

It's the same thing. I just used a different word.

comment 6y ago · link · parent

> 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.

comment 6y ago · link · parent

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)

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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