Hacker News new | past | comments | ask | show | jobs | submit | farazzz's comments login

I love everything about Godot so much, except for its UI system

It is just so confusing to me and took me over a day to get a simple menu aligned how I wanted

it might just be me not understanding how it works though


Godot’s UI system is easier when you realize that Control-derived nodes are even more granular than even HTML elements. They’re more like Tailwind classes.

Yes, your UI will be a tree of Control nodes 20 levels deep, and that’s fine.

Your root UI node will probably be an HBoxContainer, or VBoxContainer, each of which simply arranges their children horizontally or vertically, respectively. Between those two nodes you can create 90% of UIs you’d want to.


Omg I was confused because the Gist also said “Last active 23 minutes ago” which I thought was the last edited/created time


It’s not the most pretty syntax, but it’s wayyy better than React’s terrible (expression ? … : …) or (expression && …)


react didn't invent that syntax. This is a standard piece of C like syntax that most (but not all) languages with curly braces share. JSX/TSX used in react don't make this choice for you, you can use any javascript syntax which can be used when passing a value (eg in a function invocation, or variable declaration). If you don't like it, you are perfectly free to declare a variable and set its value using a regular if / else block and use it directly from the template.

My point is this is not a syntax decision that React made, but svelte's syntax was (as far as I can tell) a decision.


I mean, yeah, the ternary operator is part of JS syntax. But it WAS React’s choice to not include any alternative way to if/else add an element (there is an if/else but only for the entire component, not just for conditionally adding one element within a component). So indirectly this is React’s syntax decision.


Because React is JS and Svelte isn't


React is JSX*

Nothing preventing them from making an <If condition={…}>…<Else>… component


And this is typically how conditionals work in SolidJS, which also uses JSX but adds extra core components to handle conditionals and iteration. In fairness, this is largely because they can better support the reactivity model that SolidJS uses, but it's a convenient side effect.


Not the person you’re asking, but I’m 22 and personally I just love the pixelated OS aesthetic

I love pixel art, and Windows 95 looks so cute!


We must also not forget the most relevant add-on for the Windows 95 UI: https://en.wikipedia.org/wiki/Blue_screen_of_death#/media/Fi...

BTW, it is quite enjoyable how the linked Wikipedia article illustrates the evolution of BSOD into the polished, polite and careful error screen of current Windows. "We're always getting everything ready for you" vs "Dude, your data is surely gone; maybe get a different job? Error code for your brain: BFF9B3D4".

I still prefer the brutality, though. Like a bucket of cold water.


Yeah, also this:

> Imagine calling someone on the phone, going hello! then putting them on hold.

I literally start every call with “hello” and then I pause to see if they're there…


On the flip side, as an avid Google Maps reviewer they also removed my negative review from a restaurant without any good reason (supposedly the business reported it as being “fake” or something)

It really pissed me off because I wrote a long thoughtful review and mentioned the good aspects of the restaurant too as well as some recommendations, and it’s just completely gone

The worst part is the restaurant is sitting at 4.5 stars despite being quite bad, and the recent low star reviews are all questioning the rating, which is obviously artificial


I've been reading a lot of reports recently about how businesses abuse AirBnb and Google Maps reviews by forcing the companies to remove them on technicalities or by outright lies. I wonder if I should just post any less-than-stellar reviews without any text but with rating only in order to make it harder for them to remove. Thoughts?


I’m at Level 8, how far along are you?


Just curious why you guys do this and for free?


It actually helps people. The only negative thing here is that Google makes money from it.


> It actually helps people. The only negative thing here is that Google makes money from it.

I used to be that naive, then I tried to correct a Places issue on Facebook. I stumbled into this netherworld of similar people being abused with horrible tools continually banging their heads against a wall "to help people," with little or no support from Facebook.

After months of trying, I totally failed at my task, and I vowed never again. These company just abusively exploit people's need to help others for their own profit. If Google/Facebook/etc. wants me to work for them, they can pay me and give me reasonable tools.


Add the info to OpenStreetMaps instead.


> Add the info to OpenStreetMaps instead.

OpenStreetMap didn't have the same error (which was still on Facebook, last I checked). Facebook Places has a buggy duplicate detection system that would frequently merge different places together, including one I specifically cared about. It would suck in any new instances into its merged blackhole. IIRC, a huge portion of the activity in that "netherworld" Facebook group I found was trying to mass-report merge errors to the automated system, which frequently didn't work.

However, OpenStreetMap would have been a very good suggestion for some of the other "netherworld" Facebook group members. Many of them seemed care about making Facebook Places accurate in general, so they'd look for and fix errors far afield from the stuff they actually interacted with.


Yeah I was just commenting in general towards the attitude of wanting to help people. It's wonderful when people have good intentions like that. But people should direct those good intentions on improving open data sets instead of being slave labour for large corporations.


I enjoy taking photos and reviewing food. I used to do it on Zomato, and made some friends through that, but Zomato pulled out of my country and Google Maps is pretty much the only good existing choice


I like to see my numbers get bigger and collect badges.


If that happened recently enough, I would guess that your "long thoughtful review" was confused for a ChatGPT fake.


Goodreads is so bad, but there’s no good book review site alternative (although many good book trackers). I’ve been wishing for a Letterboxd like alternative with good UI and features


Maybe it would be more clear if you specified salary is in exchange for a certain minimum amount of output, then I would kinda agree. But then you also are expected be at work for the remainder of your contractual work hours. So it’s not as easy as saying one or the other is completely true, it’s a mixture of both time and output


I haven’t been at any salaried position:

My contract explicitly states that any week in which I perform any work, I’m to be paid a prorated weekly amount.

Managers do not care what hours I put in if my tickets + other duties are performed — and typically, I managed to get away with 35-37 hours. Some weeks were more like 50. Again, the role was duty based, not hourly.

Every salaried job I’ve had has been output, not time.


Finally figuring out Flexbox was the moment I stopped dreading writing CSS because it does make a lot of things so much easier

I recommend the game Flexbox Froggy, which is how I learnt it


Flexbox Froggy is great. Thanks for the recommendation.


I am guilty of making some tiny commits I wouldn’t otherwise have to keep my github green box streak up…


Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: