News for hackers. Stuff that matters.

jvatic

I'm surprised nobody said they'd use [Yew](https://yew.rs/), especially given the premise of this being for a passion project.
Re:Ask HN: Who Here Is Working to Fix the Environment? on Sunday July 14, 2019 @02:13PM (#20434871)
I'd really like to find paid work fixing the environment. So far all I've done is reduce the harm I'm doing by adopting a vegan and [mostly] zero-waste lifestyle, and minimizing the amount of other polluting activities I engage in.
My main complaint with their new keyboard design, not having used it enough to encounter any reliability issues, is that it’s just way too cramped to actually type on. I’ve since gone back to an older MBP, but while I was using the newer design I found the only way I could actually type on it was using an external keyboard. There really wasn’t anything wrong with the 2012/2015 form factor and I wish they’d go back to that.
Re:How America Uses Its Land on Friday August 10, 2018 @12:41PM (#17734826)
This is indeed an incredible inefficiency to say the least. Going vegan is the single biggest way you can have a positive impact on climate change[1]. It's also really simple to do! And you can even get free support and dietary advise over at challenge22.com when you're ready to make the transition. The animals, the planet, and your body will be better off as a result.

[1] https://www.theguardian.com/environment/2018/may/31/avoiding...

Re:A List of Chrome DevTools Tips and Tricks on Friday April 13, 2018 @08:21PM (#16835050)
FYI with the exception of XHR and DOM breakpoints, there's nothing in here you can't do in Firefox dev tools (just different keyboard shortcuts).
Re:Hacking the <a> tag in 100 characters on Sunday March 17, 2013 @01:45PM (#5390155)
In addition to countless other oversights, setTimeout would not work as you suggested in the post as the page would be unloaded before it ever executed. And, as others have already mentioned, there are numerous other ways to accomplish the exact same effect with 'more legitimate' methods (e.g. event.preventDefault(); window.location = ...).

Various browsers such as Chrome will warn/block you from visiting known malicious sites, but it comes down to being aware of where you are before entering personal information.

I think a better proposal might be getting browsers to warn users if the url they are visiting is sufficiently different from the original href attribute (i.e. different host). Something like this could easily be done with a browser extension (and could handle more cases such as preventDefault + window.location = ...).