skysight-inc/HackerNews huggingface dataset:
Yes, even a simple implementation of selfpreservation would make KI so much more realistic. Meaning, if the enemy has low health, he is likely to run away. Or if they see all their allies die, etc.

This is really not so hard to implement, simple games could do this for ages.

Or at least basic tactics, I think in Far Cry 1 enemies did not run away, but were smart enough to sneak and circle around you, later in Crysis or the other Far Cry titles, they were just cannon fooder. Makes everthing more hollywood kaboom
> globalization is why Toyota manufactures cars and car parts in 18 countries,

Definitely not. It is because of tax incentives under protectionist policies. A perfect free-market globalized world would actually see cars being manufactured in just one place for maximal efficiency.
> But a lot of the US is not like this-- school districts, municipal and county government, etc would do pretty poorly to follow some parts of these guidelines, and quite well served to follow others.

True - I think the playbook is specifically oriented to state government folks - not as much municipal or county.

> I've too often seen someone take a document like this to justify maintaining a custom built municipal accounting system

Please feel free to submit a PR to help make that clearer! I would only say that some COTS solutions can also end up in a "no one knows how to maintain this" after enough custom code has been added.
Coronavirus measures may have already averted up to 120k deaths across Europe
Of course there is. The gravitational potential does not depend at all on the (non-relativistic) velocity.
Thanks amai for the submission. ito formed when a group of privacy-focussed contact tracing teams joined forces after the German government's hackathon in late March. We have a prototype working where you can try out the Bluetooth distance measuring between two devices. Find our latest release here:

https://github.com/ito-org/react-native-app/releases

