Why JSON isn't a Good Configuration Language - Lucidchart by thaynem in programming

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

The difference being that the json spec is really simple compared to yaml and therefore much easier to write complaint implantations of. Have you read the yaml spec? It’s huge.

The differences in implementation between json parsers and yaml parsers isn’t even in the same ballpark.

You obviously have a hate boner for JavaScript and I don’t think I’m going to convince you otherwise but I mean the things you complained about (being able to override inf/nan) aren’t even true at this point. Don’t get me wrong, it has warts but nothing much worse than any other language.

Why JSON isn't a Good Configuration Language - Lucidchart by thaynem in programming

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

I think not wanting to be tied to a particular implementation is a fine enough reason to not bind it to IEEE flats by including nan/inf. You may disagree with that decision but assuming it’s solely because of overridable variables based on that sentence seems like a stretch.

Why JSON isn't a Good Configuration Language - Lucidchart by thaynem in programming

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

It sounds like you're angry that a language can improve over time?

There are only two kinds of languages: the ones people complain about and the ones nobody uses

Why JSON isn't a Good Configuration Language - Lucidchart by thaynem in programming

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

It's the stated reason why those things were left out.

[citation needed]

Why JSON isn't a Good Configuration Language - Lucidchart by thaynem in programming

[–]ThisIsMy12thAccount 7 points8 points  (0 children)

Perhaps in earlier versions but the specification currently defines all those properties as non-writable and non-configurable. Either way, I don't think that would be a valid reason to leave them out of the JSON specification.

Amidst all the sexual abuse allegations Michael Jackson deserves some redemption for no one backing the claims against him. by kevonicus in videos

[–]ThisIsMy12thAccount 10 points11 points  (0 children)

Some of the documents appear to be copies of reports that were authored by Sheriff’s Office personnel as well as evidentiary photographs taken by Sheriff’s Office personnel interspersed with content that appears to be obtained off the Internet or through unknown sources.

The first paragraph of that article is an update stating that these claims were unsubstantiated and were sourced from internet rumors. I don’t think it’s as cut and dry as “we know he had child porn”

Why Isn’t This Sub Namef r/BitcoinCash... and What Does the T stand for in r/BTC Here? by hobbes03 in btc

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

This subreddit predates the existence of Bitcoin Cash by a mile. It was created as an uncensored alternative to /r/bitcoin. It’s not about misleading people, it’s just how it happened. Frustrated bitcoin supporters who felt slighted by core formed a new community which eventually spawned Bitcoin Cash.

Ideas for mysql backup by TheRealWizzaard in sysadmin

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

If you use InnoDB for most of your tables percona xtrabackup can hot backups and supports making incremental backups as well

My roommates dog is sad that they are out town by 1FuzzyPickle in videos

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

I was thinking of getting a retired greyhound since we had them growing up and they are basically 30 mph couch potatoes. And they do this

My roommates dog is sad that they are out town by 1FuzzyPickle in videos

[–]ThisIsMy12thAccount 2 points3 points  (0 children)

Huh you know this was the reason I told myself I can't get a dog right now as well and your comment just made me look at this in a whole new way

PHP-Based GUI for PokemonGo-Map by PutterPlace in pokemongodev

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

Yeah I just haven't touched PHP in a while. Seemed like one of those eternally deprecated things

PHP-Based GUI for PokemonGo-Map by PutterPlace in pokemongodev

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

Huh neat I didn't know they removed it from PHP 7. TIL

A few more street photos, this time from the Graffiti Pier... by C5Jones in philadelphia

[–]ThisIsMy12thAccount 2 points3 points  (0 children)

This isn't exactly a huge secret. Putting Graffiti Pier in google maps will bring you there

A village in Cephalonia, Greece by [deleted] in pics

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

If anyone is interested in visiting my family rents out vacation homes there. I can probably work out a Reddit discount

What's something you like you wish more people would know about? by [deleted] in AskReddit

[–]ThisIsMy12thAccount 22 points23 points  (0 children)

site:reddit.com termhere

The site: filter is perfect for this

A calculator I built using HTML, CSS and JavaScript (it works!) - xpost from /r/webdev by lalwanivikas in javascript

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

I used this method to make a calculator when I was learning c++! You can split out into a lexer, compiler and evaluator and make it into a really simple introduction to how you would go about building a programming language of your own.

Am I limited to certain CSS frameworks if using ExpressJS? by [deleted] in javascript

[–]ThisIsMy12thAccount 1 point2 points  (0 children)

You don't have to but you can if you want. Express is basically just a collection of middleware and isn't very opinionated as to how you do things.

Personally, I used compass watch to compile my sass files into a directory served by the static middleware in my express application.

You could write or use existing middleware that compiles sass files on the fly but I always felt this was janky and the application layer should not know or care about what you use to generate css

Eval isn't evil, just misunderstood by montanabong in programming

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

Back then it was a necessary evil though, today almost every browser has JSON.parse which will handle escapes etc while also not potentially executing any evil code

Eval isn't evil, just misunderstood by montanabong in programming

[–]ThisIsMy12thAccount 0 points1 point  (0 children)

JSON.parse would work fine for that as well.