HNHacker News
TopNewBestAskShowJobs

yoava

240 karma · joined April 17, 2013

submissionscomments
yoava··on AWS Lambda Cold Start Times
Just use http functions in a Velo by Wix project - you will get 50ms cold start out of the box.
yoava··on AWS Lambda Cold Start Times
The article states that 600ms is a low cold start figure. However, 600ms cold start is still unacceptable for usage by WebApps.

For webapp, the figure should be 100ms. The only platform that meets that figure (that I know of) is Velo by Wix with around 50ms cold start for node.js

yoava··on Is Stencil a Better React?
Same thing as PHP - most websites today are using JQuery and PHP (like over 50%) compared to modern JS libraries (at most 5% all together)

It only means that we, as the JS community, are continuing to fail with presenting an alternative to PHP and JS.

yoava··on Is Stencil a Better React?
Considering that hooks are recommended in the hooks-faq, yet the React 1,2,3 Main Concepts talks OO -

I find the statement that OO is obsolete. Maybe that is the intention of the React team, but it is not reflected in their main documentation yet.

As for the style of the React example - I have taken the React example from todoMVC "as is".

I invite you to write any other React implementation of TodoMVC, and will do my best to create the equivalent with Stencil.

yoava··on Is Stencil a Better React?
I am confused.

In the react docs - here specifically, https://reactjs.org/docs/state-and-lifecycle.html

The first action item when talking about state is to concert a function to a class.

Are you saying that the official react docs, when introducing state, promote using an obsolete API?

yoava··on Is Stencil a Better React?
Link? Will live to take a look
yoava··on Is Stencil a Better React?
As said above, we have used the Todo mvc React example as is. There are still a lot of projects who are using the "obsolete".

Given a Todo mvc functional component example, will try to use the stencil functional component syntax to build an equivalent

yoava··on Is Stencil a Better React?
I have taken the Todo mvc React example. While old, it is still valid, and a syntax that is used in quite a few projects.

If you believe it is obsolete, please do a Todo mvc React example with functional components and I commit to try and use stencil functional component syntax to create a valid comparison.

yoava··on Is Stencil a Better React?
it is great to be an expert in React.

1. a lot of companies use it - we as well and not planning to move anywhere.

2. if you know React, moving to Stencil is super simple.

yoava··on Is Stencil a Better React?
Post Author here. I think you are underestimating your own creation. Stencil is a delight to work with, and very well done.

We at Wix are a huge React shop. We know all the best and worst of React, both OO and Functional styles.

For us, while Stencil is super interesting and is better compared to React, we will not move to Stencil.

Had we started now, it would have been a hard choice React or Stencil

I think the main message here is that

yoava··on Overmind.js – Frictionless State Management
Have to say, I like the simplicity it offers and clean API.

From a point of view of API design, it looks great.

yoava··on How to implement search-by-color when all you have is a good coffee
Good article, and I like the implementation.

I am sure it has some drawbacks, like distance on the rgb space may not be the best option, or that it does not ignore background color of it is not transparent, still, I like the way of thinking

yoava··on 402 Payment Required, and why micropayments are doomed
Really enjoyed reading this one. A fresh perspective, at least for me
yoava··on Ask HN: Is there any money in website design for small businesses anymore?
While many people are using Wix and Squarespace, there is an active and large community of Wix Experts (who are not working for Wix) that are building websites for customers.

So I guess there is a place for a professional business for building websites

yoava··on Ask HN: Is there any money in website design for small businesses anymore?
You can standout on Wix using Wix Code, which allows you to use your programming skills to code you site, your site backend and a dedicated database for the site.

You will not need to write the whole thing from scratch specific to the customer. Instead, just code the extra bits.

Having said that, I think there is a large market for websites designers and coders, and we see an active community on Wix of people who build websites for customers

yoava··on Ask HN: Is there any money in website design for small businesses anymore?
Actually, you can do a lot more with Wix Code, and make a site with all kind of custom functionality, including 'a way to take orders online and get people to buy their special offers and refer their friends through social media'.

But to use Wix Code, you will need to know some level of coding, hence value to sell for your clients.

And I agree, there is a huge market for people to build websites for customers, you need to focus on the value you deliver to your customers, from design all the way to coding, SEO, content and social.

yoava··on Ask HN: Is there any money in website design for small businesses anymore?
You say your are a decent programmer. Take another look at Wix Code.

We see people looking to hire programmers to help them build websites using the platform.

There is a demand for programmers among the Wix Experts community.

yoava··on Ask HN: Is there any money in website design for small businesses anymore?
Definitely.

(I am working for Wix)

Website design is not a uniform business. A lot depends on what your client needs.

For simple needs, solutions such as our Wix ADI are a great self service tool.

When you want pixel perfect design, the Wix Editor is the tool for you. Most people are able to use the Wix editor, but creating a great design is a challenge, simply because not everyone have the training and talent of a designer. We do see a lot of designers working on wix and making money that way.

When you want more, Wix Code comes into play. With it, you get a serverless platform and a database as a service, and you are able to code whatever solutions you need for the customer.

While in theory your customer can do the coding and design, in practice they are more then likely to hire a professional to do so for them.

yoava··on FoundationDB Document Layer
Just wandering how will foindationDb compare to mongo in terms of the non functional s - performance, scale of a collection, number of collections, queries with and without indexes, aggregated, etc.
yoava··on Show HN: BackendLab – Code-free web app builder
Hay Chris,

Looking like a great project, simple and fun.

Keep in mind that other similar projects tried the same approach before, namely firebase and parse.com. both for only so much traction because at the end, real world applications need more features - business logic, backend that uses other APIs, etc.

Still, looks like a fun project

yoava··on Functional core, imperative shell (2012)
What you seek is actually something a bit different.

It is the observation that all software is built of 3 layers -

Inbound IO, what you call imperative shell Business logic core, what you call functional core Outbound IO, what you call again imperative shell.

The problem with the terms in functional programming is that when they say side effects, in most cases they mean IO.

The functional core does not have to be functional for you to get the benefits - easy testing, easy to reason about, easy to develop. In fact, in some cases, functional programing is the wrong tool while having a business logic core that is separated from IO is still a very valid architecture.

yoava··on Functional core, imperative shell (2012)
Actor model is even worse, you have no gerentee of a response or error status
yoava··on Functional core, imperative shell (2012)
Function composition
yoava··on NewSQL databases fail to guarantee consistency and I blame Spanner
I like the realistic view of noSql vs CAP and the different tradeoffs. We do need to talk more about the disadvantages of noSql systems and all the new database alternatives.

Which brings me to my point - what the author fails to talk about is why spanner has taken the design decision they have made. He does claim scalability, but that is a very general word.

I believe the spanner decision is to avoid making a global voting, as in global across the entire world, from North America, to Asia, Europe and even as far as Australia. Such a global voting will take a lot of time - impose seconds of later on any write.

I think the author, when he talks about having a single global vote with a small window, thinks in terms of a single database, maybe two regions on the Continental USA, as apposed to spanner trying to be Geo distributed.

yoava··on Death by Database
Very shallow post.

Come on, this is not about database design. This is about making the wrong technical choice, the definition of "I have a hammer, so everything looks like a nail".

What about export of the addresses, and using a second service on the export?

yoava··on Introducing Cloudflare’s IPFS Gateway
Being from wix and managing petabytes of media files, we always wondered if a distributed web solution for websites can actually work.

Even with the best of clouds (more then one of the big names) we faced downtimes caused by multiple cloud failures.

Just imagine, a store that is Geo distributed, resilient and just works.

This is super exciting for the web and for customers of websites!!!

Big thumb up.

yoava··on JavaScript Equality Minesweeper
Super cool application, and can teach a lot about why you should use === instead of == in JavaScript.

The only legit case to use == is if you are

1. Insane

2. The kind of person who changes Java 1 object to equal 2

yoava··on WordPress creator slams Wix: ‘Your app editor is built with stolen code’
http://www.wix.com/blog/2016/10/dear-matt-mullenweg-an-open-...
yoava··on Scaling to 100M: MySQL Is a Better NoSQL
We did hear about it, if a bit late.

Our response - https://vimeo.com/138432267

yoava··on Scaling to 100M: MySQL Is a Better NoSQL
At the time we started, MySQL was more mature. Today, having a lot of MySQL installations at Wix we have no need to try HStore as well. Having said that, it we would have stared today we may have considered it, among other options.
← PreviousPage 2 of 3Next →