The global TCN Coalition (https://TCN-coalition.org/) which we formed with many other groups from the US and the UK, is standardizing a privacy-first protocol that will be interoperable across borders.

Feel free to contribute and to spread the word so we can make sure everyone can visit other countries with some more reassurance and without needlessly giving up their identity. Track infections, not people!
You had me until you got to the president paranoia.
A Tale of Tough Cities
The above thread about using DFU to recover a bricked MacBook confirms this: To HN experts, the device was bricked, until a new repair step was made known that could repair the issue (“unbrick it”).
One thing folks haven’t mentioned is that there is a slight incline at the parking spot to help see the screen.
Know How to Tell If Sore Throat You Suffer from Is Due to an Allergy or a Cold
Low hanging fruit would be to learn Kotlin.
> The biggest moral hazard is in colleges. The boards of colleges justified higher expense structures in the name of trying to win a zero sum rankings game.

That's not what "moral hazard" means.
There must be a dozen or two "100% of the time" comments. Collect them all and make a mock/parody HN thread.
Might not be a bad idea to buy another laptop (cheap) and just boot it up once a month to make sure you can use it, and if your system dies, then just pull that one out and use it while Apple RMAs your primary. If the cheap laptop doesn't have enough power, just connect to an Amazon Workspace or something and use that until your normal laptop can work again.
The only issue I’ve had with CardDAV on FastMail is a ridiculously obscure edge case: it doesn’t like the ID strings of rooms on my Matrix server (e.g. !randomcharacters:example.com — it strips out the colon and everything after it). Fortunately, iCloud doesn’t mangle them and and the contacts app on iOS lets you merge contacts from multiple sources.
I've used this pattern before in game AI's and it works well. If you combine it with a somewhat random searching incentive the "hive" will spread out and search for the player(s). I also let the "hive" communicate with each other if they find a player they let each other know and then set a new waypoint for that area. When they repulse each other they take different pathways around objects and it looks a feels great to play against.
*60-Year-Old software systems
Every HN thread on economics has a bunch of comments like these that are earnestly misinformed about economics. When commenting on something outside of your wheelhouse, please recall Socrates from the Apology: "I observed that even the good artisans fell into the same error as the poets; because they were good workmen they thought that they also knew all sorts of high matters, and this defect in them overshadowed their wisdom."

I'll point out just two deficiencies in these threads and leave the rest to you. If P/E ratios in the US are "too high," then people would invest their money elsewhere for better return, right? Maybe international stocks or bonds or whatever. And why don't they, if they have every incentive to seek a better return? Because there are no better returns, even in countries with higher interest rates. So how could P/E ratios be too high? The more likely explanation is that this is the "new normal" - savings outpaces investment opportunities for many reasons (aging populations, growth in countries with stronger saving cultures, etc.), which pushes up the premium on assets.

Second, on the subject of interest rates and QE, a little international perspective would make you reconsider the effect on the overall economy. All other developed economies have lower interest rates, more QE, and slower growth than the US. Look at Europe, look at Japan. The issues of "why are asset prices rising" and "why is inflation low" are much larger than just US policy. We are talking global trade and demographic factors that influence these things. The current stance of fiscal and monetary policy is the symptom, not the cause. And in fact the US has been significantly more successful than our counterparts on that topic, as a fast and strong response in 2008 pre-empted the kind of drawn out economic malaise seen in Europe, where the ECB waited years before easing policy to the degree that we had. Now Europe has lower rates, more QE, lower inflation, a worse labor market, and less growth than the US. And that's before factoring in the coronavirus crisis. Policy may have increased inequality in some ways, but if you're going to make that claim you have to also answer the corresponding counter-factual: potentially the poor would have been even worse off (relative to the rich) if there were no policy interventions and the labor market collapsed. There have been some papers on the topic, and it is not at all obvious that inequality is worse now than it would have been if there was less policy intervention.
QE1 worked well and the banks are not corrupt. It's in the later years, while stocks and the economy were on a tear, that the Fed at. al. refused to raise interest rates ... this perpetuated the housing bubble among other things, which is the #1 source of inequality (hint, it's not between the billionaires and the rest of us, it's between the propertied and the unpropertied).
I don't know why everybody is talking about air conditioning; I've never used air conditioning at an outdoor movie theater. Maybe if you live in Southern Florida running the AC would make sense, but right now at this time of year most of the country is firmly in "bring a sweater" territory.

Keep in mind that outdoor theaters don't work during the day, only after dark, when everything cools down...
Review: Gioteck TX50 Gaming Headset – Cheap and Cheerful
Thanks for the feedback! I will update it with a screenshot (you can see ones I've put on my github at https://raw.githubusercontent.com/souramoo/party/master/publ...

You can turn your camera off once you're in a room too - I actually made this to try and host my birthday party next month where it would be nice to see everyone :)
"sizeable subset of the population" is a bit of an overstatement. Most people are fine with running Windows or macOS. There's just a vocal minority that wants open source stuff.
Ask HN: How can I quit my dayjob without selling my soul
The position I am in is the following. From the greedy contract I am under all circumstances fall under the and if the matter is taken to court. Not that I dislike my job, but not being able to do things that I truly could help people and that I love truly sucks the soul and will to live out of me. '

I do not even feel capable of writing the project plans necessary to apply for VC, as that could arguably theirs. Ideally I would like to work on a crowdfunded salary as that would mean that I could stick to the truth and what is right at all times.

I haven't that much stored up but am prepared to live on a rather minimal income. Furthermore I've come to the conclusion that my skills as a coder doesn't measure up to what is out there. Also there are way for few to me to get this working.

I'm sure I am not alone if someone else has the same confusion yearnings please chime in!

https://github.com/richard-jansson/veta
https://www.youtube.com/watch?v=8kuppby-KJ0&feature=youtu.be
https://lobste.rs/newest/TBF
non functional in some browsers
https://htmlpreview.github.io/?https://github.com/richard-jansson/sigma/blob/master/index.html
https://github.com/richard-jansson/sigma
https://github.com/richard-jansson/roosevelt
https://www.youtube.com/watch?v=LHp7HCPdexk&feature=youtu.be
https://www.youtube.com/watch?v=vGuWZdh7EQk
http://tbf-rnd.life/
https://htmlpreview.github.io/?https://github.com/richard-jansson/roosevelt/blob/master/bootstrap.html
http://tbf-rnd.life/blog/2019/05/21/hello-world/
http://tbf-rnd.life/the-book-of-lesser-known-input-methods/
I have been quite happy with https://dmfs.org/caldav/. There is also a carddav client from the same publisher.
You're right, context is everything, and in this context a huge number of people who drive to work every day aren't driving now. So if fifty cars sit in a parking lot for an hour, and half of them are running, it's an extraordinarily small addition to the huge loss in overall emissions.
Diverging from the conventional shop (2014)
What’s creepy? The smiley face or that it requires a face? requiring a face is a good call
I had this same thought. I had to print out the install guides because I had no WiFi at the time.

I failed at the chroot process at one point and ended up nuking a whole install.

I learned so much then though that has paid off in my career. Good times.
What I get from this article is that OpenAI is in many aspects similar to other research organizations, but with more resources and better PR. I think this article is reassuring for anyone doing AI research outside of the big labs. However, I also think that nothing that the article reports puts OpenAI in a particularly bad light; it's just the ordinary problems a research organization typically has.

(Note: GPT-2 communications were unfortunate and insincere, but I've witnessed similar, less high-profile communication blunders.)
Seems this was posted primarily to market Saasify, so I'll take the bait: pretty cool that this was set up so fast. You've built a neat thing, Travis :)
It's sort of in-between. You're right that the rules don't exclude projects that require sign-in to try out. But users don't like it, and it's not encouraged. It's particularly repelling to readers if they click on a Show HN title only to go to a page that contains nothing but a call to sign up.
I don't think I'm alone in going to the cinema mostly for a shared experience with friends. For any other reason I prefer to watch at home, mostly on my laptop, albeit with a pair of decent headphones.
I bought myself Onyx Boox Nova Pro, that runs modified version of Android 6. It is fairly expensive, but so far it serves me well and I don't have to think about compatibility/sync much (have Play Books, Amazon Kindle apps installed, and it has decent PDF reader).

But other commenter recently shared fairly in-depth their problems with the device (the build quality can be apparently quite shody): https://news.ycombinator.com/item?id=22614971
Presumably you could set the fill radius to a maximum corresponding to the largest detection distance possible (for the monsters you have in-game or even in-level)?

There's no point filling an entire level if monsters only react when the player gets within say 30 tiles. Even line of sight should have limits.

You could add something like an A* heuristic on top where monsters are drawn to the general direction of the player based on a vector, but switch to shortest-path when they're close. (but then you worry about getting stuck I guess)
Valgrind is pretty robust and I've seen it integrated into many projects with little fanfare. Unit tests are just simulation runs.

I've done VHDL/Verilog and tons of software, the HW tools do lag significantly in my experience.
If the page explained why you added the form and made it clear that people are still welcome to try out the project, it would probably help.

Most likely, clicking and encountering nothing but a login form is the reason why people started flagging the submission. When users see a page like that, they pattern-match it to a different kind of submission—a boring corporate promotion designed to collect signups. (We get a lot of those.) Keep in mind that many readers will have clicked before looking at the comments.
Happy Hour with Architects Ep. 1: software-based microarchitectural attacks
Then don't go. This is trying to give some people some sense of normalcy. If it doesn't work for you, that's fine, don't partake. But that doesn't mean it's a bad idea because a small minority of people can't hold their bladder for 2 hours.
Before I learned enough to understand the compile-from-source performance myth, I once put Gentoo on an old 966MHz Coppermine box I had lying around.

I didn't have cross-compiling set up yet, and I unwisely decided to install X. And Gnome. And Open Office.

It compiled for days.
Right now, yes, but in usual circumstances you could just borrow a friend's box, your IT department could fix it, or you could have a el-cheapo Mac (either an old one or like a Mini from 2010) that can run Configurator (which doesn't require a recent version of OS X, I don't think).

Still sucks, just a bit less. not really different than an iPhone, except that you can rebuild those on Windows (for now).
Super fun take on spatial software with video calling. But made me kind of uncomfortable haha

Also, I'd try to make it easy for a person to leave the chat room. Couldn't find an exit. Not good UX

I'm sure you'll improve it along the way. Good stuff :)
It uses your face to make the little avatar to show to people as you move around the map! (as well as to animate the little emoji that follows you around!)
I honestly don't know if a show-your-face policy is the best to prevent people being mean to each other online - I'd love to hear your thoughts! You can read my code though, nothing gets saved anywhere and the video calling functionality is all peer-to-peer!
Yeah, I've definitely been in the UBI camp for a while, and I'm hopeful that if nothing else positive comes out of this that we'll rethink how we're structured as a society in that regard.

So it's safe to say I think more of the money should be going directly to the most vulnerable, but I'm also sympathetic to the point that, at least as far as the way we've structured our economy, public companies aren't allowed to prepare for a 100% loss of business for months at a time. How much grief did Apple get for sitting on a pile of cash when it could be "better spent elsewhere"?
I’m not affiliated with them and i realize it’s different from what you did here. But might be interesting for you to check out sococo.com
Show HN: How we made a combat system for a game without enemies
Wow I had no idea Patrick Winston did this as a recurring lecture! Last year I ran into what I thought was a one-off lecture about lectures on youtube, from maybe the 90s? Really great to learn it was a whole series.

Here's a link to a playlist of the older talk I originally watched https://www.youtube.com/playlist?list=PL9F536001A3C605FC
Sure, I’ll bite!

I wouldn’t mind someone to look at my horribly hacked together python helper scripts (python2: https://bitbucket.org/koalephant/shell-script-library/src/de..., python3: https://bitbucket.org/koalephant/shell-script-library/src/de...)

I do not write a lot of python so you can’t hurt my feelings telling me how bad they are. If anyone feels really bored and wants to improve them, there’s unit tests that should help (technically the unit tests cover the shell functions that call each helper script) in the repo.

If anyone feels ridiculously bored and wants to port one to ruby or Perl (or heck even awk if you’re feeling particularly adventurous) I’ll be forever grateful.
Well, the choice to make AI hordes braindead zombies who hust mindlessly storm you, is confusing to me as a player, too, if the enemie are supposed to be not zombies, but smart special forces.
no, because literally every application except the most trivial touch c.

every major RBMS is c or c++.

you don't write frontend's with c/c++ but if you're interacting with a datastore most are c.

the problem with c and c++'s age are legacy behaviors related to them we've since determined are not beneficial to actual programs and make reasoning about them harder.
You mean that insanely shitty tool that powers HN search? No thanks.
I think that I agree with this ideologically, but the reason nobody lets that happen is because cumulatively, "retirement accounts" are the single largest "investor" on the stock markets.

So in this case "screwing investors" basically amounts to destroying the life savings of the elderly.
The point is that the rule against jogging is stupid and counterproductive. Improving cardiovascular health has a protective effect against infections in general.
That wasn't the question I was answering or was asked, I think.
> MIME is quite complicated, and in fact, I challenge anyone here to point to any mail client properly support complex MIME structures, with hierarchies including multipart, alternative and so on.

What failures do you see most often in this area? Alternatively, what popular software gets this wrong?

I'm not disputing your statement. It's just that one of my back burner hobby projects includes a new MIME parser, and identifying common pitfalls might help me feel confident that I get it right. Finding useful test data turns out to be harder than I expected. It's doing quite well with the messages I've thrown at it so far.
Use strict yaml, solvable problems solved.
i think show-your-face is a reasonable burden that will help improve conversation quality
My 3-D printing co. is making thousands of COVID19 test swabs a day – here’s how
That comment has a serious nationalistic bias so take it with a grain of salt. Pro-tip when learning about Eastern Europe or the Balkans - there are a lot of conflicting versions of historiography. Every nation, regime or even political faction builds their own narrative that often contradict each other.
The fact that if I hadn't used a physical barrier then my face would have been immediately fed into a detection algorithm without any explanation or warning.

I get that it's just a tech demo but a small disclaimer about what will be done with the data before requesting the permission would go a long way.
I find your implied assumption that starting a company should in normal circumstances be seen as a get rich scheme that pays out in under 10 years as completely toxic, but that's an aside.

The point is large companies shouldn't be hurting for money, they have two big options on the table to generate money right now: issue stock or bonds. However, there are a lot of really stupid large companies that decided to max out their credit cards in the good times to pump up their stock price via buy backs. They can't issue bonds, but they could still issue stock. However, that would cause the price to crash, and Trumperino in Chief can't allow that to happen.
There are many many bacterial enzymes known to be able to able to break down plastics such as PET etc. But one bottleneck has been low/slow catalytic activity, so it sounds like they passed that hurdle which is impressive!

However, a non-insignificant practical challenge is that enzymes are often very picky about what physical environment they work the best in. The pH has to be just right, as well as the temperature and even having enough metal ions present (often needed for the enzymes catalytic site). Looks like they engineered it to work at higher temps, which is another feat.

There are also challenges in scaling up recombinant enzyme production: making sure the enzyme's activity isn't affected by post-translational modifications (such as glycosylations) in the host organisms the gene will be expressed by, and making sure the enzyme maintains it's catalytic activity after it's been purified and concentrated.
> I started using pinboard.in, which archives all my likes, but the search suuuucks.

What's also annoying is that I don't think there's a way to exclude from_twitter bookmarks in Pinboard when you search. So now that I enabled this feature a while ago everything is cluttered with tweets and Pinboard become useless for me.

Something like a -from_twitter search would be helpful but there's only a "+" search right now.
I've been working on a small outdoor / ultralight hiking gear management app https://www.packrat.app. I've been getting some good feedback from memebers of the ultralight hiking community and am using this as an opportunity to learn Kotlin Multiplatform. My initial prototype was written in SwiftUI. From there I rewrote all the state management in a shared Kotlin library and I'm now slowly working on the Android version using Jetpack Compose. The whole stack is experimental and has been a fun and sometimes frustrating learning experience. Would love some feedback from HN on the app and my general approach.
Proper physical distance is quite far for joggers: https://www.fox13news.com/news/simulation-research-shows-cov...
I heard them call her gilipollas, idiota, payasa in response to her calling for help. [Feel free to Google those terms if anyone reading doesn't speak Spanish.] This is unnecessarily mean-spirited and doesn't fit this "we're all in this together" spirit I am so glad to see in other places.

The video clip doesn't show what happened before but I am sure a hefty fine would have done the trick.
How would you measure this gravitational potential?
> I don't think the article actually has any evidence to support there IS a "surge in drive-ins around the country".

Well there probably is. But drive-ins at this point are incredibly rare. When I was a kid, many decades ago, it was already past the golden age of the drive-in and the few remaining holdouts were in the process of folding.

Some tenacious holdouts made it. A few closed theatres reopened.

https://www.driveinmovie.com/united-states

> Currently, there are about 325 Drive-in Movie Theaters still operating in the United States. There are many more that are permanently closed but still remain standing and could potentially be re-opened at some point in the future. In fact, there have been several drive-in theaters that have been re-opened the past couple of years after sitting dark for 20 and even 30 years.

So 325 maybe wasn't even the nadir as many have reopened and I doubt as many have been built anew. It's not a lot of theatres on the national scale.
Strange to think that building an actual web spider to make an independent index of public tweets is probably illegal these days.

This is basically a frontend to Twitter’s own datastore via the API.
I gave up Java immediately after that class!
I'm not sure how I'm supposed to realize that when all the cops are clearly wearing masks.
Free Computer Science Courses in the Time of Covid-19
Worse, nobody knows how to maintain it and the vendor is gone and took the source with them.
In memory of Conway: Game of Life at warp speed in Lisp