1,350 karma · joined Jul 1, 2021 (5y ago) · 1,370 submissions
comment 4y ago · link · parent
They make IDEs for many languages but the indexability of languages varies a lot depending on (mostly) how strong their type system is and how easily parsed the code is. Check out their structured search feature for an example of how to do semantic queries over the indexed AST.
comment 4y ago · link · parent
It also has a pretty powerful diagramming tool.
comment 4y ago · link · parent
The "death of expertise" phenomenon is given a grandiloquent title to cover up what it's really about: the death of trust in academia. Experts are a much larger category of people than academics and there's no generalized crisis of confidence in e.g. plumbers, electrical engineers, advertising executives, whatever. But those people are rarely interviewed as "experts" by the media and political classes. Instead, when these people push for new social policies on the back of "expertise" it's always academics.
And that's a problem because universities don't care about quality control at all and so academic expertise is absolutely overrun with fraud, stupidity, dishonesty and pervasively low standards. The average well read intelligent person not only can beat the career scientist in many fields, but often will, simply because the distorting effects of the academic system are so large.
comment 4y ago · link · parent
comment 4y ago · link · parent
I think a lot of the discussion in this thread could be summed up as, maybe Netflix should have been content to be a low margin tech supplier to the studios rather than try and spend it's way to becoming a new Disney. A lot of tech firms are built off the back of the fact that it seems to be harder for other industries to learn how to be a tech firm than the other way around. Streaming video is clearly one of those cases where it's the opposite and that fact had been hidden for a long time by the flood of QE funny money.
comment 4y ago · link · parent
comment 4y ago · link · parent
"Tax brackets, medicaid, and public schools, to name a few. None of those are communism"
Tax brackets and medicaid are indeed not communism, though in a communist system Medicaid would be the only option. Those are safety nets, not forced equalization of outcomes (state schools aren't really a safety net, and in my view shouldn't exist; governments have a poor track record with education and ensuring everyone has access to it could be done in other ways like voucher schemes).
"A mandate for diversity on corporate boards wouldn't be communism either - it'd be an attempt to undo historical biases that give people unequal opportunities based on their race or gender."
These laws aren't safety nets designed to ensure a minimum quality of life for all. They are communism because they are direct attempts to enforce equality of outcome for only special demographic groups who are favoured by the ideology.
comment 4y ago · link · parent
comment 4y ago · link · parent
W.R.T. Europe doing better on those statistics, can you cite that? It's not really true I think. The USA and western European countries are comparable in terms of percentage of migrants:
https://worldmigrationreport.iom.int/wmr-2020-interactive/
USA is ~15%, similar to the UK, Spain, France, Germany. Of course they would all be much higher if controls were relaxed. Many people would like to migrate to the USA but cannot, even from western Europe. Notably pale on the map: eastern Europe, China, Russia, Latin America etc. Migration stats are as I said - communist countries have very low numbers of immigrants and capitalist countries, which certainly includes western Europe, have much higher rates.
For life expectancy it's the same story. USA and Europe are very similar. The USA is a bit lower, probably due to higher rates of obesity, but there's not much in it. China, Russia and especially North Korea are both quite a bit lower.
https://ourworldindata.org/life-expectancy
"We could for example consider an economic system that included a basic income, which would allow it to be much more redistributive while still being market based"
Theoretical non-capitalist, non-communist systems are usually communist on close inspection. UBI is communism in its purist form, renaming it doesn't change that. If you want to know how well paying people regardless of work goes, take a look at the current rates of inflation, backlogs in government services and economic chaos that lockdowns and furloughs led to. That's peanuts compared to what a meaningfully sized UBI would entail.
comment 4y ago · link · parent
You can try to blow off actual, concrete performance in metrics everyone agrees on like "do people actually want to live in a place", life expectancies or things like food/medicine quality, but you will still be wrong by the mass collective judgement of many billions of people over a period of a century or more. Claiming otherwise is like claiming 2 + 2 = 0. There are no such things as walls around capitalist democracies to stop citizens from fleeing.
comment 4y ago · link · parent
There's obviously no consensus that it's positive. It's clearly, very obviously and very badly negative. It's blatantly sexist discrimination against men who have done nothing wrong, which is deeply immoral. It also many other subtle negative effects. It degrades the language and confidence in the rule of law because these laws that make people unequal are invariably presented as "equality" laws. It also makes it impossible to respect women on boards! Everyone knows they might be there only to satisfy a legal quota, not because anyone actually respected their abilities. I've actually heard quite a few women opine that they start out suspicious of women in powerful positions these days, because they know directly how easy it is to get there on the back of feminism, but they need competent services in that moment and not a job. If you want to create anti-female sexism where none should exist, forcibly replacing men for sexist reasons is a great way to do it across the board.
comment 4y ago · link · parent
comment 4y ago · link · parent
But even if there was, would that be a good reason to act on it? This "logic" never seems to be deployed in men's favour. It's obvious that strong male firefighters will have better outcomes than female firefighters, that's why New York had to make the qualification tests easier in order to hire more women. Yet the rules were changed anyway.
"I honestly don't know how anyone can believe the market will find the optimal outcome."
Because of enormous amounts of history, theory and practice showing that it will? BTW the "confused, reactionary, panicky, racist, sexist, bigoted people" would appear to describe the people breaking the law in order to ban men from powerful positions on the basis of their gender, wouldn't it.
comment 4y ago · link · parent
I've encountered this "readable code means I don't have to document" idea before. I have no time for it, it's just wrong:
1. Important things aren't easily visible in the code, most commonly why the code does a particular thing. "Readable" code, which is a very subjective standard, can only tell you what it does but not the underlying rationale.
2. Writing docs often exposes the fact that the way the code works, or is expected to be used, doesn't make sense or is sub-optimal. If your docs include lots of caveats or explanations of nonsensical behaviour then it's a good hint you should go back and think again.
3. Figuring out stuff by reading the code is often drastically slower than reading the docs. That's why all professional APIs have good docs and people grumble and moan when expected to use code that doesn't.
4. The sort of people who argue this, in my experience, often don't actually write readable code, they just tell themselves they do.
comment 4y ago · link · parent
> We also write tons of useless papers, to justify that we are productive with this money.
doesn't seem to be a logical part of your argument. Writing useless papers is not a form of insurance nor proof that work is being done. It's rather the end product, what all the 'insurance' is trying to ensure gets done. The fact that academia outputs a torrential flood of useless papers has little relevance to the corporate world where the final product is, hopefully, useful despite sometimes being inefficient to get there. After all companies that produce truly useless outputs do eventually get the rug pulled from underneath them, either by bankruptcy or forced sale.
comment 4y ago · link · parent
Indexes only user-submitted sites with a moderation layer on top, for a community-based approach to content curation, rather than indexing the entire internet with all of its spam, "search engine optimisation" and "click-bait" content.
So I tried searching [kotlin] and got 123 results ...
https://searchmysite.net/search/?q=kotlin
... of which the 9th result is SEO spam! It reads:
PersonalSit.es | Yes we got hot and fresh sites https://personalsit.es/ ... Shandilyahttps://msfjarvis.devTagsandroid, kotlin, rust Go to feed Go to siteradoslawkoziel.plradoslawkoziel.pl ...
That looks like junk to me. How is that possible if what the developer says is true, that it's all verified and pre-moderated?
comment 4y ago · link · parent
At the end you can see Casey is getting frustrated and doesn't really understand the WT team's responses, or why they're making a big deal out of it. The WT team in the meantime clearly feel they have higher priorities than raising performance in their legacy code, don't relish tossing their rendering pipeline to make a new one, and don't understand why Casey is so focused on performance. But they're definitely trying to find some mutual understanding and Casey is clearly trying to help them. There are way worse programmers-butting-heads threads out there.
Here's a controversial thought: the reason this blew up in such a big way isn't really to do with any of the people involved or their tone on some random GH issue but rather what this says about Microsoft and the general decay of the Windows platform. That frustration is widespread and totally understandable. The Microsoft devs on that thread all come across as very nice and reasonable people, but they also come across as inexperienced and out of their depth. This problem is not unique to that team. Microsoft are charging good money for this stuff (not WT directly but Windows as a whole). Many, many people are forced to deal with Windows whether they want to or not and end up having to deal with poor implementations even if they'd rather be using Linux or macOS.
The WT devs are IMO doing way better than the average dev working on Windows - they engaged seriously and honestly dev-to-dev, they admitted when they were wrong, they improved the product, and they've even given credit to the people who embarrassed them in public. If only everyone were so good natured!
I won't say which area because this is my anon account and I reported some bugs publicly but I've recently been dealing with a different Windows team (as an outsider) and smacking right into the exact same problem. The task their subsystem handles is a very easy one and yet it's filled with critical bugs. We're not even talking performance here but the basics like data corruption bugs, hangs, absurd security flaws, broken APIs, over-complicated file formats, the works. The actual feature spec is fine - whoever designed it at a high level did an OK job - but the implementation is just very poor. It's clear that the devs assigned to it are overwhelmed and seem to lack senior people who can catch basic mistakes during code review. Also even though this subsystem doesn't need high performance they're writing it in C++ instead of .NET, which is certainly making their lives harder. Unfortunately the team is like the polar opposite of the WT team. They don't engage with their user base, only via clueless devrel PM types who can't understand anything they're being told. The relevant systems aren't open source. They don't backport things. They don't communicate. Their docs are flaky, often advertising features that aren't even shipped yet or don't actually work. They make sudden decisions out of the blue that screw their users. Bug reports tend to get met with a stock response asking for submission of logs which are invariably then either "lost" or never heard about ever again.
It's clear that the Windows org has lost the ability to execute. It feels like the start of Atlas Shrugged, where everything is slowly falling apart and nobody can quite put their finger on why. Yet, we are stuck with it. There is a dire lack of competition in the desktop OS space.
comment 4y ago · link · parent
I don't really remember where I got that approach from but very unlikely I came up with it. Most likely it was from GL tutorials.
comment 4y ago · link · parent
comment 4y ago · link · parent
In this case detecting DRM software and scheduling it differently would require sophisticated support in the operating system, or even ideally DRM support implemented by the operating system. However these things are probably beyond Microsoft's capabilities in its current state.
comment 4y ago · link · parent
So here are some agreements that maybe you'd actually like to enforce on other people, using the exact same technology.
1. Cloud privacy. RA and related tech let's you request a remote attestation from the cloud provider that proves your VM memory is encrypted such that the hardware provider can't read it. This means you can compute in the cloud and not be spied on, not even if the legal system in the remote jurisdiction suddenly demands it.
You might think cloud providers would never offer this but you'd be dead wrong. Both Azure and GCP offer RA in which you are the one checking them and they offer it today.
2. Blocking spamming without needing captchas or modern JavaScript based equivalents. In turn that means you can now much more easily self host email and retain control and privacy currently sacrificed to big email providers.
3. Copyleft enforcement. Yes really. It'd require toolchain integration but it's possible.
4. Eliminating backdoors inserted by cloud CI systems. They prove what compilers they're using via RA.
Etc. This is just a few examples.
And that's why your argument is frankly morally flawed. Agreements and contracts are something everyone relies on whether they realize it or not. The fix for terms you don't like is not to demand leaky enforcement but, as always, market competition. If you hate Oracle's "no publishing of benchmarks" clauses - which are by the way unenforceable with RA anyway so that's a bad example to pick - then use postgresql instead.
At any rate, it's all rather irrelevant. You have much more bargaining power than you think and that is in fact why RA has never taken off. Outside of very controlled environments like games consoles or cloud VMs it's considered too complicated and excludes too many users who don't have the right hardware etc. Consumers effectively "negotiate" by picking services compatible with what they've got.