CodeMonkey

joined 2 years ago
[–] CodeMonkey@programming.dev 3 points 7 months ago

I agree with all of your points but the last.

Having a medical condition makes life hard. Getting treatment for the condition makes life even harder but eventually it will lessen the underlying medical condition and, in aggregate, make life easier.

[–] CodeMonkey@programming.dev 2 points 7 months ago

AIs are very good at finding a (locally) optimal solution without understanding the context of what that entails. When is the biggest jump in engagement? When an ad ends and the show resumes. Users tend to turn up the volume and return wandering eyes back to the screen. Therefore, every time an ad break ends, the system starts an ad break. This approach also maximizes the amount of ad time per hour of content.

(I am joking, if it is not obvious)

[–] CodeMonkey@programming.dev 3 points 8 months ago

I like GoLang and loath JavaScript, but don't complain about Node pulling in 42 external libraries when GoLang is pulling in 32 external libraries (and using an additional 10 bundled with the compiler).

[–] CodeMonkey@programming.dev 3 points 9 months ago

Could be worse. You could just have your socket disconnect because the back end process crashed.

[–] CodeMonkey@programming.dev 4 points 1 year ago

I agree, Oracle should abandon the JavaScript trademark… and then send them a cease and desist from using the word Java when talking about their technology.

Calling the language JavaScript was a blatant case of trademark infringement, but when someone got permission from Sun/Oracle to use the JavaScript brand, they also got (implicit) permission to use the Java brand.

As much as it sucks, it was always a known issue. The JS community could have standardized on JScript, ECMAScript, or some other generic name. By continuing to use the name JavaScript, the language will always be wed to the Java trademark.

[–] CodeMonkey@programming.dev 2 points 1 year ago

Go, out of the languages I use at work, it is the one I learned most recently and have the least experience with. I am not planning to get on the leader board (or even comple more than the first week of challenges), but it is an excuse to get more comfortable with the standard library.

[–] CodeMonkey@programming.dev 1 points 1 year ago

Same. If I am reading for please, I am reading the book sequentially and love the convenience of ebooks. If I am reading a reference or text book, I like being able to quickly flip between (physical) pages and skim previous chapters for a section I want to reread.

[–] CodeMonkey@programming.dev 3 points 1 year ago

I would be curious what the daily exercises are going to be. Is it just a 24 part tutorial on the etiquette around creating and contributing to open source projects?

[–] CodeMonkey@programming.dev 4 points 1 year ago

From a quick look at the repo, it is end-to-end testing for web applications.

Also, it seems that their big selling point is a verbose, English like syntax.

[–] CodeMonkey@programming.dev 10 points 1 year ago

It is mutually assured destruction. The job seeker AI spams out a resume to every listing and the hiring AI rejects all applicants for not meeting some unknown criteria. In the end, no worker can find a job and no employer can get applicants. Companies go back to only hiring friends and families of existing employees.

[–] CodeMonkey@programming.dev 1 points 1 year ago

I am used to seeing ring buffers implemented using an array. They are FIFO if you write to the maximum offset and read from the minimum offset but they are double ended if you have a method to read from the maximum offset and write to the minimum offset.

[–] CodeMonkey@programming.dev 7 points 1 year ago

Why would you use a library or framework when you can code everything from scratch? It probably depends on how good the VSCode extension is vs how bad the IDE is.

For the languages I have tried (mostly GoLang plus a bit of Terraform/Terragrunt), VSCode plugins can do code highlighting, can highlight syntax and lint errors, can navigate to a methods implementation, the auto-complete seems to pick random words from the code base, and can find the callers for a method. It is good enough for every day use.

IDEs I have used (Eclipse for Java, PyCharm, InteliJ for Kotlin) offer more. They all have starter templates for common file types. The auto-complete is much more syntax aware and can sometimes guess what variables I intend to pass in as arguments. There is refactoring which can correctly find other usages of a variable and can make trivial code rewrites. There are generators for boilerplate methods. They all have a built in graphical debugger and a test runner.

view more: ‹ prev next ›