Preferences

zffr
Joined 976 karma

  1. It’s probably frameworks + localized assets.

    With dynamically linked frameworks you bear the cost of the entire framework (and its dependencies) even if you just use a few functions.

    iOS apps also need to include all localized assets in each app bundle.

  2. If you do software as a profession, is the book really THAT expensive at £45? Having a deep understanding of CSS could make you significantly more than that.
  3. At least on iOS, asserts become no-ops on release builds
  4. I would have expected SVGs to be like PDFs and render the same across devices. Is the issue that some renderers don’t implement the full spec, or that some implement parts incorrectly?
  5. Yeah it’s strange that the project does not mention using redis, or even SQLite with a vector DB extension.
  6. Just curious, why do you want to migrate from mongo (document database server) to sqlite (relational database library)?

    That migration would be making two changes: document-based -> relational, and server -> library.

    Have you considered migrating to Postgres instead? By using another DB server you won't need to change your application as much.

  7. I was with you until this part:

    > Thus any attempt at estimates is as futile as gambling to win, tasks are only ever done when they're done, and "successful estimators" are kings of retconning.

    > It's all make-believe.

    Software estimates are not futile or make believe. They are useful even if they are not always precise. That’s why the industry continues to use them.

  8. Does anyone know why the industry is killing OpenGL?
  9. I just tested this on my computer.

      1. Make a new Xcode iOS project and delete all files except for Info.plist
      2. Remove all keys from Info.plist
      3. In the build settings search for "storyboard" and remove all keys
      4. Add yellow.asm to project
      5. Link UIKit, and Foundation
    
    After all that you can build and run on a simulator
  10. > so it's almost certain that private APIs would get accessed

    No it's not. Just like with ObjC or Swift, in ASM you have to be explicit about the APIs you want to call. I don't see how you would accidentally call a private API in ASM.

    IMO the bigger risk is attempting to call a method that does not actually exist. ObjC or Swift would protect you from that, but ASM would not and may just crash at runtime.

  11. To me a handle implies that the object is somewhat sturdy. It’s okay to have it bump against other things and to set it on the floor.
  12. nit: the pure HTML example is not the same as the other examples. It would make a POST request to the server with the data using a form encoding instead of a JSON encoding. It's not a given that your server supports this encoding!
  13. One challenge is that JSON is for data and HTML is for UI. When a client gets JSON it can transform the data to make it ready for the UI. With HTML, the client is locked into the UI chosen by the server.

    What if the client wants to render the output of an API in different ways depending on what screen is visible? If the server API outputs JSON, this is trivial. If it outputs HTML the client is stuck into rendering what the server gives it.

  14. What I like about TUIs are that they are forced to be simple, and are forced to load all data at once. I don’t prefer interacting with an app in a terminal window, but I do prefer the kinds of apps that are built with these constraints in mind.

    There’s nothing preventing web apps from being built this way, but they just often are not.

  15. Preview was just included in iOS 26
  16. Apple’s typical process for releasing public API involves dogfooding it internally first. Sometimes it will take years of internal use before Apple will release API publicly.

    With something as large as TextKit, I would be extremely surprised if Apple did not get several of its apps to adopt the new API and use it for a few years before considering releasing it publicly.

  17. I'm at a cafe in NYC right now. Every single person here is on their laptop including me.
  18. For people wanting to include URL references in things like books, what’s the right approach to take today?

    I’m genuinely asking. It seems like its hard to trust that any service will remaining running for decades

  19. PDFs don’t always contain actual text. Sometimes they just contain instructions to draw the letters.

    For that reason, IMO rendering a PDF page as an image is a very reasonable way to extract information out of it.

    For the other formats you mentioned, I agree that it is probably better to parse the document instead.

  20. or I think if you right click and then open the app, macOS lets you run it.
  21. How do you do server-side rendering without a framework?

    If you use static pages, how do you make sure that shared UI like navbars all update if you decide to make a change?

  22. My understanding is that SQLite is OLTP and duckdb is OLAP. Duckdb is column based so not a great fit for a traditional backend db
  23. What’s the other candidate besides pocketbase?
  24. What do you think the bottleneck was in your search?

    Was it finding openings, getting interviews, or passing those interviews?

    In my niche I’m finding that there are very few opening in the city I live in, but that getting interviews might not be too hard. Not sure how easy it would be to pass those interviews.

  25. Out of curiosity, how did you end up with 6 months off between jobs?

    I would love the opportunity to take ~6 months off, but I feel scared that if I just quit, it might take me a longer time to find a job again.

  26. Why wouldn't you be able to switch back to using pip ?

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal