|
suffix posted:love the key feature of skein i'm the pervasive json flavor
|
# ? Sep 7, 2018 21:28 |
|
|
# ? Dec 3, 2024 15:34 |
|
one of the open source bits of monitoring infrastructure I run recently updated a Django library in their debian packages course, they didn't update any of their code to handle those libraries (??) in the same package so all of it immediately fell over. track down the change on github -> raise issue via mailing list (lol) that current Debian package is literally totally broken without manually rolling back the library -> no response
|
# ? Sep 7, 2018 21:39 |
|
Yeah, that's what I'm using... but I have to do it in the context of the event-based json decoder like it's 1998. You can't just "Unmarshal" (the ~idiomatic~ term for deserializing) the json string and then call Number.String on it. The alternative (that I might end up switching to) is to just Unmarshal into a map[string]map[string]string or whatever and grab priceMessage["turd"]["price"] (but a few levels deeper). Shaggar posted:incredible. why does anyone use go? My boss gets SUPER excited about our production service docker containers that are like 10-20MB.
|
# ? Sep 8, 2018 01:21 |
|
Finster Dexter posted:My boss gets SUPER excited about our production service docker containers that are like 10-20MB. my Rust discord bot has an 8mb image and it's not like I've tried to minimise it too much other than using alpine https://github.com/djmcgill/dominions-5-status (the code is poo poo please don't judge me)
|
# ? Sep 8, 2018 01:28 |
|
gonadic io posted:my Rust discord bot has an 8mb image and it's not like I've tried to minimise it too much other than using alpine Rust programs are fully compiled, right? Can you drop it into a `FROM scratch` image?
|
# ? Sep 8, 2018 01:30 |
|
Finster Dexter posted:Yeah, that's what I'm using... but I have to do it in the context of the event-based json decoder like it's 1998. You can't just "Unmarshal" (the ~idiomatic~ term for deserializing) the json string and then call Number.String on it. "we spent 100x as much time in development but we saved $.00000000009/year on our aws bill!"
|
# ? Sep 8, 2018 01:31 |
|
the real benefit is to make "works on my machine, bub" unacceptable to say. of course, "works on my machine" may happen a lot still with docker, but it will happen in brave new ways and therefore you get to yell at the devs
|
# ? Sep 8, 2018 01:35 |
|
docker is orthogonal to golang. .net core, for example, runs just fine in containers.
|
# ? Sep 8, 2018 01:50 |
|
docker? i hardly knew 'er!
|
# ? Sep 8, 2018 02:03 |
|
Fiedler posted:docker is orthogonal to golang. ya i built a webapi thing and got it running in a docker on a rancher with absolutely zero understanding of what i was doing in like 20 minutes
|
# ? Sep 8, 2018 03:14 |
|
Boiled Water posted:SQL does so just write a decimal class that implements all of the normal operators but calls out to your database for the actual math …and if you put the implementation directly in the class declaration, the compiler can inline it!
|
# ? Sep 8, 2018 06:02 |
|
eschaton posted:so just write a decimal class that implements all of the normal operators but calls out to your database for the actual math uh oh somebody leaked epics custom webforms implementation
|
# ? Sep 8, 2018 06:17 |
|
Fiedler posted:docker is orthogonal to golang. Oh I know, and I've spun up sets of .net core services in docker for my boss. He scoffed at the 175MB docker image size for a .net core image, a little. imho, that doesn't seem that bad but whatever.
|
# ? Sep 8, 2018 06:21 |
|
find a new job.
|
# ? Sep 8, 2018 07:19 |
|
eschaton posted:so just write a decimal class that implements all of the normal operators but calls out to your database for the actual math anything short of writing your own custom TDS client will have unacceptable performance. here, this is a good place to start: https://github.com/dotnet/corefx/tree/master/src/System.Data.SqlClient/src/System/Data/SqlClient
|
# ? Sep 8, 2018 07:39 |
|
woo my game engine's starting to actually work like a game engine and I've got glide texture mapping working yay I need to actually get around to writing a lisp parser dll so I can set up my simulation through fancy scripts instead of hardcoding cube1, cube2, cube3
|
# ? Sep 8, 2018 08:14 |
|
Luigi Thirty posted:I need to actually get around to writing a lisp parser dll so I can set up my simulation through fancy scripts instead of hardcoding cube1, cube2, cube3 yak_shaving.txt
|
# ? Sep 8, 2018 08:16 |
|
eschaton posted:so just write a decimal class that implements all of the normal operators but calls out to your database for the actual math this reminds me that the last product i worked on called into sqlite to minify json as a general utility function so pretty much everything network related had a dependency on sqlite
|
# ? Sep 8, 2018 08:20 |
|
redleader posted:yak_shaving.txt yeah scripting is p useful for a video game
|
# ? Sep 8, 2018 08:27 |
|
Luigi Thirty posted:woo my game engine's starting to actually work like a game engine and I've got glide texture mapping working yay or just figure out how to embed scheme48, it’s p deece unless you just wanna implement read, eval, and apply of course
|
# ? Sep 8, 2018 08:31 |
|
you could use SQLite for your scripting you can write custom functions, collations, etc. in C and do pretty much anything, it’s rather clever (that’s how I made it do fully Foundation-compatible Unicode sort/compare/index) then you just write all of your scripts as queries!
|
# ? Sep 8, 2018 08:35 |
|
Finster Dexter posted:Yeah, that's what I'm using... but I have to do it in the context of the event-based json decoder like it's 1998. You can't just "Unmarshal" (the ~idiomatic~ term for deserializing) the json string and then call Number.String on it. can't you tag the field as json.RawMessage and parse the []byte as needed?
|
# ? Sep 8, 2018 10:33 |
|
Luigi Thirty posted:yeah scripting is p useful for a video game fair. it just seems like rolling your own lisp is the sort of thing that would be better served by using something off the shelf
|
# ? Sep 8, 2018 11:37 |
|
redleader posted:fair. it just seems like rolling your own lisp is the sort of thing that would be better served by using something off the shelf you do realize who you're talking to, right?
|
# ? Sep 8, 2018 11:43 |
|
Finster Dexter posted:Oh I know, and I've spun up sets of .net core services in docker for my boss. He scoffed at the 175MB docker image size for a .net core image, a little. imho, that doesn't seem that bad but whatever. the base runtime image for what i'm working on is 1GB before actually adding any apps it's a legacy appserver but still, lol
|
# ? Sep 8, 2018 14:23 |
|
question: are image sizes ever an issue?
|
# ? Sep 8, 2018 15:10 |
|
Boiled Water posted:question: are image sizes ever an issue? lol no. they make docker slightly more expensive to use, and builds/deploys take slightly longer.
|
# ? Sep 8, 2018 15:16 |
|
redleader posted:fair. it just seems like rolling your own lisp is the sort of thing that would be better served by using something off the shelf you know I'm writing an engine for glide right
|
# ? Sep 8, 2018 19:24 |
|
Stringent posted:you do realize who you're talking to, right? Luigi Thirty posted:you know I'm writing an engine for glide right we all tilt at our own windmills
|
# ? Sep 9, 2018 00:53 |
|
anyway I found one of those tiny lisp interpreters in C with a compatible license and I’m going to extend it for my needs into something resembling a mission scripting system, so I’m writing a bunch of lovely lisp instead of a bunch of lovely C
|
# ? Sep 9, 2018 03:14 |
|
Blinkz0rz posted:can't you tag the field as json.RawMessage and parse the []byte as needed? I... don't actually know. This isn't mentioned in any of the articles or examples I've read, so I'll have to look at it more closely.
|
# ? Sep 9, 2018 07:20 |
|
gonadic io posted:lol no. they make docker slightly more expensive to use, and builds/deploys take slightly longer. The differences I've seen between dinky FROM scratch golang images and .net core images that are like 150-200MB is pretty negligible in our kubernetes cluster in AWS.
|
# ? Sep 9, 2018 07:22 |
|
woo I got ECL built with VC6, now I have a lisp for my engine https://twitter.com/LuigiThirty/status/1038966800900399110
|
# ? Sep 10, 2018 02:03 |
|
Luigi Thirty posted:woo I got ECL built with VC6, now I have a lisp for my engine still a better debugging experience than xcode
|
# ? Sep 10, 2018 02:54 |
|
Finster Dexter posted:The differences I've seen between dinky FROM scratch golang images and .net core images that are like 150-200MB is pretty negligible in our kubernetes cluster in AWS. a lot of that size is going to be in the layers brought in by FROM microsoft/dotnet and so should be shared, assuming you have more than one .net core container
|
# ? Sep 10, 2018 04:34 |
CRIP EATIN BREAD posted:even our technical writer has git figured out and she has only started using it like a month ago. is this problem with all high level etl guys? ours is absolutely incapable to use ssh 10 months into working in a linux server shop. and by absolutely incapable i mean just connecting to server via ssh
|
|
# ? Sep 10, 2018 06:40 |
mid-30s it consultant looking at a [putty] terminal - what is this program called
|
|
# ? Sep 10, 2018 06:41 |
also im dumb and playing poe again so time to crack out my scala value counter for poe stash and finish it to some usable-ish state
|
|
# ? Sep 10, 2018 06:41 |
|
cinci zoo sniper posted:is this problem with all high level etl guys? ours is absolutely incapable to use ssh 10 months into working in a linux server shop. and by absolutely incapable i mean just connecting to server via ssh learning and using version control doesn't give immediate value, and as such I doubt any boss would be willing to get that ball rolling hell my current employer had no version control or code repository of any kind when I started
|
# ? Sep 10, 2018 07:25 |
|
|
# ? Dec 3, 2024 15:34 |
Boiled Water posted:learning and using version control doesn't give immediate value, and as such I doubt any boss would be willing to get that ball rolling dude is his own boss and reports directly to an executive who doesnt understand or manage any tech. this is like startup tier freedom and dude needs a support team to check how much ram is his poo poo taking up on server or what database processes are currently open and how much resources they consume at least in 10 months he did learn how to commit and, to some extent, how gitignore works, so we only lost several weeks of work when his computer died
|
|
# ? Sep 10, 2018 08:18 |