HNHacker News
TopNewBestAskShowJobs

tacotacotaco

305 karma · joined August 19, 2020

submissionscomments
tacotacotaco··on Code Smell of the Day: Type Keys (2021)
Just because you do it frequently doesn’t necessarily make it good. Your approach increases the function’s cyclomatic complexity. The struct requires the caller to dictate the function’s inner logic instead of the function logic being driven by application data. Maybe your solution is a good fit in your production code. I can’t say. Maybe there is a different approach to solve your boilerplate concerns. There will be exceptions but generally I don’t agree with the example as provided.
tacotacotaco··on Instagram ads Facebook won't show you (2021)
Then you agree that Facebook shouldn’t have run psychological experiments[0] on its own users to manipulate their emotional state?

[0] https://www.wired.com/2014/06/everything-you-need-to-know-ab...

tacotacotaco··on Supreme Court leans toward web designer with anti-gay marriage stance
For a while I also thought this. If these bigots don't want money then let them go without. Then I thought about what desegregation looked like in this country. It only applied to government institutions so private businesses hung "WHITES ONLY" signs in their window. Are we going to have "STRAIGHTS ONLY" signs or should I just assume any Christian symbol to mean discrimination?
tacotacotaco··on DVD sales surpass Blu-ray in 2021: Physical format market
For a few years now in the US I have found some TV shows _only_ released on DVD. Shows that aired in HD. The industry tries to understand the market, e.g. the valid examples shared here, and they simply ignore the now smaller blu ray market. Maybe a little of this is self fulfilling.
tacotacotaco··on Vegetable oil associated with greater risk of CVD than animal fat
Two stories of individual experiences eating raw meat compared to “most vegans”. Don’t account for starting health, genetic disposition, or economic status. Since we’re judging health purely on your esthetic definition of “looking better”, I raise you 22 vegan body builders[0].

[0] https://www.greatveganathletes.com/category/vegan-bodybuilde...

tacotacotaco··on Is There Too Much CSS Now?
I have had multiple conversations with multiple devs about it being ok to use a table tag when the display is an actual table i.e. columns and rows of data with headers etc. It’s semantically correct! One occasion was for a project wherein the lead rejected my code because I used a table tag for tabular data. I was told to use floating divs instead.

I guess the point of my story is that people will misuse tools regardless of what is available to them.

tacotacotaco··on YouTube ads appear to be ramping up, with as many as 10 unskippable ads
This. If YouTube were independent I would also be inclined to buy Premium. I already pay for several other streaming services. I do not want Google tracking my viewing habits (you must log in to use Premium) just so they can sell targeted ads via their other properties.
tacotacotaco··on DuckDuckGo, Proton, Mozilla back bill targeting Big Tech ‘surveillance’
From the bill’s summary, “… prohibits the platform from restricting access to platform data generated by the activity of a competing business user.” This sounds like it eliminates iOS’s App Tracking Transparency.
tacotacotaco··on Instagram, TikTok, and the Three Trends
You think people in the future will have experiences in the real world with other real humans. That their buddy isn’t a bot algorithmically refined to maximally connect with it’s user. And that the user can power down their ocular implant. How cute.
tacotacotaco··on Senate passes bipartisan bill to subsidize U.S.-made semiconductor chips
I was at the house of the owner of a company I worked for. I mentioned my amusement at seeing a school bus in this very rural area on the way to his house. He complained that he didn’t have kids so he didn’t see why he should have to pay for that. I replied that, as my employer, he was benefiting from my public school education. That ended that conversation.
tacotacotaco··on Advice for the next dozen Rust GUIs
I would remind you that Microsoft disowned MFC and aggressively pushed all developers off of win32api once .net was released. Then they went about rewriting visual studio in .net and possibly the office suite as well. I hope Apple doesn’t attempt this because, in my opinion, I don’t think Microsoft’s products benefited from that churn.
tacotacotaco··on It’s time to make that indie C# game in Godot
Godot uses a similar object oriented approach as Unity. For ECS, you might keep an eye on Bevy[1]. It’s still not mature but its team has been making progress. Even Unity and Unreal had to start somewhere.

[1] https://bevyengine.org/

tacotacotaco··on Cell Lang: Why yet another programming language?
> A language's programs will (in practice) often be a reflection of what the language makes easy and what it makes hard…

In industrial design this is called an affordance. The product is designed to encourage correct usage and make incorrect usage difficult. I would like it if more language designers will carefully consider their language’s features like this. The Elm language is a good example.

tacotacotaco··on Brave Search Goggles: Alter search rankings with rules and filters
Sounds a lot of Kagi’s block/boost and their lenses features. I haven’t used either. Just pointing out prior art.

https://blog.kagi.com/kagi-features

tacotacotaco··on FDA Denies Petition to Ban All Phthalates in Food Packaging
Since its beginnings the FDA has always genuflected to business. Many people in the department worked hard to document toxins that the American public were being exposed to (e.g. arsenic and coal tar used as food coloring, formaldehyde and borax used to preserve milk and meat). However the department's leadership, and in a few cases the U.S. President, intervened to protect business interests. If you're interested check out The Poison Squad[1].

[1] https://www.penguinrandomhouse.com/books/312067/the-poison-s...

tacotacotaco··on An Afterlife User's Guide to the C64
Warning to anyone with a physical C64, there are a couple memory addresses that if you poke them it will fry your monitor or your drive. Maybe this was a rumor as I can no longer find the source of this info but it would be a shame if someone damaged their system.

Fortunately this never happened to me as a kid. I was thrilled when found one of the addresses for controlling a sprite.

tacotacotaco··on Go 1.18
I like the simplicity of the language. What I did not like was the complete denial of functional patterns for problem solving. The language has first class functions but language's "best practices" and the core library are imperative and all 3rd party libraries (rightly) follow suit.

I appreciate that the language designers had a specific vision for their language. I have much respect for them. They have a lot of experience and expertise. I prefer functional patterns so I decided to discontinue go and learn a different language.

tacotacotaco··on Microsoft is testing ads in the Windows 11 File Explorer
I might guess they are referring to the Apple Pay signup, the Apple TV and Apple Arcade promotions which show up as settings notifications.
tacotacotaco··on First look: adding type annotations to JavaScript
You know you can already write doc comments in Javascript code. It doesn't require changing the language. IntelliJ parses these comments when providing code insight.

Yet in my entire career I have found that I am the only dev that writes these comments. I use to think this was just JS devs but I have found C#, Java, and indeed Typescript projects that I work on to be sorely lacking in comments of any kind. So, how does this adding complexity to the language standard change this?

tacotacotaco··on Facebook Shadow Profiles [pdf]
I was told by a friend that when they uploaded a picture with me in it Facebook auto tagged me. I have never created a Facebook or Instagram account. I want no business with that company. I am annoyed that I am still profiled by them.
tacotacotaco··on Consuming content like it's the 90s
I have also thought about this. We use to have limited tv channels and limited radio stations. On any given day, there was a greater possibility that you shared an experience with your work colleague, your neighbor, or even a stranger. We shared more common culture.

Not that I'm pining for "the good ol' days". The internet has facilitated access to a flood of content. I have found great music that would never have been played on the radio. I also realize that no one else in my physical vicinity has or will listen to my favored musicians. Same for tv shows. I think the last common culture most people shared was Game of Thrones.

I do think this makes us more isolated from each other.

tacotacotaco··on Game-makers creating new Game Boy games (2021)
I was learning cgb programming for a little while. It’s challenging but so different from my day job that I found it refreshing. When I discovered GB Studio I became defeated. I felt that my skill was trivialized. Low-code/no-code won. I tried GB Studio but clicking everything together was not exciting to me. I understand that programming is only a means to an end but for me it is interesting. I considered switching to agb but I see a “studio” in development for that platform also.

I’m not hating on GB Studio. There have been great games created with it. I’m happy that more people are able to create games.

I’m glad I can still make money professionally with my programming skills… for now.

tacotacotaco··on Game-makers creating new Game Boy games (2021)
Same setup and same reasons. Other advantages are that tactile buttons feel great and the games are designed to be a complete experience i.e. no in app purchases.
tacotacotaco··on Running IntelliJ Idea with JDK 17 for Better Render Performance with Metal
Funny, I have the reverse opinion. I think VSCode's UI is obtuse and the default theme is awful. I will agree that IntelliJ's UI is busy but I know where all the tools are. Reminds me of Photoshop in that regard. I appreciate not needing to frankenstein together a ton of plugins just to get non-trivial functionality.

Edit: Not to say that I'm right or that you're wrong. Just pointing out differing opinions exist. To each their own.

tacotacotaco··on Redesigned Notepad for Windows 11
Also, Windows 10 removed the window borders so now you have to resize windows by grabbing their shadow. Years later I still regularly misclick.
tacotacotaco··on Microsoft pushes ahead with controversial ‘buy now, pay later’ feature for Edge
Except that corporations join standard bodies to exert influence in their favor. If a standard is easy to implement then there would be more competition. E.g. Microsoft pushed standardization of their Open Office XML format. A party critical of their standard printed out the two competing specifications. ODF sat on the table and OOXML sat on the floor. My memory is hazy but I think the OOXML stack was still taller than the ODF stack.
tacotacotaco··on Etsy’s Journey to TypeScript
Yes thank you. This was the point I was trying to make.
tacotacotaco··on Etsy’s Journey to TypeScript
No, my argument is that TS makes writing code easier and that easier does not equal to quality [0].

I have been writing code for more than 20 years. Personally, TS doesn't impress me. This is not meant as a criticism. Personally, I have found functional programming to be revelatory. I am shocked that is as been around as long as it has and that our schools don't teach it (or just mention it) and the majority of people in our industry as resistant to it.

"No matter what language you work in, programming in a functional style provides benefits. You should do it whenever it is convenient, and you should think hard about the decision when it isn’t convenient." -- John Carmack [1]

[0] "Simple Made Easy" Rich Hickey https://www.youtube.com/watch?v=LKtk3HCgTa8

[1] "John Carmack on Functional Programming in C++" http://sevangelatos.com/john-carmack-on/

tacotacotaco··on Etsy’s Journey to TypeScript
I have worked on several TS projects. None of them were good IMO. I'm not blaming TS. I've seen numerous bad JS projects also. I'm not passing judgment on Etsy's code, only sharing my experience.

You are correct, there is good and bad code written in all paradigms. My point was that the energy we (as an industry) employ marketing, migrating, and educating on new languages/frameworks/tools might yield more substantial results if we focused on fundamentals.

tacotacotaco··on Etsy’s Journey to TypeScript
I have read this book and recommend it other devs. It is a great example of using types effectively and writing good functional code. I have worked on several TS projects and none even had a glimpse of the patterns explored in that book. That is my point. TS doesn't make you write better code. If anything, it encourages the dev to document the types which is still no guarantee of quality documentation.

I have worked on several JS projects that are written functionally. They have been some of the high points of my web development experience. None of the TS projects I have worked have been functional. Maybe it's a coincidence.

← PreviousPage 2 of 3Next →