To me that says EU is doing the right thing.
812 karma · joined June 15, 2024
To me that says EU is doing the right thing.
switch x
0
console.log("zero")
/^\s+$/
console.log("whitespace")
[{type: "text", content}, ...rest]
console.log("leading text", content)
Yes, looks very cool, but nobody should ever write code like this, especially not in strictly typed code. And it is extremely rare you need to do similar pattern matching. For the object case, you would want to define interfaces and type guards in TypeScript anyway. This feels like poor man's pattern matching compared to Python and Rust. items = for item of items
if item.length
item.toUpperCase()
else
"<empty>"
If JavaScript has always required statements to end in semicolon, I'm 100% for this. But it's not. So "standalone expression" as return value will only cause chaos.Now, coming back to private APIs, it's hard to know whether this is because Microsoft intentionally wants to keep competition out, or it is just hard to standardize/finalize APIs. I do know that VSCode development team takes extreme care when it comes to their APIs -- new features can take years before they are ready (most recenly coverage APIs, for example), and they don't want to release something when it's not ready, and I respect that. And to be fair, they have a number of "inline completion" APIs standardized as both VSCode APIs and LSP protocol (upcoming). I'm sure there is a lot to be desired, but it should be a nuanced discussion instead of simply "Microsoft bad".
(I am a VSCode extension & LSP author, not affiliated with Microsoft at all)
https://github.com/microsoft/vscode/blob/main/src/vscode-dts...
And you can hardly find any public information about these APIs. Well, unless someone asks -- As of 2 years ago, they didn't have any plans to "finalize" these APIs, i.e. make them public. You are advised to find other workarounds (which do work).
https://github.com/microsoft/vscode-discussions/discussions/...
This is much less "harmful" than Copilot though, I guess.
Having learned Go and Rust in the last two years, it occurs to me that -- if this can be made into a trivia, and considering all the things in C++ like friend class, nested class, public/protected/private inheritance matrix and all the "possibilities" out there, it seems this language is seriously f*cked up.
Window management is very weird: try running vscode in crostini. Title bar is empty. I think there is a workaround that ... shows two title bars. Here you are. I didn't want to waste time on that. And I don't remember exactly what happened, but I can never arrange the windows the way I want. I am not talking about something as good as Microsoft Windows with all the regions and snaps, just something at native MacOS or a desktop Linux distro level. No you can't. Especially if you have an Android app open as well.
If you want to connect to VPN, you may need to go to play store and use an Android app for it, which probably doesn't support keyboard very well. I am talking about something as basic as using tabs.
I vaguely remember Firefox on crostini was not a great experience but I don't remember why. Firefox in Android is a big no-no for Chrome OS. Horrible tab management and there is no keyboard shortcut support.
You regular linux command may or may not work.
That's just some of the issues I had.
My experience with WSL isn't great, having spent many hours on it, mostly due to poor IO performance and weird bugs. But I would love to hear more about others' experience.
First sentence: Despite Microsoft trying hard to get people to upgrade to Windows 11... Title: buy new Windows 11 PC
I mean, there is a clearly a difference, and XDA knows that.
So it brings up TPM 2.0 and says Microsoft "sends a signal" "old CPUs are useless". I don't think anybody, Microsoft or others, ever said or hinted anything like that. The "useless" thing is just completely made up. If we are talking about security updates etc, sure, that's a real issue, let's discuss that, but "useless" is just a meaningless yet very misleading word to tack on here.
Then, "big push for Copilot+". Sorry to point out that "Copilot+" as a concept has only existed for a few months, but things in the rest of the content were already happening long before this year.
I can't see how any of this is different from macOS Sequoia only supports MacBook Air 2020 or later, or MacBook Pro 2018 or later. A company only has the resources to support old hardware for that many years, after that it's all on your own. That's just how things have worked for a very long time.
But this is XDA, and I don't think people ever take XDA's "news" articles seriously. So never mind.
That's just false advertising. You can't get around that.
I can't believe our current laws let Tesla get away like that.
For context, I got this exact machine https://www.ebay.com/itm/134571642124 at $174, and did it because I wanted a cheap, 15.6" laptop with an accurate & high resolution screen that is more useful than an iPad Pro. A refurbished machine of this model almost perfectly fits those requirements. I installed Linux (Mint) because lots of things like window management and VPN are cumbersome on ChromeOS, and I want very little to do with Google. I didn't install Windows because memory is limited (8GB) and the experience wouldn't be good, but if it had 16GB I would have done that instead.
Issues I have run into:
* Keyboard layout
* Apparently Caps Lock and Esc keys are going to be a problem. And if you have a remote session where the remote machine has Caps Lock and Esc swapped, it would be a mess. As a (vscode) vim user, I ended up doing Ctrl+[ for Esc. (If I spent more time on it I probably would have figured it out)
* Also apparently, F11 and F12 keys don't exist, and it can be painful for debugging.
* You need to properly map F1-F10 as well.
* Audio issues -- there is a chromebook-linux-audio project that enables audio on chromebooks, and I know other people have successfully used it for this model but on a different distro. The project clearly says it does not support Ubuntu, and it indeed didn't work for me. Not that I need or care about audio on this machine dedicated to programming, but missing audio can be annoying at times when you need it.* Power management. I don't know if it's bad for this model, for Mint or bad for Linux in general, but it's annoying. I think I have properly throttled the CPU via auto-cpufreq, but sometimes the fan runs crazy when nothing is happening. (Granted, that happens on well-supported Windows laptops as well, and I don't know why.) Then something is weird with suspend ("sleep") -- even after setting things up so that closing lid = suspend, after doing it, the laptop goes out of battery within a few hours. I have to manually suspend every time I am done to preserve battery.
Basically, I am seeing a number of issues with using the machines, some specific to Chromebooks, and some that may or may not be associated with Chromebooks specifically. I know it is always a bumpy road to use Linux on laptops, but this is rougher. It's probably not worth the effort, unless you really want to do that, like in my case. Or to put it this way -- if I didn't intend the machine to do lots of development work and I want to be in the Google ecosystem, it would have been a perfect machine otherwise.
Saying that as someone who installed Linux on a Chromebook with 1215u. (Don't do that)
I do that with other AMD machines as well. I always throttle CPU to base frequency unless I really need max performance, which has not happened yet.
I think that's just what I Intel or AMD should have done in the first place -- lower both the base frequency and max turbo frequency to the point that the fan does not even turn on in most workflows.
I suspect that they want to look good in benchmarks, so they set max turbo frequency very high. But that doesn't matter in 90% of the workflows.
A $200 Chromebook can do 10x. Guess what, that's exactly why schools buy Chromebooks.
Especially if there are other candidates who do have that much experience in a specific language. Even if you are a better candidate overall (whatever that means), you need to pass the resume screening first.
If you want an obvious example, look at Apple.
> The GPLv3 was the final straw that ended Apple's interest in contributing to GCC which is the reason Apple ended it at GCC 4.2.x.
I guess GPLv2 is still GPL, but here we end up talking about copyleft licenses (GPLv3) affecting business decisions anyway.
Don't use vscode or never bother to write jsdoc/do any strict typing? Never mind. Good luck with your codebase.
Once a dedicated user of WordPress, I never thought I would ever say this, but here it is -- I hope WordPress dies as soon as possible and gets replaced by something else. Well, a better outcome would be Matt goes away, but I don't see that happening.