Better HN
topnewbestaskshowjobs
Log inSign up

pk2200

879 karma · joined Jan 26, 2009 (17y ago) · 89 submissions

Submissions

comment 3y ago · link · parent

The two URLs I provided don't convince you that this isn't a fad? Of all the SWEs I know, every single one who previously used Eclipse, Atom, or Sublime is now using VSCode. Some of my Emacs & Vim friends have switched, too. I can't imagine what would change this trend in the next 5-10 years. Perhaps a new editor with an integrated LLM coding assistant that's FAR ahead of all competitors? Except VSCode is currently leading there, too.

comment 3y ago · link · parent

I'm a long-time Emacs user, but VSCode is definitely not a fad. Microsoft is all-in on it, and it appears to be by far the most popular text editor.

https://survey.stackoverflow.co/2023/#section-most-popular-t...

https://trends.google.com/trends/explore/TIMESERIES/16907280...

3.

Go 1.21 Release Candidate(go.dev ↗)

337 points · by pk2200 · 3y ago · 225 comments

comment 3y ago · link · parent

Nice! Years ago I added home row chording to a simple text editor I was writing. It worked so well that I wondered why it's not common practice. You should write more about your project! :)

comment 4y ago · link · parent

The tournament Carlsen withdrew from today isn't an online event. All the games are played in person at the St. Louis Chess Club.

comment 4y ago · link · parent

For time management, the rough approach is to allocate a fixed % of the remaining time and increase or reduce it, mostly depending on the stability of the evaluation with increasing search depth.

Games are played on the same computer, with only one engine analyzing at a time.

The graph shows each engine's evaluation of the position for each move in the game. The red line is from a 3rd engine "observing" the game.

comment 4y ago · link · parent

Capablanca preferred playing quiet, positional chess, often patiently nursing tiny endgame advantages into a win. It's generally much easier to play accurately in simple endgames than complex middlegames, and that's a big factor in his low ACPL score. (I don't mean to take anything away from him - he was probably the best ever at that style of play.)

8.

Google Research: Machine learning accelerated computational fluid dynamics(arxiv.org ↗)

3 points · by pk2200 · 5y ago · discuss

9.

Trump Pardons Anthony Levandowski(theverge.com ↗)

16 points · by pk2200 · 5y ago · 1 comment

comment 5y ago · link · parent

Just wanted to say thanks for many years of fantastic work on both Stockfish and Leela. The computer chess community owes you a huge debt of gratitude!

comment 5y ago · link · parent

Possibly Craig Silverstein, but my guess is Urs Hölzle. He was Google's first VP of engineering and a huge advocate for everything mentioned in the article: "design docs, audited code reviews, early design reviews, readability reviews, resisting introduction of new languages, unit testing and code coverage, profiling and performance testing".

Early Google had more than its fair share of genius engineers with giant egos. Urs was brilliant and tough - a perfect combination for keeping everybody in check and shaping the engineering culture.

comment 5y ago · link · parent

There was a recent thread about challenging projects every programmer should try, and I think writing a chess engine would be a nice addition to that list. Chess programming is a refreshing change from modern software development, because you don't need any complicated frameworks or libraries, just a basic grasp of the minimax algorithm for searching a game tree. I have fond memories of writing an engine as a fresh college grad - it was my first "big" project and I made every mistake imaginable, but it was great fun and sharpened my coding skills immensely. It's exhilarating to play against your own program and then try to improve it. Highly recommended!

comment 5y ago · link · parent

Digital Ocean, probably.

comment 6y ago · link · parent

He wrote about this more detail in an earlier blog post (about halfway down the page).

http://esr.ibiblio.org/?p=8161

comment 6y ago · link · parent

He evaluated Rust and Go a few years ago and strongly preferred Go.

https://blog.ntpsec.org/2017/01/18/rust-vs-go.html

comment 7y ago · link · parent

The chess channels you're visiting are grossly overstating Alpha Zero's impact. AFAICT, it hasn't made any impact on opening theory at all. AZ's strength is in the middlegame, where it appears to be slightly better than traditional engines (like Stockfish) at finding material sacrifices for long term piece activity and/or mating attacks.

comment 7y ago · link · parent

One use case I haven't seen mentioned is note-taking. Apple Pencil is a truly amazing device. I use it at work all the time, especially in meetings. It's quieter than typing and because I don't have my laptop open, I'm much less likely to get distracted by slack, email, HN, etc. It's also slower typing, but that may be a good thing because it forces me to mentally organize/consolidate whatever I'm writing.

comment 7y ago · link · parent

I can't remember what Senior VP equates to on the tech ladder, but in terms of his overall impact on the company, Urs is definitely an 11.

comment 7y ago · link · parent

You definitely can't force a draw against a higher rated player, but you can make one more likely by choosing quiet openings and simplifying in the middlegame. But it's often tricky to pull this off. If you make too many second-best moves in pursuit of simplification, you'll drift into a position that's both simple and bad. :)

comment 8y ago · link · parent

Svidler and Grischuk at chess24.com are fantastic, but they're both world class players and beginners will find their commentary and analysis difficult to follow. I'd recommend chess.com - Danny Rensch and Robert Hess are a bit more accessible.

comment 8y ago · link · parent

Urs Hölzle (engineering VP) and Eric Veach (AdWords) also don't get nearly as much recognition as they deserve.

22.

Building a company around TypeScript(medium.com ↗)

2 points · by pk2200 · 8y ago · discuss

23.

The Bitcoin Apocalypse Is Coming in Mid-November(blog.rongarret.info ↗)

203 points · by pk2200 · 9y ago · 176 comments

comment 9y ago · link · parent

I have a similar Google lunch story. A guy sat down, introduced himself as Rob, and told me it was his first day at Google. We had a nice chat, and later I told my office mate that the new guy seemed really smart. He laughed and told me I'd just had lunch with Rob Pike. :)

25.

How the New Math of Gerrymandering Works(nytimes.com ↗)

3 points · by pk2200 · 9y ago · discuss

26.

A Large-Scale Study of Programming Languages and Code Quality in GitHub (2014)(cacm.acm.org ↗)

189 points · by pk2200 · 9y ago · 66 comments

27.

Kotlin 1.2 beta is out(blog.jetbrains.com ↗)

1 points · by pk2200 · 9y ago · discuss

28.

Nothing Is Too Strange for Cities Wooing Amazon to Build There(nytimes.com ↗)

2 points · by pk2200 · 9y ago · discuss

comment 9y ago · link · parent

Gogland is great, and especially easy to learn if you've used other JetBrains IDEs (IntelliJ, PyCharm, WebStorm, etc).

https://www.jetbrains.com/go/

comment 9y ago · link · parent

No, and that's a shame, because the right half of the spacebar would make a perfect enter key. FWIW, when I had right-pinky pain years ago, I remapped semicolon to enter with good results.

If you don't mind non-standard layouts, here are some excellent keyboards that give your thumbs more to do. :)

https://shop.keyboard.io/

https://www.trulyergonomic.com/store/truly-ergonomic-mechani...

https://www.kinesis-ergo.com/shop/advantage2/

123