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

For anyone interested

This is the shell script it runs on Mac/Linux: https://github.com/corbindavenport/just-the-browser/blob/mai...

For FireFox it downloads this: https://github.com/corbindavenport/just-the-browser/blob/mai...

  {
    "policies": {
      "DisableFirefoxStudies": true,
      "DisableTelemetry": true,
      "DontCheckDefaultBrowser": true,
      "FirefoxHome": {
        "SponsoredStories": false,
        "SponsoredTopSites": false,
        "Stories": false
      },
      "GenerativeAI": {
        "Enabled": false
      },
      "SearchEngines": {
        "Remove": [
          "Perplexity"
        ]
      }
    }
  }

ChatGPT is currently integrated into Apple Intelligence. When I ask Siri something I can choose to use ChatGPT for my answer.

https://support.apple.com/guide/iphone/use-chatgpt-with-appl...

So I'm guessing in a future update it will be Gemini instead. I hope it's going to be more of an option to choose between the 2.


Hopefully it gets more tightly integrated.

Nice to see other fellow Western NC folks commenting here, I'm in Asheville. I did not know about all of these text only version of major news sites. I'm going to bookmark them.

What saved us from a news deficit after Helene was that we had 2 portable AM/FM radios. Both of the radios took batteries and one of them you could even charge via a hand crank. I highly recommend having a portable AM/FM radio of some kind. Blue Ridge Public Radio (our local NPR) was amazing during this time. Their offices are located right in downtown, which never lost power, so they were able to keep operating immediately after the storm.

I also feel this pain of bloated sites taking forever to load when I'm traveling. I'm on an old T-Mobile plan that I've had since around 2001 that comes with free international roaming in 215+ countries. The only problem is that it's a bit throttled. I know that I could just buy a prepaid SIM, or now I can use an eSIM vendor like Saily, but I'm too cheap and/or the service is just good enough that I'm willing to wait the few extra seconds. Using Firefox for Android with uBlock Origin helps some, but not enough (also I just switched to iPhone last month). I've definitely been on websites that take forever to load because there's just so much in the initial payload, sometimes painfully slow. I don't think enough developers are testing their sites using the throttling options in the dev tools.


I learned this back when HTML5 was brand new around 15-ish years ago. If you wanted to use the new tags like <article>, the only “polyfill” needed was some css styles. You can see it in the early versions of the HTML5 Boilerplate:

https://github.com/h5bp/html5-boilerplate/blob/v0.9/css/styl...

I realized that I could just make up tags and style them and it was work.


Same for me. Worked smoothly in Firefox (MacOS Desktop)


yes bun does both of the things mentioned in the parent comment:

> Unlike other npm clients, Bun does not execute arbitrary lifecycle scripts like postinstall for installed dependencies. Executing arbitrary scripts represents a potential security risk.

https://bun.com/docs/pm/cli/install#lifecycle-scripts

> To protect against supply chain attacks where malicious packages are quickly published, you can configure a minimum age requirement for npm packages. Package versions published more recently than the specified threshold (in seconds) will be filtered out during installation.

https://bun.com/docs/pm/cli/install#minimum-release-age


I needed this post a year ago when I was looking for this exact thing. I did end up going with Puppeteer because I needed it for something else that I couldn't avoid. I use a large list of flags with it to launch the most minimal version of headless Chrome that I can.

I am going to look into switching to MigraDoc and see if i can drop puppeteer

Thanks for this great research!


You're welcome!

Having played around with MigraDoc for the past few weeks, I do still recommend it, as long as you don't need more complex layouts. Here's a short and certainly incomplete list of limitations that I've run into so far:

- No tables within other tables

- No multi-column page layouts

- No multi-section on the same page (new section = new page)

- No letter spacing

- MigraDoc doesn't know about the final spacing, so you can't adjust say the width of some table column automatically. Either calculate an estimated based on the text/content or space them equally.

- Can't shade (background color) only a selection of words in a text

- Lists can only have up to three different symbols

- List indentation can behave quite strange, due to tabstops

- No horizontal rule (can be emulated)

- There's a bug with bottom border of a paragraph

On the other hand, MigraDoc & PDFsharp as less than 1MB and plenty fast, so it's a great package, as long as you can build some workarounds to achieve the desired look.


A while ago I was at an agency and we got a client that was a very popular weather app. Things like mapbox and some analytics libs (can't remember exactly, this was 2019) The project was a big redesign of the app. We looked into using Xamarin to see if we can at least write the core logic in C#. The issue we ran into is that there were many third party libraries we needed to import that weren't converted to Xamarin/C#. There was a way to try and have it automatically bind but never worked properly. In the end we just went pure native. Turns out Xamarin was a fun toy framework but Microsoft couldn't point us to anything serious and battle tested in production written in it.

I'm curious to see if .NET MAUI will surpass Xamarin and actually get serious adoption. They have to figure out the third party binding issue.


I was also hoping it was a small phone announcement but it not being part of a keynote didn't give me high hopes.

I've been on Android since day 1 but I'm thinking about switching to iPhone. If they ever made foldable (clamshell style, not book style) phone I would buy it immediately. I just want a small phone.

Yes I could get an Android foldable that already exists but I like to stick with Pixels and they don't have one yet and I'm kinda of done with Pixels. They are crap quality.


With Swift SDK for Android, you can write all of your code logic in Swift for both and only need write the native UI related code for Android and iOS.

https://www.swift.org/blog/nightly-swift-sdk-for-android/


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

Search: