HackerLangs
TopNewTrendsCommentsPastAskShowJobs

igsomething

105 karmajoined 4 yıl önce

comments

igsomething
·4 gün önce·discuss
I agree, but one thing is to demand all your users to be on the latest Chrome, and another one is to support browsers that are no longer maintained and contain security issues (IE). If we discourage people from driving old insecure cars, we can also discourage people from using old insecure browsers.
igsomething
·4 gün önce·discuss
For public services you can tell people to use another device, or provide a way to schedule an appointment in-person that is accessible using old browsers.
igsomething
·18 gün önce·discuss
Maths IS pattern recognition
igsomething
·geçen ay·discuss
I had a contract once to save a government website that had serious performance issues, it was so unusable that people preferred to go in-person and wait 4h in a queue rather than try to fill the forms online.

The frontend was in React because the company that got the contract initially used React for everything. The frontend was a 5MB SPA, but it could've been (mostly static) HTML files with some interactivity for forms like TFA. Everyone working on the project agreed React didn't make sense, but we couldn't do anything about it because someone from the government IT department would have to admit they made a mistake. There was no budget for rewrites in the contract. The few times a developer attempted to remove any "React monstrosity" they got in trouble.

Sometimes developers care, but the people in charge don't, and in government environments every change must go through them first.
igsomething
·geçen ay·discuss
One important thing that is often not mentioned is the lack of operator overloading. In Elixir if you have "a + b" it means "a" and "b" must be numbers for the code to succeed, which narrows down the possibilities significantly. Compare that to Python, where "a + b" applies to numbers, string concatenation, and any object that implements the __add__ or __radd__ magic methods, it becomes a nightmare to type.
igsomething
·2 ay önce·discuss
Then people from a sanctioned countries are blocked from open source, or worse, you have to explain to the bank and/or the government why you sent 20USD to someone in Venezuela.
igsomething
·3 ay önce·discuss
It is a negative feedback loop, so yes, it makes systems stable.
igsomething
·4 ay önce·discuss
Dependency hell. Usually how it goes is you have to develop a new feature, you find a library or a newer version of the framework that solves the problem but it depends on a version of another library that is incompatible with the one in your project. You update the conflicting dependency and get 3 new conflicts, and when you fix those conflicts you get 5 new conflicts, and repeat.
igsomething
·5 ay önce·discuss
Server Side Public License? Since it demands any company offering the project as a paid product/service to also open source the related infrastructure, the bigger companies end up creating a maintained fork with a more permissive license. See ElasticSearch -> OpenSearch, Redis -> Valkey
igsomething
·5 ay önce·discuss
Going from Django to Phoenix I prefer manual migrations. Despite being a bit tedious and repetitive, by doing a "double pass" on the schema I often catch bugs, typos, missing indexes, etc. that I would have missed with Django. You waste a bit of time on the simple schemas, but you save a ton of time when you are defining more complex ones. I lost count on how many bugs were introduced because someone was careless with Django migrations, and it is also surprising that some Django devs don't know how to translate the migrations to the SQL equivalent.

At least you can opt-in to automated migrations in Elixir if you use Ash.
igsomething
·6 ay önce·discuss
Hey, first I want to say that Oban has been a lifesaver for me and it is the tool I miss the most from the Elixir ecosystem when doing work in Python. Thanks so much and congrats on the release.

I have one question: are there any plans for interop between Oban and the new Django Tasks[1]?

[1] https://docs.djangoproject.com/en/6.0/ref/tasks/
igsomething
·6 ay önce·discuss
As another 3rd world citizen living in Northern Europe, I usually describe it as "processes and rules over common sense". They understand your situation, they agree with you, they can solve your problem, but they will not do it because it goes against some obscure rule, or it would not follow a specific mandatory procedure step by step, and who knows what are consequences.
igsomething
·7 ay önce·discuss
Keep in mind in Argentina public domain works are not free (free as beer) of use, you have to pay a fee to the government, for example if you play Beethoven music in your short film or any work you created.

This is likely going to change since the organism responsible for collecting the fees is undergoing a big restructuring.
igsomething
·8 ay önce·discuss
Electronic Enginering is also not that old and it has been a proper engineering discipline for many years already