|
carry on then posted:my computer organization course was in masm and it wasn't too bad imo, but we stuck to ia-32 so maybe amd64 is worse? Same, it wasn't so bad and I even made a space invaders game with it
|
![]() |
|
![]()
|
# ¿ Sep 25, 2023 01:22 |
|
Kilometres Davis posted:Terrible programmers rejoice ![]()
|
![]() |
|
MALE SHOEGAZE posted:yeah i'd like to see this thread rebooted with some mention of the rules. i'm also not really sure what the rules are anymore. personally, I want to see: We have all the threads you want and they operate in the way you describe. 1. the CJS thread, get to know the other yosposters 2. this one, help with the newbies 3. The PL (Programming Language) thread, the try hard programming thread + The Picture thread for funny computer These are the 4 main YOSPOS threads IMO that see lots of posts every day, but there are of course all the individual topic threads like Security, Android/Mac/Windows/Google, Buttcoin, Interviewing, SciFi/Fantasy Nerd poo poo, yosqueer hangout Also it sounds like your FP post should go in the The PL thread where it would be well received by all the PL weenies.
|
![]() |
|
cinci zoo sniper posted:there is also cat thread that is literally 2nd largest thread in forums, also has literal hundreds of gigabytes of homegrown cat jpegs I'm allergic to cats ![]()
|
![]() |
|
Powerful Two-Hander posted:I was kind of amazed to hear that most of our teams were manually janitoring config or doing 'oh poo poo make sure you copy the right file to prod' type stuff because all our stuff used nice neat config files that had a section per environment and a host-env mapping so your app would always read the right properties. turns out that's all off the back of an internal dll some dude wrote in 2004 that we've built off ever since, I just thought it was normal because it was all I'd ever seen Yeah that poo poo owns, I only got to see that actually work correctly while I was at Amazon. It went to so far as to define which other services could call your teams services, and let you go down to the granularity of each HTTP verb and it's endpoint.
|
![]() |
|
MononcQc posted:I know literally nothing about graphics programming and all of that poo poo amazes me. It's linear algebra all the way down What I don't get is how the gently caress people write graphics drivers
|
![]() |
|
Symbolic Butt posted:btw 3b1b just started releasing a series of videos on quaternions, it's some amazing stuff Scrub tier https://www.quantamagazine.org/the-octonion-math-that-could-underpin-physics-20180720/
|
![]() |
|
Symbolic Butt posted:I watched almost all of it, around 30min he finally gets to the main point which is this: You mean smashing keys until it works doesn't leave you with a greater understanding of what's happening underneath? Hot Take!
|
![]() |
|
Shaggar posted:the db project should keep things like the viewButts proc as individual script files so you can version them like that. it also keeps history in some form so it will handle things like renames properly (in most cases). the real problem is like you said with stuff in dev that isn't ready for prod. there aren't any tools that fix this since its a process problem. I keep telling you Shaggar to double down on tools like liquibase which can take all your changes from dev to prod in a reproducible manner. Versioning of the sprocs and tables is handled by the tool and lets you push changes form dev->test->prod along side with your application.
|
![]() |
|
That's not an issue with Liquibase because it doesn't model changes based on diffs between environments. In your example, each dev would have their respective changes to the sprocs in the changelog file. When feature A is complete you commit and merge your branch back into master which then gets applied to all the environments in the pipeline, following your normal release process. When feature B is done, it gets committed and pushed upstream at that point and there is none of the poo poo you talked about involved.
|
![]() |
|
Kevin Mitnick P.E. posted:200 means everything worked and if you disagree i hate you yeah responding with 200 an error code is grounds for ![]()
|
![]() |
|
CRIP EATIN BREAD posted:vscode is a childs toy for idiots and javascript programmers (same thing) it's a decent text editor on a Mac
|
![]() |
|
Like why are smart quotes a thing, I've never read a rational discussion about why ' and " need to have those loving ligatures for any reason
|
![]() |
|
Kevin Mitnick P.E. posted:ah ok are you sure that you know what a ligature is I can never talk straight when it comes to loving fonts and Unicode terms. I thought ligatures were the modifiers and poo poo you put on the basic symbols. like � is the the letter e with a right accent on top. ComradeCosmobot posted:look at this person who doesn't have any appreciation for the written word I get that they exist for a reason and have a specific use, but what business does any computer have in replace apostrophes with quotes? Did this all come about because some dipshit thought gently caress it, everyone really wants to use quotes, so I'll just helpfully replace them?
|
![]() |
|
Corla Plankun posted:im just glad that the spa fad died out almost everywhere, idgaf what web devs do as long as it isn't ever that again what now?
|
![]() |
|
I wish I had spent more time figuring out how to integrate JOOQ with Spring since we use that for transaction management.
|
![]() |
|
Finster Dexter posted:What did you do with a postgres table before sql support? Write your own query dsl to issue searches against it?
|
![]() |
|
lol at inviting the dbas to our daily scrum they need to stay in their cages and feed the query planner
|
![]() |
|
Chalks posted:As long as the front end is always sending you data in UTC or with time zone information attached you're fine, yeah? You don't always even need the TZ information, but it's better to have it and not need it. I've found that without it on global services reports like "what do people do at 5pm in their local time" become impossible and then you have to shoehorn it in after the fact and that sucks. See post above ^
|
![]() |
|
Store everything in UTC Only deal with time zones at the edges of your application (input/output) Prefer to transmit date/times in epoch milliseconds Fall back to ISO8601 to transmit date/times as strings, don’t use your own string formatters! Display time in users preferred locale, but do it all the way in the display part of your application!
|
![]() |
|
CRIP EATIN BREAD posted:true that's fine for earth-centric satellites but what do you about things that have never even been to earth? ntp works in space right?
|
![]() |
|
gonadic io posted:logstash has an issue where if you start it in a fresh docker container it can't start until it gathers enough entropy or some bullshit in practice this means a 15 min startup time SSH has this poo poo too, you have to install haveged
|
![]() |
|
https://www.youtube.com/watch?v=ZP7K9SycELA
|
![]() |
|
DONT THREAD ON ME posted:i think modules (9) are a big deal, but I haven't read up on them too much yet. Seems like it has a major impact on how dependencies are resolved. narrator: they aren't Any pain for migrations to newer javas is the all the private APIs they removed and old as poo poo broken dependencies that relied on them.
|
![]() |
|
In theory Modules let you ship a stripped down version of the jre with your application that includes only the java.* packages needed to run your app. This was to get the entire footprint of the jre down so that it fit better with the whole container ecosystem. Also since there are less classes it speeds up the initial startup time that everyone cites as a reason for not using Java in their quick start container world. Fixing classpath hell was never a goal for Modules, but of course that didn't stop an endless amount of hype from HN idiots about Modules being the savior of the JVM. Janitor Prime fucked around with this message at 19:26 on Jan 4, 2019 |
![]() |
|
cinci zoo sniper posted:pass i say, so you decouple connectivity from logic Congrats you're a DI expert now
|
![]() |
|
Beamed posted:who the hell's high school had programming courses we had C++ and Java in 04 oh yeah it was AP computer science
|
![]() |
|
gently caress SOAP UI
|
![]() |
|
webass
|
![]() |
|
AggressivelyStupid posted:ctps: SNMP taps thread title, gently caress SNMP
|
![]() |
|
Soricidus posted:no, tabs are a character designed for tabulation, which is a very different thing from indentation. I also like to huff my own farts
|
![]() |
|
Penisface posted:c tp s: spent some quality time chasing a ci failure today lol that you’re just now figuring this out. why do you think we make fun of Web developers.
|
![]() |
|
CRIP EATIN BREAD posted:re: utf16[bl]e, i worked on this app framework that was written in c++ and all their strings were handled as utf16le. i asked why that decision was made during the original design, and it was you can do "immediate character look-up by index most of the time". so you worked in java
|
![]() |
|
Sagebrush posted:midwestern protestants definitely have a level of guilt rivaling or transcending catholics' til Catholic guilt is not a thing in Mexico
|
![]() |
|
Blinkz0rz posted:sure but have you ever used a guid as a numeric value? i've literally never ever worked with anything but its string representation. Postgres store it as the 128 bit value and represent it as the String
|
![]() |
|
Yeah was gonna mention Elasticsearch for full text search.
|
![]() |
|
Bloody posted:property-based testing is unbelievably good and it just blows me away how many different bugs the same set of tests are finding in my code so it’s just a fuzzing library? that’s what I gleaned from this article. https://hypothesis.works/articles/what-is-property-based-testing/ also what language is it for? on that note does anyone have experience using something similar in Java, did it help you?
|
![]() |
|
Arcsech posted:just remember: it’s more afraid of u than u are of it I'm pretty sure it's not, what with all the UB that lurks in the specs
|
![]() |
|
Technically you don't have to pay if you're only using it to develop software locally, but lol @ using Oracle JDK in the first place
|
![]() |
|
![]()
|
# ¿ Sep 25, 2023 01:22 |
|
NihilCredo posted:dacpac is pretty much the gold standard in auto migration and it still does this This is basically what Liquibase does. I think it shines even more when you need to maintain migrations for multiple DBs.
|
![]() |