Hacker Newsnew | past | comments | ask | show | jobs | submit | yuretz's commentslogin

How do you update pmiles? Do you have to rebuild the entire map every time? If so, I think that's a downside/limitation for some use cases.

Don't know about pmtiles specifically, but on tile servers I've used it's possible to update administrative regions separately.

I think "it" refers to the process of sitting on the mat.


yes.


And vice versa, many of our societal issues would go away, if companies won't only be concerned about profits.

Let's not blame the players for the game rules being flawed.


Everyone is only concerned about profits.

The reason corporations are greedy isn't because they just love money, it's because you love money too and those corporations are taking your money. And just like them you care a lot about money too.

I'm continually upset that it took me 15 years to realize this.


Corporations are way more shameless then people, because they are not people.

My needs are met right now, I genuinely don't need any more money. I would take less even if it meant working at a place whose mission I vibe with more.

No amount of money would get me to build surveillance devices or slot machines or lie about how much I'm polluting.

I pay taxes and vote for candidates that would increase them to better provide for everyone.


We can, and should, fight a game that is unfair. We should blame players who play the game unironically without acknowledging the harm in some way.


Few years have passed and your guess is still wrong.


Just this tiny polyfill, and you should be OK on Safari. https://github.com/ungap/custom-elements


There is a polyfill for customiziing built-ins on Safari.

https://github.com/ungap/custom-elements


> ... with no custom code ...

Except all the custom code in saasufy-components


It's generic code, not specific to the application as it can be reused for any application. There is code behind native HTML tags too but we don't say that writing HTML is writing code, the browser handles that.


This is the case with any other declarative programming system: while you only care about "what", i.e. the end result matching your declarative specification, you are living a dream. Once you need to fine-tune the details of how you get there (e.g. performance, resource use), or tweak the end result in a way that is not easy to describe within the constraints of your declarative dream land, things get ugly pretty quickly. Query hints in some SQL dialects, vendor-specific hacks in HTML/CSS, Kubernetes YAML templating, etc. are all sad stories about it.


Can you elaborate on the flaws of Kubernetes YAML templating? Can you include a description of a better system?


Using a template to render out text that is then interpreted as something else (YAML in this case) is always fraught with quoting issues, complex workarounds, and for YAML specifically indentation issues.

You see the same thing with the C preprocessor - there's a very good reason that basically no language since has copied that design, and it's infamous for being full of footguns.

A far simpler and more manageable solution is to generate the same data structure (the final manifest) in a language which can actually represent those data structures directly. That might be a dedicated language like Cue or Jsonnet, or it could just be a general purpose programming language. You can generate the data structure using whatever tools you like, and then render it to JSON or YAML to be consumed by whatever tool is uploading it to kubernetes (kubectl apply, helm, etc).



Using textual templating to generate a whitespace sensitive language is a massive footgun - I wouldn't want to try and generate python that way either.

It looks like you can plugin in your own templating script to the helm stuff though, I was thinking that something like https://yglu.io could retain the essential YAML-ness for comprehensibility to others while not being completely ridiculous like using a text templating system is.


Sure. Using things like loops and conditionals to stitch parts of the specification together is not a very declarative way to do things, imo. Regarding a better system I don't know, they all have their quirks, I guess. My point was that purely declarative approach has its limits and often times breaks when facing real world complexity.


You take something with a structure (yaml) and covert into something without a structure.

Jsonnet is one of the alternatives.


The answer perhaps depends on how you define "understanding" and "meaning", and whether these concepts are separable from language at all.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: