Hacker News new | past | comments | ask | show | jobs | submit | sondr3's comments login

Which then again could have AI integrations of its own! Imagine the endless possibilities of AI shredding.

A shredding company that automatically scans and uploads your documents before securely disposing of them. The scanned text is then used to train AI. It’s like the physical equivalent of ignoring robots.txt.

I’m sure YC will fund it.


I also over-engineered how I generate my CV[1], but went the opposite direction by using Dhall to create JSON and LaTeX files that I use to create a PDF and GraphQL API in Rust for it, automatically deployed via CI/CD to a VPS and a tagged GitHub release. It was a lot of fun to make, but is so over-engineered I hardly want to touch it anymore :)

[1]: https://github.com/sondr3/cv-aas


I too would be immensely frustrated if this was released in my terminal emulator, and would jump ship immediately. My current job would (and probably will) ban this and similar integrations unless compliance gives the thumbs up... and they do not care about how optional it is. GitHub Copilot is still not allowed unless you are in a small pilot project with their own agreement and contract for sharing and storage with Microsoft with tons of red tape. ChatGPT is still banned. Please keep AI out of the core features of applications that absolutely don't need it.


I wonder how they'll react to the next version of macOS, iOS and Windows...


This also made me scratch my beard, but I think he maybe means allowing multiple mutable references to a variable when the compiler can prove that nothing bad happens. It's something a bunch of people have been trying to solve with different models, the most recent I know of is Tree Borrows [1].

[1]: https://www.ralfj.de/blog/2023/06/02/tree-borrows.html


Tree Borrows is a model of `unsafe` code (for example using raw pointers), it is not a proposal to change what the safe Rust borrow checker accepts.


I can't speak for the authors of Rolldown, but esbuild is essentially a one-man show and everything is bespoke and written for esbuild. Not saying this as a bad thing, Evan single-handedly improved bundling performance for Node and started us down this path of tools in Rust. The libraries and ecosystem for writing tooling for other languages is really taking off with projects like oxc, SWC, LightningCSS, Biome, rslint, Deno, rspack, napi-rs/Neon for JS/TS/Node etc plus ruff, uv, rattler, pixi for Python and so on, so you get a proliferation of libraries and authors that can share and help each other.

Plus, on a personal level, using a language with pattern matching and algebraic data types makes writing tooling for parsers and such much more ergonomic than in languages without.


> esbuild is essentially a one-man show and everything is bespoke and written for esbuild. Not saying this as a bad thing

Not being glib: you didn’t mention why you brought that up.


My understanding (could be totally wrong) is that esbuild has historically been less open to widespread collaboration than some other open source projects, so adding the features they needed may have been untenable.

I have no authority and will not stand behind these claims if challenged.


> I have no authority and will not stand behind these claims if challenged.

I want this on a shirt


A friend once explained this concept to me as “strong opinions, weakly held”.


note that esbuild is written in go, not rust


Also, it was originally written in both Go and Rust, and the author decided to continue in Go. Both are fine languages, but it makes an interesting case study:

https://news.ycombinator.com/item?id=22336284


Wow, thank you for sharing this. The author echoes a lot of thoughts I've had working with rust.

However, doesn't the explanation given for why the Go version was 10% faster mean that esbuild was built to take advantage of a fixed number of cores rather than all of them? Sorry if this is a dumb question, I'm not really that experienced with parallel computation


I'm not sure. From the description, it sounds like whatever rust does on one thread (compute + destructors) is split across multiple threads in Go (compute + gc), but it's not clear if the base computation workload is spread across multiple threads.

Thinking about the problem, I think that at the very least parsing could be parallelized. Assembling everything into one output might not be parallelizable. But I haven't looked at what happens in esbuild.

I do know that it's fast enough that when I switched from webpack I had to check that it actually did something, because it returned immediately.


Yep, forgot to mention that in my post, thanks.


Huh? The official numbers are 877k or 16% [0]. Are you just pulling numbers out of thin air?

[0]: https://www.ssb.no/en/innvandring-og-innvandrere/faktaside/i...


Yeah, the number includes the second generation.

https://www.statista.com/statistics/586719/foreign-populatio...


While Rust and HTMX are a cool combo, this feels like random blog spam. The video is just a generic techfluencer talking about buzzword tech without any substance. At the very least tag the post with "Show HN".


You can generate the UUID in your application and insert it, UUIDv7 can be used in any UUID column in Postgres. UUIDv7 natively in Postgres are coming in v17: https://commitfest.postgresql.org/43/4388/.


You’ll love Piet (https://esolangs.org/wiki/Piet) then :)


Ohhhh. Did not know that one. thanks!


After getting a Garmin watch I’ve noticed that any drinking wreaks havoc on my body, and heavy drinking lingers for a long time. I’m getting the same readings when I’ve had a bit to drink from heart rate variability, sleep quality and such as when I’m really sick. It’s started to push me to drinking less, but I’ll never quit entirely. Life is too short and my mental health enjoys a glass every now and then.


Get rid of the watch then! And everything will be fine again. ;)


Same. It wrecks my sleep the first night and makes me bloated and slightly off the pace mentally for the following 2-3 days. I only have a drink once or twice a year now as the after effects just aren't worth it to me.


Have you experimented with ways to offset that at all?

I wonder if the impacts you’re experiencing are basically a mix of a spike in oxidative stress, sleep deprivation, dehydration, and probably coincidental poorer nutrition on the night you’re drinking. So, equally, I wonder if making a sustained effort to address each of those factors the next day would bring you back to baseline quickly.


What's annoying about drinking less often is that when I do drink (something like one big night with work people every 6-8 weeks) it absolutely destroys me the next day in a much worse way than my colleagues who drink multiple times a week. So I'm being punished for being a less frequent drinker!


It's funny, because I see it the other way around: I drink less often than I used to, and now I need less alcohol to feel the effects, and I find it cool that way :).


Experiencing this too... I used to get like 225cl of 6% alcohol beer on fridays. Now I've reduced and 75cl gives me the same pleasure and effect. Less money spent, less damage on the body, feeling better in the morning...

There's no way I will stop drinking completely, I like beer too much. But reducing has really no downsides at all.


> I used to get like 225cl of 6% alcohol beer on fridays

That's like 6 to 7 cans? Dang boi, you really like beer.


Not a "boi", but yes, I love it.


Well if you drink from 4pm to 4am, that is only half a small can per hour. Maybe I shouldn't write this, but try 1 or 2 cans per hour ;)


Right? And then you can improve the quality of the alcohol so when you do drink - it's awesome!


I think they just can handle being destroyed better because they are kind of used to feeling a bit miserable. It’s not that it isn’t affecting them.


I remember I was eating very healthfully for a while and then when heading to my job I absolutely needed food quickly and went to McDonalds. I felt pretty crappy a few hours later. The lesson ironically was that I should be eating more mcdonalds because that's the environment I live in and I should be better acclimatized :-)


Hard to establish cause and effect here.


why not drink less in that session?


Same here. I knew my workouts were harder if I had a couple of beers the previous evening, or a big session a couple days prior, but having the data to say "your heart rate is bouncing around like a moth near a lightbulb" makes ignoring it much harder. My midweek drinking has diminished to nothing now, because I like feeling well rested all day more than I appreciate a glass of wine after work.


Isn’t heart rate variability a good thing?


Mostly, yes. Heart rate variability ties into the sympathetic and parasympathetic nervous systems. When both are in balance, heart rate will fluctuate with the alternating activation of those nervous systems.

Although I'm sure there's variations in heart rate that aren't healthy.


Same here. I was astonished when I realized the device could very consistently "spot" when I have been drinking alcohol. It made me realize the effect of alcohol on the body are very measurable, and lasts multiple hours after your last drink.


I think drinking once in a while actually helps your organism flush out things that are alcohol soluble, and maybe that's why you have symptoms? It enters your bloodstream?


This would imply drinking alcohol actually has serious cons, and I doubt such statement was made so far on that basis.


seems unlikely, alcohols halflife is pretty short at 4-5 hours


I hear you, but you have direct evidence that booze is stressing out your system.

Have you considered that cutting it out entirely would also be good for your mental health?


Drinking helped me when I was a shy teenager. I also thought drinking occasionally was keeping my mind healthy and helped me socialize (I.E find a random girl at a random bar). When I started a diet, I cut alcohol before anything else (highest glycemic index of what I was eating at the time). After a year, i was certain I would never drink again, bar some occasion (close family funerals). It improved my mental health by a lot, I can still socialize, except now I can actually care about the people I met and they're not random to me, and overall it's a better experience (except on sport nights).


Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: