|
MALE SHOEGAZE posted:i'm not a linux guy i'm polyamourOS >"I'M NOT A LINUX GUY" >works at red hatte
|
# ? Jan 22, 2016 12:34 |
|
|
# ? May 11, 2024 05:55 |
|
Because JSON is not broken enough let's use YAML instead because that is clear and umabigious and...Docker Compose documentation posted:Note: When mapping ports in the HOST:CONTAINER format, you may experience erroneous results when using a container port lower than 60, because YAML will parse numbers in the format xx:yy as sexagesimal (base 60)
|
# ? Jan 22, 2016 12:43 |
|
yaml is the worst part of ansible imo
|
# ? Jan 22, 2016 12:46 |
|
how the gently caress did yaml get so ubiquitous it's ruby's fault, isn't it
|
# ? Jan 22, 2016 12:56 |
|
do yaml or json have standard ways of validating their schema like xsd or w/e?
|
# ? Jan 22, 2016 13:01 |
|
St Evan Echoes posted:do yaml or json have standard ways of validating their schema like xsd or w/e? http://json-schema.org/
|
# ? Jan 22, 2016 13:03 |
|
json schema is horrible and broken and on its way to abandonment
|
# ? Jan 22, 2016 13:22 |
|
if your garbage is complex enough that you want to validate against it just be an adult and use xml
|
# ? Jan 22, 2016 13:26 |
|
Lutha Mahtin posted:there are a lot of cool things in swift but i would honestly trust microsoft more to run a free programming language project in which "community" stakeholders are ever even listened to. not that apple is evil, they just seem to have a very lazy and self serving approach to a lot of the open source projects that power their poo poo, only putting in the bare minimum of effort to ensure needed features and an advantageous development plan Apple is evil though.
|
# ? Jan 22, 2016 13:35 |
|
Jeffrey of YOSPOS posted:If you're not gonna use a functional language, at least use C so you are categorically prevented from working with those OO idiots. Namaste. oh nice you've never used c for large projects
|
# ? Jan 22, 2016 13:44 |
|
Phobeste posted:oh nice you've never used c for large projects C is a mess but I hope you're not implying that OOP tackles down complexity in a significant way I'll fight you
|
# ? Jan 22, 2016 14:10 |
|
Jeffrey of YOSPOS posted:If you're not gonna use a functional language, at least use C so you are categorically prevented from working with those OO idiots. Namaste. Lol if you don't use OO C. Phobeste posted:oh nice you've never used c for large projects I have, and if you can't use C for large projects you are bad at C or can't figure out how to use structs as objects. FlapYoJacks fucked around with this message at 14:13 on Jan 22, 2016 |
# ? Jan 22, 2016 14:11 |
|
Bloody posted:its gettin there btw check your pms
|
# ? Jan 22, 2016 14:12 |
|
tbh the only reason we use yaml anywhere is because you can use comments
|
# ? Jan 22, 2016 14:31 |
|
i haven't really used it at all but f# seems like a more usable version of haskell that gives c# more good features
|
# ? Jan 22, 2016 16:15 |
|
FamDav posted:yo tef where is that list what a library says vs what it means and is "high-performance" on it. http://programmingisterrible.com/post/65781074112/devils-dictionary-of-programming simple — It solves my use case. opinionated — I don’t believe that your use case exists. elegant — The only use case is making me feel smart. lightweight — I don’t understand the use-cases the alternatives solve. configurable — It’s your job to make it usable. minimal — You’re going to have to write more code than I did to make it useful. util — A collection of wrappers around the standard library, battle worn, and copy-pasted from last weeks project into next weeks. dsl — A domain specific language, where code is written in one language and errors are given in another. framework — A product with the business logic removed, but all of the assumptions left in. documented —There are podcasts, screencasts and answers on stack overflow. startup — A business without a business plan. hackday — A competition where the entry fee is sleep deprivation and the prize is vendor lock in. entrepreneur — One who sets out to provide a return on investment. serial entrepreneur — One who has yet to provide a return on investment. disrupt — To overcome any legal, social, or moral barrier to profit.
|
# ? Jan 22, 2016 17:03 |
|
Shaggar posted:Linux guy: "hey, today I used mailing lists and got excited about writing more shell commands. This is definitely the best way to do things!"
|
# ? Jan 22, 2016 17:04 |
|
FamDav posted:yo tef where is that list what a library says vs what it means and is "high-performance" on it. no, but i guess it would be something like "high performance: as fast as fortran! as easy to use as fortran! also, in fortran"
|
# ? Jan 22, 2016 17:07 |
|
*with many third-party wrappers for your language that havent been updated in three major releases
|
# ? Jan 22, 2016 19:31 |
|
triple sulk posted:i haven't really used it at all but f# seems like a more usable version of haskell that gives c# more good features f# is ocaml on .net which is why it's so good
|
# ? Jan 22, 2016 19:37 |
|
ratbert90 posted:I have, and if you can't use C for large projects you are bad at C or can't figure out how to use structs as objects. recently ive been avoiding the ADT paradigm, it's very nice to enforce that level of abstraction on big systems but on embedded it seems like it's shuffling complexity rather than simplifying it
|
# ? Jan 22, 2016 19:39 |
|
Sagacity posted:Because JSON is not broken enough let's use YAML instead because that is clear and umabigious and... allowing numbers to be specified in base 60 is one of the weirdest and most baffling design decisions i've yet encountered quote:Using “:” allows expressing the integer part [of a floating point number] in base 60, which is convenient for time and angle values (the fractional part is always in base 10). that's a weakass justification for such an unexpected feature
|
# ? Jan 22, 2016 21:27 |
|
redleader posted:allowing numbers to be specified in base 60 is one of the weirdest and most baffling design decisions i've yet encountered Same with interpretating 080 as octal. That certainly tripped up a few people when I was teaching python
|
# ? Jan 22, 2016 21:44 |
|
octal is awful and needs to be killed, it has never given us anything good
|
# ? Jan 22, 2016 21:45 |
|
JSON is pretty bad but at least it's small enough that all of its gotchas can be grasped in about fifteen minutes of reading
|
# ? Jan 22, 2016 21:47 |
|
Shaggar posted:apple didn't want to use java or c# cause nih. When OSX came out in 1999, Java was still poo poo from a butt and Microsoft was still trying to ritualisticaly murder Apple (and C# didn't even publically exist yet), and Apple wanted to use NeXTSTEP which they'd acquired along with reacquiring Steve Jobs. I know fellating big business doesn't leave you with time for stuff like "the bare minimum of checking facts" but come on son. FAKE EDIT: "arguing with shaggar lol"
|
# ? Jan 22, 2016 21:56 |
|
qntm posted:octal is awful and needs to be killed, it has never given us anything good
|
# ? Jan 22, 2016 21:59 |
|
Zemyla posted:When OSX came out in 1999, Java was still poo poo from a butt and Microsoft was still trying to ritualisticaly murder Apple (and C# didn't even publically exist yet), and Apple wanted to use NeXTSTEP which they'd acquired along with reacquiring Steve Jobs. when they decided to release swift, java and c# were both very good and very mainstream
|
# ? Jan 22, 2016 22:00 |
|
Bloody posted:when they decided to release swift, java and c# were both very good and very mainstream Yes, but Shaggar was talking about Objective C. Besides, Java is the blandest, most boilerplatey language ever and C# is only better because of the features they stole from Haskell.
|
# ? Jan 22, 2016 22:04 |
|
Zemyla posted:Besides, Java is the blandest, most boilerplatey language ever and C# is only better because of the features they stole from Haskell. i mean, i guess at least they're learning from a real language, that's nice.
|
# ? Jan 22, 2016 22:12 |
|
gonna put my shaggar hat on and not click the link and declare that it looks gross anyway
|
# ? Jan 22, 2016 22:13 |
|
qntm posted:JSON is pretty bad but at least it's small enough that all of its gotchas can be grasped in about fifteen minutes of reading WRONG
|
# ? Jan 22, 2016 22:17 |
|
less than that: - anything other than ascii is asking for trouble - nothing will handle duplicated keys properly or consistently - although it says it handles ints and floats, many implementations only handle floats, or ints. - unicode linebreaks are ok in javascript but not in json - astral plane unicode is even worse, most things are 16 bit wide characters, but the rfc suggests using surrogate pairs - people will claim things with trailing commas, or even comments are valid json - oh some floats aren't valid floats in json, like inf and nan probably one or two i missed
|
# ? Jan 22, 2016 23:20 |
|
now do yaml
|
# ? Jan 22, 2016 23:31 |
|
i had to help out on a json-schema "implementation" (nobody actually implements json-schema because then they'd be passing around hashmaps) and the worst thing in the world is the definition of arrays.quote:5.3. Validation keywords for arrays and quote:8.2. Array elements
|
# ? Jan 22, 2016 23:31 |
|
when I learned yaml doesn't allow hard tabs I never used it again
|
# ? Jan 22, 2016 23:32 |
|
ratbert90 posted:Lol if you don't use OO C. quote:Any sufficiently large C program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of C++.
|
# ? Jan 23, 2016 00:00 |
|
Yes, structs were a ripoff of classes
|
# ? Jan 23, 2016 00:09 |
|
Shaggar posted:apple didn't want to use java or c# cause nih. apple actually did want to use java. apple used to ship their own JDK, because they wanted the best-possible java experience for osx users. they gave up on this for reasons that will become clear shortly apple WebObjects was originally objC, but it all got ported to java because fuckin lol at dealing with buffer overruns and poo poo on a website. still runs apple.com today. although i can't name any other users. (i don't think you can even buy webobjects anymore) cocoa/openstep, the ui toolkit on osx, used to have what they called the "java bridge," so you could write native osx programs in java. that has been deprecated. again, because nobody used it.
|
# ? Jan 23, 2016 00:10 |
|
|
# ? May 11, 2024 05:55 |
|
Zemyla posted:When OSX came out in 1999, Java was still poo poo from a butt and Microsoft was still trying to ritualisticaly murder Apple (and C# didn't even publically exist yet), and Apple wanted to use NeXTSTEP which they'd acquired along with reacquiring Steve Jobs. I meant use java or c# to replace swift. they used objc cause steve made them cause it was nextstep
|
# ? Jan 23, 2016 00:14 |