HNHacker News
TopNewBestAskShowJobs

bamboleo

279 karma · joined November 18, 2020

submissionscomments
bamboleo··on CSS in GitHub Readmes
What do you want to do exactly? On the repo, click the SVG file and then “Source”
bamboleo··on CSS in GitHub Readmes
The whole point is that SVG images are basically never loaded with the embed tag, which is the reason why this is innocuous.

Embed is basically like using iframe, so where one is blocked, the other one is too.

The author simply loaded the SVG via the image tag, which renders it inert.

bamboleo··on CSS in GitHub Readmes
There’s nothing to report. For all intents and purposes SVG files are treated exactly like images. All interactivity and even the ability to load other resources is disabled.

FYI millions of readmes have had SVG badges for years.

bamboleo··on CSS in GitHub Readmes
There is no hole. The SVG is loaded as an image. If you find a hole, it would be in the browser’s handling of SVG images, which would be a pretty big hole.
bamboleo··on Travis CI is no longer providing CI minutes for open source projects
I’ve got accustomed to free solutions coming and going. The key concept here is that I’ll be using a free product for a few more years, until a competitor comes along.
bamboleo··on First person receives Pfizer Covid-19 vaccine in UK
That’s just word play. I’m asymptotic today, symptomatic tomorrow.

I, asymptotic young person with nCoV 2, am spreading it today. The “yet” part is completely irrelevant to this point in time.

bamboleo··on Travis CI is no longer providing CI minutes for open source projects
Are they trying to kill the product as fast as possible? Because waiting for a first-party solution before kicking 99% of your users out is the perfect way to do it, short of simply deleting their accounts.

Good thing I was an earlier GitHub Actions adopter because now I don’t have to do as much work.

bamboleo··on Categories of personal information collected
GDPR applies to companies doing business in EU. Pretty sure that Tinder has to follow EU rules given that they receive euros, albeit indirectly.
bamboleo··on Categories of personal information collected
So what Apple is doing with privacy cards in the App Store. Can’t get any more simple than that. I wish they could paint in red things like “shares your data with others”
bamboleo··on Apple’s “Extended Dynamic Range” Brings HDR to Non-HDR Displays
It’s not
bamboleo··on Apple’s “Extended Dynamic Range” Brings HDR to Non-HDR Displays
I had noticed this on my iPhone 11 Pro and I hate it. HDR doesn’t give you “whiter than white”, it just adds more steps of gray.

White is white. White on a display is the brightest point the display can display.

What Apple is doing, as the article explained, is showing regular white as gray. That’s not cool, that just stupid. It’s exactly what TVs at Best Buy do when showing SD vs HD content: They ruin the regular image just so you can see the difference.

The issue is that my monitor is not a demo display, it’s what I use sometimes in daylight, and I’d very much appreciate that extra brightness that Apple takes away from me.

You know what this means for you? Everything you see and watch on your computer is not a bright as it could be. On an LCD screen that’s a big deal because suddenly your blacks are brighter (because of the backlight at 100%) and your whites are dimmer (because Apple saves brightness on the off chance that you have HDR content)

bamboleo··on I Built My Own Shitty Static Site Generator
How can you scrape it if it’s on their computer?
bamboleo··on I Built My Own Shitty Static Site Generator
Neither case is really static and you still need the server running.

Also for whatever reason even with the right headers I could never force CloudFlare to actually cache everything. I think it will just keep a copy of a visited page in some servers, but not in all, and definitely it won’t cache the whole site at once.

bamboleo··on I Built My Own Shitty Static Site Generator
I’ve done it too, but wget is pretty “dumb” and will try to save files as main.js?v=1.2.3. Also wget doesn’t support everything so you have to carry over some files manually.
bamboleo··on I Built My Own Shitty Static Site Generator
Cool but why not just use regular MD with YAML front matter? I don't find that JSON readable at all, comparatively, and that INI isn't any better than the YAML version.

   ---
   includes: docs/index.html.md menu menuTop
   title: Theme
   base: docs/docs.html
   slug: theme
   menu:
    - label: Demo
      url: /demo/features
    - label: Try it!
      url: /try.html?d=/data/try.json
    - label: Docs
      url: /doc
   ---
   
   # Customize the story
   
   Below are the parameters to customize the style of the story.
And… PHP in a MD file?
bamboleo··on I Built My Own Shitty Static Site Generator
Sometimes I wish I could just use WordPress as a static site generator off of a docker machine that turns on on login and off at log off. Nobody wants to deal with slow and insecure always-on WordPress sites.

I know that there are some websites that take care of this… for money. Unfortunately $20/month is not in the budget for one-off sites.

bamboleo··on Dark Mode Coming to GitHub After 7 Years
From the page you linked: Issue 789719, that’s why.
bamboleo··on Dark Mode Coming to GitHub After 7 Years
After 7 years of what? 7 years since someone opened a random issue on a random repo?
bamboleo··on Growl in Retirement
Why would you do that? Just use the native notifications.
bamboleo··on Growl in Retirement
Windows has had a minimal form of standard notifications since Windows XP, which appeared as speech bubbles coming from the bottom right corner.
bamboleo··on What would happen if computers never got any faster?
Speed enables higher lever programming and therefore more people can solve more problems better and faster.

Surely you can fix 40-year-old machine with new software, but how long did it take to write that software and how much more could the machine do if it could be upgraded today?

Also good luck taking iPhone photos in real time with a Pentium 3.

bamboleo··on How to Load Fonts in a Way That Fights FOUT and Makes Lighthouse Happy
FOUT still happens and it shifts the content. I thought this was going to offer some custom loading logic like “don’t switch the font unless it’s cached or the user isn’t looking.”
bamboleo··on Ubuntu successfully virtualized on M1
I don't think that an entry-level MacBook is the right computer for you. Chill.
bamboleo··on Ubuntu successfully virtualized on M1
Perfect is the enemy of good.

Apple needed to get the platform to the market and what they've done so far is everything they needed to do. They haven't even updated the whole line yet, so just give it time and let them improve the basics first (no, virtualization isn't "the basics")

bamboleo··on Ubuntu successfully virtualized on M1
I'm not sure of what y'all are complaining about.

M1 computers literally just started being delivered last week; Being able to do something on a brand new platform is at the very least something to be pleased about. Given how good the system appears to be on all fronts it's normal that people are excited.

It's not "exceptional" but it just shows that, even with a whole new CPU underneath, developers will soon be able to do everything they're used to.

Give it time and someone will run Linux without virtualization on it.

bamboleo··on Mozilla/web-ext: A command line tool to help build, run, and test web extensions
I read this before but I never encountered it before. Sync Storage works just fine, you just need to add the gecko extension ID to the manifest as described by other comments.
bamboleo··on Mozilla/web-ext: A command line tool to help build, run, and test web extensions
How hard is it to understand that Node.js is a JavaScript runtime with access to the filesystem?

I don’t understand most of your complaints. Web-ext does not need Visual Studio, it installs just fine on macOS. You should open an issue if you can’t install it on Windows.

Also deprecations happen frequently on npm so, while they’re annoying during instal, they’re not really a big deal, modules still work.

bamboleo··on Mozilla/web-ext: A command line tool to help build, run, and test web extensions
Me too, in fact it has a —preserve-changes flag (or something like that) that combined with the -p flag let’s you have a profile just for development.
bamboleo··on Mozilla/web-ext: A command line tool to help build, run, and test web extensions
It’s unrelated to the build, it works even if you edit files directly.

The downside of this is that it means no HMR support whatsoever.

bamboleo··on Facebook’s Latest Error Shakes Advertisers’ Confidence
Feels like this confidence can be shaken more than Shakira’s behind.
← PreviousPage 3 of 4Next →