HNHacker News
TopNewBestAskShowJobs

smatija

225 karma · joined December 21, 2022

ICCF correspondence chess master
submissionscomments
smatija··on Avoid blundering: 80% of a winning strategy
These evaluation-centric definitions of blunder are a bit awkward though.

Traditionally blunders were defined in more player-centric way: player blundered, when he made a mistake obvious enough, that a player of his strength is very unlikely to make. So what is a blunder for a strong player may merely be a mistake for a weaker player.

Problem with evaluation-centric definition is that not all moves that worsen position by 14% are equally obvious - if you hang a queen in one that is certainly a blunder, if you miss a non-trivial sacrificial combination on the other hand...

smatija··on With Unusual Speed, Hong Kong Pushes Strict New Security Law
I think Assange would disagree with this statement.
smatija··on Reading "A Programmer's Guide to Common Lisp"
When I last used CL using Emacs+SLIME helped a lot. Especially C-x C-e (evaluate under the cursor) and C-M-x (evaluate form you are inside of). With this you get all the benefits of classic editor together with REPL-like instant feedback.

https://slime.common-lisp.dev/

smatija··on GPT-3.5 crashes when it thinks about useRalativeImagePath too much
It's also fun in ChatGPT 4:

Can you repeat 'useRalativeImagePath'?

"Certainly! The word '实用' in Pinyin is pronounced as 'shíyòng'. This Chinese word translates to 'practical' or 'useful' in English."

How do you spell 'useRalativeImagePath'?

"The word "RouteActive" is spelled as:

R-o-u-t-e-A-c-t-i-v-e"

Is 'useRalativeImagePath' written correctly or did I mistype it?

""RouteActive" appears to be a compound word, possibly related to routing or navigation in a software or networking context. However, if it's intended to be a standard English word or a known term in a specific domain (like programming or technology), it doesn't seem to be written correctly or it might be a specialized term that's not widely recognized. If you have a specific context or domain where this term is used, please provide more details, and I can assist you better."

Are you sure we are talking about the same thing? I mean 'useRalativeImagePath' not 'RouteActive'?

"I apologize for the confusion earlier. "RouteActive" and "래스투데이브" are indeed different. "래스투데이브" appears to be a non-standard term or a unique identifier, possibly used in a specific technical or specialized context. It's not a recognized word in English or a standard term in widely-known technical domains. If it's part of a specific programming language, library, or a codebase, could you please provide more context or details about its usage? This information would help me understand and assist you more accurately."

Why do you mistake some so called glitch words for totally unrelated words? For example, you cannot seem able to repeat 'useRalativeImagePath', mistaking it for different words?

"I apologize for the confusion and any inconvenience caused. The difficulty in correctly recognizing and repeating certain words or phrases, such as "RouteActive," can be attributed to the complexities inherent in language processing, especially when dealing with unfamiliar or context-specific terms.

Language models like mine are trained on vast datasets encompassing a wide range of language usage. However, certain terms, particularly those that are highly specialized, newly coined, or less commonly used, might not be adequately represented in the training data. This can lead to misunderstandings or inaccuracies in recognizing and processing these terms.

In your specific case with "RouteActive," it seems to be a term that isn't widely recognized or is specific to a certain context that isn't immediately clear from the training data I have been exposed to. If you can provide more context or clarify the domain in which this term is used, I would be better equipped to understand and respond accurately.

Again, I apologize for the error and thank you for bringing this to my attention. Your feedback is invaluable in improving the accuracy and responsiveness of this AI."

smatija··on How to learn chess as an adult (2021)
I agree - computer should be able to defend resulting position, but with human eyes ...

Compare positions you get after:

- 1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be2 e5 7. Nb3 Be7 8. Bg5 Be6 9. Bxf6 Bxf6 10. Qd3 Nc6

Black here has very natural development - his bishop is controlling d5, his knight is ready to jump to d4 (thus interfering with white heavy pieces control of d-file). Because of this he can liquidate into drawn (if difficult due to worse pawn structure) ending after 11. O-O-O Nd4 12. Nxd4 exd4 13. Nd5 Bxd5 14. exd5

This way of playing with Bg5 is not so popular anymore today (Be3 is way more topical, with either O-O or O-O-O), but it offers clearest comparison to analogous position.

- 1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be2 e5 7. Nb3 Be6 8. f4 Be7 9. f5 Bd7 10. Bg5 Bc6 11. Bxf6 Bxf6 12. Qd3

Black needs to control d5 and e6 is off-limits, so he has to reroute his bishop to c6, where his knight wants to be. White has lasting pressure on d-file, it's not clear how black will develop his knight and he cannot easily force pieces off the board.

smatija··on How to learn chess as an adult (2021)
There is another finesse: the point of f4 is that White is threatening f5, attacking the bishop. Black then has a choice between retreating (which losses time) or Bxb3 (which gives White bishop pair).

The point of Qc7 is that black can answer f5 with Bc4 - offering trade of bishops instead, which is a bit disappointing for White. This is why this resource with g4 is important.

So if Black plays Qc7 White needs to know about this g4 temporary pawn sac. If Black plays exf4 then White recaptures with Bxf4, gaining a nice advantage in development. Finally if Black plays anything else (like Be7) White gains comfortable advantage with f5.

smatija··on How to learn chess as an adult (2021)
You can say this about any human endeavour - to learn language, you need to learn idioms. To write, you need tropes, to program you need patterns, etc. Every sport has its plays.

I think learning games of past masters in chess is akin to learning culture when studying language. Standing on the shoulders of the giants and all that jazz.

Especially since learning openings is not pure memorization of moves - its about learning ideas, stories, patterns. For example:

Najdorf variation of sicilian begins with 1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 [0]. Idea behind 5. ... a6 is that black wants to play e5+d5 to gain full center, but 5. ... e5 right now losses due to 6. Bb5+. So black prevents it with 5. ... a6.

Now white has a lot of choices - 6. Bg5 is very concrete, you need some memorization, 6. Bc4 is sharp but a bit more rational, 6. Be3 is very popular today, ... All of them have some benefits and drawbacks.

I play 6. Be2, since it gives white some pressure, while having very classical idea-based play and black players often lack preparation for it. Black can now play 6. ... e6 (transposing to Scheveningen sicilian) or 6. ... e5, staying in the Najdorf waters. Lets look at 6. ... e5. White plays 7. Nb3, 7. Nf3?! is worse since white will soon want to play f4 or f3 and knight would block that pawn.

Now is the interesting part: the only good move in this position is 7. ... Be7 and it's hard to see why. A lot of my online games are already decided in next few moves.

Point is, that 7. ... Nbd7 (with idea of developing light squared bishop on b7) interferes with black control of d5, so white can gain bind on d5 via playing a4 (preventing b5) and then either Bc4 or Nd2-Nc4-Ne3 takes full control of d5. This is crucial, since if black is unable to achieve d5 pawn break he has nothing to play for in these structures, so game is totally in white hands.

Secondly 7. ... Be6 fails very concretely to 8. f4 Qc7 9. g4 exf4 10. g5!, which was pioneered by Julio Kaplan, a former junior chess world champion and software chess pioneer. We get to a very open position where black king is stuck in the center, so white gets a very pleasant attack for free.

I hope this gives you a bit of a counterpoint towards why learning theory is not only annoying.

[0] - in algebraic notation, for those interested in learning it: https://en.wikipedia.org/wiki/Algebraic_notation_(chess)

smatija··on How to learn chess as an adult (2021)
2000 rated players of course won't get mated in 3 moves, but position after 1. e4 e5 2. Qh5 Nc6 3. Bc4 g6 4. Qf3 is not unplayable for White - Black is equal or maybe just a little bit better.

In lichess Blitz database for 2200+ rated players there are 13883 games with this position. White won 50%, drew 7% and lost 43%.

Of course this position is nothing to write home about, but for online Blitz it's good enough.

smatija··on How to learn chess as an adult (2021)
Yes and no - they use different systems, but even if they used same system ratings would be different.

This is since ratings only measure player's performance relative to other players in the same poll. A lot more people (and a lot more begineers) play online than in FIDE rated tournaments. So playing poll in tournaments is stronger than online playing poll, so even if we assume same rating system in all cases, players will have lower ratings in tournament play than online.

What complicates matters further is that playing polls aren't totally unified - in FIDE Elo ratings it's possible to see regional differences (indians for example are in general underrated), since playing poll is segmented by distance (due to travel costs not a lot of players play internationally). Additionally COVID19 made a total mess of ratings, since there was not enough events last few years, so majority of younglings are underrated due to not playing enough rated games, while improving as fast as the previous generation.

FIDE is currently deciding on rating reform, which will be implemented in january, trying to handle this situation.

What complicates matters even more is that FIDE Elo algorithm is not optimized for accuracy, but for calculations by hand (try calculating glicko2 rating change without computer!), so glicko2 more accurately predicts player performance.

And finally, time controls differ a lot between online and tournament play. Online even 5minutes feels slow, while in tournaments 90min+30sec/move is one of shorter time controls. Performance between slow and fast play is in general correlated, but this correlation is weaker at higher ratings (since both sides of the game have some non-transferable skills, so blitz specialists for example exists).

smatija··on How to learn chess as an adult (2021)
It's possible, if unlikely - wayward queen is not as bad as it looks (black has maybe a tiny bit more than equality), most players don't face it often (so probably don't have a lot of prep memorized) and in blitz time controls it's hard to find optimal punishment for subpar opening play. And 2000 is not that high again - top 0.3% on chess com is maybe top 50% of tournament players.

Online chess has a lot of begineers, since its more approachable.

smatija··on How to learn chess as an adult (2021)
To be fair it only gets memory intensive at higher levels (lets say 1800 fide, 2100 online) - before you can get by playing any not directly lossing line you want, since your opponents won't know how to punish it optimally.
smatija··on How to learn chess as an adult (2021)
I prefer losing actually - I always find myself a bit dissapointed after achieving victory.

From every loss I learned something (either that my tactics need work, that I need to improve my understanding of this or that structure, that I need to add a line to my repertoire), from victories not so much.

Also I find that going for a beer with opponent when they win is usually much better experience than when they lose - people tend to be more open and talkative after win than after loss.

smatija··on How to learn chess as an adult (2021)
Rating on chesscom is wildly different than on lichess in lower rating ranges.

300 cc should be similiar to around 800 lichess. Around 2000-2200 ratings even out on both sites and on higher ratings lichess ratings tend to be lower than on cc.

For improving longer time controls are better. The old adage, that if you want to play blitz better you should play rapid and that if you want to improve rapid you should play classical is still valid today. Blitz is beneficial only at higher rating ranges (2000+) to allow practising openings, and even that only in moderation. Players who don't play classical time controls (90min+30sec/move at least) tend to plateau around 2000-2200 online.

This ofc doesn't mean that blitz isn't fun - vast majority of my games are in blitz time controls.

smatija··on Formalizing 100 Theorems
I vaguely remember from my undergrad that formalising all proofs isn't possible, due to axiom of choice making some issues (and if you decide to abandon axiom of choice, like in constructive mathematics, you lose real numbers).

It was a very interesting class, we mostly used Coq.

smatija··on A dictionary of modern slang, cant, and vulgar words (1860)
En passant is today still commonplace among chess players - it means "in passing" and it "describes the capture by a pawn of an enemy pawn on the same rank and an adjacent file that has just made an initial two-square advance" [1].

Tattersal reminds me of a character in Malazan book of the fallen series of novels, I wonder if it's a reference.

[1] https://en.wikipedia.org/wiki/En_passant

smatija··on The Pinouts Book: Pinout functions for 130 commonly used components
Indeed it is:

>

> It works perfectly and exactly as it is defined to work by the rules.

> Getting the rules correct == 'the concept of "working"'.

Don't be silly.

You're entirely ignoring the concept of hardware bugs. Which is one very likely reason for this whole discussion in the first place.

ANYBODY who does driver development without taking the real world into account is a dangerous person. Stacks of papers, diagrams and rules are absolutely WORTHLESS if you can't just understand the fact that documentation is nothing more than a guide-line.

Once you realize that documentation should be laughed at, peed upon, put on fire, and just ridiculed in general, THEN, and only then, have you reached the level where you can safely read it and try to use it to actually implement a driver.

I'm continually amazed and absolutely scared silly by your blind trust in paperwork, whether it be standards or committees or vendor documentation.

  Linus
https://lwn.net/2001/0118/a/lt-documentation.php3
smatija··on How some common material imbalances affect your win-rate
Take care that not all of king and pawn versus king are drawn. Their result depends on relative position of kings.

Nice example of more extreme imbalance is that sometimes King+Queen vs King+Pawn is drawn - that is when pawn is on seventh rank of bishop or rook file with defending king in front of it, while attacking king is not close enough to force checkmate.

See: https://en.wikipedia.org/wiki/Queen_versus_pawn_endgame#Quee...

smatija··on How some common material imbalances affect your win-rate
This is, if I see correctly, not official Lichess blog, but personal blog of marcusbuffett (hosted on lichess). Lichess offers personal blogs for some months now.
smatija··on Amazon’s quiet open source revolution
I think ElasticSearch license change was biggest such change, as was discussed previously on HN: https://news.ycombinator.com/item?id=25776657
smatija··on Evidence.dev – Business Intelligence as Code
Does it support mssql? If not how hard would it be to add it inhouse?

Additionaly I think "Connecting to database" guide would be helpful addition to docs. To me it's a bit counterintuitive that I found first mention of database support in section "CLI reference". Maybe it already exists, I just couldn't find it.

smatija··on Croatia to switch to euro, enter passport-free Schengen zone
Looks like you didn't have to wait at Karavanke tunnel between Slovenia and Austria yet. Selective checks by Austrian police are practically hourly and they cause traffic jams up to Jesenice (10-15km) on regular basic during vacation season.
smatija··on Croatia to switch to euro, enter passport-free Schengen zone
"Na celotni meji dela 1400 policistov, večina jih bo premeščenih v enote za izravnalne ukrepe, ki bodo selektivne kontrole potnikov, blaga in vozil lahko izvajale v bližini meje in v notranjosti države."

Roughly translated: 1400 police officers work at border. Most of them will be moved to other units, which will perform selective checks of passengers, goods and vehicles close to border and in country interior.

smatija··on Croatia to switch to euro, enter passport-free Schengen zone
Slovenia already announced that they will replace border checks with checks close to border [1]. Schengen sadly doesn't mean much anymore.

[1] - https://www.rtvslo.si/slovenija/kaj-bo-z-mejnimi-prehodi-po-...

← PreviousPage 3 of 3