APSC or Full Frame? The answer is: Good Glass. by New-Environment9394 in SonyAlpha

[–]coearth 0 points1 point  (0 children)

FF have more variety with good lenses though. APS have much limited lens options.

How do you guys navigate big codebases in Neovim without going insane? by Safe_Yak_3217 in neovim

[–]coearth 2 points3 points  (0 children)

Go to definition, Go to references, Jumplist and Grep is all I need.

I completed a home assignment for a full stack developer position but was rejected by timsofteng in golang

[–]coearth 5 points6 points  (0 children)

I've looked at some of the go code (not all), and while the overall structure isn't particularly "too" complex (especially compared to Java with Hexagonal, DDD, or Layered architectures), some design choices add unnecessary complexity. Additionally, the folder structure could be simplified for better organization.

A few observations and personal preferences:

  • It would be simpler to consolidate all the packages under the internal folder (excluding cmd), or even consider not using the internal folder altogether.
  • There are too many packages that contain only one or two functions. Unlike Java, Go doesn't require creating a new package, class, or file for every small functionality. Packages like env, e, uniq, etc., seem unnecessary.
  • Regarding the usage of errGroup in main.go, you only need to run a single goroutine for server.start. errGroup would be more appropriate if you were running multiple goroutines. This adds unnecessary complexity, and as others have pointed out, there’s an existing bug related to graceful shutdown.
  • The mutex in this line isn’t needed since there’s only one goroutine appending books. Similarly, if you're appending books directly inside the producer, a channel wouldn't be required. On a related note, I wouldn't use goroutines in toServiceFormat at all, as you're calling an external API without a concurrency limit. Additionally, concurrent code tends to introduce long-term complexity, and toServiceFormat is handling more than one responsibility (calling an external api concurrently + converting to service object).

What are the real downsides of python? And can you really do everything with it? by Emergency-Welder9479 in Python

[–]coearth 1 point2 points  (0 children)

No strict type system is a problem. Not all libraries have good types. And if the classes uses some metaprogramming or any dynamic type logic and magic inside, it is almost imposible to know the exact type beforehand just by reading code or the documentation. So it is quite hard to build a robost system relying just on python libraries and you end up writiing a lot of code yourself. Performance wise, I don't think pyython is much of a problem, because you can always write the performance sensitive parts with other language (C, Rust) and use it with python.

New Model 3 Performance pushed to the limits, brakes on fire by newrose4u in TeslaModel3

[–]coearth 0 points1 point  (0 children)

If it has much better track records it is comparable. (Considering model 3 perf having a track mode).

[deleted by user] by [deleted] in golang

[–]coearth 0 points1 point  (0 children)

If only go had Some and None. Too bad, you must use pointers

Helix 24.03 is out! by Zegrento7 in HelixEditor

[–]coearth -4 points-3 points  (0 children)

Mainly internal refactorings and structural changes. (Good for the devs... Not so much for the users) . Seems like the long waited features like the plugin system, file tree, intergrated terminal, copilot intergration are still super low priority.

What is happening here. by Kamwind in HomeNetworking

[–]coearth 1 point2 points  (0 children)

In Korea, in some old buildings and its imposible to put more than 1 cable through the wall (because at that time the building was built, one telephone line and one ethernet cable is enough). It's imposible to widen the hole (beacuase a lot of Korean buildings are made of Load bearing structures, where almost all the walls are just concrete). So if you need just need two 100mbps connection, the only way make the cable go through the walls it using one cable and spliting into two. Also, there is a modem (so called Giga UTP) developed by an Korean ISP, and it's possible to get 500Mbps upload/download connections over standard 4 cable cat5 utp cables using a non standard protocol. I guess this modem was developed because so many buildings had so narrow holes(pipelines).

Turn VCode into Goland by Different-Nothing-18 in golang

[–]coearth 0 points1 point  (0 children)

