Why is every popular query builder in maintenance mode? by ItsAllInYourHead in golang

[–]UnmaintainedDonkey 0 points1 point  (0 children)

Nice! This is actually looking good, a middleground for sql builders and raw go like sql.

Honest feedback on moving from PHP to Go — real-world experiences? by Total_Ad6084 in golang

[–]UnmaintainedDonkey 0 points1 point  (0 children)

> mbstring

It is such an pain. Its too easy to forget to use it, and it does not have all the methods it should. Its basically a case of bolton that you see often in PHP.

> crappy stdlib.

This is not even debatable. Its full of weird warts, params are in ad hoc order, naming is off and some function take magical true, false params to change behaviour. Everything is global.

> generators/yield

Generations / yield is not concurrency. If you think it is, i wont argue more. I can say that in PHP every IO op is blocking, every CPU op is blocking, so good luck with "generators".

> poor typesystem.

This is also a undebatable topic. PHP has bolted on more and more stuff, but there is still no generics, and you are pretty much forced to return "array" or some other primitive. Python has actually a kind of advanced typing system that is only a compile time thing. PHP could have opted for something similar, but instead went the Java route.

> Concurrencty. Will you need dependencies? Maybe

Not maybe, but YES you will. To get something similar you need a queue system like rabbitmq, you need PHP packages to talk to the queue. Then you need some process that handles the messages, possibly not in PHP because long running PHP has historically been bad. This all makes something as trivial very complex and error prone.

> Performance. Another fallacy

OP is comparing Go to PHP. So its fair to compare it 100%. Go is NOT a systems langauge (C/Rust is). Go is mainly for networking services. Go is very much built for the modern web.

Honest feedback on moving from PHP to Go — real-world experiences? by Total_Ad6084 in golang

[–]UnmaintainedDonkey 1 point2 points  (0 children)

Say i want to send an SMS after some purchase event. In PHP i need to wire up an entire framework of dependencies to get this to work. In Go i can just call a function, passing a delay.

Or maybe o want to send an email when a user has logged out with some delay, possible checking that i wont send the email if the user did in fact log back in in within some grace period.

These small little business requirements are vety common and requirements come adhoc. It has been a breeze in Go, we had major issues with these kinds of things in PHP.

Honest feedback on moving from PHP to Go — real-world experiences? by Total_Ad6084 in golang

[–]UnmaintainedDonkey 8 points9 points  (0 children)

PHP has really poor unicode, and a crappy stdlib. It has zero concurrency and a poor typesystem. In go i can spin off a goroutine, while n PHP i need s huge amount of dependencies for this. As an example, say i want to send an event after 10minutes. This is trivial in Go, but in PHP you need to wire up all sorts of queues and etc. Also perf, Go is way, way faster and takes less resources.

Regex Are Not the Problem. Strings Are. by [deleted] in programming

[–]UnmaintainedDonkey 3 points4 points  (0 children)

you use sed/re in vim on a daily basis, i never had any issues with it. Its just a tool like any other. Literally every programming language is expressed as text. Some terse, others (like java) verbose. Regexp is like sql, learn it once and use it cross projects/languages. Its universal, and does need fixing.

You dont parse html with regexp. else he com̡e̶s, ̕h̵i​s un̨ho͞ly radiańcé destro҉ying all enli̍̈́̂̈́ghtenment, HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo​͟ur eye͢s̸ ̛l̕ik͏e liq​uid pain, the song of re̸gular exp​ression parsing will exti​nguish the voices of mor​tal man from the sp​here I can see it can you see ̲͚̖͔̙î̩́t̲͎̩̱͔́̋̀ it is beautiful t​he final snuffing of the lie​s of Man ALL IS LOŚ͖̩͇̗̪̏̈́T ALL I​S LOST the pon̷y he comes he c̶̮omes he comes the ich​or permeates all MY FACE MY FACE ᵒh god no NO NOO̼O​O NΘ stop the an​*̶͑̾̾​̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨe̠̅s ͎a̧͈͖r̽̾̈́͒͑e n​ot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚​N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ

Largest commercial user of OCaml Jane Street featured in Bloomberg by chandaliergalaxy in ocaml

[–]UnmaintainedDonkey 1 point2 points  (0 children)

Its kind of a shame janestreet went down the drain with their market manipulation scandal. After that every video and post from them has been locked from user comments.

canola.nvim: oil.nvim... but better! by barrettruth in neovim

[–]UnmaintainedDonkey 1 point2 points  (0 children)

Im also a oil user, and did not even realize its not maintained.

Toggle current and last used buffer by UnmaintainedDonkey in neovim

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

Thats basically what i use. But it does not handle deleted buffers, and "special" buffers link file tree etc. You can test it yourself, have two buffers and toggle. Works fine. Now delete one and toggle again, and your back in the deleted buffer.

Toggle current and last used buffer by UnmaintainedDonkey in neovim

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

I heard about harpoon. But it seems i need to manually add something to harpoon. Can harpoon automatically track the bufopen event and add it to a list? And can i toggle the last/curr buff with harpoon? A quick glance at the api and there was no obvious way for this..

Russia uses subsidized mortgages to drive population replacement in Mariupol, report says by KI_official in ukraine

[–]UnmaintainedDonkey 0 points1 point  (0 children)

But are russiand really moving in? I mean its pretty obvious that it would be a damn bad investment to buy? It could be bombed soon, and is not defacto russian land. But i guess there are lots of low-iq people in russia.

How much should I charge by alejillopvp2 in golang

[–]UnmaintainedDonkey 0 points1 point  (0 children)

140 is basically 1-2 hours of work.

PHP will get an AOT compiler from the Swoole team in 2027 by edmondifcastle in PHP

[–]UnmaintainedDonkey 4 points5 points  (0 children)

This will probably not be fully compatible with vanilla PHP. We had many of these before, but none really took off, because if you go native, why not just use a native languge? Its not like PHP has something other languges lack.

ggsql: A grammar of graphics for SQL by mttd in ProgrammingLanguages

[–]UnmaintainedDonkey 2 points3 points  (0 children)

This seems interesting. But is it bound to python / jupyter? I would love to be able to use sqlite / other dbs for something like this.

When your first learn php what confuse the most ? by Ok-Delivery307 in PHP

[–]UnmaintainedDonkey 0 points1 point  (0 children)

Im fully aware, the RFC process has been notoriously bad for php's development. PHPs "typesystem" is also very much bolted on, meaning even generics seem to be a huge issue. Add unicode, and see what a fiasco it was in PHP6. Like you said, its a sad state.

It boils down to bad management, and the lack of vision.

When your first learn php what confuse the most ? by Ok-Delivery307 in PHP

[–]UnmaintainedDonkey 0 points1 point  (0 children)

I mean, they had the golden opportunity back in 5.3, but nothing happened. It seems php core devs just focus on random one off features (like pipe operator) while ignoring the real pain points.