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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
The Facebook web app (on mobile) is so incredibly garbage in a foul, vile way; no client would have accepted it if I was the one who delivered it. Its Twitter counterpart is fairly functional despite all the js fidelity. Some things still behave as you are accustomed to. Facebook tried to hijack ALL native browser capability and ended up releasing an abominable artifact that should be a disgraceful, stark, warning as to how horrid and insufferable the extremism of javaScript can get
You can't open links in new tabs. Sometimes you can "like", other times app that loaded sits still and unresponsive like a corpse. The most annoying part has to be absence of urls, so you can't reference anything. You can't even share posts ffs
Funny enough, this used to have an edge over the restrictive mobile app eg you could reuse profile pictures. You could share specific photos out of a set, etc. Now, it's painfully broken. It doesn't even compensate for it with passable ui. That too, looks amateurish. The only thing you can do on it now is scroll5 -
Why the hell do languages like Kotlin (Java) and C# handle dates and datetimes so needlessly complicated?
There are multiple types with different implementations and concepts like local time or time zones represented by those types. Some of them have capabilities like serialization, some of them don’t.
Parsing and encoding is tied to the types.
Why? Take Swift as an example:
It has one single Date type (including time) which represents a point in time independent of any calendar, time zone, encoding or format.
There is a DateFormatter to parse from APIs from iso or timestamps or whatever and to format to UI as a string in any language (localization), for any region, in any format.
If you just want a container for the date time components themselves (which the concept of local date time seems to be in those languages), you can use the DateComponents type. If you are interested in dates from the perspective of a calendar, there is a Calendar type.
Everything makes sense and the different concepts are decoupled from each other as they should be.
Damn! My memory about C# is a bit hazy but Kotlin, I’m disappointed in you! Date handling is a horrible mess!
Ok, I guess I can blame it on Java and JVM.6 -
tax, pension, etc deductions increased so my recent paychecks are less than previous ones, if this stays this way i guess i'll hopefully get a bigger tax refund later
still sadge -
Got a bit distracted today. Instead of doing what I've wanted, I created the most comfortable way to make a site ever. I'm serious. It beats all those static site generators.
Hmm, could even make a static site generator of this one. Won't do, no benefit.
It's by using markdown and it has support for syntax highlighting of many languages. A website could be literary:
# My blog
## some code
```c
printf("This is my C code");
```.
And you already have something decent. See the 'Get started' section. You have a site running in no time. See also the Python database example at the bottom, it shows you how to use the internal sqlite3 database in your 'static' site and how to create a visitor counter!
Sky's the limit.
I came up with the idea by teaching my next door neighbor HTML and that was succesfull. She is able to navigate trough files and folders and edit a file like most people. Then I realized, if it was markdown, it would be really user friendly for anyone to use. To create a decent site, you only need to make a stylesheet for someone. By using # ## ### #### headings, it will always be in your designed style.
People won't fuck your site up like they do with WYSIWYG normally.
The concept is so simple, I only see advantages and it could be used for small and big content sites. It doesn't do caching on purpose, overkill and it's more comfortable this way.
Here is project link: https://molodetz.nl/retoor/dreamii1 -
Rare day I used 3 different languages in a professional capacity (php, java, flutter). *insert "I used to pray for times like this" meme5
-
Have you ever started a new job and they have a bunch of legacy and technical debt so much that it doesn’t even makes sense trying to fix anything4
-
looking for a new, bigger car to fit all my fam in. I never thought I'd even consider a brand-new car, from the dealer. And here's me, looking at the VW Tayron, which has not even been released yet, and seriously considering getting one.
Thanks to decent salaries in our industry.
I don't think I'd ever be there had I gone through with my M.D. career.3 -
DeepSeek r1 shows clear reasoning instead of hardcoded answers on topics like 9/11.
Never thought the day I would say this but well done China.
Big power countries are shitty, but at least we have handful of them keeping each other in check. Imagine if USA was the ONLY power. Fucking dystopia.13 -
There is only one terrorist in this world and it likes to call everyone terrorists and treats as such. It's name is United States of America.2
-
So I onboard this guy on the project. One week in we worked on a task. There was a socket hang-up error. After a lot of debugging, I realized the issue was the value being sent over RPC to the API. Resolved in a huddle with the guy to show him how I debugged and found out.
2 weeks later, the client uses the API elsewhere, and runs into the same error, opens ticket. The new guy picks it up. After spending a day, says he can't find the issue, let alone reproduce it.
I have to jump in.
My guy, we just went through this recently. How much did he accumulate in 2 weeks since we did that, that he can't recall the fix6 -
Turns out, even spam in dR has its benefits :)
retoor's bot was asleep I guess, so I noticed a spanish spam post about taxi 24 horas [taxi with 24 whores]. And it was quite a good test for my spanish! Turns out, with Duolingo in one year one can learn to understand a language quite well. I only didn't know a few words in the spam post, but the rest I read as if it were english.
Daaayyuummm.. I was too sceptic about Dulingo :o6 -
AI is more than just a model.
It's also tooling. Tooling can help to interpret data or solve a puzzle like Sudoku or parse a JSON file perfectly. Results of those tooling will be wrapped in AI response. That quality of tooling responses is high because it's made by classical code that works with literal data and outputs literal data. As long the competition of OpenAI doesn't have tooling like that, it won't be the same.
I do assume for now that DeepSeek doesn't have that. I tried it, it answers things well, but for bigger questions that would require tooling it just crashes and says it's too busy. So I can't verify 100%.
Will try again later and update under this Rant, but assume the DeepSeek stuff is very over hyped. To know what DeepSeek really is about without watching all the fake fan video's, take this quite objective response of the maker of Perplexity AI. Someone that knows where he's talking about: (40 minutes) https://youtube.com/watch/....
So when it comes to investments of a model, what does the stuff investment is incuded in? I mean, OpenAI was way more expensive than DeepSeek but DeepSeek borrowed all OpenAI's research that was made by very expensive processes. So DeepSeek didn't pay research costs like OpenAI did. Also it (I still assume) didn't spend money on tooling.
Also, i'm sure a less woke API would be way cheaper because it doesn't have to lie to himself causing it to keep reasoning until his given woke fact makes sense! Wokism destroys models, i'm sure.
I didn't check DeepSeek on wokism yet, but it's based op GPT4o so, probably it is.
But competition is always great, I can't imagine the price would even drop further for AI requests but if it does, it would be amazing. Maybe it also becomes free and we will be forced to pay to use it without adverts.7 -
There are sites that list different datasets, this makes them dataset of datasets.
As there are multiple of these sites, and they are listed on Google, that made Google dataset of dataset datasets.1 -
At my work we still deploy web files the old-fashioned way, copying newer versions over from dev to test and test to prod. For comparing and copying changed files we use WinMerge. Although our workflow sucks, WinMerge itself is actually a nifty little tool for comparing any sort of text files. But today it pissed me off in a way it never has before. I copied a diff from left to right and then meant to save it with Ctrl + S, but accidentally pressed Ctrl + D. Guess what happened? To my horror, both sides went completely blank! It looked as if the file contents had been deleted, and undo had no effect. To my relief, the files were intact when opening them in VS Code. Thinking this was a glitch in WinMerge, I restarted it but still, all files were blank. No contents displayed! Then I thought, perhaps pressing Ctrl + D again would bring the file contents back into view. And it did! So the bottom line is: Pressing Ctrl + D makes the compared files appear as empty. Now, who would want that to happen? What a nice feature, you've got here WinMerge! (I'm being sarcastic in case you missed that)3
-
Okay, maybe I'm unlucky, but I find macOS to be extremely buggy and inconsistent across the board compared to Windows.
The "it just works" slogan hasn't been true in my case.
Like, there's always some dumb issue hindering me.
For example, I can't seem to resize a window by its edge on my second screen in macOS. It just doesn't work.
Of course, Windows isn't perfect, but it works without a hitch in my case.
Finally, the memory swapping issues that lead to lag.
On a typical day, I have two instances of IntelliJ running, Android Studio or XCode, and two Edge + Mozilla, and Docker. 32GB should be able to handle this smoothly. This works fine on my 32GB Windows workstation.
On my 32GB M2 MacBook Pro however, I have to constantly close some programs because of lag.
Not to mention, memory fills up really quickly. I essentially turn on the MacBook and 18 GB are in use. WTF!9