News for hackers. Stuff that matters.
Re:Ask HN: What will become possible by 2025 in your field o... by nsomaru on Sunday November 17, 2019 @04:03PM (#21560035)
Enlightenment will be achieved when we develop One True Platform which marries front end and backend development so that we don’t need to maintain complex frameworks whose sole reason for existence is to make sure the computers don’t blow up passing data back and forth.
Re:Ask HN: What will become possible by 2025 in your field o... by inopinatus on Sunday November 17, 2019 @04:35PM (#21560196)
Now that the client is the MVC execution environment with the client-server interaction used mostly for data replication, plus some extra invokable server-side behaviours written in isomorphic code, we can congratulate ourselves on having more-or-less reinvented Lotus Notes.
Re:Ask HN: What will become possible by 2025 in your field o... by discordance on Sunday November 17, 2019 @05:57PM (#21560591)
Re:Ask HN: What will become possible by 2025 in your field o... by Sendotsh on Monday November 18, 2019 @06:53AM (#21563565)
$50/mth for a PERSONAL site on their cloud hosting... $300/mth if you have 2 people developing a site together, and "Ask us for a quote" if you want to host it on your own server.

Something tells me this isn't going to be the next standard in web apps.

Re:Ask HN: What will become possible by 2025 in your field o... by nsomaru on Monday November 18, 2019 @07:51AM (#21563894)
Used this before, overpriced and slow
Re:Ask HN: What will become possible by 2025 in your field o... by tiborsaas on Sunday November 17, 2019 @04:37PM (#21560199)
Meteor.com is something like that.

But more broadly, JavaScript has already achieved your vision :)

Re:Ask HN: What will become possible by 2025 in your field o... by zbentley on Sunday November 17, 2019 @04:46PM (#21560242)
JavaScript is not a platform.
Re:Ask HN: What will become possible by 2025 in your field o... by tiborsaas on Sunday November 17, 2019 @04:51PM (#21560259)
It's in the heart of the web platform. Or should I have said "the browser engine"? It works well on backend and frontend. It's the one true platform with which you can bypass any OS.
Re:Ask HN: What will become possible by 2025 in your field o... by zbentley on Sunday November 17, 2019 @11:33PM (#21561897)
It's really not. GGP was complaining about endless complexity due to data plumbing and the client server split. Just because we've managed to lift all of our massively overengineered plumbing and state reconciliation into the same syntactic language doesn't mean it's all on any sort of unified platform, much less the same one. Other folks have pointed to Meteor as an example that gets close to that ideal, and I'd also suggest Phoenix/LiveView as something that moves in that direction. However, even those are not terribly popular and still require a lot more direct engagement with the client-server-browser rube Goldberg machine than they should, I think.
Re:Ask HN: What will become possible by 2025 in your field o... by fulafel on Monday November 18, 2019 @12:17AM (#21562086)
The same language only as seen by the browsers.. Languages as seen by orogeammers (incl modern JS but also Clojure, ML, typescript etc) get compiled to compatible-JS.
Re:Ask HN: What will become possible by 2025 in your field o... by gitgud on Monday November 18, 2019 @06:26AM (#21563438)
The distinction between language ecosystem like Javascript and a platform is blurry...
Re:Ask HN: What will become possible by 2025 in your field o... by code-is-code on Sunday November 17, 2019 @05:38PM (#21560490)
Shameless self promo:

https://github.com/pubkey/rxdb

Re:Ask HN: What will become possible by 2025 in your field o... by adonnjohn on Sunday November 17, 2019 @04:16PM (#21560097)
Any projects or murmurs alluding to tangible progress in that space?
Re:Ask HN: What will become possible by 2025 in your field o... by danielheath on Sunday November 17, 2019 @06:02PM (#21560634)
ActiveFacts (the hard formalism parts are done and working, but almost none of the quality of life stuff is implemented yet)

Core idea is to start from a human-authored formal domain model (sample models: https://github.com/cjheath/activefacts-examples/blob/master/... ) and generate:

* Database schemas - warehouse, OLAP, and (planned) the ETL script between them. * Application models (for ORM etc) - the rails one is implemented. * Code generation for serialization / deserialization from the shared domain model. * (planned) automatic query extraction from type-safe templates (you write your template in terms of the domain model, and it gets automatically compiled into a set of database queries which supply the data it needs).

It's hard to learn, which is a hefty up-front price to pay, but it neatly avoids a ton of work 12+ months down the track.

Re:Ask HN: What will become possible by 2025 in your field o... by simplesleeper on Sunday November 17, 2019 @04:18PM (#21560106)
WebAssembly?
Re:Ask HN: What will become possible by 2025 in your field o... by huehehue on Sunday November 17, 2019 @04:47PM (#21560248)
I'm not even convinced current data/networking conventions are optimal. Something will come out, probably not before 2025, that will make us think of traditional network requests (and definitely the DOM) as archaic.
Re:Ask HN: What will become possible by 2025 in your field o... by tonyarkles on Sunday November 17, 2019 @05:22PM (#21560414)
Maybe this is making me sound old, but... the DOM is definitely not an optimal way of laying out a UI. It was designed for documents, and UIs have been repeatedly jammed into it until they fit. Newer CSS stuff (eg flexbox) help smooth that out a bit, but it’s still a gong show compared to actual UI toolkits (Qt, Cocoa, etc).
Re:Ask HN: What will become possible by 2025 in your field o... by icebraining on Sunday November 17, 2019 @08:31PM (#21561259)
Counterpoint: a DOM is just a tree of objects that represent a UI page/window. If you look at, say, QML, there's a DOM as well, and even if you write it in code, there's still an hierarchy of objects.

I'm not sure the DOM is the problem.

Re:Ask HN: What will become possible by 2025 in your field o... by tonyarkles on Monday November 18, 2019 @07:47AM (#21563876)
That's fair!

I suppose it's more that DOM+CSS has only recently really started to have broad support for more UI-oriented layout. Things like "make these N boxes all the same width, even if N changes" :)

Re:Ask HN: What will become possible by 2025 in your field o... by hollerith on Sunday November 17, 2019 @06:59PM (#21560911)
I keep hearing that, but I've used many of UIs over the years, and I prefer the UIs of VS Code, github.com, or Gmail to any of the UIs I can think of built with "actual" UI toolkits.

Maybe I like text more than the average user, though.

Re:Ask HN: What will become possible by 2025 in your field o... by tonyarkles on Monday November 18, 2019 @07:56AM (#21563925)
Heh, I think it's a matter of preferences really. Emacs is my daily driver for an editor. I access Gmail via Thunderbird instead of the web UI. I do use Github via a browser, but pretty much just for doing code reviews or creating a new repository. Branching etc all happens on the command line.

Looking at my current list of open apps on this machine, it's a bit of a mixed bag:

- iMessage (native)

- Chrome

- iTerm2 (native)

- Fusion 360 (uhhh something weird, dunno)

- Spotify (Electron)

- XCode (native)

- Emacs (native-ish, maybe GTK?)

- Thunderbird (native-ish, I think it's still laid out with XUL)

- Slack (Electron)

- Keybase (Electron)

One thing to note: most of the time I am in the city, but have a second home in a rural area. When I'm out there on a spotty tethered connection, all of the above Electron apps have to get closed because they lose their minds when there's a spotty connection. Slack in particular likes to steal focus/pop up over everything when it is in a loop trying to reconnect. Spotify gets into a weird state where the UI gets unresponsive. Keybase doesn't really complain much.

Re:Ask HN: What will become possible by 2025 in your field o... by hollerith on Monday November 18, 2019 @11:15AM (#21565428)
It might interest you to know that graphical Emacs on a Mac uses purely native UI APIs. No GTK.

(And I wish Chrome used those native Mac UI APIs as well as Mitsuharu Emacs does.)

Re:Ask HN: What will become possible by 2025 in your field o... by tonyarkles on Monday November 18, 2019 @12:57PM (#21566445)
I figured it might!