Club PA 2.0 has arrived! If you'd like to access some extra PA content and help support the forums, check it out at patreon.com/ClubPA
The image size limit has been raised to 1mb! Anything larger than that should be linked to. This is a HARD limit, please do not abuse it.
Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

[Programming] Page overflow to new thread

1101112131416»

Posts

  • DrovekDrovek Registered User regular
    edited September 11
    A tiny heater, you say?
    0m07g2ig1gga.png

    Drovek on
    steam_sig.png
    urahonkydjmitchellaDisruptedCapitalist
  • TelMarineTelMarine Registered User regular
    "with storage basket" okay then...

    3ds: 4983-4935-4575
  • DrovekDrovek Registered User regular
    TelMarine wrote: »
    "with storage basket" okay then...

    That's where the tiny heater resides... whenever he feels like it.

    steam_sig.png
    urahonky
  • bowenbowen How you doin'? Registered User regular
    they make heating pads that plug into usb

    Ladies.
  • dporowskidporowski Registered User regular
    People doing whatever they want got so out of hand around here at GenericMegaCorp that they stopped allowing people to "install" power strips themselves because they'd keep chaining them.

    My record is 7.

  • LD50LD50 Registered User regular
    urahonky wrote: »
    LD50 wrote: »
    urahonky wrote: »
    Any old pair of fingerless gloves will do. I used a pair back in my university days over winter when we'd rather spend the electricity money on keeping our computers going than using the electric heaters

    Two pairs of socks, PJ bottoms, jeans, long-sleeved t-shirt, two hoodies and fingerless gloves kept me City of Heroes-ing in temperatures below 0C

    I'll give it a shot, thanks. So tired of typing a few words and then having to warm up each hand.

    A coworker of mine has a tiny desk heater she uses. Might look into one of those.

    I think our office doesn't let us buy them.

    Yeah, I wasn't suggesting you ask them.

    urahonky
  • djmitchelladjmitchella Registered User regular
    People doing whatever they want got so out of hand around here at GenericMegaCorp that they stopped allowing people to "install" power strips themselves because they'd keep chaining them.

    I remember a previous job where enough people had heaters or kettles plugged in that every so often a breaker would get overloaded, and an entire row of people would simultaneously start swearing. (that was when we were all using desktop PCs -- at one point I found an old UPC that was sitting around unused and reappropriated it, which made my life that bit less stressful)

  • EchoEcho Moderator mod
    Worst problem we have in that department is that we can't run two coffee machines and the tea kettle at the same time.

    Echo wrote: »
    Let they who have not posted about their balls in the wrong thread cast the first stone.
  • mightyjongyomightyjongyo Registered User regular
    edited September 12
    We're going through an EHS audit so facilities sent out this notice about how any personal appliances need to be removed -- this includes things like the little toaster someone brought from home for everyone to use in the break room, as well as any personal things like coffee machines and mini fridges people are keeping in their offices.

    They're claiming that they're going to replace anything removed from the break room with industrial-grade stuff, but it is a sad week in the office

    edit: programming stuff -- I get to write plugins for Telegraf which is written in Go so I get to learn a new language!

    mightyjongyo on
    Monkey Ball Warrior
  • Jimmy KingJimmy King Registered User regular
    Got access to the new github actions stuff. Is their go stuff broken or am I just stupid?

    Used their default action - it couldn't install `dep` even though that is part of the default code they provide. The problem was that the directory dep wanted to copy stuff to did not exist, so I created it. $GOPATH is not set, $GOBIN is not set. After making sure the dir is created and setting the env vars, `dep ensure` still fails because where they try to run it from is not inside `$GOPATH/src`

  • urahonkyurahonky Dayton, OHRegistered User regular
    Echo wrote: »
    Worst problem we have in that department is that we can't run two coffee machines and the tea kettle at the same time.

    This is the most European thing I've ever read.

  • urahonkyurahonky Dayton, OHRegistered User regular
    Programming stuff: My new project has me using Serverless.IO stuff to write an API Gateway/Lambda function to do some mobile POS system work for a large retail company. It's pretty fun stuff!

    LD50
  • Jimmy KingJimmy King Registered User regular
    Well, I've worked through the various nonsense to get `dep ensure` to work. Now I'm getting a bunch of errors like this.
    ##[error]rest_api/restapi_test.go:253:26: cannot use db (type *"github.com/jmoiron/sqlx".DB) as type *"github.com/jmichalicek/worrywort-server-go/vendor/github.com/jmoiron/sqlx".DB in argument to worrywort.FindTemperatureMeasurement
    

    I may have to break down and just run this shit in a standard go container rather than trying to run it on their vm.

  • EchoEcho Moderator mod
    Jimmy King wrote: »
    Well, I've worked through the various nonsense to get `dep ensure` to work. Now I'm getting a bunch of errors like this.
    ##[error]rest_api/restapi_test.go:253:26: cannot use db (type *"github.com/jmoiron/sqlx".DB) as type *"github.com/jmichalicek/worrywort-server-go/vendor/github.com/jmoiron/sqlx".DB in argument to worrywort.FindTemperatureMeasurement
    

    That's probably a vendor/gopath mismatch, typically happens when you only have some parts of a package vendored and then some code uses other un-imported parts from the gopath.

    Echo wrote: »
    Let they who have not posted about their balls in the wrong thread cast the first stone.
  • Jimmy KingJimmy King Registered User regular
    Echo wrote: »
    Jimmy King wrote: »
    Well, I've worked through the various nonsense to get `dep ensure` to work. Now I'm getting a bunch of errors like this.
    ##[error]rest_api/restapi_test.go:253:26: cannot use db (type *"github.com/jmoiron/sqlx".DB) as type *"github.com/jmichalicek/worrywort-server-go/vendor/github.com/jmoiron/sqlx".DB in argument to worrywort.FindTemperatureMeasurement
    

    That's probably a vendor/gopath mismatch, typically happens when you only have some parts of a package vendored and then some code uses other un-imported parts from the gopath.

    I found it. I've got one step which installs dep and then runs `dep ensure`. Then another step which runs `go vet ./...` and another `go test ./...`. I needed to cd back to the source dir which was inside my $GOPATH. The new steps moved me back out to the source checkout dir which github does which is not inside $GOPATH.

    Still a somewhat broken setup since their barebones go starter includes installing dep, but fails. The process overall requires too much mucking about with boilerplate continuing to set the same things over and over unless I've missed some base level configurability at the workflow level. I hope some day someone gets hosted CI right. I'm on the verge of setting up Jenkins because no one quite gets hosted CI right for what I want... but I don't have the time to muck with it and I'm already too close for my own comfort to the ops/glorified system administrator side of devops stuff at work right now.

  • urahonkyurahonky Dayton, OHRegistered User regular
    Has anyone had any success with React Native on iOS devices? The app we're looking at isn't going to really be all that complicated. All of the hard stuff is taken care of in the backend. I'm just wondering if anyone here's used it before.

  • EchoEcho Moderator mod
    So we're using a third-party Go SDK for their service we're writing an integration for, and Jesus Harold Ramis Christ on a pogo stick.

    This is the same SDK that randomly panics instead of returning an error. I just discovered that for whatever reasons (trying to micro-optimize performance?) they don't use json.Unmarshal (avoiding using reflection? Who knows!), they do some weird-ass string manipulation instead in order to get HTTP payloads parsed into structs.

    I'm sure this cannot possibly backfire in any way.

    Echo wrote: »
    Let they who have not posted about their balls in the wrong thread cast the first stone.
    DisruptedCapitalist
  • DisruptedCapitalistDisruptedCapitalist rugged, weathered Registered User regular
    Whhhhhyyyyy? json is so clear and simple, you don't need to reinvent the wheel people!

    EchothatassemblyguyschussEar3nd1l
  • Ear3nd1lEar3nd1l Eärendil the Mariner, father of Elrond Registered User regular
    urahonky wrote: »
    Has anyone had any success with React Native on iOS devices? The app we're looking at isn't going to really be all that complicated. All of the hard stuff is taken care of in the backend. I'm just wondering if anyone here's used it before.

    I used about a year and a half ago. It was not a pleasant experience. Whatever you do, don't use Expo. There are a lot of things RN does that it does not support, at least when I used it. You're better off building an RN app from scratch, rather than using Expo as a framework.

  • Jimmy KingJimmy King Registered User regular
    urahonky wrote: »
    Has anyone had any success with React Native on iOS devices? The app we're looking at isn't going to really be all that complicated. All of the hard stuff is taken care of in the backend. I'm just wondering if anyone here's used it before.

    We have done some stuff with it where I work, including going to Apple TV and using React Native Web to come full circle back to a website. The general concensus is that it's fine for prototypes and simple stuff, but gets to be kind of a pain in the ass for serious apps with any complexity. They also make sweeping changes which require you to rewrite a bunch of stuff too often.

    I played with it a bit personally, but only focused on the Android side since I've got an Android phone - scrapped the project before I got around to caring about the iOS side. It has been a couple years, but at the time, I felt like I had to spend too much time fighting with "boring" stuff like just simple navigation around the app and getting buttons up in the header type area, etc.

    I also was not a fan of Expo. It seemed like a neat idea, but I felt extra hamstrung when I tried to use it. I don't remember specifics now, but remember feeling like it was forcing some patterns on me which were clearly not going to give me much freedom to do what I needed to do.

  • InfidelInfidel Heretic Registered User regular
    If you know how to React app then you likely won’t be running into the same kinda issues above. Works fine for the Native part.

    OrokosPA.png
    Play D&D 4e? :: Check out Orokos and upload your Character Builder sheet! :: Orokos Dice Roller
    The PhalLounge :: Chat board for Critical Failures IRC! :: #CriticalFailures and #mafia on irc.slashnet.org
  • urahonkyurahonky Dayton, OHRegistered User regular
    Awesome, thanks guys. The app is not going to be complicated at all. Most of the heavy lifting will be done on the server. I was just curious if it works for a small group of developers that have 0 Objective C/Swift experience and a TON of React experience.

  • Ear3nd1lEar3nd1l Eärendil the Mariner, father of Elrond Registered User regular
    I want to play around with Flutter, but I can't seem to get the Android SDK to install on my machine. It downloads and goes through the installation, but when I refresh the SDK manager in Android Studio, it says it's not installed.

  • EchoEcho Moderator mod
    Whhhhhyyyyy? json is so clear and simple, you don't need to reinvent the wheel people!

    Especially for a damn HTTP request. The time it takes to unmarshal JSON is insignificant in comparison.

    Echo wrote: »
    Let they who have not posted about their balls in the wrong thread cast the first stone.
    DisruptedCapitalistthatassemblyguyEar3nd1l
  • InfidelInfidel Heretic Registered User regular
    urahonky wrote: »
    Awesome, thanks guys. The app is not going to be complicated at all. Most of the heavy lifting will be done on the server. I was just curious if it works for a small group of developers that have 0 Objective C/Swift experience and a TON of React experience.

    This is a pretty good case for React Native then yes.

    OrokosPA.png
    Play D&D 4e? :: Check out Orokos and upload your Character Builder sheet! :: Orokos Dice Roller
    The PhalLounge :: Chat board for Critical Failures IRC! :: #CriticalFailures and #mafia on irc.slashnet.org
  • Monkey Ball WarriorMonkey Ball Warrior A collection of mediocre hats Seattle, WARegistered User regular
    Echo wrote: »
    So we're using a third-party Go SDK for their service we're writing an integration for, and Jesus Harold Ramis Christ on a pogo stick.

    This is the same SDK that randomly panics instead of returning an error. I just discovered that for whatever reasons (trying to micro-optimize performance?) they don't use json.Unmarshal (avoiding using reflection? Who knows!), they do some weird-ass string manipulation instead in order to get HTTP payloads parsed into structs.

    I'm sure this cannot possibly backfire in any way.

    Go's default JSON code isn't very well optimized (which is why there are ~500 gazillion different competing json Go libraries out there to replace it). It sounds like a really really bad attempt at improving the parse performance.

    "I resent the entire notion of a body as an ante and then raise you a generalized dissatisfaction with physicality itself" -- Tycho
  • djmitchelladjmitchella Registered User regular
    Here's an interesting use of terraform.

    Some important notes:
    7) I cannot emphasize enough how much you are actually going to be ordering a pizza. Please do not be surprised when you receive a pizza and a corresponding charge to your credit card.

    8) As far as I know, there is no programmatic way to destroy an existing pizza. terraform destroy is implemented on the client side, by consuming the pizza.

    crimsoncoyote
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    so, I back up my Mac development machine with time machine... if you've been keeping up with Apple software in the last 5 years, this should inspire fear... as things have been getting a little ruddy

    but my primary mac had a hardware failure that I needed to mail off to fix, forcing me to use my backup system to create a clone

    amazingly, it worked. even with less disk space than the original, allowing me to prune down what got restored from the backup, I was able to spin up a new dev machine with my time machine backup and was up and running doing business critical stuff within a few hours

    I attribute this success mostly to the original clever design of OS X (and by extension, unix itself)... with most system configuration and preferences details being stored properly in files that are apart from the software itself, the Time Machine backup has a remarkably detailed memory, right down to maintaining user sessions in my browser between machines... which is eerie... remembering the UI state of various windows in my dev tools, and so on... despite those tools not being installed on the backup at first run.


    not bad for $0... I'm not sure I could do the same on a Windows box without at least some third party software to steer the process along

  • InfidelInfidel Heretic Registered User regular
    Yeah, there's nothing as good no matter how much you spend, due to how Windows (mis)manages applications as you point out.

    OrokosPA.png
    Play D&D 4e? :: Check out Orokos and upload your Character Builder sheet! :: Orokos Dice Roller
    The PhalLounge :: Chat board for Critical Failures IRC! :: #CriticalFailures and #mafia on irc.slashnet.org
Sign In or Register to comment.