skysight-inc/HackerNews huggingface dataset:
Speaking of boids and social distancing, Craig Reynolds (author of Boids) has also developed the open source library/toolkit "OpenSteer: Steering Behaviors for Autonomous Characters". It's based on his GDC 1999 paper, "Steering Behaviors For Autonomous Characters". I think there's a Unity3D plugin that incorporates a derivative of that code.

In OpenSteer terms, social distancing would include "unaligned collision avoidance" and "separation" steering behaviors, which can be combined with other behaviors including "seek", "flee", "pursuit", "evasion", "offset pursuit", "arrival", "obstacle avoidance", "wanderer", "path following", "wall following", "containment", "flow field following", "cohesion", "alignment", and "leader following". You can also implement your own custom plug-ins, if you need something special like "curly floor spinning".

https://www.youtube.com/watch?v=T2iZPRif2i4

http://www.red3d.com/cwr/steer/

http://www.red3d.com/cwr/papers/1999/gdc99steer.html

http://www.red3d.com/cwr/steer/gdc99/

https://forum.unity.com/threads/opensteer-for-unity3d.26906/

https://code.google.com/archive/p/opensteerdotnet/

https://github.com/ricardojmendez/UnitySteer

http://opensteer.sourceforge.net/

OpenSteer is a C++ library to help construct steering behaviors for autonomous characters in games and animation. In addition to the library, OpenSteer provides an OpenGL-based application called OpenSteerDemo which displays predefined demonstrations of steering behaviors. The user can quickly prototype, visualize, annotate and debug new steering behaviors by writing a plug-in for OpenSteerDemo.

OpenSteer provides a toolkit of steering behaviors, defined in terms of an abstract mobile agent called a "vehicle." Sample code is provided, including a simple vehicle implementation and examples of combining simple steering behaviors to produce more complex behavior. OpenSteer's classes have been designed to flexibly integrate with existing game engines by either layering or inheritance.

OpenSteerDemo's plug-in framework allows a game AI programmer to quickly prototype behaviors during game design, and to develop behaviors before the main game engine is finished. OpenSteerDemo allows the user to interactively adjust aspects of the simulation. The user can: start, stop and single step time, select the vehicle/ character/ agent of interest, adjust the camera's view and its tracking behavior.

OpenSteer is distributed as open source software in accordance with the MIT License. OpenSteer was developed with the generous support of Sony Computer Entertainment America. OpenSteer is supported on Linux, Mac OS X and Windows.

Last modified: October 25, 2004
We need more ventilators. Here’s what it will take to get them
Ontology Price Analysis
> The C++ standards committee can standardize a backwards-incompatible "new" C++ for all I care as long as they don't call it C++.

This x2. It's only C++ if you can optionally refactor random lines of code in a project written in compliance with C++98 using new features and still get a valid program.

Once you mess with the language in a way that your C++98 code is either not supported or requires rewrites or redesigns to comply with the new standard then quite obviously it is not C++ anymore.

Semver matters.
Yeah, I think Python 2 has been successfully killed at this point. There are a decent number of projects which still need to migrate (and I recently became responsible for a couple) but it’s been a long time since I heard anyone claim they can keep Python 2 forever. The maintenance burden of keeping Python 2 is rapidly increasing as libraires drop support.
How to sell products from home online free
Show HN: Read the Classics While at Home
Correct, Fuji sensors are made by Sony and are mostly the same (including the use of Dr-Pix adaptive pixel capacitance), except that Fuji has a nonstandard Bayer pattern.

I think just about everything else about the Fuji cameras is markedly better than Sony's mirrorless offerings. I occasionally wish I had a full-frame sensor, I suppose, but those are very overrated by prosumers.
Working on a online book reading (and later, writing) site. Would appreciate the feedback, and also let me know which books (public domain for now) you'd like to see available.

Will work on a way to write your own books as well, probably integrated with Gumroad for payments.
The mystery behind Germany's low coronavirus death rate – CBS News
Netscape 4 was utter rubbish. There is a reason it was rewritten: it had lost the browser war, because it couldn’t be updated quickly enough to keep up with IE’s rate of adoption of new standard features.
> What the heck is this statement?

