skysight-inc/HackerNews huggingface dataset:
One thing I've noticed with speed tests is that the results vary massively with content. Common, easy English words with no punctuation or capitalization? Easily 100 wpm and more. Source code with all the symbols, numbers, and capitalization? Can dip below 50 wpm...
Hardwired and perhaps trained as well. If you ever develop serious skill at debugging logic problems it will be because you have no choice but to accept facts that don't fit into your world view, or maybe it is because you stop having a rigid world view because of how many times you eventually realize you weren't seeing the bigger picture.
I imagine it's going to be an exokernel that can run pretty arbitrary user lands as if they were containers, built on cap based security.

If anyone agrees with me and wants to help out making that happen on an open source code base, hit me up.
> There's also the point about corporations: corporations are an invention of the government, only exist because the government approves of their existed, and (technically, although sadly not done anymore) can be disbanded when they act against the public interest. You can't separate corporations from government.

Corporate taxation schemes are an invention of the government. The idea of multiple people joining together to participate in commercial activity is actually a fundamental, natural right guaranteed in the constitution.

By all means, remove facebook's classification as a corporation. That does not remove the individual shareholders rights to band together to form an entity like facebook in a partnership (which is not regulated at all like a corporation).

You do not any governmental approval to form a partnership of any number of people with the name 'Zuckerberg and partners'. And thank goodness for that, because Mr Zuckerberg has a fundamental, natural right as an individual to engage in commerce, just like you and me.
The Web is industrialized and I helped industrialize it
Yes, the general idea is not new but the devil is in the details.

As far as I can tell, Odin's `using` is applicable in the same areas as Kotlin's, but I still favor Kotlin's scoped version. When I see "using foo;" in Odin, it's not quite obvious to me where the scope of applicability is.

Any reason why you didn't do something like

entity.use {
// "this" is now the entity instance
}
// back to your regular "this"

?
Transferring data between departments costs approximately $0.
My favourite Stroustrup quote on the design of C++ is probably from "How can you be so certain?":

> One of my fundamental aims for C++ is (from the very start in 1979) to provide equally good support for user-defined and built-in types. For example, I’d like to be able to build an integer type that is as good as the built-in int in every way
Funny, but what about those who agree with it? Do they agree with it because it's true? Or just because they've dismissed the facts that don't agree?

This idea means that you can't really trust anything that you think is true, including this idea. To some degree it is, not quite self-refuting, but at least... self-skepticism-causing? I don't know a good word for what I'm trying to say. But it leads you to question the truthfulness of it, at least to some degree.

That said, observation leads one to think there is an element of truth to it. It can be taken too far, though.
I don't know all the details, but I'm certainly glad people can't just randomly build things wherever they want. I can imagine lot's of some people rights being trampled by selfish people.
Show HN: Mobile browser with different browsing mechanism
Plenty of those already exist, the world doesn't need another. If that's the sort of thing you want, why not use something like that instead of moaning about the existence of other things?
There are many, some better, some worse in particular ways. It all began with Outpost firewall during the Windows 98 days, then more alternatives emerged. Kerio Personal Firewall was what I liked the best for Windows XP. Windows 7-10 have surprisingly good firewall built-in, all you need is a good GUI to control it - Windows 10 Firewall Control by Sphinx Software.
Glasswire is probably the closest equivalent for Windows
Would love to get feedback/suggestions for this mobile browser that we built with a different browsing mechanism - jumping down/up pages as an alternative to scrolling! Initially built as a project to help folks who can get dizzy (or eye fatigue) with scrolling, Jump Browser's feature of jumping down/up pages feels more visually comfortable for many users. As an equally strong benefit, this method is much faster for browsing/reading through an article than traditional scrolling. So it's a faster and more comfortable browser experience overall. We also incorporated a built-in ad blocker. Would love you get your ideas regarding improving the browser and overall promotion of it! Thank you.
Thank you for posting this here -- and thank you for taking a quick look at that paper and debunking it.

I just upvoted your comment at https://news.ycombinator.com/item?id=22206393.
The old rlogin manuals are better than the OpenSSH manual in this regard.

* https://unix.stackexchange.com/a/454228/5132
> Are you saying that there should not be an extra 0 byte at the end until the string fills up and c_str() is called?

No.
US bars foreign nationals who have recently travelled to China
Drug development roughly consists of the following steps:

1. Figure out what enzyme or receptor you have to mess with to cause the disease. You can skip this step if you decide just to blast away in a phenotypic screen.

2. Design a molecule that will actually mess with the enzyme/receptor to prevent it from malfunctioning in whatever way is causing the disease.

3. Figure out how to actually synthesize said molecule.

4. Now make sure this molecule can actually get to the sites where it needs to go to hit the target...

5. ... that it lasts there long enough and in enough potency to do its job ...

6. ... that it doesn't screw anything else up along the way (or get converted by your body into something that does)...

7. ... and that there's no compensatory mechanism that still causes the disease after your drug successfully gummed up what it was supposed to. Or maybe you failed at step 1 and you're barking up the wrong tree.

Roughly speaking, the last four steps will correspond to the different trials you have to run to get your drug approved. About 90% of drug candidates that make it to step 4 fail to make it all the way through step 7.

The difficult things that kill drugs are understanding their toxicity profiles and other off-target effects. We suck at this because we have so little data (and the effects are quite complicated), and modern AI techniques are mostly borne on shoveling piles of data and hoping for the best--not a good match.
They make no mention of meditation.

In meditation we address attention directly. It is what we study. It is the wood we whittle.

We get great control over attention. What we attend to and how perfectly we hold our attention upon it.

Also, we have another trick. To refrain from paying attention to anything. It is named variously Vipassana, Zazen, Asamprajnata Dhyana... depending on the tradition.

It's impressive.

Consider how paying attention is a reductive process. Ie : given your perspective, choose some part of it and restrict your attention to that. Thus your perspective is reduced.

You might say that Vipassana achieves the opposite.
Quaternions are also quite a bit more efficient (both in flops especially when composing rotations frequently) as well as storage space (4 values in a quaternion vs. 9 in a 3D rotation matrix).

It's interesting to compare disciplines, since I've never worked on a game engine but have done a lot of simulation of physical systems: there, quaternions have been standard for at least fifteen years, and I've seen geometric algebra frequently for about the past five.

Interestingly, where we saw most gains from thinking about geometric algebra wasn't in simple rotations, but when starting to look at things like computing kinematic chains composed of dozens of joints: Now we're at 4x4 matrices to store each transformation, which is the traditional way and works well. From this, some seriously deranged mathematicians introduced the concept of an eight-element dual quaternion (essentially, pair of quaternions specially constructed) that can represent this. Again, super efficient, but even more intractable for newcomers than quaternions. At this point, starting to express both concepts in terms of geometric algebra has been able to keep most of the performance improvements as well as only having to teach one concept.

When I left that position a year ago, we were starting to see recent graduates that already had pre-exposure to geometric algebra concepts before even starting to work on the codebase.
> is this more of a social problem that code can't solve?

Yes. Any tool for communication can be used both ways. The way to fight negative uses of the tool is to use it positively, not to try to limit the tool.
Every time you are buying a charger, wired headphones or any other iPhone accessory, Apple collects a hefty license fee and you, indirectly, are paying it.

Originally, the lightning port was a big improvement over existing tech. Currently though, the only reason the lightning port still exists is because it is a good way for Apple to use their market dominant position to milk consumers. It is not good for consumers, it is also not good for the environment. It is good just for Apple.

It is generally the job of the govt to prevent these types of abuses. Is this particular law worded the right way for that? Maybe, maybe not, but it will do the job for this particular case.
Oh please, politics are an extremely important part of organized religion, at least in the United States.

Also "chosing not to participate" is not the same as "systematically destroying."
The problem is that, almost 10 years ago, tourism was responsible for 8% of global greenhouse gas emissions. Since then, tourism has been increasing by around 4% annually - a growth trend that’s projected to continue into the future.

The only real solution is for everyone to reduce their amount of pleasure travel. The article didn’t offer any guidance as to how to force that change on the global population from the top down, but I’m not sure that sort of “solution” would be very amenable to HN anyway.
Psychological skills will help.

I have been working in unfamiliar territory for so long that it's become one of my strengths. The first skill to develop in this domain is that of acceptance. Accept the unfamiliarity. Accept that you are going to do the work. Accept that the process is going to painful at times, and realize it isn't going to be painful all the way. After you accept, consider how much further you may go if you actually embrace your work. You're going to have to do it, so why not give your best? This may likely require you to put more into the process but the accomplishment is how you reward yourself.

You can become a generalist with specializations. You don't have to only be one or the either.
It’s a huge difference. The technical difference is that law enforcement is doing an end-run around the carrier to have phones just give up information. Carriers have zero control over that.
Thank you! That was my thought as well.
Twice I have been through interviews that use hours of psychology assessments to filter candidates. One of those was a large hedge fund. Through that I have learned that objectivity is a measurable and identifable personality trait that is astonishingly rare.

Most humans are hardwired to seek mutual security, which means banding together as a stress coping mechanism. That incidentally means some natural revulsion of originality, objectivity, individuality, and even honesty. More important are group conformance, mutual reassurance, and perceptions of social security.

This is readily observable when you take a group of people who have never worked together and are generally unfamiliar with the outdoors and drop them into an outdoor military training exercise, such as college ROTC junior classmen. Naturally they congregate really closely together and wait for somebody to tell them what to do with minimal or no initiative, all of which is a bad idea in modern military training.
> Has my first name now been designed by a bioweapons facility?

No, of course not. Your parents were designed by a bioweapons facility, so that they would choose that name.

;-)
I don't understand the appeal of esports, personally. There's little less interesting than watching people play video games. But I also feel the exact same way about physical sports -- so perhaps that's an indication that esports have arrived as a "real sport"?
What's wrong with the Apache event worker?

https://httpd.apache.org/docs/2.4/mod/event.html
That's like saying Rust will turn into Lisp.

There is way too much around memory management to be Lisp.
An interesting factoid is that if you rummage around in a machine shop, you will find a pair of gears in a drawer somewhere, with 50 and 127 teeth. Those are for converting an old fashioned manual lathe to cut metric screw threads.
Maybe we should all take up eating locusts? Creating more demand may help these farmers leverage this otherwise bad situation.

Anyone else up for a locust protein bar?
The creator is around here somewhere it was announced here years ago on launch.

Based in Switzerland.

The free trial and outgoing sending limits are the only limits. Not meant for automated emails so not a huge concern and keeps spammers away.
As you pick up on, the question was just used to make a statement, not gain information. That could be considered bad-faithy. But at the very least it annoys with its overused tone of sarcastic outrage, especially because it was the second such comment in the thread, made after the first was already shown to be entirely wrong.

On its merits, the accusation of hypocrisy is also a non-sequitur: from "one bad thing is stopped" never follows "all bad things are stopped". The implied expectation is impossible to fulfill.

It's also unhelpful, politically, in a way that this thread, HN generally, or even "the internet" are full of: If everyone is always assuming the worst while expecting the best, it removes all incentives for anyone in power to behave honorably. After all, if you're going to be accused to be corrupt and/or incompetent anyway, why even try?
> There's also the point about corporations: corporations are an invention of the government, only exist because the government approves of their existed, and (technically, although sadly not done anymore) can be disbanded when they act against the public interest. You can't separate corporations from government.

This is such an awful 'example' parried about by purportedly educated civil rights armchair lawyers.

This example is from a wartime decision in which the Supreme Court controversially limited free speech because of national interests. It is not wartime, and the case wasn't even about fire in a theater, it was about the right of someone to advocate draft dodging.

Unless you honestly believe it should be illegal to advocate draft dodging at a time of war (which is awful, and abhorrent), you should stop using this example.

Even Christopher Hitchens was against this intellectually lazy example.

https://en.wikipedia.org/wiki/Shouting_fire_in_a_crowded_the...

Going back to actual legal repercussions. In order to prosecute someone for harm arising from shouting 'fire' in a crowded theater, you would have to show that they had malicious intent and intended to lie to cause harm. The 'crime' is in the intent, not the speech. It is otherwise, perfectly fine to shout 'fire' in a crowded theater. In fact, if there is actually a fire and you find yourself in a crowded theater, it is highly recommended.
Again why should those taxes be based solely on housing instead of or in addition to other types of wealth?
No offense or anything (or maybe offense, I don't know) but it wasn't "The Liberals" who systematically destroyed religion. A whole lot of the downfall of religion (which hasn't fallen, by the way) was predicated on religious institutions eating themselves from the inside out. Think about the excesses of the Christian churches of the west, based on the teachings of a man who taught forgiveness and the moral wrongs of excess. Think about the Bhuddist monasteries in the east who have fallen to, what can only be described as gang wars over the best tithing lands. The Shia and the Suffi try to kill each other over supposed differences in Muhammad's teachings. Churches did a fine job of destroying religion, long before people started blaming Liberals.
That's my understanding of the first film as well. Michael, like most tragic heroes, was brought down by his own pride. Gangster and crime stories are often better understood as forms of tragedy; Scarface and Breaking Bad are also tragedies about men brought down by pride (and, in the case of Scarface, many of the other seven deadly sins as well).
Agreed.

RAII, smart pointers, optional...C++ is become cleaner and cleaner.

Unfortunately, that's not simpler, as the old stuff still works too.
Comp range, role responsibility, team size, company trajectory and reputation. Other stuff would leave for due diligence if interview gets serious.
That makes sense, but usually they aren't so blatant about that sort of thing; usually there's some sort of pretense at least. Especially given how "brave" they've been about pushing USB-C on their laptops; I'd have more sympathy for that if they were at least self-consistent.

But still, despite all of this salt I don't think it warrants legislation.
Slot Machine React App That Triggers with a Postman Call
At least a clever lightweight ORM for Java
Cool concept. What happens when I can't get to water before the lava gets to me? Is that game over? That happened to me but I didn't get a "gave over" or some other message.
35 isn't a request, but a message from a powerful politician to the people behind the sale. It's hard to guess the exact meaning without full context, but I think it's "I know enough. If you want to proceed with the sale, you have to give me the names and I'll send some of them to prison." They may try to call his bluff, but they'll be sorry if he indeed knows something.
> To this day you'll find most well off (and extreme) democrats avoiding GMO foods, protesting vaccines as well as avoiding fluoride in water. I don't think that's a republican issue. Especially in portland that consistently votes democratic but also NO to GMO, Flouride and Vaccines.

I found that claim surprising so I did a quick "fact check".

About fluoride: true. "For the fourth time since 1956, Portland voters reject fluoridation"

https://www.oregonlive.com/portland/2013/05/portland_fluorid...

About GMO: mixed. "Sixty-two percent of voters in Portland's Multnomah County supported " a measure to label (but not ban) GMOs, that was defeated statewide.

https://www.agweb.com/article/oregon-voters-reject-gmo-label...

About vaccines: uncertain. I wasn't able to find evidence of this.
But.. It does say he's been self-isolating and only leaving to see the doctor. Thankfully.
Can it be the jumped from bat to human happened in an immunocompromised individual with HIV?
That's exactly what someone at CERN holding tech to end life would say ;)
Thanks for the link. Just ‘flipped’ through the first few pages and my blood pressure is already way up.. the guy just can’t help himself antagonize his readers. It’s going to be a tough read..
So I get what you're saying, but this isn't my experience.

There's no room to use small changes in volume for expressiveness at the low end of the volume scale, since attacks/sustains/release shape is more quantized. So if your piece has fff and ppp in it (which is probably a full 40dB range) the ppp part will sound super flat while the fff part might sound great.
Some metric units work well, and are scaled to human everyday measurements, and some are not.
You can easily do the same in Odin, if you would like. However, `using` works for a lot more than that just this. `using` allows for many for type system features beyond a basic scope import like Pascal's with. `using` can be applied to procedure parameters, struct field declarations allow for subtype polymorphism (even of pointers), scope imports, and more.

Koltin's approach is limited to purely the same Pascal's `with` allowed.

But if you want to be clear:

{ using entity;
// the fields of "entity" are not usable in this scope
x = 123;
}
entity.x = 123;
Yeah, also this is basically how you'd implement tagged union types if you couldn't have actual algebraic data types like Haskell or ML.
Why Amazon is tracking every time you tap your Kindle
I like the idea. I would change the colors a bit though to make the text pop a bit more.
These firsthand accounts are great for identifying potentially systemic issues that could cause under reporting. However, other than pointing to directionality, it is dangerous to use them to estimate the magnitude.
I'm supposed to be avoiding politics here, but:

I thought vaccines were kind of a 'fringes of both sides' issue until our Republican rep here in Bend, Oregon got the rug pulled out from under her by her own party:

https://www.oregonlive.com/health/2019/05/vaccination-boosti...

I was surprised, I didn't think it'd go down that way.

The sheer vitriol that our rep gets on her social media because of that one thing is quite something to behold.
"Facilitate criminal activity at scale" is an argument to ban roads, too. All infrastructure gets used by everyone.
One thing that depresses me about this entire field is that there are probably enough data points buried in all of the various Big Pharma databases for AI to come up with some truly novel and useful insights. Even though most of the data will be for drugs that failed, however, there's still zero incentive for the companies to share the data. In general I'm extremely skeptical of claims that central planning will be more efficient than capitalism, but this is one case where the competition seems actively harmful.
If anyone in the San Francisco Bay Area is interested in learning botanical illustration, Filoli Gardens offers courses in it: https://filoli.org/classes/botanical-art-classes/
This has a lot of interesting implications. Is there still the rum cocktail called a zombie? That was invented in the 1930's, back when the term was still associated with Haitian folklore about necromancy. And what happened to Rob Zombie in this timeline?
nimc --gc:none

Nim has 5 GCs to choose from, as well as being able to have none at all.
Stroustrup has written quite a bit fighting against complexity:

> There are two fundamental ways of approaching the unavoidable uncertainty in a design:

> • add “improvements” until everybody feels well served

> • cut until there is nothing left to cut and all there is left is principled and fundamental

> After both approaches, experience will show the need for changes (pre-release) and additions (all we can do post-release). I clearly favor the second approach and consider it proper engineering based on principles and feedback. I consider the former hacking and politics. In a standards process, compromises are necessary, but we must try to ensure than compromises are not between irreconcilables or just union-of-features bloat.

He continues:

> Stability is a feature as well as a serious design constraint. [....] I can summarize most people’s attitude:

> • “C++ is too complex. We need to make it smaller, simpler, and cleaner.

> • And please add these two features.

> • And whatever you do, don’t break my code!”

Source: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p196...
lol, ok - so then it's more the opposite - in GA there are row an column "vectors" (3-components)... but they are not "enough" (for that R^8 representation), so a matrix representation might be misleading ?
More info about this?