Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

Same, I really prefer the design on the left. Easier to see things, and it makes you feel you can click on elements.


> it makes you feel you can click on elements

This is not intrinsic to the design, just a force of habit. The design on the right looks perfectly clickable to me.


I usually champion the "let's start with the UI" state of mind in every company I go.

This has several benefits:

- it forces to confront reality of the problem and field

- you have to talk to people, and understand their needs

- you almost get your backend public API out of it for free

After that, you don't really need to do full top down, you can split in subsystems, and works on small parts of those subsystems.

It doesn't have to be a good looking or sophisticated UI. It can be a ugly, as long as it's practical and validated by the end user.

But this works only well the if the problem can be well defined and you know how to solve it.

If you need to figure it out, top down doesn't work as well.


A downside to this is that some types of stakeholders lament the apparent glacial state of progress backfilling a UI with functionality.

A tick/tock of UI/functionality keeps those people from getting depressed during demo meetings.


If you have demo meetings that matter, you likely have a designer, in that case the UI won't be ugly.


Demo meetings that matter, now that's an anti-pattern if I've ever heard one. Only UI work makes for a snazzy demo, anything else will bore stakeholders to tears (and you of course need stakeholders if the meeting matters). The backend can be completely mocked out and stakeholders wouldn't even realize. All demos do is bely progress and make milestones seem closer or farther away than reality. The only "demo" that matters is the actual product launch.


demo meeting matters for several things:

- reassuring the people that pay the bill

- get PR feedback

- give a concrete objective with a deadline to the team

But like a lot of things, it's not useful for what most people think it's useful.


All of those things can be done through other mechanisms without distracting engineers with a dog and pony show.


I have always had great success when systems are designed from the UI first. It really helps you break a new business case down to the point where the backend code just starts writing itself.

I suspect you are coming from a design background because people who have never built a UI before are always very suspicious of this suggestion.


I don't come from a design background but my father drilled into my skull that nobody cared about my beautiful skills at work. They cared about their problems and if I could solve them.

Coding just happen to be a mean to solve their problems, but they don't understand code, and I don't understand their problem.

After a lot of frustrating client/dev interactions, I came to read "don't make me think" from Steve Krug. I realized the UI was the only language I shared with my customers to start a meaningful discussion.

This turned out to work well, and got me paid, so I sticked to it.


This is how I start with libraries. How do I want to use it, and start with some code that will eventually compile. It acts as an integration test too. But this starts to expose issues earlier with my understanding. Then if the interface doesn't work, it's easier to fix earlier.


I know it's passe, but I generally like to start with a set of requirements first. In the old days, when we were doing XP instead of agile, we didn't feel the pressure to "code something, anything." Now, unless I check in a couple thousand lines of code per day people think I'm slacking.

But... not trying to say "build the UI first" is a bad choice if it works for you. I do mostly backend work on "high trust" transactions, so I tend to look at the API first and see if it matches the requirements i have at the time.


A good many times the customer doesn't spot important issues until they see it in a UI, preferably interactive. The design process is done best with a combination of formal written requirements and mockups/demos.


For some applications, like an API-driven backend made to serve other applications, you can consider that the API itself really is your UI. It's how your users interface to your code. Your users just happen to be other developers whose code had it's own UI too, maybe a text or graphical one or maybe another API.


Good point. I was interpreting "UI" as "GUI".


Exactly. A web api, a CLI... It doesn't have to be graphical.


XP as I remember it was about implementing one customer-relevant feature at a time. This isn’t too-down or bottom-up, it’s doing a thin vertical slice. There shouldn’t be code that isn’t used or buttons that don’t work.

We did work from a designer’s mockup, though.


I don't think that's XP.


Trouble is, how do you get this set of requirements?

The UI is the answer to that.


The UI [GUI, API, CLI, etc] is a statement in the "solution domain." By "requirements," I mean a problem statement.

"A form with three text inputs labeled street, state and zip" is solution while "the system should allow the user to specify an address" is a problem statement. (And ideally it should be more detailed with respect to its context: "The system should allow a user to specify an address associated with a delivery record, associated with the user's id.")


The problem is generally poorly perceived and expressed by the client, and badly understood by the dev.

So the UI is the best road to build one in collaboration with the client.


I coach Product Owners the same way when trying to create a backlog.


Same.

Most of my readers come from HN, reddit or substack itself. Now it's mostly Python so it makes sense a tech oriented medias will be reading more about it.

Still, the ban on substack by twitter means that, while a #python tweet gets some view, the same with an article to substack tanks bit time.


I'm curious how you're dealing with Reddit: some of the mods don't even respond to a direct message; they just say "read the guidelines." And then their auto-mod deletes your post.


I have a very old account that has been mostly posting quality content. I also take great care of writing content that I wish I would I read myself.

So when I post it, it's congruent.

Basically, either you find a way to cheat, or you climb the ladder. I'm terrible at cheating.


If you post the entirety of the content to Reddit itself and just leave the link in your profile, you can often get away with it


I follow mostly techies, very few went to mastodon, and among them were none of the ones I cared about.

Seems like the people doing the most things in my field have no time for drama and are busy doing stuff, while the ones that actually accomplish little have the time and energy for this.


Counterpoint: most of the Cloud Native crowd I follow moved to Hachyderm.

> Seems like the people doing the most things in my field have no time for drama and are busy doing stuff,

Standing up for ethics isn't performative drama. I made my exit very quietly because I didn't have time for the drama of a petulant tyrant. I care that the tech I consume is open source or at the very least is guided by some principal of any good kind.


Sure.

People spent months and a tremendous amount of energy discussing the state of a site that is a glorified animated wall of text, but it's not drama.

Sometimes I wish I could teleport this community to were I lived in Mali and force you to stay there for 6 months to re-calibrate your sense of what's important.


Most people didn't. Some small group of people spent tremendous amount of energy. I think both of you agree on that point.


Same thing with iOS devs, everyone I followed on Twitter is now on Mastodon.


Most of the Python developers I followed are on Mastodon. "Techies" has lots of sub-cultures, so it could be C# or React developers are stuck on Twitter, for example, so if you are in those groups it might seem nobody has left.


IANAL but I would expect you can only be held reponsible for a product if you say it fits a particular purpose.

But the python licence explicitly says:

PSF is making Python 3.11.3 available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 3.11.3 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.

So it's not sold to you, and not distributed with any implied level of quality or guaranted service.


> I would expect you can only be held reponsible for a product if you say it fits a particular purpose.

That is an incorrect expectation. Even in the American legal system "I said don't do that" is not a shield against liability. In the EU framework a new law can pretty much create any new liability they want, so a disclaimer absolutely could be rendered meaningless.


It's not "I said don't do that", but rather "I got a thing, but can't advice for any use case".

If you sell rope with no label for anything whatsoever, and people use it to do rock climbing and die, I doubt you will lose in court.

Yet again, IANAL at all.


If you sell a noose and say it's for lassoing, you will still be held liable if someone hangs themselves.


> Even in the American legal system "I said don't do that" is not a shield against liability.

Also IANAL. As someone offering open source software for free, what shields you against liability in the American system?


Nothing. You can be sued for anything no matter the disclaimer.


Do you know of a precedent of such a court case being decided against the author of free and open source software?


This is a resubmission from yesterday. I just realized the previous title made is sound like a complain about the python installation process, why may deter people from reading it since it looked like the usual noise.

It's not.

The article is a detailed explanation of why we are in this situation, what can be done about it and what is being done about it.


If it's one more man-week of pain a year, but the spanner solution add a additional cost that is 10 times that, there is an incentive for the employer to keep the painful solution.

That and lock in, open source ecosystem and so on.

It's not a black and white situation.


I and all my friends prepared for this winter.

Personally I put a heater literally next to my office char, with a cover on top of it and me. This means I could work all day feeling warm without heating the whole flat.

So yes, we did cut energy consumption.

The PR around this was much better than the one around covid, one consistent clear message for month prior the event.

Turns out when the government does its job, people are not that dumb.


I really hope that one day CUELANG will catch on to generate and validate JSON.

The current state of JSON generation/validation is simpler than the XML ecosystem, but a bit hackish.

We can have a much better stack.


I usually can grab a few things from tone alone for a lot of languages.

But I got a new greek buddy recently, and when she talks on the phone, my ears cannot lock on anything.

Edit: completely unrelated, but I saw your username on lobster on a dead man switch thread (I use Shamir’s Secret for treasure hunts to I thought the DMS idea was cool). Do you happen to have invites? I started to write again, and wanted to post something but I don't have any account.


Yeah, it's so far from other languages that you probably can't make out any of the words at all.

I think I have some invites, can you email me about it?


Just did.

Cheers.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: