Details
-
LocationGermany
Joined devRant on 10/29/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Condoms.
Use them. For fucks sake. -
*humss can't stop me now*....
:-) looking good. -
@Root THX.
GNOME has really become the"You're morons, so we carefully did our best to take everything away" kind of DE. -
@kiki
So a case for r/spicypillows .
Always sad. -
Depends largely on where you live.
Might sound strange, but a *lot* of problems with wireless connections stem from.... *drumroll*
Building materials.
E.g. in Germany houses built around world war ii might have tinfoil and other interesting materials in the walls.
Had a few interesting head scratch moments setting up WLAN for clients, cause no - doesn't matter what frequency, these rooms are frequency isolated.
If there is no real wall, so sth like rigips / plasterboard, you have the opposite problem. Too much interference.
(Looking at America, where most houses can be cut with a saw... still makes me scratch my head. Or the "non openable windows" - that freaked me out, too. -
@retoor
https://lwn.net/Articles/959236/
Pip is part of the problem.
There is a lack of concensus and focus on a single utility which should be included / shipped with python.
I hate PIP. Poetry is my favorite, as virtualenvs are far better. Though most package managers implicitly need to utilize PIP or at least support it.
Thats the messy part. Too many cooks in the kitchen.
Another pretty heated discussion has always been around pyproject.toml .
As there is no stdlib for TOML till 3.11
https://peps.python.org/pep-0680/
I honestly love pyproject.toml . Consolidation is always a good idea. -
What exactly do you span and slay....
Asking for a friend. -
@ScriptCoded
Well instead of Wired, a few Tesla coils and no worries about access to electricity -
Imho Pythons indentation was a wise decision.
Error reporting has become better.
If a language comes with a fixed code style, it would be truly a blessing.
Rust kind of does it.
The amount of time, nerves and stress put into getting devs to agree to a common code style is ... Maddening.
Even worse when they want a custom style that needs to be handrolled into linting / formatting. *vomits*
I'm truly curious to see where Python is going.
Polars aka Pandas on Rust steroids, the GIL removal, the JIT talks.... It feels like Python will make some interesting evolutions the next years.
The only worrisome part, where the Python devs cannot agree on, mostly due to lack of manpower, is the packaging.
But thats a very complex topic, so I can kinda understand the frustration and hard to reach consensus on that topic. -
Scala is dead.
Should be put in a coffin.
https://degoes.net/articles/...
Imho the biggest weakness of scala is the completely messed up toolchain.
SBT is just a broken mess.
Though they finally decided to LTS with 3.3… the whole ecosystem just is a fragmented and outdated mess. -
@Fast-Nop yes.
But again - we're talking about universe *only*.
I don't like it either, but imho its a valid choice as it is *not* the main distribution nor the main oackages.
And the Debian - Ubuntu relationship wasn't peachy in the beginning (as in first Ubuntu versions)… but afaik for the last decade it was a good one.
I don't like the direction Ubuntu is going either, but I just felt that the discussion in this rant was far too ignorant of details.
"They're doing well" ... Yes and no. They're not lacking finances, right.
They're lacking staff. The finances they have are mostly for operational stuff, hardware, red tape, meetings, ...
https://wiki.debian.org/LTS/Funding
Debian has for example the LTS funding program.
https://lwn.net/Articles/790954/
So yeah, while they have money they're conservative regarding its use. -
I think that the article is written way too click baity.
In very short:
Packages from universe, which were always not part of a default Installation and handled by community, will be only provided with security updates by Ubuntu Pro subscription.
That is the gist.
While technically right and followed by a bit of explanation of how packaging is a nightmare job, they fail to give numbers.
Google gave me a quick result (unverified):
https://gist.github.com/ThinGuy/...
Roughly 28_000 source packages with 63 GiB of sources.
Get a grip on reality. Thats not just a fuckton of work, but also resources, traffic etc.
Other distributions are suffering tremendously, too. At least Debian gets a bit of help by Ubuntu pro.
I don't like it either. But the "want it all free with no support mentality" has become OpenSources downfall.
Things like BPL made that more than obvious. I fucking hate Ubuntu - but OpenSource needs money. -
@fullstackcircus
Chat messages are an entirely different fuckity than financial transactions.
And discord had quite a few growing pains, too.
https://discord.com/blog/...
Now think of that migration in finance.
Where red tape, audits, long term storage etc. are a must.
I really don't want to think about how it works at PayPal, because I think it will be a bureaucratic nightmare.
Its easy to say "haha they could do better". Its more realistic and better to ask "why don't they".
In Germany bureaucracy, you don't mess with the Finanzamt (Federal central tax office)... If you do, they will audit the fuck out off you. -
@jestdotty
So they create an unmaintanable mess?
DevRant never ceases to amaze me. -
@BlueNutterfly
One of the reasons I cannot stress enough that industrial animal agriculture is just plain wrong.
Yes. Meat will be fcking expensive, but exactly coz of things like BSE I'd rather pay a fortune than eat sth that god knows what surprise is in it hidden.
"The primary source of infection for classical BSE is feed contaminated with the infectious prion agent, such as meat-and-bone meal containing protein derived from rendered infected cattle."
https://aphis.usda.gov/aphis/...
As in: We fed them shit. The extra cheap shit. -
https://dev.to/chinesehuazhou/...
Recommend reading it.
Most languages who allow insane ways of doing the same task in different ways are usually... Poorly designed.
Or like in C++ for example getting too fragmented.
Lack of alternatives must not be bad, it can be quite the opposite a sign that the language authors tried to prevent ambiguity.
Then there are languages like Java where the lack of a real standard lib leads to NIH / Not invented here.
;) Too many ways to do it cause it isn't provided at all by a standard library and needs to be done by a 3rd API library / handrolled. -
@Auhrii
http://nginx.org/r/...
http://nginx.org/en/docs/...
You're thinking wrong, though it depends largely on how NGINX is configured.
What usually happens with PHP FPM CGI is the following:
Website - NGINX - resolve to location
...
parse fastcgi parameters
call CGI binary with fastcgi parameters
There is no HTTP code involved per se.
What you did with your modification is to include the $status variable in the fastcgi parameters, which should be the last http status code.
000 as there is no status code when there is no error - the binary just gets called, there is no http request happening.
https://gist.github.com/kerns/...
Here is one gist I found which is an example of how to create an error page with query parameters to pass the status code.
Less hacky.
Alternative would be an error page with a proxy pass and setting a header. -
@Auhrii
https://php.net/manual/en/...
What you're doing is simply put a violation and abusal of an old / ancient variable.
If I understand you correctly, you have
NGINX in front of PHP
Client calls Website
Client is a special kind of retard
NGINX redirects to an error page
NGINX calls the PHP script
Now you want to know what "Client is a special kind of retard" call created as a status code?
As in "redirect to the error page AND add via header the previous status code" as an example to solve it? -
As someone who understands what you did in your last comment ...
... And partially what you try to achieve...
What the fuck is your admin doing? -
Its not really gross, but a unique flavor.
Depends largely on the cook.
Fermented garlic with it sweet flavor is incredible for that... Plus a farmer and butcher who know what they do.
Few things I won't eat. Stuff like eyeballs, testicles, penis, brain...
Liver and heart are a special yummy if done right. -
What you write is just sad.
You cannot solve everything.
PayPal is one of the largest financial companies...
Probably Terabyte size regarding data, maybe more - wouldn't be surprised if it would come close to Exabyte.
Its sad how many devs seem to have a tunnel vision where performance either equals hardware or performance more important than accuracy / resilience.
I would rephrase it: Be glad PayPal allows you to have a 1 year range access of data, cause given the datalakes they have, thats like picking a specific grain of sand out of the gobi desert. -
Sorry, the license does not include Heinzelmännchen.
-
@Demolishun yes.
-
@Demolishun
https://en.m.wikipedia.org/wiki/... -
Look ma....
I puked C noodle soup out, it became C plus plus. -
@tosensei the metaphor fits pretty well.
You can do full text search in e.g. PostGres / MySQL / ... .
It works. Pain in the ass, but it works.
Same for the pan: It does the job, but your wall might take a lot of a collateral damage cause it is just not the right tool.
You can use windowing functions to overcome the "barrier" of the row oriented approach of databases as another example...
Theres always a solution based on compromises. -
@ScriptCoded
Usually yes... But... This struck a cluster of nerves sitting in a cluster of nerves...
:-( *cries* -
@tosensei uhm.
I'm kinda tempted to write: "when your programming gets serious..."
But joke aside. When you need it.
Vectorized databases are trending because of machine learning.
Colum oriented databases like Scylla (or Cassandra) for heavy write applications which need to be resilient as fuck.
KV databases for heavy read applications, Redis as one example.
Document oriented databases with inverted indices like Elastic, Opensearch, Lucene for anything that combines text analysis with aggregation or similar tasks.
I was never really a fan of graph oriented databases... Not saying they're bad, just a tad too specialized in my opinion.
Time oriented databases... Loki, Prometheus, Victoria Metrics, OpenTSDB... You want metrics, you need these.
Hierarchical databases like LDAP. They are literally the backbone of any company.
There are way more...
You usually know that you need them when you're fucked cause - metaphorical - you try to take a pan to hammer a nail. Wrong tool. -
@tosensei
RDBMS - possible.
But specialized databases like Scylla / Cassandra / Chroma / Pinecone / ........
Nope... Not possible. -
@ScriptCoded
Yeah.
Adding to the cesspool of unnecessary classes ending in *Helper or *Utils...
Of course these classes break SRP and contain more duplicated code than anything.
NIH probably strong in there, too.
Functional, OOP, FOOPS (FunctionalOOPShit)... When it didn't exist like the Author wanted it, it was added in yet another helper or utils class.
:(
Yeah. I took your comment way too personal. But I absolutely hate that mentality...