HNHacker News
TopNewBestAskShowJobs

superfad

38 karma · joined May 26, 2015

Frontend developer
submissionscomments
superfad··on In Response to My first impressions of Web3
> I'm curious about this point; if the only thing stored on the chain is a URL (including Drive/Imgur) then there's no possible way to actually preclude the content from changing right?

When you use something like IPFS the url is created from a hash of the file contents, so it is not possible to change the file without creating a new url.

superfad··on Guillain-Barré Syndrome After Covid-19 Vaccination in US Vaccine Safety Datalink [pdf]
VAERS is a voluntary reporting system, it does not include any deaths by bus. Nor does Sharyl Attkisson hawk miracle cures so you seem to be talking complete nonsense.
superfad··on Cryptocurrency scams cost owners $7.7B in 2021, driven by DeFi-based “rug pulls”
Yeah I agree.

> Rug pulls have emerged as the go-to scam of the DeFi ecosystem, accounting for 37% of all cryptocurrency scam revenue in 2021

So 37% of $7.7 billion is $2.849 billion.

> All in all, rug pulls took in more than $2.8 billion worth of cryptocurrency from victims in 2021.

> It’s important to remember that not all rug pulls start as DeFi projects. In fact, the biggest rug pull of the year centered on Thodex... In all, users lost over $2 billion worth of cryptocurrency, which represents nearly 90% of all value stolen in rug pulls. However, all the other rug pulls in 2021 began as DeFi projects.

The graph shows $2.6 billion was lost with Thodex. So that leaves $0.249 billion that was lost in projects that were rug pulls that began as DeFi projects.

superfad··on Tailwind CSS v3.0
Other than autocomplete, I would also suggest using this cheat sheet to help you: https://nerdcave.com/tailwind-cheat-sheet
superfad··on Guillain-Barré Syndrome After Covid-19 Vaccination in US Vaccine Safety Datalink [pdf]
https://sharylattkisson.com/2021/10/exclusive-80-of-the-most...
superfad··on Ask HN: Why does cryptocurrency subjects on HN lack curious conversations?
I think this is pretty much the same question that was discussed a couple of weeks ago. Worth a read, https://news.ycombinator.com/item?id=29139813
superfad··on “Let's Run The Experiment”: about DAOs and the future of organizations online
Ah yeak ok. I agree the formatting is a bit unusual. I guess the confusion is Chris did mention Axie but it was in the previous post which is paywalled.
superfad··on Notes on Web3
It is because Web3 changes the business model and economic incentives. I would suggest reading this:

https://onezero.medium.com/why-decentralization-matters-5e3f...

superfad··on “Let's Run The Experiment”: about DAOs and the future of organizations online
The interviewee, Chris Dixon, never mentioned Axie though. It was the interviewer, Steven Johnson, that brought it up.
superfad··on Why web3 distributed libraries will change the world
That's where something like BrightID would help.

https://www.brightid.org/

superfad··on Responsive images
The only time the sizes attribute is not needed when using srcset is when the rendered size of the image is fixed.

One example would be a logo that is less than 320px wide (so it fits even on mobile). In that case you can add x descriptors to give a higher quality logo on retina screens. e.g.

<img src="logo.jpg" alt="Logo" srcset="logo.jpg, logo-2X.jpg 2x">

Alternatively use an svg :)

But if the image depends on the viewport width then 'srcset' (without x descriptors but with w descriptors) and in combination with 'sizes' is the way to go.

superfad··on Responsive images
I've had this happen when uploading a highly optimized image (manually optimized with Squoosh) 2560px wide, then WP generating a 1920px wide version and the KB was larger. I believe I was using the free version of Smush at the time and had to change. Now using reSmush.it.
superfad··on Responsive images
The browser doesn’t know the size at which the image will be rendered on the page until it has downloaded and parsed all the relevant CSS and JavaScript files. Shortly after the browser downloads the HTML, it requests CSS and JavaScript. But before the CSS and JavaScript is done loading, the browser starts downloading images. The only thing that the browser does know is the size of the viewport. If we give sizes based on screen width then the browser will know which image to use. The width doesn’t have to be expressed as a viewport width unit though. It can be any length including absolute and relative length. You can even use CSS calc() to do things like auto-calculate margins dynamically.

