HNHacker News
TopNewBestAskShowJobs

romaniv

2,750 karma · joined February 2, 2011

submissionscomments
romaniv··on DigitalOcean now supports FreeBSD
IMO, just having something of the quality of FreeBSD's handbook (https://www.freebsd.org/doc/handbook/) is a significant point to consider. It is the best piece of documentation for a system I have ever read.
romaniv··on I Owe It All to Community College
I'm glad that it worked for him, but my community college was a complete waste of time with the exception of two (just two!) courses and the internship program.

I think the true way forward is in replacing community colleges with certificates from online courses (with some in-person labs, probably). It's cheaper and would make for better quality of education.

romaniv··on I Owe It All to Community College
FAFSA documents are not complicated to fill out, but the overall process require you to spend some amount of time on jumping through various hoops. Also, it has prerequisites and conditions you need to keep track of. For people who are short on money (and therefore time) all of that has significance.
romaniv··on Man saves wife’s sight by 3D printing her brain tumor
Think about the some of the implications of that statement for a while.

Hm, people with 6-digit salaries and doctoral degrees whose main job is to figure out diseases perform worse than some random dude? That's the first thing that comes to my mind.

romaniv··on The Scale of AWS and What It Means for the Future of the Cloud
I happen to trust AWS with my data.

Yeah, so let's host everything in the world on the servers of a single company. What could possibly go wrong?

romaniv··on The Tears of Donald Knuth
I have noticed the same thing in a different context. When I was still in college, many art classes were essentially about historic trivia, paying absolutely no attention to the intent of the artists, the ideas they tried to express, and what they said about their own work. It was 99% about context and maybe 1% about content. The art was treated as a kind of societal byproduct.

Now that you have mentioned it, inventors and technology are treated in a similar fashion. Not sure why. Maybe because historic biographies adopt their methodology from general history where kings and generals are simply dots in a larger picture that does try to describe the society of the time?

romaniv··on Teaching Deep Convolutional Neural Networks to Play Go
I wish there was something using DNNs that users could train and use without writing code or connecting to some centralized service. It would help to get the "feel" for how good these algorithms are. Something moderately general-purpose, I mean. However, it seems that mapping them to the problem domain is an art in itself.
romaniv··on Deep Neural Networks Are Easily Fooled
You're making a comment in response to a specific research paper. Therefore, I interpret the comment within the context of that paper. So you're implying that the paper is "focusing on a narrow weakness which may not actually be that relevant for the general case". I disagree.

Any 2d image is an optical illusion, so it makes no sense to criticize human image recognition based on it being 'fooled' by illusions. The real criteria for whether image recognition works well or not is altogether different.

romaniv··on Deep Neural Networks Are Easily Fooled
Yes, of course, what constitutes sensible image recognition is just a matter of opinion, and opinions of some algorithm are as valid as yours. In fact, my pseudo-random number generator seeded with image binary accurately recognizes 100% of images I give it (based on my newly developed definition of image recognition).
romaniv··on Deep Neural Networks Are Easily Fooled
The whole point of this paper is that these 'illusions' look like noise to humans and make no sense in relation to real-life objects, and you're hand-waving it away as if it was some insignificant, tangential technicality.

-

I'm willing to bet that in late 70s many people also thought that rule-based systems could lead to real AI if they were "more complex" and had more computing power available.

romaniv··on “This” in JavaScript
I see that some people are slowly redefining the word "simple" as applied to programming languages. A 4-point bullet list that still requires knowing about typical caller behavior is hardly "simple".
romaniv··on Yahoo Mail moving to React
You develop a language that is sent to the client in plain text. Then you write a lot of code in it. Then you realize that with so much code, file transfers take too long. You write a utility to strip out spaces and comments, as well as change variable names so files are smaller. Okay, so now you have unreadable plaintext files. After juggling minified and unminified version of the same code for some years you realize that debugging like that sucks. You develop a new format that allows you to map minified and unminified files. This format requires support on the browser side, as well as in the minification utility, and it also requires the author of the minified library to provide you with two additional files. You declare victory and pat yourself on the back. The whole process only takes a few years.

Meanwhile, people debugged binaries for several decades before your language even been developed.

Do you see anything wrong with this picture?

romaniv··on Yahoo Mail moving to React
You do not have to re-draw the canvas during transitions. Believe it or not, it is possible to do AJAX declaratively and with progressive enhancement. My approach is to develop forms normally, then add a directive that intercepts them via AJAX, "cuts" certain pieces of the target page and "pastes" it into the current page. It is a very simple, generic and flexible approach. The markup looks like this:

  <form action="/something" submit-to="#x, #y"></form>
  <div id="x" />
  <div id="y" />
