skysight-inc/HackerNews huggingface dataset:
>I can just as easily assert that `sort(people)` cannot be factored into `sort(comparable)`

You are misunderstanding what I am asserting here. If the body of `sort(people)` is coupled to a property of `people` not present on `comparable`, you cannot _just_ refactor to a more generic `sort(comparable)` and expect the behavior to remain consistent. The solution requires two functions: `sort(comparable)` that abstracts the portion of the function body concerned with the surface of `comparable`, AND `sort(people)` that interacts with the property of `people` not present on `comparable`. It's obviously worth noting here that `sort` could just as easily be some other verb, say `validate` (I understand `sort` doesn't make much sense in this particular context).

Similarly, there is no need to "move the method" or "change the object hierarchy". You conveniently failed to quote the one line in my response above that addresses this...

>composition can be used instead of inheritance in tandem with double dispatch, for OOP, if the public surface of SortedGroupOfCats must include a `sort()` function

And while it makes for a great quote, Joe Armstrong is simply wrong. There is nothing inherent to OOP (and even less so when examining the languages that utilize the paradigm) that requires poor design. What if I wanted "the banana that one specific gorilla is holding in some particular jungle"? How would that look in OOP vs functional? More importantly, is there a meaningful difference or is it just semantics?

FWIW, I prefer a functional paradigm myself.
The Conservative Party are currently flouting this “restriction” in the UK general elections: https://twitter.com/rowlsmanthorpe/status/119746934421060403...
https://azure.microsoft.com/en-us/blog/microsoft-joins-open-...
He did very well the day he stepped down. IIRC his personal net worth jumped like $700M as Microsoft rose 9% on the news of his retirement.
One difference I have noticed is that in the midwest you can eat out and often spend less than $20 per person on the entire check. For even a mid range restaurant in the bay area, you are at $20 per person after food/drink (not including tax/tip). There are absolutely much better restaurants in SF compared to cities in say IL or WI. However, the prices are definitely higher in SF.
It could be something as simple as men going out into the harsh Egyptian sun more and women being discouraged to do the same.

In parts of Pakistan at least (where I was born) there is this sense of fairness of skin being a desirable trait (goes almost without saying that it is not a belief I endorse at all). I can imagine such unrealistic beauty standards echo through the centuries.
I’ve been using Skype on Linux for years now. At least that we can thank Electron for.
Wait, what? Would you pronounce those two words with a different sound? I can't think of any Swedish dialect where that is true?
Climate change is regressive.
Hey let's just circle-jerk about how evil China is instead of trying to fix problems in our own country.

> - greatest polluter of water via plastics

Which totally isn't in large parts due to the whole West exporting their trash there for years for "recycling", fully aware of the fact they just dump it in the ocean or burn it under the bare sky. But why blame the ones in charge on our side that made that happen and kept doing it for years? It takes effort! and what if they actually stop? There'd be one thing less to shit on China about!

> - greatest blue collared jobs/ communities destroyers in Italy, France, Spain, UK, US, Japan

Yeah same thing, why blame the companies that actively move production and jobs over to China? Much easier to just go "took our jobs", like some evil Chinese came here with big suitcases, stuffed all our jobs in there and left.
Very cool, a sort of live-action cgi capability.

Hope it doesn't easily scale out to larger spaces and crowds, or the current tech industry would soon have public spaces filled with ads projected on peoples belongings.
Another reason for a stock to rise these days is stock buybacks. Great work if you're in upper management and can compensate yourself via corporate buybacks using "free money".(with interest rates being near zero and artificially suppressed)
Tax avoidence is a fixed cost. That's half of why a steeply progressive tax system is tricky. The other half is that people have a keen understanding of the value of money.

Those two things are why the more progressive a tax system is the more variable the revenue it generates. See California which veers between feast and famine.
Slack just freaks out when I'm offline (or it even thinks I am). To the point I often just end up writing an email as it's less painful than using slack.
Don't get me wrong, I don't want to imply there are no alternatives to the major tech cities.

I don't even want to imply there are no backwards communities right on the doorsteps of the major cities that everyone just kind of sweeps under the rug.
Here's a hot take: having roommates is actually better than living alone if they're the right roommates. (I know many people will disagree with this.)
The false dichotomy is that you either live in the bay area or the deep south. Forget about Chicago, Philadelphia, Cincinnati, Providence, Minneapolis, DC... these places might as well not exist in the mind of HN
Which is why I said time consuming. Since time is finite you also can't simply discount it versus spending money and consider it a net savings.
Internal migration to the south and west of the US has always been strong due to generally cheaper housing and strong jobs growth (though wages are lower to match.)

The advent of mass air conditioning made the climates much more bearable to live in, fueling economic expansion. Otherwise it’d be too hot and humid.
Exactly how would Google determine whether an advertisement is political in nature?
They don't _like_ it, that's the author's whole point. They would obviously prefer that everyone pay for windows server, but they've lost that battle. "Like" is pure marketing.

>You only have to look at MS presence at Kubecon where you'll often see MS staff with Macs or Ubuntu laptops on their stand.

marketing in a market.

I think we (or you and the author, I'm just re-iterating his points) are talking past each other and you probably agree, but his whole point again is that the "Love" is just public facing market strategy.
Cool, but I was disappointed to find that it assumes you already know enough APL to understand the extensional definitions or analogies it gives. I was hoping it would be more of a “bootstrapping APL from a simple, explicitly-defined-in-the-text set of operators” kind of thing.
I don't know about the rest of the software but Mattermost is easy to administer and requires minimal babysitting. I have it deployed with a simple docker-compose file which I only touch when I want to upgrade it, and there are Helm charts if you want a more production grade deployment. If I were to deploy it for my company I'd probably use the helm chart + a cloud hosted Postgres as the database and would likely never have to touch it between upgrades.
You can stay at a Japanese hotel for $1 – if you live-stream almost everything
How to make your C codebase Rusty: rewriting keyboard firmware keymap
China's GDP appears to be about 20% export-driven. Subtracting this still leaves China the greatest polluter in the world, and by a large margin, the greatest polluter per unit of GDP, which is the real measure we should be looking at.

Also, you have it backwards. CCP had the option to create an export-driven economy, as well as the option on how to power it. Nobody held a gun to their collective heads and said "You must produce cheap goods for western countries, and you must power your economy in the cheapest and most polluting way possible."

The Chinese government has a lot of agency, and a lot of culpability, in this.
So another myth for this list is "caches are at all similar between architectures"?
Microsoft has historically been the single greatest enemy of Linux and Open Source in general. The only reason they now changed face and hopped on the Linux train is that they realized they lost or cannot possibly win the battle when it comes to servers, embedded devices, a large section of developers, mobile, etc.

> I can tell you unequivocally the thing holding back the average enterprise from moving their entire business to Linux on the Desktop is NOT Microsoft Office

It may not be office specifically, but vendor lock-in with various MS products is definitely a huge factor.

Also, every single "quoted" piece of your comment is cheap strawman.
Corbyn is an old socialist who opposed removing Clause IV from labor’s platform: https://www.independent.co.uk/voices/corbyn-clause-4-labour-...
They commingle supposedly identical items from other sellers. You could thus pay more and still get fakes.
Yes, but again, these rely on different definitions of efficiency. I definitely don't consider multi-method interfacing to be useful to me at all in the books I read. I would much rather physically write notes if I want to commit something to reference or memory, since my brain has O(1) lookup where I wrote where something else is, but an O(n) lookup when I get to the note-bucket of my reference pools. Much easier to scan over a single page or a sticky note on the physical book surface than however long would be my library's notes as a totality.
It’s a tempest in a teapot. Yes, the new editor is horrible. But at best it is a minor annoyance, and most users learn to work around it.
A very interesting and informative talk: Dr. Gwynne Dyer – Geopolitics in a Hotter World – UBC Talk Transcribed (Sept. 2010)

https://spaswell.wordpress.com/2016/11/18/dr-gwynne-dyer-geo...

- - - -

important to remember that our current systems (no pun intended) are hugely wasteful. I forget the exact statistic but losses from the point of generation to your wall socket are something crazy, like 30%-50%. That's not including lunacy like refrigerators that open like cabinets rather than drawers (spilling all the cold air on the floor and filling the box with warm air. Some fridges have heaters in the door. It's true.) or pilot lights (little flames that burn 24/7 just in case you might want to cook at midnight or whatever.)

Efficiency would solve about half of the problem, in re: energy.
There are some parts of the world where you can pay for Uber rides with cash.
Or things could just cost more, driving down consumption and thus emissions even further.
My first thought is that this could provide some awesome effects for live theater.
Words cannot express my contempt for the stack-ranking system that Ballmer liked. I saw perfectly good engineers being forced out because managers had to find five or ten percent of their staff to let go. Some groups deliberately hired under-performers so they could fire them and protect the "real" members of their teams.

His "everything has to be Windows" philosophy was toxic, too. (Then I realized that he didn't really care about the underlying technologies of things, and as long as you called your embedded system that had an event loop and some interrupt handlers "Windows Event Loop And Some Interrupt Handlers, Enterprise Edition" you would be politically safe).
Starburst raises $22M to modernize data analytics with Presto
Did you ever figure out how these people all got a hold of your "private" phone number at the same time?
I feel like this is the way of things with Slack: poorly implemented new features are introduced with no way to disable them, and a significant portion of their users end up needing to work around them. I'd love to have time to research replacements for my employer's use of Slack because they clearly care more about being "innovative" than meeting the needs of their existing userbase.

Other examples:
* The UX around threads is still horrendous, and there's no way to turn it off.
* There's no way to turn off "drafts", which still causes me to lose messages I'm working on.
Is he a GP or a Specialist? From what I know, the list of best Doctors is full of specialists, not generalists. I am yet to hear someone recommending a General Practitioner because they have broader knowledge. It is always Specialists who are focused on one domain and one domain only. Not saying specialists don't have knowledge about other things medical-related. They do but their knowledge is limited. Just like my knowledge about firewalls and networking is limited because I focused on development.
This isn't working for me on Firefox 68 (I have a newer version on my other laptop I'll try out later).

I get CSP errors: `Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).`

I doubt it's something that can be fixed without writing a plugin / user script.

Kudos for figuring out how to disable it though!
Did Slack ship a buggier version of this yesterday? I have it on one of my workspaces, and it's fine.

I can still type `backticks` in the editor, with the exact same combinations of keystrokes I used before, it's just that they render as they will on the channel, rather than showing me the backticks (and only when I type the closing backtick. GIF here: https://i.imgur.com/o3wPWN0.gif)

Triple backtick does the same, and I can easily type another triple backtick to exit the code block, same as before. It's literally identical ergonomics to the previous editor, except it's showing me the formatting I can expect.

I have to think that maybe they issued some hotfixes to the wysiwyg editor in the past 24 hours to some workspaces? Or people are just way too up in arms about something that has literally no impact other than maybe some wasted screen real estate showing formatting buttons...
Doesn't Apple Mail still use ActiveSync to connect to Office 365?
Affirmative, yes, but I believe the "verbal" part is not required, it's just the only practical way if you're recording, say, a phone conversation.

The app will no doubt get affirmative consent.
Now this looks really interesting and could be exactly what I was looking for. Many thx. Will check it out now.
Assuming that once determined at the start of the frame (e.g. camera position changes after user input handling), the transform matrices are not written to. They can then be freely shared across multiple cores without causing problems with coherency. The cache lines associated with the transform will be set to 'Shared' across all cores. Cache coherency will start to bite you in the ass in this situation if you start mutating the transforms while other threads are reading it, causing cache invalidations and pipeline flushes across all caches owning those lines.

In short, write a transform once and treat it as immutable. Do not reuse the Transform allocation for a good while for subsequent frames to ensure that its cache lines are no longer in cache. If you do need to reuse right away, you can force invalidate cache lines by addresses, so that the single-writer in the next step is the single (O)wner and no other caches need to invalidate anything.
>how is the public transit outside major urban areas? Have you been outside urban areas?

Doesn't matter. The planet doesn't care how difficult your commute is, and global climate policy shouldn't either. We're far past the point where we can ease in change. We need drastic worldwide change and we need it yesterday. Of course it's going to be very painful for a lot of people, but the level of climate change we're going to see on our current path is going to be an order of magnitude more so.
Are you saying it's impossible to format a paper in Word to please you? Seems like there's a lot of options to get the look you want.
I dug around many years ago into dropbox. I actually found rsync was being used in at least some of its functionality. I doubt that remains the case, but it made me smile when I found it as it made a lot of sense at the time.

Edit: spelling
>Hearing something you might disagree with is part of life and very important to critical thinking

hearing one or two things you disagree with is part of life, hearing 100 things you disagree with a quarter of which are paid for by super PACs or in rubles isn't, that's a recipe for losing your mind.

'echo chamber' should become the unword of the year or something because apparently the free speech mantra has now turned into a license to shove opinions into other people's faces, a good portion of which aren't even authentic.
That seems like the right approach for CPU-targeted code. Has an APL descendant ever been created to target a GPGPU compute-kernel, or even to compile to an FPGA netlist description of a DSP?
It’s interesting that individuals have this desire- the goal should be survival of the species not of an individual
I thought system's resolvd was an attempt to fix all problems with dns resolution. Can you point me how it is not a solution, or how Microsoft could build something better instead of contributing to it?
I’m not underestimating America’s elites grip on anything.
Kafka Tutorial – How to Visualize Data in Apache Kafka Using D3.js
If you think Russia needs an umbrella, I have my doubts about your understanding of politics. North Korea is the only country getting meaningful amounts of support from it.

As for the greatest exporter of tech surveillance, I believe that would be Israel, followed by Silicon Valley, the greatest supporter of dictatorships (by number) would probably be the US, while the greatest destroyer of blue collar jobs would be the computer, through automation. The greatest per-capita polluter in the world is left an an exercise to the reader, but it should be noted that China isn't even in the running for that one.

As for pollution, it must feel good to have offshored all of our polluting industry, and then blaming the developing world both for polluting, and stealing all the jobs. I don't think China was driving the pro-globalization rhetoric that lead us to this point...

But its easier to blame the foreign boogiemen for all of those things... Attacking China, is free karma, after all.
Interesting. A truck arriving every 10 minutes means 144 trucks per day (3 shifts). If a truck can carry 10 blocks, it means 1440 blocks per day and about half a million blocks per year, meaning four years to transport the blocks.

The string of trucks traveling at 60 km/h at 10 minute intervals would mean one truck every 10 kilometers. A distance of 100 km from a quarry to the construction site would mean 20 trucks in rotation (10 going each way).

Probably using a railway would make more sense.

The Mount Airy quarry produces 82,000 tons of stone per year so 5 million tons would take about 60 years. The pace would need to be increased more than ten fold or multiple quarries utilized for the 5 year target.

I think it could be done in under ten years.
Or what about that Snow Leopard bug where your main user account got deleted whenever you used the Guest account https://www.computerworld.com/article/2528936/snow-leopard-b...
Fridge-based DRM to protect one business model, willful blindness to counterfeiting to protect another.

