skysight-inc/HackerNews huggingface dataset:
What are the biggest leadership challenges for StartUps CEO/Founders?
Right. The first rule of password security: if you have a large enough user base, the odds of a user writing down a password increase, and as passwords become sufficiently difficult to remember, the odds approach 100% at some point that _some_ people are writing down passwords. No amount of defense in depth can protect the "I have a Post-It note under my keyboard" problem, if people can get into your building.
oh a downvote for being inquisitive?
GO FUCK YOURSELF YOU ASSHOLE!
Those media people laid off are in the incredibly enviable position of being able to literally start a new high-demand news outlet overnight. There's enough across the industry's spectrum who know each other that they could, starting with just their cell phones, launch a business filling an industry void: reporting objective news.
It sounds like the OP got a second-hand storytelling of what happened, and the original storyteller didn't know the exact details or made things up. It doesn't make sense for the lawyer to not to suggest settling especially if the company is going to go under.
It's great that somebody is looking into this and goes through the trouble of aggregating the data, but the presentation is lacking severely (unless I'm completely blind and am missing the real thing).
The first example is not at all good. It does not, in fact, eliminate the special cases, and becomes almost certainly less efficient—demonstrating why I would say that for this particular case a Good Programmer would write the code in the first form and not the second.

The special cases: they are not removed, merely transformed from `if` statements to boundary conditions on the iterator. The `i == 0` and `i == input.size - 1` checks effectively move into the iterator, with how the nice and clear `input.map.with_index do |_, i|` becomes the magic `(1...padded.size-1).map do |i|`. The 0 added to the start and end are also easily arguably special cases.

The second form is almost certainly less efficient because you’re creating at least one new array, unnecessarily.

> The special cases are gone, and the simple algorithm shines through.

The algorithm does shine through more, but the special cases are not gone, merely transformed (and into an arguably less clear form), and the code is less efficient.

Simplifying things is a worthy goal, and a lot of special cases are code smells, but be careful in seeking to remove them, and remember to at least consider performance, even if you end up deciding to prefer succinctness instead.
Everything you say above (except the last sentence) is true in the general sense. But you seem to have missed what's happened in the sexual harassment scene around the world in the last few years, and hence treating this as a one off expression of anger by some people doesn't make sense. I've said enough on this topic for now.
This is ridiculous. "Greed" didn't kill newspapers. You think the classified business would be any better today off if newspapers had artificially held ad. and sub. prices down in the 80s and 90s? $0 is $0, and that's what people will pay for classifieds now.

"Hedge Funds", everyone's favorite bogeyman. "Lack of Innovation", as if the Chicago Tribune was going to save itself by opening a geocities page in 1996.

The 'news' business is a zombie because it sells a product that is basically free to produce and free to consume. That's it! You don't really need a newsroom to give you "the news" anymore, and so the market for a product whose main feature is a professional, standing writing staff that simply yesterday's events no longer meaningfully exists. No amount of investment in technology by media companies in the 90s was going to do anything but _hasten_ that shift.

But, there's plenty of great media out there. You can sell good writing if it is actually good; you can monetize your opinions if people will actually pay attention to them; you can sell your access if you actually have it; these are media business models with staying power. They might not be billion-dollar properties and they might not report "the news" per se but they provide value and they will be fine. My household subscribes to The Athletic, Foreign Affairs, Tablet, The New Yorker, and The Information, to name a few. All great.
They only own Unix the trademark. Unix the copyright is a much more muddy concept that'd probably lead to another trial between Novell and SCO. If SCO won they'd totally go after all the Linux and BSD variants too.
While I think you’re mostly right, worth pointing out that CNN’s “Journalist of the Year” - who worked for Der Spiegel - was recently outed as having completely fabricated the majority of the articles that he’s written over the last several years. Unfortunately it seems that being highly respected doesn’t mean everything published is true...

Feels a bit rich to link to any media as a source now, but here you go: https://www.nbcnews.com/news/all/german-reporter-stripped-cn...
I think you're right.

The first big step in Emotional Intelligence is being able to understand and regulate your own emotions, and it's the first step for a reason.

Kids who passed the famous marshmallow test (were able to resist the impulse to eat the marshmallow when unsupervised) were far more successful in later life

I have two brothers who occasionally get very angry, cut off relationships on whims and sabotage themselves through acts of defiance and misplaced protest, and neither of them is very 'successful' (however you define it). There is definitely a link.
I'm surprised Car Magazines are getting involved in politics outside of say... car industry politics.

One thing I hate are the pricey opinion writers media likes to hire these days. In major publications these people can make $250,000/year (and up) to basically write partisan hot-takes that you can get for free on twitter.

You could hire 3-4 investigative journalists for the same price.
Aaron Swartz wrote an interesting piece on why he didn't read the news: http://www.aaronsw.com/weblog/hatethenews
More ZFS Drama
Agreed. A better solution here is to have a generic accessor on the Array that can return a default value for out-of-bounds accesses. There almost is one already, the two-argument version of fetch(), except that interprets negative indices as counting from the end. But if we create a variant that doesn't treat negative indices specially then the code becomes very simple

result = input.map.with_index do |_, i|
input.better_fetch(i-1, 0) + input.better_fetch(i+1, 0)
end.to_a
I built Read Across The Aisle to help people do this. It's totally free, with no tracking or PII monetization — just a side project I decided to launch. It also includes free WSJ access, thanks to a generous partnership they offered us.

http://www.readacrosstheaisle.com
It's not your imagination. Oregon's homeless population has been increasing several percentage points year over year [1]. It's even worse in California.

[1] https://www.oregon.gov/ohcs/ISD/RA/2017-Point-in-Time-Estima...
Outlier Podcast Festival – Austin, TX
There is not much I am afraid. You might for example find a foreign outlet like Al-Jazeera reporting about some country it doesn't have interest building a narrative about, but anything about it's corner of the world or especially Qatar is just not going to be unbiased by any means.

Then maybe BBC or Reuters, but always compare coverage of the same event and you'd see there is always a slant or spin involved.
They were foresighted enough to see mobile as a key platform, and critical for long-term advertising... but not foresighted enough to try to work with Sun, to make a subset of java giving reasonable performance/efficiency on mobile back then.

Probably because Sun went along with it, so why bother?
> you can mix and match views and controllers from AppKit and UIKit

Last I heard, Marzipan apps cannot link against AppKit at all.
There is no requirement that optimization does not change behaviour. The only requirement is that the optimized behavior remains consistent with the standards. The point of the point on floating point equality is that the standards give enough room for variance that you should not use literal equality unless you know exactly what you are doing and have a good reason for doing it.

As an aside, if your concern is that the standards impose too much restrictions, another popular option is the ffast-math option.

We see this come up with strings fairly often in higher level languages where, sometimes, logical equal strings will happen to be equal because the runtime's interning system made them point to the same location, but there is no guarantee this would happen and the implementation is free to change it at any point. I believe I have also seen this behaviour come up with interning on some Integer wrapper types.
Is China going to dominate AI?
I can certainly imagine cases for which this is true, but I more often than not would expect this to be true mostly at the end of a long tail of requirements smell and model smell.
I disagree with the article. The reasoning is much clearer when you specifically spell out how you’re handling special cases than trying to finagle your input and padding with zeros and whatnot.

It’s literally hiding your intentions and reasoning for doing things, which I think is anathema to good code maintenance.
I also wanted to note that the millisecond response time performed by AlphaStar also seems an unfair test.

While the average was around 350ms, this number is skewed by a significant long tail extending up to 1300ms for some actions. The most common response is sub-200ms and the third most common response is 65ms-100ms. The best pros can consistently hit close to 200ms but I am not sure if they can even hit below 100ms, let alone 65ms.
They'll tell you that nobody's forcing you to work for a company that requires you to undergo forced arbitration.

I tell them that nobody's forcing them to work for a union shop.
I'm profoundly unconvinced by this. "Handle special cases, then do the thing" is such a widespread, nigh-universal pattern that I don't think it hides anything from the programmer. It's the pattern used by any function that checks its inputs!

Rejiggering an algorithm so as not to have special cases just puts cognitive load on whoever reads the code to suss out what the original algorithm was. "Why does this algorithm require its input array to be padded with zeroes? Oh I see, it doesn't - the developer just did that to remove some if statements."
The modern welfare state (post-1930) did create a huge number of these stunted people. UBI will create many more, and it'll be a generational compounding effect, as the stunting increases through generations and we develop familities where no ancestor has worked for 3+ generations.

Just reflect for a moment on how many of such stunted people existed in 1925, compared to today. Now apply that difference again a few more times, to a segment of the population with above-average fertility, and guess how many generations such a system can last.
Naive question, isn't that API available for anyone including Google to duplicate or use directly by the nature of the Java open source license?
You can disable autoupdate and manually check for updates occasionally.

Also, any time an application is available from both inside and outside the App Store I always prefer the outside one. The sandboxing that the App Store imposes is a massive pain. There's also no reason in my mind that Apple deserves a fat slice of my license payment.
This is not at all the variety of advice I expected to see in something titled "Practical Linux Hardening Guide"
I have used it 3 times or so and it was effective. The thing is I am not threatening to sue personally. I am threatening to refer the issue to the government. I personally had no intention or interest in pursuing legal options, but maybe the AG would. In one egregious case where the situation was resolved I still informed that office if the attempted fraud.

Again I'm not threatening to bring legal action. I'm just letting the 800 lb gorilla know about the situation and they perhaps might want to do something.
Precisely, unless they decide to continue their recent good-guy streak.
Huh, I'm kind of sad that they left BuzzFeed, because it means I'm not going to run across any of their new videos while skimming through the BuzzFeed AppleTV app.

In any case, the fact that Try Guys was popular enough that they felt they could leave BuzzFeed and make it on their own only strengthens the argument that BuzzFeed is putting out good original content.
On the other hand, the first one has a bug when the length is 1, which the second one fixes... but of course you could fix it without allocating memory either.

Relatedly, in image and video processing the (literal) "edge cases" are sometimes handled by allocating the buffer slightly larger in the first place, so that filtering operations (which are very similar to that example) don't run off the edge. Maybe the real lesson here is "think ahead"?
Some weather maps added purple to Australian heat maps a few years ago to fix that lack of range.
Love Sea food. Do try this dry prawns and onion pepper masala
trade some of your data

This seems a wrong and misleading way of looking at it. Facebook has the data either way, and advertisers aren't getting the data either way. You aren't "trading" anything; the algorithms can either show you something relevant, or show you something irrelevant.

Personally, I'd rather see something I might find amusing. I was about to say "it hasn't happened yet", but I actually have clicked on one FB ad (ever) - the mysterious package company, which actually does look interesting. Not enough to give them my money but still, it's a start.
"Just adding more digits" ignores the whole point of the problem: That ISBNs live within (a subset of) the number space of EAN codes, which are used globally for all sorts of products: https://en.wikipedia.org/wiki/International_Article_Number

And that software systems all over the planet are built to handle specific numbers in specific formats. "Just add more digits" requires a global shift to a new format, which will take many, many years to accomplish. The shift from ISBN-10 to ISBN-13 took years, and there are articles about "are you ready for ISBN-13?" out there. Like, this is a Y2K-type issue.

Sure, another expansion is inevitable, but if, like the author, your goal is to sell books in a lot of places right now, you need a number in a fairly limited scope of available numbers that work with distribution systems people actively have.

It'd be like if you told someone they didn't need an IPv4 address because IPv6 addresses were available. That's all fine and good unless you have customers on IPv4.
The base is from a forked off version.
> Office365

There's your problem right there. Just buy a perpetual Office license. The awful Adobe-style subscription model for desktop software that barely ever changes is ridiculous.
In other news: "Australian coal exports hit record high"
The repeated if checks inside a loop could easily be less performant than the O(1) operation of adding 2 items to a array.

I think you’re too quick to assume that your preferred solution is faster.

Personally, I’d use the more clear code and only if the code proved to be a bottleneck even consider refactoring for performance. Whether the author’s preferred solutions are clearer, I’m not convinced however.

Finally, the author doesn’t claim that the special cases are gone, but more so that the input is transformed in a way to allow processing that is blind to them.
Zimbabwe’s government faces off against its tech community
>One that has interested me lately is called 8th

Link, please? Did not find a page about the makers of 8th, though I googled and saw some other related pages I'm reading.
You should do an updated test comparing AWS as well. I feel like there should be more continuous benchmarking efforts of cloud vendors. This is the last one I remember in this genre (https://www.azurefromthetrenches.com/azure-functions-signifi...). I wonder if someone could make a business doing that.

Also, I've found in terms of UX GCP > Azure > AWS personally.
The first artificial Korean.
Yeah, in Rust it’d fall very neatly out of the type system, as `input.get(i - 1).unwrap_or(0) + input.get(i + 1).unwrap_or(0)`.
I don't mind high quality content such as this being shared at regular intervals for the sake of new readers.
The OP is accurate—but it's missing two more critical reasons why newspapers are dying.

1) Ad fraud. It reduces the value of advertising. https://www.mediapost.com/publications/article/328730/advert... "The Interactive Advertising Bureau (IAB) estimates online ad fraud costs advertisers $8.2 billion annually." And I've heard numbers alleged much higher; as much as 30% of revenue for a news site...

2) User tracking. If you have the choice of paying X for an ad for a user on the NYT site, or (1/3)X for the same user on some clickbait site, which do you do? (particularly as an advertising middleman attempting to maximize impressions per $). This type of arbitrage—sometimes unwittingly coming from user data from the higher quality sites—could significantly reduce their revenue making them unprofitable.
So, advertiser dollars in the "attention economy" have been redirected from newspapers to ad-tech.

I wonder, who is a better steward of this money, and the control it entails? Tech has been getting a bad rep recently; but there was a lot of crap in the print newspapers from the old days, too.
than the O(1) operation of adding 2 items to a array.

Not very familiar with the language, but the code appears to create a new array by concatenating three arrays, which means copying all the elements; how is that O(1)?
I do think Amazon is the new Microsoft. With AWS, Amazon figured out how to embrace, extend, and extinguish the entire open source ecosystem. But AFAIK AWS isn't yet acting anti-competitively. (And neither is Microsoft any longer, for that matter.) I suppose maybe in the book publishing industry there are strong anti-trust concerns.

But I don't think this is what people have on their minds. Few in the industry question the consequences of moving to AWS. And most people--techies and non-techies--use and enjoy Google Search, Chrome, and Android without qualms. Nobody is shedding a tear for Bing, Firefox, or Yahoo, and in any event nobody is arguing that Google unfairly muscled them out.

It's only when a service or technology implicates social media do people really get fired up, and to a lesser degree the selling of mined personal data. But the fact that people think of Facebook, Google, and Twitter, plus a litany of other tech companies with household recognition, should all be punished betrays their logic. None of this behavior is anti-competitive; it's not destroying markets; it's not transferring wealth. It's one thing to argue personal data aggregation, mining, and selling should be more heavily regulated (a la GDPR). But anti-trust has nothing to do with it, and I don't see how splitting any of these companies up would substantially change anything, let alone result in a net benefit. At least not under the pretense of "fixing" social media, privacy, or fake news.
Intel Searches (and Searches) for a New C.E.O
This is absolutely not true. Places like reddit break news all the time.

At least in the subjects that I follow, those being gaming and livestreaming, I see news stories break on reddit, because of something that someone posted in the comment section, or as a top level original content post form a user created clip, with extreme frequency!

Reddit is argueable the best place to find developing news for these specific subjects, at least.

And it only hits the "mainstream" media hours and hours after some rando had just made a comment about it, and posted a video link.
China clones gene-edited monkeys
This is really worrying.

> To illustrate the point, he selected a sample from a 52-year-old Bensalem resident who had been pulled over the previous day for running a red light.

They're doing DNA matching against people pulled over for misdemeanors (speeding and an outstanding warrant for "retail theft"). And this is apparently now being connected to a national database.

> To collect DNA, police in Pennsylvania must obtain consent from people under arrest. Ninety percent of those asked say yes […] Asked why so many people would consent to give DNA, he said: “I have no idea. But criminals do stupid things.”

I know why. It's because you've got someone in a position of power asking those they have power over for something they don't really understand. People will say yes because they hope that agreeing to the demands of their captors means they'll be treated better.
You collect more fees with the more hearings you host. It would be trivial to increase the size of the justice system. However, the system as it stands now is ideal for huge trillion dollar companies.
It’s strange how law and finance are both heavily demonized. Why is that? Both professions are productive, yet for some reason, it appears that most will only focus on the negative aspects of these two professions.
You are a code smell.
I thought it was just me...
If you're interested in looking into some active research in the area of partial evaluation, you should look at Truffle [1] and Graal [2] from my team at Oracle Labs. Graal is a new JIT compiler for HotSpot written in Java, with an API to interact with the compiler from Java. Truffle is a toolkit for implementing programming languages as self-optimizing AST interpreters. Truffle uses the Graal hooks to perform partial evaluation of Truffle-based interpreters to generate highly optimized native code.

The partial evaluator doesn't know anything about the language being compiled, save for a few annotations that Truffle provides to control inline caches and such. We're using this approach to create new optimizing runtimes for Ruby (TruffleRuby), JavaScript (Graal.js), R (FastR), Python (GraalPython), and even LLVM bitcode (Sulong). There are languages being implemented outside of Oracle Labs as well [3]. So, it's being stressed by a wide range of language semantics.

As for performance... I work mostly on TruffleRuby. There we're seeing considerable performance advantages against other Ruby implementations across a wide array of benchmarks and workloads. We really do get the JIT for free by virtue of being a Truffle-based language implementation. It's quite liberating as the compiler technology is free to evolve separately from our Ruby implementation, in contrast to the tight coupling you'd have with a language-specific JIT.

[1] -- https://github.com/oracle/graal/tree/master/truffle

[2] -- https://github.com/oracle/graal/tree/master/compiler

[3] -- https://github.com/oracle/graal/blob/master/truffle/docs/Lan...
Immediately after writing that, I realized that "tech" is kind of a bad label for our Googles and Facebooks. "Attention companies" is perhaps a more suitable term, because attention is the product they're selling.
Who ever manually checks for updates on the 20+ apps they have installed?
The issue is rarely that people go rummaging through the bins. The issue is more often that the people who go rummaging through the bins do so in a way that involves pulling out all the contents, dumping it on the street or curb, and then leaving without cleaning up.

There's a related issue where the residents don't always trust that the salvagers will content themselves solely to collecting redeemable cans.
Local police departments already suffer from a lack of transparency and oversight, especially regarding evidence collection. This just seems like a nightmare waiting to happen in too many ways.