Better HN
topnewbestaskshowjobs
Log inSign up

codeptualize

1,689 karma · joined Mar 3, 2021 (5y ago) · 450 submissions

Twitter: @codeptualize Email: codeptualize[at]pm.me
Submissions

comment 4y ago · link · parent

What works for me is to assume there is always an explanation, then go look for it.

Could be anything from an actual good reason to do it this way, or some other factors like cost, or maybe even just lack of time, or the best of multiple bad options.

Postpone judgement until you have a good understanding. You could still come to the same conclusion but it will likely be much more nuanced.

Basically empathize with whoever build it or was involved.

Also design/build stuff yourself, do user testing and get feedback; it’s humbling haha.

comment 5y ago · link · parent

It's not visible in the screenshots of the article but I'm pretty sure that's because in mail app there can be nested folders, so they need to leave spacing for the expand/collapse caret icon.

comment 5y ago · link · parent

Very much agree. They make the nasty bits so much nicer. First we had mixins, then HOC's, and now finally actual reusable+composable component logic with hooks.

comment 5y ago · link · parent

Just guessing here, but it's probably different teams, with different priorities etc.

Search desktop decides to do dark mode, for mobile it's probably still in the works or on a roadmap somewhere.

My experience in big companies is that features are prioritized over improvements by business people.

You might be able to get something done in your team, but getting other teams to do anything is a huge struggle (not only UX, generally).

Not because they are bad or anything, just because they have a giant roadmap of all very high prio things, and no time to deal with dark mode [or whatever you need]. That's why changing branding or even basic consistency is incredibly difficult to achieve.

Anyway, just my guess, could be something totally different of course haha.

comment 5y ago · link · parent

Recently started using it and so far it's been great. It's the good parts of Cypress without the weirdness.

comment 5y ago · link · parent

First of all congrats on the $1m ARR!

Does sound familiar, even with less than 20 people..

I think a product manager like person might help in this situation. Basically someone (on your team/or new hire) that understands both business and tech and has enough buy-in and trust from everyone to facilitate the communication between the silos and get everyone on the same page.

Besides managing, filtering, and pushing back on feature requests, they can create a solid product strategy so everyone can focus on achieving the same goals instead of just building features.

It's not perse a position of wielding power, more negotiating, balancing objectives and finding ways to keep things moving in the right direction.

But yeah, it's hard, scaling software development is not easy. But well, as long as you keep trying things you will find ways forward. Good luck!

comment 5y ago · link · parent

Might be my machine or whatever but Figma is significantly more pleasant to work with for me. Sketch is just "sticky" to the point that I really hate to use it.

Btw you can import Sketch files in Figma, so you can quite easily compare the two.

As a side note: I also really like the Figma design, auto layout is a game changer imo, component variants are also very nicely done. For UI it's really good, makes me very productive.

(For graphics I do still prefer Affinity Designer)

comment 5y ago · link · parent

100% agree!

I was kinda surprised by this performance focused update, I have not had any performance issues whatsoever, even in big documents.

For this reason I can not use Sketch. It's just painfully slow compared to Designer (and Figma). When everything is "sticky" it really messes with my productivity.

comment 5y ago · link · parent

I second that. Recently I had to use Adobe Indesign for a bit and I was honestly shocked.

comment 5y ago · link · parent

I do also wonder about that. I think so far maybe they have enough revenue from the different apps they have created (Publisher/iPad apps). So far.. I have bought all haha.

But even then it's not that much.

Before I thought they might still be coasting on their old products, but afaik they discontinued those.

431.

Affinity 1.10(affinity.serif.com ↗)

215 points · by codeptualize · 5y ago · 132 comments

comment 5y ago · link · parent

Wow! That's really awesome. I really appreciate his passion for his art, if it's music, upholstery or else. The way he is driven by an inner desire to create, the minimalism, the constraints he puts on himself to maximise his creativity and output. Truly inspirational.

If people have not seen it, I highly recommend the interview with Conan https://www.youtube.com/watch?v=AJgY9FtDLbs

comment 5y ago · link · parent

Yes, I love it!

comment 5y ago · link · parent

1

comment 5y ago · link · parent

Afaik twitter uses (some form of) react-native-web.

So I guess it's because: https://github.com/necolas/react-native-web/pull/556

Basically some browsers don't support display flex on certain elements like button, using a div instead of a button solves that issue.

Generally: I would suggest to use a button tag unless you run into issues (and know what you are doing).

I don't think using `<div role="button">` is perse worse as long as you implement all the behaviour and styling of the button element like focus, keyboard events and similar.

For juniors, buttons should be taught as the way to go, as with many things in web it's about understanding the pros and cons and knowing why you do something or not. If you don't have a lot of experience, stay away from reimplementing the button tag.

comment 5y ago · link · parent

What helps me is to think: Ok, I screwed up, now let's take charge, figure out what exactly went wrong, and find out how to prevent it from happening again.

I would write a document stating exactly what went wrong, based on that suggest measures and changes to prevent this from happening again in the future. Be brutally honest, but refrain from playing the blame game, do include your own mistakes, be as objective and fair as possible.

You could also see if you can salvage your project in anyway and suggest how to move forward. Usability issues can be solved, technical choices can be changed.

For either option there should be broad support. If not it might give you more insight in the "politicking" that's going on.

Also realize that people make mistakes, nobody is perfect. The best you can do is learn and move on. Beating yourself up over it won't help you in any way. Don't be mean to yourself, be honest but in a kind and empathic manner.

Anyway, it sucks, especially with politics involved, hope you can move on from it. Good luck!

comment 5y ago · link · parent

I think this is still true for the users of the drugs.

Things like free and anonymous drug testing mean you can actually know what you are taking and that it's safe. There is also quite decent drug education; people generally know to stay away from heroin, meth and other highly addictive substances. If you do get addicted there is decent addiction treatment (afaik covered by health insurance).

The problem is that the production and selling is pretty much fully illegal creating this massive illegal market causing all sorts of problems. The drug usage is less of a problem than the crime caused by the illegality of drugs.

I don't think stricter laws would solve anything as people will take drugs anyway, it will only drive the prices up, basically funding crime. I think legalization is the way to go. If you look at countries like Portugal and the US legalization/decriminalization is a viable option.

The Netherlands might still be a good example: on how lax policies increase safety for users and at the same time how too strict policies create tons of problems and crime.

comment 5y ago · link · parent

Only when having to write code manually do I fully appreciate the awesomeness of autocomplete.

comment 5y ago · link · parent

This is so on point. People do things to make themselves look good without care for the product, user, or even company success sometimes.

I still find it puzzling that a bunch of people without actual product nor technical knowledge and experience dictate how products get build and evolve. Ego driven development.

comment 5y ago · link · parent

My point is that there is a place for technology that is not-mainstream and that there are plenty of (successful) projects build on things that are not mainstream.

In my opinion "mainstream" is not a good factor to select technology on. The factors you mention can be important, but then select based on those not on "mainstream" or not. If you need longevity, pick something based on that, if you need tons of resources, select on that, but not a lot of projects need to live 20 years, and plenty of people prefer well written docs over an abundance in stack overflow answers.

Also mainstream does not mean longevity. Take for example Python 2->3, that was quite stressful to say the least. Plenty of once mainstream languages and technologies are dead or slowly dying, it's very hard to predict.

Continuing on the longevity point, it might be good to note Erlang/BEAM — that Elixer runs on — is older than most languages you mention, still actively used, maintained and developed. So I could very well argue Elixir/Erlang is as safe a bet as any of them.

Lastly I don't think it's true that Elixir is niche enough that this should be a discussion point at all. If you have giant companies running and backing Elixir/Erlang, it's pretty safe to say its battle tested enough and will be around long enough for a lot if not most projects.

Mainstream isn't everything, I wouldn't overestimate it, there are better ways to choose technologies.

comment 5y ago · link · parent

I prefer to not give exact estimates whenever possible as the unknowns will ruin your estimate anyway.

If necessary I prefer to get very clear what is needed to [make that sale/give that demo/whatever they need] and give a very conservative range with a bunch of caveats. The more flexible the requirements and timeline the better. It means with a bit of luck you can deliver early and/or throw in some bonus stuff at the end.

If you are inevitably going to miss a deadline, discuss it as early as possible and discuss how to proceed, where to focus etc. You can often reduce the scope, cut more corners, move the deadline, find more resources, or do damage control. Whatever is necessary.

That's why I don't think (accurate) estimates matter too much, it's more about communication, managing expectations, and being flexible enough to adapt along the way.

comment 5y ago · link · parent

I find it strange how always the "mainstream" and "not popular enough " arguments comes up in any Elixir related post.

Does tech have to be "mainstream" to use it? I would say it doesn't.

Take Erlang, or OCaml, or F#, I wouldn't call those mainstream but they are great languages that solve real problems, and people using them seems generally very positive about them.

All you need is enough popularity and enough companies using and backing it for it to be maintained. I think Elixir has this.

Can't speak to the hiring situation but I wonder how problematic it can be given all the stories of how easy it is to onboard people and plenty of posts and comments of devs wanting to do Elixir. Even if, it depends on your situation, you don't always need a big workforce to do big things, see Whatsapp for example.

comment 5y ago · link · parent

The article is very nice, some great advice, and like others said it's not just relevant to Django.

One part I don't agree with is about frontend. Frameworks have stabilised quite a bit, pick React or Angular and you can expect support for years to come. I still maintain a 5+ year old React frontend with lots of logic, updating hasn't been an issue at all (codemods), since we moved it to CRA it has been even easier.

Things like formatting dates: you can wrap it in your own function then it takes a few minutes to swap the library, but you likely won't have to change it if you follow the tips in this article about dependencies, which are very good!

Anyway, great article, very good advice. I think it does a good job of explaining that you should think about why you do things and focus on what matters and makes a difference.

comment 5y ago · link · parent

Isn't "I was working on side projects" a decent explanation?

You could even put them on your CV and close the gap, work is work. Being able to show you can build something on your own is a big + in many ways.

Developers are in demand, so it would not surprise me if a gap doesn't matter in any way.

Maybe just try to apply to something. Even if you don't get hired it might give you some pointers what you need to focus on to get back to it.

comment 5y ago · link · parent

I was thinking the same. Maybe it's because Figma imports Sketch files quite well.

I've done it before with the Apple Sketch files, did not have any issue.

comment 5y ago · link · parent

Exciting! Let the cross platform games begin! (or continue..)

comment 5y ago · link · parent

Few arguments for JS: - It has beaten quite a few contenders on the web: Java applets, Flash, Silverlight

- It's not owned by a single company who can kill it

- It has evolved (a lot) over time while maintaining backward compatibility

- It has caught up with compile to JS languages that gained traction (coffee script)

- It has only gained traction over time (now it's on the server, it's on mobile, it's everywhere)

- It might not be as old as C, but it's quite old

- Typescript, the most popular compile to JS language atm only adds types, the big claim is "All valid JavaScript code is also TypeScript code." so can we really claim it's not JS?

- There is a huge amount of code in JS, many apps and a big percentage of website run on JS. It will take decades to move all of that to something else, meaning support will exist even if something else comes along.

- Everyone has been hating on it for two decades and it's still going strong haha.

Frameworks and libraries will change, (build) tools will change, JS will evolve, compile to JS languages will change, new languages will pop up, but JS will not go anywhere for a long long time.

comment 5y ago · link · parent

Congrats on recognising your addiction and acting on it! That ain't easy.

You can just uninstall it, or use Screen Time to limit usage (see https://setapp.com/how-to/block-websites-on-mac), but realistically: you can always reinstall, or disable it.

Just to mention: Maybe consider getting help, getting rid of an addiction isn't easy and there are many professionals who can help you with that.

Lots of respect for taking it on, and good luck in overcoming it!

comment 5y ago · link · parent

I still miss Google Inbox, such a great product. They just killed it for no good reason. Really sad.

comment 5y ago · link · parent

Haven't used NativeScript, also see no reason to try it. How is that even going to work? Have docs/examples/q&a for idk how many frameworks?

I'm still betting on React Native for cross platform development.

It's productive, decently stable, well documented and very good web support with React Native Web. Updating stuff can be incredibly painful, but that's just a couple of days of suffering every now and then. If Microsoft continues React Native Windows & Mac OS it will be quite cool.

Flutter is a very interesting idea and I hope it will become a decent option for the native side of things, but the web story... reminds me a bit of Flash: very easy to build "cool" stuff but with tons of issues. Also not sure about Dart and I don't really trust Google to keep supporting it. I also feel there is a gap between the marketing and the current reality. Let's see, if they manage to fix the web and other issues it could be really awesome.

1
1112131415