|
semver doesn't work because the difference between a bug fix and a breaking change is whether or not you feel like bumping the major version number
|
# ? Oct 12, 2021 21:29 |
|
|
# ? Jun 10, 2024 01:37 |
|
also cuz half the projects using "semver" actually just use 0.x releases because they cba to use semver
|
# ? Oct 12, 2021 21:48 |
|
every change is a breaking change. especially the bug fixes.
|
# ? Oct 13, 2021 00:26 |
|
if your library is constantly adding new functionality but never fixing any of the old broken stuff then it's a good candidate for semver
|
# ? Oct 13, 2021 00:39 |
|
semver just means never releasing patch releases because lol at bothering to backport poo poo after you've merged in new features
|
# ? Oct 13, 2021 02:08 |
|
if you care about anything other than "will compile successfully after upgrade", semver has nothing to offer you. you pin to a specific version, then you check the change log and/or run your tests to see if things break when you upgrade when the only thing you want a versioning scheme to tell you is "will compile successfully after upgrade", unless that's enforced by tooling, people will gently caress it up. you check the change log and/or run your tests to see if things break when you upgrade in conclusion, if you only care about compilation success, set version ranges and use elm. otherwise, pin everything and don't waste your time (may not work for libraries specifying their own dependencies, as there is rarely a way to say "I am compatible with the following versions of my dependencies" other than semver ranges, so you're kinda stuck there)
|
# ? Oct 13, 2021 02:40 |
|
PIZZA.BAT posted:terrible programming question: if i'm building processes on the same machine that i want to communicate with each other is there any reason to not just use localhost? from what i can gather the OS is smart enough to remove most of the overhead when you use it so it's fairly efficient. i have a series of python modules which will need to communicate with a java machine where they'll be exchanging roughly 100k messages per second, so if there's a way for them to communicate that's significantly more efficient i should probably go with that instead In case someone else looks at this and needs something easy but maybe less efficient I've used this in the past https://zeromq.org/ It's a wrapper around unix sockets or tcp that lets you send structured messages or raw data. And it has bindings for python and java
|
# ? Oct 13, 2021 02:41 |
|
rip to pieter hintjens, who followed semver, and wrote something more useful than every python programmer on earth combined
|
# ? Oct 13, 2021 04:50 |
|
the 0mq guide is a nice read I've never actually used 0mq for a non-toy so I have no idea how useful the guide is, but I enjoyed reading it quote:All other 3.x versions up to 3.2.1 are only compatible with themselves, which is unfortunate but caused by releases 3.0 and 3.1 which broke the protocol without adding any version information. welp
|
# ? Oct 13, 2021 05:05 |
|
code:
|
# ? Oct 13, 2021 05:21 |
|
i've always used rabbitmq in professional environments. how does it compare to that?
|
# ? Oct 13, 2021 13:39 |
|
CRIP EATIN BREAD posted:rip to pieter hintjens, who followed semver, and wrote something more useful than every python programmer on earth combined I was on a podcast I was invited on (as a regular guest), with Pieter Hintjens being the actual primary guest for the week, and it got derailed so hard the host had to cancel the recording and re-schedule another week with a list of topics not to discuss. The original recording was derailed because somehow, Hintjens got started on his theory that women just naturally drop out of tech as they get more free because they think differently, with his primary proof being that under soviet rule, tech in the USSR was 50-50 in genders, and after the soviet union fell, it got out of balance. Therefore women who felt freer just got different jobs they liked more and we should embrace that. (most of my derailing was just about asking things like "what's so special about real estate where the ratio is still 50-50? Are they less free?" to try and have him painted into a corner, and eventually just turned more and more antagonostic by calling it loving dumb or something) I never liked him much after finding out about these sort of hosed up views, and his whole bit about men work like this, women prefer work like this set of growing theories always sat weird, and he never backed down. It's cast in a weird light after he had his voluntary euthanasia but I'm sort of glad that old podcast didn't turn into an extra platform for this poo poo. There's no real point to my post, it just sent me down memory lane.
|
# ? Oct 13, 2021 13:48 |
|
idk sounds like he might have a point for a sample size of 1 because no woman wanted to work with him and given the choice, left the entire industry instead.
|
# ? Oct 13, 2021 14:30 |
|
jfc... good on calling him out tho
|
# ? Oct 13, 2021 14:41 |
|
MononcQc posted:I was on a podcast I was invited on (as a regular guest), with Pieter Hintjens being the actual primary guest for the week, and it got derailed so hard the host had to cancel the recording and re-schedule another week with a list of topics not to discuss. i have no clue who this dude is and clicked the link to his blog and BLAMMO immediate south park avatar. lmao
|
# ? Oct 13, 2021 15:02 |
|
was. he got himself euthanized because he had some lovely cancer.
|
# ? Oct 13, 2021 15:10 |
|
let this be a lesson as to why you should never have a south park av
|
# ? Oct 13, 2021 15:11 |
|
lmao e: that was not me btw
|
# ? Oct 13, 2021 15:20 |
|
lol gently caress you got me
|
# ? Oct 13, 2021 15:21 |
|
rofl
|
# ? Oct 13, 2021 15:29 |
|
hahahaa
|
# ? Oct 13, 2021 18:54 |
|
was talking to a friend about date formatting (lol what is wrong with me) and he mentioned an excellent bug which was that their HR system didn't adjust for daylight time when it came to handling promotion times, so if you got promoted it took effect at 11pm the day before it was supposed to. He reckoned they'd spent 10k of extra money by paying a calculated hourly rate 1hr too soon.
|
# ? Oct 13, 2021 23:58 |
|
payroll error in your favour, collect $2
|
# ? Oct 14, 2021 00:21 |
|
Lord help me, I'm going to learn C solely to create my own Pokemon ROMhack. Ironically, in college I flunked out of the programming path (twice), and in general just did very poorly in college. And now, part of me can't help but think: would this count as "programming experience"? Does having a finished project, even a hobby one, and practical experience, even for a hobby, make me hireable? Regardless, even if it doesn't, I'll still be learning C. "Real" programming is just the next logical step after several years of modding video games. I'm already used to futzing around in other dev's custom proprietary stuff, figuring how it works, what I can and can't do, what can be worked around and what has to be worked with. It's been my main hobby for years now. I enjoy it and I'm enjoying the ability to root around directly in a game's code.
|
# ? Oct 14, 2021 02:07 |
|
isnt that poo poo their proprietary assembler in either case its a deec member of a portfolio for firms that hire by portfolio
|
# ? Oct 14, 2021 02:14 |
|
C is great, highly recommend learning it (preemptive: no self harm in yospos)
|
# ? Oct 14, 2021 02:16 |
|
knowing c is good exploiting c is great using c is bad
|
# ? Oct 14, 2021 02:18 |
|
writing c is kind of calming with the amount of boilerplate and structure coming only from naming* *offer not valid when string handling is involved
|
# ? Oct 14, 2021 02:20 |
|
you feel calmer while writing it and less calm on segfault #27 or the big cve for anything thats supposed to be secure
|
# ? Oct 14, 2021 02:27 |
|
If your boss lets you use C for anything that has to deal with malicious user input, it's their fault.
|
# ? Oct 14, 2021 09:33 |
|
Powerful Two-Hander posted:was talking to a friend about date formatting (lol what is wrong with me) and he mentioned an excellent bug which was that their HR system didn't adjust for daylight time when it came to handling promotion times, so if you got promoted it took effect at 11pm the day before it was supposed to. He reckoned they'd spent 10k of extra money by paying a calculated hourly rate 1hr too soon. i wonder if we code more timezone bugs in the uk than elsewhere since the bugs only show up for 6 months of the year "yeah, they reported it a while ago but then it seemed to go away. they've just called in to say it's started happening again" - member of the support team in late march 🤔
|
# ? Oct 14, 2021 11:17 |
|
bob dobbs is dead posted:you feel calmer while writing it and less calm on segfault #27 or the big cve for anything thats supposed to be secure oh for sure. i'm not saying it's a good language i'm just saying the act of doing it is sort of calmly meditative once you know the language, like turning a 2x4 into a curtain rod with only fine-grit sandpaper
|
# ? Oct 14, 2021 12:52 |
|
Chalks posted:i wonder if we code more timezone bugs in the uk than elsewhere since the bugs only show up for 6 months of the year I mean I know for sure that for half the year email notifications send 1 hour out because I couldn't be bothered to store/calculate whether DST applied/had changed between adding it and the date it sent and I actually stopped to think about the problem which is probably like, top 20% of terrible programmers so I'm gonna say "yes, it's all hosed"
|
# ? Oct 14, 2021 14:19 |
|
Chalks posted:i wonder if we code more timezone bugs in the uk than elsewhere since the bugs only show up for 6 months of the year our process that handles running scheduled reports absolutely can not handle when the last run time is in the future so when the time changes, it re-runs and emails the reports every minute for the duplicate hour it is marked as wontfix as it only happens once a year
|
# ? Oct 14, 2021 14:49 |
|
Curvature of Earth posted:Lord help me, I'm going to learn C solely to create my own Pokemon ROMhack. Read K&R's The C Programming Language, one of the best programming books out there. That should get you up to speed.
|
# ? Oct 14, 2021 17:41 |
|
but what does C have to do with rom hacks tho, werent they mostly written directly in assembly? & if not, was there a source code leak?
|
# ? Oct 14, 2021 17:49 |
|
the pokemon rom hacking community is a batshit niche with all sorts of crazy decompilation stuff going on so it wouldn't surprise me if someone wrote some kind of object loader that can link compiled C into a specific set of game boy ROMs without issue
|
# ? Oct 14, 2021 17:53 |
|
I haven't read K&R so take this with a pinch of salt but from what I understand it can teach you some very bad habits, since it was written in a very different time and in a very different context. It teaches you that it's good to use clever tricks like the infamous "while (*p++ = *q++);" (because compilers were stupid and computers were limited but also because people like showing off their cleverness) and also promotes the Garbage In Garbage Out principle (but enough about my posting) which was the original sin that lead to most of the infosec hellscape we have today.
|
# ? Oct 14, 2021 18:13 |
|
havent read it in a while, and lmao it does
|
# ? Oct 14, 2021 18:22 |
|
|
# ? Jun 10, 2024 01:37 |
|
*poo poo++ maps directly to an addressing mode on the 68k (and I wouldn't be surprised if there was that on the pdp 11 too) and compilers were dumb in those days
Zlodo fucked around with this message at 18:38 on Oct 14, 2021 |
# ? Oct 14, 2021 18:35 |