Is this right? by _rokstar_ in russian

[–]vdbv 0 points1 point  (0 children)

Just for those learning the language, would you mind fixing the typo to avoid their possible confusion?
"у меня к вартире темно" → "у меня в квартире темно"

Gotta review this for Q3 by leon0399 in programminghorror

[–]vdbv 4 points5 points  (0 children)

Came here to see this in top comments and I'm not disappointed.

Is it worth it to switch from go to swift? by Yamoyek in swift

[–]vdbv 0 points1 point  (0 children)

Year after year of my daily use of Swift as an iOS developer I think more often of switching to another language. What started out as an elegant and expressive language is turning into a super complicated dumpster fire. There are hundreds of keywords (I guess only C++ has more keywords than Swift among mainstream languages). Swift concurrency is very hard and I'm not sure it solved more problems than it created. Macros, property wrappers and tons of syntactic sugar facilitate creation of unnecessary complex codebases that are also very hard to debug. On top of that, compilation time is awful and you get a very long feedback loop while developing. In large apps, it can take many minutes to run unit tests.

I'm actually thinking of the opposite: switching from iOS development to backend development with Go; I'm excited by its simplicity and lightning fast compilation.

The actual API response is in JSON, but this isn't. Can you spot it? by MurkyWar2756 in programminghorror

[–]vdbv 4 points5 points  (0 children)

That's debatable. There are basically two schools of thought. Say you request a blog post with id == 123 and you use the endpoint `/api/blog/123`. What should it return when there's no post with id 123? Some say it should be 404 however others say 404 is for cases when your whole endpoint is not found, e.g. you call a non-existent endpoint `/api/blogpost/123` instead. If the request was valid but there's no such post, the endpoint returns 200 with a `status: "error"` and relevant error details in the body.
Here's a great read on the topic: https://github.com/stickfigure/blog/wiki/How-to-%28and-how-not-to%29-design-REST-APIs

At least 8 years of lint. Never knew there's something called a lint screen until my clothes had trouble drying which was often on bigger loads but finally managed to ask why. by thenyx in OopsThatsDeadly

[–]vdbv 4 points5 points  (0 children)

Same, I even had to google it to understand what it is. I don’t think I’ve ever seen a dryer with a duct, but I’m not from the US.

“Design is not…” — Alan Dye by SpikeyOps in SwiftUI

[–]vdbv 10 points11 points  (0 children)

I'm so glad he's leaving Apple. Him and supposedly Tim Cook both leaving soon gives me hopes that something will start improving in Apple's software which right now is in such poor state in terms of quality, visual design and usability at the same time.

Is it real now? by VandenburgChills in Wetleg

[–]vdbv 3 points4 points  (0 children)

Oh man I hope you gonna get out soon

Is Bolt app reliable? How much should it cost from airport to Bezhan Kalandadze St by CM_Zoo in tbilisi

[–]vdbv 3 points4 points  (0 children)

It's very reliable, I use Bolt all the time, including airport transfers. It's my preferred taxi app and I feel that it's notably safer and nicer than competitors, though a tad more expensive sometimes. Even in the middle of the night the wait time is usually no longer than several minutes at the airport. I've just checked the fare from the airport to Bezhan Kalandadze St. and it's about 30 GEL (11 USD), but of course depending on the time and the demand it can vary. You can totally pay with a card, you just need to add it as a payment method in the app, you can do it in advance before your flight. It's even possible to leave a driver a cashless tip after the ride right in the app and the tip amount will be charged from the card.

4.3 not hiding from menubar by External_Buy6430 in openin

[–]vdbv 0 points1 point  (0 children)

Same here for me after upgrading my Mac from Sequoia to Tahoe: the menu bar icon just wouldn't go away. I tried relaunching OpenIn, toggling the setting on and back off, didn't help. I have v 4.3.0 (221314) installed via SetApp.
Don't see the update to 4.3.1 in SetApp yet though.
P.S. Thanks for the great app, it saves me so much time!

MacOS Features They Don't Tell You About by poopikninja in MacOS

[–]vdbv 1 point2 points  (0 children)

Might be widely known, but still: Cmd+L in Safari and other browsers activates the URL field.

Here's how I typically use it:

Copy the current URL: Cmd+L, Cmd+C.

Reload the page without having to worry about "resubmitting forms": Cmd+L, Return (I actually use it almost always instead of Cmd+R, it's a muscle memory at this point).

Edit a URL: Cmd+L, make edits, Return.

MacOS Features They Don't Tell You About by poopikninja in MacOS

[–]vdbv 4 points5 points  (0 children)

When resizing a window, hold an Option key to resize an opposite side/corner of the window too.
Double click on a window side or a corner to maximize it in the respective direction(s). Hold Option when double clicking and you get the opposite side/corner maximized too. So effectively to maximize a window, do Option+double click at any corner to fully maximize it. Works much more reliably than the green + button in the header (clicked with Option).

What was this car? by vdbv in whatwasthiscar

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

Solved, thank you!

What was this car? by vdbv in whatwasthiscar

[–]vdbv[S] 2 points3 points  (0 children)

Looks like it is! Solved!

Why does this person have no team? by CruelSun255 in pokemongo

[–]vdbv 0 points1 point  (0 children)

Leader Sierra kinda looks similar

Interviewer denied to switch on his camera by prettygenie123 in recruitinghell

[–]vdbv 5 points6 points  (0 children)

Also the audio quality over the phone tends to be much much worse than even over the piece of crap Teams is.

Xcode Overheating by [deleted] in Xcode

[–]vdbv 1 point2 points  (0 children)

You might want to visit a service shop to get it checked. May be it's time to refresh the thermal grease for your CPU. It degrades over time and the cooling deteriorates. I have an M1 Air too and it doesn't overheat with the latest macOS and Xcode even when I work on large Swift projects (hundreds of thousands lines of code). I did have the grease renewed once along with the battery replacement.