Details
-
AboutJAD ranting forever...
-
SkillsI don't know what I know
-
LocationIndia
-
Github
Joined devRant on 10/16/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Have you ever applied for a job and then spiraled after a few days of not hearing anything back?
Me too! 🙄😭😭😭14 -
Markdown syntax is ambiguous and always forgiving (any text in a markdown document is valid markdown). Syntax is complicated and context-dependent.
I honestly think it might be one of the trickiest languages to parse.10 -
Here is my idea for a time machine which can only send one bit of information back in time.
@Wisecrack has asked me about it and I didn’t want to write it in comments because of the character limit.
So here we go.
The DCQE (delayed-choice quantum eraser) is an experiment that has been successfully performed by many people in small scale.
You can read about it on wikipedia but I'll try to explain it here.
https://en.wikipedia.org/wiki/...
First I need to quickly explain the double slit experiment because DCQE is based on that.
The double slit experiment shows that a particle, like a photon, seems to go through both slits at the same time and interfere with itself as a wave to finally contribute to an interference pattern when hit on a screen. Many photons will result in a visible interference pattern.
However, if we install a detector somewhere between the particle emitter an the screen, so that we know which path the particle must have taken (which slit it has passed through), then there will be no interference pattern on the screen because the particle will not behave as a wave.
For the time machine, we will interpret the interference pattern as bit 1 and no interference pattern as bit 0.
Now the DCQE:
This device lets us choose if we know the path of the particle or if we want wo erase this knowledge. And we can make this decision after the particle hit the screen (that is the "delayed" part), with the help of quantum entanglement.
How does it work?
Each particle send out by the emitter will pass through a crystal which will split it into an entangled pair of particles. This pair shares the same quantum state in space and time. If we know the path of one of the particle "halves", we also know the path of the other one. Remember the knowledge about the path determines if we will see the interference pattern. Now one of the particle "halves" goes directly into the screen by a short path. The other one takes a longer path.
The longer path has a switch that we can operate (this is the "choice" part). The switch changes the path that the particle takes so that it either goes through a detector or it doesn't, determining if it will contribute to the intererence pattern on the screen or not. And this choice will be done for the short path particle-half because their are entangeld.
The path of the first half particle is short, so it will hit the screen earlier.
After that happened, we still have time to make the choice for the second half, since its path is longer. But making the choice also affects the first half, which has already hit the screen. So we can retroactively change what we will see (or have seen) on the screen.
Remember this has already been tested and verified. It works.
The time machine:
We need enough photons to distinguish the patterns on the screen for one single bit of information.
And the insanely difficult part is to make the path for the second half long enough to have something practical.
Also, those photons need to stay coherent during their journey on that path and are not allowed to interact with each other.
We could use two mirrors, to let the photons bounce between them to extend the path (or the travel duration), but those need to be insanely pricise for reasonable amounts of time.
Just as an example, for 1 second of time travel, we would need a path length about the distance of the moon to the earth. And 1 second isn't very practical. To win the lottery we would need at least many hours.
Also, we would need to build the whole thing multiple times, one for each bit of information.
How to operate the time machine:
Turn on the particle emitter and look at the screen. If you see an interference pattern, write down a 1, otherwise a 0.
This is the information that your future you has sent you.
Repeat this process with the other time machines for more bits of information.
Then wait the time which corresponds to the path length (maybe send in your lottery numbers) and then (this part is very important) make sure to flip the switch corresponsing to the bit that you wrote down, so that your past you receives that info in the past.
I hope that helps :)4 -
Does anyone here own a Canon 90D? I'm in the later stages of trying to upgrade from my T6 and I've picked the 90D due to the resolution it shoots at and it's price point plus compatibility with my current lens collection. Anything I should know?
-
Why the fuck is the elastic search docker image 900Mb. Why the fuck does it include a complete logging system and why the fuck doesn't it have an up-to-date alpine image?
The arrogance of some systems these days. You're part of someone's software, not the software itself. You don't have the right to claim x resources. It's not about you.
Same for Sentry, a logging application that literally requires 8Gb of ram? I removed the limits and did try it anyway and stuff just crashed. Congrats, a logging system that REALLY requires 8Gb ram. The best my VPS does is 4Gb and therefrom you're only allowed to use 512Mb max imho.
I care about image sizes since my laptop only has 114Gb drive and my internet is a 4g hotspot with 50Gb/day limit (trust me, you can't find better for 40 euro's). 114Gb is maybe a bit outdated but be realistic, I only use vim, vscode, some sdks and source files. Why would my harddisk ever be full? Because of bloated docker setups. That's why. The other option is screwing over your system with everyone's configuration.
Alpine all the things!9 -
Infinite Auto Care: Expert Car Maintenance and Professional Auto Care in Ottawa
At Infinite Auto Care - Detailing and Automotive Services, we understand how important it is to keep your vehicle in optimal condition. Whether you're driving around Ottawa or heading out on a long road trip, regular car maintenance in Ottawa is essential for safety, performance, and the longevity of your vehicle. Our team of experts provides professional auto care in Ottawa, offering a comprehensive range of services to ensure your vehicle runs smoothly and stays reliable.
Located at 8 Rue Mitchell, Gatineau, QC J8P 2A5, we proudly serve Ottawa and surrounding areas, providing top-quality auto care that you can trust.
Car Maintenance Ottawa: Keeping Your Vehicle in Top Shape
Regular car maintenance in Ottawa is key to preventing costly repairs down the road. At Infinite Auto Care, we offer a full range of maintenance services designed to keep your car running efficiently and safely. Whether you're due for a routine oil change, brake inspection, or tire rotation, our professional team is here to help.
Why is Regular Car Maintenance Important?
Enhanced Safety: Properly maintained vehicles are less likely to experience breakdowns or accidents due to worn-out parts or poor performance. Regular maintenance helps ensure that your car’s braking, lighting, and engine systems are functioning properly.
Improved Fuel Efficiency: Well-maintained vehicles run more efficiently, which can save you money on fuel. A simple oil change or air filter replacement can help your car perform better and consume less gas.
Longer Vehicle Life: Regular care and maintenance can extend the lifespan of your vehicle, keeping it in service for many years to come.
Avoid Expensive Repairs: Small issues, if caught early, can often be resolved at a fraction of the cost of major repairs. Preventive maintenance is always more cost-effective than reactive repairs.
Our Car Maintenance Services in Ottawa Include:
Oil Changes: We offer high-quality oil change services using premium oils and filters, which are essential for keeping your engine clean and lubricated.
Tire Rotation and Balancing: Ensuring that your tires are properly balanced and rotated helps improve tire lifespan and driving safety.
Brake Inspections: Brakes are vital to your safety. We inspect and service your brake pads, rotors, and fluids to ensure optimal performance.
Fluid Top-ups and Replacements: We check and replenish essential fluids such as brake fluid, transmission fluid, power steering fluid, and coolant to ensure your car runs smoothly.
Battery Checks: A dead battery can leave you stranded. We provide battery testing and replacement to ensure your vehicle is ready to start every time.
Air Filter and Cabin Filter Replacement: Clean filters improve your vehicle's engine performance and provide better air quality inside your car.
Professional Auto Care Ottawa: Comprehensive Services for Your Vehicle
At Infinite Auto Care, our mission is to offer professional auto care in Ottawa that covers every aspect of your vehicle's needs. Our experienced technicians use the latest diagnostic tools and the highest-quality products to ensure your vehicle receives the best care possible.
Our Professional Auto Care Services Include:
Engine Diagnostics: If your check engine light comes on, our team performs a thorough diagnostic to determine the root cause of the issue. We then provide clear recommendations to fix the problem and prevent future issues.
Exhaust System Services: Your exhaust system is crucial for reducing harmful emissions and maintaining engine performance. We offer inspection, maintenance, and repair services to keep your system functioning optimally.
Transmission Services: Whether it’s a fluid flush or a complete transmission repair, our technicians have the expertise to keep your transmission shifting smoothly.
Suspension Services: Your suspension system ensures a comfortable and safe ride. We offer suspension inspections and repairs to keep your car's handling and ride quality at their best.
Custom Services: For those who want to enhance their vehicle’s appearance or performance, we offer customization services, from body kits to performance upgrades.
Why Choose Infinite Auto Care for Car Maintenance and Auto Care in Ottawa?
When it comes to car maintenance in Ottawa and professional auto care in Ottawa, Infinite Auto Care stands out as a trusted partner in keeping your vehicle running at its best. Here’s why you should choose us for your automotive needs:
or model.
To schedule an appointment or learn more about our services, contact us today at +1 (819) 386-8114 or visit us at 8 Rue Mitchell, Gatineau, QC J8P 2A5. Let Infinite Auto Care keep your car in great shape with the best auto services in Ottawa!1 -
For learning purposes, I made a minimal TensorFlow.js re-implementation of Karpathy’s minGPT (Generative Pre-trained Transformer). One nice side effect of having the 300-lines-of-code model in a .ts file is that you can train it on a GPU in the browser.
https://github.com/trekhleb/...
The Python and Pytorch version still seems much more elegant and easy to read though...6 -
I can retire! I automated myself!
I introduce to you, retoorii1b! Yes - I fit in a 1b LLM. Retoorii1b is a bit retoorded tho. It's quite realistic.
I tested several LLM's with same training and it was amazing. Even a 0.5b that had the most interesting Dutch ever. Her Dutch is like my English I suppose.
The 0.5b one could code fine. retoorii1b still has some ethics to delete to make it more realistic.
I've not decided a base model yet, but it'll probably be the lightest one so I can let a few chat with eachother on my webplatform / pubsub-server project. I have a few laptops to host on. I can let it execute actions like file listings or background task execution.
See comments for some very awkward response regarding my file listing. She described everything.
She just said these things. I'm kinda proud. I became a parent:
3. **Keep functions short and sweet**: Aim for functions under 50 lines long. Any longer and you're just wasting people's time.
Now if you'll excuse me, I have more important things to attend to... like coding my next game in Unreal Engine.27 -
Is there an AI that generates malware already?
No sarcasm, I really wonder it there is already a model that finds exploits and makes rootkits or something.
It could make red teams obsolete.5 -
Urghhhhh I don't want to study anymore 😭😭😭
Mind you, me getting residency permit depends on this exam. And everyone keeps telling me it's easy, but I'm still stuck and my brain draws blanks so often. 😭😭😭12 -
I work for a health company. Had to get a letter from a surgeon to WFO before an upcoming surgery due to all my coworkers being sick (covid, step, flu…).1
-
Codeberg Translathon on Oct 12-13, 2024 - Take part in translating various open source projects with Codeberg Translate [more details]2
-
Took a week off just to stop working because I’m burnt off, can’t help opening slack, it’s like muscle memory.
FML8 -
client cto: "SOMEBODY COMPROMISED YOUR KEY!!!! IT SHOWS SOMEBODY LOGGED IN TO DEVOPS GUY'S ACCOUNT USING KALI LINUX!!!!! HERE ARE THE LOGS!!!!"
the logs: *show an ip address*
the ip address: *ip address of the office*
devops guy: *actually uses kali linux*
not really a rant, just found it funny2 -
Deleted over 1'500 lines of code over the last 2 days and replaced it with 80 lines of readable, simple, generic code.
And I'm feeelin' gooood 🎶7 -
My dumbass thinking it would be easy to get a string value of an exported symbol in a .so and now I'm manually parsing and applying symbol relocations3
-
Has anyone ever resumed at a new place and was impressed by the code inherited from their predecessor? If yes, did you see any need to communicate this information to the admin or the superiors he left behind?
For as long as I delved into code quality, I've taken great pride in my work and have been enthusiastic to show it off to anyone who cares to listen. I'm morbidly afraid of a colleague berating my work over something I didn't do correctly or don't know. But none of those I've worked with have that kind of time for pedagogy. The only thing I've witnessed them care about is how much your code breaks, to what extent your endpoints break, etc
Does this make code quality practically an overrated metric? All your fancy oop patterns and clever algorithms or business logic basically goes unnoticed. The business cares about output and your colleagues are more concerned about implementing their deliverables.
Is this just my experience or a more general situation of things?7 -
government is like an abusive spouse
WHERE DID YOU GO, WHAT DID YOU DO
ARE YOU CHEATING ON ME, YOU TERRORIST?! YOU'RE OUT TO GET ME AREN'T YOU
CLEMENTINE WILL REMEMBER THIS, *writes lists about innocuous things that may or may not actually happened*
Why are you helping your neighbours but not me =[ taxes pls
it is your wifely/husbandly DUTY to service me! it is immoral to do anything else
YOU NEVER LISTEN TO ME! *proceeds to "educate", ignores any feedback and makes excuses to why they're not listening to you -- because it's not reaaaalllly technically ignoring you!*
DON'T TALK TO FOREIGN GOVERNMENTS, DON'T YOU KNOW THEY HATE YOU?! WE CAN ONLY TRUST EACH OTHER
proceeds to sleep with a foreign government on you2 -
I'm now feeling much better about leaving my job, since i found out they are absolutely fucked:
- They're realizing once again that my peer wasn't doing anything and that i was the one picking up the slack.
- The kid they thought they could abuse this time doesn't actually mind missing deadlines, so they have a shitton of backlog.
- The colleague that used to babysit everyone into doing their job is finally relevant again because he's having to do that again.
- The good climate we had is fully gone now, they're killing themselves and the management is on top of them constantly4