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
Arcsech
Aug 5, 2008

Fiedler posted:

great, you've figured out that you want to write developer tools. now immediately go apply for those jobs. worst case is you're not hired and you try again in 6 months.

yeah there's a fair amount of these jobs out there. just look up some tools that you've used or thought about using and see if they have a careers page. if they do, apply for one that looks interesting.

if you don't get an interview, re-apply in 3 months. if you interview but don't get the job, reapply in 6 months

Adbot
ADBOT LOVES YOU

Arcsech
Aug 5, 2008

AWWNAW posted:

they already have that and it’s called GKE

seems like this is tooling for rolling your own functions as a service type of thing with event/request plumbing but also some other vague buzz wordy poo poo

all of the examples at https://github.com/knative/docs/tree/master/serving/samples that i can see just use a normal-rear end http framework to serve some poo poo in go/ruby/python/java/whatever in a docker container. doesnt sound very "functions as a service" to me if I have to use a normal http framework and poo poo still

idk what this does other than buzzwords. how is this different from regular kubernetes

Arcsech
Aug 5, 2008

gonadic io posted:

goddamn logstash literally has a literal 12 minute startup time

Apparently it's written in jruby and the plugins are written in Ruby itself which get evaled a bunch

see if filebeat + ingest pipelines will do what you need, it’s possible you could cut out logstash entirely

Arcsech
Aug 5, 2008

white sauce posted:

Hi, I'm a fng learning Java and I need help with my first set of Homework for my programming class :downs: It's very basic stuff but I have 0 experience with this and the assignment is pretty difficult.

I'll be willing to paypal or venmo you $ for the time spent helping me. Feel free to send a PM if it interests you.

Also, feel free to own me for being such an idiot and posting this in this thread. Thanks!

dont fuckin do this

this reads as "i want to pay someone to do my homework for me". nobody wants to do your homework for you. :justpost: your question and someone will probably help you

if you really think you need a ton of help find a real tutor

e: but seriously just post your question, even if it's really dumb it's almost certain someone will at least post a link to point you in the right direction

Arcsech
Aug 5, 2008

CRIP EATIN BREAD posted:

java is good though. oracle is not.

Arcsech
Aug 5, 2008

CRIP EATIN BREAD posted:

it's going to kill java for people who post questions on stack overflow asking how to concatenate two strings. the java ecosystem itself will be fine.

yep

oracle will have a few new lawsuit targets, some idiots will get made examples of, people will freak out

and then all the adults using java who pay people money to understand software licenses will just keep on doing what they're doing today

Arcsech
Aug 5, 2008

mystes posted:

Big corporations may license java for now, and milking them is probably the goal, but it's going to turn into a thing like React before the license change where everyone is trying to switch away from it as fast as possible regardless of whether that's actually a massive overreaction.

ah yes, my company will jump at the chance to rewrite our 1.9 million lines of java into rust, not a problem. totally something to do on a whim

e: also port 2 or 3 giant libraries we depend on into some other language, because there basically aren't meaningful alternatives in any other language

e2: plus god knows how many lines of scala in another big project i forgot exists

Arcsech fucked around with this message at 22:32 on Sep 26, 2018

Arcsech
Aug 5, 2008

akadajet posted:

cjs: trying to convince web developers they shouldn't send 10-20 megs of json documents to the web browser and then build a full text index off of that instead of implementing server side search.

i dare you to suggest using a transpiler on lucene and sending that down to the client to build the index

Arcsech
Aug 5, 2008

akadajet posted:

lol no. it's its own thing

but they did try this first
https://lunrjs.com/

lol i found that googling to see if someone had already done that right after i posted

Arcsech
Aug 5, 2008
i feel seen

Arcsech
Aug 5, 2008

CRIP EATIN BREAD posted:

instead of playing catch-up with an inferior database i'd recommend just using postgres because i can't imagine a single use-case where mysql > postgres.

except maybe in billable hours for maintenance?

isnt mysql slightly faster if you're basically just using it as a key-value store?

but if you want a key-value store just use redis instead

Arcsech
Aug 5, 2008

karms posted:

we might be the best at this, no lie

new non-technical people that worked at our competitors are remarking that we have a sweet setup that's such a step above the competition

as is tradition this generates big eye rolls and knowing glances from the technical people, including those who have been here from the beginning and are responsible for over three thirds of this bullshit

btw we're hiring!!!


AggressivelyStupid posted:

ah I see we've worked at the same place

e: fortunately new place is fuckin incredible, good shops do exist

Arcsech
Aug 5, 2008
today in "the marvels of unicode": actual penises in the unicode standard

behold: 𓂸𓂹 𓂺

source

Arcsech
Aug 5, 2008

CRIP EATIN BREAD posted:

also the jOOQ guy is a lunatic. he basically maintains the entire project himself, uses github's issue management as the source of truth for all changes, and responds to every single issue you have.

jfc you weren't kidding



literally 2 orders of magnitude more lines of code and/or commits than the second highest contributor

Arcsech
Aug 5, 2008

Powerful Two-Hander posted:

our intranet uses some "google search appliance" bought at vast expense years ago and it is completely loving useless. like completely random ordering of results, irrelevant suggestions etc etc. I mean our intranet is trash anyway but still, lol

this thing is deprecated, because google doesn’t like maintaining things

and also because it loving blows, apparently, I haven’t yet heard about anyone who actually likes the thing

Arcsech
Aug 5, 2008

Powerful Two-Hander posted:

i was talking to a former colleague the other week who said "yeah we were working on a deployment on aws for months then management [of a multinational multi billion dollar org] announced that in future they would only consider using google cloud so we lost the contract ", i just said 'lmao good luck to them with that when Google abandons all support after 18 months"

idk why you'd use anything google "provides" for enterprise poo poo

honestly if you stick to the core infrastructure on google cloud (compute/storage/etc, not the fancy machine-learning-bullshit APIs) it'll probably be well-supported for a good long time as it's entirely reasonable for google to invest in amazon not eating the entire internet, and google is pretty okay at running infrastructure

anything that is not obviously critical to google's continued survival is p sketch tho

edit:

examples of google things it is okay to rely on not being deprecated as soon as someone gets bored: web search, advertising

examples of google things you should not rely on: literally anything targeted at consumers, anything involving hardware

Arcsech fucked around with this message at 22:16 on Nov 14, 2018

Arcsech
Aug 5, 2008

uncurable mlady posted:

imo effective logging and metrics are almost more important than being able to use a debugger if you’re working with distributed systems.

this is very true

putting in effective logging ahead of time will save you many, many hours of pounding at the problem with your debugger if your system has more than one process

that said, the debugger is still a great way to gently caress with the state/force pauses in one node to trigger a failure in another sometimes

and ofc if you can boil your problem down to something you can reproduce in a single node then debuggers are great

Arcsech
Aug 5, 2008

Corla Plankun posted:

(please remember that this is a safe space for terrible programmers when you read my question, im sorry)

if the code needs a debugger to debug it doesnt that mean it's too complicated in the first place? i don't ever use debuggers because everything is written in such a way that it's all unit-testable and i dont need the whole thing to be running to find bugs

very often production software is complex enough that you can’t hold every execution path in your head at once, and interactions between components are the source of way more problems than bugs within a single function/class/whatever. integration tests help but you’ll never cover every scenario

my top use cases for debuggers:
1) doing things I *could* do with logging, but with a 100x faster turnaround and less info to sift through
2) poking state at runtime to force a failure
3) figuring out what the gently caress type a variable is. mostly in dynamic languages, but sometimes in Java if there’s an interface or inheritance tree that has more than like 2 things in it

Arcsech
Aug 5, 2008

Finster Dexter posted:

Our outsoruced Russian devs one-upped that scenario, and galaxy brained us by aggressively caching all the data inside the http service layer, so if we update the db from any other client (admin portal, mobile app, etc.) it requires a full restart of the http service and most of the other backend services, in order to invalidate and reload their cache.

i see you work with my former lead architect from $OLDJOB. surprised he moved to russia though

Arcsech
Aug 5, 2008

carry on then posted:

you called all java programmers hobbyists

