HNHacker News
TopNewBestAskShowJobs

ne01

483 karma · joined December 23, 2014

.
submissionscomments
ne01··on YAML: probably not so great after all (2017)
Those reasons are exactly why I created mset. It's not as flexible as Yaml but it is dead simple and works for many use cases. It is also very easy to implement in any language and more importantly super simple to learn for end users.

https://github.com/sed-seyedi/mset

ne01··on Never Write Your Own Database (2017)
At SunSed we have created our own DB system for the exact same reason:

WordPress average page generation: 1 sec

SunSed CMS: 0.03 sec

Database is almost always the reason for slow applications.

Edit: if you do caching right, WordPress becomes as fast.

ne01··on Geolocating requests with Google Load Balancer for free
I have always said that the GCP HTTP(S) load balancer is the hidden gem in cloud. I'm glad it's becoming more and more popular (also feature rich).

One feature that must be mentioned is that it allows you to cache content (could be anything: HTML, JPEG and more) for as little as 1 second! CloudFlare requires an enterprise plan and even then you cannot set a TTL lower than 30 seconds.

ne01··on Review: Purism Librem13 laptop
Interesting to see high quality laptops for open source OSs. I would so buy this laptop if it came with a typematrix 2030 keyboard built-in
ne01··on Ask HN: What has HN given you?
You only got ~60 upvotes?

Interesting, I always thought the number of upvotes for a Show HN post correlates to its future success.

ne01··on Tell HN: Review my startup and get it for free until 2020
Thanks! I'll email you! Connect with me on Twitter @sed_seyedi
ne01··on Tell HN: Review my startup and get it for free until 2020
Except for the syntax highlighter (prism.min.js) and YouTube video I think there is no other JavaScript library.

Could you please double check the performance on Firefox? I think the issue was with grayscale filter in CSS.

> For someone who doesn't mind code, there are a million static site generators that will deploy to S3 or Digital Ocean or whatever. They get the same amount of customization and it's almost totally free.

You are right! The competition is crazy! I HOPE that creating tags that make it easier for designers/developers to build websites faster/easier could be the reason.

So for example, to create a slideshow in HTML all you have to do is to use <remark:it> tag and put the slideshow content inside that tag.

And here is the source code for that tag: https://github.com/SunSed/remark

So imagine if there was 1000s of tags like that one that makes web development like Lego peaces that you put together.

What do you think?

Can I email you and continue the chat over email? :)

ne01··on Tell HN: Review my startup and get it for free until 2020
Thank you for your comment!

