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

How do I enable Zed AI?

I'm logged in, using Zed Preview, and selecting the model does nothing. In the configuration it says I "must accept the terms of service to use this provider" but I don't see where and how I can do that.


I'm having the same problem.


Ditto.

EDIT: figured it out. My Zed settings was broken, because it tries to create a settings file in "~/.config/zed", and my entire "~/.config" directory is symlinked somewhere else, so macOS permissions broke Zed's ability to create that config file. So I gave Zed full-disk access in the macOS "Privacy & Security" settings, Zed is now able to make a config file (which is where the model is set when you choose one), and everything is hunky dory.


Having stuff included does have advantages, but, in my opinion, some of those included things in Angular are really badly designed (I'm looking at you, Forms)

I never use Angular for personal projects, and I have been using TypeScript exclusively for years. I.e. other libraries work really well with TypeScript as well (sometimes actually better than Angular, in my experience)


I find the dev experience of Angular very frustrating, and many things seem overly complicated or not very well designed, in my opinion. That's why I would choose something else (anything, really)

However, if it was noticeably faster than alternatives then I would just deal with those frustrations, personally. User experience (including speed) trumps developer experience.


DX in Angular is great. With Nx is even better.

Prove me wrong with the examples, please.


I'd be more interested in why you think DX in Angular is great (especially with Nx).


If my opponent will name some struggles - I will try to help, will try to show the way how to resolve them.


As an Angular developer, I find these DX issues mildly annoying:

1. Slow rebuild times.

2. Takes a long while to start a single unit test suite, using the default Jasmine setup.

3. No HMR.

4. Very awkward router API.


HMR is here since v12, stable since v13.

Test and, especially, builds time issues can be greatly reduced using Nx - give it a try. In one project (~400 components/directives) we’ve reduced the CI cycle (lint, test, build, deploy) from 50-55 minutes to 2-7 minutes. I know it sounds too good to be true, but there is no magic behind it: you can read how “nx affected” and remote cache works. It's basically free to use, we are using a free tier for every project.

One more thing: with Nx, it’s much easier to generate libraries, and you don't need to rebuild them to see the changes. Because of that, most of the code natively and without friction moves to libraries with time.


After having worked on an Angular project for a little over a year I'm at the point where I'm very unlikely to accept another job where they use Angular. It's so frustrating to work with, and every week I find another corner in the framework that, in my opinion, is very poorly designed and/or implemented.


Angular, to me, feels like it was designed by Java developers - classes and bloat* everywhere. Most code, when compared to a React etc. version, just seems like a wall of text on my screen. But, this might make it more approachable to developers that come from a Java background - I see this at my current employer.

(*) By bloat I mean that I often feel like I should have been able to implement whatever feature I just implemented in half the amount of code.


I never really had an opinion about Jeff Bezos, but after seeing this video and how he's interrupting Shatner to spray some champagne - man, I can't say I like Jeff a single bit.


A novice mistake. Never interrupt your expert employee (an actor) doing what they're good at. Leave it to the experts with lifelong acting experience to effuse on trivialities.


Not only to spray some champagne, after he did he just threw the bottle on the ground.


His people are celebrating a successful and safe launch and recovery. It would be weird as their boss to not partake at least a little wouldn’t you say?


It's not about protecting one guy, but about stopping the spread as early as possible.


So as an individual, it doesn't matter if your livelihood is destroyed because for the greater good of the community?


Correct. A conscious decision has been made in Australia to prioritize human life over business profits. What most didn't realize is that by choosing this path we're optimizing both, eg because we don't have any community spread our economy is booming.


Ah so what you view as business profits, somebody views it as a livelihood, way to live does not mean anything? But no its just profits.

Sounds like Australia has got ideas from CCP.


So you believe a livelihood is greater than human life? Someone running their own business should be viewed as more important than their neighbor living? Sounds pretty psychopathic to me.


It will be interesting and funny, when food distribution will be impacted due to people's stupidity, and you will have to resort to growing your own food. Because lockdown for everyone means including those big bulky trucks that fill up the supermarket. Because profit right? Famine, and starvation...


When is running a livelihood harmful to someone? Your entire premise is based on all businessmen are psychopaths, which is very narrow-minded.


My father's former boss (in Germany) has fired women when they became pregnant and just paid the settlement when they sued. As soon as the employer becomes aware that somebody is pregnant they can't fire them and need to guarantee the position or a similar one for when they return from maternity leave.

I understand where you're coming from, but my guess would be that the situation is much more similar between the US, Europe and other countries than you think.


I guess they're talking about http://bohemiancoding.com/sketch/


My understanding was that they don't want to allow executing downloaded code that hasn't gone through the App Store review (such as JavaScript in web pages). I think they allow Lua for scripting in games, though.

So, basically, a 3rd party JavaScript engine is not allowed. I guess you could write your own browser engine that doesn't support JavaScript.

I guess Flash was not allowed for performance and security reasons (lots of vulnerabilities, right?)


Alternative browser engines are forbidden, JavaScript or no JavaScript.


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

Search: