Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
divan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
571.
▲
by
divan
4y ago
Second this. Fascinating book.
572.
▲
by
divan
4y ago
Probably 'correctly' is not the right word here. I often code for 12+ hours straight and the only way to keep up with such a stress on eyes is to use bigger fonts and not focus too much on text (i.e. engage in a slightly defocused
573.
▲
by
divan
4y ago
Love comments sections for the iOS Dérive app: > Great game. I ended up getting lost and robbed that was so much fun can’t wait to do it again.
574.
▲
by
divan
4y ago
Sorry for unsolicited continuation of the thread, bu I was just typing a comment into StackOverflow box, and zoomed the page a bit (with pinch zoom). Page now shifts itself to the bottom and right on every keypress. Can't imagine seein
575.
▲
by
divan
4y ago
Some anecdata. I've started using Helix too, and found it surprisingly good (relearning some not-so-vim stuff wasn't a problem). But I returned back to NeoVim purely because of... Copilot. Hard to code now without Copilot, and it&
576.
▲
by
divan
4y ago
Sure, Flutter is a great example, how "web app" is just the same app with a crappy foundation layer. Actually the first time you run side-by-side Flutter app as 1) native desktop, 2) iOS (in Simulator), 3) Android (in emulator) an
577.
▲
by
divan
4y ago
Good points. But I'm not saying that all web apps are horrible. My point is it takes enourmously more effort, time and money to make web app that doesn't suck (compared to non-web alternatives). Google can afford this, for sure. L
578.
▲
by
divan
4y ago
No ad hominem please. Both examples are cool apps built with the foundation layer not designed for the task. - text markup language isn't a good choice for modern performant graphics editing apps. - excel sheet isn't a good choice
579.
▲
by
divan
4y ago
https://www.gamedeveloper.com/design/3d-engine-entirely-made... this is Doom engine in Excel
580.
▲
by
divan
4y ago
Web dev community should just acknowledge the simple fact that typesetting engine from 80s (HTML) and legacy hacks built around it (css and js) is not a good foundation for making modern apps. It's like trying to build apps with a spre
581.
▲
by
divan
4y ago
To contrast other opinions – I think it's a valuable feedback for the company. I also stopped using Feedly when realized that it has become something else than "nice minimalistic rss-reader". I settled with NetNewsWire and su
582.
▲
by
divan
4y ago
So much this. I wonder what would be the software engineering landscape today if hardware specs were growing like 10% per year...
583.
▲
by
divan
4y ago
Go hit a really sweet spot here.
584.
▲
by
divan
4y ago
That's funny how many smart people understand that web is a giant pile of hacks on top of hacks, and how incredibly important web for modern apps distribution (I bet you buy tickets, pay invoices, do you medical check ins etc on web ap
585.
▲
by
divan
4y ago
Building UIs with typesetting engine and bunch of styling classes is fundamentally wrong. CSS is broken by definition. Tailwind makes it a bit less broken on practice.
586.
▲
by
divan
4y ago
Intro definitely hits some pain points. I use Go+gRPC+Flutter stack for the last few years, and when Connect have Dart implementation, will give it a try for sure.
587.
▲
by
divan
4y ago
> Which kinda defeats the purpose doesn't it? Have you actually tried it or you just ranting that Go is not Java? Take `time.Weekday` type, for example from Go stdlib. It's a typical use of kinda enums in Go. [1] It serves the
588.
▲
by
divan
4y ago
I think people mean different things by enums. Is it just a set of constants of a given type or a sum type (aka variant type)? Go doesn't have sum types at all. `iota` is just a syntax sugar for enumerating integer constants/varia
589.
▲
by
divan
4y ago
Thanks for the mentions of IMS and QUEL – I didn't know about them. I guess the main point I disagree with you here is about "dynamic ecosystem filled with competition". I totally agree that SQL won the battle of dominance, a
590.
▲
by
divan
4y ago
Obviously Go code shown here doesn't show string enums. It's an integer enum with function that converts integer value to the string representation (by implementing Stringer interface). Which makes total sense (not every int enum
591.
▲
by
divan
4y ago
> This is why nothing has replaced it. I don't buy this logic. It's like saying Facebook is a good social network and this is why nothing has replaced it. SQL obviously is an industry standard, the first thing you learn at IT b
592.
▲
by
divan
4y ago
Some thoughts and attempt to visualize Go code in a meaningful way: https://divan.dev/posts/visual_programming_go/ And, tangently related, visualizing concurrency: https://divan.dev/posts/go_c
593.
▲
by
divan
4y ago
Oh yes, great example. It's literally "1st month, 2nd day, 3rd hour, 4th minute, 5th second, 6th year, 7th timezone" Clever mnemonic tecnhique which is much easier to use and memorize. Most people can remember "January 2
594.
▲
by
divan
4y ago
Take a look at GoBuffalo
595.
▲
by
divan
4y ago
For me it were four things: 1) no bloat 2) great tooling 3) speed, speed, speed 4) developed by legends in Computer Science To expand a little bit more: 1) Go is still the only language is not developed by analogy (i.e. let's do X be
596.
▲
by
divan
4y ago
I'm planning to write a blog post with my experience with those two (I'm using Go full-time for 8+ years and Dart for Flutter for more than 3 years). Those two languages are on the opposite extremes for me (minimalistic vs packed-
597.
▲
by
divan
4y ago
> I've personally written SQL queries for complex purposes of lengths up to around 1000 lines. How does it refute the argument about SQL being horrible for data query? Being proficient in some language or tool doesn't necesaril
598.
▲
by
divan
4y ago
EdgeQL is surprisingly good in practice
599.
▲
by
divan
4y ago
While I agree with what you've said, but "skill of SQL" makes me cringe. It sounds like some fundamental skill, like running or swimming. But it's more like "navigating your local govt bureucracy skill" – you g
600.
▲
by
divan
4y ago
Comments like yours makes me happy. I once gave a lightning talk [1] in the same vein describing project that would be typical REST/API/Cloud/App setup and ended up being just a mobile app with not servers whatsoever. Just by
More ›