Better HN
topnewbestaskshowjobs
Log inSign up

available

12 karma · joined Sep 14, 2017 (9y ago) · 8 submissions

After many failed attempts, I finally found a username that was available.
Submissions

comment 6y ago · link · parent

What do you think about only capitalizing the first letter like this:

  Select
      region_fleet,
      Case When status = 'Delivered' Then 'Delivered' Else 'Not Delivered' End As status,
      Date_Trunc('week', day) As week,
      Count(Distinct Row(day, so_number)) As num_orders,
      Count(Distinct Case When scheduled_accuracy_meters <= 500 Then Row(day, so_number) Else Null End) As num_accurate,
      Avg(scheduled_accuracy_meters) As scheduled_accuracy_meters
  From
      deliveries
  Where
      ...
  Group By
      1, 2, 3

comment 7y ago · link · parent

Electron is one of the reasons apps like this even gets made in the first place, other options are often not worth the time of development.

A solution to reduce the size could be to ship the Electron runtime similar to .NET, etc.

However, PWA's are probably going to be the best bet going forward.

3.

NPM - Version 0.0.3(github.com ↗)

10 points · by available · 8y ago · discuss

comment 8y ago · link · parent

It's strange that he basically removed the entire history, but kept a couple of commits such that the 'face' gif can still be accessed? Regardless, several forks exists with the original history dating back to 2016. So it's probably too late to do anything about now.

comment 8y ago · link · parent

I have recently been trying to organize an old photo library, looks like these tips could come in handy!

comment 8y ago · link · parent

Yes, I simply couldn't use it because it drained my macbook battery too quickly. I just updated to 58, but it seems to still be a problem.

comment 9y ago · link · parent

Thanks! I have actually been looking for some simple examples of ZEIT microservices and this happens to be a very nice one.

comment 9y ago · link · parent

How was the view counter made? It's cool to see it increase in realtime.