HNHacker News
TopNewBestAskShowJobs

pfranz

3,721 karma · joined March 30, 2012

submissionscomments
pfranz··on Show HN: OnlyRecipe.app – Remove clutter from recipe sites
Honestly, I tend to rely on the "brand" of where I'm getting the recipe. Ratings are only useful if you trust the site to have good ratings (either an active audience with similar taste or editors filtering and publishing with similar taste). I haven't seen it much, but I also worry about food safety for random recipes.
pfranz··on Show HN: OnlyRecipe.app – Remove clutter from recipe sites
I always see this as a stated reason, but I'm skeptical unless it's cargo-culting like "no copyright intended" on YouTube videos (but this is a lot more work). I can't see Adam and Joanne [1] or Holly [2] suing for copyright because when someone stole their Frito Pie recipe and left off the story at top. Especially, when they both have Google-defined tags to grab only the recipe and ingredients. As others have mentioned, the bigger sites (Allrecipes, food network, NYTimes, binging with babish etc.) tend not do the story thing.

Do you have any other info on copyright as a reason?

[1] https://www.inspiredtaste.net/15938/easy-and-smooth-hummus-r...

[2] https://www.spendwithpennies.com/easy-homemade-lasagna/

[3] https://developers.google.com/search/docs/advanced/structure...

pfranz··on Finding your home in game graphics programming
That sounds like a fun challenge. If you're constraining yourself to use as few libraries as possible, I'd go with OBJ [1] for the 3d mesh and PPM [2] for writing images. It's easy to implement a bare bones reader/writer and some OSes (like macOS) can show them in the file browser. Raytracing in One Weekend goes over PPM. There are a bunch of header-only libraries that handle different file formats like stb_image [3]. I usually end up using those when I start dealing with textures or UI elements. I don't use Windows so I haven't used their APIs for projects like this. I'd usually go for imgui or SDL (like you mentioned). tinyracaster, a sibling project of tinyrenderer, touches on those [4]. I liked LazyFoo's SDL tutorial [5]. Good luck!

[1] https://en.wikipedia.org/wiki/Wavefront_.obj_file

[2] https://en.wikipedia.org/wiki/Netpbm#PPM_example

[3] https://github.com/nothings/stb

[4] https://github.com/ssloy/tinyraycaster/wiki/Part-4:-SDL

[5] https://lazyfoo.net/tutorials/SDL/index.php

pfranz··on Finding your home in game graphics programming
I'd be curious to hear others chime in, but I feel like the situation is very similar to this article talking about games. Do you want to get pixels to the screen/file? Shaders and materials (authoring or implementing)? How commercial renderers are organized? My job is mostly using commercial tools, but a lot of us have made toy renderers, read books, and taken classes to reimplement the fundamentals.

It's been awhile, but a few common, imho approachable, sources are:

https://github.com/ssloy/tinyrenderer/wiki - a rasterizer that starts with drawing a line

https://raytracing.github.io/ - a basic raytracer that incrementally adds features

https://www.pbrt.org/ - I've heard good things from people who have gone through the whole book. I haven't taken the dive, but thumbed through it and jumped around.

I wouldn't dismiss realtime stuff, either. Often, the concepts are similar but the feedback loop is much faster. I liked the UE4 docs on shaders talking about pbrt and the simplifications they chose when implementing it. There's a bunch of resources out there. I don't think single source is comprehensive. I say, start with something simple and find resources on specific things you want to know more about.

pfranz··on CentOS Linux 8 Reaches End-of-Life
Maybe I've always worked at larger employers than most, but a one year surprise to reevaluate and transition your operating system sounds incredibly disruptive when the original promise was support through 2029 and the "successor" is very different.

In my experience major updates like this are discussed annually with eval, testing, and milestones set weeks and months apart. The transitions are often pushed a year or more when issues come up. Resources are dedicated to all of this.

It sounds like there are a lot of similar options with relatively easy transitions (away from Red Hat), but you still have to choose who you trust going forward and carryout the transition.

pfranz··on Midwest Developer
The mentality in Los Angeles is that nobody is from LA--it can be surprisingly true within a lot of social circles. My suspicion is that coastal elitism comes from people who chose to leave those center states. There seems to be waves of comedians that have affection or derision.
pfranz··on Square is now called Block
Apple stopped selling "Apple Computers" decades ago. They sell Macs. If someone is talking about Beats and Apple, it doesn't get confused with the computer. Apple is the parent company and Beats sells audio hardware. In 2007, they changed their name from "Apple Computer" to "Apple Inc." The same year AppleTV and the iPhone were announced.

That said, Apple has some terrible branding in some areas. Is AppleTV the hardware, the subscription service, or Apple's TV app?

pfranz··on Square is now called Block
Who cares if the company is called Google or Alphabet? Consumers know the website is google.com. People they want to hire know enough that the company is Alphabet even if consumers don't.

I think these new names are silly (even after 6 years of hearing "Alphabet"). It's obvious Meta and Block chose these names to lean into where they want to go. A big reason I think a rename is a good thing is just talking about the company. Does "Facebook" refer to the app, the company, or something that affects Instagram, Oculus, WhatsApp? You can use internal code names, but that still is difficult for investors or new hires to discuss the company. I think this is more of the reason for the name changes instead of their brands imploding.

pfranz··on Ask HN: What’s the best TV to buy?
For years I've heard people recommend https://www.rtings.com for reviews. More recently, people pointed to this page showing which TVs don't serve ads: https://www.rtings.com/tv/tests/ads-in-smart-tv

If you want a dumb TV, you can look for commercial models (used for billboards), but it might be lacking basic features like more than one HDMI input or speakers.

pfranz··on Wirecutter strike and boycott Thanksgiving through Cyber Monday
I think you can have affiliate links, you just run the risk of ruining your credibility. I also think it might be difficult if that's your only source of income.

I wonder if anyone has tried giving their top picks away for free, but charging for the review and methodology? I feel like I'd be suckered in. When I'm shopping I hop around and look at a bunch of reviews. I'll then try and find YouTube reviews to see the product in context. Especially, if it's a site that comes up over and over I'd pay to see pros/cons and comparisons. No idea if that would scale to a business, though.

pfranz··on Flatpak Is Not the Future
I wasn't trying to undermine their hard work! I think both have a chance of being successful in their own domains. I only meant to call them out as exceptions.

All I was saying is that if a new package manager addresses all of the issues scripting languages had, scripting languages would still use their own package managers. Because the culture is now set, even new scripting languages would write their own package managers.

pfranz··on Flatpak Is Not the Future
Right. Windows support is a feature outside of the scope of Linux package managers. If they weren't tethered to specific distros I don't see why one couldn't support multiple platforms. It hasn't historically, but Windows has a bunch of package managers, even one supported by Microsoft.

I think "largest" is quite an exaggeration since historically scripting languages packaging has been rather terrible on Windows. While Windows was a consideration for languages like Python (I've read they avoided Make because of Windows), for me cygwin always coming up along with it until recently.

pfranz··on Flatpak Is Not the Future
You should point the finger at package managers. They never really addressed needs outside of system administration (to be fair, that's the problem they were trying to solve). Scripting languages came up with their own package system because package managers didn't fit their needs, I often found myself building from source and installing into my homedir because package managers wouldn't accommodate, industries (like the one I work in) came up with their own package management outside of the OS.

Nix/Guix seems like the only one that's trying something different enough to address some of those other use-cases, but the cat's out of the bag for most people.

pfranz··on Flatpak Is Not the Future
Thanks for that! I quickly poked around at my Firefox install on MacOS. Firefox.app is 353M. The largest single file in there is Firefox.app/Contents/MacOS/XUL (binary) and that's 258M. Of that, lipo says 136165680 is x86_64 and 134106096 is arm64. My Firefox folder in Windows is 208M.
pfranz··on Python: Please stop screwing over Linux distros
Thanks for taking the time to share!

That's sounds like the general approach I take for "projects" even toy projects. My day jobs have never fit the virtualenv use-case. So at home I often have to look up how to use it. It's so rare that when I make an alias I even forget those.

Most new things are one-off scripts; move or rename some files, extract data from something, or pull from a resource. Something that requires libraries or is too big for a shell script. For example, the last one I see in my bin is a web scraper for appointments. It pulls a website, fills out a form, and gets the result a few times--about 70 lines. What's annoying is sourcing some environment just to run this one tool.

Most people have a directory of scripts (a mix of shell, Perl, or Python) they use if they spend a lot of time at a commandline. It's quite a pain to source the environment just to run a quick script. That's generally the libraries I install into user. I don't care much about the version and troubleshoot things as they come up.

pfranz··on Python: Please stop screwing over Linux distros
This was 10+ years ago, but I remember something like the installed Python package had a caching bug that was affecting production. The update wasn't compatible with some OS scripts so the machine would no longer boot using the updated package. Problems like that came up fairly often, but I remember that was the most egregious.

Another scenario is that the OS shipped with Python 2.5 (supported until May 2011), but we had third-party tools that required Python 2.7 (shipped July 2010). Switching OSes (where things like monitor or hardware drivers weren't yet supported) was a ridiculous pain to test and certify. Decoupling OS and Python+package versioning was a huge relief for everyone, but won't make sense for everyone.

> Absolutely not. I expect a serious user of that library on an apt based system to package it and submit the package to their distro.

I try my best to personally do this and push for a work culture that does this, but even if this was done I can't fathom waiting on an OS update for existing code to percolate down. The risk tolerance, scope of concern, and agility between an OS and whatever project pays the bills are very different.

pfranz··on Python: Please stop screwing over Linux distros
So you're suggesting always using virtualenv?

I used to just use pip to install to the system. Months/years later I would try to untangle the mess of packages I was just playing with, what the OS wanted/needed, I got those conflicting dependencies you mention, etc. I usually ended up reinstalling the OS. At the time I may not have been as knowledgeable about where the OS package manager keeps packages vs pip--but the whole thing wasn't very user-friendly either.

For years I've been installing into user knowing I can just blow it away. I've dabbled with virtualenv, but it's such a pain to set up and activate. If I have a few projects with similar libraries it's more of a pain to set them all up and switch around. If I end up using a script for something important, I just spend the extra time at that point to "package" it.

pfranz··on Python: Please stop screwing over Linux distros
What happens if your project needs an update, but it will hose the OS? Do you expect someone working in Python in Windows who wants to distribute a datetime package should package for RPM and APT?

I used to think OS package managers should be the end-all be-all, but the use cases for OS package managers are very different from language runtimes. While different Linux distros were fighting between themselves, they completely ignored use cases for projects and language runtimes. Sadly, the result is a mess for everyone.

I think people need to figure out what approach works best for them. I'm of the opinion that any core technology to your business needs to be decoupled from the OS. It makes OS updates too messy and you're tethered to whatever the OS supports. My field uses a lot of Python and every company figured out quickly they need to run their own binaries in addition to packages.

At one company, they packaged up custom RPMs. It wouldn't be a problem to package up and distribute Python libraries. Others had their own package system (no OS or runtime fit their needs). It seems like most people use something like virtualenv.

Regrettably, this means there's no easy answer for people new to Python and the right choice will probably change as you grow. But I really think the answer is Python should come up with something that works for Python and let OSes do their thing.

pfranz··on Corded headphones are making an unexpected return
> And even if you dont use it much the battery will still deteriorate after 2 years.

I bought some Sony over-the-ear noise cancelling headphones 3-4 years ago. I only tend to use them when flying (only a few times a year). I have an old pair of original AirPods (2016) I use as backups. I haven't noticed any deterioration. I'm sure there is some, but a majority of the aging is due to use.

pfranz··on Corded headphones are making an unexpected return
You're right in theory. In practice that either means a battery in the headphones and/or a new audio cable. I'm sure this has been tried before. It seems like something Sony would try--maybe Lighting headphones would count?

I guess Airpods Max would count?

pfranz··on Corded headphones are making an unexpected return
I had a kid a few years ago when I switched. Wearing headphones and holding a child sucks because they will probably get pulled out of your ears. I always hated cords tangling in my pocket and I'd often have the wires snag on a doorknob or drawer when walking around--often breaking them. I also used a messenger bag.

Ear fit sucks, is it worse with cordless headphones? Ear fit always comes up with earbuds, wireless or wired. I've heard individuals say wireless is better for them because there's no wire tugging on their ear. I'm surprised to see a lot of people walking around with over-the-ear headphones (I tend to use them at home or on a plane).

pfranz··on Will real estate ever be normal again?
I hear this repeated a lot. In practice, at least in the cities I've lived in, I've only seen housing go downmarket when there's an explicit exodus. The reason is that housing is built for a specific living space size. Los Angeles has so many single family houses that it's impossible to cater to people downmarket...unless houses are torn down and multi-unit housing is built. You could rip those down and build upscale, large apartments, but I feel like I see them sitting vacant instead of moving downmarket. The bust sucks for everyone and the boom (gentrification) sucks for the less well off.

Maybe we're saying the same thing, but instead of gradually reaching a equilibrium like you're describing I see a dramatic boom bust cycle--both are held back by lack of building.

pfranz··on Vizio makes more money spying on people who buy TVs than TVs themselves
> So for the past few years it turns out plenty of people are willing to sell their watching habits for a cheaper TV.

The problem is that when it's endemic and not clearly labeled is that paying more may not do any good. Companies are very happy to charge you more to pretend you get something extra.

pfranz··on Use forums rather than Slack/Discord to support developer community
With signatures and details about the user who posted, vBulletin and phpBB use up so much white space for shorter comments (which is most of them).

Personally, I love that Discourse allows j/k for keyboard navigation. I get the hate over infinite scrolling. I feel mixed over the two approaches.

https://forum.vbulletin.com/forum/vbulletin-5-connect/vbulle...

pfranz··on Intel: PC Games Are Incompatible with 'Alder Lake' CPUs Due to DRM
Right, the newer games will likely get updated. I wonder if they'll just drop DRM? I know a lot of AAA games have it to get sales during the window of first release.

I think I'm still just surprised how the 32-bit thing played out. Apple only sold 32-bit Intel processors in 2005-2006. Steam was ported to macOS in 2010--well after 64-bit was established. They started giving warnings in 2018 and dropped support in 2019. Just recently I was trying to figure out how to play vanilla Half Life 2 and ended up installing High Sierra because that was the best solution I had.

pfranz··on Intel: PC Games Are Incompatible with 'Alder Lake' CPUs Due to DRM
Some may, but I doubt most will for the same reason a bunch of 32-bit games were never fixed for macOS even though there was like a decade of opportunity.

I'm surprised the article didn't say if Denuvo had a fix yet. It also sounds like Microsoft may implement a fix in Windows. That sounds like the most likely solution if Intel or the BIOS couldn't address it.

pfranz··on Thanks Microsoft for open-sourcing VS Code Server
I believe that tradition was started in 2006 when Microsoft send Firefox dev team a cake

https://news.softpedia.com/news/why-microsoft-google-and-moz...

Like others mentioned, this story seems to be reference to Gitpod sending GitHub a launch cake for Codespaces.

https://www.gitpod.io/blog/cake

pfranz··on Our self imposed scarcity of nice places
I think that's a huge factor generally between cities and not. If you shop every 10 days you also need a large amount of space to store it. I've also noticed if I can shop every day I'm less sensitive to inventory issues. If they're out of milk today, I'll get it tomorrow. If I won't be back for 10 days, we either go without or I need to make another stop and I'm less likely to shop there.
pfranz··on Honey, Please Shrink the Touchpad
Am I doing something different than most? Admittedly, I don't use a 4k monitor. I would think you'd need to boost acceleration or scroll multiple times to get across the screen no matter the input. This also seems like an argument for the larger touchpads the author is complaining about.

resizing: I guess I'm not sure of the use case. In something like Maps, you just do the shrink/grow gesture multiple times. In photo apps I use a selection box, scale the window down and drag the corners are precise as I need. Maybe it's something I don't often do.

selecting: click and hold with my thumb, scroll down with index and middle finger or move cursor with my pointer. Or I click, scroll, then shift-click to select what I need.

drag and drop: click and hold with my thumb, drag the item by moving my index finger. You can left and drop your index finger as needed. Release thumb to drop.

pfranz··on FDA advisory panel recommends Pfizer Covid-19 vaccine be authorized for children
I did a very rudimentary google search and see that the federal government requires a bunch of vaccines including influenza and Covid-19[1] for obtaining a visa. The CDC publishes a "menu" of state hospital vaccination laws[2]. Those sound like they both clearly fit "many contexts in the US that required a flu vaccine" the parent mentioned.

[1] https://www.uscis.gov/tools/designated-civil-surgeons/vaccin...

[2] https://www.cdc.gov/phlp/docs/menu-shfluvacclaws.pdf

← PreviousPage 5 of 34Next →