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

this release fixes a vulnerability reported 10 years ago

https://www.kb.cert.org/vuls/id/319816


Breaking: AI fixes 10 year old vulnerability!

This is going to be one my next projects for experimenting with the Web Serial API. I got an old Ioline plotter that refuses to die. Any advise or tips for where to start with the SVG to Gcode conversion?

I used svg2polylines to load the SVG into line segments, interpolating any splines into something easier to use for a plotter. Feel free to take a look at the core/project/import.rs in the project I linked. You might also want to look at the core/post.rs which does the gcode generation.

Tabular Eye. Aligns code without modifying it.

https://github.com/ericfortis/tabular-eye


The `security` man page on FreeBSD is a good example. Technical, but with guidance.

https://man.freebsd.org/cgi/man.cgi?query=security


yes, I stopped reading it because of that, and because it felt AI generated.

Flash


A hiring manager asked me a question like those. I said: "sorry I'm not prepared, I don't remember from the top of my head." Right before that interview I was a solo founder. He said something like: "ok, so you just focus on the work?" "Yes." I got the job.


+1 I disabled all that and assigned a shortcut to: Call Inline Completion


I should go back to this (like some of the other comments suggest) - I think there is potential in suggesting multiple lines, and I would have really loved it to work, but it is clear that their ux testing was poor.


> I cannot instantly create a new file

Agreed, but if you use IdeaVim you can:

  :e src/my_new_file.txt

> The startup times are just abysmal

For quick edits I just use Vim, but disabling unused plugins speeds up startup quite a bit.

--

> Switching projects has abysmal performance

I reported that bug: https://youtrack.jetbrains.com/issue/JUNIE-2563/Minor-UX-Slo...


CSS Modules are a simpler solution to cascading problems. They create unique class names, so your classes don't clash [1]. And they don't have the two main downsides of TW, which are readability [2] and tooling. Tooling for debugging and experimenting interactively with Chrome and FireFox DevTools.

[1] https://x.com/efortis/status/1888304658080256099

[2] https://github.com/ericfortis/tailwind-eye


Don't most modern CSS tools create unique class names? I know styled-components did.

Recently I've been using linaria which is a drop-in replacement for styled-components (exact same API) but its zero runtime. All the CSS is compiled during build (similar to vanilla extract, panda CSS, etc).

I really prefer things like styled-components or Linaria or CSS Modules where you can just write straight up CSS. If you ever decide to switch your tool you should always be able to just copy-paste your CSS away. You don't get that with Tailwind or "styles-as-objects" stuff (StyleX)


True, I didn't mean to omit other solutions, I thought styled-components were deprecated after React 18.


Yeah it was/is (doesn't work with server components). That's the reason we built next-yak (https://yak.js.org) as an alternative.


Thanks for your work on Yak. When I was evaluating the alternatives to styled-components, I went with Linaria over next-yak because it is zero runtime. Any plans for Yak to support this as well?


Yeah they are not supporting server components. That's why I said I used Linaria which is a drop-in replacement. Exact same API so any team can simply run a codemod tool to change the import rule from styled-components to linaria


We've for a while determined that unique class names are a dark pattern. Having to match unique and unreadable names with the actual src is a productivity killer.


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

Search: