Details
Joined devRant on 9/7/2018
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
-
I've just disassembled this LED floodlight that I bought a while ago. It's some stupid little cheapie from a dollar store, so I figured that there'd be shit inside. But I wanted that LED cob.. a power LED :3
Well, shit wasn't too far off from the truth. The component choice is reasonable, but the design of the bloody thing.. batshit insane. The LED floodlight is powered by 4 AAA batteries, connected in series. So 6VDC. That then goes into this little tactile pushbutton, into the LED cob and then a 4.7 ohm resistor.
Well that's a pretty easy circuit.. let's remove the batteries and the casement, and put it on the lab bench power supply. Probes connected to the circuit with only the resistor and the LED cob in between (I didn't want to deal with the switch). Power supply set to 6V, current limiting to 500mA, contact!! And it works, amazing! So I let it run for a while to see that nothing gets too hot.. hah. After a minute or so, smoke would come out.. LED cob was a bit warm to the touch but nothing too bad. But the resistor.. I could cook water on it if I wanted to! 100 fucking °C, and rising. What the F yo?!
So I figured that I didn't want to put the resistor in between there. Just the LED cob now, which apparently has a forward voltage somewhere between 3.2V and 3.3V depending on how I set the current (500mA and 600mA respectively). Needed a bigger heatsink though, so I jammed one of my aluminium heatsinks on there. And it worked great! Very bright too, as it takes between 1.6 and 2W of power. Just for a comparison, the lighting in my living room is 4x5W and the ones on top of my dining table are 2x3W (along with some TL bar that my landlord put there.. fluorescent I think). So yeah, 2W is quite a lot for an LED, especially when it's all concentrated into one tiny spot.
That said, back to the original design with the resistor. 2 questions I have for that moron that designed this crap. First, why use a resistor for a power LED?! They needlessly waste power, and aren't good choices for anything that consumes more than 100mA. You should use PWM for these purposes, or tune your voltage on the supply side. Second, why go with 6V when your forward voltage is 3.3 at most? Wouldn't it make more sense to use 3 batteries with 4.5V? Ah, but I know the answer to the second one. AAA cells aren't rated for high loads like this. So that's likely why the alkaline cells that I had in there before have started leaking. Thanks, certified piece of shit!
Honestly, consumer electronics are such a joke... At least there's some components that I can salvage from this crap. Mainly the LED cob, but also the resistor and the tactile pushbutton perhaps.
One last remark that I'd like to make. This floodlight was cheap garbage. But considering that you can't do it well at that price, you just shouldn't do it. You know why? Because consumers always go for the cheapest. Makes a lot of money to build at rock bottom prices and make shit, but it damages the whole industry, since now the good designs will go out of business. That's why consumer electronics is so full of crap nowadays. Some unethical profiteering gluttons saw money, and they replaced the whole assortment with nothing but garbage. I'm sure that there's a special place in hell for that kind of people.17 -
I was just chatting with my professor after class and I got on the topic of my class that makes us use Visual Studio 2010 and he seemed very interested in that, so come to find out, he's "the guy that makes sure classes are using up-to-date technology"
I was like OH SHITTTT4 -
How to have success when you are chatting with live support:
- Pretend to be a girl
This is very effective, I can get lower price and good deal almost every time.25 -
We've been working on a big application on-and-off for the last year (whenever we had time.) It was 99% working, and we left it to work on some other apps. We come back to it, only to find that some big features have magically stopped working. We dig into it and find thT some other dev team completely changed the functionality of one of the existing off-application microservices were utilizing without telling us, and then we had to spend days reverse-engineering what they did so we could retrofit our application to communicate with the microservice again.
We were able to get it fixed, but I just know that they're going to change something else in the future without telling us and it's gonna break again. A little interdepartmental communication would be greeeeaaaat!1 -
Trying to start a dev meetup with a friend, super excited but also nervous! I'm just a junior dev, absolutely overwhelmed by every aspect of the pool of knowledge available to me but absolutely excited to embrace it! I'm just a lowly angular developer but my aspirations are great :) I hope to bring people of unconventional ideologies together to discuss concepts in ways thay are... Well, unconventional!
Here's to learning, and growing!1 -
Does anyone know a good book for learning PHP? I want to know more about back-end development and would like some recommendations. I've been programming mostly in Java before and also have experience with SQL, HTML and CSS.
If anyone could suggest a book or any kind of advice I would really appreciate it. I've found some interesting ones online like "PHP & MySQL Web Development – by Luke Welling & Laura Thompson", but would like to hear out first people who know more about this programming language.6 -
What does a job as a Software Developer Feels like ?
( I was wondering what tasks are exactly needed to be done when you're finally employed as a Software Developer proficient in one or more programming languages. )
Have a Nice day ;)question developer software development programming software engineering coding software developer jobs3 -
My Back-End dev suggest me to switch NodeJS to NodeJS+VUEJS&BABEL and told me that I would like it because it's fast even when I do the Front-End....
I regret it...6 -
My professor asked me today why I wanted to build my project using OOP.
This is a 480 level course and I have 2 1/2 years experience building well over 30 projects with OOP. And yes, we have students here who are nervous about the idea of using OOP. Nevermind that I and others took two classes on the topic.
I have hit my dispair event horizon. It has to get better from here. 🤯😬🤬🤬🤮☠️4 -
I just finished my last day at my toxic office that is falling to pieces.
Oh that's such a relief off my shoulders now.
On to bigger, better, and much more enjoyable things come Monday morning!!!1 -
Having my last day at this company today!!! So looking forward to the new job. No more customers I have to talk to, no more deadlines, no more fucking app development.
Going to be the lead SEO and e-Commerce guy in a relatively big company, with my own small team, finally my own office again - and less development (but will still develop about 20% of the time).
Gonna be awesome, but first, I get to have 3 weeks vacation to renovate my house 😁1 -
Why do node.js devs think it's okay to deprecate older functionalities while replacing them with barely-working ones riddled with bugs?
Is this a node.js community thing?14 -
Lately I'm finding issues on git more helpful than StackOverflow.
I know those are different beasts, but for the harder/specific questions I'm finding more resources on the repos than on SO.2 -
TLDR; macOS wouldn’t update to the version I needed because I have a 3rd party SSD. All I needed was a firmware update only found deep within a google search and a secondary SO answer.
I have a video edit project this weekend. No big deal.
Except that the Final Cut Pro project was saved in the latest version of FCPX, for which I need latest MacOS version
As a music producer on the side, I had heard the new file system of MacOS High Sierra would possibly break audio plugins. I didn’t bother updating until now. Looked further into plugin problem, it would be simply a broken hard link which I can easily fix. No big deal.
Except that I have upgraded my MBP SSD from 256gb to this 3rd party 480gb SSD. macOS does not recognize this SSD as compatible with update. No big deal. Simple google search for a terminal command would do the trick.
Except that I found and tried several solutions, including wasting an entire hour updating the original ssd and booting from that to try to update it.
Nothing worked, but deep down in the google search, found in a secondary answer on SO, there was a link for a beta release of a firmware update for the SSD that took two minutes to install, and I was finally able to update.
That firmware update needs to be more prominent everywhere. Wasted well over 3-4 hours updating crap, swapping out SSDs, and googling when all I needed was a fucking firmware update.9 -
To all the front-end engineers here I have a question. Say I am trying to create reusable CSS web components how do you create them? Shadow Dom?.
If not then how do you make sure the custom elements that you create can be resued in other projects?8 -
Hey, DevRantDevs: Is there a particular reason there is no pony tail hairstyle? At least I can't find one for males.12
-
This will be 4chan-r/greentext-ish in format. Also "me" is not me, PTH, it's referring to a game studio.
>Be me
>Be game studio
>Create event for weapon design
>Player base submit in a craptonna designs
>Holyfuck.jpg
>Create an internal service for voting
>Service doesn't check for vote except for a login
>MFW one submission has 6-digit votes
>MFW a lotta submission also start gain a lot of votes
>WTF.gif
>The vote count spiked
>Votebotting is here
>Ohshit.gif
>MFW I don't how to filter votes
>MFW I can't block rerouted traffics (VPNs, proxies, etc.)
>MFW the Discord server of the game gets vocal then Reddit.
>OhshitIfuckedup.mp43 -
After 5 years of neglect I have finaly found some time to work on an old project of mine.
Not a bad view to work from either9 -
I've just got in from bar* work, a little drunk*!
My last dev employer actually offered me my old job back, but as HR are so awful I said the situation was past that and demanded compensation. A nice payout agreed for me, for not taking it to tribunal 👍
Now for the new job! I thought working the night scene would be fun, but it's not well paid and the freelance I have is but it's hard to juggle the two.
I might have a break or a month or so doing this, then look for another job.
Anyone recommend good companies LGBT friendly in London?16