that’s exactly the kind of poo poo I’m getting really tired of in this industry, the smug condescension everyone exudes toward all programmers who don’t make the exact same choices

just what I’d expect a shitlang using scrublord would say. maybe you should try using a good language for once :smuggo:

Arcsech
Aug 5, 2008

Phobeste posted:

so you're advocating for mixing languages in a single source file huh. please don't come back and fishmechfully reel off all the other situations in which one does this because they're never actually good

what

1) that’s not what they said and
2) you can’t do that in Java/Kotlin anyway. you CAN mix them in the same project, but not the same file.

there’s a button in IntelliJ to auto convert a java file into a Kotlin file, which is what they were referring to. it’s not bad because Kotlin is basically java with some extra syntax sugar

Arcsech
Aug 5, 2008

Blinkz0rz posted:

running it on aws, pumping hundreds of thousands of log-lines per second through it, then losing a node and/or having a shard/shards reallocate

es is great when it works but man it takes a lot to keep it operating as a near-realtime store for operational logging from a few hundred microservices + sidecar services

if you're getting downtime from that i suspect you are substantially underprovisioned

this is one of the problems with es: it's actually pretty good at handling more steady-state load than it really should, then people get surprised when it gets a little bit more load and it falls over, even though they've been redlining it for months. sizing is hard

that plus the whole "the jvm gets fucky if you give it too much memory" thing, which effectively limits the size of each node, which is really easy to cut yourself with

Arcsech
Aug 5, 2008

Powerful Two-Hander posted:

they've done some survey at work ostensibly about some java version bullshit that I don't care about

that’s fair, there’s been a lot of java version bullshit lately

thanks oracle.

Arcsech
Aug 5, 2008

Powerful Two-Hander posted:

it's exactly this. current estimate to move to openjdk is like 50 man years or something lmao

and there's me at the back going "when can I use dot net coorrreeee?"

how badly do you have to gently caress up writing java to be that tied to the oracle jvm specifically?

Arcsech
Aug 5, 2008

Soricidus posted:

I’ll give you “rebase” being inscrutable, but the kind of person who says “hmm, I don’t know what this command name means and I don’t understand the documentation, guess I’ll run it anyway and then ignore all the warnings to force push the changes” is going to break things horribly whatever tool you give them

I worked with a dude once who managed to merge a branch into itself and gently caress it all to hell

not like, from a remote or anything. just merged a local branch into itself and caused every single line to conflict. I couldn’t do that on purpose

Arcsech
Aug 5, 2008

ratbert90 posted:

Ex coworker hit me up on hangouts yesterday. The marketing director was put in charge of engineering.
When that happened, he quit so hard he didn’t just quit, he quit, packed his bags, and moved to Seattle with his wife without even telling anybody he quit. He doesn’t even have a job yet in Seattle. :allears:

This leaves the Ex company without any programmers and nobody to pass documentation on to. I expect the company to not last more than a year.

I got him an interview with my current company.

you’re living the dream

Arcsech
Aug 5, 2008

Finster Dexter posted:

ok here's a tp question

if XML is bad and JSON is bad, then what do? How do I format my RESTive API output?

just do it like an old Unix utility and do whatever bespoke text format you feel like. a little text parsing never hurt anyone

(just use json)

Arcsech
Aug 5, 2008

quote:

Imports reference source code URLs only.

what could possibly go wrong

Arcsech
Aug 5, 2008

Symbolic Butt posted:

I had a similar experience, the build system was too complicated back then and I had limited time so I decided to just go back to regular javascript

that’s how I feel every time I try to do nodejs, and then I go back to Java

Arcsech
Aug 5, 2008

Soricidus posted:

lua status: wait, gently caress, all the people saying lua doesn't have native 64-bit integers are talking about old versions.
in lua 5.3 numbers flip between 64-bit int and double as required, so all my problems are due to believing outdated information :negative:

that's another hosed up thing about lua: the community is stuck on the lowest common denominator of lua 5.1 because luajit has a spat with lua or something and wont roll in changes from 5.2+, but everybody uses luajit because its a bazillion times faster

Arcsech
Aug 5, 2008

gonadic io posted:

our product is good because it's so obtuse and hard to learn that once you've done so you'll get loads of jobs
:thunk:

this is true though, because everything in the embedded world is obtuse and hard to learn

i haven’t touched that poo poo in a few years but ime yocto lies to you slightly less and is marginally less obtuse than most embedded bullshit

ask me about lovely processor vendors straight up lying in their documentation and blaming you for it when you call them out.

but we gotta save that $0.003/unit!!!! no way we could use a GOOD vendor

Arcsech
Aug 5, 2008

carry on then posted:

holy loving poo poo dude, no i do not have 800 loving accounts

stop signing up for poo poo you don't need

I have a bit over 500

I guarantee you have way more than you think you do

e: before I used a password manager I would have said “oh I have maybe 20 or 30 accounts on various websites, if you count the ones I use like once a year”

Arcsech
Aug 5, 2008

carry on then posted:

"no, surely THIS encryption is unbreakable"

if someone can break aes-256 gcm they have way better things to do than buy poo poo with my amazon account

Arcsech
Aug 5, 2008

Xarn posted:

People who work fully remote:

What is your substitute for a whiteboard? We are currently quite friendly around WFH, but we don't want fully remote workers because any and all teleconferencing tools we've tried are really low bandwidth compared to standing around a whiteboard and sketching out ideas.

I have not needed one, but a bunch of people on our UI team just has a whiteboard in their work space such that it’s easy to get a good view of in the camera.

generally I haven’t needed one because our workflow tends to work more like:
1) a meeting where the problem and solutions are discussed at a very high level
2) problem owner writes up a doc, with diagrams of appropriate
3) everyone else comments on the doc/diagrams
4) input is used by problem owner to produce a final version

I really miss it a lot less than I thought I would. however, this is with a 100% distributed team - I don’t know how well this would work for a situation where a few people are standing around a whiteboard and 1-2 people are on the phone

Arcsech
Aug 5, 2008

Corla Plankun posted:

documentation is obsolete almost the second it is written and its a waste of time to try to fight technical debt with words nobody will ever read

oh, hi senior architect from $(JOB-1)

the guy who imposed that view on the team was the #1 by far source of bugs and awful code nobody understood. he would active delete any docs or unit tests he found and that fuckin job made me so mad

basically what I’m saying is, gently caress that attitude and I hope I never have to work with you

Arcsech
Aug 5, 2008

Corla Plankun posted:

documentation is just pseudocode with no tests so there's never going to be a guarantee that its any good

what the gently caress kinda docs are you writing that they’re “pseudocode”

good docs should tell you 1) why a thing is the way it is, 2) what guarantees it provides that can’t be expressed through types, and 3) if necessary why a thing is NOT a certain way.

the only time you should have pseudocode-y docs is in code that’s unintuitive for performance reasons, and this should be 1) rare, and 2) heavily reviewed and fail review if the docs aren’t updated when the code is

Corla Plankun posted:

tests are documentation that is guaranteed to be correct (or at least overtly incorrect when it is incorrect)

also for public-facing documentation you should have doctests wherever possible to help correct this

Arcsech
Aug 5, 2008

DONT THREAD ON ME posted:

it really depends on the kind of team and project you work on. trying to document a garbage heap is a futile endeavor.

I mean yeah if you’re working on shittr.io’s crud app for checking in to your dumps then do whatever

but be more professional if you’re working on something that actually matters

Arcsech
Aug 5, 2008

Soricidus posted:

the moral of the story is that humanity was a mistake

Arcsech
Aug 5, 2008

Maximum Leader posted:

not relevant but he looks like an ex-criminal

yo this is a really weird thing to say

what does an “ex-criminal” look like

shirtless on LinkedIn profile is pretty lol tho

Adbot
ADBOT LOVES YOU

Arcsech
Aug 5, 2008

Powerful Two-Hander posted:

shame we have zero regression tests to validate I didn't gently caress something up 2 months ago and forget about it!

it’s ok, you probably did

but if you codebase has no automated tests it’s not your fault for breaking something, unless you are the one responsible for there being zero tests

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