Better HN
topnewbestaskshowjobs
Log inSign up

romanovcode

2,849 karma · joined Oct 29, 2013 (13y ago) · 2,019 submissions

Submissions

comment 8y ago · link · parent

Can you not link the AMP page? Thanks google.

comment 8y ago · link · parent

Real time raytracing? https://www.nvidia.com/en-us/geforce/graphics-cards/rtx-2080...

comment 8y ago · link · parent

Yeah, that is true. However that HTML is usually cached so not a big deal.

Also, this reduces complexity of the project. Both methods are fine, it's just I prefer this one.

comment 8y ago · link · parent

I think there is a better way.

1. Add package called `WebMarkupMin.AspNetCore2`.

2. Add and configure code in your `Startup.cs` like so.

  services.AddWebMarkupMin(
    options =>
    {
      options.AllowMinificationInDevelopmentEnvironment = true;
      options.AllowCompressionInDevelopmentEnvironment = true;
      options.DisablePoweredByHttpHeaders = true;
    })
    .AddHtmlMinification(
      options =>
      {
        options.MinificationSettings.RemoveRedundantAttributes = true;
        options.MinificationSettings.RemoveHttpProtocolFromAttributes = true;
        options.MinificationSettings.RemoveHttpsProtocolFromAttributes = true;
        // More options if you like so
      })
  .AddHttpCompression();
Not only will this minfy HTML output, but also apply a lot more optimisations based on your configuration.

comment 8y ago · link · parent

Yes

comment 8y ago · link · parent

There is this thing called wireless headphones. You should try it someday - it's pretty convenient.

comment 8y ago · link · parent

You have problem installing popular apps with this option. Also flushing your phone on every major upgrade - no thank you.

comment 8y ago · link · parent

And nothing of value would be lost.

comment 8y ago · link · parent

I remember reading that they pay developers based on where they are located so for example developer from SF would get 140k while developer from Minsk would get 50k. Is it still true?

comment 8y ago · link · parent

You don't need javascript to run Bootstrap too.

comment 8y ago · link · parent

> Only the stuff that is required per-route (or whatever state) is "rendered" server-side

Yes, the whole page, which includes the header, footer, menus etc.. What's your point here? I don't get it.

comment 8y ago · link · parent

6. Pre-rendering is a complete mess. Yes, if you try to pre-render Hello World application it will do fine. But in real world examples your main menu, for example needs to pre-render only the top links and not deep-links. Good luck doing that kind of stuff in Angular or React. Also Express on-premise pre-rendering of dynamic pages is terribly slow, 2 seconds to load an website if you have serious application.

comment 8y ago · link · parent

Where are you going, if not a secret?

comment 8y ago · link · parent

Why don't you leave then?

comment 8y ago · link · parent

I give 100% that after you did your re-write and then left for another company next set of developers will think exactly the same thing about your codebase. 100%.

comment 8y ago · link · parent

Unless it is a P2P distributed network of posts this will have same faith as any other social network.

comment 8y ago · link · parent

I don't think so. Unless the target is very close it's not that easy to hit the head.

comment 8y ago · link · parent

You use SPA and then are surprised that it negatively impacts your SEO? What did you think would happen?

If you want good SEO ditch SPA. If you want SPA and SEO you must have both - client-side rendering and server-side rendering.

comment 8y ago · link · parent

I have to say your domain looks like geys.io, like some dating site for gays or something.

I don't think this was a good naming choice to begin with.

comment 8y ago · link · parent

14 y/olds grew up.

comment 8y ago · link · parent

If you are moving everything from Google you should really not be using Android. There is absolutely no point in your case.

That is unless you will be using Google-Less android. Tutanota and FairMail are OK.

comment 8y ago · link · parent

I even don't see how it is better.

    ID,Name,Capital,Area,Tags
    bc,British Columbia,Victoria,922509,en|western canada
vs

    ###########################
    # Oh, Canada! 10 provinces and 3 territories
    #
    # see en.wikipedia.org/wiki/Provinces_and_territories_of_Canada
    #
    # note: key is two-letter canadian postal code
    #
    # for regions tags see
    #   en.wikipedia.org/wiki/List_of_regions_of_Canada

    bc, British Columbia,       Victoria,     922 509 km², en|western canada

In 1.1 I don't see what is what - what is `bc`? What is `en|western canada`? In vanilla CSV you can clearly see what is what because it shows you on top.

Why not just write a CSV formatter?

comment 8y ago · link · parent

It's not a language

comment 8y ago · link · parent

Please do.

comment 8y ago · link · parent

The notch might be, however Android is clearly not.

comment 8y ago · link · parent

And because of that you should not judge me? This is fucking ridiculous.

comment 8y ago · link · parent

Kind of. Why wouldn't they?

comment 8y ago · link · parent

Pre-rendering techniques on all SPA is poor and will introduce a lot of complexity.

comment 8y ago · link · parent

iPhone or Android does not matter. You need to disable microphone access to Instagram, Facebook and Facebook Messenger if you wish them to not listen to you.

Actually if you are on Android I'm pretty sure there is no way to disable google listening to you 24/7.

1
222324
68