Hacker Newsnew | past | comments | ask | show | jobs | submit | UI_at_80x24's commentslogin

Could you please describe your use-case? How do you use it? How do you make use of it?

I use Claude code, so I understand that paradigm; I don't grok this though. Is it any different then going to a web page i.e. gemini.google.com and typing your query there?

Could this side bar have been a "search bar" at the top? Now that I say it out lou, adding them to the 'search providers' isn't a bad idea.

Generally speaking I am against this being shoved at us, but I find it as a useful tool in a limited number of areas.


I always have my browser open, so having it just one click away and not interrupting with whatever else the browser is showing feels convenient.

I'm using linux, so there are no official desktop apps I could use instead. Had there been, perhaps I'd have had a different opinion about the AI sidebar.


I use it to communicate with AI about content I'm reading without having to navigate away from the content and breaking flow. On a 4k screen there's plenty of horizontal space to have the AI sidebar and display a web page.

I've been a fan of all rust-based utilities that I've used. I am worried that 20+ (??) years of bug fixes and edge-case improvements can't be accounted for by simply using a newer/better code-base.

A lot of bug fixes/exploits are _CAUSED_ by the C+ core, but still... Tried & true vs new hotness?


Don't hate me for this, but... is 20 years of Rust really new?

https://en.wikipedia.org/wiki/Rust_(programming_language)

I do get what you mean, but Rust has been baking for a decade, finally took off after 10 years of baking, and now that is been repeatedly tried and tested it is eating the world, as some developers suggested it could eventually do so. I however do think this shows a different problem:

If nobody writes unit tests, how do you write them when you port over projects to ensure your new language doesn't introduce regressions. All rewrites should be preceded by strong useful unit tests.


Ideally, but if a project wasn't written with tests at the time then finding a working time machine can be a challenge. If you try to add them later you won't capture all the nuance that went into the original program. After all, if the implementation code was expressive enough to capture that nuance, you'd already have your test suite, so to speak. Tests are written to fill in the details that the rest of the code isn't able to express.

Tests are written for various goals: integration testing, to prevent regressions, and in the same effort to prevent regressions to protect mission critical / business logic code. If all those nuances are captured by good tests, you arguably have "100%" test coverage, you don't need to test every single line of code ever written to have 100% test coverage in my eyes. But then when you go to translate your project to a new language, you port the tests first, then test against those tests.

This is my personal belief on this anyway.


he has no answer for this

But the 90s was only 20-years ago!

lol, you got me. Stupid old brain not calculating time correctly.


I was born in 1990 so I get it! I still say 21 when people ask me how old I am... Aka how old do I need to say I am to be able to drink alcohol LOL I don't drink that often mind you. I just don't really think about my age a whole lot...

[flagged]


Rust has editions for strong stability guarantees, and has had them for nearly a decade i believe. Besides, tech backing has grown way past the risky point.

FWIW, the GP comment's claim that you're lucky if you can compile 2-year-old code is exaggerated, but so is yours. Rust does not offer "strong stability guarantees". Adding a new method to a standard type or trait can break method inference, and the Rust standard library does that all the time.

In C or C++, this isn't supposed to happen: a conformant implementation claiming to support e.g. C++17 would use ifdefs to gate off new C++20 library functions when compiling in C++17 mode.


> and the Rust standard library does that all the time.

I don't doubt this is true, but do you have an example? I think I haven't run into a build breaking like this in std in like maybe seven/eight years. In my experience breaking changes/experimental apis are typically ensconced in features or gated by editions.

Granted, it'd be nice to be able to enforce abi stability at the crate level, but managing that is its own can of worms.

I did find that the breakage rfc allows for breaking inference, which tbh seems quite reasonable... inference is opt-in.


Almost every major release of rust stabilizes new library methods. For example, the latest major release (1.93) stabilized Vec::into_raw_parts. This isn’t gated by an edition. So if you had a trait with a method “into_raw_parts” which you had defined on Vec, after updating to 1.93 or later your code will either fail to compile, or start running different code when that method is called.

Sorry, I meant to write “method resolution”, not inference. This isn’t the same issue as type inference (though indeed, stdlib changes can break that too)


Adding a new method can change the behavior of C++ code as well due to templates. Does the standard library never add new methods because of that?

> Adding a new method can change the behavior of C++ code as well due to templates.

Yes, but the code can be gated off with ifdefs to only be present when compiling for a particular version of the standard.


Yes. All the time. Subscribe to the std-proposals mailing list and you'll see so many obvious improvements get rejected due to ABI compat guarantees.

> Rust does not even have a specification

Neither do most programming languages.

> You are lucky if current version, compiles two years old code!

That's not true.


> Neither do most programming languages.

Rust is trying to replace C++ and C in particular. Those languages have specifications.


> Neither do most programming languages.

My favorite nemesis and friend JavaScript does, which always gives me a laugh. Such a mess of a wonderful language.


You and me both; never change you beautiful bastard of a language <3

> years of bug fixes and edge-case improvements can't be accounted for by simply using a newer/better code-base.

Partially is in fact true: Just because the Rust use a better type system (after ML) + better resource model (aka borrow checker), and if you are decently good, you eliminate, forever!, tons of problems.

It can't solve things that arise by complex interactions or just lack of port subtle details like in parsing poor inputs (like html) but is true that changing the language in fact solve tons of things.


> but is true that changing the language in fact solve tons of things.

*so long as you dont use unsafe rust

**unsafe rust required for systems programming

***rust is a systems language

****does changing a default actually solve anything?


Is Rust still considered "new hotness"? I feel like the industry has long-since moved past that perceived "blocker".

It seems like Rust is now just the default in all manner of critical systems.


Rust - no. sudo-rs not hotness, but relatively new.

No, it's Node.js. I kid you not. I keep coming across Node in places where I really would not expect it.

apart from safety critical systems.... whats that all about? youd think with all the safety guarantees itd be good for something like that

I think it's worth trying!

It absolutely is worth trying. I look forward to it being battle tested and proven. I just don't want to be the one doing the testing.

rg, fzf, and several others that I can't think have proven to me that rust is the direction going forward.


Rg/grep is kind of like make/ninja imo.

It’s not so much about the language as it is about the hindsight/developer/project


This comment does not deserve to be flagged. It is worth knowing the bias of the source as it taints everything it touches.

A link to the comment in question would be good. I had a quick go at finding it, but couldn't (though not to say I spent a huge amount of effort on this project).

But I agree that it's useful to highlight this kind of thing. If you disagree with the author, you probably won't then want to give them your time and attention, let alone your money. But, on the other hand, if you agree, maybe you'll feel the other way! Which is a roundabout way of describing my favourite thing about the internet, since I'm old enough to remember what it was like Before: whoever your people are, for good or for ill, you'll be able to find them.


yeah, I am a trans lady who was kinda tempted to give this guy six bucks for this insanely overproduced version of a primitive video game, and now I am not gonna do that. <3

> I'm old enough to remember what it was like Before: whoever your people are, for good or for ill, you'll be able to find them.

it's still like this, you just have to look a little harder, and be more wary of nazi recruiters than you used to.



I meant a link to the blog post including the comment quoted. (I suppose "comment" vs "post" could be a bit ambiguous. Sorry about that.) Anyway, for the record, it's here: https://kodiak64.co.uk/microblog/Parallaxian_Cancelled

I'd rather have a slate.



Or perhaps even two Slates for the price of a high end R2


Ublock origin Settings -> Filter Lists -> Cookie Notices (enable them).

No ads, No annoyances. Why are you still struggling with this?


I'm not, not on the PC. But I was on my phone.



Canada should re-enact the AutoPact [0] (tldr: I don't see this in the wiki article, but the real benefit was; for every 3 cars sold in Canada, 1 had to be 'made' in Canada). This was ruled as unfair under NAFTA and thus terminated. It also had the effect of incredible auto-industry cutbacks.

BUT, with a new contender (China); we could re-enact it, rebuild our diminished blue-collar manufacturing base; and hasten the rollout of EV vehicles. Which is the real objective here.

IMHO, that would be a solid win for everybody.

[0]https://en.wikipedia.org/wiki/Canada%E2%80%93United_States_A...


But are Chinese EVs attractive to consumers if they are built in Canada with union wages? At that point people will just keep buying Toyotas/Hondas that are also built in Canada.


I'd expect quite a few consumers would still want them. Canada has cheap electricity and expensive gasoline. For those who don't live in some part of Canada so cold that the efficiency of an EV drops massively due to heating an EV can save quite a bit on energy costs.

Around 65-75% of Canadians live in parts of Canada that have winter temperatures similar to those of Norway's major cities and EVs perform fine in Norway so will probably also be fine in Canada.

The US and Japanese and Korean car companies are putting most of their EV effort, at least in the US and Canada, into the more expensive models. They don't have much that is the EV equivalent of a Toyota Corolla or a Honda Civic for non-SUVs, or the equivalent of a RAV4 or CR-V for EVs.

Honda for example only has the Prologue, which is built on top of GM's Equinox EV platform and starts at about $15k more than an Equinox EV.

The Chinese EV companies seem more willing to address that segment. Even if they have to pay union wages to build them there will be demand because it will still be cheaper than the EVs that are aimed at a more upscale market the other companies are mostly making.


Or you just setup lower price limits for cars like Europe did with China. So that state support is not affecting the market. Because guess what: producing a car in far far away land and then ship it around the world and pay some 10% tariff is also not that cheap.


the current deal is for 45000 cars, which they think will be all sold in 90 days or less, then there is mention of BYD building a plant in Canada, with whatever balance of imports and domestic production gets agreed on, so there is room and time for something like Autopact with China

Nova Scotia here, off grid, realy want to build a new bigger solar pv set up with sodium batteries, and design for whole house, shop, and car charging. Time for that is looking like now!


The time to negotiate that would have been before this announcement. Carney has doomed Canada's auto industry because he is negotiating with his emotions.


The deal allows up to 70,000 cars a year by 2030 to be imported at the reduced tariff. Canadians buy 1.5-2 million cars per year, and roughly a quarter million EVs per year.

If this deal as reported somehow manages to doom the Canadian auto industry, then our auto industry was probably somehow doomed anyways.


I don’t see how. Chinese manufacturers aren’t going to setup multi billion dollar plants without some market presence, that comes after.

Letting in some small amount of Chinese EVs for so they can test the waters seems sensible all around. If they are popular then negotiate on local manufacturing to allow a larger market share.


Check anybody that has done the AT.


You think they hike to failure??

(And you should be looking at the CDT, anyway.)


The day-to-day impact of being diagnosed is practically non-existant for me. It might explain "why" I might react to a specific stimuli but it doesn't stop the reaction. At best it's something to laugh about with my wife. It does also offer an early-warning system when I'm over stimulated and that I need to 'get home' soon.


> The day-to-day impact of being diagnosed is practically non-existant for me.

Yeah, as the old adage goes: with an ADH?D diagnosis you get to try drugs like lisdex or methylphenidate (or the non-stim options if those aren't suitable), but with an Autism/ASD diagnosis you get some pamphlets, coffee morning invites and a reading list.

I don't have a formal diagnosis but my child does and that made me read lots on the subject. Authors like Eliza Fricker, Ellie Middleton, Pete Wharmby amongst others.

It's opened my eyes to many other related aspects, specifically Rejection Sensitivity Dysphoria (RSD) and Pathalogical Demand Avoidance (PDA) and how those play into both ADH?D and ASD. In reading about them I've worked out just how much they apply to my-undiagnosed-self and how understanding the triggers and recognising the early behaviour has allowed me to adapt to minimise their impact.


"Rejection Sensitivity Dysphoria" is not medically recognized and is literally just something a guy with a blog made up.

(Note, the guy with the blog is a doctor, but he specifically recommends certain medications for this that I don't think anyone else who discusses RSD online would agree with if they knew this.)

Personally, I think it just sounds like a description of anxiety.


Homosexuality used to be a medically recognized medical disorder so probably worth taking everything with a grain of salt either way.


I don't know if PDA is real, one of the popular books on the subject is just a copypaste of the discussions on the facebook group.

Anyway I have it and it's crippling.


Intuniv/guanfacine helped me a lot with that and time blindness, but in exchange it makes you tired and affects your sex drive.

Also have to ramp off it, which is a problem if you run out or are traveling and can't get a refill.


Thanks for the advice. There's never a free lunch with psych meds, eh?


There's rarely a free lunch for any meds.

I know someone who needs Meds A because of $SERIOUS_CONDITION (medical, not psych.)

They're on Meds B to deal with some side effects of Meds A.

They're on Meds C to deal with a side effect of Meds B.

They would like to be on Meds D to deal with a side effect of Meds C but Meds D are absolutely contraindicative with one of the other meds.

Out of the various combinations (no meds, Meds A, Meds A+B, Meds A+B+C, Meds A+B+C+D) they've chosen the one that is most bearable (Meds A+B+C) and they can live with the remaining side effects. The other options are worse. 'no meds' and 'Meds A+B+C+D' would mean death in the very near term, whilst 'Meds A' and 'Meds A+B' have some quite annoying and restricting side effects. 'Meds A+B+C' is the least worst option.


For my sister, getting diagnosed was important to her because she always felt like she was broken but now sees herself as simply different. I'm not aware of any workplace accommodations she has requested but it has been good for her self-esteem, which is a benefit in of itself.


Being able to laugh about it, and know what is going on however is huge. Especially compared to being shit on all the time by others and self blaming (a common pattern!).


Yeah, that's basically the best-case scenario: the diagnosis doesn't change who you are, but it gives you a map of the terrain


If you happen to have built a functioning support nets already, being diagnosed is at best a curiosity. If you didn't, or your existing ones have crumbled, it gives you tools to do that.


I've been a "PC Gamer" for 31+ years. The 'value-add' that steam brings to the table is INCREDIBLE. Thanks to Proton/Linux efforts.

(1) my games are installable AND playable on _every_ device I use.

(2) I don't have to fight with wine/crossover/etc to get things to work.

(3) It's not hostile to the end user (yet).

I have bought more games since the Steamdeck came out then in the 40'some years before that.

Yes I know that I don't have to use steam, but they make it EASIER.

I am looking forward to Deckard for all of the above reasons and their history with the Index.

Steam makes installing software EASIER then the alternative (regardless of the OS). Auto-patching/updates of installed games.

If I was more social I'd probably use those features more. If they ever charge a monthly fee, I'll stop using it.


Its the screen (size) that mattered. While screens make terrible input devices, for content consumption they are king. And that is the dividing line between blackberry/iphones. An argument can also be made for "boring business blackberry" vs "fun" iphone.

The apps were worse, but you had that HUGE screen to look at. And compared to other non-blackberry phones where you were limited to T9 text input, it was a game changer.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: