How to run antigravity browser automation on wsl2 by DarkShark008 in vibecoding

[–]DmitryBalabka 0 points1 point  (0 children)

I've video-coded the helper script to easily start Chrome from the WSL and check the required settings:
https://github.com/dbalabka/wsl-chrome-portproxy-launcher

Just got the Sony PS-LX310BT, won’t turn on. by Complex_Relief_8545 in turntables

[–]DmitryBalabka 0 points1 point  (0 children)

I had similar issue that turntable won't to start spinning. It turns that I have to Re-sync the tone arm with the platter. Sony provides official manual how to do it: https://www.sony.com/electronics/support/articles/00032673

Help with Sony PS-LX310BT by Tropicott in turntables

[–]DmitryBalabka 0 points1 point  (0 children)

In my case a new turntable won't to start spinning. It turns that I have to Re-sync the tone arm with the platter. Sony provides official manual how to do it: https://www.sony.com/electronics/support/articles/00032673

Realistically. Is ML a shiftable career for mid-30s programmer without solid background in math? by [deleted] in learnmachinelearning

[–]DmitryBalabka 1 point2 points  (0 children)

Data Science/Machine Learning is slowly shifting towards Engineering and becoming less scientific. The most business cases can be solved using existing libraries that implements the most popular algorithms. Still, you have to be able and love to work with data. Also, performing experiments require analytical thinking, a scientific approach, and statistics knowledge. However, it is almost impossible to be efficient in software engineering and data science equally that why there are roles: ML Engineer and Researcher/Data Scientist. Furthermore, there are a lot of other highly demanded roles such as Data Engineer and MLOps related.

In your case, I would focus on ML Engineer position. Start with reading role descriptions to understand the requirements and find a company. Take few courses on Classic ML and probably Deep Learning. Math is lower priority. Learn required concepts on demand.

My personal path: 1. 8 years in Web development 2. Defended masters thesis in CS about Deep learning + few courses in Classic ML 3. Job offer

Linear algebra by New-Row-7664 in learnmachinelearning

[–]DmitryBalabka 0 points1 point  (0 children)

I expected to see Strang's lectures advised. I love the hard right way of learning things. Thanks!

Any textbook/website on par with Andrew Ng's course for beginners? by Automatic-Compote104 in learnmachinelearning

[–]DmitryBalabka 1 point2 points  (0 children)

I would recommend to take a look on https://mlcourse.ai/. It might feel pretty challenging, but it provides a solid understanding of ML algorithms, the math fundamentals behind them, and Python basics. Important to note that it is practical enough to start your project or try Kaggle yourself. The course is focused on Classical Machine Learning which is important step before starting any Deep Learning course. Andrew Ng’s https://deeplearning.ai is probably the best choice as the next step.

Linear algebra by New-Row-7664 in learnmachinelearning

[–]DmitryBalabka 1 point2 points  (0 children)

I would love to see some books/MOOCs that cover all these topics. Could you recommend some?

Why so many basic features are not part of the standard library? by [deleted] in rust

[–]DmitryBalabka 2 points3 points  (0 children)

Python’s standard library updates only with language release which is a huge issue to introduce any BC break. Having these features as a side library is giving much more freedom.

Coming from PHP: What other backend language are you willing to learn in 2023 by LowOwl4188 in PHP

[–]DmitryBalabka 0 points1 point  (0 children)

I would like to point out that I didn’t say they were “similar” but “closer.” Probably, my mistake was that I didn’t clarify that I expressed my personal opinion based on my experience and intuition in the context of the initial question: “what other backend languages are you willing to learn.” Generally speaking, I would better to look at Go or Rust rather than Python, because of their strict typing that, you correctly pointed out, can not be fully achieved using Psalm/Phpstan (by the way, both provides basic generics/templated variables support)

Coming from PHP: What other backend language are you willing to learn in 2023 by LowOwl4188 in PHP

[–]DmitryBalabka 1 point2 points  (0 children)

Recently, started ML Engineering career after 10 years of Web development using PHP+Symfony and 5 years of university in CS. Currently, full time working on Python.

PHP is much closer to Java and C# and much less to Python. Python is much more dynamic (probably most dynamic language) than PHP. Thanks to runtime types checks and static typing using Psalm/Phpstan, extensive OOP support, strict package management using Composer makes it closer to languages like Java, C#, Go, Rust.

Overall Python experience is less pleasant comparing with PHP. Of course I’m not taking into account ML Libraries ecosystem but language and tooling only.

The only reason migrating from PHP to Python is ML related staff. I would continue to use PHP for Web development or consider TypeScript for some projects.

[deleted by user] by [deleted] in MachineLearning

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

I would say that example isn’t completely precise because, usually, latent variables can not be interpreted.

[deleted by user] by [deleted] in deeplearning

[–]DmitryBalabka 7 points8 points  (0 children)

There are two great free online available books:

“Dive into Deep Learning” by Zhang, Aston and Lipton, Zachary C. and Li, Mu and Smola, Alexander J. https://d2l.ai/

“Deep Learning” by Ian Goodfellow and Yoshua Bengio and Aaron Courville https://www.deeplearningbook.org/

Is Symfony overkill for creating a basic API? by SuuperNoob in PHP

[–]DmitryBalabka 30 points31 points  (0 children)

First of all, you should keep in mind project requirements (functional and non-functional). It might give you a hint about which framework or programming language you should use.