If you think knowledge of CS fundamentals is what is separating the hired from the rejected...

My experience from interviewing hundreds of candidates over the years at a top tech company is that the majority of candidates we reject have strong CS fundamentals.

> there are IQ tests composed of entirely of pattern matching shapes

And there are IQ tests/proxies that are entirely “verbal” like the GSS Wordsum - what is your point?

> I doubt you took an IQ test before or even properly accessed what it is.

I’m certified in my state to administer IQ tests....
Advertising Is Bad for the Environment
Scientists find bug that feasts on toxic plastic
Blender also has boids you can play with. Here are some fishy ones:

https://m.youtube.com/watch?v=zN2bhKyCJwk

It looks really good even though the "fish" are just made from two pyramids.
South Korean Biggest Bank Is Set to Enter the Cryptocurrency Market
I second this, so interesting to learn about all the characters that went through Bell Labs and the variety of things they worked on.
From the Flutter link:

> We do not yet use dartfmt. Flutter code tends to use patterns that the standard Dart formatter does not handle well. We are working with Dart team to make dartfmt aware of these patterns.

So it looks like they want to use an auto-formatter
Obsolete Technology in Unicode (2018)
As of now, before you can visualize your data structure, you must convert it to a compatible json string (like demonstrated in [1]). This json must match the schema of the visualizer you want to use.

For TypeScript/JavaScript however, my extension injects some helpers that convert some common data structures (like number arrays) automatically to appropriate JSON. It requires a deep understanding of the target programming language to see how such helpers could be injected.

I don't have this unterstanding for Python and would be very happy if someone who really knows Python could help me out.

[1] https://github.com/hediet/vscode-debug-visualizer/blob/maste...
The coronavirus can attack the heart as well
Why not leave home without your wallet, too, for that extra dose of third-world verisimilitude?
Yes, really, speaking from experience at CERN.

I was in a meeting organised by Apple trying to sell us how great it would be to adopt OS X and X server back in 2004.
Wow, never thought I'd see my paper[1] on HN :)

Even though getting the right performance was tricky, I was more frustrated with the lack of tooling, sometimes cryptic compiler messages and long compilation times for even mid-sized programs. Most of the issues were mitigated by the great community around Chapel. They are usually very responsive and helpful in their Gitter channel.

