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

This website almost crashed my m1 macbook pro (renders at 1 fps or something), so I guess point taken: rendering text is not simple!


Looks like it's caused by `backdrop-filter: blur(6px);` on `.menu-content`. After disabling that it's slow, but not that slow.

Edit: This is with Firefox 144 on Ubuntu 22.04


No, actually the biggest difference is removing the `filter` property from the `.wave2` class which is used for rendering the background. With that removed the page is responsive even with the backdrop-filter - and it makes no visual difference AFAICS.


Thanks folks for all the suggestions, I've rewritten the whole page :)


It's also perfectly responsive if you disable JavaScript. Maybe something related to the --positionX and --positionY CSS variables that are updated on every mouse move?


And on my desktop, scrolling this page is painfully slow.

Author: frontend technical lead, setting high code standards


> Author: frontend technical lead, setting high code standards

Haha, to be fair it's common to half-ass personal projects even if it's your primary domain.


what's worse is that scrolling doesn't actually work unless you have the text area focused/under the wheel... very weird. Which is even worse for PgUp/Down as who would think to focus the area first for scrolling???


> who would think to focus the area first for scrolling???

Sadly, this problem is common enough that click-before-keyboard-scrolling has become second nature for me.


With what browser? Seems fine with Chrome.


My friend had a very similar episode with a psychosis, but turned out to be bipolar, not schizophrenic. Sounds very similar though!

He was smoking a lot of weed leading up to and during the psychosis.

Ended up in psychiatric ward for a month, which was followed by a couple of years of depression/introspection/therapy, but is now doing great with lithium.


It’s why I profoundly dislike the line of thinking that easier access to drugs means social progress.

It’s rather a shedding off of an inconvenience for those that have no (direct) problems of functioning (eg risk of developing addiction, psychosis, etc) at the heavy costs payed by those that are more vulnerable.


> It’s why I profoundly dislike the line of thinking that easier access to drugs means social progress.

While that framing might change the aperture for people to support decriminalization efforts, "helping people who have addiction means social progress" is the greater good here.

Unfortunately, at least from a USian perspective, we only got so far as the decriminalizing part, and we did it while actually cutting a lot of the social services, health care access, and safety net that actually help people with addiction function in society.

I had a parent with schizophrenia. I can tell you what a privilege it is to have my cannabis use be the primary risk factor I have to worry about, and not the financial stress and eventual homelessness, untreated health issues, and lack of mental health support my father faced.


I'm all for getting illicit drug users out of jail, that's social progress. There needs to be more education and attempt at shoring up mental health in the public sector and not just kicking everyone into a room and calling it a day, like the problem is solved.


There is pretty much zero barrier for accessing any drug. Even being busted by police or border guards for drugs don't make it a permanent problem. The real problem is advertisement. Cities have drug advertisements everywhere and it's legal. Banning all types drug ads, including ads of brands selling drug products, would be a genuinely great step towards limiting their impact.


> It’s rather a shedding off of an inconvenience for those that have no (direct) problems of functioning (eg risk of developing addiction, psychosis, etc) at the heavy costs payed by those that are more vulnerable.

And what about those who have a "direct problem of functioning" (like anxiety, depression, ptsd, whatever) and get no real help from the medical profession, but do get help from the drugs?


I do not think that book is a good suggestion for good or readable code, and also there is this (which in many situations will not matter, but still): https://www.computerenhance.com/p/clean-code-horrible-perfor...

Someone who does writes quite clean code is in my opinion Tsoding: https://www.youtube.com/@TsodingDaily Strongly recommend his YouTube channel!


Since there are no namespaces in C one kind of weird advantage of this is that raylib will stay out of your own (proper) namespace :)


Don't miss the opportunity to add in some of those fancy SIMD instructions as well somehow!


Hi, looks super cool!

Just some quick feedback from the first things I tried in the app (which did not work). It has to do with currency conversion: https://user-images.githubusercontent.com/93975/191202587-9b...


Ahh interesting thanks for letting me know - I'll look to get that fixed in the next version!


A bit sad as the thing that made me decide to not even try their app (which looked cool!) was the abysmal performance (in FF).


When starting my freelance career back in 2012 I had a pretty simple idea on how to track time using only google calendar and this tiny web app I wrote. Used it literally every workday since then, and even got a colleague (another freelancer) to use it with the quote “the first time tracker to ever work for me, and I’ve tried a lot!”. He is still using it last time I checked.

So I guess it is actually used by one more person than me!


I'm generally eager to share what I make, and have written quite a few open source tools. It's gratifying to polish up a piece of software to a high standard ...

But deliberately not sharing your creation, keeping things idiosyncratic and a bit chaotic also has it's charm :) The bliss of knowing that you don't have to worry about code quality or users asking for new features!

I wrote some simple tools, e.g. a note-taking app, and scripts to organize photo's. I also wrote a time tracker :) but I open sourced that one (it's called timetagger).


Thanks for the story. Can you share a link, please? I've tried a bunch, too, and not fully satisfied.


"A real-working phone for a real adult desk"


This happened to me as well, so sad! I fell your pain.


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

Search: