|
2 month anniversary on contacting some researchers about an article they wrote & the software they said would be made available ![]() the professor keeps saying itll be ready "next week" and the students are silent as the grave when he CCs them lol good thing its not business critical for us but just a cool thing we wanna try out
|
![]() |
|
![]()
|
# ¿ Sep 1, 2024 01:31 |
|
CRIP EATIN BREAD posted:never use javascript
|
![]() |
|
jit bull transpile posted:comparable is an interface for classes to implement to allow them to be compared. in Java compareTo returns an integer. less than 0 means "sorts first" 0 means they're the same, and greater than 0 means "sorts after". why the heclk wouldnt you return self.num.compareTo(other.num)
|
![]() |
|
lmao i got the code form the academic paper after literally 3 months of emailing them reminders i forgot how bad academic code is: - only works in one specific snowflake os configuration - crashes randomly due to missing files - virtually no points of customization or extension - global variables galore - lots of spaghetti all in all its real shoddy code, just pure crap.
|
![]() |
|
Powerful Two-Hander posted:oh cool our offshore team are publishing at last there was a script missing, so i wrote to ask them about it and i was told "oh that one is still in progress, here follows a manual procedure that i did some weeks ago" and its a page of words but i tried to suss it out & wrote a script that did it in like 30 lines of python and it works with the next script so im like, that cant be it? youve been doing that poo poo manually for weeks?!
|
![]() |
|
gonadic io posted:send it to them and blow their loving minds lmao im gonna do that once i know what license their code is under and what my boss will allow (hes probably on board, he literally asked if we could put any of my stuff on github the other day) well see what they reply in 2-3 months time Carthag Tuek fucked around with this message at 20:20 on Nov 16, 2018 |
![]() |
|
VikingofRock posted:Probably this translates to "we've been using writing this script as a way to onboard an undergrad" i guess thats ok. from looking them up, a bunch of them are linguists
|
![]() |
|
i mean sure, they were too busy to emaiil the files for 3 months after their paper said they would be ready, so it kinda figures lol e: actually the paper was 8 months old when i first emailed them lmao
|
![]() |
|
mystes posted:I think a decade ago there was some sort of software created as part of academic research somewhere that looked really cool that I kept hoping they would release, but after saying they would release it eventually for several *years* the people who made it just gave up and said they had decided that it was impossible (despite the software apparently functioning fine on their systems). in my experience its 50/50 "aaaa conference deadline!! gently caress everything as long as this piece of poo poo works" + "ew this code is gross, lemme clean it up real quick before releasing" still no excuse for using global variables at the onset tho
|
![]() |
|
AggressivelyStupid posted:I have a broken brain, I read this and my first reaction was "this sounds like an interesting 'refactoring' project" ive already started lol, i cant help myself
|
![]() |
|
AggressivelyStupid posted:im jealous ![]()
|
![]() |
|
in 05 i interned at an sf company for i think 500 a week decided not to pay taxes cause gently caress america
|
![]() |
|
im older now, and no longer cheat on my taxes i also will not work in america to pay for their horrors
|
![]() |
|
hahahha barf --- check this poo poo out:code:
![]()
|
![]() |
|
CRIP EATIN BREAD posted:does that make a 35 element array? yes it does, literally the rest of the code is like vs[24] += 1 actually sorry i mean vs[24] = vs[24] + 1 cinci zoo sniper posted:hahaha you’d need to deliberately write it this way. wonder what is the first language with this syntactical thing i first saw that syntax this week lol so its not in basic ![]()
|
![]() |
|
gonadic io posted:I bet that author is frustrated that the language doesn't have support for other variable names, but they do what they can to work around the limitation guess how "vs" ends up being used: 160 lines of print-statements that are identical except for which vs value is inserted
|
![]() |
|
mystes posted:Was this code written by a decompiler? no lol afaik theyre just nerds who arent programmers and they have no requirements re maintenance or support or readability. like their reqs are just "did it work when we tried" and it did work for them, i think, probably
|
![]() |
|
debug logging is fine logging in itself is fine, the more the better imo
|
![]() |
|
somewhere in the previous thread i wrote up a shaggarscript parser "java good python bad" is i thnk +1
|
![]() |
|
here we go:Python code:
|
![]() |
|
![]()
|
![]() |
|
cinci zoo sniper posted:cjs: diagraming in TikZ lol
|
![]() |
|
eschaton posted:if your HTML doesn’t represent hypertext documents where the semantics are straightforward and the styling is purely an aesthetic matter, then what you’re doing should not involve HTML, you should write a native app ![]()
|
![]() |
|
Achmed Jones posted:
wtf "every time"??? it has literally never happened to me in almost 40 years on this cursed earth
|
![]() |
|
dump database to text and use grep then delete everything and quit your job
|
![]() |
|
that reminds me, the other day i wanted to do some bulk editing of data in a third party app. eventually settled on export xml > edit it > import xml again which worked well except all the object properties were like <property id="{uuid}">value</property> with the uuid<->property name mapping only defined in the xml header so i had to parse&build that in my script. whyyy ![]()
|
![]() |
|
DaTroof posted:you look like you know a lot about ignoring maxpermsize
|
![]() |
|
gonadic jo denial
|
![]() |
|
Powerful Two-Hander posted:i can't charge my crystal if there's nobody else with me so that is the two-handed technique. powerful. ![]()
|
![]() |
|
Powerful Two-Hander posted:
all man bracing
|
![]() |
|
Powerful Two-Hander posted:i thought that was with some sort of multithreaded jo loop? java.awt.HeadlessException
|
![]() |
|
cinci zoo sniper posted:bröther... oh man that reminds me of that game developer brøderbund. i used to like playing Wings of Fury but then one of my friends said "propaganda piss" and i was like yea obviously and i kinda figured he had heard his dad say it or something. Anyway he's a racist now so ![]() also even though broderbund merely means brother-association, there is a fairly nazi odor about it https://www.youtube.com/watch?v=YWsNqJ6YP88&t=115s
|
![]() |
|
Finster Dexter posted:Whoa that's way better looking than the version I used to play on Apple IIc. tbf the amiga1000 is like 4 years newer than the appleiic
|
![]() |
|
yeh, as long as you didnt have the amiga with the bad ram lol
|
![]() |
|
https://www.youtube.com/watch?v=vFh07lXfxTY
|
![]() |
|
lmao try doing string manipulation in latex youd thnnk that it would have some stuff built in, but not really. the best you get is like car/cdr and some lexical ordering that can be cobbled together for more userfriendly functions or you could use any of a number of packages that may or may not break if used with other packages, who knows! ![]() Carthag Tuek fucked around with this message at 22:10 on Dec 5, 2018 |
![]() |
|
redleader posted:a laudable goal tbf
|
![]() |
|
a factor of 2 in a 500 iteration loop is 1000x ![]()
|
![]() |
|
haven't had my coffee yet lol I meant this: Xarn posted:The way to 100x perf improvements usually consists of many smaller ones.
|
![]() |
|
![]()
|
# ¿ Sep 1, 2024 01:31 |
|
Mahatma Goonsay posted:Not when everything is written in mumps or worse. i wonder what ))<>(( means in medical brainfuck
|
![]() |