HNHacker News
TopNewBestAskShowJobs

mrozbarry

366 karma · joined May 22, 2018

submissionscomments
mrozbarry··on Show HN: PC Builder AI
To continue this idea (feel free to steal this), what if this tool looked more like this: https://play.tailwindcss.com/KqFF5wqk5I

Have a conversation with the AI about the PC you want, and challenge it on things like "can I see the equivalent PC but with AMD instead of Intel" and things like that. I think that would have extremely good value. And for prices, you might be better off scraping amazon (or whatever site makes the most sense), instead of whatever stale data you have. Prices for PC parts fluctuate so much that I don't know that it make sense to try and store/cache it locally.

mrozbarry··on Show HN: PC Builder AI
I don't disagree, but from what I see, it could be executed faster with just a good database query. It's not clear what is AI about this, or what benefit AI actually gives it as a tool.
mrozbarry··on Show HN: PC Builder AI
What part of this needs ai? This looks like it could be done with a database and a price list. I think this suggestion is already said, but the main push of "ai" is mostly in terms of natural language processing, so why not allow a prompt? Give a default prompt like "I'd like to build a gaming pc with a budget of $1000." You could even make it a fill in the blank like "I'd like to build a _______ pc with ___special features____ for a budget of $____." The thing about it's current iteration is regardless of there being "ai" in it, it's not clear what it's doing that's more special than me asking a pc building community for a parts list with a budget.
mrozbarry··on Htmx is better than ReactJS
Here's my summary of this article for those who are interested in this:

- Author, who is a rails backend developer, got a job where they used rails as a back-end, and react for front-end

- The author has strong backend skills, and strong html skills, but actively avoids javascript, and hates React

- Author tried to learn react for a year, but wasn't successful.

I think this quote sums it up properly:

> ReactJS takes this dirty imperfect, embarrassing JavaScript and makes it more dirty, imperfect and embarrassing. It’s a struggle for anyone who wants to write clean code to come to terms with the messiness of React.

This reads a lot more like a pity-party than a critique of any library or framework. I think during interviews, being a lot more honest about shortcomings can really help you understand if you're going to be doing the job you want to do. The author could have been really up front with "I like Rails, I like what it comes with, but I don't like javascript." Especially in today's web tech stacks, I think mentioning where you stand with javascript is pretty important. Most of the web contracts I have want some fancy javascript somewhere.

mrozbarry··on Vanilla-FP: A no-framework framework for component-based purely-functional UIs
Neat proof of concept. I think what you'd want to do is have some form of dom vs component diffing, and traverse the old dom and only create new elements if you find a node type mismatch.

Consider this, you have a slider input, and oninput, you update the state, which creates a new slider input, which causes your mouse drag to get invalidated.

Another consideration - a textarea where you update state each keystroke; will that reset the cursor or have unintended consequences?

mrozbarry··on The core problem with hamburger menus
My only real gripe with hamburgers is inconsistent implementations with various "works on browser X and Y, but not Z." On top of that, not many (or no one?) has take advantage of publishing web components that aren't framework-dependent, so not only are there inconsistent implementations of hamburgers, some implementations require managing multiple js/css frameworks.
mrozbarry··on Twitter claims dead celebs are subscribing to Blue from beyond the grave
I'm not convinced this is tasteless - dead celebrities may still have people that manage their affairs and accounts, and they could have subscribed. I know that doesn't cover all cases, but I think the journalism of this article is at least poor and doesn't consider all cases.
mrozbarry··on Twitter claims dead celebs are subscribing to Blue from beyond the grave
Is that a "real" problem, though? Like does that blue checkmark actually change how you use twitter? Have all the historic "verified" accounts become invalidated and fake based on the blue checkmark being tied to the account?
mrozbarry··on Twitter claims dead celebs are subscribing to Blue from beyond the grave
I'm not confident about the entire statement you're making. Paying $8 does not equate to agreeing with Elon or what side of politics you sit, paying $8 only equates to whether or not you want a blue "verified" checkmark.

