I formerly used gradle extensively, and ultimately concluded it's chalk full of footguns. Since any step can do anything it wants, things easily become a mess. Extremely flexible, and prone to slow or problematic stuff making it into build.gradle. It's too generic-generic and meta.
New major gradle releases tend to break a lot of stuff which is a lot of work for the full-time expert build engineer you're going to need on hand to maintain the thing for medium or large sized projects.
Now I prefer to stick with Maven, it's simpler, safer, super predictable, and gets the job done just fine. Actually, the job is done better because it involves less headaches and time wasted on figuring out the damn build system.
Case in point: The length of the README in this "Modern gradle" reference repo - that's a lot of complexity just to get dependencies, compilation, tests, and packaging. I prefer to copy-pasta some XML fragments and move on to solving the high ROI business-value issues.
Edit: @bcrosby95 sir, if it were Maven only, you could shrink the document by ~75%, because most of the bullet points are trying to explain the sharp edges of.. gradle.
Have posted this before, but it really left an impression about crows, and the bond between their mates:
Years ago I was putting out the garbage in the back alley behind our building where I lived on the 8th floor. A crow attacked me out of the blue. Distracted by the attack, the back door slammed shut behind me. Since my key was only good for the front door, I had to walk around the building. That damn crow followed me the entire time, dive bombing my head, and screaming bloody murder at me. It was a little spooky.
When I finally got back inside and upstairs, I went and looked out the living room window, which looked out the same direction as the back alley. The crow had flown back around and was at the 8th floor looking in the window, from the other side of the pigeon netting we had on our balcony. On the inside of the pigeon netting, was another crow, desperately trying to figure out how it could escape. Not really sure how it had got itself through the pigeon netting in the first place.
I went out and sliced a hole through the netting and the trapped crow quickly joined its mate outside, who finally stopped screaming bloody murder. To this day it still amazes me that the crow's mate, knew which apartment I lived in and spotted me downstairs.
I've been working on a kind of strategy game called Fall of an Empire (https://fallofanempiregame.com), it's a bit like a mix between Crusader Kings, Total War, Mount and Blade type games (just the overworld, not the battles), but rather than expanding you're trying to prevent an empire from collapsing.
It's a ton of work, especially with the number of systems - you've got combat, resource management, settlement development, food managment, espionage, diplomacy etc - these all need to play together well. And then you've got to add in the storyline, graphics, marketing -but I think I'm making pretty good progress.
I'm still using Unreal Engine 4 because I started work on that version and I haven't needed to upgrade to 5 since it's been released.
I've got a free prologue that I'm releasing on October 1, so now until then is a lot of polishing to make it work well.
I once had the cops seize $800 in cash I had on me to pay for motorcycle service (15% discount with cash) and hold it for 3 months.
Eventually I got a letter saying I had to show up and prove I wasnt going to do drugs with it. So I showed up with my invoice.
Then I was told I had to submit fingerprints and sign a letter promising I wasnt going to do drugs and I refused.
Finally a month later they sent me a letter saying I had forfeited the money and I showed up again (took a day off work) and they said I had to go to court. So I went to court, and the judge spent ten minutes telling the cops that didnt show up I had to get my money back.
Next month after that I got a call saying I had property to pick up and that I'd be fined daily if I didnt. So I got the money back.
The USSR had just beat the US to put the first man into space. The same USSR that was killing political dissidents en masse and building an arsenal of terrifying nuclear weapons. John F. Kennedy set out the ambitious goal of putting a man on the moon before the end of the decade, and then he was assassinated.
People wanted to make that happen. So they did.
There hasn't been a lot to inspire people to work for the government like that lately.
Some history about Firefox and BeOS. Before Firefox, there was Mozilla, which had a BeOS port (called Bezilla). Bezilla was bloated and slow. So the BeOS community tried to make a stripped version of Mozilla with only the browser (minus all the bloat). This project became an inspiration to do the same for Mozilla, and that product became Firebug (or something similar - edit phoenix, then firebird), which due to trademark conflicts got renamed to Firefox that we all know today. So in a round-a-bout way, we have come full circle after 20 years, Firefox is finally ported to the platform that inspired its creation.
Kind of poetic. We should write a 3-5-3 Haiku about this journey.
I see. And you keep looking at billionaires instead of regulations or the things that make it possible, like housing regulations (talking Europe now, Idk America well enough).
If you really set the market more free, you will automatically have more reasonably wealthy people bc of competition. When thede few billionaires exist due to governments favors we should think what is wrong with some people selling favors to others without providing services to others.
If you start regulation after regulation you create an elite of people and normal people suffering those regulations.
The elites are basically, in this setup, a collusion of sellers of favors (politicians favoring employers) and people who buy those to avoid competition and favor their business.
This is not possible by definition if you see that with bad eyes and watch out permanently.
However, people want more and more regulation bc there are always things that are "wrong" and eventually those things take you exactly to the outcomes you complain about right now. But you want more of it. Guess what you are going to have if you ask more of it: more of that.
There is a sentence from Javier Milei that I think is very correct regarding this matter: "the politician cannot sell you a favor he does not have for selling".
Think of it. We cannot reduce all problems to that sentece but there is a very big part of truth in it.
I recommend you to take a look at the profiles of billionaires there are around the world. Some are very different to others. But the more regulations you have in a country, especially the ones that did not develop first, the less wealth transfer you have and the more money stay in the same people's hands. This is something to think about very seriously: the path to derregulation is a better choice to keep things balanced.
If you choose the other way, no matter how good it looks to you, you will get what you are asking for. Basically, "The great taking". Look for that book if you do not know it yet.
See also https://pernos.co/ which is based on rr but adds a queryable database of the whole program execution, which allows you to do things like this:
> [...] just click on the incorrect value. With full program history Pernosco can immediately explain where this value came from. The value is tracked backwards through events such as memcpys or moves in and out of registers until we reach a point where the value "originated" from, and each step in this process is displayed in the "Dataflow" panel that opens automatically. There is no need to read or understand the code and think about what might have happened, we can simply ask the debugger what did happen.
Joe Biden is older than radiocarbon dating (so we can't be sure exactly how old he is).
[it was an idea for a novelty website: things Biden is older than; including all the common computer stuff, but also ejector seats, SCUBA aqualungs, basic oxygen steelmaking, Velcro, the float glass process by which all common flat panes of glass are made, hairspray, spray paint, hovervrafts, LASERs, microwaves, mass production of Penicillin...]
Plato was walking by Diogenes the Cynic and saw him with GDB up on his screen, figuring out a memory error.
"If you would only code in Rust, you wouldn't have to fix those bugs." To which Diogenes replied: "If you would only fix those bugs, you wouldn't have to code in Rust."
I kind of emphatize with the author raging at "just copy C++ bro" proposals because at $TWO_JOBS_AGO I had to deal with an "Architecture Team" full of Very Senior(tm) people who would show up uninvited and give advice like "did you know you can pee and poo at the same time?"
Of course, but if you bothered at all to understand the constraints, you would have seen it is not actually that simple in our case.
And my project was several orders of magnitude simpler than the C standard.
I have a single code base [0] for the self-hosted editions and for the SaaS. I split features up across two editions: community edition (CE) and enterprise edition (EE), and then also two modes: singleplayer and multiplayer (single- vs multi-tenant). The switching is done via environment variables, KEYGEN_EDITION and KEYGEN_MODE. The SaaS offering actually runs the EE edition in multiplayer mode, and is right now the only instance of the EE edition in multiplayer mode (other EE customers are entitled to singleplayer only).
I've been running this set up for about a year [1] and it's working well. Having a single code base was a requirement before I made the project fair source [2]; the fair source ELv2 license lets me add feature gates to facilitate this, while protecting me from forks giving away EE features for free (while still allowing forks).
Updates are pushed to the SaaS offering daily. I cut self-hosted releases bi-annually unless it's for a critical fix.
Look at https://uppy.io/ open source and lot of integrations. You can keep moving to different levels of abstraction as required and see some good practices of how things are done.
> Just because macs don't use systemd, doesn't mean the backdoor won't work.
Practically speaking it can't - For one the script injected into the build process tests that you're running on x86-64 linux, for another, the injected code is elf code, which wouldn't link on a mac. It also needs to manipulate dynamic linker datastructures, which would also not work the same on a mac.
> This could perhaps affect more than just sshd on x86-64 linux?
This however is true - /usr/sbin/sshd was the only argv[0] value that I found to "work", but it's possible there are others. "/usr/sbin/sshd" isn't a string directly visible in the injected code, so it's hard to tell.
The FCC used to have a "fairness doctrine." If a network had a broadcast license, it was required to present controversial issues in a balanced manner, presenting different points of view. This meant that the news segments were boring, not flashy. The news departments of networks were money losers.
The doctrine was abolished in 1987.
The news became much more entertaining. Now you have lots of mud-slinging, bias, and name-calling, and a lot less reasoned debate and thought. Network news departments now make a lot of money.
In order to make more money, you need more advertisers. If you have high-paying advertisers, you can't offend them. That means that there are many topics, especially corporate-funded takeovers of regulatory agencies, which aren't covered at all. You never hear CNN or Fox News talk about the revolving door between the FDA and big pharma, or the USDA and big ag, or between the SEC and big banks, or between defense contractors and the CIA. Neither "left-wing" nor "right-wing" networks wants to talk about that, because it would decrease their profits.
Viewers can sense this. They're not made of stone. That's why they don't trust the media.
(I wrote "left-" and "right-" in quotes, because there aren't any left-wing networks at all, but that's another issue).
If your intent is to dump some code on the internet, by all means - and more power to you.
If your intent is to have your code reach the maximum amount of people to benefit them, and you want your project to benefit from networks effects.. then GitHub and Discord, the two proprietary platforms used by the largest portion of people for modern OSS project development, are basically a non-choice. Every other option results in far less people discovering and interacting with your project, by orders of magnitude.
In a project I run, we forced everyone into Matrix as much as possible and refused to operate a Discord for over a year. Once we relented, and decided 'we would run both' - over 95% of people in under a month stopped participating in the Matrix channels and instead went to Discord. The number of people in the community grew orders of magnitude larger, in a shorter time period, as well - even with us pushing it less on our docs/etc.
It sucks. Wish it wasn't true - but that's where people are.
I'd take you mean a M3 MacBook Pro laptop, because M3 Mac Pro is not available yet... which year are you from, exactly?
So, assuming I am scientist from 1961 that just have given clearance by CIA to examine an unusual object that looks like a typewriter with a flat screen. Assuming non-destructive tests first, you can observe the following from just its unpowered state. Quite a lot can be inferred from the exterior of the object.
It is apparently manufactured with the knowledge of Earth's technology, as it has what looks a power supply that can be plugged into the standard Type A socket with 110V, 60Hz. All markings and marking and labels are in English.
- Power supply and cables are clearly recognized as such, input and output voltages and amperage are dead giveaway. Oh, a magnetic latch to connect power cable, neat!
- "Designed by Apple in California. Assembled in China." Those words do not make any sense, you ask your CIA guide about them but they seem to be as lost as you are.
- QWERTY keyboard indicates it is some sort of the typewriter, some symbols like ⌘ are a bit mysterious, but otherwise the purpose of that part is clear enough.
- There is also rectangular depression below the keyboard, covered with something that seems like glass. You don't understand the purpose of this part though.
- Careful examination reveals a 3.5mm audio jack, so 1960s headphones can be also connected without problem, is this some sort of the portable radio?
- Most of the chassis looks like polished aluminium, shaving a bit of exterior and running it through a mass-spectrometer proves that it is indeed, a common aluminium alloy.
- The display is the most puzzling piece of equipment. It suggests a function of a TV screen but without the usual bulk of the CRT equipment.
Next stage requires some trial and error.
- You find a button that makes the display light up and animate. The screen is now covered with variety of large glyphs on the bottom, a row of text labels and smaller glyphs on the top and an image of what looks like a ..female robot? (cyborg?) covering rest of the screen.
- You learn than unplugging the cable and plugging it back changes one of the glyph's appearance in the top left part of the screen.
- You learn that touching and moving your finger on the rectangle below the key board moves a small arrow-like glyph on the screen.
You write down all of the observations into the paper notebook provided by you by the spooks (no, you can't take it home, it is classified TOP SECRET for a reason!). Exhausted, you come back home, only to look forward to your next day with a mysterious object.
...a few months later.
You now understand that this is a sort of multi-function electronic appliance that combines the functions of a type-writer, an automatic clock and a calendar, an electronic library, an audio player, TV combined with VCR and few other things that you can't quite understand. A small number of music pieces you can recognize, but most of it is unfamiliar to you. There is an apparently a documentary movie that you can watch on it, called "Apollo 11", about the successful Moon landing by US that happened 8 years into the future. And a number of what looks like books on the variety of subjects, mostly science and engineering, with some of the information clearly outside of what was known in 1960. And what exactly is "C++ programming language" ?
And the most disturbing thing is the clock and calendar part. For some reason it is set to February 17th, 2024...
TL;DR: The content of laptop would have a lot bigger impact in 1960s then the laptop itself. It would take several months of experimentation to use the MacBook on a user level, but several years before you can learn how to write programs on it.
Here is a list of open source options. This isn't the first time I have shared this on here either. Perhaps this is another sign that web search is failing us.
> Front-loading washers use 40-75% less water and 30-85% less energy than typical top-loaders.
It's not clear to me why front-loading washers are more efficient than top-loaders. Is there something inherent in the design? Or is it simply that top-loaders are "old"?
> Anecdotally, I've seen this a lot with adults with undiagnosed ADHD (including myself until 26). Caffeine can be a (very shitty) alternative to proper stimulant medication that people don't realise they actually need because of a medical issue. So the end up drinking 4-5 coffees a day instead.
ADHD medication is among the hardest to get in the first place, and to maintain in many places.
I was diagnosed as a child, and still couldn't get regular medication until 3 years ago (I'm 37 now). Doctors will try to push off-label treatments, often SSRIs, which do nothing for ADHD. They will push people to try ineffective talk therapy and describe actual medication as "only a last resort".
My cousin can't get it because his insurance says you only have ADHD if you were diagnosed as a child, and he spent his childhood in another country where the roads were barely maintained.
ADHD meds reduce the chances someone will abuse drugs according to research, but many docs will cancel prescriptions if you are honest about cannabis use.
In the wake of the opiate scandal new restrictions also place limits on how much a pharmacy can dispense, even if everyone has a valid prescription. That's part of the reason for the medication shortages in some areas.
It's been a miracle medication for me, but if you don't have money and luck it can be next to impossible to find someone to help you. Those that do often require thousands in fees.