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
Search - "convert videos"
-
We've got a team of around 20 developers and the most junior of them all is a interesting specimen.
The kind of person who thinks they a 'expert' in anything and everything and is constantly trying to school our senior developers who have 20+ years experience behind them.
The sort of person that spends 15 seconds googling something he has never heard of before, but now that he has skimmed 1 page on Google would classify himself as a 'expert' in said topic.
He comes into my office yesterday and proclaims that it has been decided by himself that he no longer wants to be a developer anymore and wants to do Ops/Infrastructure, then starts rambling on about how he is a Kubernetes expert.
I asked what experience he had with Kubernetes and his response was "I watched a webinar they did last night" to which I asked if he had ever actually used anything to do with Kubernetes in his life.
"No, but I'll watch a few YouTube videos and will then be more than qualified" he says
Followed by him telling me that we'll be moving all of our current Docker Swarm clusters into Kubernetes.
This was news to me (I'm head of infrastructure and operations)
I needed a good giggle, so I asked why we would get rid of our exisiting Docker infrastructure that's got a 100% uptime over the past 2 years and has worked without failure. It's truely been a dream.
He says "Because it's shiny and cool and better"
The nest afternoon he comes to me and says "When I move everything into Kubernetes I am going to convert everything into micro services"
He says that he watched a YouTube video the night before on microservices and has decided that it's what we need to use for a particular project.
(It's a simple php website that gets 100 hits per day)
Hopefully his boss will notice that he is producing no output soon. Don't want to tell the manager that the guy he hired delivers no work and lives in a fantasy land.
"your not touching the infrastructure. Ever"15 -
*Opens some Computerphile video on YouTube in Chrome Canary*
CPU > hey ho dude, wait a minute..! I can't process all of this in realtime!!! >_<
Alright.. I think I've still got a copy of all their videos sitting somewhere in the file server.. perhaps I could use that instead.
*Opens said video from the file server in SMPlayer*
CPU > aah, thanks man. Now I can allocate 15-ish % of my resources to that and give you a good watching experience.
Web browsers are really great for being the most general-purpose document viewers, application execution environments (remote code execution engines as someone here called it), and overall be one of the most versatile programs on any PC's standard software suite.
But that comes at a price.. performance. And definitely when it comes to featureful fucking WordPress shitsites (shites?), bloated YouTube, Google, Facebook, and all that fucking garbage.. I fucking hate web browsers and this "Web 2.0" that people keep on talking about. Your boatload of JavaScript frameworks just to ease your own fucking development has a real impact when it happens on dozens of tabs, you know.
Besides, can't those framework creators just make it into a "compiler" * of sorts? So that front-end devs can flail their dicks in an shit-infested environment full of libraries and frameworks all they want, but the framework can convert it into plain JS code that the web server can then serve. Or better yet, the JavaScript standard could be improved to actually be usable on its own!
Look, I'm not a front-end dev. Heck, I'm not even a dev to begin with. But what I do know is that efficiency matters, especially at large scale. Web browsers being so overgeneralized and web devs adding a boatload of fucking libraries or frameworks or whatever, it adds up, both to the CPU's and my own temper.
(*) Quote marks because source code to source code isn't really compiling, but then uglified JS looks worse than machine code anyway so meh :/6 -
The solution for this one isn't nearly as amusing as the journey.
I was working for one of the largest retailers in NA as an architect. Said retailer had over a thousand big box stores, IT maintenance budget of $200M/year. The kind of place that just reeks of waste and mismanagement at every level.
They had installed a system to distribute training and instructional videos to every store, as well as recorded daily broadcasts to all store employees as a way of reducing management time spend with employees in the morning. This system had cost a cool 400M USD, not including labor and upgrades for round 1. Round 2 was another 100M to add a storage buffer to each store because they'd failed to account for the fact that their internet connections at the store and the outbound pipe from the DC wasn't capable of running the public facing e-commerce and streaming all the video data to every store in realtime. Typical massive enterprise clusterfuck.
Then security gets involved. Each device at stores had a different address on a private megawan. The stores didn't generally phone home, home phoned them as an access control measure; stores calling the DC was verboten. This presented an obvious problem for the video system because it needed to pull updates.
The brilliant Infosys resources had a bright idea to solve this problem:
- Treat each device IP as an access key for that device (avg 15 per store per store).
- Verify the request ip, then issue a redirect with ANOTHER ip unique to that device that the firewall would ingress only to the video subnet
- Do it all with the F5
A few months later, the networking team comes back and announces that after months of work and 10s of people years they can't implement the solution because iRules have a size limit and they would need more than 60,000 lines or 15,000 rules to implement it. Sad trombones all around.
Then, a wild DBA appears, steps up to the plate and says he can solve the problem with the power of ORACLE! Few months later he comes back with some absolutely batshit solution that stored the individual octets of an IPV4, multiple nested queries to the same table to emulate subnet masking through some temp table spanning voodoo. Time to complete: 2-4 minutes per request. He too eventually gives up the fight, sort of, in that backhanded way DBAs tend to do everything. I wish I would have paid more attention to that abortion because the rationale and its mechanics were just staggeringly rube goldberg and should have been documented for posterity.
So I catch wind of this sitting in a CAB meeting. I hear them talking about how there's "no way to solve this problem, it's too complex, we're going to need a lot more databases to handle this." I tune in and gather all it really needs to do, since the ingress firewall is handling the origin IP checks, is convert the request IP to video ingress IP, 302 and call it a day.
While they're all grandstanding and pontificating, I fire up visual studio and:
- write a method that encodes the incoming request IP into a single uint32
- write an http module that keeps an in-memory dictionary of uint32,string for the request, response, converts the request ip and 302s the call with blackhole support
- convert all the mappings in the spreadsheet attached to the meetings into a csv, dump to disk
- write a wpf application to allow for easily managing the IP database in the short term
- deploy the solution one of our stage boxes
- add a TODO to eventually move this to a database
All this took about 5 minutes. I interrupt their conversation to ask them to retarget their test to the port I exposed on the stage box. Then watch them stare in stunned silence as the crow grows cold.
According to a friend who still works there, that code is still running in production on a single node to this day. And still running on the same static file database.
#TheValueOfEngineers2 -
Needed to convert a collection of .avi videos to .mp4. Online converters only allow 1-2 videos at a time, with slow uploads, so no option.
Can't find a program that quickly fulfills my needs. Interesting ... 🤔
Look for python and a quick and dirty solution, ffmpeg and subprocess it shall be then.
Install ffmpeg, run subprocess with ffmpeg, put it inside a for loop, iterate over all videos with their respective number. Done.
3 lines of code, saved some time.
It's great to be a developer (sometimes).😏13 -
I'm trying to stand up a docker container to read a storage queue with dotnet and invoke ffmpeg to convert some videos. For a whole day I fought with this wrapper (FFMpegCore) which kept throwing file not found errors on the ffmpeg binary itself. Locally (windows) it worked fine.
I spent a ton of time trying to install the Debian package, trying to add it to the path manually, trying to just use the wrapper just to generate the arguments I wanted (I'm not an ffmpeg pro, so the fluent API the wrapper has is super useful) and running it manually, nothing worked. Finally, I realized it wasn't getting to the part where I ran it manually: just using the fluent API to get the arguments was invoking ffmpeg and throwing.
I took away the wrapper completely, start ffmpeg manually and it works...
Ay carumba. Things just can't be easy.2 -
I'm taking a class in my university about Cloud computing. In 2 weeks we made a simple web app to upload videos and then a simple job that converts all videos to mp4.
Now we took the app to the Cloud using AWS. We created different instances for the web servers, we changed the database to NoSQL, used SQS to queue the convert videos jobs to the different workers instances, used SES, S3, CloudFront, ElastiCache. All that stuff.
And all that is worthless because I cannot get my Ubuntu instance to run a fucking command on reboot. I don't really know how and I feel that all my work was wasted.
Feels bad man2 -
I should check out the latest videos at egghead.io, I should convert to Angular 2, I should start using es2016, I should learn c, I should continue on the cryptopals challenges, I should fully understand floats, I should learn how java works under the hood, I should learn the details of how the drammer exploit were done, I should make a dinner planner, I should continue the Golang tutorial, I should check out the game of my colleague's game attempt, I should engage in an open source project...
Playing cs:go with a nagging bad conscience... Again! -
HIRE A SKILLED CRYPTO RECOVERY HACKER – FAST & RELIABLE/ TRUST GEEKS HACK EXPERT
I Couldn't Believe It! I was sipping coffee and scrolling through cat videos one minute, and life was good. The next, my laptop screen flickered, turned black, and flashed back on, this time blood-red, with a message that sent my heart plummeting into my gut. "Your files have been encrypted. Pay $50,000 in Bitcoin, or say goodbye to your data forever." Hackers had hijacked my system, and I was locked out of my $450,000 Bitcoin wallet. I stared at the screen in horror, my coffee abandoned and my cat videos a distant memory. I rattled my fingers as I tried every password to which I believed I could gain access, but it was for nothing. The hackers had me in their sights. Tears accumulated in my head as a nasty thought ran through my mind, would I be forced to end up on my mother's couch again? I mean, I love her, but waking up under my childhood Justin Bieber posters at 35 wasn't what I envisioned for myself. On frantic hours of Googling, reading through forums filled with terms that I couldn't even start to make sense of, I stumbled upon TRUST GEEKS HACK EXPERT at w e b w w w :// trust geeks hack expert .c o m / . It was something from a fantasy novel, but desperate times call for desperate measures, and I needed Gandalf at this point. I called them, praying for deafness or a scam, but their response was speedy and professional. They did not just talk tech, they listened to my desperation. They assured me that they had handled ransomware cases before, and their words were a lifeline in my sea of despair. The next nine days took nine years off my life, but our staff kept us up to date at every stage. I could envision them hacking around in their shades, like a scene from an action movie. When they called and informed me that they got back my wallet, I hit the floor on my knees and prayed to whatever higher power my mind could conceive. Every Satoshi was accounted for. My $450,000 was safe. Bonus? Mom can now go ahead and convert my childhood bedroom into the guest suite she's dreamed of—without me as a permanent houseguest. E m a i l: Trust geeks hack expert @ fast service .. c o m
Thank you, TRUST GEEKS HACK EXPERT1 -
Boost Your Brand with Booster Marketing Hub: Performance & Inbound Marketing Experts
In today’s digital age, digital marketing is the backbone of any successful business strategy. Whether you're a startup or an established company, leveraging the right marketing techniques is crucial to stand out from the competition and drive results. At Booster Marketing Hub, we specialize in providing top-notch digital marketing services, with a focus on performance marketing and inbound marketing. Based in Cluj-Napoca, Romania, our team is ready to help you take your online presence to the next level.
What is Digital Marketing and Why Does Your Business Need It?
Digital marketing refers to the use of digital channels—such as search engines, social media, email, and websites—to promote products or services. In today’s world, every business needs a strong online presence to thrive. Traditional marketing methods are no longer enough to capture the attention of modern consumers, who spend most of their time online.
With digital marketing, you can engage with your target audience in a more personalized and cost-effective manner, while also measuring the success of your efforts in real-time. The beauty of digital marketing lies in its ability to reach a global audience while providing tools to track, optimize, and refine campaigns for maximum impact.
Performance Marketing: Results-Driven Strategies for Maximum ROI
One of the key pillars of Booster Marketing Hub is our focus on performance marketing. Unlike traditional marketing, which may rely on broad exposure, performance marketing is all about driving measurable results. This data-driven approach ensures that every marketing dollar you spend delivers value and contributes to your business goals.
What is Performance Marketing?
Performance marketing involves paying for marketing efforts based on the results they deliver. These results can include actions such as clicks, leads, or sales. Whether you're running Google Ads, Facebook Ads, or other pay-per-click campaigns, performance marketing ensures that you are only paying for what works.
Here’s how Booster Marketing Hub helps businesses achieve better performance through performance marketing:
Targeted Advertising: We use advanced targeting techniques to ensure that your ads reach the right people at the right time.
Cost-Effective Campaigns: With performance marketing, your budget is optimized based on real-time results, so you can maximize your return on investment (ROI).
Continuous Optimization: We constantly monitor and tweak your campaigns to ensure they perform at their best, adjusting ad creatives, bidding strategies, and audience targeting as needed.
Data-Driven Decisions: Every step of our performance marketing strategy is guided by data, so we can continuously refine campaigns to ensure optimal results.
Inbound Marketing: Attract, Engage, and Delight Your Audience
Another core area where Booster Marketing Hub excels is in inbound marketing. This approach focuses on attracting potential customers by providing valuable content, building trust, and nurturing relationships. Unlike traditional outbound marketing methods that interrupt your audience, inbound marketing focuses on delivering content that draws customers to you.
What is Inbound Marketing?
Inbound marketing is a strategy that focuses on attracting customers through relevant and helpful content. Instead of pushing your message to a wide audience, inbound marketing helps pull your target audience in by providing the information, products, or services they are looking for. This strategy is built on creating valuable content such as blog posts, social media updates, videos, eBooks, and more.
At Booster Marketing Hub, we design and execute inbound marketing strategies that speak directly to the needs and pain points of your potential customers. Here’s how we do it:
Content Creation: Our team creates high-quality, relevant content that addresses your audience’s needs, establishes your authority, and builds trust.
SEO Optimization: We ensure your content ranks high on search engines through proven SEO strategies, making it easier for your audience to find your content.
Lead Nurturing: With effective email marketing, automation, and personalized follow-ups, we nurture leads through their buyer’s journey until they’re ready to convert.
Building Relationships: Through consistent and valuable interactions, we help you build long-term relationships with your customers, turning them into loyal advocates for your brand.
Why Choose Booster Marketing Hub for Your Digital Marketing Needs?1

