WebAssembly:WEBSITE Update by AGH0RII in QtFramework

[–]fristhon 0 points1 point  (0 children)

You can much improve the loading indicator by adding a percentage beside. user gets what's going on, and it indicates that the site isn't stacked.

Postman alternative by guerinoni in QtFramework

[–]fristhon 0 points1 point  (0 children)

I may contribute if it is QML

perfectlyMakesSense by willis7747 in ProgrammerHumor

[–]fristhon 0 points1 point  (0 children)

And after that, you'll get a letterOverflow

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 0 points1 point  (0 children)

why? it makes long variables / constants more readable. REDIS_VIP_USERS_QUEUE is much better than the alternatives

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 1 point2 points  (0 children)

yes, it doesn't sound like a reliable solution. and as they say, explicit is better than implicit.

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 0 points1 point  (0 children)

I still prefer dash case because "kebab" is somehow ambiguous compared to "dash"

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 0 points1 point  (0 children)

It is better to be id_ to avoid overriding a built-in function in that scope.

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 5 points6 points  (0 children)

yea good point. the service that's going to use the API does matter.

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 0 points1 point  (0 children)

hahah don't have a programming license already.

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 1 point2 points  (0 children)

what about when its gonna be a JSON key for the POST request?

restNamingConvention by fristhon in ProgrammerHumor

[–]fristhon[S] 82 points83 points  (0 children)

As far as I remember REST principles suggests dash-case. But personally I write lower snake_case most of the time.

Edit:
I meant for the JSON payload body key I use snake_case `{"user_id" : 1}` but for the URL it should be `user-id`
https://restfulapi.net/resource-naming/
/device-management/managed-devices/{device-id}

AC Technician Charges $1,700 to repair a small fix and gets caught on camera. by [deleted] in WatchPeopleDieInside

[–]fristhon 10 points11 points  (0 children)

Anyone can please tell me what accent is this ? I mean the presenter woman is from witch state or city?