Normally, the only thing I need to add to go from non-AJAX to AJAX is submit-to="[CSS Selector Here]". Possibly, some IDs. Everything else works automatically. The library adds a certain attribute to the "pasted" parts, so I can add visual transitions via CSS3. I can use form's action URL to rewrite current URL via push state.
romaniv··on Yahoo Mail moving to React
Highly debatable. I've had great success developing highly dynamic websites using progressive enhancement and directive/web component like approach.

People often smirk when I mention progressive enhancement these days. But the same people often claim that something is "impossible" to do using PE, while it's not only possible, but downwright easy. This makes me think most of them never even tried this approach seriously.

My overall strategy is creating some crude "date model" of the application in pure HTML, then identifying additional behaviors I need to make it look/work the way I really want to. I implement each behavior as separate JS libraries. The libraries are configured by adding additional directives to my markup, so using and re-using them requires no coding per se.

You would be surprised how much you can accomplish this way. Moreover, it forces you to write highly reusable components that are easy to reuse.

CSS3 is a great help in this regard, because (in most cases) you do not have to specify look-and-feel of anything in the library itself. You can simply generate some additional markup that can be styled separately for every app.

romaniv··on Yahoo Mail moving to React
The notion that SPA automatically gives you better user experience is a fallacy. Better UI design gives you better user experience, and good UI design is possible using the classic approach to web development. As an added bonus, you get searchability for free and you don't have to move away from your existing server-side stack.
romaniv··on Yahoo Mail moving to React
Same here, to a greater extent. Why? At the highest level, because it's a language that was chosen based on a whim (not merit) and is now being extensively worked on and showed down everyone's throats. I like languages, plural. I like new languages. I like to have a choice. (And no, I cannot "simply chose something else" if I have to work with people who say every other choice is invalid by default. And yes, this is the mentality I commonly see.) In a way, JavaScript is the new Java.

The core language (syntax, available directives) hasn't changed much since the time everyone deservedly hated it. Its performance was optimized, it got many more libraries and it is still the only language supported by browsers. But the question is, why all of this applies to JavaScript and not Python/Ruby/whatever?

A lot of its benefits people claim simply weren't around when they chose to stick with it. It's like saying you chose IIS over Apache because of features of C# 5.0 and ignoring the fact that you chose IIS in 2004, where C# 5.0 was not around. It's a dishonest argument.

Speaking of which. How can people claim that JS benefits from the same language running on client and server when 90% of server-side libraries do not work on the client and there are potentially major differences even in core library (e.g. forEach)?

Also, a huge part of JS ecosystem are kludges, crutches and workarounds that make the stack way, way more complex that it should be. (E.g. source maps. Imagine someone minifying PHP for faster parsing and then asking everyone to use some source mapping technology for debugging. They would be laughed out of any conference or discussion.) This mentality permeates everything. I mean, seriously, require directives need to be implemented as a library? Namespace isolation is a closure-based hack? Can you imaging stuff like that being tolerate for any other language?

romaniv··on Yahoo Mail moving to React
I think your answers to 2-3 are not real answers. You're not giving an explanation that would convince someone who doesn't share your opinion. You're simply saying that you don't care about there concerns with nothing to demonstrate that your viewpoint is somehow more valid.
romaniv··on Yahoo Mail moving to React
You're moving to an entirely different stack simply to make a web app searchable? After you chose to use an architecture (I mean SPA paradigm) that doesn't work with search engines very well? I just don't get it. No, really. I know that's what many people do, but I still don't get it.

It is possible to build extremely dynamic websites that are not SPAs. It is possible to do it in a relatively straightforward fashion. (Using something similar to web components.) So why move?

romaniv··on Principles of Rich Web Applications
Open Source needs to be used first. Do you want to rely on websites implementing something like spell-checking? In your native language? I don't. I want common problems to be solved in the browser and I want to have some reasonable control over my browsing experience and some consistency - something SPAs actively undermine.

How are SPAs different from Flash? Sure, you have some remnants of standard HTML there, but with canvas, local storage and JS compilers, those two technologies look remarkably similar both in terms of advantages and problems. You get a blob of non-semantic, imperative code that does non-standard things.

The funny thing is, many of the stated advantages of SPAs can be easily implemented in document-based web apps. A lot of the repetitive info could easily be removed with proper caching, and it would be even more efficient with cacheable client-side includes. Not only it would be roughly as efficient, it would require much less work to implement.

romaniv··on Principles of Rich Web Applications
The future is decentralized, web included.

Decentralized work is a bad thing. Instead of Mozilla/W3C solving some problem for everyone, we get every website coming up with their own clever solutions for nearly everything. (Also, thousands of clients re-doing the work that could be done once and served from cache.)

Also, single-page apps increased reliance of the entire web on the handful of CDNs and framework providers.

romaniv··on Suicide, a Crime of Loneliness
If you arrive at the conclusion that there is no point to any of it, why not end your life on your own terms?

