Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
90s_dev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
811.
▲
by
90s_dev
1y ago
I can't help but think some of the Swift leads just really like Haskell.
812.
▲
by
90s_dev
1y ago
So it's becoming C++?
813.
▲
by
90s_dev
1y ago
It just seems to me that this is the exactly wrong way to solve a programming problem. If the problem boils down to "I want some variables (almost always test function names) to be more human readable", the solution should neve
814.
▲
by
90s_dev
1y ago
> So, rather than writing > > @Test("Strip HTML tags from string") func stripHTMLTagsFromString() {...} > > we can instead write > > @Test func `Strip HTML tags from string`() {...} Maybe I'm just really
815.
▲
by
90s_dev
1y ago
I have not looked at Swift since I last wrote some around maybe v3. I hear that it's generally not a competitor to Rust, and is only really useful within the Apple ecosystem. Why is it not more useful as a C++ alternative, since I thin
816.
▲
by
90s_dev
1y ago
The signature looked compatible with JSX to me. You could probably easily create JSX functions that just use $ internally, and make your web build tool's react-auto-import setting point to it.
817.
▲
by
90s_dev
1y ago
The two downsides you list ("lack of community" and "lack of ecosystem") are not really downsides. If something is good enough, people will simply adopt it out of excitement, and those two problems will disappear entirel
818.
▲
by
90s_dev
1y ago
Why would that even be a good thing? Religion is inherently above politics. Politics is concerned for the temporal good of its subjects. Religion is concerned for the ethical and spiritual good of its subjects. Politics are short sighted an
819.
▲
by
90s_dev
1y ago
I hope this Pope recognizes that the only way to lead is a personal martyrdom of self interest. A true leader must pave the way, not merely point to it. "I must decrease so that my children can increase" in the words of St. Jo
820.
▲
by
90s_dev
1y ago
I wonder if this is related to that bare metal bios os post from a week or so ago. I asked the author why he used tty asm calls to print instead of calling int 10 directly and he said it was more efficient, but for different reasons. https
821.
▲
by
90s_dev
1y ago
I'm not, but I see how it sounded that way. I'm just picky lately. I can relate to most people on at least something, and can make friends easily. I don't struggle with that. I just don't care about those interests enoug
822.
▲
by
90s_dev
1y ago
Wow you're right. To be fair it was about 9-10 years since I last tried it, so either it didn't have that back then, or I forgot that it did.
823.
▲
by
90s_dev
1y ago
> You stop performing. You stop pretending. And that’s freedom. Reminds me of a talk Ian McKellen gave somewhere, where he says that we're always wearing costumes and acting. I can relate, I've acted when I was younger, to try
824.
▲
by
90s_dev
1y ago
I definitely feel ageless most of the time. Not "kid at heart" in a foolish way like Will Ferrell. Not "fine wine aged" like Ian McKellen. I'm just... me
825.
▲
by
90s_dev
1y ago
> often blamed for the world’s problems or pitted against younger generations Generation pitting is a red herring. Divide and conquer has always been a useful technique to distract from the real causes, usually by those behind them.
826.
▲
by
90s_dev
1y ago
JetBrains IDEs always had difficult and unintuitive default keyboard shortcuts. I think it's just because of its age (same is true with Visual Studio). Whereas VS Code's out of the box shortcuts were relatively great. If JetBrains
827.
▲
by
90s_dev
1y ago
This is the reason I stopped trying to write high-level tools that change every 1-2 years, and moved to creating/publishing low/mid-level tools that should still be relevant in 10 years. In other words, instead of creating Jekyll,
828.
▲
by
90s_dev
1y ago
I like so much about Rust. But I hear compiling is too slow. Is it a serious problem in practice?
829.
▲
by
90s_dev
1y ago
> Would you store all your ~/ in something like SQLite database? Actually yeah that sounds pretty good. For Desktop/Finder/Explorer you'd just need a nice UI. Searching Documents/projects/etc would be the sa
830.
▲
by
90s_dev
1y ago
> Is there a principle for such a thing? Confirmation bias.
831.
▲
by
90s_dev
1y ago
True, but there's also the bored engineers who just can't force themselves to write enterprise code unless they make it fun for themselves . I'm absolutely convinced this is why Clojure even exists and is so widely used
832.
▲
by
90s_dev
1y ago
Someone's tweet from about 15 years ago (paraphrased from memory): "We rewrote 200k line Java codebase in only 50k lines. Guess what language we used?" The follow-up tweet a day later: "It was Java."
833.
▲
by
90s_dev
1y ago
A trick I used to use is to check during my custom build step whether the image is under 1k, and inline it if so, otherwise add its hash to the url and add a preload to the html header. I'm trying to get back to that in my latest custo
834.
▲
by
90s_dev
1y ago
Also you don't need to separate :root from html in your code, they're always the same here, so you can save a couple lines by joining them.
835.
▲
by
90s_dev
1y ago
I've been experimenting with minimal blogs for about 15 years. Some tricks I learned: * You can get away with const title = lines.match(/# (.+)/)[1] and avoid frontmatter. * My blogs never have so many posts they need paginat
836.
▲
by
90s_dev
1y ago
Thanks for answering my questions. Your project is really really interesting. Two more questions if you find some spare time: 3. Why does it use tty for interrupts instead of directly calling int 10? 4. How does this even print to the scree
837.
▲
by
90s_dev
1y ago
Two questions: 1. I just saw how str_print is implemented. It's so short even though it's asm. Is this why nul-terminated strings were so popular and became the default in C? Would pascal strings be much longer/uglier/ha
838.
▲
by
90s_dev
1y ago
Sorry, it's just not meant to be.
839.
▲
by
90s_dev
1y ago
Proudly zero. I just wrote and posted an article explaining why. The short version: genuine engineering is an abandoned skill I want to revive.
840.
▲
Where Are All the Engineers?
(90s.dev)
1 points
by
90s_dev
1y ago
|
0 comments
More ›