Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "kernels"
To those that think they can't make it.
To those that are put down by those that don't understand you.
And to those that have never had a dream come true.
Not a rant, but the story of how I got into programming
I've always been into tech/electronics. I remember being told once that when I was 3, I used to take plug sockets to pieces. When I was 7, I built a computer with my dad.
There isn't a thing in my room that hasn't been dismantled and put back together again. Except for the things that weren't put back together again ;)
When I was 15, I got a phone for Christmas. It was a pretty crappy phone, the LG P350 (optimus ME). But I loved it all the same.
However I knew it could do a lot more. It ran a bloated, slow version of Android 2.2.
So I went searching, how can I make it faster, how to make it do more. And I found a huge community around Android ROMs. Obviously the first thing I did was flashed this ROM. Sure, there were bugs, but I was instantly in love with it. My phone was freed.
From there I went on to exploring what else can be done.
I wanted to learn how to script, so over the weekend I wrote a 1000 line batch (Windows cmd) script that would root the phone and flash a recovery environment onto it. Pretty basic. Lots of switch statements, but I was proud of it. I'd achieved something. It wasn't new to the world, but it was my first experience at programming.
But it wasn't enough, I needed more.
So I set out to actually building the roms. I installed Linux. I wanted to learn how to utilise Linux better, so I rewrote my script in bash.
By this time, I'd joined a team for developing on similar spec'd phones. Without the funds to by new devices, we began working on more radical projects.
Between us, we ported newer kernels to our devices. We rebased much of the chipset drivers onto newer equivalents to add new features.
Well, it was exam season. I was suffering from personal issues (which I will not detail), and that, with the work on Android, I ended up failing the exams.
I still passed, but not to the level I expected.
So I gave up on school, and went head first into a new kind of development. "continue doing what you love. You'll make it" is what I told myself.
I found python by contributing to an IRC bot. I learnt it by reading the codebase. Anything I didn't understand, I researched. Anything I wanted to do, google was there to help me through it.
Then it was exam season again. Even though I'd given up on school, I was still going. It was easier to stay in than do anything about it.
A few weeks before the exams, I had a panic attack. I was behind on coursework, and I knew I would do poorly on exams.
So I dropped out.
I was disappointed, my family was disappointed.
So I did the only thing I felt I could do. I set out to get a job as a developer.
At this stage, I'd not done anything special. So I started aiming bigger. Contributing to projects maintained by Sony and Google, learning from them. Building my own projects to assist with my old Android friends.
I managed to land a contract, however due to the stresses at home, I had to drop it after a month.
Everything was going well, I felt ready to get a full time job as a developer, after 2 years of experience in the community.
Then I had to wake up.
Unfortunately, my advisors (I was a job seeker at the time) didn't understand the potential of learning to be a developer. With them, it's "university for a skilled job".
They see the word "computer" on a CV, they instantly say "tech support".
I played ball, I did what I could for them. But they'd always put me down, saying I wasn't good enough, that I'd never get a job.
I hated them. I'd row with them every other day.
By God, I would prove them wrong.
And then I found them. Or, to be more precise, they found me. A startup in London got in contact with me. They seemed like decent people. I spoke with their developers, and they knew their stuff, these were people that I can learn from.
I travelled 4 hours to go for an interview, then 4 hours back.
When I got the email saying they'd move me to London, I was over the moon.
I did exactly what everyone was telling me I couldn't do.
1.5 years later, I'm still working with them. We all respect each other, and we all learn from each other.
I'm ever grateful to them for taking a shot with me. I had no professional experience, and I was by no means the most skilled individual they interviewed.
Many people have a dream. I won't lie, I once dreamed of working at Google. But after the journey I've been through, I wouldn't have where I am now any other way. Though, in time, I wish to share this dream with another.
I hope that all of you reach your dreams too.
Sorry for the long post. The details are brief, but there are only 5k characters ;)23
I'm wondering, what's you guys/gals/linux kernels/however you identify yourself 'superpower'?
I think that nearly everyone has something which can be extremely useful (maybe not healthy) and which not many other people you know have.
In my case it's that i can manage with extremely variable sleep patterns and when needed, I can sleep very short for days in a row (3-4 hours a night) and I'm all good. Nearly all friends/family that I have NEED regular sleep patterns + at least 8 hours of sleep but i can very much manage without those. Very useful when having disruption service and stuff.
Please post yours in the comments if you're comfortable with that!47
My life 😂 why can’t I just stick with one? So many lost hours figuring out the differences between distros, patching kernels, installing drivers, and for what?8
Yesterday (or the day before that depending on your timezone and day-night schedule - this Friday) my OnePlus 6T arrived. After only 2 days of time between placing the order and actually getting the phone, quite impressive!
The DHL guy asked me upon receipt - is it the OnePlus 6T? - Yes it is!! - "An amazing device it is!", he said. And honestly.. he couldn't be more right.
I might be a bit biased on this because after all I did just spend €630 on this phone. But it feels so snappy, high quality, the 8GB of RAM is just.. it blows my mind. But I'm sure that the other reviews did this sort of jazz already.
The things that set this phone apart for me though were the following.
When I get a new phone or tablet, usually the first thing I do is rooting it. This one was no different, about an hour after receipt it was successfully rooted and loaded with Magisk. Currently I'm still in the phase of "getting to know the phone", wherein fuckups are usual. This time again being no different - I removed some apps and apparently did something to it that the search engines - both Google and DuckDuckGo - didn't quite like, as both of them would crash upon application launch. Me in full panic mode of course, desperately trying to find the stock ROM (which doesn't seem to be present in its usual form) or a new set of GApps (which didn't resolve the issue). OnePlus does seem to offer its OTA updates in zip archives though. So I downloaded its latest update (same as what was on the device) and applied it.
That's when the nerdgasm happened.
The "update" was simply a matter of going into the settings, tapping this and that and applying the update. No recovery, no unrooting, no nothing. The update just went like that despite the phone being rooted and just having had TWRP flashed to it. I always wanted this sort of thing, which even the Nexus couldn't offer - having the cake and eating it too. Being able to root the device and muck around with it while still being able to update the device timely without too many hurdles. This fucking thing does it!!!
That is to say, after my initial nerdgasm I did find that it bulldozed over my su binary (effectively unrooting the thing), custom emoji I've set (iOS 12 because fuck Google's most recent emoji set) and some other things. But those are easy to install back, much more so than it would've been to download a whole Android release and dirty flash it, as it was on the Nexus.
Other than that, battery life, dash charging (edit: on that topic, it does remain cool like a cucumber despite getting 15-20W of power jammed into it, quite impressive!), snappiness, the usual jazz.. eh, as I said earlier that's the usual reviewer stuff. But this feature of being able to upgrade the phone while it's modified, that's something which seems to be severely underrated by those.
Oh and during kernel builds, I couldn't quite get the source to work - probably due to my lack of experience with builds of Android kernels - but I did find that this phone actually exposes its kernel config through /proc/config.gz as it should. None of my MediaTek devices do this, so that's something that I found really appealing. Always nice to see when a manufacturer exposes this information to give you a stock sort of config that you can be rest assured will work configuration-wise. And it allows you to see what the stock kernel is actually built with, which again is really nice. I quite like this! It really encourages further development.11
Just now I realized that for some reason I can't mount SMB shares to E: and H: anymore.. why, you might ask? I have no idea. And troubleshooting Windows.. oh boy, if only it was as simple as it is on Linux!!
So, bimonthly reinstall I guess? Because long live good quality software that lasts. In a post-meritocracy age, I guess that software quality is a thing of the past. At least there's an option to reset now, so that I don't have to keep a USB stick around to store an installation image for this crap.
And yes Windows fanbois, I fucking know that you don't have this issue and that therefore it doesn't exist as far as you're concerned. Obviously it's user error and crappy hardware, like it always is.
And yes Linux fanbois, I know that I should install Linux on it. If it's that important to you, go ahead and install it! I'll give you network access to the machine and you can do whatever you want to make it run Linux. But you can take my word on this - I've tried everything I could (including every other distro, custom kernels, customized installer images, ..), and it doesn't want to boot any Linux distribution, no matter what. And no I'm not disposing of or selling this machine either.
Bottom line I guess is this: the OS is made for a user that's just got a C: drive, doesn't rely on stuff on network drives, has one display rather than 2 (proper HDMI monitor recognition? What's that?), and God forbid that they have more than 26 drives. I mean sure in the age of DOS and its predecessor CP/M, sure nobody would use more than 26 drives. Network shares weren't even a thing back then. And yes it's possible to do volume mounts, but it's unwieldy. So one monitor, 1 or 2 local drives, and let's make them just use Facebook a little bit and have them power off the machine every time they're done using it. Because keeping the machine stable for more than a few days? Why on Earth would you possibly want to do that?!!
Microsoft Windows. The OS built for average users but God forbid you depart from the standard road of average user usage. Do anything advanced, either you can't do it at all, you can do it but it's extremely unintuitive and good luck finding manuals for it, or you can do it but Windows will behave weirdly. Because why not!!!16
Fuck this raspberry piece of shit. You can’t really use it for any serious job. Its just a tinkering gizmo designed to waste your time.
I’ve tried using them for several things over the years. First was as a NAS, it was either freezing, losing the wifi/ethernet connection or causing data loss. That’s right, when all it had to do was to take the fucking file someone copies over the network and write it on an external drive.
Can’t use it to view movies either - sooner or later it becomes slow to the point where its unwatchable. Even with a 1gig video, so no HD or anything like that.
Then i tried setting it up to control the ventilation in a house. It would work for a couple days or so then hang. What the fuck, am i sposed to have another raspi to reset the first one? Then what, the 3rd for the 2nd? A centipede of raspberries? And ofc controlling the relays was always hit and miss, sometimes you had to spam the button like 20 times to be sure it flips a pin high or low.
Then i tried to set it up to control a bunch of mining rigs. Once again random fails, except this time a couple video cards died to heat. No worries, RMA, what else we can do?
Then, random small scripts to read various sensors and post a json. Put a radiator and fan on it, battery, what the fuck not. But no. Random freezing, random disconnects.
Naturally all this shit spiced up with countless hours spent on debugging: is it me? Did i trip on the wire? Was it the vibration? Or perhaps the temperature or humidity? Was pluto taking a piss because its no longer a planet? What are the logs saying? Maybe it will work if we recompile? Or maybe use another language? And what the fuck not!
Who and why the fuck came up with this shit? Is it all just another conspiracy to waste my time? Dear satan you don’t need boards and kernels and java and linux and the fuckton of idiots to waste my time, just get me a couple lesbians and some booze and you’ll never hear from me until i end up in your fucking cauldron.54
Any idea how to make a fan in an HP laptop spin at lower temperatures? The fan in my Pavilion dm-1 only starts spinning when CPU reaches 75°C and enters full speed when the GPU also becomes 75°C. Which is strange because this CPU and GPU are one and the same thing.. an APU. And overheating freezes often happen at around 75-80°C.. which isn't too much of a headroom really. I'd rather have it kick in at 50-60°C already, but would like to avoid using the power of the soldering iron for it.. I've already lost a fan to that previously (current one is a spare part from AliExpress). Granted, my soldering experience was much less back then.. nowadays I can probably even solder 1206 SMD packages comfortably. But I don't want to risk it, and I've got experience with custom kernels anyway.. are there any fan speed governors in the kernel that you know of?
FWIW, fancontrol doesn't seem to be supported on this laptop, and neither is pwmconfig. Perhaps I'll have to stick to the electronics method after all? Given that it's just a 5V fan, I guess that I could feed it power by tapping some power from a USB rail and controlling its speed from an ATtiny85.. but inside the laptop there isn't enough space for that and I don't feel like freeing this hardware out of its laptop chassis yet (though that is on the list). Either way running at 60°C under no load is terrible.. some HP certified enganeering "feature" I guess...6
when you have 6GB worth of unused kernels on your machine and your machine is desperately crying for MOAR storage space!4
Just now I was reading on https://pve.proxmox.com/wiki/... about high availability. Now my Proxmox VE is just a tower (which happens to have ECC memory) that's stored in my storage room (and which is mostly used for experimental and home server purposes). But my mail servers.. those have been made with high availability in mind. Most importantly, I've made their services entirely redundant (but within the same datacenter). And when they have updates, I apply updates to one, reboot, see if it didn't break something and then do the same to the other server after the first one came up again. So no downtime whatsoever.
If memory serves me right, I think that I've been able to maintain these servers for the last year without any downtime at all (I reboot them every month to apply new kernels but they haven't both been simultaneously down at any moment). Does that make them High Availability? My interventions regarding their availability have been rather trivial. Is it really that hard..?4
I got interested in Linux through using custom Roms and kernels on my phone.
And now I want to learn more about it.
Any advice will be appreciated4
Update to my previous desire to install Arch Linux on my MacBook...
Well, I installed it, played around a bit... now gonna install OS X back... primary reasons being the fact that there r a lot of things which u must do to get arch to work perfectly in MacBook... ( special kernels and stuff ) and I use an iPhone 😐... in other words, m locked to the ecosystem... for now...
I was so hoping to use arch... it wud have been amazingly fast on the SSD... 😍😍
No m not gonna use VM since it’s not fun 😂😂
Wish iTunes worked in Linux too ☹️😕7
Can't help but when watch most profiles(some exceptions)of ranters I see are front end developers. Aren't here some guys who work on developing frameworks, work on linux kernels or maybe work on linux distros?
P.S.: I love RoR and will contribute to make it better. So the image.7
I've just spent half and hour trying to fix a problem when I remembered that Arch upgrades kernels in-place and I just have to reboot.
Because deleting the CURRENTLY RUNNING KERNEL is definitely a sane thing to do...
I'm so fucking non-agry right now and really feel like posting the following:
What do you fucks do when not waiting for Windows updates to finish, compiling Linux kernels or waiting for job interviews? What do you guys/ladies do for fun? What would you do if you didn't have to work in this, at times, horseshit tech industry?
I like exploring cities and villages by foot or bike with a backpack full of beer. My wife and I have explored more than 200 places across 3 continents, from London to Chernobyl to out of the way Cambodian towns and 20 hour drunken Paris hikes. We drink in parks like hobos and try to strike up conversations with everyone we meet, especially other foreigners/immigrants.
I also love Formula 1 and try to watch a race at least once a year (went to Monza last year).
If I had many bucks and a smarter/sharper brain I would get a pilot's license...but alas..
I also love playing colorful little kids games on my 3DS.
So yeah, curious what you guys do for fun? Any dreams for the future?
Answering this question is compulsory!12
Can we please kill Google ?
Android 9 was OK with the changes they did. I mean not GREAT. But OK still.
Android 10 was HORRIBLE. Broke nearly every custom ROM out there and they didnt fucking care.
TBH Android 11 isnt that bad. Its not OK but not horrible. But now we cant build kernels in android sources because google decided it so.
Yes this was android 10 change but it is slowly getting enforced and i hate it.
Dont get me wrong. I love the UI changes. They are sick. Grabbing more from Custom ROMs and bringing it to official android.
But if you didnt realize Google is making Android app and ROM developers an hell from life.7
Hey this is Linuxer4fun or BinaryByter, you might remember me as that smartass Teen who fanboyed over C++ and built kernels and compilers and all that shit. Well...
Ultimately i must admit that I have moved away from Programming. I dont have any Projects I could acomplish which would be worth my time, I cant come up eith any, to say the least.
Additionally I'm demotivated as hell because I'm always tired due to my Hourlong Organ-Practice sessions and very long school times.
I think that I want to major in Music.
So incase you wondered, thats where I have gone to. I might still lurk here, and maybe someday i'll restart coding. I hope that I will, because coding was loads of fun!7
Tonight I spent 5 hours installing arch. After seeing everything go smoothly I do the final reboot, only to watch the grub command line appear on the screen. I tried to boot into my arch installation but it kept talking about kernels missing and stuff. I thought I learned a ton but Fuck me. Now I'm installing neon kde just so I have my fucking linux desktop ready. Maybe someday I'll make it...3
I've been CRUSHING it lately, so stoked!!!
**Also, this means that in the near future something will crush me because I have a few subjects on deck I need to lock down.
2. TypeScript(deep dive)
3. CPP (currently 75% done with my 2nd masterclass, first one complete)
4. Multi-platform local device storage (Sqflite/mongoDB/shared preferences/Hive)
5. REST/api/requests/json management && application
6. Implementing Firebase authentication using Apple, Twitter, and mobile OTP
7. Cloud functions && server scripting/automation
8. Intro to embedded systems/OS/kernels
9. Steadily improve my code style, design strategies, and build patterns that are team friendly && provide easier code base maintainibilty
10. Influence, teach, and/or spark the interest of someone new to development in any possible- all that matters is getting new people on board, making sure they are stoked about, and last but not least making sure they feel welcome in the community and are able to start off in the right direction.
cheers, ya fockers!!!!
Spend half a day trying to make sound work on my antergos install, after multiple image builds, kernel jumping, reinstalling alsa, realized that people working on making cherry trail laptops sound work - stopped working on it since like april 2017 and new kernels have simply no patch to make it work, great.. debian docs mention that you should be able to use an external soundcard atleast, but the whole alsa and pulseaudio shit doesn't make that easy at all.. atleast the battery time with arch+powertop+tlp is almost the same as what I would get with windows out of it1
someone i know well saw that i rolled a couple linux 3ds kernels at one point and said he'd fucking pay me if I made a distro rolled from totally-uncompiled code and a raw kernel and isn't based on any other distro
is this really something people want? i mean fuck I can prolly fill that niche if need be but is that really something there's a demand for???4
There is no system but GNU, and Linux is one of its kernels.
Sainthood in the Church of Emacs requires living a life of purity—but in the Church of Emacs, this does not require celibacy (a sigh of relief is heard). Being holy in our church means exorcizing whatever evil, proprietary operating systems have possessed computers that are under your control, or set up for your regular use; installing a holy (i.e., wholly) free operating system (GNU/Linux is a good choice); and using and installing only free software with and on the system. Note that tablets and mobile phones are computers and this vow includes them.
Join the Church of Emacs, and you too can be a saint!
People sometimes ask if St IGNUcius is wearing an old computer disk platter. That is no computer disk, that is my halo — but it was a disk platter in a former life. No information is available about what kind of computer it came from or what data was stored on it. However, you can rest assured that no non-free software is readable from it today.14
To all those senior programmers out there do you think learning assembly can benefit you in landing a job? It seems like an useless language to me other than it might be fun to play around with kernels6
I have an idea for Android desktop. I was wondering if it would be possible to build the open source Android and chrome os code into one entity and then have them both installed on your phone.
Basically when using phone the user would use Android, and when an HDMI connection is detected, it launches chrome os on the external display.
Is this possible? I know Android has an HDMI connection event hidden in their API. I'm just unsure if the kernels will play nicely together.5
I want to use Linux again. I tried to use Ubuntu 16.04 and Linux Mint 18 before but for some reason my Laptop gets frozen randomly (and I think the kernels used in these OS are somehow responsible for it, because it was all okay when the kernel version was 3.xx) and I didn't get any solution from Ubuntu Forums, so I gave up.
So any suggestions? Which distro should I use? I'd love an user friendly DE (Like XFCE or Cinnamon) and good software availability.
And my Laptop also has a Touchscreen. I'd like to utilise it if possible.
P.S. Please go easy on me. I'm still learning.24
I would love to use linux/ubuntu and I set up a dual boot for my laptop, but it just freezes on me every 10-15 minutes. Afterwards I have to force shutdown and it's really frustrating. I googled the issue and only found updating kernels to be a solution, tried that and it broke my ubuntu. Any suggestions what I should try?
Windows works without freezing btw ;)4
Hey, just need a little advice regarding android kernels.
Does anyone know a simple way to download either pre-compiled or source code of stock kernels delivered with phones?
I flashed one, but have some System UI problems, so I want to go back to stock, but I can't find any download.
I'm running a Samsung Galaxy S6 (zerofltexx).6
So I have been using colab for the past 2 years. I liked how without any setup you can use kernels with GPU and TPU with some configuration.
But recently I can't train any model. It always goes runtime error, runtime disconnected, not to mention they have limited their total hours of usage for a day.
I know you are providing everything for free but this is just annoying. I dont mind if google wants to start a subscription plan for colab...its much better for fast prototyping than getting a cloud server from google or aws or anything of such sorts.
I have been trying to train a model with only 3 gigs of data and I cant complete the model, once I change the tab it shows Runtime Disconnected. DAMN it.
Sadly, I am trying not to use colab from now on.
But yeah I am frustrated with colab and their services.3
Help! I purged the running kernel!
This I did not do right. On a whim I decided to upgrade my desktop while working on the laptop. So I ran do-release-upgrade on my Ubuntu 14.04 install. Carelessly. Well into it I remembered that this box had been down this road several times and houses it's system on a tiny /boot partition from the time of 11.04 or something. Well the boot partition was soon full. A bit of a problem for the installation... I started to apt-get purge old kernels. There where these shiny new 4.4.0 kernels and some old ones starting on 3. Be gone! When Ubuntu suddenly logged me out I realised that I of course was still running 14.04 and one of those old kernels, that where now gone. Felt like the idiot I was. Thing is that when I logged back in (yes I could!) I was running a new kernel. I rebuilt grub and rebooted. Into a shiny new working Ubuntu 16.04 LTS. Idiot proof stuff this. Impressed again.2
So I'd like to start my (late) morning by throwing some shits and fucks at ruby, more precisely rvm and rbenv:
Why the fuck is it so hard writing scripts that work? I can script a fucking ruby build from 0 to 100, why the fuck can't your "amazing tool" set up paths and all the other shits so I don't get a fuck ton of alerts at night from CI just because rvm decides to INTERMITTENTLY not do it's job?
Why does it say it works and makes things easier when it doesn't? Why the fuck are you lying?
Why do I have to divert my focus and waste my time trying to figure out why it doesn't do the ONE thing it's supposed to do: install.ruby. That's it. No recompiling kernels, no launching fucking spaceships, no rewiring silicon structures, no quantum effects, just a plain simple ruby installation, one single version.
Why am I supposed to have a phd to work with this crap?? why can't it ever just fucking WORK as it says it does and should? Is it some kind of complex conspiracy to keep me busy so I can't play with my dog or what the fuck??!?!
I hope whoever wrote this crap sees this one day: GET YOUR SHIT TOGETHER or stop publishing open source software that waste our time.
Oh It wOrKs On My cOmpUtER and AlL teSts PaSS. I don't give a flying fuck. I hope all developers who think their job is done when it works on their box and tests pass get dick rot. Your job doesn't end there. Software should be intuitive and easy to use, not just "work'. No traps, no gotchas, no caveats, no endless configs and files and settings and vars and shits and ifs and buts.
Your product is not just a piece of code, but also the time you save people who use your crap. And you've fucked up.1
how does one tell apt to only use a specific repo for a package? Kali keeps pushing fucked kernels and GRUB versions and such but I need some of the stuff in their repos.10
Funny argument in class today and was curious what you lot thought, cuz Im honestly not sure who was right. student argued false. professor said true.
(True or False): A preemptive kernel is safe from race conditions on kernel data structures.11