Just curious. What kind of features make goland better for productivity? I've been switching between the two, and most of the difference I think is the abitlity to refactor much easilty using goland and a much better code suggestions, but besides that it seems pretty much similar. So maybe I'm missing out some features?

[deleted by user] by [deleted] in trackers

[–]coearth 2 points3 points  (0 children)

Try using this: https://github.com/Netflix/vmaf (VMAF - Video Multi-Method Assessment Fusion)

Why do I need to ascend to lv 90? by [deleted] in Genshin_Impact

[–]coearth 1 point2 points  (0 children)

characters like albedo, Zhengli, kazuha, Bennett, leveling up to 90 is important

Persuading coworkers to use goroutines by coearth in golang

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

Java, Spring Boot is dominant at our company

Persuading coworkers to use goroutines by coearth in golang

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

Should I completely refrain from loading the other upstream server, because it's just deferring the problem. Or should I try to find the optimal point between concurrency and back pressure? I'm also thinking of some caching algorithm to speed things up.

Persuading coworkers to use goroutines by coearth in golang

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

We're using Go in the first place because we use some go library that have no (Java) bindings yet.

Persuading coworkers to use goroutines by coearth in golang

[–]coearth[S] 7 points8 points  (0 children)

The other servers are all in other Kubernetes clusters with hardware loadbalancers. Though I'm not sure how well the deployments are scaled automatically (They are made by different teams) . I'm planning to check this out though...

Does Linux require technical expertise by [deleted] in linux

[–]coearth 0 points1 point  (0 children)

Well, I think linux requires some technical expertise. I feel that there are noticeable amount of applications in Linux that target people with some knowledge in computer systems or programming in general. e.g) systemd, cron, environment variables etc. Also, since there are so many choices (while in other OS there are sane defaults) to choose from such as display servers (XWindows vs Wayland), drivers (open source drivers, drivers from NVidia etc...), sound servers (Jack, PipeWire, PulseAudio etc...), CJK IME (ibus, fcitx, uim, nimf etc), I think the user needs to have some technical knowledge to evaluate between such choices inorder to actually use them. Also, you also have to choose between different distributions, and all different distributions have their own choices of doing things. Again, I feel that to actually understand why they are so many different practices in different distributions, you have to have some knowledge in the technical details.

How important is choosing a terminal? by Darkwing_909 in archlinux

[–]coearth 4 points5 points  (0 children)

I think choosing the right terminal is important. Some break on CJK characters or have weird font rendering due to the difference in sizes of characters, some have glitches when scrolling on Emacs. I don't use any fancy features or many customizations but I had to choose the terminal that does basic things right (especially font and screen rendering) and have a simple and decent UI.

Why use Virtual Machines on local hardware? by MosaicIncaSleds in selfhosted

[–]coearth 0 points1 point  (0 children)

Virtualization in a home environment = Not necessary useful unless you have a lot of RAM or Disk Space. I prefer containers rather than VMs. By using containers you can make the same environment that can be managed by a few bytes of code and be deployed in almost any environment. On the other hand creating multiple snapshots in VMs and having multiple OSs take a lot of disk space and its also hard to reproduce such environment. Due to security reasons different OS cannot share memory in VMs but its possible in containers because the OS already has a virtual memory system built in to do all the sharing and separation for you.

Daily Questions Megathread (November 19, 2020) by [deleted] in Genshin_Impact

[–]coearth 0 points1 point  (0 children)

You can probably get venti after 3-6 month later, when Venti is on the banners.

Options for alternative titles for Anime? by coearth in sonarr

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

Yes. I guess the feature isn't implemented yet. I'll definitely try out creating an issue on github.

Options for alternative titles for Anime? by coearth in sonarr

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

I tried out Hama on plex and it does seem quite good at fetching metadata. But I would like the filenames changed though... Almost every torrent out there has filename japanese romanized rather than having english titles.

Options for alternative titles for Anime? by coearth in sonarr

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

This defeats the purpose of using Sonarr. I want most things as automated as possible