skysight-inc/HackerNews huggingface dataset:
Not sure where you get those weird infinity results from, but the "a = b = c = 0" solution is easily show:

Note that "a + b = c" implies "b = c - a", and given our assumption that "a = b = c", we can rewrite as "a = a - a = 0". This obviously results in "a = b = c = 0".

EDIT: Modifying the proof above, it becomes apparent that this is a property of groups (most number systems are groups): Again "a + b = c", iff "a + a = a" iff "a + a + (-a) = a + (-a)" which is "a = e".

Note that addition over IEEE754 floats do not constitute a group, (in part) because "inf + inf == inf" evaluates to true.
Show HN: Rekam Sejarah Perubahan UUD 1945 Di GitHub
I really like the idea of a new competitor on this market, and will be trying this soon, but please please stop doing a one-stop tool for everything and just let me plug and play other things, or your own things.

Used to really love things like GitLab, but I dont like bloated sites/tools and IMO things like Space or the direction GitLab has taken create bloat as they start to heavily couple their own tools and "workflows".
This is what I wish to do. Unfortunately, I don't have the courage to do so b because I think I'd get bored traveling alone. I don't like city life much and think of traveling to different places as I am a freelancer and I have that luxury to go nomad.
What works best for me (as a sway user): attaching a keyboard shortcut that opens / closes a floating window of nmtui.
Nah, it should come with thos specific things attached to their release but voting and jury duty ? Why not? There are any number white collar crimes where everything you listed wouldn't be a problem. Seriously, someone embezzles a few grand you don't want them to drive a truck??
I think those reasons are entirely valid.

I don't see any reason why Typescript (for example) couldn't be made to meet them (relatively easily).
The geography of dollar funding of non-US banks

https://www.bis.org/publ/qtrpdf/r_qt1812b.htm
The organization chart of an open source community
I can remember Far Cry 2 as one of the most immersing games I've ever played. It was far beyond other games from that era. Sadly, most players seemed to be overwhelmed by game, (or frustrated by bugs and some game mechanics) . I really miss this level of reality in almost all modern games. It feels like all of them are just meant to be taken as kind of an interactive movie, played for some hours and then to be forgotten. Games could be so much more.

Does anyone knows other examples for great, immersing games?
> what's the practical difference between NS::foo() and NS_foo() with regards to preventing name collisions.

They both do the job. There’re 2 practical differences.

1. You can write `using namespace` inside functions or the whole .cpp files. This often makes the consuming code more readable.

2. Sometimes you want to replace implementations. With prefixes it gonna be massive changes likely to introduce new bugs. With namespaces, replace `using std::vector` with `using eastl::vector` and you’re done.

> Even more often, I want to iterate over the values of an enum.

I only need to do that rarely. When I do, I cast types like this:

enum struct eParamKind : uint8_t
{
Bla, Blub, Foo, valuesCount
};
for( uint8_t i = 0; i < (uint8_t)eParamKind::valuesCount; i++ )
{
const eParamKind pk = (eParamKind)i;
// Whatever
}

> I won't let programming ergonomics be ruined in the name of "type safety".

I disagree on ergonomics. VS makes much easier to consume API with strongly typed enums: ePar<Ctrl+Space>::f<Enter>, to type eParamKind::Foo It’s similar with namespaces versus prefixes BTW, IDE will first auto-complete the namespace, then only list members of that namespace once you type the `::`

Update: another C++ feature relevant for game development is overloaded operators. Games often do non-trivial amount of math on small vectors, matrices and quaternions. Overloaded operators make sense for them.
> figure out what puts you in hyperfocus

Can you explain how you figure this out? Any examples?

I don't have ADHD but I do notice some projects give me intense hyperfocus. Generally it's when it's some MVP or problem I start working on where it feels like I've happened upon an unexplored and potentially great idea - this includes there being lots of design issue to think about where there's lots of fruitful avenues to explore and prototype. My hyperfocus tends to end when I've explored the design space enough that I now have to step back and make tough tradeoffs.

That's the most I've tried to make sense of it. I know it's very common for people to get super enthusiastic when starting projects and then they lose steam when the fun stuff is out of the way so I don't read much into it.
> 6 usable for games but 8 physically in the silicon, with one disabled and one reserved for the OS.

Indeed, I initially put in the disabled one (for yield) and one reserved (especially as IBM's server version had all 8 enabled) but I figured that was of low enough interest I could just list the actually usable ones.
Outline – Making it safer to break the news
A nebbishy bank teller discovers he’s trapped in a video game in Free Guy
Corporations by their very nature won't lift a finger unless it threatens their bottom line. Without that kind of leverage you're at the mercy of their employees - and in banking there's going to be a whole lot of red tape preventing them from doing the "correct" thing.
I find myself coming back to this guide whenever I set up a new project: https://sourcery.ai/blog/python-best-practices/
Could that be done? With all the cheque scams, I'm guessing yes: someone cashes a bad cheque into your account, suddenly it says you have, say, 10K more money, and then you get a phone call from a "lawyer" claiming please return the money to some other account. You do so, and then the bank tells you the cheque didn't clear, they're taking 10K away from your account...

If a crypto (or other digital) currency has reversible transactions ("Undo this transaction and all the after effects"), that would be cool. So if I spent that 10K on a new Mac, after the Undo I'd have the Mac and a huge unpaid bill from the Apple Store...
I would love to see mininalistic design. There are way too many choices available to me and most of them are of no or minimal use.
Sending money between accounts is a jittery experience for me. There is almost no confirmation that the money has gone to the right place, and no checks in case of human error.

I feel we need an additional per-account verification hash that works as follows:

1. Enter recipient bank details in online bank screen.

2. You are then shown a verification hash based on the details entered - you confirm it matches the hash provided by the recipient (obviously, make the hash easy to compare visually).

3. You enter the amount to send and hit send.

This way you can at least ensure the money is going to the correct place. Right now, if you happen to send the money to an unintended bank account, you may never know until the intended recipient tells you.
The one feature from C99 that I rely on (from the top of my head) is designated initializers which is still not in C++...

enum {
FPGAPARAM_FOO,
FPGAPARAM_BAR,
FPGAPARAM_BAZ,
NUM_FPGAPARAM_KINDS
};

struct FpgaparamInfo {
const char *name;
int address;
int args;
};

static struct FpgaparamInfo fpgaParamInfo[NUM_FPGAPARAM_KINDS] = {
[FPGAPARAM_FOO] = { "FOO", 0x1337, -1 },
[FPGAPARAM_BAR] = { "BAR", 0x666, -1 },
[FPGAPARAM_BAZ] = { "BAZ", 0x42, -1 },
};

The FpgaParamInfo is basically a mapping from a FPGAPARAM_??? value to additional information. We can make as many of these mappings as we want, and can define them where we want, which means it's all nicely modular. That's not really possible when modelling in a OOP fashion.

I really like this style of programming since it's data first and it minimizes the amount of actual code. Designated initializers are important because the order in which the items in "fpgaParamInfo" are given doesn't matter. Without designated initializers, programming in this style would probably lead to many hard to find bugs when the enum is changed and not all associated data items are updated.
I like how the author makes the point that the problems with social media are bigger than privacy + surveillance alone.

> The forces it has unleashed will affect future elections and even our ability to tell fact from fiction, increasing the divisions within society.

> Yes, online privacy is a real problem that needs to be addressed. But even the best privacy laws are only as effective as our Paleolithic [primitive] emotions are resistant to the seductions of technology.
Most likely yes. This is also the same approach taken by D, with the same frontend being shared across dmd, gdc and ldc.
Nothing, steer them away from tech to be curious in non tech things.

Children need not the slightest encouragement to become interested in tech. The question is how do you get them to take an interest in anything else.
Acupuncture–A Question of Culture and skill to give impression ofbeing effective
Are you looking for a Job.? See how other finding jobs in 2020
How TiKV reads and writes
A Simple Proof of the Quadratic Formula [pdf]
"Why is Pluto no longer classified as a planet?"
You've passed the "categorization" level, but might have actually failed the real "understanding" level, for which "We have discovered many large((r)) objects beyond it." might actually be a more correct answer!

After the discovery of dozens of new trans-neptunian "planets", categorizing Pluto as a "real planet", while it probably had more in common with them became problematic.

The best definition that we had to come up with to cleanly separate "real" planets from the others was therefore quite unlikely to include Pluto!
Make a YouTube channel that authentically documents your day to day life.

Your audience would be other people in a similar situation.

Communicate stuff of interest to your audience, get a slab of money from google.
I have been to the Sudan a few times in the early Nineties. It was my first time in Africa and I went through ultimate culture shock. I experienced military checkpoints, interrogations by security staff, civilians armed with assault rifles casually walking around and I had an AK47 pointed at my chest in a scary encounter with unassignable forces in the middle of the desert.

With this precondition, Far Cry 2 completely smashed me. The intro scene, in which the avatar arrives at the airport, is picked up by a driver and transferred to the hotel - passing checkpoints on the way and with no way to do anything else but to look around - is one of the strongest episodes in computer game history for me. Nothing is happening in that scene, but I had a full flashback of my experiences in Africa: the disorientation, the helplessness, the subtle tension. I could smell the air and had sweaty hands on the controller. This part hit me much more than the remaining game play.
yes :)
RDRAND is implemented differently
I used to walk home through the ruined grounds of this when I was at school. It was fenced off and pretty strange and creepy. Headless statues and vast terraces of stone alcoves. Almost looked like it could be from a game like Journey.

It's now been tidied up and is open to the public as part of the park. I'm glad I got to experience it when it was still strange and mysterious.

There's also an abandoned train station and huge blocked off train tunnel quite near. We used to make up ghost stories about the place.
> in reality it’s just a system that trains students to pass tests

Tests have correct answers. It's simple to ask a question about any controversial subject and mark the answer supported by the current narrative as correct. This forces students to not only consider the issue but also to answer "correctly".

I've had to answer many such questions and the intent behind them was clear. It's usually disguised as a "human rights" question and is nothing but a mechanism to get students to agree with some left-leaning ideas.
> C++ doesn't actually need it. Rust proved that capture everything by reference or capture everything by move is enough for all practical use cases.

That's kinda true but kinda not: precise "capture clauses" is a common design pattern in rust[0] showing that the flexibility is extremely useful, and I think I've seen rumblings about adding them to the language.

I mean technically you only ever need `move` closure, "ref" closures are already a convenience.

[0] http://smallcultfollowing.com/babysteps/blog/2018/04/24/rust...
So, if a programmer at say Amazon writes a small python utility for deployment on AWS, is that systems programming?
I guess that "putting opinions aside and only asking about fields which you yourself deeply understand" is actually very very hard to consistently apply in practice ?
'Lean' Is for Mediocre Minds
The Dreyfus model of skill acquisition might interest you if you're interested in these lines of thought.
I don't use vim, but supposedly Paul Graham, the creator of this site uses vim for lisp. You really don't need that many fancy tools. Vim already has a visual hint for matching parens. It's nice to load stuff into the lisp image while you are typing but a quick keybind to switch to an external REPL and reload a file gets the job done.

Linux was crafted with just a basic editor, no IDE features.
Unix was crafted without even a display to see the code being typed.
Fancy tools are nice but not required.

But that said, SLIME in Emacs is the best. It's macro expansion buffer with really helps to understand what a macro does, or make things clear while crafting your own macros. Auto completion is great, although it only works for what is loaded int he live image, it doesn't scan source files for completion like a traditional IDE. Just load everything and completion is great.
> If you can get up every day, [..], then there are no trade offs.

I've been working remote-only for a couple of months now and did rather well on those parts: Doing sports in the morning, focussed working without slacking off - luckily, I can enter „work mode” as soon as I start my timer - and mostly spending the evening with friends or my SO.

However, I'm still feeling a growing sense of disconnectedness from my work and my colleagues. The feeling of „we're a team and building this together” over time changes into „annoying computer tells me to X”. We're having regular (video)calls, but the lack of social context definitely has a negative impact. 2-3 days of remote work would be optimal.
California Water Policy Reading List
Do you have a link for this? Preferably one with the technical info.

The problem with a bad storage of the vaccine is that it makes it ineffective. I guess if the storage is very bad, some bacteria may grow in the vial (???), but it would not cause VDP.

In the injectable version, the virus is totally "dead", so whatever you do, it would not cause VDP.

In the oral version, the virus is "alive". If the storage is bad it may destroy the virus making the vaccine ineffective. But the virus can't reproduce and mutate inside the vial to become dangerous. The virus need approximately one year and a bunch of host to mutate and get dangerous.

So, whatever crappy storage they used, the vaccine can't give the kid VDP.

The problem may be that a bad storage may make all the vaccination campaign ineffective, you think that you have 99% of the population vaccinated, but the effective number is much smaller. In that case the virus from the vaccine can spread and mutate and cause problems later after a few hops in the unvaccinated kids.
A Different Way to Solve Quadratic Equations [video]
Because if someone else happens to use that library, it might blow up on their face, e.g. WhatsApp dependency on android-gif-drawable.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1193...
Sure! But there is nothing stopping Oracle from suing you inventing some insane reason like copyrighting APIs.
The point is that a date is not the same thing as an instant. A unix timestamp captures an instant, but that may not be suitable or desirable to a specific use case e.g. instants are usually broken when it comes to scheduling future events as the mapping might change inbetween the recording and occurrence, and you want this change to be reflected on your execution.
Yes, and doing exactly what they should be doing nothing more and nothing less. I love small utilities :)
Code completion works very well with plain identifiers. No need for namespaces.

> replace `using std::vector` with `using eastl::vector` and you’re done.

The pipe dream of reusability.. If I ever happen to be in a situation where that will work, I'll happily use a text replace to change my identifiers. Or just link a different library if it has the same names.
Show HN: Emails.dutylabs – Fastest ways to send email automation to customers
While this is a great and now obvious conclusion i always find two places where the conversation stalls.

Based on the article’s direction:

-

1) what does it mean to be “humane” tech ?

As the author argues - You could add friction to the large tech firms, even make attention marketing unviable.

Then use that to fund “humane” solutions (editors and journalists ? Would that be human or humane?)