I really hate this culture of "cancel person X" and if you use anything "person X" has made, your a racist/bigot/whatever.

This whole blue check politic statement you are making is a strawman.

mrozbarry··on Twitter claims dead celebs are subscribing to Blue from beyond the grave
Regardless of your opinion on Elon, I don't see the issue. I'd even argue that re-adding the checkmark to dead celebrates is actually respectful, since they are unable to subscribe but they are official accounts who historically were "verified."
mrozbarry··on Why we added package.json support to Deno
Well, you wouldn't need to for every package, it really depends on what you're bringing in and what dependencies they have. I do see your point, though.
mrozbarry··on Why we added package.json support to Deno
One thing I'm curious about is if it's just possible to sort of roll your own package version manager as part of your deno app.

For instance, the current thing, from what I understand, is <code>import foo from 'https://some-cdn/your-library@^1.1.1'</code> and deno loads that in. The problem that adding a package.json solves (also, from my limited understanding) is for cases when you import this library in several places and have different version requirements.

So, why not have something like:

  export const libraries = {
    "some-library": "https://your-cdn/some-library@^1.1.1",
  };
  export const load = (library) => import(libraries[library]);
Wouldn't that mostly solve the problem without just doing what NodeJS does?
mrozbarry··on Show HN: Get advice from a GPT3-based stoic philosopher
I came here to leave this exact comment. A possible counter argument might be that people think computers are much more infallible than people (even if that's not objective reality).
mrozbarry··on De-Extinction? Surely You’re Joking
I think any attempt at "de-extinction" is quite literally a statement of disbelief of evolution. A core tenant (at least from my perspective) of evolution is survival of the fittest. I agree with all the other comments mentioning that the voids that extinct animals left have been filled and their ecosystems have changed, but that is different from their ecosystems being destroyed. Accept change, and move on. Also, humanity has a track record of trying to play god and that not going too well.
mrozbarry··on 1Password Park – St. Thomas Ontario
I grew up about 20min from St Thomas. Neat to see successful software come out of that area. Good job, 1Password team!
mrozbarry··on Cample.js: Reactivity without virtual DOM
Of course you don't need the vdom for testing, but it's typically a little lighter weight since the implementation of the vdom would already be bundled in. That said people typically reach for some special vdom assertion library anyway.
mrozbarry··on Ask HN: What Happened to Elm?
I've developed a few Elm apps, and tried Iced. I liked Iced, but I'm not a proficient rust developer, which really limited what I could do with it.
mrozbarry··on Cample.js: Reactivity without virtual DOM
People like to hate on the VDOM, but here's some food for thought:

- VDOM is data-driven without side-effects

- VDOM does not actually require JSX or build steps

- VDOM decouples you from the real dom, which has allowed things like react-native to "just work" the way react web works.

- VDOM means you can make test assertions without having to load up a "browser-like" environment

- JSON is a pretty easy to reason-about data structure, which makes debugging fairly easy

I'm not saying the virtual dom is the best answer, but I guess my point is that it's not really an issue of speed any more. If I recall my internet history, React came at a time when browser DOM standardization was still pretty wonky, so the virtual dom did provide a boost in manipulating the data that would translate to DOM mutations. Now that we're basically all running Chrome or Firefox under the hood (give or take webkit safari), I'm not sure that's the main drive any more, but the other benefits still stand, and that's why things like react are still using the virtual dom.

Anyway, cool library. I'm curious if it provides something that is actually different from other libraries I've used, in terms of interface or flow, and I might find some time to check it out soon. Good job!

mrozbarry··on AI Generated Seinfeld banned on Twitch for transphobic jokes
I want to be clear, I'm not saying being trans is or is not an ideology in and of itself, but that doesn't mean there are no ideologies that revolve around it.
mrozbarry··on AI Generated Seinfeld banned on Twitch for transphobic jokes
I think this is a perfect summation of the issue. Not allowing public discourse will always result in entrenche, extreme, and polarizing views.
mrozbarry··on Pakistani gov degrades Wikipedia connections due to blasphemy
Not Jewish, but that is indeed the Jewish tradition. The intention is respect/reverence.
mrozbarry··on Untraceable 3D-printed guns on the rise in Canada
I think some people have already hit the nail on the head, but I wanted to chime in with a few thoughts.

There have been several news stories spun to make it seem like Canada needs more gun control. I don't know if that actually solves anything, it just forces the sales of weapons underground. Canada is already pretty restricted with guns (at least in comparison with the US), with the government wanting more and more restrictions.

The problem is restrictions hurt enthusiasts who go through the proper channels, and force bad actors to use more ingenious/underground methods of obtaining weapons.

This article doesn't even mention how/why the 3d printed firearms were seized, but one thing appears clear, the "100" is actually various smaller police confiscations.

One thing is clear, though; this article's main goal is to promote removing rights of law abiding citizens, both with firearms enthusiasts, and potentially 3d printing enthusiasts.

mrozbarry··on Kids and music lessons: why do many promising players quit early?
As a boy, my parents had me doing royal conservatory piano. The thing is that I really enjoyed piano, but I didn't want to have to do recitals or exams. Once I was old enough to really say no, I quit lessons. I still play, but it's mostly chording. I have always been pretty good at playing by ear, and even when I was in lessons, I did better mimicking the teacher than I did sight-reading.

I still play a bit of piano, but I'm no-where near as good as when I was practicing regularly when I was young. I've also picked up guitar a bit, but I'm just chording there, too.

That said, I play to have fun, to entertain my son, or just to belt out a fun tune.

mrozbarry··on 10x C++ Editor
I think it would be great to have two streams. Purchase a specific X.Y.* version, revision updates for free, and purchase other updates, OR subscribe at a much lower cost monthly to get all updates for any version. Just like JetBrains, if you stop the subscription, you keep what you have.
mrozbarry··on How to sell tickets fairly
This isn't to be argumentative, but life isn't fair. This article discusses how to make buying a Taylor Swift ticket fair, meanwhile there are much larger social issues, like homelessness. I'm not a concert guy, and all the more power to those who do enjoy it, but it's absolutely a luxury to those that want to go.
mrozbarry··on Reconstructing images a person sees via non-invasive brain scans
There is absolutely no way this sort of data would ever hold up in court.
mrozbarry··on Why would anyone need JavaScript generator functions?
I have done something similar, https://github.com/mrozbarry/mob-turnbased-rpg/blob/master/s...
mrozbarry··on Show HN: textshader.com
Well, Firefox absolutely hates the SSL cert and detects this website as dangerous. Was it compromised?
mrozbarry··on Noob trying to land remote job. Any tips from seniors?
This will almost certainly echo what others are suggesting, but here's my recommendations:

1. Have a public portfolio of your projects. It's better to have code examples available, even if they're embarrassing. It's important that a remote job can know what they're getting when they hire you. If you have old vs new projects, mark which ones are newer so a remote hiring team can get a sense of your progress.

2. Be open about your experience level, both in personal projects and professionally. Don't try and puff yourself up, it will make for a very bad experience. That doesn't mean don't make yourself look good, but it means do it as honestly as possible. Remote work can mean you are more on your own with less support, so a company needs to know how much support hiring you actually means.

3. Less about being hired, and more about if you get hired: If possible, have an isolated place in your home where you can work, and only use it for work. When you are there, you are working, and if you're not there, you are not working. It's incredibly important to have a separation between your personal life and work life when you work from home. If you don't have this, your employer, whether intentional or not, will take advantage of you and your time.

4. Ask in your interview what a day at work looks like. Do you have standups? Who do you ask for help? Do you need to work with people in different timezones? How many people will you directly work with? Who is the person that tells you what you should work on?

mrozbarry··on Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Rather Than GTK
I have tried iced for a few things, and was relatively satisfied. Felt very similar to a web-based react. I'm not a rust developer (but I do have C and other low-ish level experience), so there was a bit of a hurdle, but I was able to make things work.

I'm curious how using rust+iced will go for the level of integration in the desktop, and it's at least interesting.

← PreviousPage 2 of 6Next →