In regards to actual parallel programming, Chapel was a breeze. Documentation is solid and most of the parallel concepts were easy to use.
C++ is deprecating things over time (https://en.cppreference.com/w/cpp/compiler_support), for example some uses of the volatile keyword (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p115...).

So there is a path, but it has to take an upgrade-path into account for big legacy projects.
In practice, moving to a new compiler can be a big project for companies with larger code bases. Sensible deprecation of features could (and in practice) is part of that.

Even though the standard is quite careful, in practice big C++ projects sometimes rely on non-conforming behavior of the specific compiler version they use. An example is the MSVC template support which allowed constructs that the standard didn't.
The reason you may not be getting the answers you want is because your question is not particularly precise. It's kind of like asking "which programming books are good?" - Well, it depends on what you want to build. Some people will recommend Assembly books, some LISP books, some Python, and others Javascript, depending on what they fancy. Building a web application is different from building a compiler. There is some overlap, but what you need to know to be successful is different.

Trading is kind of like that. Long-term value investing, portfolio management, day trading, options trading, quantitative strategies, high-frequency trading, etc, are vastly different approaches, ranging from "assembly" to using a drag and drop website builder. All these can be used to make money, but what you need to know, and how you approach the problem, is different. Books will be useful for one, and totally useless for other approaches. Just like an assembly book won't teach you how to make a website.

You may want to think about what "kind" of trading you're interested in, and then ask for specific recommendations related to that. Otherwise you will just get people recommending random stuff they have some personal relationship with, like recommending SICP to learn programming. Looking at the answers in this thread, this is what's happening. They are all over the places at different levels of abstraction.

EDIT: Also, few people explicitly make these distinctions. Most traders I've talked to are "locked into" their approach and will talk about it as if there were no others. That's becuase of the bias they have. E.g. someone trading on fundamentals may talk to you about earnings reports but will likely not even be aware of techniques using ML models to optimize order execution or fancy order types. Just like many web developers will not be aware of how TCP/IP works, but only vaguely know that it exists somewhere.
If you're in 3D animation/modeling/whatever and have a little bit of experience, Blender has a pretty stable simulation of Boids that is lots of fun to play around with. It's been built-in into Blender since... For as long as I remember, and it has lots of properties you can play around with, and you can also make the boids be rigid bodies as well so they can interact with other elements in your scene.

Some links if you want to try it out:

- https://docs.blender.org/manual/en/latest/physics/particles/...

- https://www.blendernation.com/2019/07/06/how-to-use-boids-in...

- https://www.blendernation.com/2008/01/05/simulating-flocks-h...

- http://feeblemind.tuxfamily.org/blog/index.php?post/2007/12/...
Lets do some math.

Assume people live 70 years. That's about 25,000 days. Wuhan has 14,000,000 people.

One can roughly then assume

14,000,000 / 25,000 => 560 people die every day in Wuhan.

City was locked down for at least 60 days.

During that time you could expect

560 X 60 ==> 33,600 people to die of natural causes.

If no one was picking up their loved ones ashes for 60 days of course there is assload of urns stacked up.
Do you mean the arrow function syntax or the concept of anonymous functions (lambdas) in general? As someone well-versed in Lisp and new to JS I find the arrow syntax quite nice.
>>If every statement fit within the column limit of the page, yup. It’s a piece of cake.

could we just not do that?
Pandemic could spark unrest among West's urban poor – Red Cross aid agency
You could do so much better than the python 2 to 3 transition.

If the python 3 interpreter could still run python 2 code. If you could mix and match python 2 and 3 code on a per-module, per-file or even per file basis, then the transition could have been so much smoother.
This is going to sound snobby to some people but I don't care. I really believe this.

The whole book is written in Markdown. This is a huge red flag for me and the book goes in to the "no" pile pretty much immediately.

Distributed computation is a complex and complicated discipline. Moreover if you're going to write a book and you don't even realize that Markdown is completely inappropriate it calls in to question your authoring skills.

At best the use of Markdown is lazy.

If you are an expert in distributed computation I assume that you're probably capable of using LaTeX, DocBook, *roff, or some other appropriate technical authoring system.
Microsoft Toolkit 2.6.8 Crack with Activator Windows and Office (2020)
software
Singapore to make contact tracing tech open source
Its a forum literally made by an "incubator" that gets VC investors for startups. People that come to HN to spout anti-capitalist, anti-investment, anti-profits are in the wrong community.
Why does Yelp keep having these shady business practices ? Is it because their fundamental model is bad ? I actually like the product and to me it is indispensable if you are a tourist or have just moved to a new place.

Source - Google "Yelp threatening businesses"
The Covid-19 pandemic in two animated charts
Ask HN: Best technical interview you've had?
Perhaps a stupid question but why is everybody focusing on a Covid-19 test when a test for any virus (i.e. much less specific) would do as well.
This.

I'm currently working on a C++ project that has been taken out of cold storage and when the old rewrite question pops up the tech stacks considered for the job do not feature C++ at all. The main reason is that nowadays there are better tools and frameworks to implement non-performance critical parts of an application such as the GUI, which incidental takes over more than half the total lines of code, and the rest can be implemented easily with small support services developed in whichever tech stack you choose. Thus C++'s "jack of all trades" trait is no longer a major factor in the decision. Meanwhile the lack of a stable ABI starts to feature prominently as a reason not to adopt C++.
But they pulled all the birds off the street. Why wouldn't you at least put them back everyone around riding lyft bikes. Does this have anything to do with the virus.
which macroeconomics textbook ? thanks
Because percentages don't matter when you're poor. And, of course, a poor person will probably be renting, not owning, a home.

If you've only got $30 left to cover food and electricity (and your heating is all electric), you basically choose between food or heating.

Google seems determined to give me UK stats, instead of US ones. Perhaps in the US you become homeless before you have to make that choice?
Airbnb is a cool website to connect renters and letters but I wonder if they really need 7,000 people to do that?
Would anyone have a robust legal claim against them anyway?

I doubt Robinhood made any service availability guarantee direct to their customers, and their commitments as a financial institution presumably don't have strict by-the-minute commitments.

Unless it could be proven Robinhood deliberately stopped service to advantage themselves, I don't think anyone has a claim against them. In fact, even if Robinhood halted service for their own gain, it isn't clearcut.
Kent Beck on Naming (2012)
The reasons the transitions worked were that:

- the languages were not that different, so no need to learn the new version

- python core devs gave 10 years to make the transition. Then extended it.

- it was possible to write code running on python 2 and 3

- python is very expressive, hence the code base have way less numbers of lines than in C++

- python cared only about one implementation, Cpython. The rest of the world needed to follow. Some didn't, like Jython and stackless, and the community didn't blink.

Despite all that, the transition was very painful.
Or rabb.it (defunct).
> Or maybe you require brackets.

Your style should require brackets, and probably not be a single line
I agree that they started out kinda shitty on the web server thing, but they corrected pretty decisively. The web server was gone within days.
Kosovo’s government just fell – but it’s down to US meddling not coronavirus
Volunteering locally through a charity to put food on table while helping others against the effects of this pandemic? Not necessarily as a frontman, just call them and ask for what they need, with your skills. You would make friends for sure, and a network to rely upon in a few months, when the tsunami abates and life restarts, in one way or another.
I'm sure Europeans would have adopted any advances of great value to them, just like they adopted a lot of crops from the new world.
I think you might have gotten that wrong...
I don't normally complain about downvotes, mainly because I don't care, but in this case I'm simply disgusted that people are so ignorant and lazy that they'd downvote a statement of fact regarding fuel poverty.

Try checking the accuracy of statements before downvoting, and get out of your pampered, spoilt little lives once in a while and see how normal people actually live.

EDIT: Note, I'm not talking about valuearb here. They had the good sense to ask about it.
You don't say what your current competence is, a way back when I wanted to understand how it all worked, I read this book:

https://www.amazon.co.uk/Naked-Trader-anyone-trading-shares/...

Ignoring the 'anyone can make money' byline, a lot of the book covers how it all works. Of all the trading books I've read, this was the easiest one to follow, and the only one that I actually remembered what I'd read afterwards.

As a first step into online trading, I wholly recommend it, although I wouldn't follow his tips verbatim, and your mileage may vary, also do not bet with money you can't afford to lose, etc. ( https://www.begambleaware.org/ )
Jacquard's Web: How a Hand-Loom Led to the Birth of the Information Age.
How Will the Coronavirus End?
Some people may be courteous enough to wear a mask when sick, but most people wearing a mask in Asian countries are not sick and being courteous, they are (sensibly) trying to avoid becoming sick.
If hospitalized with Covid-19 and have no insurance, you'll likely owe $73k
OneWeb files for bankruptcy
It seems whoever is gathering that info and sending it is Facebook

Blame them. Not Apple
No, because how do you solve a problem better than with one smart person? The answer is with two smart people.

And from there you get an endless race using more smart people to solve pointless problems.
Newest study on Chloroquine shows promising result
Yup, cross application unique identifiers are such a bad idea that it is hard to believe they exist. Maybe for Google I understand, since their entire business is advertising and android is more like a live billboard to display ads from their POV, but Apple, the company crying privacy, still provides an advertising id is shocking.
Portraying the Tudors, Then and Now
If C++ abandoned backward compatibility, then this C+++ would compete with modern languages like D, Rust and it's absolutely not clear what the winner would be. As long as C++ is backwards compatible, it have tremendous advantage of having billions of LoC which don't have to be rewritten.
https://archive.md/nR7TX
"Webex, Teams"

Yeah some companies are behind the curve (not blaming you).

Zoom is getting very popular
OP’s question was about Boeing, but it’s true that the airlines also squandered their capital on share buybacks.
So, what better UX do you propose? Playing a sound of a squeaky door?

On the other hand, I live in a country where it is considered polite to knock on doors and wait until the door is opened from the inside. And no one is straightly accused of idling behind closed doors.
Programmed Inequality by Mar Hicks, https://mitpress.mit.edu/books/programmed-inequality

On the history of women in programming in Britain and how they got discarded from the profession.
I'd guess you work mainly with slower players (the mention of webex surely suggests so). Zoom as been very much on the rise for a year or so, and is riding the coronavirus WFH wave very well. IME quality is better than competitors, but boy do they use dark patterns. Finding the link to the web version in the meeting page becomes harder every day.
> So there is a path,

Your example is a really poor one. The volatile keyword was only used to provide hints to the compiler on whether or not it could apply some optimizations. Omiting a volatile keyword is perfectly backward compatible, as is compiling code without support for volstile. Thus the only practical consequence of adding/removing random volatile keywords from your source code was how your build could (and not should) be optimized.

That's a far cry from, say, remove malloc().
Desperate F-16 Pilots Once Used Their Anti-Tank Missiles as Sensors
For what reasons would spy organisations in other countries care about the laws in California or the US and following them?
You would get D ...
I remember reading somewhere that Canon does this on purpose. For example, Sony cameras are known to have overheating problems that Canon doesn’t have, because they value reliability more than being on the cutting edge.
Technology – Coronavirus: What if this had happened in 2005?
Coronavirus: OneWeb Blames Pandemic for Collapse
Chairman PAI Launches the Keep Americans Connected Pledge [pdf]
My only reasons for sticking with MacBook's
- The OS - I don't really feel it which is great because I want to focus on my work.
- The quality - like the touch bar, I can work a lot with it and I forget about it, it's big and very useful. Excellent screen, lightweight, 2 usbc are good enough for me for everything.
- It's light.
- In any way I stick with MacBook Pro 2017 16 GB RAM 512SSD costs today around $1500 and it's a great machine for a software developer. More RAM/Disk would be better but for now it's perfect.
Since the GDPR came into effect, at least in Germany I notice how product managers and other parties are involved in stuff like this, and not only devs and dev leads.

As an example, 2 weeks ago I had to implement Instabug's SDK for one of our app brands, and created a no-op fake library [0] in order not to shop any Instabug code to the other 5+ apps.

Simply because our PM was afraid of possibly sending stuff to them while not having added them to the privacy policy.

[0]: https://medium.com/@orhanobut/no-op-versions-for-dev-tools-b...
> One of the main reasons to stick with C++ (and C) is that the investment you put in the code you're writing right now, no matter how fugly it is, will be there and keep working in the future.

Except slowly people will be writing parts of it in Rust, or they would be using libraries written in Rust (because availability), and then after a while people get annoyed of using more than one language and the whole project will be rewritten in Rust. Of course, at that point, a new language will be invented and Rust code will be looked at as rusty :)
Ask HN: South African Internet Is Disrupted. Please Assist
Hi HN,

The WACS undersea cable is reporting a fault (https://www.businessinsider.co.za/wacs-undersea-internet-cable-is-broken-again-2020-3). My immediate network relies on international bandwidth to participate in meetings and work sessions.

One approach I considered to overcome these limitations was to provision a VPS on a local host through analysis of peering agreements and how they mapped to physical undersea cables --> ZA. Algo server would then get us a route out that has better performance.

Does this sound reasonable? Any assistance would be appreciated.

Thanks,
- nsomaru
I remember boids was one of the example programs with the direct3d sdk back in the ‘90s
So they were sad and nervous. Sad, like everyone thinking about the current situation, nervous like everyone that has to give a speech about such a serious topic.
I don't think that says anything about if they are lying or not.

Reading things like "sad" or "nervous" from someones body langage is one thing, but finding clusters of such tells and figuring out if someone lies or not is another thing.
Airbnb needs support staff? Thousands sounds ok to me