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 - "refill"
-
Long rant ahead. Should take about 2-3 minutes to read. So feel free to refill your cup of coffee and take a seat :)
It turns out that the battery in my new Nexus 6P is almost dead. Well not that I didn't expect that, the seller even explicitly put that in the product page. But it got me thinking.. why? Lithium batteries are often good for some 10k charges, meaning that they could last almost 30 years when charged every day! They'd outlive an entire generation of people!
Then I took a look at the USB-C wall charger that Huawei delivered with this thing. A 5V 3A brick. When I saw that, I immediately realized.. aah, that's why this battery crapped out after a mere 2 years.
See, while batteries are often advertised as capable of several amps (like 7A with my LiitoKala 18650 batteries that I often use in projects), that's only the current that they can safely take or deliver without blowing up. The manufacturer doesn't make this current rating with longevity in mind. It's the absolute maximum in current that a given battery can safely handle.
The longevity on the other hand directly depends on the demand that's placed on the battery. 500mA which is standard USB 2.0 rating or 1A which is standard USB 3.0 rating, no sweat. The battery will live for at least a decade of daily charges and discharges like that no problem.
But when you start shoving 3A continuous into a battery, that's when it will suffer. Imagine that your current workload is 500mA and suddenly you get shoved 6 times that work upon you. How long would you last?
Oh and not only the current is a problem, I suspect that it also overvolts the battery to maintain a constant current all the way till the end. When I charged my lithium cells with my lab bench power supply, the battery would only take a few milliamps when it got close to the supply voltage. Quick bit of knowledge: lithium cells are charged at constant current first, then when the current drops below that, it continues at constant voltage - usually 4.2 or 4.35V depending on the battery. So you'd set your lab bench power supply at 4.2V 500mA. But in that constant voltage mode, as the battery's voltage and the supply's voltage equalize, the current drops because the voltage difference becomes lower. Remember, voltage is what causes current to flow. Overvolting at the supply to stay in constant current mode all the way till the end speeds this process up but can be dangerous and requires constant monitoring of the battery voltage.
So, why does Huawei and a bunch of other manufacturers make these 3A power chargers? Well first it's because consumer demands ever more, regardless of the fact that they can just charge at 500mA for the night (8h of sleep) and charge a 4000mAh battery from 0 to 100% no problem. Secondly it's because sometimes you need that little bit of extra juice fast, like when you forgot to plug the damn thing in and you've got only 30 minutes in the morning to pour some charge into it.
But people use those damn fucking things even when they go to bed, making that 3A torture a fucking standard process!! And then they complain that their batteries go to shit?!
Hopefully this now made you realize that the fast charger shouldn't be used as a regular charger ^^29 -
When you are a regular at a coffeeshop and you ask for a refill, but, the extra nice barista gives you a free, on-the-house, lattee as a Coffe Day gesture :)21
-
My dev superpower would be the power to magically refill anything.
Out of hot coffee? Refill your thermos!
Bank account running low? Refill with money!
Battery empty? Refill with charge!
Going bald like me? Refill your head with hair!
Bed empty? Refill with beautiful women!
Clients / managers annoying you? Refill their bladders!
The possibilites are limitless!6 -
Long rant ahead.. so feel free to refill your cup of coffee and have a seat 🙂
It's completely useless. At least in the school I went to, the teachers were worse than useless. It's a bit of an old story that I've told quite a few times already, but I had a dispute with said teachers at some point after which I wasn't able nor willing to fully do the classes anymore.
So, just to set the stage.. le me, die-hard Linux user, and reasonably initiated in networking and security already, to the point that I really only needed half an ear to follow along with the classes, while most of the time I was just working on my own servers to pass the time instead. I noticed that the Moodle website that the school was using to do a big chunk of the course material with, wasn't TLS-secured. So whenever the class begins and everyone logs in to the Moodle website..? Yeah.. it wouldn't be hard for anyone in that class to steal everyone else's credentials, including the teacher's (as they were using the same network).
So I brought it up a few times in the first year, teacher was like "yeah yeah we'll do it at some point". Shortly before summer break I took the security teacher aside after class and mentioned it another time - please please take the opportunity to do it during summer break.
Coming back in September.. nothing happened. Maybe I needed to bring in more evidence that this is a serious issue, so I asked the security teacher: can I make a proper PoC using my machines in my home network to steal the credentials of my own Moodle account and mail a screencast to you as a private disclosure? She said "yeah sure, that's fine".
Pro tip: make the people involved sign a written contract for this!!! It'll cover your ass when they decide to be dicks.. which spoiler alert, these teachers decided they wanted to be.
So I made the PoC, mailed it to them, yada yada yada... Soon after, next class, and I noticed that my VPN server was blocked. Now I used my personal VPN server at the time mostly to access a file server at home to securely fetch documents I needed in class, without having to carry an external hard drive with me all the time. However it was also used for gateway redirection (i.e. the main purpose of commercial VPN's, le new IP for "le onenumity"). I mean for example, if some douche in that class would've decided to ARP poison the network and steal credentials, my VPN connection would've prevented that.. it was a decent workaround. But now it's for some reason causing Moodle to throw some type of 403.
Asked the teacher for routers and switches I had a class from at the time.. why is my VPN server blocked? He replied with the statement that "yeah we blocked it because you can bypass the firewall with that and watch porn in class".
Alright, fair enough. I can indeed bypass the firewall with that. But watch porn.. in class? I mean I'm a bit of an exhibitionist too, but in a fucking class!? And why right after that PoC, while I've been using that VPN connection for over a year?
Not too long after that, I prematurely left that class out of sheer frustration (I remember browsing devRant with the intent to write about it while the teacher was watching 😂), and left while looking that teacher dead in the eyes.. and never have I been that cold to someone while calling them a fucking idiot.
Shortly after I've also received an email from them in which they stated that they wanted compensation for "the disruption of good service". They actually thought that I had hacked into their servers. Security teachers, ostensibly technical people, if I may add. Never seen anyone more incompetent than those 3 motherfuckers that plotted against me to save their own asses for making such a shitty infrastructure. Regarding that mail, I not so friendly replied to them that they could settle it in court if they wanted to.. but that I already knew who would win that case. Haven't heard of them since.
So yeah. That's why I regard those expensive shitty pieces of paper as such. The only thing they prove is that someone somewhere with some unknown degree of competence confirms that you know something. I think there's far too many unknowns in there.
Nowadays I'm putting my bets on a certification from the Linux Professional Institute - a renowned and well-regarded certification body in sysadmin. Last February at FOSDEM I did half of the LPIC-1 certification exam, next year I'll do the other half. With the amount of reputation the LPI has behind it, I believe that's a far better route to go with than some random school somewhere.25 -
Unfortunately, "developer brain" does not respond. You have the following options:
Option A
Refill coffee-mug, drink and keep on waiting for a response.
Option B
Go to sleep.1 -
In my senior year of college we had to make a restaurant pos system. Our group made a functional realtime android tablet app.
That allowed for customers to place order, request refills, play a very small game, chat with other tables, and pay for the check which supported splitting.
When an order was placed it strait to the cook part of the app. Which could view orders and complete them based on table number.
When an order was complete or a drink refill request the server part was notified. Where the server could view and finish orders based on table number.
There was also a very lite admin web component for basic reporting.
The UI was horrid, but we completed this in less than a month.2 -
PM - "can you add this word to the application? You have 4 weeks"
PM - "can you strip the database, refill it with new fields and implement it so that it works across a wide range of companies? You have 1 hour" -
Nothing distracts me more than people eating in an otherwise quiet office. It makes me so livid that i usually leave the room for a coffee refill or bathroom break and hope they are done by the time I'm back.
I can code while holding a conversation, I barely even notice when people do phone calls or skype meetings next to me, but hearing people chew and breathe through their nose while smelling their lunch just annihilates me.5 -
while (this.isAwake()){
if (this.timeSinceLastCoffee.toString() == "5hr") {
this.cup.refill();
this.drinkCoffee();
}
}6 -
Me: Hey, I'm going to refill my water bottle. You need some as well?
Coworker: Yeah, thanks let me just drink the remaining bits
*starts chugging down 3/4 full bottle*
Me: PFFFFT, you don't need a refill please, for the love of god, staph3 -
My company has hired and fired 3 Engagement Managers (people who host events, refill snacks, etc) since I'm started here, and I'm starting to think People Ops is either
1) Cannot hire someone good
2) Is toxic and causing the people to leave
3) Hire and fire before their 90 days are up
It sucks that right when I think we got someone good, they give them the boot. That should not be a norm or acceptable to go through 3 managers in 9 months.1 -
I have already started the process of a side project by desiging the software, the architecture, the 3d model, ordered all the electronics of a pet 'smart' stable for my guinea pigs.
Which would automatically feed them and refill their water tanks silently but for me the point on playing around with dozens of sensors for like different water levels, water quality, hay, temperature, water quality (you get the point) ... Building a nice looking web interface or an App to control everything and get a live feed from different angles ( sounds a bit crazy altogether but it looked like a cool project )
I even started a instructable and had a github repo for sharing the source of the app/web interface and the whole micro service based server
I'm still at it and hopefully will start to build the ***ing wood and acrylic parts in the next month's but currently and for the last month's free time ist my archenemy
Keep you posted if you are interested 😀 -
Thank you crappy Starbucks app requiring me to refill my Starbucks card in order to pay via the app.
I was first going to rant but this "feature" saved from buying food that actually looks like crap in the store...
Long version: I got an email about the birthday reward (free any side (Large) drink) a few days ago so redeemed it this morning via the app. I sorta felt bad so added a dessert roll so that I would pay something.
Well at the checkout it said need to pay by Store Card.... Under that, it listed my credit card and refill amount. Well WHY THE FUCK CAN'T I JUST USED MY CARD. I am not a regular customer but hey it's $6 for the drink. Anyway so I removed and now it keys me check out without a refill.
Then dragged my ass out of bed because somehow I accidentally ordered... walked to the store. Wanted to order but then saw the actual food and was like "ok let's just get my coffee..."
Picks it up at the pickup spot and quietly walks out looking at all the people in the store wondering why they like this stuff.
The coffee was just like McDonald's to me...4