skysight-inc/HackerNews huggingface dataset:
I have to commend the author for taking on a beast of a task. It's not easy to be learning/relearning chess while also trying to program an engine!

I think programming a chess engine that can beat most club players (let's say sub-2000 rating) is not too hard. At that level, human players will make inaccurate moves (as well as blunders at lower ratings). It is however much harder to develop engines that are competing at GM level (~2500+).

This wiki has some good high level articles (https://www.chessprogramming.org/Main_Page). Even something like a chess bitboard representation is non-trivial to code.

Implementing minimax and comparable algorithms may be straightforward, but the actual evaluation of positions for traditional engines is a distillation of thousands of pieces of expert knowledge. See for example the parameters that can be tweaked in Fritz (http://help.chessbase.com/Fritz/16/Eng/index.html?000038.htm).

If you look at the history of chess engines (https://www.youtube.com/watch?v=wljgxS7tZVE), by the 1990s and later most of the top chess engines have had masters, international masters, and grandmasters intimately involved with development. For example, Deep Blue had several consulting grandmasters. Rybka (the world's best engine 2007-2010) had IM Vasik Rajlich as primary author and GM Larry Kaufman closely involved with tweaking its evaluation functions. Kaufman also went on to write the (still) very strong engine Komodo (https://ccrl.chessdom.com/ccrl/4040/).

Traditional chess engines used to have glaring weaknesses like playing poorly in closed positions, being poor at avoiding disadvantageous endgames, etc. By the mid-2000s many of these weaknesses disappeared, but as recently as Fritz 9 there were well known opening sequences where engines could be tricked into playing losing lines.
"With cookie-based auth, the user can't (except for digging into the settings / dev tools) make the browser stop sending a particular cookie either."

I am a user and I can easily stop the browser from sending a particular cookie, without digging into settings or dev tools. This is assuming the operating system lets me run whatever software I choose.
I’m curious to hear what about creating a multi-page application you found to be limited by react. react-router solves this problem quite well. Personally I’ve had a lot of fun using create-react-app to quickly get rolling on side projects without worrying about the painful setup bits and the documentation is pretty good.

Having said that, I don’t know enough about your use case to say that react is a better choice.
It is a useful observation when the vast majority of users using Signal do not realize this.
I wrote a chess program in college, and agree that it was fun. But isn’t the whole exercise a bit outdated? Building a chess program now surely would start with deep learning
Collectivism killed hundreds of million of people in the past century alone. This was also rationalized. Rugged individualism is much less a-social from that perspective.
I'd say Avengers: Endgame lived up to the decade of hype, which is no small feat.

LotR sequels probably had a lot of hype prior to release.

The latest God of War had a great release afaik.

To be honest, it's hard to remember which things were really hyped up before release and met expectations. I keep thinking of stuff I heard was good after it was release, and things which were hyped and failed, or havr not yet fully delivered on the hype. I can't think of any tech which fits the bill. Maybe raytracing? Most tech tends to be overhyped.
Good point on the playlists, it hadn't dawned on me that 'watch later' is a playlist. Haven't tried continue, in the past I've created a 'downloaded.txt' file which gets updated as files download and then checked before it runs again so it doesn't try to re-download them.
Allow to move a piece in go
Before you start writing a whole chess engine I'd suggest you code up a couple of end-game combinations that are known wins so that you get a good idea of what works and what doesn't for data structures and such. Once you can win king, knight, bishop against king reliably you're ready for tougher stuff.

Some notes from past efforts:

- A simpler but much faster engine will beat a more complex engine any time because the advantage of another ply easily outweighs the advantage of some clever algo.

- A 10x10 board with an unreachable edge has some advantages when laid out as a linear array because it allows for much easier memory management (premature optimizations and all that...). On an 8x8 board laid out linearly the edges have no way of limiting piece movement but on a 10x10 you get that for free by putting an 'impossible' value in the unreachable edge fields. Even a knight won't be able to jump that effectively two field wide edge. This turns all legal moves for all pieces into a simple offset rather than a two dimensional affair.

- Optimization of engine code is much harder than optimization of the yield function.

- It is much better to not generate 'bad' moves than it is to prune them away after a lot of extra work has been done. Colin Wrights' law: 'You can't make computers faster, you can only make them do less work' clearly applies here.

- memoization can bring insane speed gains.

Good luck!
> It's unused in English and therefore doesn't really have a name

No, it definitely has a name. Tilde. Heck, it's even the name used for the ~ symbol in Unicode, which famously names all characters with upper-cased English words. Just because it's not used in English orthography doesn't mean that there isn't a name for it, even if it's merely a borrowing.

> If you were studying Greek, you'd call it a "circumflex".

I suppose I would. Somewhat off-topic, though.

> Spelling it as "tilda" just reflects the fact that a reduced vowel in English may be spelled in any number of different ways (and "e" is particularly unlikely)

Or, as GP explained, they just misspelt it.

Responding to a later comment:

> you could easily go your whole life without ever using the word

That doesn't invalidate the word's existence in the language.
Maybe this is true, but without any sort of evidence or detail it reads far more like you status signalling how above-it-all you are than a meaningful comment.
Dave Matthews. ~1998.
> Last I looked, Apple Health data doesn't leave the phone - there's no "cloud" aspect.

Apple Health data is stored in the cloud, why would you think otherwise? They don't store all of it but they do store some.

> They could of course change that, or sneakily exfil it. The first hasn't happened yet

It already happened, Apple Health data was always stored in the cloud.
Signal can at least have timeouts for requiring re-auth (typically biometric).

The isolation concept can indeed apply to more than just functional separation, including separation in time, or in search depth (number of records returned) or by classification. It would be quite simple -- require auth to scan backwards more than an hour. Or 'press and hold to mark message as sensitive|expiring'. And possibly require a passphrase to access those sensitive messages / threads.

I've applied these techniques for database systems where NTK (need to know) rules apply, to force queries to be narrowly scoped. Likewise system backups don't all need to be online (or in the tape robot), most restores are from the most recent backup.
I have given lots of interviews and only one company (bol.com) was kind enough to schedule a call and gave feedback that why exactly I am being rejected.

Everyone else, if they bother enough, only sends the standard template response.
> “but because they're a hard-to-fake indicator of high intelligence”

Surely you realize large companies are full of people whose friends just told them what the questions were going to be? Memorizing 4 problems is still easier than cramming 40.
The Chinese in China are even more nationalistic and view Taiwan as a renegade province to be reigned in, forcefully if necessary.
It's very much live. It's the name of the symbol. It's sometimes used as a symbol to mean 'approximately', as in "~100 BC". It's used in IT as a symbol for a home folder on Unix-based systems and for pattern matching in other languages.

Regardless of the symbol's function in different domains, the symbol's name remains 'tilde'.

Maybe you don't use the word much but that really has nothing to do with the price of fish.
I've done the opposite; I got an offer, but was still interviewing, and I let the recruiter know, and that I'd be willing to sign within 24 hours if they add on a signing bonus. You obviously have to do some math on the EV and consider how inconvenient interviewing is.
Tricky Java Puzzlers (Part1)
Yea, wake me up when these models understand rule of physics and rule of law
I would say, yeah people in SF can come across a bit cold, but so do people in most larger cities, especially now during COVID. I now go out of my way to avoid people in a way I never would have before. SF pales in comparison to the overall apathy of places like NYC or London though. I find the weird outgoingness to strangers off-putting (as a Brit) in the smaller towns and cities in the states. People are always asking invasive questions, and it can start to get grating after the first few dozen times.
This was tough for me to read. I get panic attacks thinking about this regularly. I’ve heard all sorts of answers to this question, “accept what you can’t control” being the prevailing theme.

The issue for me has been that while that advice is easy to hand out and to some degree I agree with it, it doesn’t say anything about how to reach that point of acceptance.

I’ve tried a lot of things to alleviate these panic attacks, and that’s as successful as I’ve been so far.

The answer: meditation and medication.

I visited a psychiatrist this year after a particularly difficult time and got diagnosed with an anxiety disorder. The doctor put me on a program where I started with natural alternatives, I was hesitant to try medication. But eventually, once it was clear that the natural remedies were not working, I put my reservations aside and tried the medication the doctor prescribed. And lo and behold, it’s actually helped. I don’t get the panic attacks as often and when I do they are not as bad.

There is only so much that medication will do for you however. My psychiatrist recommended I a read a book called “10 percent happier”, and this has helped become more aware about what goes on in my mind and what my body is trying to tell me.

P.S. - this has worked for me YMMV.
I haven't used it seriously for that purpose so I can't comment :). Just my home setup. Their other products have their rough edges though so I can understand.
GitDuck (YC S20) Is Hiring a Product Engineer (Remote ~UTC+0)
There's very good advice in there for people in leading or mentoring positions.

I am in academia and I noticed many professors are a mixed bag when it comes to such communication skills. They don't really compliment students much for their work or results. Basically all feedback is target at existing issues and how to improve things. I feel many people can quickly get discouraged by this.

When I give students feedback I always start with thanking them for the work and pointing out some things I think they did very well.. Most students seem to appreciate it a lot.
CSS in SVG supports media queries[0] so it's entirely possible to change the display of elements depending on the size of rendered image. You could have fills, stroke widths, or whole elements change properties at particular size break points[1]. At small sizes you can use thin strokes and solid fills and larger sizes thicker/varied stroke widths and gradient/pattern fills.

[0] https://www.sitepoint.com/using-svg-with-media-queries/

[1] https://css-tricks.com/svg-properties-and-css/
>open should be preferred and promoted

And I’m saying that preference is a function of many parameters, and you can’t change preferences by just promoting a new parameter to the public. They’ll still have other important (to them) unrelated concerns with more weight. What we think it should or should not be is effectively irrelevant to their minds. To catch them, open IMs should have their whistles on top of regular bells, not instead. This looks like a strawman because it addresses (I believe) a wrong premise.
Black Doctor Dies of Covid-19 After Complaining of Racist Treatment
You are most definitely not alone.

And you reached out unabashedly!

Thought I would keep it real, one traveler to another. You are deserving.

Glad it helped.

Remember, you don't have to accept it. Anything can happen! Maybe it will.
Ask HN: What video games got you thinking about society this year?
I recently played through the original Deus Ex. The game had a storyline that was so good it felt at times like it wasn't a computer game but a novel that you happened to be able to play.

The authors don't shy away from the big questions, like: are humans really capable of governing themselves in a world of computers? Is technological progress worth sacrificing for social stability?

Though there are plenty of outlandish elements to it (secret societies, conspiracies etc) some parts of the game even seem oddly prescient today. There was civil strife, powerful AIs, income inequality - there was even a plague called the Grey Death and a limited supply of medicine that people were fighting over.

What video games got you thinking about society this year?
The US could learn from this but is far too anti-immigrant to do the same.

Americans accept immigrants into their Armed Forces but regularly deport them even after they’ve served and been in combat.
His autobiography "Miracles of Life: Shanghai to Shepperton" was a joy to read. His read like life well lived.
>Spotify objectively sucks compared to plenty of other services. Is it possible you haven't tried those other services?

It's just your personal experience that is different. Same for the other guy, same for me.

I've been on a paid accounts for Apple Music, Google Music, Yandex Music and even Youtube's adhoc solution for music. At least 1 year each (almost for entire time since the launch of Yandex music).

Spotify beats them all. Both recommendations and content (though we have to agree that content part can vary based on your location). Never had a chance to try Rhapsody.

>that when I pick some electro swing band it recommends death metal

That's how Google Music worked for me though, not Spotify.

Yandex had best UI but worst recommendation system (and lack of content).

Apple's recommendations are about as bad as Google's. Better UI but again - did not have music I wanted.
I'm honestly unsure if you're advocating for ageism or for people with many short-stint positions.
Gosh I love Ratatat’s Magnifique.
From time to time, I've gotten really good explanations. One was that the perfect candidate fell in their laps, and not to look at it as "I failed," but they the company got really lucky.

Another was that I did well and people liked me, but they realized they actually needed to focus on a different position. This meshed with things I learned during the interview.

Granted, these are the low-risk rejections where giving me the reason doesn't open up the company to anything legally, but it's still appreciated.
Nice. Some look sort of acid/trippy but others look very slick and eh, super-usable.
I'd love to play with an actual implementation. Something Dear ImGui-sh would be great...
Deepfake Queens Christmas Message
It amazes me that FAANG companies continue to grow despite such promotion focused mindset among employees.

Being a startup founder is much harder than working at FAANG. You literally have to fight everyday to earn your right to exist as a company. You cant create some fancy slide deck and come up with some BS reason why you should launch something.
That's why could should use nginx and cooperate with the app. Maybe 'http_auth_request_module' for subrequesting to the right service, but I'm guessing passing correct headers will could do as well
We don't need to go to this extreme.

Restore copyrights and patents to 25 years. Place burden of proof on the copyright claimant.
Will I get censored for upvoting this story? ;)
Flying Car Costs $599K–and It’s Now Street Legal in Holland
Please post this to Reddit, it's not what HN is for.
Thank you.
"TODO

Nothing. This thing is getting messier, buggier,
slower and less maintainable with each release.

Time to move on."

https://opensource.apple.com/source/Chess/Chess-321/sjeng/TO...
> just macro-decorate the main function, sprinkle some async/await around, maybe add a join or a mutex somewhere, and then pretty much forget all about event loops, messaging, threads and whatnot

that is ... not how I have experienced it. I work on building highly concurrent systems every day but async drives me insane. to me the fundamental issue is that although the code now reads linearly, it no longer executes linearly (or reasonably close to linearly), which is 1000x more confusing.

the other thing, when I'm using rust to build something high performance, part of the reason is it provides greater control. I just can't square that with macro-decorating my main function, and handing over the core control-flow to someone else's runtime.
"if you like comic Sans, you know nothing about typography. If you hate comic Sans however, you definitely know nothing about typography"
That’s true, but the decision should be made by the company as part of policy, not by a group of disgruntled employees, who don’t represent the company as a whole.
>> despite having a great looking resume

I need to know if he also used Comic Sans on his resume.
It would help to know if you’re aiming at casuals, semipro or professionals. Those groups have very different needs.
Vegas fits most of my needs, but I hate that it doesn't support mkv and other formats out of the box.

I don't use windows movie maker but there's a lot of laymen people that still do because they understand it and it works. I haven't been able to replace it for them yet.
> Google always had internal review processes. If your argument is not that the new review process is unreasonable, just that people were hired under the expectation that there would be none, then I get where you're coming from but it doesn't sound very likely to me.

Here is my steelman position: I think the objection is that the old internal review was reasonable, and while the argument can be made that the new one does not seem unreasonable to many people under the principle of "don't bite the hand that feeds you", it's reasonableness in a faux-academic setting is at least debatable, and in any case it is inarguable that the new one is more restrictive than the one that was in place when these researchers were hired.

So, at the very least, this seems like a unilateral bait-and-switch on Google's part. The company is now reneging on the representations made to prospective employees regarding their academic freedom.

"I have altered the deal; pray I do not alter it any further.":
https://youtu.be/WpE_xMRiCLE
Cyber Security Books Everyone Should Add To Their 2021 Reading List
This might be more about covid and not so much about sf?
It seems we're at a (local?) maximum with JWT over cookies + refresh tokens + blacklisting.

I'm not sold on refresh tokens being a strict benefit because in the end you still have to maintain state to make sure they can't be used indefinitely.

In the end though, opaque tokens are still the easiest and are way simpler to wrap your head around. Allow calls to redis or the auth server itself early on, and if that extra call really becomes a problem, start doing a push model (where the auth server pushes out updates to others) with caches near every service.
(Windows 10) Why still no option to disable stupid volume OSD?
That's the main reason I'm still on windows 7. There is an instruction to debloat windows 10 and there is a way to make it look like windows 7 and disable updates, but still can't disable volume OSD. Yes, there is Hide Volume OSD, but it not always works and volume OSD still appears while in exclusive fullscreen games. For example, I want to be able to use G-sync compatible mode on my monitor but volume OSD is unbearable but I like to change the volume a lot in games. How do you think, is there a way to disable volume OSD naturally? Maybe through editing some system dll or .exe?
The refresh rate of 16 seconds for the whole display is not reasonable in my opinion. Unless you just use it to display static images that don't change while you're looking at it. With partial refresh it would be ok, I think.
I lived in London for a decade before moving to SF. SF is significantly more friendly, even now during COVID - walking along a random residential street, chances are > 1 in 4 that passersby will say "hi!" if you acknowledge them. This does not happen in London. Sure if you walk down Market you're unlikely to find a lot of folks wanting to pass the time of day but Market != SF
It’s curious that the most complete peer-reviewed report on the Pfizer-BioNTech COVID-19 vaccine got less attention on HN than the press releases about the trial and approval process. I’m sure it’s largely luck of the draw but it would have been cool to see more discussion here.

In particular, Figure 2 could be of interest to anyone receiving this vaccine as it provides a detailed breakdown of % participants experiencing various side effects.
As if there would be an "actual market value". There isn't one number. Maybe there is a company out there that you perfectly match with and which is ready to pay you twice of what other would pay you.
> I'm aware that at some point the Sun will expand and engulf Earth, but I'm not terrified of it.

Mainly because you won't be there when it happens when it happens, but would you feel the same if you felt earthquakes, nuclear effluence spikes, droughts or landslides from the few times it rained, plus all the aforementioned calamity? It's a visceral feeling that you carry with you for the rest of your Life, and it manifests in different ways depending on the person one of the most prevalent being depression and anxiety as I've seen far too many succumb to alcholism, drug abuse and SSRIs just to cope with the antipathy and eventually apathy towards World around them.

That's what I (and many more like me endured in that period in CA) saw and lived while I lived there until my early 20s, so we adapted (as I'm multi-generational) and I personally sought to apply my skill-set to what I felt had the best chance of ensuring we as a Species transitioned to a sustainable system that spanned: Renewable and sustainable Ag, Farm to table seasonal cuisine, Energy (solar), EV, Currency/Monetary system (Bitcoin) and then I got stupidly ambitious and almost made it to SpaceX this year.

Again, you can take your placid (in my view monotonous and short sighted) and insular existence but the truth is I always wanted to live my young adult Life this way and I have inspired more to pick up where I left off. I wanted what I went through to be for something in order to be a part of something that helps us transition out of this horrid system that has devastated our ecosystem and now looking back on it all I know I did something right.
Simple Writing Text Animation
I believe it is, cause on HN we'll see different kind of responses compared to reddit.
But they haven't thought through the implications. As far as I can tell, they ignore the implications of optionality which has mature mathematical frameworks for reasoning about such things. That's like making a Newtonian argument in a relativistic universe. People will analyze it in terms of options calculus even if the authors didn't -- I know I would.

I'd like to see an argument explicitly from the calculus of option theory, which is the operative mathematics here. I am not saying that a compelling supportive argument does not exist, just that a credible argument must be presented in these terms because that is the central mechanic. Maybe there are some subtle arguments that make it a good idea in this context but on the surface it is quite apparently a really bad idea with a lot of literature to support that impression.