For your example I believe it would be done like so:

<img src="cat-200.jpg" alt="cat" srcset="cat-200.jpg 200w, cat-400.jpg 400w, cat-800.jpg 800w" sizes="5em">

This page explains responsive images further: https://cloudfour.com/thinks/responsive-images-101-part-5-si...

superfad··on A Spreadsheet Way of Knowledge
Needs (2014) added to the title.
superfad··on Ask HN: Is headless a good solution for small businesses?
Thanks for your insight. I agree there are some great tools available, but I am still working on a cost effective solution for small business clients. Maybe I should be putting my energy into finding clients with a bigger budget instead. :)
superfad··on Ask HN: Is headless a good solution for small businesses?
Thanks for the reply. I believe you are correct in that the $2.6 million figure is organisation wide so would cover multiple sites.
superfad··on The CSS Standardization Process
> I don't quite understand the issue with aspect ratio. I know there isn't a way to define it well yet, but people have been building websites for almost 30 years without a way to specify it, and now all of a sudden everyone claims to need it. It's weird.

Here is a bit of background on why there is a need for aspect ratio:

https://youtu.be/AQqFZ5t8uNc?t=233

superfad··on Top domains by aggregate score on HN from the past year
Very interesting and well done. Something seems off for the 'ask' page though. "Top Ask HN stories from the past year" but most only have a few points.
superfad··on Ask HN: What's a good response to “It's fine, I've got nothing to hide online”?
They may not care about their own privacy but they should care about privacy online as a whole because there are most definitely people who have legitimate reasons for privacy such as journalists, activists or politicians. If they don't care about online privacy ask them if they also don't care about racism because they are not black or a minority.
superfad··on Wikileaks Documentary Makers Accuse Assange of Censorship
Cryptome was keeping a tally of what has been released. The problem is the total size of the trove is not known publicly. But yes, it would be a very tiny percentage.

https://cryptome.org/2013/11/snowden-tally.htm

superfad··on The psychological importance of wasting time
Do you charge your clients by the hour or another way?

I feel like I could be just as productive with fewer hours but there is somewhat of a financial conflict when being paid by the hour.

superfad··on US Customs block Canadian man after reading his Scruff profile
They will be asking for passwords in NZ too before too long by the sound of it.

https://nzccl.org.nz/content/customs-able-demand-unlockpassw...

Plus there is what happened to Sam Blackman

http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objecti...

superfad··on The spreading of misinformation online (2015)
> Digital misinformation has become so pervasive in online social media that it has been listed by the WEF as one of the main threats to human society.

It might be a good time to bring back critical thinking to the education curriculum. I see that as the only real solution.

It would be interesting to know how the spread of this misinformation differs from other types of regular news.

superfad··on Google Interview University: I Didn’t Get Hired. Here’s Why
Because he studied full time for 8 months in preparation for an interview. No doubt a few people would have been interested in the news.

https://medium.freecodecamp.com/why-i-studied-full-time-for-...

superfad··on Headphones can be hijacked to surreptitiously record audio
That reminded me of this Apple patent but it looks like this is done in a different method.

Apple files patent for camera hidden behind display http://appleinsider.com/articles/09/01/08/apple_files_patent...

superfad··on Why we maintain desktop apps for OS X, Windows, and a web application
My guess is she means they don't need authorization to install it if it is a web app, where as a desktop app may need company sign off to install software.
superfad··on Italian boy survives being trapped underwater for 42 minutes
Wim Hof who holds the world record for immersing himself in ice water says he uses his mind. He has been involved in some interesting experiments.

http://www.icemanwimhof.com/science

superfad··on Superbad
http://en.wikipedia.org/wiki/Superbad_(website)