HNHacker News
TopNewBestAskShowJobs

bartaxyz

86 karma · joined June 9, 2018

https://ondrejbarta.com
submissionscomments
bartaxyz··on The Mythical Man-Month in the Age of AI
Only if you can recognize it as the wrong answer. But in a lot of cases, that’s unobvious, unless you have clear requirements.
bartaxyz··on Charlie Kirk killed at event in Utah
You can tell a man that he should work less and focus more on his family to become happier. And it would be a very inoffensive statement.
bartaxyz··on Gemma 3n preview: Mobile-first AI
I guess it's relevant mostly because the general population might use it for that purpose. Having the model do a search instead would be much better.

Wouldn't matter for a tech demo, but once you deploy this on all Android devices, it matters.

bartaxyz··on Ask HN: Is there any software you only made for your own use but nobody else?
The two that I still actively use

- Danish Swimming Water Quality App[1]: Native app for my iPhone that I use to check the water quality. The official one wasn't working for me, too slow and too buggy. Ultimately, it's just a JSON of public data spread on the map, very simple. - Artwork Framer[2]: Script using Blender that converts .png into a framed 3D model. You can even adjust the frame if you want and then export it as a model to be used in VR (works even in Apple Vision)

[1] https://github.com/bartaxyz/denmark-swimming [2] https://github.com/bartaxyz/artwork-framer

bartaxyz··on Ask HN: How to have impact as engineering manager to a senior engineering team?
I signed up for it, and I'm not expected to code anymore (I only do so in my free time nowadays - which actually made it even more fun!). But my company expects the engineering managers to be basically at the same level as senior/staff engineers when it comes to experience & knowledge. Part of my work is coaching people, which now I cannot really do in many ways.

But I'm on a good end anyways, since I have a team of people that I know I can trust with things. So I'm here mostly to find out what would be the best way for me to approach this. Thanks for all the advice!

bartaxyz··on Ask HN: How to have impact as engineering manager to a senior engineering team?
Very blunt, I appreciate that. Though, engineering leadership is certainly different than other types of leadership. Managing through example was my current way of working. I'd be collaborating with engineers, and try to coach them when I could, or sponsor them when I couldn't (provide with either internal or external coaching).

I didn't mention that I'm coding in my initial post, and the reality is that I currently don't code at my job. So while I appreciate your answer, it doesn't really apply to my case, or my question.

bartaxyz··on Ask HN: React Native or Flutter for a new app in 2023?
On the opposite, I find that sharing code across full stack is becoming overrated. The reason I'm saying this is because that often leads to some very messy dependencies, and maintaining that codebase can become really difficult if you're not very careful.

Additionally, I found that in some teams, people would use some backend code on the frontend, resulting in some security vulnerabilities (server-side logic running on FE instead of BE). Instead, now that we have backend (Go) & frontend (TS) teams at my work, both teams consider the best practices for each environment with more focus. You could say that the same people do that with the same stack, but in my experience, if you allow people to put more focus on the one component they're building, they'll just build it better than when they have a plethora of other dependencies to consider.

The main problem could be talent, as if you have specialised people, you always have to hire for both of these positions (or train your people in either direction internally). But I honestly never experienced a shortage of people. It's more of a problem if you have a shortage of money, at which point, you should just use whatever you can build with the quickest to keep your business afloat.

bartaxyz··on Ask HN: React Native or Flutter for a new app in 2023?
With Swift UI & Jetpack Compose, I found it really easy to make a jump from React to either platform. The mental model is pretty similar to React in both. Sure, Android is still a lot of boilerplate (in my opinion), but Kotlin & Swift are also relatively easy to get into, especially if you happen to have some OOP experience.
bartaxyz··on The truth about CSS selector performance
There really should be a way to tell browsers up front about these things like changing box model for all elements, so that it's not forced to apply it for each element on the page one by one.

While I'm sure there are many optimisations already in place, at least we could avoid this anti-pattern that everybody's doing on web these days.

bartaxyz··on How I write React after 8 years
That's why you can use fixed library versions to make sure nothing changes. If you need to update something in the library, you can apply a patch and keep going.
bartaxyz··on Ask HN: Is it possible to get an 18-year-old to spend less time on the computer?
> And this might mean asking to play video games with them.

I double this. It breaks so many barriers to just embrace the hobby and go along with it. Once the barriers are down, you'll get to know the person behind that face much much better.

bartaxyz··on Take my app ideas
I've started building something like the last idea. I call it very simply Daily Tasks[0]. It's by no means finished yet, but it does feel good to have an idea validated by reading about it from this blog post.

[0] https://ondrejbarta.com/pet-projects/daily-tasks

bartaxyz··on Why Web3 won't make the world more equal
That I see as a likely outcome. Though companies may still offer an option to have a secured wallet (non-custody) for longer term storage of value. There aren't many but there are a couple of options like that out there where you give custody of the funds where you want ease of use or automation (trading, savings plans, etc.) and then have non-custody as part of the same service where you store whatever you don't want to give the custody of.
bartaxyz··on Why Web3 won't make the world more equal
I pretty much second that this is one of the biggest flaws. I'm often assured by people invested in web3 that this is a problem that's going to be solved soon by the flood of designers entering the space, but my doubt is growing with each passing day. It seems more likely that this flaw in the system is going to persist for many years to come and very sadly, many people are going to lose a lot of money through it.
bartaxyz··on Ask HN: Are Web3 and DApps the Future?
Yea, for a senior person it's possible to quickly transition into something like this from my experience. Furthermore, there's still loads of web2 type of development that needs to be done around the web3 part. That's where it's useful to know how the space works, but not strictly required for a lot of things.
bartaxyz··on Flutter is the most popular cross-platform mobile SDK
In the React Native app I'm working on, I actually noticed this gesture on an iOS simulator (I didn't know about it before) and it worked well. React Native uses native components to render the UI, but it uses JS for the logic of what and where should it put the native components. I think this might be an issue in Flutter though.
bartaxyz··on Flutter is the most popular cross-platform mobile SDK
I develop with React Native in my day job and I'm observing all the UI changes that are happening in the systems. So far there aren't many problems with the differences, for example in the alpha version of Android 12, Google introduced a sparkly ripple effect (they eventually removed it again). But this change was automatically propagated to all our interactive components of our React Native app, no changes to our codebase necessary. And this is the case for many other changes, since React Native uses actual native elements.
bartaxyz··on Flutter is the most popular cross-platform mobile SDK
And many React Native questions are going to be the same as React questions. Generally if I have a question about some React behaviour, I wouldn't mention React Native since I'd want wider audience for answering my React question.
bartaxyz··on United States Pirate Party
The beauty of this solution is that you are free to fight in other states for legislation. Instead of it being imposed to the states by the federal government even though the local population might not agree.
bartaxyz··on Use spacer components instead of CSS margins (2020)
There's a use-case for more than a single approach. Margins and also collapsible margins are tremendously useful. In case of text of an article for example, where space changes based on other elements on the page (e. g. larger space above headings - the linked article also uses them).

In addition, if there's also CSS for `:first-child` that removes the leading margin and `:last-child` that removes the trailing, you can easily wrap them inside another component to remove the margins (or introduce a property to collapse them if you prefer). Of course, this is a bit more advanced and needs to be included in the documentation.

bartaxyz··on What Problem Blockchains Solve
It solves the double spending problem in a decentralised network. Whether that has an application is another question.
bartaxyz··on Vibration API
In Chrome, there's already a toolbar displaying that you can install the website as PWA. In addition, a lot of websites already try to stop you from using the web in favour of using the app (e. g. Reddit). So, I don't see this as a new annoyance.
bartaxyz··on Bitcoin Creator Satoshi Nakamoto Could Be Unmasked at 64B Florida Trial
I sincerely hope that we'll never know Satoshi Nakamoto true identity. It's been so freeing for the Bitcoin community to not have this sort of real figure, but mostly an idea of one. It doesn't tweet, it doesn't have good and/or bad takes. It doesn't have a face you could like or dislike. To me, and many others, it's neutral.
bartaxyz··on How Notion pulled itself back from the brink of failure (2019)
Neat!
bartaxyz··on How Notion pulled itself back from the brink of failure (2019)
From the look of the code of their website and the fact that they have 'isReactNative' variable declared, I believe they're using react-native even for their website. Which would make it single frontend codebase for all of their platforms.
bartaxyz··on No Design is the Best Design
I don't believe there's such a thing as "no design" design. It makes very little sense to me. There can be design with very simple and efficient flow but each individual interaction can (and probably should) be engineered.

E. g. where exactly to display the text, what should be the copy, how does the text input behave, where is it positioned and how does it all handle potential error, loading or any other state. To define all of these things and more is to design. Simple-looking visuals don't necessarily mean a lack of design.

bartaxyz··on Ask HN: Do you create music? let's hear it
I started producing chill lo-fi some time ago just for fun. And since the people around me liked it, I drew cover art for them, created videos out of it and published on youtube.

https://www.youtube.com/watch?v=CB-o9B7uoKc https://www.youtube.com/watch?v=2B01AwrdBPU

bartaxyz··on Twitter says it 'inadvertently' limited engagements on Trump's flagged tweets
The criticism above is a criticism of how Twitter is handling situation, not how the government should handle it. Just because they're free to do so doesn't mean that it can't be criticised.
bartaxyz··on Ask HN: Why isn’t finance a part of the core curriculum at schools?
It was Písek. Waaay smaller than Brno.
bartaxyz··on Ask HN: Why isn’t finance a part of the core curriculum at schools?
I and my peers were mostly freelancing within our software engineering field (for the most part websites & some native development). At some occasions I got to work with hardware but that was rather an exception.

At our class we had pre-defined businesses at first to learn how to file the tax returns. But for a long term project we could think of one on our own. The task wasn't to come up with a business plan though so nobody really had a groundbreaking ideas. We could just pick something like a bakery, research initial investment and go from there.

We could also build a tech project in our last year of school to be excused from part of the graduation exam. We just had to pitch it and present it instead of the exam (we also had to provide code and/or tech documentation). Though we didn't need a business plan for that either. But it was obviously better for the grade if the project had at least a basic business plan.

Page 1 of 2Next →