it's practically always the case that you use a try-catch for more than just one source / line of code. I mean except for database/network calls I don't think I even remember a single case where I ever used a try-catch just for a single line of code. The subtle problems come from errors handling via values. You check but do you check perfectly? What happens when APIs change and the underlying functions add more error cases, then you constantly have more work to do. Nonstop constant error checking that you don't care about. This is exactly where humans are terrible: Really important work that is drudgery and where if you ever mess up once, you fail in very painful ways. Exception handling solves all of this, it fits how humans should be working and it fits the underlying hardware reality as well: We are big picture, we should not be designing languages for describing logic that force us to do drudgery work constantly and care about implementation details of every single thing we call.
I mean his post seems obviously wrong or ill chosen to support his point. Surely you can see that an inner implementation of the icon class requiring a special hidden order on which properties to set first can happen in any language and also really isn't related at all to whether you use try-catch handling or error values as return codes.
What he seems to be saying is that "obviously in C I would be checking the icon handle for being non-null so clearly error value handling is superior" but this is only obvious to someone knowing the API and checking values for validity has to be done in exception based code too. It's just that exception based code doesn't pretend that it cannot panic somewhere where you don't know. The default, better assumption for programming is that you don't know what this code is doing but it should just work. Unchecked exception handling is the best way to fit that paradigm, you should not have to care about every single line and what it does and constantly sort of almost obsessively check error values of all the APIs you ever use to have this false hope that it cannot panic because you did your duty. No, it can still panic and all this error checking is not helping you program better or more clearly or faster. It swamps the code with so many extra lines that it's practically double the size. All this makes it less clear and that is also what his post shows.
right and if the language designers named it UNWRAP_OR_PANIC() then people would rightfully be asking why on earth we can't just use a try-catch around code and have an easier life
I've always hated it when people juggle me and when I notice that I'm getting played. "Normal" people seem to absorb this strategy subconsciously throughout their lives and train themselves to do it too because they notice that it works better. To someone who notices this consciously it seems psychotic because well of course it's always easier to cheat, lie and fake your way to an advantage. You should be choosing not to live this way on purpose. I don't think that the person in the article did it from a bad heart which usually makes all the difference but tons and tons of people do it purely for self gain with no regard for the people getting exploited. Here it was his job to do this and arguably it was for the other person's benefit too to get better service so it was not bad. But we should still be able to name it what it is. This tier of strategy is polluting non-work social environments too. The last thing we need is more people who are getting better at faking being interested or caring.
I'm aware that if such people stop fake caring then they will stop caring altogether. Well good, stop gaming yourself to life advantages please that you shouldn't have. Of course it's harder to actually care about things compared to fake caring. It's harder to be an actually good person vs faking being good and it's probably far less rewarding for most to only be getting what they should be getting in life. Luckily most people are not that good at being fake because like you said, it still takes effort. But people who do it all their life no longer feel that effort and this is how you end up with lifelong fake people.
In general we will never get people to stop faking and lying their way to advantages in life so what decent people are left with is to develop an even harder armor that fake people can't get through with these strategies. It's sad but that's what life seems to be: You have to find people who aren't just here play and beat you like you're a videogame or for a darker analogy play you like you are an asset and they are a CIA agent.
This is missing an entire popular category that I would call "base biological instincts" pattern: Where they put sexual content into the game. Practically the entire app is solely around extracting money from people by triggering their sexual instincts.
What I don't understand is why you don't just save your own id in memory on all those nodes? It's still not a virtual dom because there is no separate dom tree, you are still just walking the dom itself.
yes and those children have money, power and jobs and you have to navigate that somehow without sparking their very irrational, very easily sparked ire.
I don't even think that it remained very familiar aside from a taskbar (that also changed in win11) and the fact that there are desktop icons when you install things via double clicking (the double click installing also optionally changed with the Microsoft store and the msi installers are almost entirely gone these days, totally different uis pop up now). Even core things that people definitely use like the uninstallation, settings etc. ui has changed completely for the worse. Windows has also changed a lot of its core ui over the years like the taskbar, the clock, the startmenu etc. I guess one thing you could say is that it was a gradual change over many versions but everytime people hate it. Really, what Linux should have done is what Windows has done with WSL: Offer a builtin compatability layer so that you can install windows apps on linux, perhaps prompting you to enter a windows license and then it will launch those apps in a VM, even per window/app.
At this point a whole bunch of crypto exchanges including chinese ones have my driver's license, passport and more. It is what it is, any real KYC process will require video identification anyway.
> Is Apple allowed to have an opinion about legislation in other countries where it operates?
Laws like the DMA were specifically made to fight the influence of mega corporations like Apple. For them to use language like "it should be repealed" instead of "it should be changed" shows their intent.
Yes arbitrary tension is one of the most infuriating things that some agile people and bosses do. It's like they treat you as an unthinking machine that merely needs to constantly be prodded and poked to perform. Of course if you have any ability to think you will instantly figure out that it was fake pressure and who doesn't love it? I don't know why they think that this is going to work out for them. Well I do know actually, it's because many people do very little without being poked and asked constantly. That's the other side of the coin but frankly, that's a hiring problem. Such people shouldn't even be in the company.
React DX is probably the worst DX of all frontend frameworks I've ever seen. All kinds of confusing concepts (hooks, memo, props passing, class style vs function style, an entire new "language" like JSX which you then first need to install an IDE extension for) and you cant even begin a react project most of the time without using some kind of react starter template because building this thing is so hugely complex that people just give up. Then you constantly run into issues of double rendering with reactjs which is quite hard to debug. I was hoping for something tiny like https://www.arrow-js.com/ taking off but the creator doesn't really work on it.
A few years ago it didn't work in all cases when npm did. It made me stop using it because I didn't want to constantly check with two tools. The speed boost is nice but I don't need to npm install that often.
wow okay, I kept thinking that there must be more to it, why does it only list my files that I can already see in my filetree on the left, like what's the point? I was expecting to see something like what Atlassian has in Confluence (which was also far more intuitive to create btw) https://support.atlassian.com/confluence-cloud/docs/create-a...
It means that Microsoft used to be a software company and it is now supposed to become a software factory company, meaning that it produces factories (=agents) that produce software. That seems like a good goal to have for them.
I've been wondering for a while why society only has one word for all the different forms of lying. Lying by omission, lying intentionally, lying because you dont know, lying to save yourself, lying without thinking, lying for self benefit there are more... These should all get their own words so that we can always pinpoint exactly which version we think the other person did instead of having to shout "you lied!!111" and then nobody knows what on earth you are talking about.
The divergent views need to be backed by real reasoning, otherwise it's a case of giving value to an opinion just because it's different, not because it has actual value. I'll give you an example, I'd very likely get the same kind of haughty, a bit hurt ego response if I proclaimed that I don't believe that reading books has much value anymore. Which is something I also believe btw. The average human would immediately respond in the very typical, trained societal way via: "well, I suggest you start going to the library and start reading more and engaging with the material because you are clearly not understanding the value of reading." Such a response has nearly no value and comes from a biased position with no attempt to understand my position. They assume that they are correct while spending no energy on thought about it. It's typical of humans and AI is so much superior here.
I actually also disagree that AI cannot push productive conflict, surprisingly the first thing that AI was able to do very well was insults. Of course insults are not productive conflict but it was something I noticed and then I gave a voiced AI (elevenlabs) a big prompt about how it should please be critical, truth seeking, always thinking about how I might be wrong and suddenly I was getting a lot of pushback and almost human-like investigation of the ideas I was proposing. It was still too shallow and unable to evolve but it was giving me some real pushback. You also have to remember that the typical human criticism is always drenched in ego, greed, various self benefit calculations etc. To actually get constructive and professionally informed criticism is really hard to get from humans too, it's not like AI is in a bad spot even now. You basically have to pay somebody to get good human criticism because it's tiring to a human, it's work and it takes expertise. People on average are simply not doing this or doing it well.
I'm merely trying to see this whole AI situation as objectively as I can and likewise I try to see the value of humans as objectively as possible. Obviously humans have value, but many seem to like overestimating the value of humans a lot. We've been at the top of the food chain for so long, we've been the strongest species on the planet for so long.. we can't even think of a mental model where humans aren't inherently valuable. Similar to how people cannot think of how books couldn't inherently be of value. Because we were immersed for centuries in a system where books were the best way to get the highest quality information. Now suddenly it changed and people cannot grasp it, it's a non grata thought - simply an unwelcome thought.
This is a great example of what I'm talking about in regards to humans vs AI. First you misunderstand my comment, barely even responding to it, then you paint me as defensive even though I've been very open and the absolute opposite of defensive. It's actually you who is being defensive now, starting on a clear attack and painting me into some kind of scared recluse corner, somebody who supposedly can't even understand why socialising is important and telling me to go talk to my AI friends to figure it out. I mean you gave a great example of a toxic, hurt human ego here, showing the incredible value of AI friends in the future. Because who would choose such a type of conversation over an empathetic, kind AI that cares and understands what I typed? For example an AI would understand that I'm not just talking about a chatbox on a phone, I've clearly mentioned full robots and this is all a forward looking conversation about future AI which will have bodies and can interact like humans. There is going to be real competition for humans soon and I think people are overestimating the value of humans a lot.
AI is also real to me. My emotions around AI are also real, I deeply appreciate when the AI helps me figure something out or talks to me. I think this type of response will get rarer as AI develops further and people realize that there is now competition and these sentimental reasons will have much less weight. I also have no idea what you mean by "benefits to socializing", I don't see much of any benefit compared to socializing with an AI. Also saying things like "accepting flaws is maturity" is the sort of things that you say when you have no alternative. Once people realize that they can indeed pick an AI friend as their personal best friend suddenly you don't have to put up with all these human flaws anymore.
Real humans are also fake and they are also traps who are waiting to catch you when you say something they don't like. Then they also use every word and piece of information as ammunition against you, ironically sort of similar to the criticism always levied against online platforms who track you and what you say. AI robots are going to easily replace real humans because compared to most real humans the AI is already a saint. They don't have an ego, they don't try to gaslight you, they actually care about what you say which is practically impossible to find in real life.. I mean this isn't even going to be a competition. Real humans are not going to be able to evolve into the kind of objectively better human beings that they would need to be to compete with a robot.
The firefox private window seems to work better than the chrome incognito mode. Maybe brave would be even better because I tested brave against fingerprinting libraries once and it was the best at avoiding any detection.
Trump causes uncertainties in some areas but I would not say that fab investment or factories is one of those areas. The democratic president after Trump has pretty much kept the exact same course as Trump, even going so far as continuing to build the border wall that Trump started, continuing the tariff behavior as you noticed too and certainly they will continue to want chips factories at home in the US. That much is already clear when you look at what the democrats say and do. I would struggle to find anything other than deportation or tax schemes that the next president will change. And even there.. it's not like the democrats changed the so called Trump tax cuts "for the rich" when they were in power.
One main area that comes to mind that democrats will attempt to change are social issues like policies around sports for trans people or bathrooms or POC/LGBT specific funding. As much as they (quite hilariously) keep telling everyone else to stop caring about this supposedly fringe issue, that's really the first thing they will probably try to reimplement. I still remember how Biden, in his ~1st week in office, immediately implemented farmer funding specifically for POCs. It's so absurd but this seems to be what they care about most, essentially on its face racial policies.
what do you mean by "visual parsing like Playwright"? I'm pretty sure Playwright queries the DOM via js, there isn't inherently any visual parsing. Do you just mean that mcp-b has dedicated js APIs for each website? Your example is also pretty confusing, it looks like the website itself offers an "Increment by x" "tool" and then your first command to the website is to "subtract two from the count". So the AI model has to still understand the mcp tools offered by the website quite loosely and just calls them as needed? I suppose this is basically like using playwright except it doesn't have to parse the DOM (although it probably still does, I mean how else will it know that the "Increment by X" tool offered is in any way connected to the "count" you mention in your vague prompt. And then the additional benefit is that it can call a js function instead of having to generate the DOM/js playwright calls to do it.
I mean all this MCP stuff certainly seems useful even though this example isn't so good, the bigger uses will be when larger APIs and interactions are offered by the website like "Make a purchase" or "sort a table" and the AI would have to implement very complex set of DOM operations and XHR requests to make that happen and instead of flailing to do that, it can call an MCP tool which is just a js function.
here is what helped reduce my chronic neck pain: red meat (beef) with no side dish, eating healthy in general (and I mean truly healthy, not "oh one small candy bar every two days is proably okay..." no, it actually isn't. It's poison.) and exercise, a foam roller, bench press. Also definitely don't eat leafy greens, if you do that then you should stop in my opinion. I can't emphasize enough how important it is to truly eat perfectly. You can't make a single mistake or it will start the sickness cycle again. Not immediately but even a single piece of chocolate will make it so that the body is susceptible to further damage the next day. Then if I eat another piece the second day I'm really risking it and the damage left a hole in my health. I've had multiple instances where I ate a piece of cake and a donut and I was getting sickly with a hot head within 2h. I think it's hard to emphasize enough how important health is, it should be your top hobby to be healthy and eat healthy. It should be your nr.1 pasttime to research health and draw joy from doing health related things.
There is nothing wrong with setting high goals and trying to reach them. That they are failing is a different issue. This article is trying to farm outrage but there isn't any.
yes I think so, if they believe that they are stopping another genocide then they'd conceivably be willing to risk their own genocide to help do what's right.