Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yen223
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
541.
▲
by
yen223
2y ago
I assume they mean most of the catchy .com domains are crazy expensive nowadays, if they are even available.
542.
▲
by
yen223
2y ago
This is Java, so you should always do `Object.equals(urlA, urlB)`, on the off-chance urlA is null! (I do not miss working in Java haha)
543.
▲
by
yen223
2y ago
Something I'm pretty convinced of is that the domain no longer makes a real difference to anything, unless you have one of the spammy ones (.biz, .info) in which case those can be detrimental.
544.
▲
by
yen223
2y ago
If you do Kotlin, the TODO() function is very useful.
545.
▲
by
yen223
2y ago
When you do equality checks on two URL instances, it checks to see if they resolve to the same IP address by hitting up DNS. This is problematic because equality checks happen implicitly all the time, e.g. if you're putting URLs into a
546.
▲
by
yen223
2y ago
Something curious I noticed: while this comment was posted "6 hours ago", when I click reply, it instead says that the comment was posted "3 days ago". Is this happening to others as well? From digging around it looks li
547.
▲
by
yen223
2y ago
Per-capita values of countries with low population tend to be vulnerable to high variance
548.
▲
by
yen223
2y ago
A lot of things are Turing-complete. The funniest one to me are Powerpoint slides. https://beza1e1.tuxen.de/articles/accidentally_turing_comple... https://gwern.net/turing-complete
549.
▲
by
yen223
2y ago
The fact that Java forced you to write types, and then made everything implicitly nullable so that you still get NullPointerExceptions at runtime after writing out all those types, was probably a big reason why dynamically-typed languages b
550.
▲
by
yen223
2y ago
Java and Typescript have fundamentally different type systems, that lead to drastically different ways to approach types. Utility types, like Partial<T>, are basically impossible to represent in Java except with almost-duplicated clas
551.
▲
by
yen223
2y ago
Kotlin + Jetpack Compose is my absolute favourite way to build apps. Jetpack Compose feels underrated around here. It basically has most of the upsides of React, but with far fewer downsides. If it weren't for the fact that it's b
552.
▲
by
yen223
2y ago
I loathe to say this, because I still have a soft spot for the language, but you could say the same thing about Python development in 2024
553.
▲
by
yen223
2y ago
I know that you shouldn't , but I'm curious if anyone did . I don't think it is impossible to use Clickhouse as a backend to a CRUD app, if you didn't particularly care about things like transactional guarantees or rea
554.
▲
by
yen223
2y ago
I would be curious to know if anyone tried using one of the newer data-warehouse databases (Clickhouse, Snowflake, etc) as an OLTP database, to run their crud app.
555.
▲
by
yen223
2y ago
Where were those tangerine poems copied from?
556.
▲
by
yen223
2y ago
Newsreaders on the ABC are reading off paper notepads lmao
557.
▲
by
yen223
2y ago
The article does touch on the two things that are realistically within your locus of control. There's only so much you can do to change how trustworthy someone else is, but you can a) change how trustworthy you are to others, and b) id
558.
▲
by
yen223
2y ago
Ask yourself what kind of project you want to work on, and go from there. You want to do web stuff? Learn Typescript + HTML + CSS You want to do iOS apps? Swift You want to do Android apps? Kotlin You want to do AI stuff? Python You want to
559.
▲
by
yen223
2y ago
Care about the problem, not the solution. If some framework solves a problem that you don't have, then you don't need to worry about the framework.
560.
▲
by
yen223
2y ago
We currently lack the imagination to come up with a system of programming that doesn't involve lots of text. Handling lots of text is a terrible user experience on a small touchscreen. I don't think it's impossible to come up
561.
▲
by
yen223
2y ago
In some sense, all programming is visual. Our methods of programming are not designed to be listened to, or felt. They are designed to be looked at. This has the interesting effect that we care more about how code "looks" more tha
562.
▲
by
yen223
2y ago
"So i personally would move up the requirements chain, where the requirement to allow "html" should be scrapped, and instead changed to be something like markdown - a pre-existing formatting protocol that does not have the un
563.
▲
by
yen223
2y ago
You are right in that it is solved if the goal is "I don't want any part of the string to be treated as HTML" It's trickier if the goal is "I want to allow <strong> and <em> tags in the string to be rend
564.
▲
by
yen223
2y ago
Kotlin does this https://kotlinlang.org/docs/functions.html#named-arguments
565.
▲
by
yen223
2y ago
Yeah, one of the annoyances I have with using Enums, even in other languages, is that its serialised value isn't always obvious. Something like direction.NORTH could serialise into "NORTH" or some integer, depending on the la
566.
▲
by
yen223
2y ago
Numbers are hard to remember, but pizza is easy to remember
567.
▲
by
yen223
2y ago
Lee Kuan Yew, the founder of Singapore - a tropical nation - famously claimed that air conditioning was one of the most important inventions, as it "changed the nature of civilization by making development possible in the tropics"
568.
▲
by
yen223
2y ago
Nah, I'd rather give more visibility to programmers who are actually doing a social good. Mercenary programmers - which describes most of us - are boring.
569.
▲
by
yen223
2y ago
Unit tests are fuzzers if your system is chaotic enough
570.
▲
by
yen223
2y ago
Well, you've got your wish. Every damned website now looks the same. Whatever creativity the early internet promised has now been snuffed out to appease the user-metrics gods.
More ›