Readit News logoReadit News
ckdot commented on Do I not like Ruby anymore? (2024)   sgt.hootr.club/molten-mat... · Posted by u/Vedor
ckdot · 5 days ago
Typescript is a workaround. It exists because web apps got more complex and browsers only support JavaScript. So developers need to stick to JavaScript, but they need typing, therefore TypeScript has been implemented. It’s an exception where it made sense to do so. For all other languages: if you use some dynamic language and you need typing, either wait until the language supports types natively (PHP‘s approach) or „just“ change the language. The additional complexity of an additional typing layer is huge. The complexity of TypeScript - and in general JavaScript‘s ecosystem - is incredibly huge. The biggest issue we have in software development is not that a language isn’t elegant, or you can’t write some some in 3 instead of 15 lines… the biggest problem is complexity. Developers too often forget about that. They focus on things that don’t matter. Ruby vs Python? It doesn’t make a real difference for web apps. If you want a language and ecosystem with low complexity try Go. It’s not perfect. It’s not elegant. Or PHP, which has a lot of drawbacks, but overall less complexity. I don’t say Go or PHP are the best languages out there, but you should try them to get a picture - to decide for yourself what’s important and what not.
ckdot commented on I dumped Google for Kagi   arstechnica.com/gadgets/2... · Posted by u/thimabi
carlosjobim · a month ago
> Soon, there will be nothing of value left for Kagi to index.

1. The Internet Archive

2. Anna's Archive

3. YouTube (if they're allowed to)

That's more than enough knowledge and information.

ckdot · a month ago
4. Wikipedia

Am I too optimistic?

ckdot commented on I dumped Google for Kagi   arstechnica.com/gadgets/2... · Posted by u/thimabi
jiehong · a month ago
I like Kagi, but it feels a bit slow to display results.

Like, the page loads very fast, but only with the search bar, and only then you get the results appearing after some loading. But it's acceptable.

Image search is rather slow, though.

ckdot · a month ago
I can confirm, and for me - even if I want like Kagi - I can’t tolerate it. I’ve read it depends on the Country you’re in. In Germany, where I’m from, loading time is up to 3 seconds - while on Google it’s almost instant.
ckdot commented on PHP 8.5 adds pipe operator   thephp.foundation/blog/20... · Posted by u/lemper
hombre_fatal · a month ago
Functions also pollute the scope the same way. And you don't want to be forced to extract a function that is never reused just to hide intermediate values; you should only have to extract a function when you want the abstraction.

The pipeline transformation specifically lets you clean this up with functions at the scope of each ephemeral intermediate value.

ckdot · a month ago
You definitely want to extract code into functions, even if you don’t need to reuse it. Functions names are documentation. And you reduce the mental load from those who read the code.
ckdot commented on Research suggests Big Bang may have taken place inside a black hole   port.ac.uk/news-events-an... · Posted by u/zaik
johnwheeler · 3 months ago
My theory: There's no such thing as before and after “it”. It is it.
ckdot · 3 months ago
Block Universe. The more you think about it, the more probable it seems. Why should a universe pass time like a movie, if all moments could exist simultaneously? If there is no time, and it’s just a simulation formed in our brain, there doesn’t have to be a beginning nor end.
ckdot commented on Research suggests Big Bang may have taken place inside a black hole   port.ac.uk/news-events-an... · Posted by u/zaik
lukas099 · 3 months ago
Yes. Who are these people paying for jobs that don't do anything, and why are they more concerned about "keeping people busy" than their own profits?
ckdot · 3 months ago
I’m not the one you were referring to, but I have similar experiences. I’m living in Germany, and most bigger companies here have such issues. I also worked for companies in Netherlands and Island, so I assume it’s an European, if not global problem. No one is concerned about keeping people busy. It’s a systemic problem. And there are multiple reasons for it. One reason is that the bigger a company grows, the more hierarchy is necessary. But increasing hierarchy will lead to people doing the work are not the people that are most responsible for it. So we have people that should do the work but they aren’t too motivated because they are not responsible enough - they are too low in hierarchy level. And we have people that are responsible but don’t do the work. They delegate. If something goes wrong or takes too long, they will have enough time and skill to find an excuse. Another issue is that you need more people to get specific things done. At some point in time these things have been done, and you actually don’t need the amount of people anymore. But you can’t quit them because of worker’s laws. You maybe even don’t want to quit them because you think you still need them. People, of course, tend to find reasons why their own work is important. And they will communicate that. And the chance is good you’ll believe that and don’t question it enough. There are more reasons for that. But it’s a fact that in many, many companies the economical results of a lot of employees is almost zero. If you don’t believe this, just google the biggest companies in Germany, pick one, apply for an office job and start to work there. It won’t take a month until you’ll find out. Btw. I don’t want to criticize the situation too much. Probably it’s good that people are employed, even if they don’t work efficiently. Otherwise the unemployment rate would be much higher. Then again, Germany‘s economy is flatlining and a crash is not unlikely.
ckdot commented on Pope Francis has died   reuters.com/world/pope-fr... · Posted by u/phillipharris
ckdot · 4 months ago
Why is this posted on HN, even twice? It’s not like other news sources won’t announce this. The pope had its good and bad sides, but in the end we should remind ourselves he’s just a human being. It’s OK for HN to inform about people here, but shouldn’t they be somehow related to any topics HN touches? The popes was just a guy who somehow got popular because of some quite successful religion - but I’d personally prefer keep religion out of HN.

Dead Comment

ckdot commented on Are people bad at their jobs or are the jobs just bad?   annehelen.substack.com/p/... · Posted by u/moonka
ckdot · 5 months ago
In Germany you have quite high minimum wages. Unions and works committees are quite common. Labor protected laws are quite strict. Sure, not every job is fun, but living with low income is not as bad as in the US. So, are people better at their jobs? Nope. Do people work better just because you pay them better? Nope. Should people get paid better, especially those with shirty jobs? Yes - of course. But there’s no reason to believe this would improve quality of work.
ckdot commented on Python: Just Write SQL   joaodlf.com/python-just-w... · Posted by u/joaodlf
ckdot · 2 years ago
Congrats, you just wrote your own ORM. Please mind that ORM doesn’t necessarily mean ActiveRecord, which could be considered an anti pattern.

u/ckdot

KarmaCake day53November 18, 2022View Original