HNHacker News
TopNewBestAskShowJobs

romaniv

2,750 karma · joined February 2, 2011

submissionscomments
romaniv··on Firefox 55 and Selenium IDE
> there are alternatives in development that are targetting a similar niche

Which tools are out there (open source and as easy to use as Selenium IDE)?

romaniv··on Custom Elements v1: Reusable Web Components
Components with extensibility through inheritance written in a prototype-based language. Having worked with around a dozen component-based systems over the years I'm not particularly enthusiastic.

I think it would be much better for the web if browsers had a sane API for extending behaviors of any tag via attributes. This would make things easily composable and eliminate most problems of traditional component-based systems.

    <button does-stuff does-more-stuff></button>
It would be even better if people working on these specs spent some time reading research papers on how a sane component-based system could work. For example: http://alumni.media.mit.edu/~mt/thesis/mt-thesis-Contents.ht... A lot of interesting ideas regarding extensible behaviors and ease of understanding.

Edit: And yes, I'm aware of is="" functionality. It's not exactly what I'm talking about. In fact, if the specs were designed the way I mentioned, there would be no need for making anything special for built-in elements as opposed to the new ones.

romaniv··on Towards a JavaScript Binary AST
I wish I've heard/seen some of the Alan Kay talks/articles earlier in my career. The more I work in IT, the more I see the wisdom in how he sees the industry. (And I don't just mean these pop culture comments.)
romaniv··on Towards a JavaScript Binary AST
That's good to hear. Apparently I jumped all the important parts when skimming the article. Appreciate the clarification here.
romaniv··on Towards a JavaScript Binary AST
There is a serious problem when every new generations of a technology fixates on some problem of its choice and ignores all the others. The issue of binary blobs didn't go away. What changed is that a lot of developers today don't care about the open nature of the web and are perfectly fine with sacrificing it for faster load times of their JS-saturated websites.

I think a much better approach to this pronblem would be a compression format that's designed specifically for JavaScript. It could still be negotiable, like GZIP, so anyone wanting to see the source would be able to see it. It could also be designed in a way that allows direct parsing without (full?) decompression.

romaniv··on Clojure-turtle – Logo programming language in a Clojure context
It's worth learning about the roots of OO:

https://www.youtube.com/watch?v=G8X-yvDWClc

The ideas were great, but it all went horribly wrong with C++ and never fully recovered. Modern OOP has few benefits of the original vision, while introducing a lot of pitfalls that need to be constantly avoided.

romaniv··on Explaining Programming to Six-Year-Olds
If you find this kind of stuff interesting/challenging, you might want to read some stuff from Seymour Papert who dedicated large portion of his life to figuring exactly this: how to teach kids to program. His definition of "programming" was a bit broader, though.

http://papert.org/

romaniv··on Why I left Medium and moved back to my own domain
What I don't understand is why there aren't open online magazines/blogs for this kind of stuff. I.e. a blog with well-defined subject where there is some minor editorial oversight to filter out garbage, but where anyone can submit an article. This strikes the perfect balance between individual blog and a publishing platform. It can have features specific to the subject. The quality will be better. I've run a website like this with a bunch of people in the mid-00s and it was great. It had a real consistent community, and there wasn't a split between "staff" and "readers" which creates so many problems for more traditional online magazines.

The whole Web 2.0 movement vilified editor, but I think this was a great disservice to the Web. I'd love to have a website like I described above for programming stuff. It would allow me to concentrate on content, rather than maintenance of my own website and constant self-promotion.

romaniv··on Show HN: A 2D Physics Simulator in JavaScript
If you're interested in this kind of stuff, I highly recommend reading or watching something about Ivan Sutherland's Sketchpad.

https://www.youtube.com/watch?v=USyoT_Ha_bA

romaniv··on The Limitations of Deep Learning
I think it would help a lot if we brought random forests and SVMs to the same level of performance as DNNs. Demonstrating that more "mechanical" algorithms can be as efficient would dispel some of the anthropomorphism and allow for better analysis of why certain things work.

I also believe that researches have responsibility to outline the limits of their own algorithms in research papers. (For example, presenting examples that aren't recognized or data sets on which the approach doesn't work at all.) That is valuable information and they almost certainly have it at the time of publication.

romaniv··on AlphaGo beats Ke Jie again to wrap up three-part match
The official tournament page says it was only the second game. Why does the article suggest it was the third?

https://events.google.com/alphago2017/

romaniv··on AlphaGo beats Ke Jie again to wrap up three-part match
Different versions of Go have different rules for scoring.
romaniv··on Google’s AlphaGo Defeats Chinese Go Master in Win for A.I
Would that mean that a slight change in board evaluation rules would require Alpha Go to retrain all of its strategies?
romaniv··on Mavo: An HTML-based language for creating many kinds of web applications
Plug for a somewhat different take on "attribute-driven" development: https://github.com/QuickenLoans/Behaviors.js

No centralized framework. Everything is decomposed into "behaviors" that have no direct dependencies. Attributes are used for configuration and storing the running "state" of all libraries. Liberal use of CSS selectors as a kind of query language to remove the need for tree-traversal code.

The interesting thing about this approach is that it enables libraries/behaviors to interact and effectively "compose" at run-time without any direct code dependencies. It has some similarities to the idea of agent-oriented programming, which I think is a powerful idea worth a deeper look.

Of course, this is more of a proof-of-concept than a complete set of libraries needed for a complex website. However, I find this "behavioral" approach very enjoyable to use, because it makes development very immediate and incremental. Add an attribute, observe that it works, add another attribute, observe that it works, etc.

You also get progressive enhancement "by default".

romaniv··on New Surface Pro
Something that works well for a desktop with a large monitor, keyboard and mouse doesn't necessarily work well for a tablet with a relatively small touchscreen and vise versa.
romaniv··on New Surface Pro
I had really bad experience with Surface Pro 3 (lots of hardware and software issues), but I have to say this: Microsoft is trying to do the right thing here. There is no reason tablets should be dumb-down media consumption devices when they have computing power equivalent to desktop PCs of a few years ago. But to be used as real computers they must have keyboard and stylus by default and must allow to install arbitrary apps without jailbreaking and hoops.

The biggest thing that's dragging Surface down is its UI. Neither classic Windows apps, nor Metro apps are very pleasant to use on the given hardware.

I wonder what Alan Kay thinks of Surfaces compared to iPads.

romaniv··on Google I/O 2017
I've been wondering the same thing. It is why I don't like the fact that we need increasingly specialized types of computers to do ML. This is also why I am very interested in research that is not based on deep neural networks, which seem to be especially hungry in terms of training data and hardware power.
romaniv··on Robots that learn
You mean this one?

https://www.youtube.com/watch?v=ZDM33CMJvp8

https://www.youtube.com/watch?v=DIR6Rmhm3To

(I'm trying to watch all of his recent talks. Despite [or because of?] being critical of the industry, they are some of the most inspiring videos I've seen in years.)

romaniv··on Robots that learn
I think you would be surprised by how many things they imagined and even prototyped in some form. The Society of Mind videos have some very interesting historic tidbits (and more):

https://www.youtube.com/watch?v=-pb3z2w9gDg&list=PLUl4u3cNGP...

romaniv··on Robots that learn
My thought exactly. Here is a 1971 video of a robot arm stacking cubes:

https://www.youtube.com/watch?v=O1oJzUSlTeY

Obviously, it's not entirely equivalent to what's described in the article, but the point still stands.

romaniv··on Fluent Design System
Interface design is very, very important at this stage of evolution of computing, and I am disappointed in the overall direction taken by the industry in this regard. What we (desperately) need is work similar to the one that was done by Douglas Engelbart and still done by people like Alan Kay and Bret Victor. Instead we get things like Bootstrap, Metro, Material Design and now Fluent. (I am aware they are very different in scope, but their overall influence on real applications is quite similar: establishing certain wide-spread normative patterns.) Shallow and reactive things. They don't invent and define new ways of UI interactions and information presentation (examples from the past: clipping window, icon, hyperlink) and concentrate mostly on how things look.

You might counter that this is the domain of MIT Media Lab rather than Microsoft and Google, but at this stage new UI concepts have to be adopted by entities with significant influence to be adopted at all.

romaniv··on Esoteric programming paradigms
Alan Kay talking about agent-oriented computing in 1990:

https://youtu.be/275FQ9koAw8?t=7647

Very interesting view, especially considering how long ago that was and how relevant they still are.

romaniv··on Why don't schools teach debugging? (2014)
I completely agree. In fact, I think running a debugger should never be the first option. My process:

1. Read the code and think about what it's really doing.

2. If that leads nowhere, write (more?) unit/integration tests.

3. Only if the above two fail, run the debugger.

"Contemplating" code has another benefit: since you're looking at the whole picture rather than jumping line-by-line it develops your intuition about why things fail.

romaniv··on When Does a Project Need React?
>Manually handling the DOM is probably the biggest cause of spaghetti code.

This isn't true. The biggest cause of spaghetti code in "traditional" JS is due to having multiple conflicting sources of truth for the same pieces of state information (usually split between JS variables and DOM) and subsequent multi-directional synchronization.

Having a model that drives all DOM is one way to solve this. However, having "canonical" representation of your state in DOM works as well.

romaniv··on Why Slack is inappropriate for open source communications
In the good old days of ICQ and Jabber you could install a client that would integrate several protocols into a single lightweight UI (e.g. Miranda IM). Unfortunately the new wave of messengers is much more successful at guarding their protocols against such integrations.

That said, I wonder what's Discord's official stance on such things. Their bread and butter is voice chat, and they seem to be fairly open minded. Maybe they will eventually provide a public API for basic text messages.

romaniv··on Sony’s e-paper tablet is a great example of Weird Sony
Trying to replace paper with eInk isn't wise. However, those devices could have other, entirely new usages. For example, digital blackboard that consumes little power and can be remotely updated would be extremely useful. This isn't something that is possible with normal monitors because of power consumption and the annoying glow. That's just one possibility.
romaniv··on Sony’s e-paper tablet is a great example of Weird Sony
I'd buy one in a flash. Color is overrated, while the ability to work in sunlight and display an image when computer is turned off / sleeping would enable me to do things completely impossible before. Also, it would be cool if such monitor also worked as a standalone tablet/reader with long battery life. I'd be more willing to spend $700+ if it was dual-purpose.
romaniv··on The AI Misinformation Epidemic
You probably should watch that video. This is one of its core subject. Kay makes a valuable distinction between invention and innovation, and what you describe falls into the "innovation" bucket. It's incremental. Yes, our cellphones are more powerful than mainframes of the old, but do we utilize them to the same extent?
romaniv··on The AI Misinformation Epidemic
There were many advances in chemistry, medicine and biology, materials and manufacturing, but not all of them translated into something that's truly transformative as far as society as a whole is concerned.
romaniv··on The AI Misinformation Epidemic
Alan Kay spoke about it length in many of his talks.

For example: https://www.youtube.com/watch?v=gTAghAJcO1o

Excellent video. I highly recommend everyone working in or with IT to see it.

I think he is right.

PCs and smartphone are mostly recreating thing from the past, and not the best things either. However, this isn't because we invented everything there is to invent. It has more to do with how research in computing is currently funded and how companies approach invention and innovation.

← PreviousPage 9 of 30Next →