skysight-inc/HackerNews huggingface dataset:
"Teacher, billy punched sally and got away with it, that means I can punch johnny too!"

As for the ethics of this CC deal: fuck 'em. :) Global speculative capital makes money on arbitrage and legal fictions that produce financial instruments all the time, if a consumer can play that game, god bless em.
Link to the speech itself: http://www1.ece.neu.edu/~naderi/Claude%20Shannon.html
without Medium's clickthrough window and introductory comments at the link posted above.
Kotlin may be a nice language but its HTML library:

https://github.com/kotlin/kotlinx.html

... is an abomination.
The original article article URL before the change to avherald contains a post that addresses this:
https://www.pprune.org/showthread.php?p=10450572

Obviously we'll have to wait and see what the actual story is, whether this is really old bad tribal knowledge, and if the operating manual contradicts that, and whether pilots are getting the proper training and consistently applying it in practice.

I'm an opinionated and biased pilot and former flight instructor, but not an aerodynamic engineer. Spoiler extension does not increase the effective angle of attack of the wing, whereas a dropping aileron does. And therefore off hand, and without benefit of an Airbus type rating, I don't really care if the actual control surface is a bit of right spoiler instead of left (down) aileron, all I care about is that the windward wing does NOT lift off first because that will foul up the ground track on takeoff, and that's simply not proper technique.
I wasn't referring to any specific person.

The closest person I was referring to is the player in the "Chinese esports team" that dx87 was talking about. Or possibly a hypothetical white player on who could have been put in a similar situation by an interviewer. I guess they have a little bit of power due to their position on a top team, but I don't consider that to be much power. I don't consider them victims either, just humans who have their own set of goals and fears, that I can try to analyze.
Yeah, I don't understand the love for GraphQL. It seems over-engineered and difficult to get started with.
> I have a hunch some flaggers may not yet have enough karma to downvote, but enough to flag so they flag in lieu of downvoting but thats just a guess.

Flagging is only supposed to be used for violations of site guidelines (off-topic, spam, uncivil or unsubstantive comment, duplicate submission, etc.), not for disagreement. People who flag on-topic articles or comments may get their flagging privileges revoked by the moderators.
This is a pretty unfair comparison for React. He uses the "JavaScript has complex toolchains" excuse to not use best practices like JSX and a bundler, then claims React is verbose and slow compared to other solutions that use complex toolchains?

First of all, Parcel is a dead simple to use bundler that supports JSX, hot reloading, code splitting, and various file types (including TypeScript) out of the box: https://parceljs.org

Second, that React code is much longer than it needs to be, mostly due to formatting, but if you use function components and React "Hooks" it can be extremely short:

const Counter = () => {
const [count, setCount] = useState(0);
return (
<div>
<p>The current count is {count}</p>
<button onClick={() => setCount(count + 1)}>Increment</button>
<button onClick={() => setCount(count - 1)}>Decrement</button>
</div>
);
};

With the imports and call to "render" it's about 15 lines of code, which is much shorter than all of his other examples.

The class version (written how I'd do it) is about 25 lines, which still shorter. Here it is without JSX, using Preact's HyperScript-style `h` instead of `React.createElement`:

class Counter extends Component {
constructor(props) {
super(props);
this.state = {
count: props.count || 0
};
}
increment() {
const { count } = this.state;
this.setState({ count: count + 1 });
}
decrement() {
const { count } = this.state;
this.setState({ count: count + 1 });
}
render() {
const { count } = this.state;
return h("div",
h("p", "The current count is " + count),
h("button", { onClick: () => this.increment() }, "Increment"),
h("button", { onClick: () => this.decrement() }, "Decrement")
);
}
}

And of course these are toy applications, which aren't even representative of real applications. I'm not sure I can go back to imperative UI toolkits like GWT, etc.

The application size seems approximately accurate, but if you really care about bundle size you could use Preact (which supports most of React's features). The brings the bundle size down to about 10KB, which is also much smaller than his examples.

Load time is also unfair due to lack of bundling.
If abusing a drug causes extreme physical pain before causing permanent physical harm, that strikes me as being more of a feature than a bug.

To the extent that caffeine is safer than cocaine even though they're almost pharmacologically identical then that's the only reason, in terms of caffeine quickly becoming unpleasant after a certain dose.
Scotland, maybe?
Yes, I'm using Tower-grpc from them. Stable and has the features that I need.
lmfao, the democracy index is such a fucking joke. Developed by capitalists in the UK, It is so incredibly biased in favor of global neoliberal capitalism. Notice how nearly everywhere that isn't considered the "West" culturally is considered "not democracy". Nearly all of Africa, "not democracy". It's just a sad excuse to reinforce existing biases about the rest of the world. Biases which were many times orchestrated by politicians and corporations for their own benefit. Ultimately this index is just a tool for the ruling class to use to reinforce their global hegemony.

Democracy is the empty excuse that global powers have used to exert their political and economic will for centuries. See Vietnam, Iraq, and now Venezuela.
This is so obviously old-school flame bait that I can't understand why we are even discussing it, unless the idea is to go meta with its discussion.
> My personnal pet peeve is hearing there is no addiction. I sold pot for years and some of my clients were definitly showing all the signs of addiction.

Yep, I've had two friends who were heavy smokers and would become horrible fiends if their supply was interrupted. Whereas the rest of my heavy-smoker friends would be annoyed but wouldn't go crazy.

It seems to be like alcoholism, it only affects a percentage of users.
I'd be really interested to hear what you think they missed, because I find your claim to be surprising and a bit preposterous.
This sounds fun. Do you mind giving a longer description?
The power of the mental can be demonstrated through something as simple as adrenaline. This is something that is mentally produced and can enable feats that seem superhuman, enormous strength and speed in particular. If somebody could consciously control this, they'd effectively be a superman, though I'd expect not for long. I think it's reasonable to assume that the reason we cannot manually control things such as adrenaline is because of the wear and tear on our bodies. It's almost like overclocking. You can generally lift, without adrenaline, an amount that you can safely lift (though not necessarily control). But factor in adrenaline and you can lift far more than you can safely lift and very likely injure yourself in the process.

A more controversial example (since it includes foreign substances) would be PCP, but it's a similar story. A single man suddenly seeming to gain the strength and endurance is not because the drug is somehow physically changing him - it's just shutting off various critical systems like pain detection. A similar story to the above in that we are physically capable of vastly more than our bodies consciously enable, but the consequences usually involve pushing your body past its physical limits which can result in self injury.

But yeah I've also noticed the exact same thing you mention with visualization and lifting. It'd be interesting if visualization somehow helps us, even if slightly, consciously override our subconsciously enforced performance limits.
Just walking or driving around town. I've helped a couple get a refrigerator in their house - somehow the delivery service left it in their driveway. Weeded without asking - parking strips, or other parts of property not near the windows or house. I'm always on the lookout in winter for a stuck car that needs shoving.

Since it's Spring, offer to help older folks get their garden going. Once things are planted they can usually manage well enough.

If you live where people dig pools often, sometimes it's easier to shovel than Bobcat - noise issues with neighbors, restricted space, etc. Excellent work if you can get it.

Neighborhood websites around here usually have someone asking for some sort of physically demanding help. Today, for example, someone is asking for help clearing their 10 acre property of limbs that fell off during the winter storms. One could not only pile them up but also bow saw them into kindling.
Nope, classic shell works just fine.
The economy was destroyed before the sanctions started.
I think we should consider the despots that use the socialist label, rather than try to figure out who is actually socialist or not.
Probably true, but let's face it, there are few good actors in this story. The Venezuelan government is not remotely interested in the actual welfare of its citizens. The US foreign policy establishment is concerned as always only with Empire (the aid story is a lie: https://theintercept.com/2019/02/20/regime-change-we-can-bel...). The nation itself is riven.

Picking a 'side' here could not possibly be done in good faith. And thinking that armed citizens would improve matters is beyond absurd.
I believe this person was referring to the esports team not neo nazis
Sure, but if these particular Christians are driven by the "bias" of being concerned about the welfare of all people...that's not really a bias anymore, is it?
Useful Rust macros that you might not have seen before
Found this first on vasaviation (https://www.youtube.com/watch?v=Ca-0Bi2lZhg), which focus on atc communications. It looks like the pilots took 5 mins to report to atc for emergency landing request.
My idea was that if the rich want to increase their wealth, they need to start by increasing the wealth of the poorest members of society. Also, everything above the 1000x level is taxed heavily. Everything below, possibly a low, flat rate. I don't know how this applies to America, but where I live, 1000x median wealth will give you more money than you'd know what to do with.

This particular plot revolves around a mathematical proof (not unlike psychohistory in the Foundation) that indicates any society where a single member is able to acquire more than 1000x the power of the median member results in a power/wealth accumulation feedback loop that eventually destroys the society.
Well, how large is the pool of other possible candidates? Wouldn't someone from that time period (say the Simula folks, or another PARC employee) challenge that assertion? Why would he like?
I have never had a good experience with weed personally...it just seems to make me paranoid, tired, and I feel like I can't do anything for the rest of the day and at least half the day the next.

Conversely, I've had amazing experiences with small doses of lsd and shrooms. They've made me feel more alert, creative, and more optimistic.

I'm always surprised when people who are otherwise obsessed with productivity (in tech, finance) tell me they enjoy weed because it seems to enable the exact opposite effect.
The use policy explicitly states that they don't want this site to become a political message board.
Ask HN: What Hacker News comments have you bookmarked?
Frequently while browsing this site I see a comment that is profoundly insightful about culture, mindset, career, relationships, coffee grinders, etc.

I realized today that I’ve always considered them in the moment and let them go. Perhaps I should have been bookmarking them and revisiting with a different perspective.
You could also make a class of global functions and use that, but I think the point still stands: it forces square pegs into round holes, so to speak.
> Objects can have a private state. This is a problem with mutability, not oriented object programing. You can have non mutable OOP.

Wouldn't this violate the "encapsulation" pillar of OOP? As far as I know, it's always taught with encapsulation, inheritance, polymorphism being its three pillars.

> How has OOP created a software industry that would not have existed if functional programing had "won the fight"?

I'm not sure functional programming has lost yet. I haven't worked with it personally, and so can't speak to its merits or demerits, but have heard a lot of buzz around it recently. As you said, people tend to hype everything; some stay and some go. It might be the next big thing in programming, or it might be hipster tech. Or, like most things, it might have some good applications, but not be applicable to everything. That's basically my argument for OOP.
I have read that if its not in airplane mode, a phone will consume more power trying to establish a connection than a phone that has good signal.

Having a hardware switch is also just more of a usability thing, make it a simple choice to turn off the radios/notifications, don't make me go into settings to have some peace and quiet...
There are two ways to take it: the "everybody has been bad" GP used, and "the probability of any one event being X is lower than the rest." For the former, it would make sense to look at how guns are promoted as problem-solvers, and for the latter is worth discussing how group values make a person more likely to inflict firearm injuries. Utility vs. incitement, I suppose.
There must be a t9 keyboard for android.
Macbook Pro 13" nTB 2016

Sucks, but for me the alternatives suck even more.
Are you aren't just on the wrong screen? I have a current gen civic and oil life is one of the info screens, you can use a button on the left side of the steering wheel to cycle through them (stacked pages with an "i"). The mpg page also shows remaining miles on current tank.
Well I guess they would be equations that are partially differentiated from other equations?
The AKT1 gene variant, but there's a caveat.[1]

genotype T/T: roughly equal risk of psychosis (1.0/1.0/1.0) regardless of marijuana use.

genotype C/T: roughly 0.8 risk with no marijuana use, 1.0 risk with occasional use, and 0.9 risk with daily marijuana use

genotype C/C: roughly 0.5 risk with no marijuana use, 1.0 risk with occasional use, and 7.0* risk with daily use.

It's the daily-use C/C case that is emphasized, but note that it requires frequent use; otherwise, the risk is roughly on par or better than other genotypes.

Note: numbers and relative risks may change with better studies. It's unclear if the type/severity of psychosis is statistically the same for different genotypes.

So, the conclusion I draw is that only frequent marijuana users should be very concerned. Once a week or less isn't too worrying, but if you absolutely want to take advantage of a half-normal risk of psychosis if you have the C/C variant, consider skipping the marijuana and doing advanced meditation instead?

I wonder how difficult it would be (and how much it would cost) to have a portable AKT1 genotype assay available in marijuana dispensaries.

That and several other genetic variations, and their implications for marijuana users, are described at http://profofpot.com/genetics-thc-psychosis/

[1] https://www.drugabuse.gov/publications/research-reports/mari...
You can't out-exersice a bad diet. Develop lean muscle. Sleep well.
Researchers Utilize Noise Data to Improve Reliability of Quantum Computers
fall in line citizen or face the consequences of your deviation!
That means you’re intentionally trying to get them in trouble?

This is as asinine as getting someone to say “bomb” at airport security.
Hume successfully argued that it's impossible to get causality from experience, because causes aren't in experience, only correlations or one event following another. You need a mental concept of causality to draw those connections. Hume called it a habit. Kant argued that it had to be one of the mental categories all humans structure the world of experience with. Space and time are two others. You don't get those concepts from raw sensory data. We have to be born with that capability.
I don't really think so. Its natural to refuse to insult people to their faces.
The particulars of these incidents are news. What isn't news is the fact that totalitarian regimes have no regard for human rights. That fact is no more novel or surprising than the fact that wolves prey on other animals--though if wolves had the same power and influence as the Chinese government, maybe we'd forget about that, too.
We kinda fucked that up now though. The most successful plants are now that ones we like to eat instead of the ones we don't like to eat.
Armstrong wrote the very famous "Why OO sucks" and then a decade or two later, changed his mind when he saw how successful OO was, and then tried to retrofit Erlang into an OO language. Not by changing Erlang, but by twisting the definition of OOP so that Erlang would fit it.
If preventing "stochastic terrorism" was the reason they turned off social media, shouldn't they have done it before the bombs exploded, possibly even before any of the terrorists used it, and not afterwards?
From other reporting it sounds like they didn't know they hit something until left side passenger(s) reported wing damage to flight attendants, who then reported to pilots. Also it wasn't an emergency landing request: no mayday, no pan-pan, their only request was for a particular runway presumably because it was the longer one, and they explicitly denied needing ground assistance.
This is exactly right. People can pretty easily make their own lunch, and yet every day there are millions of transactions involving people forking over, say, $8 for an overpriced and overspiced pasta dish.

Programmers need to stop looking at the most negative pathological potential that involves not getting paid and then extrapolating that it will be true for everyone in the pool of prospective customers. (That and also stop feeling burned when someone either takes a path that involves not paying or just doesn't bite at all). The sandwich shop doesn't have to capture 100% of the revenue that could be generated by the passing traffic. They just need to do well enough to keep the lights on.

And stop focusing on open source versus commercial software, or how to "run an open source project" and find funding for it. Start selling software that's incidentally open source.

In 2017, I decided that I would (a) start paying for more software, and (b) never again pay for any program that didn't come with source code. (I.e., not even necessarily free software—they just need to have published the source somewhere.) The consequence of that is that I've paid a total of $0 since then. Know how many times I've bought pizza in that time period?
I love the casual suggestion that marijuana prohibition was just another tool in the white man’s belt to hammer down brown people. It’s ridiculous and it permeates so much of what gets written nowadays. It’s not much different than blaming a group like the Jews for all the world’s problems, real or perceived.

I fully understand that prohibition laws may disproportionately impact certain groups of people, but let’s not pretend that was the motivation in the first place. Many intoxicants have faced prohibition and or regulation. If this stuff were completely benign nobody would give a shit about it.
If it's defined as the people you hate, then size matters a huge amount. If you only hate and would discriminate against two people, then you're amazingly tolerant.

The paradox of tolerance is not particularly difficult to deal with. You prioritize the preservation of as much tolerance as possible. If someone is trying to reduce the levels of tolerance in the world by a large amount, it's important to fight them, even if it means minor short term intolerance. And even then you tolerate them in all other ways.
Note that I mean profitable comparing to a developing country tech job, not to Silicon Valley standards. Also most of the profit is if you scale it to multiple spots.

One cup made about $3* unit profit. We sold 75-300 cups a day. $5k to $20k of profit a month to start with, 5 days a week. Rent is about $1k. So let's say $4k-$19k, with it more likely being around $6k/month.

Peak hours were 6-7 AM, 12 noon, 7 PM and it takes an hour to open and close. We can't miss any of these periods, and often have lines too long to manage. But that's a 14 hour shift or two 7-8 hour shifts.

To sell 100-200 cups, the minimum team size is two, because people get sick, go to the bathroom, pick up kids, etc.

If someone wants to do an 8 hour shift, that boils down to an average value of $1500/month. If they can do 14 hour shifts, we could pay them $3000 instead, but we lose some benefits of redundancy. I'd be paying 2x for a 1.8x gain or so.

Scaling the company means more quantity. If I had 5 kiosks, I could negotiate 10% better prices and push the 20% margin to 30%. My $3 profit margin becomes $4.50. I can give raises, but not double salary.

Let's say salary and rent totals $5000/month. At 1 kiosk, we'd take home about $1000 on an average month, lose $1000 on a bad month, take $10000 on a good month. If I paid them 20% more, that makes it $-2k/$0/$9k. There's a huge incentive to pay as little as possible.

If we expand to 5 coffee spots, it becomes more like $1.5k/$4k/$9k per kiosk because of economy of scale. Multiplied it would be $4.5k per month pessimistically, $20k realistically, $45k per month optimistically. Scale to 20 or 200 spots, and it does become hugely profitable.

In the tech world, if you pay 2x, you'll often bag a 3x programmer. Quality scales very well with salary. The output also scales.

With coffee, not so much - we sold great coffee at low wages, the kind that people come in skeptical and end up buying two cups a day, or take a bus from the other faculties just to buy. If we improved quality by a lot more, I doubt they would buy three cups a day instead.

* not actual dollar value, just normalized for simplicity
It says a lot about Facebook’s low standing that a lot of people, myself included, are generally OK with it being blocked during emergencies.
You are a guy? Does most of your revenue come from men? Are you gay or bi? Just clarifying for others that this may not be a realistic or enjoyable option for them, lol...
In Kay's OO the only way to interact with an object was through method passing. It was important the the internal state of an object was kept private at all times.

Getters/setters are technically message-passing methods, but they undermine the design goal because they more or less directly expose internal state to the public world.

But we see getters/setters used constantly. People don't use OO in the way Kay intended. Yes, methods are the implementation of the whole "message passing" thing Kay was talking about, but we see them used in ways he did not intend.
Yep, you got it. Also he recommends you do that too.
As a minority, I guess I'll just have to agree to disagree.
Ah, so you have evidence that it was somebody else?
I'd be happy to share. But your email address doesn't seem to be in profile. If my responses in the other comments haven't answered your questions, feel free to email me.