HNHacker News
TopNewBestAskShowJobs

ajjenkins

521 karma · joined February 1, 2020

submissionscomments
ajjenkins··on Why bad philosophy is stopping progress in physics
I’m not an expert in physics, but this seems like a misguided critique to me. My understanding is that physicists aren’t looking for “new” physics because they’re trying to upend established physics, but because they’re trying to reconcile “inconsistencies” in the standard model. Like reconciling quantum physics with general relativity. We need new physics because we know there are gaps in our current understanding of the universe. I haven’t heard about many attempts to disprove established physics. Theoretical physicists aren’t looking just trying to fill the gaps in the model.
ajjenkins··on Congress passes Take It Down act despite major flaws
I agree. I generally support the EFF, but I disagree with them on this. I read through the bill and the language is very specific to revenge porn (although I’m not a lawyer). I think it would be very difficult for Trump or anyone else to abuse this law and use it for censorship.

I have friends who were the victim of revenge porn and I think this law would help them. I’m looking forward to this becoming a law.

ajjenkins··on Show HN: I reverse engineered top websites to build an animated UI library
Components look great. I would pay for these if I needed one of them for a project. It would be great if they worked in React Native too.
ajjenkins··on WhatsApp defends 'optional' AI tool that cannot be turned off
Instagram Messages and Snapchat also have an AI chatbot you can’t get rid of. It’s even more annoying on those platforms because they appear at the top of your chat list and it’s easy to accidentally click on them.
ajjenkins··on Show HN: I Made Bagel Font
It works on iOS Safari
ajjenkins··on Show HN: I made a math puzzle game. Hope you like it
Yeah, you should be able to manually lock or they should lock automatically once it’s guaranteed a tile is in the right place. Like if there’s only one black tile in a row and that row is correct.
ajjenkins··on Show HN: I made a math puzzle game. Hope you like it
Yeah, it feels like there’s a slight delay when you tap on a tile. I’m playing on an iPhone.
ajjenkins··on Americans die earlier at all wealth levels, even if wealth buys more years
People like to say that the American healthcare system is great if you’re rich, but based on this study, that’s not true. Interesting.
ajjenkins··on Thank HN: The puzzle game I posted here 6 weeks ago got licensed by The Atlantic
Can you color code the brackets so it’s easy to see how the clues are nested? Like outermost brackets are red, one level of nesting is blue, next level of nesting is orange. My brain is having a hard time parsing all of the clues.
ajjenkins··on An Overwhelmingly Negative and Demoralizing Force
AI can definitely produce a deletion. In fact, I commonly use AI to do this. Copy some code and prompt the AI to make the code simpler or more concise. The output will usually be fewer lines of code.

Unless you meant that AI won’t remove entire features from the code. But AI can do that too if you prompt it to. I think the bigger issue is that companies don’t put enough value on removing things and only focus on adding new features. That’s not a problem with AI though.

ajjenkins··on FastUI: Build Better UIs Faster
A lot of custom front end components that I’ve built were more about aesthetics than functionality, so I agree that it’s often unnecessary. In terms of functionality, you can get really far using only native HTML elements.

One common front end component that you can’t build with vanilla HTML is an autocomplete/typeahead input. I’ve had to build a few of these in JavaScript and I do think they’re genuinely helpful. It’s helpful to get suggested options as you’re typing. I also think search results that get filtered in real time as you type are helpful and can’t be accomplished with pure HTML.

ajjenkins··on AI System Beats Chess Puzzles with 'Artificial Brainstorming'
I don’t understand how any chess puzzle could be hard for a computer. Don’t most chess puzzles stipulate a condition like “checkmate in 3 moves”? Doesn’t that sufficiently limit the search space so that a computer can just brute force the solution? The article doesn’t give any specific examples of chess problems that are hard for computers.
ajjenkins··on I reviewed 1,000s of GraphQL vs. REST perspectives
Regarding the “it’s not worth the extra complexity” argument, I think it depends on how you’re creating your GraphQL server. If you’re writing the server logic yourself, I think GraphQL is absolutely not worth the extra complexity. Making a REST server is way easier than making a GraphQL server.

But I think the balance can tip in favor of GraphQL if you’re using a managed GraphQL server like Hasura. I’m using Hasura for a solo project and I actually find it simpler than maintaining my own REST API code. All I need to do is specify my data model and never need to write any boiler plate for new endpoints. I know there are similar services for REST that can automate the boiler plate code away (like Supabase). But Hasura automates away the hard parts of GraphQL, and I prefer the experience as a client of GraphQL over REST. I like being able to specify exactly what data I want from the API and being able to get values for foreign tables in one query without needing to join the data client-side.

ajjenkins··on How much can Duolingo teach us?
Not the creator, but I did download it to try it. One feature it has is a custom video player that displays Spanish subtitles and you can tap on any word in the subtitles show the English translation of the word. I’ve never seen anything like this before and there’s probably no web standard for this. Complex touch interactions might be easier to add to an app.

Also, I’m not sure if this app has notifications yet, but notifications and badges are a good way to get people to come back to your app every day. I think websites can do push notifications now, but not badges.

ajjenkins··on Conway's Game of Life digital clock
Someone shared this yesterday and I didn’t get what what’s interesting about it. It just looked like a normal GoL simulator. I didn’t realize you could zoom in and out. This is so cool. Thanks for sharing.
ajjenkins··on Contexto: Find the Secret Word
Got today’s word in 77 guesses. According to the game that’s not a good score, but I was impressed I was able to figure it out at all. Definitely much harder than Wordle.
ajjenkins··on Show HN: Scribble Diffusion – Turn your sketch into a refined image using AI
This would be so much fun as a feature in Drawful.
ajjenkins··on Show HN: Touca – a better alternative to snapshot testing
I like this. TDD purists would probably complain that you don’t assert a specific value, but in practice I know a lot of people hardcode the assert values for their tests based on the test output. So this just automated that, I guess. If I was looking for a new test framework, I would consider this.
ajjenkins··on Ghost boat with GPS leads father-son duo to man overboard
When describing how the boat owner fell off his boat, the author said it could’ve happened to anyone, but it sounds like he was peeing off the side of his boat while the engine was running.

I don’t know, but that sounds pretty dumb to me.

ajjenkins··on Text-to-4D Dynamic Scene Generation
Can someone explain what’s 4D about this? Is it 4D because the 3D models are animated (moving)?
ajjenkins··on Ask HN: What would be your stack if you are building an MVP today?
I agree with that too comments that you should avoid having a backend at all for your MVP if you can avoid it (just make a static hosted website with HTML, CSS, and minimal JS).

But since you asked about backends specifically, this is what I would use. I would use clerk.dev for authentication, Hasura for the CRUD API, neon.tech for the database, S3 for static files (images), and AWS Lambda for any extra functionality you can’t accomplish with Hasura natively (but call them through Hasura).

Personally, I like using GraphQL because I can just focus on my data model and not think about what endpoints I need to make. But there’s definitely a learning curve, so sticking with a REST API is probably better for most people.

As an alternative, I would also consider Supabase like you mentioned. It sounds cool, but I’m already comfortable with Hasura so that’s what I go to first.

Update: For a website, I would actually use Remix with Clerk for auth and Prisma/SQLite for data stuff. That’s one of their premade starter stacks. I made one prototype with Remix and had a lot of fun using it. It’s easy to learn and will give you a high performance full stack app. My original answer is what I would use if you’re making a mobile app.

ajjenkins··on Austral: A systems language with linear types and capabilities
This is my first type hearing about linear types, but my guess is the name comes from the fact that you have to repeatedly “thread” a value through your code to keep using it. If you look at the example for Files, you have to pass the outputted file pointer from writeFile as an input value to the next writeFile. So you can picture that one file pointer as linearly threading through you code. And it’s specifically linear because your “thread” can’t “branch”, because that would mean you’re using the same value twice (except an if-statement is kind of a branch, but it’s ok because when the code runs the value will follow a linear path).

But I agree that “linear types” is not a great name. Something like “single use types” would be clearer to me.

ajjenkins··on Show HN: Domain Name Search with AI
This is really cool. I’ve actually been looking for a tool like this recently. I’ve tried a few other website name generators, but your website gave significantly better recommendations than the other websites I tried. Namelix gave decent results, but they were pretty generic and often missed the intent of my idea.

I would definitely pay for this tool. There are some good suggestions on how to monetize this already, but I would pay for a longer list of recommendations and some of the advanced features people suggested, like being able to fine tune my results.

Also, if you’re trying to do SEO, the phrase I searched for was “company name generator”.

ajjenkins··on Show HN: I made a minimalist puzzle game about linking nodes in graphs
I did use the compare button to compare my times to the average times for those puzzles.

My times were all above the average times, which was cool. But, at least with Wordle, I think it spread because people were excited about beating their friends, not a global average.

I know you said your game is different from Wordle, but you did copy the aspect where it’s the exact same game for everyone each day, and once you complete the puzzle(s) of the day, you’re fine for the day.

Initially this sounds like a weird limitation (only one puzzle per day?) but it works because it enables you to say to people “did you figure out the Wordle today?” And to be talking about the same thing. You probably already knew this, but I’d think about how this does or doesn’t apply to your game and what it’s getting you.

ajjenkins··on Front end developers: stop moving things that I’m about to click on
I agree that this is extremely annoying. It happens to me all the time with the iOS keyboard suggestions.

For websites, Google calls the Cumulative Layout Shift (CLS) and it’s one of the Core Web Vitals they use for measuring website performance.

https://web.dev/cls/

ajjenkins··on Show HN: I made a minimalist puzzle game about linking nodes in graphs
I’ve played a lot of Flow. I enjoyed the three puzzles for today. I don’t think I would come back every day to do it though. But I rarely play Wordle, so maybe I’m not the right audience.

My only feedback is to think more about why Wordle is popular. I think it’s because it’s the right level of difficulty for most people and it has the social element of comparing the number of guesses it took you with your friends. If you solved the Wordle of the day in 2 guesses and it took your friends 4, you have bragging rights. But in your game, it’s a bit messier with how to compare your score with your friends. Comparing times is ok (maybe not as good as # of guesses), but it’s really hard to compare with your friends if there are 3 separate puzzles each day. I think you might get more traction if you had a single, harder puzzle to solve each day.

It’s also possible to lose in Wordle, but not possible in your game. Maybe you could add a Give Up button or Hint button if someone gets stuck. I was able to solve all 3 puzzles, but I could imagine someone getting stuck and getting frustrated and never coming back after that. My idea for the hint button is it would connect a pair of nodes for you.

ajjenkins··on All companies are fucked up
After thinking about the article some more, I reached the same conclusion. I was trying to figure out why the author wrote this, and my best explanation is that this was an attempt to defend companies that have been labeled “toxic”.

Like, “Sure Activision/Blizzard was a fucked up company (and maybe still is), but all companies are fucked up, so it’s really no worse than any other company. It was just the wrong type of fucked up for certain types of people (women, minorities, etc.).”

None of this is explicitly said in the article though, so hopefully this wasn’t actually the point the author was trying to make.

ajjenkins··on All companies are fucked up
The author gives two examples of jobs they worked at then asserts that all companies are fucked up. I think you need better evidence or at least a more persuasive argument to claim that “all companies are fucked up”. Maybe the author didn’t literally mean that all companies are fucked up, but I’m not even convinced that more than half of companies are fucked up, based on this post.

Sorry, maybe I’m just missing the point.

ajjenkins··on The Case for Abolishing Elections
These are all good points. Thanks for replying.
ajjenkins··on The Case for Abolishing Elections
One reason corruption might increase with sortition is that it would be much cheaper to successfully bribe a representative. Most politicians are rich so it’s very expensive to make a bribe worthwhile to them. But if people with less money are in power, they might be swayed by smaller bribes.

Also, they don’t have as much to lose if they’re caught accepting a bribe. If a career politician is caught accepting a bribe, their career as a politician is over. But if a mechanic is caught accepting a bribe during their 2 year stint as a representative, they would suffer minimal reputational damage and could just go back to being a mechanic.

You also mentioned that you could prevent this with harsh penalties and long term audits, but I think it would be pretty easy to circumvent an audit. Like, if I wanted to bribe someone elected by sortition, I would just offer them free stuff instead of money so it’s harder to trace. Like free hotel stays or prepaid gift cards.

I could imagine apolitical people treating a sortition win like winning the lottery and expecting to get money out of it. And just auctioning their vote off to the highest bidder.

With all that said though, there would be a lot of advantages to sortition so the risk of corruption and bribery might still be worth it and would still probably be better than our current system.

← PreviousPage 2 of 3Next →