HNHacker News
TopNewBestAskShowJobs

compacct27

266 karma · joined September 12, 2019

submissionscomments
compacct27··on Show HN: Tweening web visualisation, in Rust – (WASM)
Eh, would rather see a comparison to a webGL approach given we’re doing tweening here. Fine to not have one, just sorta leaves the question up in the air. Faster than Canvas at the very least!
compacct27··on Show HN: Visualize the entropy of a codebase with a 3D force-directed graph
Love it, I think dependency trees are super underused data for static analysis.

The visualization here is amazing in its own right as well, can I ask what part of the codebase renders it and handled the force-directed part?

compacct27··on Turing Complete Transformers: Two Transformers Are More Powerful Than One
Can’t. Three Body Problem.
compacct27··on Ask HN: What are some non-intuitive but useful CS facts in programming?
It's been amazing learning about this. From "The Little Typer" book to Computerphile's videos on dependent (and homotopy, somewhat related?) type theory, to discovering Lean for interactive (math) proof construction, the history of it all dating back to Bertrand Russel trying to explain math from first principles, just wow. So lucky to live in a world where this is true.
compacct27··on Ask HN: How are you using ChatGPT for yourself?
I’ve had a big need for abstract algebra in a side project and ChatGPT 4 has been The Best tutor (on top of several books and YouTube videos). Gives examples on the spot for your specific needs in any way you want. Gives broad overviews of a subject so you can make deeper dives elsewhere (Google, Math Stackexchange). Relates concepts to other parts of math. Implements math in my programming language of choice.

I’m sure it’s hallucinated a few times, but I’m at such an early level that it’s typically fine. I learn either way in a way that’s set me way ahead of where I’d have been without it

compacct27··on Obsidian 1.5 Desktop (Public)
Shout out to Obsidian, my most-used desktop and mobile app of the year. Absolute game changer. Hacker News showed me this and the book “How to Take Smart Notes” and it’s been an immense aid for difficult technical work, and plenty of other things as well.
compacct27··on Deep cloning objects in JavaScript
React needs a new object for its hooks when you change them. We need to modify those objects, so deepClone + direct mutation on the clone bypasses a lot of annoying immutable object creation bs. ppl just destructure the whole thing anyways, which is actually also pretty slow
compacct27··on AI is about to change how you use computers
I’m hopeful this is the right answer, but I’m not optimistic it is. AI seems more like the introduction of the assembly line for software workers, minus huge blockers for physical labor. It’s not there now, but at this rate? Not infeasible either
compacct27··on AI is about to change how you use computers
Replace? No. Highly reduce? Absolutely.
compacct27··on AI is about to change how you use computers
The writing is on the wall. It's not right now, but it will be in my lifetime. What are some AI-proof(ish) industries we can jump into after software engineering is drastically reduced?
compacct27··on I Won't Use Next.js
We’re slowly getting back to the “I don’t know who’s right” phase of web framework “innovation”.

I can at least tell that Next.js is winning on growth. More new startups are building with it according to the job boards I’m seeing, esp. compared to Remix and even the other contenders (Vue, Svelte)—-at least in the States.

Kent’s point about Vercel platform lock-in is pretty eye-opening, though. Not able to easily deploy Next.js outside of Vercel? And, it’s a platform ran by a startup? It’s also not profitable?

Um…

compacct27··on Unity Overhauls Controversial Price Hike After Game Developers Revolt
“So are you guys…okay right now?”, but more interviewy
compacct27··on Unity Overhauls Controversial Price Hike After Game Developers Revolt
Thank God, literally interviewing with them tomorrow
compacct27··on So You've Decided to Move from Unity to Unreal Engine
I agree, that course was fantastic. Unreal C++ was way less intimidating after.
compacct27··on California tech transplants unhappy with exodus to Austin, report says
Hard to explain, but in a practical sense, the jobs are half rate in comparison. People don’t want to achieve quite as much. Your best bet for ambition is a remote job from SF or NY.

Not the worst if you value other things!

compacct27··on Ironically, Zoom tells employees to return to office for work
I’ve met plenty of people, currently remote, who suffer in a 100% remote setup, and frankly I care about them way more than the “how dare you put me around people” crowd.
compacct27··on Ironically, Zoom tells employees to return to office for work
Wish my company would do the same.
compacct27··on CommonJS is hurting JavaScript
I can speak to the one listed in the article: "difficult to tree-shake, which can remove unused modules and minimize bundle size."

This is because of a much deeper issue: static analysis is highly complex with the near-free-for-all that is CommonJS require & module.exports syntax. ES Modules is stricter and much easier to statically deal with.

At a high level, why? You can throw just about anything in an exports.module statement, and the syntax to "require" it also has a lot of leeway. You can actually see the code for this in the Node codebase--module resolution is handled in javascript @ /lib/internal/modules/cjs/loader.js vs /lib/internal/modules/esm (heads up, both approaches are a Lot to grok)

Understand that with the CJS approach, you can dynamically export modules at runtime under whatever name you wish, with whatever value you want, which may even include dynamic require statements themselves. Nightmare for static analysis.

It makes a lot more sense if you try it for yourself. Build a module resolution algorithm including: determining all the imports, all the files those imports are from, mixing with 3rd party and local imports, and building that chain recursively.

You can do it, but the edge cases surrounding CommonJS make it super difficult. I'd go so far as to say it's basically impossible to get 100% success in all the desired scenarios without directly invoking the code.

compacct27··on Ask HN: What are some educational resources for more senior engineers?
Hey, it's been worth my money. If you're down to shell out some of your engineering salary for it, I've gotten a lot out of it. It's not like you're sending the money to me.

I can buy cheap courses off Udemy, I can read books on my own time (not tons of it these days), or I can pay someone super effing knowledgable to teach me. This guy's super knowledgeable, I stand by my downvoted post

compacct27··on Ask HN: What are some educational resources for more senior engineers?
I’ve been an engineer for 9 years and I’ve never seen my technical skill set level up like it has going through this course: https://mirdin.com/the-advanced-software-design-course/
compacct27··on Prediction: Semantic search (boring) ends up bigger than generative AI (cool)
What! I’ve never been so lucky on HackerNews. Signed up for the conference too, albeit online only.
compacct27··on Prediction: Semantic search (boring) ends up bigger than generative AI (cool)
Bought the book, thanks! Dying to learn more here, just did a semantic search project and I have more questions than it answered.
compacct27··on Surprise computer science proof in combinatorics
True, but we wouldn't be discussing this without the journalism in the first place
compacct27··on Ask HN: More magazines like Quanta and Noema?
Sky and Telescope is fantastic for hobbyist astronomy with only a slightly less scientific bend than Quanta
compacct27··on Bloom's 2 sigma problem
I’ve been coding UI’s for over 8 years now, and I love ed tech adjacent projects like this. Wanna team up on making the UI?
compacct27··on Disassembling Rewind.ai
HA, ya know what? til your comment I was like "well clearly they wouldn't just make that super easy through the kindle web app", and then after exploring what that would take, uhh. It's super freaking easy.

Thanks for the gut check.

compacct27··on Disassembling Rewind.ai
That was fantastic. Now I think I can finally extract text from all my ebooks so they’re more useful
compacct27··on A different approach to building C++ projects
I agree, it’s so horrible. Passing flags to a compiler for some Byzantine rule just to change lord knows what, but it all works now.

What on earth.

compacct27··on Ask HN: What is your must have browser extension?
Vimium. Navigate the web from your keyboard, love it
compacct27··on I spent two years trying to do what Backstage does for free
Wow, I’m glad I asked. Thanks a ton, looking forward to the blog post!
← PreviousPage 2 of 4Next →