New around here? Register your SA Forums Account here!

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
HoboMan
Nov 4, 2010

there's a vs 2019 now????
i just got approval to move projects to 2017!

Adbot
ADBOT LOVES YOU

gonadic io
Feb 16, 2011

>>=

HoboMan posted:

there's a vs 2019 now????
i just got approval to move projects to 2017!

apparently there's jvm versions after 7 too

Chalks
Sep 30, 2009

HoboMan posted:

there's a vs 2019 now????
i just got approval to move projects to 2017!

they've added more dumb poo poo to almost every context menu in the entire application, it's great

Lutha Mahtin
Oct 10, 2010

Your brokebrain sin is absolved...go and shitpost no more!

galenanorth posted:

If I can't find anything, I could launch my business anyway even though I can't get a Home Occupation License and see if I can make enough money to move out

are you able to get a PO Box or a coworking space?

also did u try "well im technically doing all the business online, so" :v:

the talent deficit
Dec 20, 2003

self-deprecation is a very british trait, and problems can arise when the british attempt to do so with a foreign culture





redux is great. what are the issues people have with it? the connecting react to redux part is kinda clunky but the tooling and testing benefits make it worth it imo

Powerful Two-Hander
Mar 9, 2004

Mods please change my name to "Tooter Skeleton" TIA.


Xarn posted:

ctps: My job position was just renamed from "Software engineer" to "Researcher"

Guess I was just too terrible? :v:

busted for copying all your code off stack overflow :rip:

akadajet
Sep 14, 2003

HoboMan posted:

there's a vs 2019 now????
i just got approval to move projects to 2017!

it’s not like the project files are any different

tinaun
Jun 9, 2011

                  tell me...
god i love tom7

https://www.youtube.com/watch?v=5TFDG-y-EHs

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

akadajet posted:

yeah. it does state management and pumps up your slocs

been laughing at this for a few hours now. wanna see some framework earnestly boast about pumping up slocs

brap
Aug 23, 2004

Grimey Drawer
typescript tools javascript as much as javascript itself can be tooled.

who here can describe the differences between the various options for '--module' or hell '--esModuleInterop' and what pitfalls they present with interop between projects that use different settings for it

redleader
Aug 18, 2005

Engage according to operational parameters

HoboMan posted:

yeah i am also a v terrible javascript programmer, but i got the sense that adding redux wasn't really doing anything except adding a bunch of boilerplate that makes my code hard to read

in exchange i get... a state machine i mostly had to make myself?

i think the idea is that redux forces you to write that state machine, rather than leave your ui state scattered to the four winds over your entire app, with all the pros and cons inherent in that architecture

i don't know if it's a good or a bad thing overall, but having dealt with jquery spaghetti in the past, forcing your devs to adopt a common model seems like a good start

dick traceroute
Feb 24, 2010

Open the pod bay doors, Hal.
Grimey Drawer
I think a lot more things make sense when you have to work on programs with other people
Other people are the worst

LanceHunter
Nov 12, 2016

Beautiful People Club


All this talk about front-end frameworks and nobody's mentioned Oracle JET? https://www.youtube.com/watch?v=976h4WsBbuE - It's built on Knockout!

Sagacity
May 2, 2003
Hopefully my epitaph will be funnier than my custom title.
ah, Knockout! I've built the mapping plugin for that. It was terrible

but i still think it was the best thing available at that point in time (arguably better than all the 'let's just do a diff' approaches that happened afterwards)

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T



Soiled Meat
anything built on javascript is bad and people who use those things are also bad.

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS
i have a weird/dumb idea that i was hoping to get some thoughts on.

i wrote a task runner in python that takes user supplies code, generates a context, and executes the code in that context. the task running code is kind of janky and, because it's python and the gil exists i've had to resort to using multithreading to get semi-decent performance with the trade-off that the process boundary is extremely brittle.

i was thinking about rewriting the task runner code in go and somehow using ffi to execute the python code. from reading it looks like i'll have to use the c import and write a c bridge to handle the ffi but there's also a bit of the runner code that does some code validation and it'd be cool to port that to go as well

am i being stupid here? are there better options?

FlapYoJacks
Feb 12, 2009

by vyelkin
Yeah, use C++ OP

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS
i haven't written a line of c++ since high school

Phobeste
Apr 9, 2006

never, like, count out Touchdown Tom, man
rat bert is about to recommend using boost python. as a knowledgeable bystander I can tell you: you’re allowed to murder him preemptively

gonadic io
Feb 16, 2011

>>=

Blinkz0rz posted:

i have a weird/dumb idea that i was hoping to get some thoughts on.

i wrote a task runner in python that takes user supplies code, generates a context, and executes the code in that context. the task running code is kind of janky and, because it's python and the gil exists i've had to resort to using multithreading to get semi-decent performance with the trade-off that the process boundary is extremely brittle.

i was thinking about rewriting the task runner code in go and somehow using ffi to execute the python code. from reading it looks like i'll have to use the c import and write a c bridge to handle the ffi but there's also a bit of the runner code that does some code validation and it'd be cool to port that to go as well

am i being stupid here? are there better options?

Rust genuinely has some pretty good python integration: https://github.com/dgrunwald/rust-cpython
looks like you can do
code:
// run python code from rust
let gil = Python::acquire_gil();
let python = gil.python();
py.eval("MY PYTHON CODE", Some(&globals), Some(&locals));
cal also register rust code as a python function/class too.

gonadic io fucked around with this message at 23:00 on Apr 6, 2019

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS
does rust have an aws sdk? cause that's the other piece of the puzzle

i'd love to use rust if i could

gonadic io
Feb 16, 2011

>>=

Blinkz0rz posted:

does rust have an aws sdk? cause that's the other piece of the puzzle

i'd love to use rust if i could

Seems so? https://github.com/rusoto/rusoto
I've not used it but it got endorsed on the AWS blog if that holds any weight: https://aws.amazon.com/blogs/opensource/rustconf-2018/

gonadic io
Feb 16, 2011

>>=
I'm doing my first async http server/client/db thing in rust and am finding it pretty painful honestly: https://github.com/djmcgill/de-list-server

just the process of getting used to the hyper/tokio setup, and it doesn't help that the library I proofed out the sync stuff in hasn't updated it's async interface in a while so i'm having to reimplement it. i'll probably end up contributing my changes back as a pr i think but it's annoying to have to do

e: also i should have just used an error library (or just ignore all errors) from the beginning instead of ending up with poo poo like Box<(dyn std::error::Error + Send + Sync) in a bunch of places

gonadic io fucked around with this message at 23:33 on Apr 6, 2019

tinaun
Jun 9, 2011

                  tell me...
yeah trying to use the first generation of async libs that were developed around tokio-core is really really painful now

FlapYoJacks
Feb 12, 2009

by vyelkin

Phobeste posted:

rat bert is about to recommend using boost python. as a knowledgeable bystander I can tell you: you’re allowed to murder him preemptively

woah woah woah. calm down! I’m not a sadist!

You could use pybind instead.

gonadic io
Feb 16, 2011

>>=

tinaun posted:

yeah trying to use the first generation of async libs that were developed around tokio-core is really really painful now

if i'm reimplementing it myself i might just jump to 0.3 onwards since why not

e: because none of the web frameworks seem to have updated presumably due to stability issues :(

gonadic io fucked around with this message at 23:45 on Apr 6, 2019

tinaun
Jun 9, 2011

                  tell me...
the only web framework on 0.3 at the moment is tide, which is pretty cool but still super early

hopefully with the impending stabilization of futures things will start moving towards working better on stable. its always been a bit of a catch 22 since you need to test libraries before you stabilize them, but people are hesitant to work with libs that aren't stable yet, especially when that means having to move from stable rustc to a nightly build. (thats why stuff like romio exists, since tokio doesn't want to make a official release that requires nightly)

bob dobbs is dead
Oct 8, 2017

I love peeps
Nap Ghost

Blinkz0rz posted:

i have a weird/dumb idea that i was hoping to get some thoughts on.

i wrote a task runner in python that takes user supplies code, generates a context, and executes the code in that context. the task running code is kind of janky and, because it's python and the gil exists i've had to resort to using multithreading to get semi-decent performance with the trade-off that the process boundary is extremely brittle.

i was thinking about rewriting the task runner code in go and somehow using ffi to execute the python code. from reading it looks like i'll have to use the c import and write a c bridge to handle the ffi but there's also a bit of the runner code that does some code validation and it'd be cool to port that to go as well

am i being stupid here? are there better options?

What's the context here? Why did you write performance critical code in a plang? Does network io dominate? If not, what dominates?

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS
it's not performance critical but it is bottlenecked by python's gil if i use threads and lots of very specific data handling and sanitization when dealing with passing values across the process boundary if i use multiprocess

i'd love to work with something that's a) statically typed, b) performant, and c) doesn't have the same annoying considerations around parallelizing execution

FlapYoJacks
Feb 12, 2009

by vyelkin
Modern C++ is quite good and meets all of one points.

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS
also the rest of my lovely team only really knows python so it ended up being python but it takes loving forever to run these tasks

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS

ratbert90 posted:

Modern C++ is quite good and meets all of one points.

i came in asking this question thinking i was the terrible programmer but maybe it's u?

DaTroof
Nov 16, 2000

CC LIMERICK CONTEST GRAND CHAMPION
There once was a poster named Troof
Who was getting quite long in the toof

Blinkz0rz posted:

i came in asking this question thinking i was the terrible programmer but maybe it's u?

all programmers are terrible







































































fact

Beamed
Nov 26, 2010

Then you have a responsibility that no man has ever faced. You have your fear which could become reality, and you have Godzilla, which is reality.


Blinkz0rz posted:

i haven't written a line of c++ since high school

who the hell's high school had programming courses

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
am I the only one who reads python's lock as "ol' gil" whenever I read it

pseudorandom name
May 6, 2007

Beamed posted:

who the hell's high school had programming courses

mine

Shaggar
Apr 26, 2006
same. I had pascal (lol) and c++

pseudorandom name
May 6, 2007

hello fellow 1998-1999 high schools student

Qtotonibudinibudet
Nov 7, 2011



Omich poluyobok, skazhi ty narkoman? ya prosto tozhe gde to tam zhivu, mogli by vmeste uyobyvat' narkotiki

Beamed posted:

who the hell's high school had programming courses

we got BASIC and vb6. quality stuff.

Adbot
ADBOT LOVES YOU

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
our high school "programming" course was 90% html (using dreamweaver) and 10% "here's how to use php as a templating language"

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