What a bleak, horrible future we live in.
No, it isn't just globalization. It's globalization done poorly. A level playing field wrt human rights of workers across wherever companies do business should be part of a just (in a humanitarian sense) globalization.
Meanwhile here's a real way to disable it right now: https://github.com/kfahy/slack-disable-wysiwyg-bookmarklet/

Thanks a lot to Kevin for sharing that, you're savior.
A couple of reasons spring to mind. One is that teachers don’t know the stuff. I lived through the “new math” revolution of the 60s and 70s. The folks who came up with it really had a good idea: teach kids maths rather than memorizing times tables and blind syntax manipulation. They had training for the teachers...who were taught new things to do in the classrooms...which ended up simply as a different vocabulary for syntax manipulation. Same (and not just in schools) where “using a computer” meant memorizing mouse gestures and movin the mouse to menu items in known locations on the screen.

The other problem is the old “why teach algebra? Nobody will ever see it after they leave school”
It’s time to stop designing “minimum viable products”
Been using iOS 13 since early betas. Working great for me
This already is a business, "Dating coaches".
So you're willing to pay a subscription fee to use Google Search, Google Docs, Google Maps, Youtube, etc?
> Why not just impose a massive carbon tax and carbon import duties? This would essentially accomplish all of your goals without war

This is going to be the most cynical possible of takes, but I just don't see how this is politically viable in a place like the United States. The government is gridlocked and will likely remain so for the foreseeable future. Furthermore, the United States military is a massive CO2 emitter, so this would likely drive the dual deficits into even more dangerous territory because, let's face it, we're not going to demilitarize in any meaningful way.
> Because of Amazon’s vast scale, inscrutable algorithms, and capricious enforcement of its own rules, unscrupulous sellers and paid shills largely get away with it.

The only solution for it is regulation. Without regulations, asbestos will still be in our homes, lead paint will cover schools and pollution will fill our lungs.

Most consumers do not have the time, money and education required to look for quality products. If we let Amazon sell crap, is crap what will be only available for most of the population. And Amazon has passed a long time ago the line between low quality and fraud.
Great book. Last time I checked that guy (Venk Rao) had gone off the political deep end on his blog, but the early stuff is very good.

The Gervais Principle is another saga of his worth reading in its entirety (much better than just finding a summary of it somewhere).
Much of my extended family is from the Bay Area, mostly circa the North end of the Golden Gate Bridge. My experience is that food is meaningfully more expensive in the Bay Area, whether eating out or eating in.

Transport does cost me more. I estimate my vehicle's ongoing TCO amounts to ~$250/month (purchase, registration, gas, repairs, insurance, etc.). (It's also worth noting that having a lower monthly TCO for a vehicle than me is possible. The math on an acquaintance's used vehicle brings TCO to ~ $150/month barring major repairs, with him driving more than me.) And of course if you have a fancier car it's more expensive.

So far as "housing costs" go, my total home costs (homeowners insurance, utilities, property taxes, internet, etc.) are less than half yours even treating my mortgage payment/home equity as a total loss. Which is to say cost of living is drastically more expensive in the Bay Area.

But more pertinent to your comment, car ownership is not cheap, but the difference in housing costs between SF and elsewhere is massively more than the cost of operating a vehicle.

Likewise, if I wanted a 2 Bed/ 2 Bath place like mine or a similar flat in SF, I think it'd be more like $4k/month.

So while I do agree it's possible to live in SF for maybe less than you'd expect, it's still very expensive.

That last time I did the math on it, supposedly ~$85k where I am in Arizona was about equivalent to ~$120k in the SF Bay Area, but the SF Bay Area seemed like it'd have lower quality of life. (Though maybe going carless would help more than I think with QoL.) And in general there's sort of a pattern, where at every pay level SF Bay Area has to increase pay by more to match elsewhere for less.
Wait, do you mean the Snow Leopard release that deleted your user account if you logged into the Guest account? That 'perfect' 'fix bugs' release?