Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
animist
Aug 28, 2018

redleader posted:

if everyone "too inexperienced/dumb to comment" decided not to post, yospos would be a wasteland. :justpost:, and maybe some of us will learn something new, or see another side of a debate, or hear about another perspective

here's another perspective

goatse.jpg

Adbot
ADBOT LOVES YOU

animist
Aug 28, 2018

Luigi Thirty posted:

uh... I got the GNU runtime working, this is quite possibly the most cursed thing I have ever made




:eyepop:

animist
Aug 28, 2018
https://github.com/orangeduck/Cello

why would anyone make this

animist
Aug 28, 2018

eschaton posted:

so preoccupied with whether they could
didn’t stop to think whether they should

"i wish i had c, but without static typing" --nobody, ever

animist
Aug 28, 2018
(painting of a laptop)

cest n'est pas une turing machine

animist
Aug 28, 2018

MrMoo posted:

I managed to capture a video of some of IPO trading, live like it's the 20th Century again,

this is giving me flashbacks to when i interned at $FAMOUS_FINTECH_INC a while back, all their UIs looked like that

their tech stack was loving horrifying too. they started writing all their UI code in javascript in like 2003, and hadn't updated their javascript style since then. they didn't have any js module system, so tradition was to put applications in single files; my team's was 30,000 lines long. also there were a bunch of mysterious binary blobs that needed to be linked into any binary applications running on the system for reasons nobody understood. i heard rumors that the FORTRAN sources had been lost in like '95.

deeply terrifying that that code runs a good chunk of the worlds' financial markets

animist
Aug 28, 2018
i'm a TA for a programming class and the professor's code is worse than most of the students :ohdear:

he doesn't seem to know what a naming convention is

on the other hand, he has a research position for me next year, so im not gonna say anything about it

animist
Aug 28, 2018
A library for Haskell that replaces all the operators with emoji

animist
Aug 28, 2018

ya but I was thinking like ⚡ for >>= and ⚫ for .

animist
Aug 28, 2018

ThePeavstenator posted:

I once saw constants declared and used like this:
code:
enum ConstsAndVars {
  BUTTCONST,
  POOPCONST,
  ...
}

...

int aMethod() {
  string BUTTVAL;
  switch(ConstsAndVars.BUTTCONST) {
    case(ConstsAndVars.BUTTCONST):
      BUTTVAL = "This is a butt.";
    default:
      throw new Exception("Not a butt!");
  }
  ...
}
The explanation was "it's easier to keep track of the number of constants declared this way".

:shuckyes:

animist
Aug 28, 2018
lets put socialism... on the blockchain!!!1

animist
Aug 28, 2018

DELETE CASCADE posted:

they should make a malloc that, if it fails due to oom, it asks amazon to give the vm more ram, then tries again

there've been "remote memory paging systems" since at least the 90s, because it turns out that copying memory over the network + storing it in the ram of the server next door is still faster than writing a spinning disk, lmao

mostly academic tho. idk if people actually use them

animist
Aug 28, 2018

duz posted:

or blame the person that wouldn't let it be implemented the easy way

:hmmyes:

animist
Aug 28, 2018

DuckConference posted:

the main project at newjob is a sprawling code base consisting of a large number (more than a few dozen, not sure if it's over 100) of git repos managed by 2 different meta-repo tools. the build is done by make at the top level but that goes in to a few other build systems to build various parts of the project. several hundred thousand files of c/c++ code in total.

my instinctual desire to understand the full stack of what I'm working on may have met its end

edit: oh I forgot the best part. the structure of the meta repos is such that the git repos often have overlapping folder structures. in some cases in the git repos are set up to .gitignore each other, in some case not.

that seemed reasonable up until the overlapping git repos, yikes

how long does that build even take

animist
Aug 28, 2018
i've been reading through a bunch of blog posts about ActivityPub and holy poo poo it's a shitshow. and a soap opera.

it's like watching the sopranos, except instead of mobsters murdering patsies, it's a bunch of RDF cultists at the W3C murdering technical specifications

animist
Aug 28, 2018
rust has DI

https://crates.io/crates/log/

animist
Aug 28, 2018
hot take: .await is fine, just let me use async already

animist
Aug 28, 2018

mystes posted:

Seriously this. I don't give a poo poo about the specific syntax at this point, just finalize it already. I don't even understand why it has taken so long.

theyve been trying to solicit feedback from the community to avoid people getting pissed off like they did from arg-position impl Trait

but now they've solicited community feedback AND ignored it which seems, like, worse?

animist
Aug 28, 2018
ctps: using docker

animist
Aug 28, 2018
why does every button press in google cloud console take 15 seconds

animist
Aug 28, 2018
cmake is the php of build systems

animist
Aug 28, 2018

alternatively, c

animist
Aug 28, 2018
are there any good dsls

animist
Aug 28, 2018
hasn't Rob Pike explicitly said go is designed to kneecap enthusiastic cs grads

animist
Aug 28, 2018
go: when you want the unweildiness of c, but also an unpredictable and inefficient runtime

animist
Aug 28, 2018

Blinkz0rz posted:


it's fine if you don't like the language but idk it's kinda dumb to point out oddities when you're actively looking for them

how else would you find them??

animist
Aug 28, 2018

Krankenstyle posted:

there are, its called a type system (or enum vs string if your type system sucks)

or bytes vs str in python, sorta. not really

the problem is that sometimes you want to put human data in your non-human data and then you're sad :/

animist
Aug 28, 2018

Krankenstyle posted:

either dont do that or make some sort of transformation that fixes the problem (lol)

lol

animist
Aug 28, 2018
u ever just sit around n get mad at committees

currently im mad at the google fucks squatting on the webassembly governing board. they didn't feel like integrating 1 (1) algorithm into their Magic Special Javascript Runtime, so they're forcing everyone else to use a spec that's full of obnoxious misfeatures

and of course webassembly's gonna end up being the assembly format we're all stuck with forever, because we live in hell. and it's just 80% more obnoxious and generates significantly worse code than it might be able to, because 3 dudes wanted to force everyone else to do their work for them.

so, sorry, tps in the AI blockchain mines of the 23rd century. u might wonder why the universal assembly format that runs all your rusty slave-powered computers doesn't have basic blocks, and instead requires you to pretend to be compiling to a bizarre subset of javascript and turn your CFG into awful frankenstein duffs-device loops just to compile a switch statement. blame this guy

animist
Aug 28, 2018
sounds like you need graphql OP. or possibly SOAP

animist
Aug 28, 2018
does anybody actually use self-documenting features of REST apis? github's api has a million extra annotations on every message and they seem pretty pointless to me

animist
Aug 28, 2018
git subtree's decent in that it's mostly transparent to whoever's pulling your repo

animist
Aug 28, 2018

wednesday already???

animist
Aug 28, 2018
help, my tensorflow configuration has become sentient and is trying to adopt more than 100 separate categories of dog

animist
Aug 28, 2018
i want to make a thing to let cargo optionally download prebuilt libraries instead of building from source but there's no way to tell it to turn off dependencies written in rust from a build script :argh:

animist
Aug 28, 2018

gonadic io posted:

Yeah this sounds like a deep change in cargo itself honestly

Comedy option: pre populate the cargo cache and trick it into thinking it's already built the library from source

other option: download a binary, and if that fails, `cargo install` the binary

animist
Aug 28, 2018
has anyone ever built anything useful in haskell

besides pandoc

animist
Aug 28, 2018
ctps: https://docs.rs/runtime/ + async/await makes rust async remarkably bearable

animist
Aug 28, 2018

DONT THREAD ON ME posted:

openssl cli is so bad, i spent a few hours learning the template system and gave up

the... template system? :ohdear:

Adbot
ADBOT LOVES YOU

animist
Aug 28, 2018
the worst data format i've had to work with recently is json-ld, which is the result of the semantic web people getting their greasy hands on json

code:
{
  "@graph": [
    {
      "http://schema.org/description": "The Empire State Building is a 102-story landmark in New York City.",
      "http://schema.org/geo": {
        "@id": "_:b1",
        "http://schema.org/latitude": "40.75",
        "http://schema.org/longitude": "73.98"
      },
      "http://schema.org/image": {
        "@id": "http://www.civil.usherbrooke.ca/cours/gci215a/empire-state-building.jpg"
      },
      "http://schema.org/name": "The Empire State Building"
    },
    {
      "@id": "_:b1",
      "http://schema.org/latitude": "40.75",
      "http://schema.org/longitude": "73.98"
    },
    {
      "@id": "http://www.civil.usherbrooke.ca/cours/gci215a/empire-state-building.jpg"
    }
  ],
  "@context": "https://w3id.org/security/v1",
  "signature": {
    "type": "EcdsaKoblitzSignature2016",
    "created": "2019-06-07T03:23:16Z",
    "creator": "ecdsa-koblitz-pubkey:020d79074ef137d4f338c2e6bef2a49c618109eccf1cd01ccc3286634789baef4b",
    "signatureValue": "IJY25idmG+Yvy9kB57yNB6WNRU9jLtb8Vv6BEEIus9mcQTIpyPr25H3tx876WA7c1DXl8Wcx7TPvOSovKQ3HbyE="
  }
}
yes, that is RDF embedded in JSON. it's also signed with the bitcoin elliptic curve because they're pushing this to the blockchain people for some godforsaken reason

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply