Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sdegutis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
331.
▲
by
sdegutis
7y ago
I guess what I was trying to say is that it makes it so easy to write down types, even really complex ones, that it kind of gives a safety net that lets us be more creative in coming up with types than we might otherwise feel comfortable wi
332.
▲
by
sdegutis
7y ago
I've been a big fan of TypeScript for a few years, but lately I've been Considering Removing Typescript[1] from my project, because it seems to have just as many drawbacks as benefits, and the freshness of pure JavaScript is start
333.
▲
Considering Removing TypeScript
(sdegutis.com)
1 points
by
sdegutis
7y ago
|
2 comments
334.
▲
by
sdegutis
7y ago
I've never considered #9 (global namespace) until yesterday, but it seems like a show stopper for dynamic web components, whereas a system like React has components simply being JavaScript objects that can be imported and whose name is
335.
▲
by
sdegutis
7y ago
I'm not sure that's inherently a bad thing. Yes, loyalty should be rewarded, and employees should not be treated like resources but as people with inherent dignity. And I can see that its unethical to hire external workers to avoi
336.
▲
by
sdegutis
7y ago
Oh I understand. You're talking about stripping down the final Java output to not include more than what's needed, for a better end-user-experience. I was talking about which UI module to include and target from a developer's
337.
▲
by
sdegutis
7y ago
It looks a lot like SwiftUI, although I know they work fundamentally differently. I wonder if Qt could adopt that approach somehow, maybe with new C++ features, or maybe by adopting Swift...
338.
▲
by
sdegutis
7y ago
I don't see how Java modules have anything to do with the UI framework. Swing is still part of JRE and JDK, and JavaX is now a third party framework, but that's as far as I can tell how that concept is related here.
339.
▲
by
sdegutis
7y ago
That would be the "old fashioned" option, or what their site seems to call Qt GUI, and not compatible with Qt QML or Qt Quick (or Qt Quick Controls 2 which I think are just an upgrade)... I think.
340.
▲
by
sdegutis
7y ago
I've looked into Qt several times in the past two decades as a cross platform SDK for some app ideas I had, but one thing that kept stopping me is the confusing multiple offerings they had. It reminded me of Windows programming: do I c
341.
▲
by
sdegutis
7y ago
That is incredibly unethical and standard behavior for Facebook.
342.
▲
by
sdegutis
7y ago
I just edited the comment to clarify what I meant by those words. And they should be used because they are accurate in this context. Although I did convert "greed" to "avarice" in my clarification since I think it's
343.
▲
by
sdegutis
7y ago
It just occurred to me. We're in a very similar situation as Americans were 90-100 years ago when hearing about the extreme atrocities of the Nazis. Many didn't believe it, many believed it but didn't know what we could do ab
344.
▲
by
sdegutis
7y ago
What's wrong with legally limiting artificial price hikes to prevent people from abusing Demand > Supply for the sake of their greed? [Edit] To clarify, they seem to be "artificial" price hikes because they don't in a
345.
▲
by
sdegutis
7y ago
Well hatred is hatred, and everyone recognizes it. That's why even so many non-Christians and non-Catholics loved Pope John Paul II and Mother Theresa, because they were filled with love and had no hate in their hearts. Saints just lik
346.
▲
by
sdegutis
7y ago
So basically mixins, right? Those were hard to use correctly in Ruby, because you might have multiple whose behavior clash because they can access the same data and were not written with each other in mind. I wonder how Rust solves that.
347.
▲
by
sdegutis
7y ago
This is really hard to follow and I'm not sure I'm understanding it the way he intended. Correct me if I'm wrong, but he seems to be saying that, to avoid breaking consumers of your library often by changing the implementatio
348.
▲
by
sdegutis
7y ago
Check out https://www.pika.dev/packages/htm which solves exactly that problem. Personally I like it so far.
349.
▲
by
sdegutis
7y ago
Read up on St. Francis of Assisi or St. Ignatius of Loyola. They sold all their riches, gave the money to the poor, then went and begged alms everyday and gave the food and money they received to the poor people that could not beg for thems
350.
▲
by
sdegutis
7y ago
The Church has always said that the same Bible verse can have multiple true, correct meanings, as long as they don't contradict one another.
351.
▲
by
sdegutis
7y ago
> getting into Heaven doesn't feed them or provide them shelter That's quite the opposite of what Jesus says: > Then he will say to those at his left hand, 'Depart from me, you cursed, into the eternal fire prepared f
352.
▲
by
sdegutis
7y ago
In other words, "The rich get richer and the poor get poorer." Although, technically that Bible verse has significantly richer and more useful meaning than your interpretation, I don't think it doesn't mean what you said
353.
▲
by
sdegutis
7y ago
Thanks for sharing these links! My point was that I didn't know how to do this, not knowing these frameworks existed and unable to find them on my own search. You solved that issue for me. If these frameworks get more attention, mayb
354.
▲
by
sdegutis
7y ago
Not OP, but in my experience, it's harder to know how to get from System.out.println("hello world") to GET / in a browser showing "<b>hello world</b>", without adopting some intensely documente
355.
▲
by
sdegutis
7y ago
I liked a similar aspect of Ruby: attributes and 0-args methods had the same syntax, so you could easily refactor a static field into a method that returns a dynamically calculated value. Overall I don't like that feature, but that was
356.
▲
by
sdegutis
7y ago
The "Capitalization feature" is actually objectively worse because of the reason OP mentioned, of having to rename all semi-local usages when visibility changes. But good IDEs can help mitigate the difficulty of this. But even mor
357.
▲
by
sdegutis
7y ago
If you're just writing a REST API, I wonder, why did you choose Go for this instead of Java or Python?
358.
▲
by
sdegutis
7y ago
My pleasure, I always enjoy sharing what I firmly to be the truth. I guess that's a pretty common attitude here on HN, but I seem to be the only one who believes that truth is found in the Catholic Church.
359.
▲
by
sdegutis
7y ago
In some mysterious psychological way that I don't fully understand, per-pixel scrolling helps me to mentally keep my place significantly faster and easier than per-line scrolling.
360.
▲
by
sdegutis
7y ago
My reasons are whatever the Catholic Church's reasons are. The Catechism of the Catholic Church has a little more to say about it[1]: > (2425) The Church has rejected the totalitarian and atheistic ideologies associated in modem tim
More ›