Except your first point (I don't know why it was slow on your side), we are working on the rest by adding more value with useful libraries that makes web development easier for developers.

ne01··on Let’s talk about usernames
> Well, it’s easy until we start thinking about case. If you’re registered as john_doe, what happens if I register as JOHN_DOE?

For most applications you are better off with making everything NOT case sensitive.

That's why SunSed language is completely case insensitive -- from variable names, tags (functions) to all string comparations. Users should not worry about case!

ne01··on Impatience: The Pitfall of Every Ambitious Person
> Look at it this way. You’ve spent enough time getting where you are — don’t screw it up by wanting to go too fast. Spend more time on your work. Take pride in it. That’s the only way we can do truly great work.

My favorite quote.

ne01··on Three Years on Google App Engine
Requests per second
ne01··on Three Years on Google App Engine
For those who are interested to know how much App Engine Standard Environment roughly will cost in real world applications here is my simple formula for it:

Average RPS * $15

So for 100 RPS for one month it costs around $1,500.

Also, you can optimize for cost by adding the following to your app.yaml:

threadsafe: true

Also Golang and Node costs less than other environments.

My two cents.

Update: Formatting.

ne01··on Show HN: Sundown – an alternative to Markdown
> Could you please not be an asshole and rename your project?

I have updated the blog post and changed the name to "SunSed Short-form HTML tags" it also better describes what it is.

I have high respect for you and your work and admit that the way I came up with the name was sloppy!

ne01··on Show HN: Sundown – an alternative to Markdown
Actually, the name of the language is SunSed (same as the platform).

Sundown is the name of that one feature of the language that I explained in the article.

In our website https://www.sunsed.com we refer to the whole thing as SunSed language.

ne01··on Show HN: Sundown – an alternative to Markdown
Fixed it! Thank you for the heads up!
ne01··on Show HN: Sundown – an alternative to Markdown
Thank you!

> I would suggest thinking about this not as a Markdown replacement but rather a different use-case entirely.

You are right! I'm thinking about the same thing here! I could even give it no name and instead present it as part of the SunSed programming language (the part that lets you create custom HTML tags).

ne01··on Show HN: Sundown – an alternative to Markdown
I already answered this. Let me copy and paste it from my other comment:

Aside from the difference in syntax (which is huge), I would say convenience.

SunSed = Hosting + IDE + CDN + a new programming language + Layout and Template system (like Jekyll and Hugo) + Many built-in tags to abstract things like embedding Youtube videos in a responsive way (which is not easy -- requires so many div wrappers).

You can also create your own tags and share it with others. I have started the process of creating tags for useful and popular libraries:

https://github.com/sunsed

If you know HTML, you already know the syntax of SunSed programming language, and can create fast dynamic websites with ease by abstracting your website content in custom HTML tags!

After all, SunSed is a programmable website builder.

ne01··on Show HN: Sundown – an alternative to Markdown
Good question.

Aside from the difference in syntax (which is huge), I would say convenience.

SunSed = Hosting + IDE + CDN + a new programming language + Layout and Template system (like Jekyll and Hugo) + Many built-in tags to abstract things like embedding Youtube videos in a responsive way (which is not easy -- requires so many div wrappers).

You can also create your own tags and share it with others. I have started the process of creating tags for useful and popular libraries:

https://github.com/sunsed

If you know HTML, you already know the syntax of SunSed programming language, and can create fast dynamic websites with ease by abstracting your website content in custom HTML tags!

After all, SunSed is a programmable website builder.

ne01··on Show HN: Sundown – an alternative to Markdown
Sed here (the author).

SunSed is for developers with HTML knowledge. You can use SunSed language to create custom HTML tags (abstract HTML, CSS and JavaScript) and then Sundown to abstract your HTML.

I think Sundown is very easy to learn and SunSed language has very little learning curve because it follows the exact syntax of HTML:

https://www.sunsed.com/tags/s

ne01··on Show HN: Sundown – an alternative to Markdown
Exactly. Most Markdown processors don't implement this feature because it is very unpredictable and has too many contradictory edge cases.
ne01··on Show HN: Sundown – an alternative to Markdown
At SunSed we provide a cloud IDE to our users so they can easily update their website. Every time they make a change the IDE automatically saves the file and on the server we had to compile Markdown -> HTML+SunSed(custom HTML tags) -> Executable. Not to mention bulk website upload, backups and restores (a website could have thousands of pages). Markdown was the slowest part with the most resource usage.

I actually bench marked all of the Markdown implementatinos back in 2016 (or early 2017). https://github.com/vmg/sundown was by far the fastest!

ne01··on Show HN: Sundown – an alternative to Markdown
You are right. Thank you for the insight! How about this:

Sundown and Markdown are both HTML preprocessors with different goals.

ne01··on Show HN: Sundown – an alternative to Markdown
Sed here, (the author)

Image tag in Sundown is easier than Markdown:

    :s:img http://link-to-image.jpg  image alt tag
Or how about embedding a tweet:

    :twitter:embed  http://link-to-tweet
Or, youtube, user sign-up form and more...

You are absolutely right! There is a trade-off. Some tags are easier in Markdown (e.g. bold, italic, inline code and a few others). But you cannot extend markdown with your own custom elements can you?

Sundown by itself is not that useful. It gets really useful when you use it as a preprocessor for your own custom HTML tags.

Here I explain how you can create your own server-side HTML tags:

https://www.sunsed.com/manual/creating-tag

Again, Sundown is just a HTML preprocessor you can write all of the above tags like this:

    <s:youtube>
        http://youtube-link
    </s:youtube>
ne01··on Show HN: Sundown – an alternative to Markdown
> A lot of good learning comes out these toy domain languages.

I agree with the learning part but SunSed is not a toy language. I could be wrong about how valuable it's going to be but it's definitely more than a toy.

Sundown is a very simple preprocessor that plays well with the SunSed language. With SunSed, you can create your own HTML tags (that run server-side) and abstract HTML, CSS and JavaScript.

Sundown is just the icing on the cake that lets you easily use your custom tags. SunSed language is a complete programming language, you can checkout the tags here:

https://www.sunsed.com/tags/s

Again, I could be wrong on how valuable it's going to be for front-end developers. But I strongly feel that it's a little bit more than a toy! ;)

ne01··on Show HN: Sundown – an alternative to Markdown
Sed here.

Thank you very much!

> Are you planning on opening the source to Sundown?

Sundown is just a HTML preprocessor implemented in a few lines of regular expressions! I actually planned to open source it before writing the article but did not have the time.

However, I'm not planning on open sourcing the SunSed language compiler (the part that allows you to create custom html tags). But I will open source all the tags and libraries here:

https://github.com/sunsed

ne01··on Show HN: Sundown – an alternative to Markdown
Author here.

> Maybe I'm missing the benefit here

Sundown is useful because it lets you abstract your custom server-side HTML tags. In other words, you can extend the language very easily.

For example, you can create a tag called "note" and use that instead of repeating HTLM, CSS and even JS:

    <s:tag name="note">
        <div style="color:red;">
            Note: {{@content}}!!
        </div>
    </s:tag>
And then call your new tag using the HTML syntax or Sundown:

    <note>Sundown is awesome ;)</note>
    :note Sundown is awesome :)
Result:

    <div style="color:red">Note: Sundown is awesome :)!!</div>
Sundown is just an HTML preprocessor (like Markdown) once it is transformed to HTML it's the SunSed language that compiles all the custom HTML tags to executable format.
ne01··on Show HN: Sundown – an alternative to Markdown
With SunSed you can create your own custom HTML tags and abstract all the CSS and JS then use Sundown to call that tag (or the HTML syntax).

    <s:tag name="note">
        <div style="color:red;">
            Note: {{@content}}!!
        </div>
    </s:tag>
And then call your new tag using the HTML syntax or Sundown:

    <note>Sundown is awesome ;)</note>
    :note Sundown is awesome :)
ne01··on Show HN: Sundown – an alternative to Markdown
Author here.

You are right about the name confusion! It has been several years since the last commit to the /vmg/sundown and even if it was active it's not a very common Markdown implementation (although it's one of the best).

ne01··on Learn CSS Grid through interactive screencasts
Take a look at https://mincss.com/ if you are looking for a css framework that is really really small!
ne01··on Sam Altman: ‘Too many’ Y Combinator companies raise money
The problem is that too many startups go to Y Combinator! Many of them can bootstrap!

Y Combinator prefers to get 6% of more companies to increase the chance of winning the jack pot.

← PreviousPage 2 of 6Next →