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 - "lucascorpion"
-
How to present your app/library more positively:
It's slow and bulky -> "It's feature-rich"
It hardly does anything -> "It's lightweight"
It has no comments -> "It's self-documenting"2 -
What I feel when browsing recent lately.
How to get ++:
1. Get Google Allo
2. Ask question about Siri
3. Screenshot and post
4. ???
5. Profit! -
A while ago I had all these ideas for side projects, and I really wanted to create something. However, every time I started to work on it I usually started the IDE, wrote a couple of lines, and quickly lost motivation. This kept going for a while. I just wasn't feeling it and when there is little or no (visible) progress it can be hard for me to continue working.
Then one day I wanted to push through it, and decided to set a rule: I have to make at least one commit per day, no matter how small.
So I (re)started work on a side project, and by the time I was satisfied with what I'd want to commit I've made enough progress to want to continue working on it. This quickly turned minutes of coding into (late) hours. Now I have a couple of side projects going which are progressing quite nicely, and I feel motivated to work on them again.
I don't know if there are any other people on here who've had this feeling, but if you did maybe this'll help you :) I'd love to hear from you how you keep yourself motivated!10 -
That wasn't so hard :D
I managed to scrape all the images using my Java api in a couple of lines of code, used Apache Fluent to quickly download all of them, and imgflip to turn them into a gif.
Credit for the original rant and idea goes to @linuxer4fun
https://www.devrant.io/rants/42285015 -
I've seen this image a couple of times, and now people even have it as their desktop background. Have fun with your corrupted file systems :')19
-
I contantly keep forgetting to turn on my music. It's like:
*open youtube*
"Wait let me just do this thing real quick"
*alt-tab to ide, start coding*
*get in the zone, coding intensifies*
3 hours later...
"Oh yeah let's turn on some music"
Rinse and repeat...7 -
Apparently `= NULL` is not a thing in mysql, instead you have to use `IS NULL`... Took me a while to figure out why the fuck my query wasn't returning any results.8
-
When you open 100 tabs in Firefox (mobile). Not as cool as the chrome gimmick though (which replaces it with a :D smiley)7
-
Why do people fucking do this? You're working in a team, ffs. Even if right now you're the only one working on that branch or whatever, that doesn't make it okay to have the most useless commit messages of all time.10
-
I was browsing through xkcd when I came across this comic. Then I realised that a line break after every sentence is actually what I do when writing something in LaTeX. It has no effect in the end but I feel like it makes the document clearer while working with it. Anyone else who does this? ^^'1
-
!rant
Hey guys! We have started working on the cross platform desktop app for devRant for a while.
Here's the Collab link: https://devrant.io/collabs/420025/
Here's the GitHub link: https://github.com/tahnik/devRantFX
Here's more information about what we are using for developing the project:
1. Java 8
2. JavaFX
3. IntelliJ IDEA
4. Gradle
5. JUnit
6. Travis CI
7. JavaRant API (created by LucaScorpion)
8. Slack
Right now we have 4 collaborators: allanx2000, sirwindfield, LucaScorpion and me.
If you are interested in the project, you can always let me know and I will do something about it.5 -
"Can you fix/update/speed up my pc/laptop/phone/toaster/potato?"
I don't mind too much doing it for my family though, but sometimes it can get a bit annoying.4 -
Was running low on ssd space, so I decided to have a thorough look at what was occupying all of it. First I found out that I had about 5 gigs (!) of leftovers from microsoft sql server which I unfortunately had to use once (thanks microsoft for your shit uninstallers). Then I found I still had a .gradle folder (uninstalled a while ago, maven ftw) with another 5 gigs of cache. That should give me some room to breathe.4
-
I set up unRAID on my server this weekend, and only just checked my logs to see if anything weird was happening. Turns out 2 IPs have been trying to brute-force the SSH password all weekend. I quickly installed the DenyHosts plugin and reminded myself to always use a strong password, which luckily I did.
A bit later now, and one of the 2 gave up, the other one keeps trying but of course the connection is refused. Just keep trying buddy :P6 -
!rant
I've always been kinda lazy about backups and such, thinking it wouldn't be so bad, and "I have my most important stuff on Dropbox".
Just now, for some reason one of my hard drives just stopped for a bit, and I couldn't do anything with it anymore. Luckily it went away after restarting my pc, but it scared the shit out of me, as I almost lost 500 gigs worth of music, films, documents, etc...
This made me really think about the whole backup thing, and I'm creating a disk image as I type this. The time that I spend on that will be much less then the time it'll cost to recover everything. Lesson learned ^^'3 -
My morning so far:
Walk out the door.
Miss bus I was supposed to have, no big deal I'll just wait for the next one (should be just 15 mins).
Next bus is 10 minutes late, seriously?
Get to the train station just to see my train doesn't go because of an outage. Screw this I'll work from home.
So how's your day going?6 -
I am reviewing a piece of code as I type this, and I just had to make a rant about it. In the code there's all these measures for syncing multiple threads, while the entire thing runs does not even use threading. But that's not the worst: when an InterruptedException is caught, is calls Platform.exit() WHICH CLOSES THE FUCKING PROGRAM. WHY WOULD YOU EVER DO THAT?1
-
So I'm rebuilding my personal site, creating a nice layout, etc. I only just thought about checking how it looks in ie. That horrible bastard browser just fucks up the layout, and I'm not sure why some css rules don't even seem to fucking work. Probably gonna say screw it and not support ie, but it still sucks.7
-
How am I supposed to take a look if I can't even close this damn notification? (The "okay" button is too low, also in portrait mode)3
-
Automatically clean up code, removing redundant and duplicate bits, splitting large functions, and formatting it nicely. Especially useful when trying to understand some garbage code someone else wrote which you need to rewrite.2
-
I just found out my router has 2 SEPARATE places where you can specify the DNS servers. So I changed one place but not the other, and they don't seem to be linked! Such bullshit design.2
-
_FUCKING_ damn... I just struggled for well over an hour because some icons on my site were displaying different colors in my browser than when viewed otherwise. They're simple icon outlines which should be #111111, but in the browser after checking with a color picker (they were clearly off) the color was #181818.
Turns out it's got something to do with the way gimp exports the png (I think, still not 100% sure sadly). My guess atm: in the export settings the "Save color profile" option was enabled (not sure why, could be I did that at some point). After clicking "Load Defaults" the option is disabled, and after another export the colors look good.
Time wasted :( Feels good to have it fixed though. Does anyone know more about what "Save color profile" does and if that could be the cause of this?2 -
My pc has this weird glitch where anytime I install or uninstall a Steam game my headset microphone (Logitech G933) mutes, and I can only unmute it again after a couple of seconds. It's been this way for the longest time (though not always) and I have not the slightest fucking clue what could be causing it. Anyone else ever heard of something like this?9
-
I think YouTube is trying to tell me something. I think I'll pass though, I don't really fancy working at such a massive company.1
-
I *hate* it when a senior asks me to write a functional test report. Like I thought we hired functional testers to do that sort of stuff? I'm a programmer, I only write 3 things: code, documentation, and more code. Not freaking reports about how something did not work before, and after this 1-line fix does work. Oh and don't forget to include screenshots and a description of the issue. Arghhh4
-
Anyone else hyped for C# 7.0?
I love the direction they're taking, seems like they're doing a lot to make it easier to use and reduce some of the code overhead.
https://blogs.msdn.microsoft.com/do...1 -
I just came across a website where someone used a <marquee> *and* a <blink> tag. That was the most interesting thing that happened to me all week so far. Too bad (luckily) blink doesn't work anymore.7
-
The fucking worst part about web dev is getting the damn .htaccess file to work properly. I usually do some basic url rewriting but then it won't work locally, or I have to restart the server (which of course I fucking forget), and then suddenly it *does* work without restarting the server... Just arghhhh4
-
What it feels like when you tell a newbie coder about reflection and all the stuff you can do with it.3
-
Here's the story of me trying to set up Jenkins with Java, Maven and pipelines. I finally got it to work :D Not sure if it's the correct way and all, but fuck it, it works!1
-
Console.WriteLine (for C#, System.out.println for Java), because that will always be one of the best debugging tools.1
-
One of the best things about linux is the ease with which you can update packages, just sudo apt-get update && sudo apt-get upgrade. None of that stupid installer which downloads an updater which updates the program shit.
-
Was doing some chill programing when all of a sudden we lose power in the entire fucking house! So not just a blown fuse or something, but looks like the entire street has it, so no telling when it'll be back on either -_- Also I reaaaallly need to buy a UPS for my server, this is happening way too fucking often.5
-
Was slightly panicking at work today when I couldn't reach my server at home anymore, though it might have crashed or something. Turns out my isp changed my fucking IP address! It hasn't done that in years! WHY NOW? Ugh, time to update *all* the dns records I suppose...2
-
Sometimes I hate how forgetful I am. I was deploying JavaRant to maven central, closed the repository, and then I forgot to click this stupid button... And I was wondering why it was not updated yet.1
-
I just saw a post about enki, and decided to try it out. Apparently there is a waiting list, but I applied for the beta and got a code less than an hour later. So if you're interested, definitely try that :D
Their site: Enki.com4 -
Every time I see posts about api's changing I wonder if none of those companies uses api versions, or simply deprecate functions before removing them...1
-
// Not a rant.
A while ago I saw the community projects page, and I thought it'd be cool to create a wrapper for devRant in Java. A bit later now, and I'm quite happy with how it turned out. If you're interested, please check it out: https://github.com/LucaScorpion/...
Feedback is always appreciated!2 -
Have this problem which already took me well over a day to figure out.
Thinking: "I might try SO, maybe I'll get an answer there.".
*Posts question with nice explanation and code example.*
Literally 5 mins later: question is marked as duplicate of a super generic question, which does not answer mine.1 -
A while ago I saw this rant about someone who had made some scripts to speed up fresh linux install. Since I never got to see those scripts, I decided to make my own. They are of course based on personal preference and distro, but they might be useful to have a look at: https://github.com/LucaScorpion/...
(Improvements and suggestions would also be appreciated of course ;) ) -
The timing for this weekly rant is quite perftect, as I have actually just finished rewriting JavaRant! :D I redid a lot of work tried to make it very easy to use, and I think it has improved a lot.
This was also a nice occasion for me to set up Jenkins on my personal server to use that as a CI server (not that it's really necessary, but it is fun).
If you like it, check it out on github: https://github.com/LucaScorpion/...
And feedback/help is of course always welcome! -
Why is linux such a bitch when it comes to mounting ntfs partitions >_> Every time I tried it it either had the wrong permissions or it failed. In the end I simply decided to format it as ext4, luckily there was nothing on it yet.6
-
Not too long ago I bought 3 monitors. Now I have my IDE on the center, console and debugger (and devrant) on the left, git and music on the right. Still figuring out the best arrangement for all windows but this already feels awesome!3
-
Started messing around a bit with @LucaScorpion JavaRant API thinking I might make a command line app. Well I have about 50 lines of code later and it's working to get a random rant and all the comments. The trouble is now instead of working on it I'm just back to reading rants... No way I'll ever be able to work on this without getting distracted.2
-
While building this site I decide to check if it works in internet explorer (you know, would be kinda nice) only to find out that apparently even edge does not support the js notation:
class MyClass {
// Stuff here.
}
Throws an exception 'MyClass' is undefined... Fuck you ie. Making me rewrite my damn classes.2 -
That amazing feeling of a finished side project, which is also uploaded to Maven central! Woooooo :D1
-
I like the look and feel of gnome, but its extension system is SO FUCKING BROKEN. Like ho-ly-shit... You need a fucking browser extension to install or update them! Since not too long you can also do that via 'tweaks', but guess what: IT DOESN'T FUCKING WORK.
...
Now that I think about it, if I need all these extensions to make gnome nicer, maybe gnome isn't all that good. Any suggestions for other wm's?1 -
I wanted to get into programming since secondary school (at around age 14), and I started out with some very basic gamemaker stuff. Later I also started doing some C#, but I didn't have the patience or skill to create anything actually cool or useful. Then at age 18 I went to uni to pursue a cs degree, and that's when I actually properly learned how to program in C#, with a bit of Haskell, Python and C++. A little more than a year after that I got a job as a Java developer (with many many thanks to a friend of mine, @chappio). I already knew how to program but there I learned a lot more about good practices, quality control, testing and so on. Fast forward to now, 2 years later, and I'm almost done with my bachelor's degree (just a few more months) and I still work at the same company with much joy. Pursuing my dreams has worked out pretty well so far, let's hope it stays that way :)
-
I once did this project with Apache Tika, which also has a batch module to add concurrency (Tika by itself is not thread-safe).
However, there is maybe 2 pages of documentation which don't explain any of the classes etc, and no javadoc, so I had to figure everything out through trial and error. At the end it still threw an error but magically worked. Turns out it was not fast enough anyway. -
I was using prismjs to do some code block hightlighting stuff, and while it has some different themes it doesn't have my favorite one: the Darcula theme from JetBrains... So I made one :D https://github.com/LucaScorpion/...
I mainly use it with Gatsby but since it's just a css (or scss) file you can use it pretty much however you want. If you guys do use it let me know if you have any suggestions/improvements! -
I just picked up a hobby project which I hadn't worked on in a while and started doing some major refactoring. However, I forgot to pull before I started and didn't realize that I made some updates on a different pc. Then as I wanted to push a ton of changes I noticed... I didn't even attempt to merge because it was one giant pile of shit conflicts - and I didn't remember what changes I had made earlier. So I decided to say fuck it and
$ git force --push
Feels *so* much better than pulling my hair out over conflicts :P2 -
Sooo, this DDoS I read about, it's hitting quite a few mayor sites isn't it? From what I've noticed at least Twitter, GitHub, Dyn. Any other mayor ones?3
-
The fucking Unity Transport Layer API documentation is horrible! There's a bunch of information missing, and whenever I try to send data I just get a "NoResources" error. All the docs say about that one is: "No internal resources ro acomplish request.", nothing on forums or google... Worst part is, I've not even started dev that long and Unity has already given me quite some trouble. I hope that's just inexperience, and not Unity being a bitch.2
-
Goddamn I've been fighting with unRAID lately, all to find out I've probably got a broken SSD. And to top it all off I've fucked up the other one so I had to reformat it. Sometimes when shit goes south, IT REALLY FUCKING GOES SOUTH. Fml.
Link to forum post for more details: https://forums.lime-technology.com/...
Damn it feels nice to have a place to rant.1 -
Not so tech savvy family member just asked for the router password to set up a network printer. I just hope they don't fuck up my settings (ip's and port forwarding and such) o_O
-
When a function has parameters for "limit" and "skip", make sure to double check those first when something seems broken. I switched them around so limit was 0, and I kept wondering why it returned 0 objects. It took me way too long before I figured that one out...