Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
James_K
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
691.
▲
by
James_K
3y ago
> can express your notion of streams with pipes to input files Not if you've disabled syscalls. As it turns out, process isolation is incredibly complex. Millions of lines of code between in kernels and container systems are dedicat
692.
▲
by
James_K
3y ago
I feel like people who do this achieve it more by practice than some generalised intelligence. Most of the popular puzzles seem to revolve around essentially just tying different arithmetic combinations until you find the set of sums that e
693.
▲
by
James_K
3y ago
> To break the JVM protection boundary and access the filesystem only requires finding a JVM runtime breach or a vulnerable library to access the otherwise inaccessible filesystem class. CPUs also have bugs in them, and those are much ha
694.
▲
by
James_K
3y ago
The binary format is always the same, you need to get to machine code at some point. The difference is how you get there. > it honestly does not matter for any sufficiently complicated product how it's shipped. I think this opinion
695.
▲
by
James_K
3y ago
> You know that a main function is not really the only way to do programs right? > there is no requirement at all that ELF binaries are stripped of useful info Yes, you can add useful information to a program. This is what I'm ad
696.
▲
by
James_K
3y ago
> I think you're overoptimistic regarding what you can do with the source code Suppose you have a Java function. If you remove the file-system class at a system level, what can that code do? It's pretty easy to isolate it so th
697.
▲
by
James_K
3y ago
I know all that. The process you describe is the OS verifying the behaviour of software as it runs. >That’s a nice idea, but doesn’t really hold up to scrutiny It does actually. The kind of attack you describe only works because software
698.
▲
by
James_K
3y ago
> Machine code does not require granting anything It requires that you actually run software on your CPU before you can tell if it's malicious or not, by which point it is often too late to do anything about it. Almost all malware t
699.
▲
by
James_K
3y ago
An program sits on top of hardware and can act as a go-between. Think of the web browser, or the JVM. Both insanely popular by virtue of providing the basic features I describe, and also evidence that they needn't even be integrated to
700.
▲
by
James_K
3y ago
> Running a native binary doesn't give it access to anything inherently While this is true from a certain perspective, machine code creates a system which must grand access to many things to become usable. A shared file system is a
701.
▲
by
James_K
3y ago
It has always seemed quite obvious to me that dealing in machine code is a flawed approach for distributing software. At the most basic level, it entails giving someone else near unfettered access to the hardware of your computer and simply
702.
▲
by
James_K
3y ago
The fact that users prefer a non-animated widget to an animated one seems exceedingly relevant my statement that users prefer widgets that react instantly over animated ones. I would even call it a strengthened goal. If you accept this conc
703.
▲
by
James_K
3y ago
I don't really have much of an issue with it. It's got bad vibes by association. I find it a little annoying how much stuff is done with text, and this is just a small part of that.
704.
▲
by
James_K
3y ago
In this case, it is absolutely true. It is the difference between: // some comment and // some comment // additionally see ./diagram.png Diagrams are often useful tools for communicating in
705.
▲
by
James_K
3y ago
I would love to see more UI done in this style. That is to say treating your business logic as an API and then exposing it publicly to clients on different platforms.
706.
▲
by
James_K
3y ago
> Rather than addressing the clear premise of how you'd respond to sweeping, arrogant, and unsupported criticism by arrogant laypeople Except I did address that in the next sentence[1]. Maybe you should read my comments before you
707.
▲
by
James_K
3y ago
You don't need to get so annoyed on someone else's behalf. I am just putting my opinion out there – specifically that I would prefer just an image file that is referenced from a comment. I'm sure this person knows what an ima
708.
▲
by
James_K
3y ago
Writing documentation is typically an addition to writing comments. They serve different purposes. That said, adding a diagram to a comment will only make it easier to read. It is an addition. It cannot make things harder.
709.
▲
by
James_K
3y ago
If you feel the need to embed giant ASCII diagrams into a source file, I think you should just use a picture. Like a .png or .svg or something and write the documentation in another file. Or even maybe try out rich text source code.
710.
▲
by
James_K
3y ago
The text contrast on this website is awful.
711.
▲
by
James_K
3y ago
So you used an ASCII drawing tool to draw these diagrams in text then took a screenshot of them and uploaded to your website? That seems like such a convoluted way to draw a few rectangles. Isn't there an easier way?
712.
▲
by
James_K
3y ago
> Read the comment I wrote initially This is why I call you conceited – the only reason people can disagree with you is because they are stupid or because they haven't actually read what you said. You seem so confused by the fact th
713.
▲
by
James_K
3y ago
> appropriately applied animations Appropriately applied anything is good. I am disputing whether this is an appropriate application. > How conceited of me to not scramble to go grab citations This what not conceited. There is nothing
714.
▲
by
James_K
3y ago
I agree. I don't have any issue with animations that I don't notice. So why bother with them? It seems like the best way to avoid me noticing something is not to put it there to begin with.
715.
▲
by
James_K
3y ago
> I'm far beyond the age where I feel compelled to pretend random developers' uninformed opinions on design are as useful as mine. Yet your opinions are also uninformed. Or you've done precious little to convince people ot
716.
▲
by
James_K
3y ago
Actually I think you should re-read my comment. I'd also love to actually see the research you're talking about here. > I assure you I've thought about this. And explored it, researched it, tested it, prototyped it, interv
717.
▲
by
James_K
3y ago
Switches in the real world tend to snap almost instantly from one end to the other. That is the defining feature of switches – that they don't have a slow transition between the states. This animation stuff isn't realistic, and ev
718.
▲
by
James_K
3y ago
Can you back up this opinion with any kind of coherent argument? Because the problem is "people can't see the screen" so I feel like displaying something on the screen might not solve it. By contrast, you would definitely kno
719.
▲
by
James_K
3y ago
Surely this only happens because someone wasn't looking at the screen while they were making the input. They could just as easily miss whatever animation is attached to the number changing. The real solution here is to provide some kin
720.
▲
by
James_K
3y ago
> even "feel" does matter to most users And I think most users would prefer software that does stuff instantly. Attaching little animations to everything is just silly and distracting. It only happens because someone had nothin
More ›