Because... If you don't believe there is any point to life, what makes you believe there is any point in death? At least with life there is a possibility of change, and capacity to help others who don't share your outlook.

romaniv··on I Had a Stroke at 33
Problem is, there are tons of other diseases that look like stroke. Migranes, epilepsia, etc. IF you have one of those, going to ER every time you have something weird going on will suck you dry of money and your doctor will probably start treating you like an hypochondriac. There is no subsystem in US health care to handle this. Your primary care physician probably sucks and not available when you need them the most. ER does not care, prone to misdiagnosis and like to dope people on drugs before figuring out what's wrong. Been there, seen that, and it makes me really angry.
romaniv··on Cosmos Browser – Connect to the Internet via SMS, no data or wifi required
Running arbitrary JavaScript on your server will likely cause performance, security and compatibility problems. It's not practical at large scale, and it's not something that would "fix" all the use-cases anyway.

Also, very few companies and no individuals will have the same technical capabilities as Google with it's horde of developers, years of experience in the domain, billions of dollars and ability to control everyone's visitor stream. They shouldn't be the only company that can effectively innovate in this field.

romaniv··on Cosmos Browser – Connect to the Internet via SMS, no data or wifi required
Very insteresting, but...

The backend takes the url, gets the HTML source of the website, minifies it, gets rid of the css, javascript, and images, GZIP compresses it, encodes it in Base64, and sends the data as a series of SMS's.

This is yet another interesting idea that will get screwed up in practice because of massive overreliance on JavaScript in modern web development. This is why developers should do progressive enhancement. There are a lot of thing that are possible with declarative markup that are not possible or not safely feasible with imperative code, which generates things on the fly.

romaniv··on It's not too late to ditch the ad-based business model and build a better web
I don't get why Internet can't be funded the same way as Kickstarter campaigns. No ads, but only the people who want to pay actually pay.

I run several non-personal websites. I pay for them because the cost is simply not significant to me. (Getting time to do administrative stuff is much more costly, but that's moistly a matter of bad tooling.) It's not because I'm a billionaire. It's because running a website, even a website with thousands of registered users, is dirt cheap if you it efficiently. When you get to the scale of hundred thousand registered users things begin to get more complicated. But only a fraction of the Web really needs to be that big.

romaniv··on What's the matter with PGP?
I have a feeling people who think they're using a secure cryptosystem will speak much more freely than those who don't--meaning that the net effect of convincing users to use "bad crypto" is giving the global passive adversary† more interesting morning reading.

I'd rather have that than the society where everyone silently accepts global surveillance as a norm and treats any kind of self-expression that gets you into trouble as pure stupidity on the part of the speaker (e.g. blames the victim).

What we have right now is a vicious cycle. "Normal" people have no cryptographic capabilities. So they simply adapt their beliefs and behavior to this reality. This makes them think of themselves as different from people who do have cryptographic capabilities. This means they develop "us and them" mentality and can no longer empathize with anyone seeking any level of digital privacy. This means there is no popular support for crypto. So "normal" people have no cryptographic capabilities.

I believe that "consumer cryptography", even if it's weak, would break this cycle.

romaniv··on What's the matter with PGP?
This elitist attitude is why I have no faith in typical "security experts" improving the overall situation with communication security for normal people.

Widely adapted open-source "bad crypto" can: - Raise user's level of awareness about security. - Create a market that can later be serviced by better crypto. - Encourage creation of infrastructure that can be later used in better crypto. - Encourage investigation of better UI.

Also, other poster are right about increasing the difficulty of executing an attack.

romaniv··on Lightspeed – A Browser Experiment
Okay, let me go over the things I don't like about this concept.

1. Everything is hidden by default. No signifies. That looks less confusing... until you want to find something or something changes and you don't even notice until it's not "there" anymore. It's not clear what will happen when you interact with the UI.

2. Everything is mushed together. I type something and zillion things pop up on the scree. How am I supposed to know what are they and where they come from?

3. No settings in this context sounds like no choice. I don't want every download go to Downloads folder, because it will become a bloated mess in about 3 days. .

romaniv··on They're Made out of Meat
Is there any point toposting this aside from smug reassertion of the local hivemind's belief in equality of humans an hypothetical thinking machines? Because I don't see any insightful reasoning in this piece aside from simple reversal, which is only convincing if you already a believer.

The reality is that we don't know how minds really work and we don't have thinking machines. The belief that the limited knowledge about brain chemistry "explains" consciousness is similar to the belief that knowing how semiconductors work "explains" hardware and software engineering.

Edit: Down-votes on an opinion without any explanation in reply simply prove my point. This is a hive-mind belief and opposing world views are not tolerated.

romaniv··on Academic Urban Legends
This sounds like a problem that hyper-links should have solved.
← PreviousPage 19 of 30Next →