Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
slver
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
301.
▲
by
slver
5y ago
In theory all software is coded using a "many by default" approach. So every time batching matters, we take those batching opportunities automatically due to the way software is coded. In practice we only batch when it starts hurt
302.
▲
by
slver
5y ago
It points to the need for native software to allow collaboration and this is actually happening slowly. I still hate Figma though. It's too primitive and I'm sick of being given Figma links where the necessary resources are 50% ch
303.
▲
by
slver
5y ago
I'm curious what I'd use JSX for in a CLI :)
304.
▲
by
slver
5y ago
By the way notice the tree keeps reoccurring in other case of interfaces: - All computer languages are code, which expresses a set of nested statements and expressions (which form a syntax tree). - While XML was replaced with JSON for data
305.
▲
by
slver
5y ago
You're incoherent. You started complaining that all you want it is the ability to have custom layout & drawing logic and HTML doesn't let you escape the tree. And currently you've given up this entire premise, and you
306.
▲
by
slver
5y ago
> - constraint-based layouts https://gss.github.io/ > 60fps animations on actual HTML elements. There are plenty of demos reaching 120fps animations either with CSS, or JS in DOM, or in canvas (with or without WebGL),
307.
▲
by
slver
5y ago
> Nope. These don't make "more-or-less arbitrary relationships to each other" easier or more obvious. And they are still fully constrained to the hierarchical 2D-plane of HTML. Your requirement that a system should reflect
308.
▲
by
slver
5y ago
That would be a drastic shift of the philosophy of CSS. Which currently is: (1) CSS holds no mutable state (2) CSS selectors are all based on existing DOM/device state. "On-click" is not a state, it's an event. CSS can&#
309.
▲
by
slver
5y ago
Yeah, they're supposed to shoot and bomb other people only.
310.
▲
by
slver
5y ago
> Most (any?) other UI toolkits give you distinct "canvas" that can be in more-or-less arbitrary relationships to each other. In HTML we call this "position: absolute" and "z-index". > And if that is not
311.
▲
by
slver
5y ago
We'll always have relationships on top of (and independent of) the tree. I think we shouldn't underestimate what the tree gives us. I.e. in small fraction of cases the tree is maybe a hindrance. But if that hindrance doesn't
312.
▲
by
slver
5y ago
> You want to draw two disjoint circles and a line connecting their centers. I wouldn't say two circles connected by a line is very useful in UI to be honest. Such relationships are more commonly seen in animation software, modeling
313.
▲
by
slver
5y ago
HTML has a few kludges here and there that seem questionable on close inspection. Sure, having the "id" attribute and then referring to this id from anywhere else allows you to build an arbitrary directed graph of relationships in
314.
▲
by
slver
5y ago
Well this is why I am asking about examples where it's not the case. And still looking forward to some.
315.
▲
by
slver
5y ago
This is a thread about CSS and HTML. We're talking strictly UI and presentation. Your argument is that data dependencies and other non-UI and non-presentational aspects are not a tree. They're not. But all I said is that your UI i
316.
▲
by
slver
5y ago
The problem with forms is that they combine presentation with business logic. In any decent architecture, your UI has no business directly encoding API requests and directly submitting them to the server. But of course, this was necessary i
317.
▲
by
slver
5y ago
UI is a tree in general. Even when you render a graph, that is just a list of nodes and edges in your ui. What would be the purpose of a graph?
318.
▲
by
slver
5y ago
They're both XML-like. But they serve completely different purpose and have different semantics. E4X produces a standalone (pure markup) mutable XML node tree intended to encode data for cross-platform communication and data exchange.
319.
▲
by
slver
5y ago
Yes, different domains.
320.
▲
by
slver
5y ago
If the cache is per domain, does that mean CDN-served dependencies like JQuery and React are in fact... useless in terms of cache reuse.
321.
▲
by
slver
5y ago
It seems like object to swarm is like a data item is to a data array in array languages. However there’s a problem. It’s easy enough to send a swarm a message. Not so easy to understand back the cacophony it produces. Many actions in the wo
322.
▲
by
slver
5y ago
Curious about those swarms. What is a use example.
323.
▲
by
slver
5y ago
Look Windows has couple of odd settings, but the defaults are just fine. Some people will find reasons to tweak even if there's nothing to tweak. Been there in my teen years, but I grew up.
324.
▲
by
slver
5y ago
The problem is that if your encoding algorithm leaks, it’s game over.
325.
▲
by
slver
5y ago
You can put url shortcuts on your desktop. Also Figma is part of a terrible trend and I hate this crap as a web dev.
326.
▲
by
slver
5y ago
What you're witnessing in the US is not systems competing on their merit, but rather competing by throwing money at various social manipulation techniques, misinformation campaigns and so on. That's not diversity of thought. That&
327.
▲
by
slver
5y ago
A smartphone doesn't have super-low latency audio only because its makers have not set out to have it. The only strength of analog processors is that they're dedicated. That an iPhone SoC and run dedicated audio-only OS on it, and
328.
▲
by
slver
5y ago
Not sure if you're an iOS user, but every second apps demands outrageous subscription amounts like $10/week for an app that adds emoji on your photos.
329.
▲
by
slver
5y ago
It's very convenient to conclude "bad things happen to you? maybe you're a shitty person", but that's not how reality works. Users may not want to pay for myriad of reasons, like unfair competition, or competition o
330.
▲
by
slver
5y ago
You know, I think the "rational" approach is completely hopeless actually. You need a rational frame, but you can't inspire people by telling them how it's rational to do what you want them to do.
More ›