skysight-inc/HackerNews huggingface dataset:
> Don't give me aspirational pie in the sky. Give me operational policy.

See, there are three layers of decision making: vision, strategy, and tactics. You set large aspirational goals first (eg Microsoft "empower every person and organization on the planet to achieve more"), then smaller component strategies ("build the a cloud provider that integrates business intelligence into everything you do"), then the concrete actions to make those srrategies happen ("integrate Active Directory authentication into kubernetes RBAC"). One "vision" level statement spawns many, many "tactics".

When you're dealing on the level of "181 CEOs" from huge companies as diverse as JP Morgan Chase, Johnson & Johnson, and Ford, it is impossible to talk about tactics and strategy. What Ford can do to better serve long term interests of all stakeholders is too different from what Vanguard should do. You are only able to agree on the big vision, and let the units (or whatever smaller more homogeneous group makes sense) work out the strategy level and below.

This is leadership 101 stuff. There are several models of decision-making, but they are all hierarchical in this way. You won't find many media outlets pushing a collective of 181 companies to issue a single press release about the exact on the ground tactics they will all implement, because in this field that's a nonsensical request on par with "but how many packets can apache serve?"
Then the article is likely talking about anti-ship missiles (AShMs). Every "real" country can overwhelm a naval battle group of any other "real" country with guided missiles. A lot of these missiles can be fired from the shore.

AShMs defenses are very questionable when it comes to supersonic/hypersonic AShMs.
Global network's nuclear sensors in Russia went offline after mystery blast
I wonder if there's a way to tie the other pieces into shareholder value. ESPP is an easy way to let employees see upside when the stock does well. How could we tie serving customers to stock value? Being good partners?

It may be that we can't, and therefore stock price is a bad metric focus on.
"Shareholder value" misses at least two critical bits of context:

1. over what timescale?
2. at what level of risk?

As soon as they are incorporated, it's obvious that firms have both more leeway and more responsibility to take care of a wider range of stakeholders.
It's interesting that part of the rationale for building huge submarines is that the Soviets couldn't afford American-style aircraft carriers. Then they proceeded to bankrupt themselves making huge submarines.
This is terrific move by the CEOs. Why most of Hacker News readers are so synical about the statement. It is true that at the end, CEO's fundamental purpose is still on generating values to shareholders. But this statement signals a change in its way to achieve it: focus on customer, and employees with long term perspective, instead of short term stock market gain. The statement says CEO can do actions that can be harmful to stock, but still do it for the benefit of customers and employees, because they believe in it is good for the long term and us economic as whole. I see this is very positive statement.
The statement is great, and meaningful. Hopefully it's a shot of ethics into a somewhat moribund patient. However there are competitive forces also at play. A company that doesn't boost it's stock price as much as its competitor is at a competitive disadvantage because now it has access to less capital.

If we're really lucky, someone has found a way to objectively value the goodwill generated by taking good care of their customers, employees, and partners. Or perhaps that already existed, and the metric has moved into favoring good behavior for some reason, so these CEOs are agreeing to move together into this new operating theater so they can take maximum advantage of their existing customer base and spend less on churning customers.
How to add slash commands to a React chatroom
>The legal purpose of a corporation is to generate returns for shareholders.
>Goes without saying that corporations should maximize shareholder value using legal means only.

But why? This line of thinking typically assumes that people start companies strictly to make money--an assumption that I see as patently false. There are plenty of for-profit social enterprises (which is to say nothing of non-profits).

For example, Patagonia recently changed their mission statement "We’re in business to save our home planet" [1]. To think that they continue to exist just because Yvon Chouinard doesn't have enough cash in the bank is laughable.

[1] https://www.patagonia.com/company-info.html
As a sampling for users that are unfamilar, there is a twitter account that posts some of the jewels : https://twitter.com/bestofnextdoor?lang=en
Additionally: do you allow for words to be spelled incorrectly? People fat-finger things all the time, more so on mobile devices. Many pieces of software have this to some degree, see robots.txt as an example:

https://github.com/google/robotstxt/blob/bacd8ba94b6d066ff6c...
The lump-of-labor fallacy arises when people don't realize that increases in the labor, also cause a increase in labor demand. Hence why wages have been rising constantly, and unemployment being steady, despite America's population growing exponentially in the past 300 years.
When a woman puts in her profile that she has a dog, and her favorite activities all revolve around the dog, and she has pictures of herself in bed with the dog, that isn't "formulaic BS", that's her life.

Sure, you can say things like "love to travel", "fluent in sarcasm", etc., without those being huge parts of your daily life. But you can't own a dog and not have it be a big part of your life.

I do see some women who don't own dogs, and will say stuff in there about how much she loves them, wants to get one, will totally swipe right for your dog, etc. But usually they actually do own one.
TLDR:

- place the "add" button at the end of lists

- if you're still using dropdowns like it's 1997, stop

- make your call to action obvious

- examples help sell your product
> This is clearly a PR exercise

I hope this isn't the case, but that's what kept repeating in my head while I was reading it. If this is an honest sentiment and the start of a change in the way business runs then we'll see that in short order. But, in the end, it all comes down to making money and not "the greater good".
> Reputations can be unfair. But there are many characteristics that many developers still find unsavory about PHP, a lot of them fundamental to the language.

Unless the software developers are paid to wax poetically about those unsavory features rather than affect whatever gets the $$ in the door to pay the software developers salaries "Lolz, lookz at PHPz stupid." is irrelevant.
Most languages allocate every future (and sub-future, and sub-sub-future) separately on the heap. This leads to some overhead, allocating and deallocating space to store our task state.

In Rust, you can "inline" an entire chain of futures into a single heap allocation.
I can't picture a single scenario in which "doesn't crash" is the sole criterion by which code is evaluated as "working"
Well, no install basically means every OS vendor needs to ship a proper and compatible implementation (hah yes that'll surely happen) or you basically need something web based which means it needs an internet connection for bootstrapping.
Yeah, as soon as shit hits the fan you can be sure there will be nuclear warheads aimed at any major known military bases, ports and electricity plants of the country.
There would be no winner in a total war between nuclear super powers.

Sure China could probably destroy US bases in Asia easily, but what then ?
> only has 300 nukes
If you had written any other athlete I would agree.

But in this case I think 11 Messi's would win everything there is to win in football for a decade straight.
Bakkt Bitcoin Futures Announcement Revives Institutional Interest in the Market
They did and it was hangouts. Worked great on iOS as well.
I've always understood it to be that 'type-ahead' is a category that includes both autocomplete and autosuggest. Those two are subtly but importantly different. As 'suggested' by the name, autosuggest acts somewhat like a recommendation engine. It takes the characters that have already been typed, and uses those to search for potentially related keywords, etc., even if those don't match the literal characters the user has typed. Autocomplete, meanwhile, is a 'dumb' tool that enables things like tab-complete. Both are considered flavors of type-ahead.
It seems obvious in insight but I never used this before. An interesting front end trick, though adding gradient backgrounds is something I avoid as it's mostly eye candy
You can always unmount and mount the SD card between writing and verifying. The unmount should force the kernel to truly flush everything and do the physical write.
This isn't dereliction of fiduciary duty. It's not illegal for a company to go bankrupt or to spend all of it's money on highly risky investments and lose it all as long as it is done in good faith, and there aren't any magical guidelines for risk and liquidity requirements that companies have to accept legally. Management can do whatever they think is the best thing to do for the firm that doesn't break the law.
There's unnecessary complexity and abstractions -- especially in poorly designed systems, yes, that's part of my point, so I agree there.

> we won't again have the responsiveness we had 30 years ago.

Not sure I can agree with that. For the best systems, we absolutely have better responsiveness now than we've ever had, shorter latencies now in the hundreds sometimes thousands of hertz, and orders of magnitude more compute we can put in between input and response.

Maybe the worst systems are getting worse, but I think on the whole responsiveness has been monotonically improving since the invention of the microchip.

> the times were the CPU was polling keyboard resistances and then directly controlling your CRT's electron beam accordingly are long over.

I don't know every system ever made, but I don't think there was any long period of time when application software on digital computers controlled the electron beam in a CRT directly or polled keyboard resistances directly, those were abstracted by the hardware via DACs & buffers more or less from the start. Maybe some of the old vector display video games did, I'm not certain, but in any case, it's been abstracted that way for more than 30 years. The first framebuffers happened almost 70 years ago, before 1950.
How to Stick to Healthy Habits
Going down the same rabbit hole earlier this week, found this to be a good explanation:

All of the data needed by a task is contained within its future. That means we can neatly sidestep problems of dynamic stack growth and stack swapping, giving us truly lightweight tasks without any runtime system implications. ... Perhaps surprisingly, the future within a task compiles down to a state machine, so that every time the task wakes up to continue polling, it continues execution from the current state—working just like hand-rolled code. [1]

[1] https://aturon.github.io/blog/2016/09/07/futures-design/
If you don't want to have an OFAC list I suggest you petition your congressperson and see how far you get. Or take your case to the people! Tell me, who do you want to pay that you can't right now, because they're Syrian/Iranian/North Korean?
An hour away seems like a waste of 2 hours of your day to a commute.
- Click link, blown away by impossible feat of reverse engineering proprietary system done by apparently a lone hero contributor

- Realize nothing I work on really has so much impact as this one lone hero is likely to have already achieved by releasing this code

- Open HN thread with a sense of wonderment

- Read top comment, engulfed by a wave of revulsion, remember why we can't have nice things
> What checks and balances are in place to stop corporate entities that happen to not be unions from screwing their workers, screwing their employees, and screwing their community?

At least in the tech industry: dead sea effect. If you screw your workers, they'll get up and leave and go work for your competitor. Companies don't want this.
During training/testing a second person, who is not visible, audible, or smellable to the dog, and who knows the conditions of the course, observes the pair via cameras and microphones.

When the dog hits on something, the observer presses a button, indicating which target or decoy was indicated, or that an unexpected other object was indicated. The observer may also indicate when the dog seems distracted, or especially attentive to the handler.

A computer takes the buttons as inputs, and if its intermittent reinforcement program indicates it, the handler receives an instruction to reward the dog. The program may also reward the dog for misses, or just for paying attention to handler instructions, so the handler is not able to associate rewards with accurate hits. The handler then still has to investigate the hit to determine what the dog found.
So what superlative do we use when the entity you are borrowing money from is the same company you are investing that money back into!?!?? Most worst? überbad? Ponzi?
Sapir-Whorf hypothesis: linguistic relativity
I think a K4200 is the equivalent of gtx760, so a generation earlier than 960.

The K is for Kepler :)
[You should expect to be attacked by a whale because you happen to be in the ocean.] Indeed.
You just confirmed what I said. And do you have a peace treaty with wildlife that you should be at peace when in their territory? Quit being a snowflake.
Show HN: A Detailed Look into Scammer Strategy to Steal Your Money – Part 3/3
Metaphors Matter in Maintaining Success
Mentions it at the bottom, but looks like you need to go here: https://www.nuget.org/packages/ServiceStack.Common
people with allergies probably shouldn't go there.
> People get fired from blue-collar jobs for much less, all the fucking time

That says more about our at-will, "Right To Work" employment economy than it does about the morality of firing this individual.
Oh, yes, Dr. Lilly and his NASA funded study. All acid, sex and other things aside, some of the stuff he did was indeed interesting, if only to get to know dolphins in a way impossible in the wild. There was one NPR interview with Margaret some time ago, she mentioned that Peter (the dolphin she worked with) was absolutely captivated by her knees. He would echolocate on them and investigate them constantly. If you think about it, dolphins must know each other's anatomy pretty well due to their echolocation abilities. So a human knee (having no analog anywhere in a dolphin's body) was the constant focus of Peter's interest. But wild dolphins do not seem to be captivated by human knees, so this difference in their motivation is very interesting. In fact, the question about curiosity and motivation to communicate is a important one, even if we do a playback and use all correct sequences, if the dolphin is not motivated to reply in any way, the experiment will fail and we will never know why.
> It also eats up as much electricity as all the servers contained in one and a half racks

Seems like such a large chip is going to pose issues? 1.5 racks, lets generously say they mean lower power racks and are perhaps talking about 7.5kW, in a single chip? Seems like it would require some kind of water block with sub-zero cooling...
People with allergies already have to worry about hidden stuff like peanut oil. I'd imagine they'd just avoid this specific restaurant entirely.
Having a strong belief you don't practice, isn't just for wealthy people.
And if Netflix and Youtube were being charged the actual charge for a tech to walk down and plug in another cable or pop together another interconnect, that would be fine.

Instead companies like Comcast are seeking to make profit from this.
A programming themed A-Team parody
As others have said, this pattern is used for pattern matching when the language doesn't have specific constructs for it.

When I use it, I will extract it into a separate function, and just return the needed condition. That way you don't need to worry about case fall through.

function getCondition(param) {
switch (true) {
case ConditionOne(param): return 'condition one'
case ConditionTwo(param): return 'condition two'
case ConditionThree(param): return 'condition three'
}
}
And raise you, Service Now.
Yeah typical of isheep, they create biased title for money and traffic.

Their pattern for non apple product "XXX (other company) Introduces Own Version Of iPhone's AirDrop".

And for apple their title will be like "Apple Introduce Their Very Own Swipe Keyboard".
> Organising people is approximately what makes a person rich.

Which means, if we are to remove wealth inequality, we have to disincentivise everyone from organizing other people.
Or maybe miscalculating (I mean here thinking the U.S. isn't willing to go to war but turns out they are) and invading Taiwan. I'm honestly not sure how the U.S. and allies would respond. In my opinion, with the current Chinese administration there's no reason to think they won't continue to act in ways that the West views as aggressive, the question is whether or not we can avoid a war of a misstep. Certainly any military action against Japan (or the Republic of Korea) would guarantee a U.S. military response, but what about other countries? If you're China, it seems like the goal here would be to have Chinese citizens immigrate to countries like Australia and subvert their resolve through their own democracy. We see some of those actions taking place on college campuses in Canada, for example. It's certainly interesting to chat about.
Why would all of these CEOs from random companies even be in the same room? In a free market leadership doesn't exist that high, companies aren't supposed to coordinate at that level.
Language itself is made exclusively from dark corners and pitfalls.
Maybe I’m alone in this opinion but I’m tired of all these boring looking sedans. It seems all cars out there on the road look like identical bars of soap. Maybe the grill of this car looks a little different and the tail light cluster on that car has a different style but in general they all look the same. If a modern sedan is 10 meters away I can’t tell you if it’s a Camry, Civic, Accord, Taurus, Jetta, Altima, or any other model, unless I look at the badges.

Let’s get some more variety.
I disagree. Code ages and people move on. 2 years down the line some new guys are maintaining the code base. Some new guy is testing the system and notices that sales tax values seem to be "strange" for Kerplakistan on certain days of the week so they create a ticket for it. Then that goes through the typical pipeline. Another member of the team gets assigned the issue and looks into it. They come across the line:

return nil if country_code==KERPLAKISTAN and day_of_week==MONDAY

Hmm.. Well that's strange. I don't have a background in Kerplakistan monetary policy so I don't know why we aren't assessing sales tax on Monday. Perhaps Kerplakistan is a special case. Is that being handled somewhere downstream? Then 1-2 hours later, after shuffling through source and eventually just Googling Kerplakistan sales taxes, you discover what someone found out 2 years ago when they wrote that line. Now you resolve the ticket and move on with your day but you just wasted a couple man-hours on a non-issue that could have been resolved instantly from a code comment.

Comments are as much for the next guy as they are for you.
This is a pointless exercise in creating the think tank equivalent of click bait. So China could wipe out America’s military presence in Asia. What then? Do we assume that somehow the rest of America’s military back home and abroad doesn’t respond? That this inevitable retaliation does not weigh into a decision to “wipe out” Asian-deployed forces? American forces deployed overseas are nothing more than “ambassadors” for its military, mere pawns on the chessboard. Imagine a newspaper headline “black queen could wipe out white pawns” and realize how ridiculous this is.
Employees fired during a townturn will certainly have emptier pockets than they used to.
I don't see anything changing as long as short-term decision-making is incentivized. Executive shares should vest according to some multiple of the average tenure of a company in the S&P 500. If the multiple is 1, that means you need to beat the average to own a share of a company you manage. Tying it to the market average calibrates this schedule to the pace of company turnover due to external factors, such as population growth, technological change, etc. I'm not proposing a legal framework beyond requiring that these norms be promulgated and individual companies required to report the terms of share grants to management. Let investors make decisions armed with this information and enforce the norms that way. Maybe some form of this is already normal; I'd be curious to know.
To Resist Disinformation, Think Like an Intelligence Analyst [pdf]
It's completely free to use as mentioned at the bottom of the home page: https://sharpscript.net/#free

The source code for ServiceStack.Common is inside the https://github.com/ServiceStack/ServiceStack repo

The sharpscript.net website itself (written in #Script Pages) is at https://github.com/ServiceStack/sharpscript
Do you know that an excellent credit score of 830 is better than $100,000 cash in hand? Don't fall into the wrong hands Contact THE REAL HACKER Paul Mike for your credit score upgrade and He will remove all evictions from your card among other negative issues. He did a suprising job on my credit score and since then my life have been diffrent.Thats why I have to tell everyone with a bad score to act now and fast. Contact him on e-mail; hackerpaulmike@gmail.com. Phone number;+17206630651
The worst productivity advice I am hearing over and over.

I ensure you that there are many passionate writers, graphic designers and... programmers, who procrastinate a lot.

One of a big finding for me was that it is NOT nearly as much if I like something or not[1]. Is about knowing the next step and maintaining focus (especially with keeping the time "now" not "not now"). (However, I speak from ADHD perspective; maybe for non-ADHD people passion is sufficient.)

[1] For a stark comparison: I procrastinate on open-ended side-projects I love (sometimes for years), but when there is some accounting issue I solve it ASAP.
You sort of have to pay to become a partner to buy your equity share, that's just how it works, and as the other poster said, you can get a loan from the partnership to pay for your partnership buy in
tcp doesn't work well for wireless because packet drops due to signal interference look like collisions
> Collective bargaining means, valuing them about the same (a common agreement means the same outcome for all?)

Plenty of places have wage schedules:

* https://en.wikipedia.org/wiki/General_Schedule_(US_civil_ser...

Throw a "Senior" or "Level II" or III in the position, and it can move someone to a different level.

I've also seen places allow for an extra boost via a "market allowance" mechanism.