Does that solve the potential abuse of tech and human wet ware ?

Or Are we supposed to eventually say “Dune got it right, we should only have mentats”

Edit: no time for point two, distracted.
An area where AI can make a major impact is improving the efficiency of human experts in the developing world and underprivileged communities even in developed nations.

There is a huge lack of doctors, nurses, architects, etc in many of those areas. In some countries, a doctor may need to see 100+ patients a day as a matter of course. We can imagine how the quality of care suffers as a result.

As examples, AI, including NLP and computer vision technologies, can complement doctors and nurses by:

- performing initial querying of symptoms,

- regular pre-screening for diseases at minimal costs (thus reducing costs that incur with delayed diagnosis and treatment),

- automatic checking for medicine side effects or, in future, recommend suitable medicine for particular patients given diagnosis and test results,

- etc

If deployed properly, the technologies will improve care, reduce healthcare worker’s overload, and enable greater access from rural/poor areas.

The same applies to several other expertise that is not lacking in well-off regions.
Would you let a pedophile who served his time babysit your children?
> Strange that the captions are often incorrect

The captions are GoogleYoutube automatic captioning of a 30 years old low-fi, badly clipped, slightly mumbled recording. Frequent errors are to be expected. You can turn them off by clicking the little "CC" button on the bottom right of the player because the captions are not actually part of the video. Safe to say Chomsky isn't reviewing or approving any of it.
> I wonder if it’s a biais coming from software engineering where most of the skill set is learnt by experience

For the record, Bryan Caplan is an economist.
Yes, I agree that S90(4) was breached there.
Yeah, I also would have said ~2010. After looking it up it traces back to at least 2008. I remember trying out the leaked alpha version, and it was incredibly unstable, and missing all the core features, and Milestone 1 wasn't any better.

Kinda interesting that they still continued with the project for 10 years, despite most of the core productivity features becoming mainstream during the time, and it not offering that much of an upside compared to the standard Windows UI.
I went back to the site because you seem to value input and scrolled down to where I anticipated some information to be, only to have to wait >3 seconds to see any information.
I'm quite lucky. I live in southern Utah. I pay $65 for 1 Gig down, and I think 60 MB up. I was paying $95, but they moved to 1 plan only (dropped the 100MB plan), and re-branded, I'm not complaining! This is a rural area, maybe 50k people in the entire county.. I mean it's a city but a really small city.. (I'm from dayton/cincinnati area... so compared to t here, it's a very small city :D.
For that matter, it's also easy to get this confused with the Windows 95 and Windows NT 4.0 shell...
D comparison is very apt: Rust also would have one frontend with three backends, GCC, LLVM, and its own (Cranelift).
> People "on the spectrum" tend to do that. Most STEM people are not on the spectrum.

Non spectrum STEM people do that too quite a lot. It is not just personality thing. The classes they teach in technical schools require exactly that. You don't learn to doubt math book or physics book nor encounter another physics book that says something contradictory. Nor you have to take into account writers bias or reconcile multiple contradictory trends. (That is not criticism of stem classes, they simply have different goal.)

Just because something is done by people on spectrum does not mean neurotypical cant do it.

> They will initially, but they'll recognize the crap code after a while and won't trust them anymore.

I did not said that the arrogance and confidence imply completely crap code. Again, there is false binary here.

It just mean that such person is seen as more capable then he is and that his takedowns of more calm people are taken at face value too. Meaning that arrogant and confident person wins discussion where he is wrong and does not know what is talked about and is capable to harm reputation of competitors. It manifests mostly in unclear situations with unpredictable outcome, complicated situations, strategic decisions etc. It systematically manifests when there are differences of opinions.
If the emphasis is on teaching, rather than conformity or daycare, then I suspect teachers being tutors for everyone would actually be more cost-effective !
I use keypiranha as well. Great tool!

> it's a pity they don't use the 100 times faster WizFile

100 times faster? Everything is instant for me, never had any kind of delay. What things are slow enough with it that something else could be faster?
> One thing I'd to request is that `Object.fromEntries()` simply skip undefined entries, rather than do...strange things.

Not sure what strange things it does. fromEntries simply takes each entry, sets its first item as key (stringifying if necessary as object keys are necessarily strings) and the second item as value. Naturally falls from these that a null or undefined entry will error, and an empty entry will create an {undefined: undefined} item.

> I wrote an `mapObject` function that looks like `(a,fn) => Object.fromEntries(Object.entries(a).map(fn))` and occasionally the fn needs to skip an entry and the easiest way to do this is just return `undefined`.

Use flatMap instead?
Even the forced tutorial was hilarious.
Get to know the student personally. Work with them on a daily basis. Mentor them over the long term. Their growth should be evident.

Of course, this is not conducive to mass education programs with many tens if not hundreds of students per classroom.