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 - "no googling please"
-
Good afternoon guys. Long time no hear from me and I'm sorry about that. Had a lot health problems to fight.
I'm currently trying to list all processes that are running on my pc with a C# program. VS is running with admin rights but I'm still getting an error: "System.ComponentModel.Win32Exception: Access denied Error"
I tried googling it but if found the answer I didn't understand it.
Please help me.
19 -
Why the fuck is gradle so horrible.
I literally have no idea why anyone would ever use this thing (other than being forced too because somehow the rest of the world is using it).
Every plugin has an arbitrary DSL that you have to magically know by piecing together enough snippets. At that point, no one is actually intuiting anything based on the beauty of the DSL, every build is a frankenstein of different snippets that were pasted from different versions of gradle blog posts or SO posts.
And if you do get it o work then the DSL changes, or it isn't compatible with another plugin.
I just want to write a fucking integration test in Kotlin. Can I just add an `integrationTest` task in `tasks` right next to `tasks.test`? No, obviously it goes in the `kotlin jvm() compilations` section, DUH.
The first thing anyone in the universe should have asked is "how is this better than literally hand writing a makefile"? At least then I would be able to see the commands that it ran.
Now I'm googling how to make the new jvm-test-suite plugin work when you're using the Kotlin plugin but every single result on Google for `jvm-test-suite kotlin` just returns the docs for jvm-test-suite (whose snippets obviously didn't work in my project) because those doc pages have "Kotlin" written above each of the gradle snippets.
Please just end this.
Oh and dev rant sucks too. It thinks anything separated by dots in a url.2 -
As promissed.
Day #1 on THE other project. Nothing fancy, just setting up my dev env. Got a decent pc with all the required network permissions. And this time I got w10 [last year I was working there on w7 pc via rdp from another w7 laptop. Dont ask...]
of course no localadmin rights to set shit up. Downloaded all the installs, found someone who has admin rights to run them. I even managed to get admin powershell!
Ran all installers, enabled long paths support, env vars, tweak here, tweak there,... Installed git bash to at least have a taste of shell. Decided to try out wsl. Enabled the feature, didnt reboot right away.
Rebooted. 2xclick on ubuntu setup and I get an error claiming wsl is not ebabled. Wtf? Did I do it wrong? I see bash command is there now so I must have done it right. After some googling I found out that even though I can enable wsl, it doesnt work on my version of windows. It's too okd they say. Yeah, tx MS, that's very intuitive and user friendly!
Allright, my hopes to habe a decent sub-os died. Git bash it is :( but I miss tmux soooo much. Then I came across smth that caught my eye. Msys2 it's called. Apparently it's based on cygwin and has a pacman package manager! ´pacman -S tmux´ -- hippee-ka-yay motherfuckers! It's not the best terminal emulation, but it works quite allright and it has tmux. And netcat!
Banished to mouseclickerland still managed to find a good enough shell. Yayy!
So there it is. My first day's ups and downs, disappointments and discoveries.
If you know a better shell I could set up on w10, please, share -
(Note: I got a bit carried away while writing this, so the end result is a lot longer than I expected. Apologies for the long post!)
The beginning of my programming journey started with a book.
This was back in 7th grade. I had some basic exposure to BASIC (pun maybe intended?) from our school curriculum, but it was nothing too interesting as our teachers never really treated it as anything important. They would stress a lot on those Microsoft Office chapters (yes, we actually studied Microsoft Office as part of our computer science course at school) and mostly ignore the programming chapters because I dare say many of them struggled with it themselves. So although I had been exposed to *some* programming, it was mostly memorizing the syntax without actually understanding what was going on.
Then one day there was this book fair thing going on at this local Carrefour (for those of you who've no idea, it's a pretty famous hypermarket chain) in this mall, and for some reason my mother and I were in that mall on that day. Now the interesting thing is that this usually never happens -- I usually visit malls with my dad or my friends, this is the only instance I remember where I had actually visited one with just my mom. This turned out to be fortuitous. My father is the kind of person who's generally not amenable to any kind of extraneous shopping requests. My mother, on the other hand, was and remains pliable.
So I basically saw this book -- Sams' Teach Yourself JavaScript in 24 Hours -- being sold at half price. I vaguely remembered having read somewhere that JavaScript is a good introductory programming language (and it helped that this was the time when I was getting into a Google-craze -- I basically saw some photos of Google Zurich and went all HOLY SHIT THAT'S WHERE I NEED TO WORK WHEN I GROW UP (for those of you who haven't seen it, I recommend googling it. That office is the bomb) -- and I'd also read that you need programming skills to join Google). So I begged and begged my mum to buy that book, and thankfully she did.
Back home I returned with my new prize under my arm. Dad took one look at it and scoffed that I'll never actually use it. Pretty much entirely out of spite (to prove him wrong), I attacked the book with a zeal. I still remember how I felt when I wrote my very first JavaScript program (printing the current system date in an h1 tag) and marveling at the output. I guess that was when something struck -- the realization that this was probably what I wanted to do in life.
Fast forward to today, and I've never looked back and wondered what it would be like to have done something else.
PS: for all you beginners out there, JavaScript is a horrible language. Please start with something like Python. Also there are better resources than Sams' Teach Yourself JavaScript in 24 Hours available, that I just didn't know of back then. I'd recommend Eloquent JavaScript any day. -
1. Explain docker in layman's term (example to your Grandma)
2. Explain in detail why docker is good and fast compared to any related traditional virtualization like VirtualBox, vagrant, etc.
3. If you are going to migrate an existing Symfony application to Laravel from scratch, what will you migrate first in order to make it efficient. Model, view or controller? And why?3 -
Discover Better Days Restaurant and Bar: Your Go-To Restaurant Near Me in Jersey City
If you’re searching for a top-notch restaurant near me in Jersey City, look no further than Better Days Restaurant and Bar. Located at 143 Newark Ave, Jersey City, NJ 07302, we offer an exceptional dining experience that blends great food, a vibrant atmosphere, and friendly service. Whether you’re a local or just visiting, Better Days is the perfect place to unwind, enjoy delicious meals, and experience Jersey City's growing culinary scene.
Why Choose Better Days Restaurant and Bar?
At Better Days, we believe that every dining experience should feel special. Whether you're grabbing a casual bite with friends, celebrating a milestone, or enjoying a romantic night out, our restaurant offers a variety of dishes and drinks that cater to all tastes and preferences. Here’s why we should be at the top of your list when looking for a restaurant near me in Jersey City:
1. A Diverse Menu for Every Palate
We pride ourselves on our diverse menu, which features an array of flavorful dishes inspired by both classic and contemporary cuisine. From mouth-watering appetizers to hearty entrees and decadent desserts, our menu is designed to please everyone. We also offer vegan, vegetarian, and gluten-free options, ensuring that there’s something for everyone to enjoy.
2. Exceptional Cocktails & Drinks
As a restaurant and bar, we know the importance of having the perfect drink to complement your meal. Our expertly crafted cocktails, extensive wine list, and selection of craft beers are the perfect pairing for any dish. Whether you’re in the mood for a signature cocktail, a glass of fine wine, or a refreshing beer, we’ve got you covered.
3. A Cozy, Inviting Atmosphere
Located in the heart of Jersey City, Better Days Restaurant and Bar offers a welcoming and cozy atmosphere where you can relax and enjoy great company. Whether you're enjoying a night out with friends, a date, or simply grabbing a bite, the vibe at Better Days is always warm and inviting.
4. Friendly Service
At Better Days, we believe that great food is only half the experience. Our team of friendly and attentive staff is dedicated to providing excellent service that will make you feel right at home. From the moment you walk through the door until the time you leave, we strive to ensure that your visit is memorable and enjoyable.
5. Convenient Location in Jersey City
If you’ve been Googling “restaurant near me” in Jersey City, Better Days is centrally located and easy to find. Just head to 143 Newark Ave, Jersey City, NJ 07302, and you'll find a cozy spot to enjoy amazing food and drinks. Whether you’re a Jersey City local or visiting from out of town, we’re conveniently situated for a quick stop or a leisurely meal.
A Place for Every Occasion
Better Days Restaurant and Bar isn’t just a place for great food—it’s also a great spot for hosting events, gatherings, and celebrations. Whether it’s a birthday, anniversary, or a corporate event, we offer a variety of packages and options to ensure your event is a hit. With our inviting space, delicious menu, and full bar, Better Days is the perfect venue for any special occasion.
Visit Us Today!
When you're looking for a restaurant near me in Jersey City, Better Days Restaurant and Bar is the place to be. With delicious food, an inviting atmosphere, and exceptional service, we’re committed to giving you the best dining experience possible.
Stop by Better Days Restaurant and Bar at 143 Newark Ave, Jersey City, NJ 07302, or give us a call at +1 201-905-8991 to make a reservation or inquire about our menu. We look forward to serving you soon!
4
