Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmitriid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
421.
▲
by
dmitriid
4y ago
No, they couldn't. There are too many places where the identation can go either way. Just because you paste a bunch of code after `then` in Python doesn't mean all of it goes into `then`.
422.
▲
by
dmitriid
4y ago
Unusable unreadable unnecessary complex abstractions in a language that doesn't need them. Also, extremely non-performant. As you can see even in the blog post: straightforward readable code using built-in functionality is turned into
423.
▲
by
dmitriid
4y ago
Nothing surpassed Delphi from early 2000s. Not even WinForms.
424.
▲
by
dmitriid
4y ago
People wanted applications and app-like behaviour in the browser. And browsers are uniquely uneqipped to deal with that: - the core if the web has been, is, and will forever remain a system of displaying static text with a couple of image
425.
▲
by
dmitriid
4y ago
> try! and '?' is just a syntactic convenience for passing error returns to the caller. Indeed. Because manually handling those are a pain in the butt. So they made a shortcut. That still needs to be handled by someone up in th
426.
▲
by
dmitriid
4y ago
Ramda is what you get when people try to zealously make Haskell out of Javascript. The same happens in many other languages where people try to force Haskell idioms into languages. Edit. For some reason people equate "functional"
427.
▲
by
dmitriid
4y ago
> the latest round of systems programming languages which all use error unions instead of exceptions have demonstrated quite clearly that exceptions are actually quite pointless. What they have actually shown is that error unions are not
428.
▲
by
dmitriid
4y ago
> They could accomplish that by simply killing off the Mac Pro line. In the time after the trashcan Mac Pro they lost a significant portion of the professional market. And while that market is relatively small, it's highly influenci
429.
▲
by
dmitriid
4y ago
> Ummm... I sell web apps. Many major vendors have products that are, at heart, web apps. Progressive web apps, web apps, electron, phone gap, Cordova, capacitor, etc. I find this observation a demonstration of your ignorance of this mar
430.
▲
by
dmitriid
4y ago
> Why and what you can't achieve from HIG? I gave you examples, and you dismissed them because "vendor lock in is bad" and "I don't see what this has to do with native vs web". > ??? There's no modal
431.
▲
by
dmitriid
4y ago
Vista is 2006. In 2006 KDE was version 3.5 and hopelessly cosplaying a WinXP theme. KDE 4 from 2008 was hopelessly cosplaying MacOS. So yeah. Influences are very apparent.
432.
▲
by
dmitriid
4y ago
Some of those are stretch to call pressure and innovation (CLI? It's old as computing). Some of those are perhaps coming from "pressure" from Linux (some tiling possibilities). Then you go on to confuse developer tools with d
433.
▲
by
dmitriid
4y ago
> The native bias here is crazy. Most users just don't care and can't tell if they are on something that's native vs a web view. They can. You just don't know how to listen. "It's slow to open", "i
434.
▲
by
dmitriid
4y ago
And microservices. asp.net is quite good for it, it turns out. I now know of several companies developing their backend stuff in C#.
435.
▲
by
dmitriid
4y ago
> Sure you can No you can't. > we’re back to why vendor lock-in is bad. Ah yes. There are some unknown theoretical HIGs that you can follow which don't exist and don't reflect the actual platforms that people, you know,
436.
▲
by
dmitriid
4y ago
I don't lose a tab among hundreds others if I need to reference something. It has all the necessary navigation on-screen (language switch, search inline, table of contents) Don't get me wrong, wikipedia website is also brilliant:
437.
▲
by
dmitriid
4y ago
Java is 1995 C# is 2000. And Windows-only for a very long time.
438.
▲
by
dmitriid
4y ago
Ah yes, this mandate will immediately make all APIs across all OSes the same
439.
▲
by
dmitriid
4y ago
Depends on the app. For example, I'm using Wikipedia's excellent native app even though Wikipedia is basically text-and-images only site. I could imagine a nice native app for Hacker News, too
440.
▲
by
dmitriid
4y ago
> Web won’t beat native on mobile phones Honestly, it won't beat anything anywhere, but people do keep on trying to make it work.
441.
▲
by
dmitriid
4y ago
> They deliberately removed flash as a form of application delivery, because they know that it can be good That is definitely not why they removed it. All the reasons Jobs listed against Flash were 100% true and a year later Android foll
442.
▲
by
dmitriid
4y ago
> You can write native apps that don’t follow HIG and you can write web apps that follow it. You can't write a web app that properly follows a single OS's HIGs, much less multiple OSs'.
443.
▲
by
dmitriid
4y ago
> Not sure how much of that is necessary. I mean, a button doesn't "look native", so what? It's a button. Is it? Native buttons also come with things like affordances, accessibility, recognizability. "So what&quo
444.
▲
by
dmitriid
4y ago
> The result is that you're looking at a class with a dependency of "ISomething" and you can't click through to the class. You can. Jetbrains' Rider will happily show you the implementation (Cmd + Option + Click
445.
▲
by
dmitriid
4y ago
> I mean, much more. Because Google is a web advertisement company that dominates many large spheres: search, browsers (including standards committees), email, mobile (Android is 77% market share) etc. All are things that we've come
446.
▲
by
dmitriid
4y ago
This is ethically dubious: "Chrome prompts you to opt-out of metrics collection on install.". Because the default should be "opted out by default, let the user opt-in if they so wish"
447.
▲
by
dmitriid
4y ago
> It's fine that this is all new to you, but it's not new to you because anyone has kept this secret. At this point, you've chosen to remain ignorant. Ah yes. Blame the user for not understanding yet another piece in Googl
448.
▲
by
dmitriid
4y ago
There's nothing declarative in asp.net. You specifically define services and dependencies in one place in code. It goes something like this: public void ConfigureServices(IServiceCollection services) { // Add frame
449.
▲
by
dmitriid
4y ago
I skimmed the post. Looks like asp.net approach of registering all dependencies up front (with various lifetimes/scopes). Still looks very verbose. But then asp.net has had a decade, and this project is new.
450.
▲
by
dmitriid
4y ago
> In the meantime I don’t know what people have against using @spec. It's not ergonomic enough (you end up writing function definitions twice). And there's very little tooling to help automate the process: if you return the res
More ›