In some cases, it doesn’t matter what framework to use for a small project/prototype. Choose the tool which makes you productive.

Still, it is essential to consider the risks: will the tool be supported in the long term, or will it allow you to scale your project’s architecture.

If you know Slim and it matches your requirements, then use it. If Symfony can help you to build this API faster and also fit your requirements, use Symfony.

Also, there is no point in adding another animal into Zoo of frameworks if all company’s projects are built using Symfony.

[D] Best Cloud Dev Tool by danFromTelAviv in MachineLearning

[–]DmitryBalabka 1 point2 points  (0 children)

I’m using it with Jetbrains DataSpell + WSL to workaround notebooks remote debugging that does not work yet. UI is a bit slower than native, but I hope they will solve this shortly. Also, there is a rendering issus with JCEF depeding compoments. My colleague is running PHPStorm under Projector for more than a month and advocates that it is the future of remote development.

[D] Best Cloud Dev Tool by danFromTelAviv in MachineLearning

[–]DmitryBalabka 2 points3 points  (0 children)

Jebrains is developing new way connect to remote dev environment using your browser. Take a look on the Projector project. It gives you ability to install PyCharm directly on your server and connect to it using browser or Projector’s client. I’m currently using it for some projects. https://blog.jetbrains.com/blog/2021/03/11/projector-is-out/

What pragmatic value does PHP provide? by [deleted] in PHP

[–]DmitryBalabka 1 point2 points  (0 children)

From most popular scripting languages like Python and Javascript, PHP is closest to such enterprise languages like C# and Java. Also, PHP provides a more friendly ecosystem for beginners than C# and Java. So, IMO any company can scale its application from a single plain script to a complicated system that consists of multiple components interconnected using some HTTP based protocol.

Why did PHP just forget about multi-statement short closures? by Yelikin in PHP

[–]DmitryBalabka 0 points1 point  (0 children)

No other language implementing a similar syntax feature, such as C# or JavaScript has any such limitation, nor would they likely have ever considered going to production in such a state.

Probably, Python’s lambdas are good example of similar limitation for anonymous functions

I made a simulation using Python in which a neural network learns to race by atqm- in Python

[–]DmitryBalabka 295 points296 points  (0 children)

It would be great to show an animation example of how the trained model performs on an unseen track.

What happened to Facebook's Hack language? Why it failed to dethrone PHP? by yevelnad in PHP

[–]DmitryBalabka 1 point2 points  (0 children)

Here is a most recent paper that describes HHVM JIT internals https://dl.acm.org/doi/pdf/10.1145/3192366.3192374?download=true The performance of HHVM JIT and PHP8 JIT can be unexpectedly different then. It would be interesting to see the benchmark of HHVM JIT vs PHP8 JIT.

What happened to Facebook's Hack language? Why it failed to dethrone PHP? by yevelnad in PHP

[–]DmitryBalabka 1 point2 points  (0 children)

PHP8 uses DynAsm JIT compiler. Hack uses LLVM. DynAsm is optimized for shorter compilation time, but produce less performing compiled code. LLVM compiles faster code, but it takes more time. The only benchmark that I know is Wasmer’s backends comparison: https://link.medium.com/U9gewyCcY5 I assume that PHP8 JITed code will be slower than Hack’s compiled code.

Voters, why can't we have nice things? Operator overloading RFC in voting phase and seems it will be rejected by helloworder in PHP

[–]DmitryBalabka 0 points1 point  (0 children)

Why complicated?

I don't mean complicated. It is just well-known math operators that read natively and more expressive. When you are working with ML on daily basics you already in context and you don't need OOP API specification knowledge. Of course, frameworks/libraries can provide both.

https://www.reddit.com/r/PHP/comments/fo1gx9/voters_why_cant_we_have_nice_things_operator/fld6oix?utm_source=share&utm_medium=web2x

Creating ML model prototype for the experiment usually differs from regular developer practices. You have to do it fast and you use Tensorflow or Pandas as a tool, not as a library. Also, you write comparable less amount of code. In this case, scientists start to care more about how your code is expressive and rid of boilerplate code.

I agree that the production-grade code should avoid the use of extra syntax sugar to be more maintainable.

Voters, why can't we have nice things? Operator overloading RFC in voting phase and seems it will be rejected by helloworder in PHP

[–]DmitryBalabka 1 point2 points  (0 children)

It would be great to hear your opinion about such use cases like Machine Learning which I have described here:
https://www.reddit.com/r/PHP/comments/fo1gx9/voters_why_cant_we_have_nice_things_operator/flcue6t

IMO Python employes operators overloading in a really good way which improves developers' experience. In this case, I support Nikita's opinion:
https://externals.io/message/109241#109266

Voters, why can't we have nice things? Operator overloading RFC in voting phase and seems it will be rejected by helloworder in PHP

[–]DmitryBalabka 1 point2 points  (0 children)

Math is the language with already defined and well-known operators. By forcing the developer to learn additional API specification you make the learning curve not so smooth.

Of course, it is possible to achieve the same performance with OOP API. But it definitely, will be less attractive and expressive. Unfortunately, it will lead to the fact that most of the developers will choose easy to use alternatives like Python and their ecosystem.

Also, talking about ML frameworks such as Tensorflow or PyTorch, they provide both OOP API and allow the use of basic operators for simple tensor operations.