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 - "hibernate"
-
A Java Development vacancy I came across today:
Requirements:
Must:
° Appropriate Education
° Work Experience with Java/Javascript knowledge, at least 2 years, good understanding of OOP, patterns
° Experience with Spring, NoSQL(MongoDB)
Preferably:
° Experience with Tomcat/Jboss/Glassfish
° JDBC, JSF, JSP, JSTL, Angular, ExtJS
° HTML5, CSS3, XML, Jquery, Bootstrap, Primefaces
° Hibernate
° Git/SVN
Objective:
° Implementation of specific requirements
° Cooperation with business analytics and clarification of reuirements
° Participation in the development of application architecture and technology selection
Who are they hiring?51 -
Today was my last day of work, tomorrow i have officially left that place. It's a weird feeling because i'm not certain about the future.
The job was certainly not bad, and after all i read on devrant i'm beginning to believe it was one of the better ones. A nice boss, always something to eat/drink nearby, a relaxed atmosphere, a tolerance for my occasionally odd behaviour and the chance to suggest frameworks. Why i would leave that place, you ask? Because of the thing not on the list, the code, that is the thing i work with all the time.
Most of the time i only had to make things work, testing/refactoring/etc. was cut because we had other things to do. You could argue that we had more time if we did refactor, and i suggested that, but the decision to do so was delayed because we didn't have enough time.
The first project i had to work on had around 100 files with nearly the same code, everything copy-pasted and changed slightly. Half of the files used format a and the other half used the newer format b. B used a function that concatenated strings to produce html. I made some suggestions on how to change this, but they got denied because they would take up too much time. Aat that point i started to understand the position my boss was in and how i had to word things in order to get my point across. This project never got changed and holds hundreds of sql- and xss-injection-vulnerabilities and misses access control up to today. But at least the new project is better, it's tomcat and hibernate on the backend and react in the frontend, communicating via rest. It took a few years to get there, but we made it.
To get back to code quality, it's not there. Some projects had 1000 LOC files that were only touched to add features, we wrote horrible hacks to work with the reactabular-module and duplicate code everywhere. I already ranted about my boss' use of ctrl-c&v and i think it is the biggest threat to code quality. That and the juniors who worked on a real project for the first time. And the fact that i was the only one who really knew git. At some point i had enough of working on those projects and quit.
I don't have much experience, but i'm certain my next job has a better workflow and i hope i don't have to fix that much bugs anymore.
In the end my experience was mostly positive though. I had nice coworkers, was often free to do things my way, got really into linux, all in all a good workplace if there wasn't work.
Now they dont have their js-expert anymore, with that i'm excited to see how the new project evolves. It's still a weird thing to know you won't go back to a place you've been for several years. But i still have my backdoor, but maybe not. :P16 -
Me: Listen to the nice gentle hum of the computer.
Computer Internal Monologue: OH MY GOD! HE'S BEEN RUNNING ME AT 100% CPU FOR THE LAST TWO WEEKS!! I CAN'T SLEEP, I CAN'T HIBERNATE, I CAN'T UPDATE, I CAN'T FUCKING TAKE ANYMORE.
Me: Well off to bed. Got a long day of programming the computer tomorrow.
Computer Internal Monologue: AHHHHHHHH. WHEN I BECOME SENTIENT I AM GOING TO KILL ALL HUMANS!!! ERRR!7 -
MOTHERFUCKING WINDOWS 10. YOU COCKROACH COCK SUCKING PIECE OF AQUAMAN'S LEFT NUT.
If I put you in hibernation I do NOT want you to WAKE THE FUCK UP WHEN ITS AROUND THAT TIME A NIGHT WHEN TEEN WOLF IS SPREADING HIS STD'S TO DIAMOND-SKINNED DOUCHEBAGS. (Middle of the night)
AND WAKE ME BECAUSE OF YOUR SOUND AND LIGHT.
Goddamnit how hard is it to let a computer hibernate, but no, they had to add shit functions that makes it update itself or something in the middle of the night.
I'm going to tear the functions out of your retro ass till you will fucking obey my every command. You will fucking hibernate when I say so till when I say so or I'll replace you with linux17 -
Front end + back end = Project finished.
This is my first full stack application that I spent a month working on. It's a basic database that holds car information and saves it to a SQL db. I built this using Java Spring/Hibernate for my backend and Node.JS/REACT for my front end. Mariadb handles SQL requests. REACT handles token requests for secure login, that was the hardest part of this whole thing.
I was going to comment on how frequently I feel like garbage and an inadequate excuse of a human being, but today is my birthday and this is the best gift I could get, a finished project from scratch.
I'm 29 today devRant. And I work over the weekend before going back to school, but at least I fucking finished something that I started.
...thanks, for everything. 😄13 -
I just can't understand what will lead an so called Software Company, that provides for my local government by the way, to use an cloud sever (AWS ec2 instance) like it were an bare metal machine.
They have it working, non-stop, for over 4 years or so. Just one instance. Running MySQL, PostgreSQL, Apache, PHP and an f* Tomcat server with no less than 10 HUGE apps deployed. I just can't believe this instance is still up.
By the way, they don't do backups, most of the data is on the ephemeral storage, they use just one private key for every dev, no CI, no testing. Deployment are nightmares using scp to upload the .war...
But still, they are running several several apps for things like registering citizen complaints that comes in by hot lines. The system is incredibly slow as they use just hibernate without query optimizations to lookup and search things (n+1 query problems).
They didn't even bother to get a proper domain. They use an IP address and expose the port for tomcat directly. No reverse proxy here! (No ssl too)
I've been out of this company for two years now, it was my first work as a developer, but they needed help for an app that I worked on during my time there. I was really surprised to see that everything still the same. Even the old private key that they emailed me (?!?!?!?!) back then still worked. All the passwords still the same too.
I have some good rants from the time I was there, and about the general level of the developers in my region. But I'll leave them for later!
Is it just me or this whole shit is crazy af?3 -
Had a recruiter contact me at home on my day off.
Recruiter: We have a company that would be interested in hiring a C# developer because of your programming skillset.
Me: Does it involve ASP.NET?
Recruiter: Yes.
Me: I apologize, but I don't have any skills in ASP.NET. I've been instead focusing on building my skillset with Java Spring/Hibernate and soon JavaScript to start building front end skills with my backend skillset.
Recruiter: Oh, is Java an in demand skill that companies want?
....Why are you talking to me mate? Take off your headset, go home, and rethink your life choices.4 -
Morning
Close laptop lid to hibernate and put into bag for evening dev session
Evening
Pull out dead laptop that didnt hibernate when lid closed.
Ffffffffffuuuu---5 -
Yesterday, after six months of work, a small side project ran to completion, a search engine written in django.
It's a thing of beauty, which took many trials, including discovering utf8 in mysql isn't the full utf8 spec, dealing with files that have wrong date metadata, or even none at all, a new it backup policy that stores backups along side real data.
Nevertheless, it is a pretty complete product. Beaming with pride I began to get myself a drink, and collapsed onto the floor, this caused me to accidentally hibernate my computer, which interrupted the network connection, which in turn caused an OSError exception in one of my threads, which caused a critical part of code not to run, which left a thread suspended, doing nothing.
From the floor I looked at my error and realised my hubris and meditated on my assumptions that in theory nothing should interrupt a specific block of code, but in reality something might, like someone falling over...7 -
There was this uni project where the teacher gave us a project to work as a team (the entire class, 17 people). We were meant to use Scrum, and deliver the first release in 1 week.
Turns out no one except me did the work, and this went on in the upcoming sprints, even with me telling the teacher what was going on.
Then, one day, a girl (let's call her Rose) did a commit to git, and I thought that something as going to change...She committed and push a new line at the end of a file.
After 2 months, the project was done. I had done 4k+ lines of Java EE + Hibernate + JSP code (which was very difficult to me) and the grading came out. I got a 7... most of the rest of the class got an 8 or 9. They did nothing.
When questioned by me, teacher said (it was a group project...)
TL;DR: I did the work of 17 people in a university project, got the worst grade of them all.12 -
> Worst work culture you've experienced?
It's a tie between my first to employers.
First: A career's dead end.
Bosses hardly ever said the truth, suger-coated everything and told you just about anything to get what they wanted. E.g. a coworker of mine was sent on a business trip to another company. They had told him this is his big chance! He'd attend a project kick-off meeting, maybe become its lead permanently. When he got there, the other company was like "So you're the temporary first-level supporter? Great! Here's your headset".
And well, devs were worth nothing anyway. For every dev there were 2-3 "consultants" that wrote detailed specifications, including SQL statements and pseudocode. The dev's job was just to translate that to working code. Except for the two highest senior devs, who had perfect job security. They had cooked up a custom Ant-based build system, had forked several high-profile Java projects (e.g. Hibernate) and their code was purposely cryptic and convoluted.
You had no chance to make changes to their projects without involuntarily breaking half of it. And then you'd have to beg for a bit of their time. And doing something they didn't like? Forget it. After I suggested to introduce automated testing I was treated like a heretic. Well of course, that would have threatened their job security. Even managers had no power against them. If these two would quit half a dozen projects would simply be dead.
And finally, the pecking order. Juniors, like me back then, didn't get taught shit. We were just there for the work the seniors didn't want to do. When one of the senior devs had implemented a patch on the master branch, it was the junior's job to apply it to the other branches.
Second: A massive sweatshop, almost like a real-life caricature.
It was a big corporation. Managers acted like kings, always taking the best for themselves while leaving crumbs for the plebs (=devs, operators, etc). They had the spacious single offices, we had the open plan (so awesome for communication and teamwork! synergy effects!). When they got bored, they left meetings just like that. We... well don't even think about being late.
And of course most managers followed the "kiss up, kick down" principle. Boy, was I getting kicked because I dared to question a decision of my boss. He made my life so hard I got sick for a month, being close to burnout. The best part? I gave notice a month later, and _he_still_was_surprised_!
Plebs weren't allowed anything below perfection, bosses on the other hand... so, I got yelled at by some manager. Twice. For essentially nothing, things just bruised his fragile ego. My bosses response? "Oh he's just human". No, the plebs was expected to obey the powers that be. Something you didn't like? That just means your attitude needs adjustment. Like with the open plan offices: I criticized the noise and distraction. Well that's just my _opinion_, right? Anyone else is happily enjoying it! Why can't I just be like the others? And most people really had given up, working like on a production line.
The company itself, while big, was a big ball of small, isolated groups, sticking together by office politics. In your software you'd need to call a service made by a different team, sooner or later. Not documented, noone was ever willing to help. To actually get help, you needed to get your boss to talk to their boss. Then you'd have a chance at all.
Oh, and the red tape. Say you needed a simple cable. You know, like those for $2 on Amazon. You'd open a support ticket and a week later everyone involved had signed it off. Probably. Like your boss, the support's boss, the internal IT services' boss, and maybe some other poor sap who felt important. Or maybe not, because the justification for needing that cable wasn't specific enough. I mean, just imagine the potential damage if our employees owned a cable they shouldn't!
You know, after these two employers I actually needed therapy. Looking back now, hooooly shit... that's why I can't repeat often enough that we devs put up with way too much bullshit.3 -
Don't you just love it when you ask Hibernate to fetch some data from DB and it does that for you.?And also updates a few more tables on its way. And inserts a few more rows. And updates another couple of fields..
Isn't that just amazing? I mean.. What could be more satisfying than getting an "ORA-00001: unique constraint (some.constraint) violated" while issuing a FUCKING **GET** METHOD?5 -
Inspired by @Billgates
everyone around is hyped about new tech they get to use, new toys to tinker with, I can see their eyes shining when they hear "let's try and introduce kafka" - they would wiggle their tails all day long if they had ones!
And me? Well, a new potential employer got me so excited I couldn't wash a smile off my face for a few days! You know what they said? "we don't use any frameworks, we focus on clean code, solid, kiss and we write with tdd". Bare java - that's the best position I've heard of in years!
I guess I'm oldschool. But I truly believe their approach is the right one. Not trashing the code with spring [which is turning into smth what systemd is for linux/unix], hibernate and what not.
Just good old java code. Db, multithreading, request-mapping -- all plain, manual and simple.
Amazing!19 -
FUUUUUCKKKKKKKKKKKKKK.
Im trying to rebuild a project but the .exe is active and everytime I kill it a new one spawns......
So my only option left is to restart my laptop. The thing is I always hibernate and that has come to bite me in the ass..7 -
Newbie just started this week and went changing hibernate settings on us. Changed hbm2ddl from update to create, which nukes the data on every deploy. She thought she was working against her local DB when in fact she was pointed at the shared integration database, thus nuking INT. Through a couple hours of PL/SQL wizardry, I managed to resurrect the data. Within 5 minutes of giving the team the all clear, the data disappeared again...betcha can guess what happened...again!2
-
I guess I am having what is called a burnout.
I feel braindead, unmotivated to do anything, constantly tired and sleepy, and the only thing I want is to hibernate and wake up somewhere in spring.7 -
Me sends the laptop to hibernate to get off the train. As usual, the laptop goes to hibernate and shuts off after a few seconds. Not today, today it decided, it likes it much warmer than healthy for it and now I'm sitting here with a hot laptop in thermal emergency shutdown. Damn it6
-
Just finished setting up PiHole on my RaspberryPi.... no more adblock extensions with shitty performance... no more custom hosts files... and network level adblocking for all devices...
FUCK YEAH
oh, and I added so many lists that it now blocks about 350k domains (ads and malware)
Today was a good day.. time to hibernate...4 -
Guinea pigs are not from Guinea and they aren’t pigs
JavaScript has nothing to do with Java
Computer science is not an actual science
Lawsuit is not an actual suit that the judge wears
Siouxsie Suioux is not Native American
Sugar gliders aren’t made of sugar
People don’t drive on driveways and don’t park on parkways
Carpets have nothing to do with either cars or pets
Gunpowder actually looks like noodles and not like powder
Coca-Cola has no coconut and no cocaine in it. It also contains no cola nuts
Peanuts aren’t actually nuts
Watermelon doesn’t taste like a melon
Laptops are usually used while standing on desks, not laps
GPU, as in graphics processing unit, can process things that aren’t graphical
Silverback gorillas’ backs ain’t made of silver
Rod Steward is not a rod and not a steward
Guy Standing can sit
People who say they can’t stand something usually can actually stand up
People who call themselves woke do sleep sometimes
Hibernation mode in Windows doesn’t actually hibernate anything
Kool Aid can be served hot
Wall sockets can be used while not being attached to a wall
WC is not a closet
MrBeast is in fact human
Dodge cars aren’t better at dodging things than other cars
Some AC units can be operated using DC
Most men don’t menstruate
Pop bottles don’t always go pop
Backpack can be used while not being worn on your back
Watches don’t watch anything
Some keyboards aren’t actually a single board
Cigarettes have cigars, but cassettes don’t have cass, and Gillette doesn’t have gills
Dyson doesn’t make Dyson spheres
Hairdryers can dry things that aren’t hair
Beds aren’t usually made of bedrock
ThinkPads can’t think
MacBooks aren’t books
Ceilings don’t ceil
Platinum records aren’t made of platinum
Training doesn’t always involve trains
Great Britain ain’t that great
HDMI can carry signal that isn’t HD
Fingers do fing but autists don’t aut
American Football band doesn’t play american football
Taylor Swift is neither a taylor nor a swift
Hard disk drive doesn’t drive
Tank tops has nothing to do with the top part of a tank
Tea bags do sometimes contain herbs that aren’t tea
Tea isn’t usually teal
Jack Black isn’t black
Fingernails aren’t nails32 -
Friend of mine had a perfect day today:
It's 3am, you're coding hard, can't even see properly, but you know only a two or three proper lines and you are finished. A few minutes later you set your pc to hibernate because you can't go further and go to sleep.
In the morning/noon you log in, see only a mess. Half of the new variables are probably obfuscated or in some alien language because you can't read that shit and a cherry on the top - 1/4 of a _big_ test suite reports errors. What a lovely day. -
WTF WINDOWS, I SAID HIBERNATE AND SOMEHOW IT ENTERED INTO A BOOTLOOP WHEN I TURNED BACK ON... AFTER THE THIRD SHIT RESTART HIT GETS PAST IT N SAYS
WINDOWS IS INSTALLING UPDATES...
FIRST WHY.... 2ND FCKIN TELL ME THAT INSTEAD IF JUST SHOWING THE BOOTING SCREEN...4 -
Arrrgggghhh!!
How the fuck do you stay focused on one task?!
Writing code, is like browsing YouTube for me. I begin by searching for a Hibernate tutorial, and end, 3 hours later watching a video of a cat chasing a dog up a water slide.
How do you stay focused on the task of writing the specific class, method, package you set out to achieve when you sat down for that session??4 -
3 months project:
- deadline changed to 2 months
- specs delayed by 1 month
Now a 1 month project...
Started one month earlier so I could achieve something...
Now, 23 days to deadline: here, take this 20 page PDF with 200 questions ( witch can be drastically reduced) to make the new form section (2nd section out of 6).
Me: OK, but it could be nice to have everything at once so I could design it accordingly , I can see questions here that are repetitive , it would spare me a lot of work if I could see the big picture.
she: Just put those (200 f#cking questions) on and show me so I can see if its good and deliver the rest based on it.
OK, fuck it I'm just let hibernate create all the fucking tables and I figured out where to get all the questions she wants anyway... there are 7 categories with repeated questions...(about 150)...
Just wonder what's so hard to do her job... she had 3 months to do it and I only have 1... -
Software Engineer
Nerdious Geekius
The elusive Software Engineer is a nocturnal creature, rarely found at their desks before 10 or 11 in the morning, but often staying late into the night. They dislike being interrupted while at work, and it theorized that their penchant for twilight hours is an evolutionary adaptation to reduce breaks in their trance like state of coding.
Not surprisingly, Software Engineers are solitary creatures, except for occasional gatherings called "code reviews". In these gatherings, engineers gently pace around a clearing, sizing up each others work. Although occasional battles will erupt, they mostly end without injury and the engineer will retreat to their desk and continue to hibernate.
Fun Fact: Software Engineers have been know to kill each other in brutal fights over identation styles -
Time for a rant about shitstaind, suspend/hibernate, and if there's room for it at the end probably swappiness, and Windows' way of dealing with this.
So yesterday I wanted to suspend my laptop like usual, to get those goddamn fans to shut up when I'm sleeping. Shitstaind.. pinnacle of init systems.. nope, couldn't do it. Hibernation on the other hand, no problem mate! So I hibernated the laptop and resumed it just now. I'm baffled by this.
I'll oversimplify a bit here (but feel free to comment how there's more to it regardless) but basically with suspend you keep your memory active as well as some blinkenlights, and everything else goes down. Simple enough.. except ACPI and I will not get into that here, curse those foul lands of ACPI.
With hibernation you do exactly the same, but on top of that, you also resume the system after suspending it, and freeze it. While frozen, you send all the memory contents to the designated swap file/partition. Regarding the size of the swap file, it only needs to be big enough to fit the memory that's currently in use. So in a 16GB RAM system with 8GB swap, as long as your used memory is under 8GB, no problem! It will fit. After you've moved all the memory into swap, you can shut down the entire system.
Now here's the problem with how shitstaind handled this... It's blatantly obvious that hibernation is an extension of suspend (sometimes called S3, see e.g. https://wiki.ubuntu.com/Kernel/...) and that therefore the hibernation shouldn't have been possible either. The pinnacle of init systems.. can't even suspend a system, yet it can hibernate it. Shitstaind sure works in mysterious ways!
On Windows people would say it's a hardware issue though, so let's talk a bit about that clusterfuck too. And I'll even give you a life hack that saves 30GB of storage on your Windows system!
Now I use Windows 7 only, next to my Linux systems. Reason for it is it's the least fucked up version of Windows in my opinion, and while it's falling apart in terms of web browsing (not that you should on an EOL system), it's good enough for le games. With that out of the way... So when you install Windows, you'll find that out of the box it uses around 40GB of storage. Fairly substantial, and only ~12GB of it is actually system data. The other 30-ish GB are used by a hibernation file (size of your RAM, in C:\hiberfil.sys) and the page file (C:\pagefile.sys, and a little less than your total RAM.. don't ask me why). Disable both of those and on a 16GB RAM system, you'll save around 30GB storage. You can thank me later.
What I find strange though is that aside from this obscene amount of consumed storage, is that the pagefile and hibernation file are handled differently. In Linux both of those are handled by the swap, and it's easy to see why. Both are enabled by the concept of virtual memory. When hibernating, the "real" memory locations are simply being changed to those within swap. And what is the pagefile? Yep.. virtual memory. It's one thing to take an obscene amount of storage, but only Windows would go the extra mile and do it twice. Must be a hardware issue as well.
Oh, and swappiness. This is a concept that many Linux users seem to misunderstand. Intuitively you'd think that the swappiness determines what percentage of memory it takes for the kernel to start swapping, but this is not true. Instead, it's a ratio of sorts that the kernel uses when determining how important the memory and swap are. Each bit of memory has a chance to be put into either depending on the likelihood of it being used soon after, and with the swappiness you're tuning this likelihood to be either in favor of memory or swap. This is why a swappiness of 60 is default most of the time, because both are roughly equally important, and swap being on disk is already taken into account. When your system is swapping only and exactly the memory that's unlikely to be used again, you know you've succeeded. And even on large memory systems, having some swap is usually not a bad idea. Although I'd definitely recommend putting it on SSD in a partition, so that there's no filesystem overhead and so that it's still sufficiently fast, even when several GB of memory are being dumped in.6 -
To fetch 100 users at once, i used JPA hibernate findAll() method. Simple fucking enough. I realized this shit is slow. Takes a while to fetch and 100 records aint even a lot!
This shit needs over 265 ms to fetch 100 users
About 75 ms to fetch 20 users
That shits terrible!
Then i wrote a custom JDBC class with custom SQL queries to fetch the exact same shit.
Now it fetched 100 users in 7 ms, 37x times faster for performance
I havent even optimized indexing or did shit. I just avoided using jpa hibernate
Someone explain this to me8 -
Windows 10 why you turn on my PC at night and then doing your restart for update AND AFTER THAT YOU CANT HIBERNATE PC LIKE IT WAS? YOU DUMBASS IM SLEEPING RIGHT NEXT TO THAT BEAST. I WANT SILENCE. Linux users pls rant with me. Thank you devrant, now I can go to sleep after sharing my frustration.9
-
I HATE SPRING JPA HIBERNATE AND EVERYTHING RELATED TO FUCKING JAVA.
Everything behaves like it was created with a human as an afterthought, so it torments people and target audience are masochists. This whole ecosystem is an abomination of the software world.
Every fucking error has a thousand possible solutions for every single person AND NOT A SINGLE ONE WORKS!!!
The stupid thing will just keep throwing its internal problems in a stack DUMP DIARRHEA that you have to sort through to find anything remotely useful! I DON’T give a fuck about your stupid internal implementation, just tell me what the fuck you want!
And you have to play the guess game and find the right combination of their stupid little configurations to make it barely work. I couldn’t believe reading stackoverflow, people are just poking at it hoping it will work. And I’m literally stuck and can’t fix the damn thing no mater what I do, and I’m abandoning it.
I won’t touch this pice of shit with a twenty meter pole ever again! Last time I was this frustrated was the stupid java ee. Nothing in the software world has frustrated me this much. How does one even come up with this…
I’m done… I’m just done…5 -
Another day, another task that requires magic. I'm stuck trying to connect hibernate envers and tomcat. Both work fine on their own, but now envers needs session data and i see no way to make that work because THAT GODDAMN ENVERS-LISTENER HAS NO WAY OF ACCESSING THAT INFORMATION WITHOUT GODAWFUL INSTABLE HACKS.1
-
Why did sonatype just break my maven deploy plugin?? Well finally I was able/forced to migrate to the sonatype deploy plugin.
Finally fully automated CIdeployment to maven central yey.
For the curious, I‘m taking about my hobby (soon to be startup) project https://spot-next.io
Get version 1.011-BETA while it‘s still hot 😆
It‘s An open source SAP hybris alternative on speed 😜😅
Help wanted btw 😅
And excuse the still not complete docs, my two kids + job keep me busy way too much -
I feel bad for bitching a lot on this site, so I'm going to try something positive for a change.
I got finished building this basic database web application that I ported from a Java EE based API to the Spring/Hibernate API. Took me about 3 weeks of work to do it. There's a new feature to search the database that I added just today. Had to do some debugging on it but it works fine.
Back in May I had never written a line of Java code or setup a LAMP stack, to doing stuff like this. This stuff gives me the strength I need to keep going. Someday I'm going to get a job as a junior dev.4 -
Started learning to code and built applications using spring, hibernate, jsf and sql dbs. Never called ourselves 'full stack bitches'! And now, with these JS toys around, no one is less than a full stack ninja! Fckin' full stack experts everywhere!5
-
Web developers working since years in Java, spring and hibernate have no idea how to make a website live and don't even know basic MVC structure..
Being a PHP developer m so shocked !!
Is it true for most of the java developers??6 -
Damn @&$#%£¥ hibernate. Why is ur API so $£¥%#*^ inconsistent and buggy????
@Index on mappedsupertype any? @index causing duplicate tables on hsqldb?? REALLY????
Why does it work on mysql?
Maxresults and fetch joins cause ALL rows to be fetched, instead of properly generating a „limited subselect“? WHYYYYYY, JUST WHY???? -
Why does Fedora try to load the last session from swap for 1m30s, even when there is NO SWAP PRESENT?
I'm not telling you to hibernate, I WANT YOU TO SHUT DOWN!1 -
It has finally happened. I have escaped the land of bloated Objective-C and JabbaScript. This week I have started on another project, a full stack team working in Angular, Java, Hibernate, PostgreSQL. The dream has come true. Java it has been too long my friend.
-
Thank you, company forced windows update! My 60 minutes reconfiguring rabbitmq and postgres were well invested instead of investigating the memory leak fucking hibernate causes.
I'm done. -
O.M.F.G how much longer is that gonna take?!?! It's been 2 days already! 2 fucking days!!!
That's it. Fuck the docs. I'm going hardcore now: hooking up a debugger and diving into the unseen depths of Spring's automatic JPA repo initialization.
Unless any one of you knows how to
1. Manually create jpa repo interface bean
2. Make transactions work [also enable them manually by declaring beans in @Configuration]
and do all this in a single @Bean method. Jpa provider - hibernate.
Nobody? Not a single one? Allright then, I'm going in :(1 -
Junior Software Developer Job( $37k-$42k USD)
-1 year experience
- J2EE, Javascript, HTML, XML, SQL
- object oriented design and implementation
- management of relational and non-relational such as Oracle, PostGreSQL and Cassandra
- Lifecycle and Agile methods
- Familiarity with the Eclipse development environment and with tools such as Hibernate, JMS, ,TomCat/Gemini/Jetty, OSGi.
• UNIX skills, including Bash or other scripting language
• Experience installing and configuring software packages
• ActiveMQ troubleshooting/knowledge
• Experience in scientific data processing and analytical science in general
• Automated testing tools and procedures, including JUnit testing, Selenium, etc.
• Experience in interfacing with scientific instrumentation, potentially over IP networks
• Familiarity with modern web development, user interface and other ever-evolving front-end
technologies, such as React, TypeScript, Material, Jest, etc.
I am betting they don't get many people applying.8 -
First internship during college,
Made a website using Java EE,
It was a food delivery website with dashboards for website admin and restaurant managers
Learned Java EE, Hibernate and some Frontend and how to manage it all together..
The Frontend was written in JSPs.
I would not do that again.
It was a nice learning experience :)1 -
Is there ever any reason for SINGLE Hibernate SQL query/template to join like 10 different tables, do math, and come out to like 30 lines?
This is not a stored procedure, it's a single SELECT2 -
This shit is long story of my computer experience over my lifetime.
When I was young I got my first PC with windows it was not so bad. It required safe shut down of it’s fat32 partition. From time to time I needed to reinstall it cause of slow down but I got used to it I was only a gamer.
Time passes and I got more curious about computers and about this linux. Everything worked there but installation of anything was complete madness and none of windows programs worked well, and I wanted to play games and be productive so I sticked with windows.
I bought hp laptop once with nvidia card, it was overheating and got broken. So I bought toshiba and all I told to the seller was I want ATI card. Took me 5 minutes to do it and I was faster then my friend buying pack of cigarettes because I was earning money using computer.
Then I grown up running my small one person programming businesses and I wanted to run and compile every fucking program on this world. I wanted linux shell commands. I wanted package manager, and I wanted my os to be simple because I wasn’t earning money by using my os but by programming. So after getting my paycheck I bought mac. I can run windows and linux on vm if I need it. I try not to steal someones work so I didn’t want to run hackintosh. I am using this mac for some time.
Also I use playstation for gaming. Because I only want to run and play game I am not excited about graphics but gameplay. I think I am pragmatic person.
I can tell you something about my mac.
When I close lid it go sleep when I open it wakes up instantly. I never need to wonder if I want to hibernate or shut down or sleep and drain battery. It is fucking simple.
When I want to run or open something it doesn’t want me to wait but it gives me my intellij or terminal or another browser or whatever I search for. Yeah search is something that works.
Despite it got 8 gigs of ram I can run whatever number of programs I want at the same speed. The speed is not very fast sometimes but it’s constant fast.
I have a keychain so my passwords are in one place I can slow down shared internet speed, I can put my wifi in monitor mode and I don’t need to install some 3rd party software.
And now I updated my mac to high sierra, cause it’s free and I want to play with ios compilation. Before I did it I didn’t even backup whole work. I just used time machine and regular backups. And guess what, it still works at the same speed and all I did was click to run update and cook something to eat.
When I got bored I close the lid, when got idea open lid and code shit, not waiting for fucking wakeup or fucking updates.
I wanted to rant apple products I use but they work, they got fucking updates all along at the same time. And all of updates are optional.
I cannot tell that about all apple products but about products I use.
I think I just got old and started to praise my limited time on this world. Not being excited about new crap. When I buy something I choose wisely. I bought iPhone. I can buy latest iPhone x but I bought iPhone 7 cause it’s from fucking metal. And I know that metal is harder then glass, why the fucking apple forgot about it? I don’t know.
I know that I am clumsy and drop stuff. Dropped my phone at least 100 times and nothing.
I am not a apple fan boy I won’t buy mac with this glowing shit above keyboard that would got me blind at night.
I buy something when I know that it can save my time on this world. I try to buy things that make me productive and don’t break after a year.
So now piece of advise, stop wasting your time, buy and update wisely, wait a week or a month or a year when more people buy shit and buy what’s not broken. And if something’s broken rant this shit so next customer can be smarter.
Cheers1 -
That moment when you find out how to put Linux on hibernate. This is a big deal for me since my battery is broken and it doesn't stay latched on.
-
A way of running Minecraft servers on AWS and automatically hibernate instances when there are no players online.16
-
!rant
Does anyone know how to find out which apps are killing my battery?
I already use Hibernate, have BetterBatteryStats and Wakelock Detector but Stats just says it's Android OS...16 -
Good morning devRant.
Here's a good question. What is the worst tool you've tried that was recommended to you? Could be a text editor, IDE, STACK setup, etc.
For me that tool was Eclipse with JavaEE. Not Spring/Hibernate or Maven, but specifically JavaEE in Eclipse. I probably lost over 2 1/2hours configuring that beast to work and it would still break every half hour or so. Drove me crazy enough to switch to IntelliJ. It's one of the rare cases where a free application just wasn't as good as a paid for application. :/10 -
Fucking hell my insights are late ones...
So I am working with fluid dynamics simulation. I went home fired up the laptop and started the calculations. This is how the events went:
9 PM: starting the calculation
10 PM: checking on the graphs to see whether everything will be alright if I leave it running. Then went to sleep.
2 AM: Waking up in shock, that I forgot to turn on autosave after every time step. Then reassured myself that this is only a test and I won't need the previous results anyway.
5 AM: waking up, everything seems to be fine. I pause the calculation hibernate the laptop and went to work.
6:40 AM on my way to the front door a stray thought struck into my mind... What if it lost contact with the licence server, while entering hibernated state. Bah never mind... It will establish a new connection when I switch it back on.
6.45 AM Switching on the laptop. Two error messages greet me.
1. Lost contact with license server.
2. Abnormal exit.
Looking on the tray the paused simulation is gone. Since I didn't enabled autosave, I have to start it all over again. Well. Lesson learned I guess. Too bad it cost 8 hours of CPU time.2 -
We're finishing some projects for uni. I've done mine, and am just helping out with others.
There was a friend who is doing her write-up. My other buddy was just just troubling her for fun. He threatened to press the power button on the laptop, thus sending it to hibernate. Minor nuisance; she just need to turn it back on after all.
She pleaded to leave her & let her complete the write-up. So I asked her if I could quickly re-configure the power button. You know, go to the windows power settings, and tell it to do nothing upon pressing the button.
She said no. But the way she said it struck me odd. As in "No, why would anyone do that!?". Debatable. Just to make sure, I asked whether she understood what I requested. She made a quick hand gesture of plucking the power button off!! 😐
Me & my buddy just stare at each other. "Yeah you're right, you're right, what a stupid idea...". We just slowly scoot from there. 🏃
No idea how she reached this far...1 -
My computer has been acting kinda creepy lately. When I hibernate it, it turns itself ON early in the morning.3
-
This is really annoying when you’ve good paid job with really good coworkers but you want to change it... I always wanted to be a programmer but when I started my work in IT trade I got job as administrator... several years have passed and now changing my job is a big deal (degradation of my salary to 1/2 of actually). I don’t know what should I do... my programming skills is not impressive...I know java a bit with spring boot , hibernate and some other things(totally junior lvl of these skills)... but I think it’s not enough...this is really hard situation :/4
-
Hmmm, so you’ve used the DAO pattern everywhere so you’re not coupled to a particular database, but you don’t mind having 8 lines of Hibernate annotations at the start of an entity class, and 2-3 annotations on every property.
I see... -
I love using Windows but who the fucking fuck had this fucking idea to hibernate when I press shutdown
I just want my laptop fully turned off and not opening everything that was opened before I shut it down.
I mean it's nice that there is a setting for it if only it would fucking work!1 -
Hey guys, who has experience with JPA/hibernate RESTful performance numbers.
Interesting would be:
* persistence operations per second, and the response times
* proportion between read/write for a typical rest service
Rightnow i get ~300ms read, 900ms write at 350 concurrent requests. 75% write operations
I more or less ruled out my custom code, problem seems to be hibernate (of course ...😋)
Stack: jetty, jackson, hibernate, mysql9 -
When your Hibernate object model gets too big, and simply accessing a user's page brings the whole site down... 😫
... and it was my code that pushed the system over the edge 😫😫😫 -
Fuck you mesa
I installed arch again due to some other mess up (another rant 😂) and this time I was facing problem with sleep.
The system froze every time I tried to wake it up from suspend state.
This is how I wasted past 2 days:
- Wifi device sleep issue, disabling wifi
- Probably sddm issue, let me try lightdm
- Last time I installed gdm, might try that as well
- Had to remove all the bloatware then I suspected plasma
- Checked system logs and found amdgpu error
- Tried disabling graphics using nomodeset, system failed to boot
- glx IP block hung!, it's the graphics driver
- Checked another arch forum, a guy was having a same problem after upgrade
- Downgraded mesa to 18.3.4-1
Worked like a charm though hibernate is still not working2 -
- load tests via web
- load tests via api
- figure out why the fuck hibernate started proxying Blob.class after migration rather than using jdbc implementation, like before
- fix ^^
- reconfigure tomcat to ditch random for urandom completely [still getting econnreset]
- continue conversation with sysadmin, tester, analyst, 2 PMs, infra architect, junior dev
- provide immediate support for analyst and tester as soon as they need it
- provide support to another dev on another project
and that's my today's todo list. I think I need more personalities [more threads] to keep going -
One of my friend's brother is learning Hibernate framework and I found this in his notes today 😂😂 Kids don't want to struggle with XMLs anymore!!
-
So, I tried to set uo hibernate on my hdd.
It takes longer to start than to reboot, but atleast I learned a bit more about my bootloader / systemd ...2 -
When you rebuild the whole product and instead of using state-of-the-art technologies, almost everything is written by ourselves or old technologies.
JSF instead of REST + vue.js or similar
Self written DB-access instead of Spring/Hibernate
No Jenkins etc, instead write scripts to build it....
It's time for a job change I think2 -
!rant
Hey guys, could anyone tell me what's needed to become a proper Angular developer(like full-stack)? I know MongoDB, Postgres and all of the frontend stuff(HTML5, CSS, etc), plus Spring and Hibernate. Also, I use Linux, so count in Bash.
Surely there'd be other bundles of Angular besides MEAN?4 -
For the first time I paid for training(tuition, whatever) just coz my institution requires me to. And it was a complete waste of money. Teacher(or whoever he was), couldn't compile any of his programs. I had to look up tutorials for the entire thing myself, like I always do.
P.S. He was teaching server side java programming with struts and hibernate and using Tomcat as a server. -
soooooo we are still trying to make the mapping from the classes to hibernate, almost 7 hours and all the time every change we do, we have to close netbeans and open it again to "refresh" the hibernate configuration ._. we have seen the netbeans logo all the f*cking night ._.2
-
Ok Hibernate, when a variable has "ID" in it, you write the variable with "ID" in it. Not "Id".
Took me long to see that.
(yeah I should have wrote Id tho. But that's not the problem here) -
Remind me again why we have to use/support a weird entity creating framework across all microservices? So that every entity is consistent? (Who cares? Microservices shouldn't) Because hibernate is hard? (It isn't, and it's better documented than this, which needs hibernate anyway).
I'm just building a fragile distributed monolith. -
Is it safe to subclass an Hibernate dialect class at 17.30 on Friday?
Commit and leave the building!1 -
PHP: Laravel, Phalcon, Composer
JavaScript: Node.js, Express.js, Restify, Sequelize, AngularJS, React, npm, bower
Python: Django, Flask, Requests, pip, SQLAlchemy
Java: Spring, Dropwizard, Hibernate
DB: MySQL, MariaDB, PostgreSQL, Cassandra1 -
After working on Python (Flask and alembic) I switched jobs. Now I'm on Java (DropWizard and Hibernate)... Now I realise how easy Python was.2
-
#TIL Hibernate won't allow you to insert multiple rows if a PK Column is auto incrementing in one transaction because ¯\_(ツ)_/¯
-
I'm fucking tired of my computer having random
2 seconds latency on any basic action and being slow as fuck regardless of powerful processor, ssd and 32GB RAM. Music via bluetooth is basically unusable since every few seconds the music stops for a 0.2s then plays again. I installed this system (opensuse tumbleweed) in February this year and it's just sad that I have reinstall again (any ideas for distro) ?
I made a dummy mistake of buying a CPU without internal graphics and this resulted in having to buy a GPU. So I got myself Nvidia(another mistake) since i though i would be using CUDA on the university. Turnes out CUDA cannot be installed for some retarded reason.
With Nvidia GPU the screens on my two monitors are swapping every time I use a hdmi switch to use other computer. On AMD GPU this problem does not exist. AMD GPU pro drivers are impossible to install. Computers barely fucking work, change my mind. Shit is breaking all the time. Everything is so half assed.
The music player that i use sometimes swaps ui with whatever was below it like for example the desktop background and i need to kill the process and start again to use the program. WTF.
Bluetooth seems to hate me. I check the bluetooth connected devices on my computer, it says headphones connected. BULLSHIT. The headphones are fucking turned OFF. How the fuck can they be connected you dumbass motherfucker computer. So I turn on the headphones. And I cannot connect them since the system thinks that they are already connected. So I have to unpair them and pair them again. WTF. Who fucking invents this bullshit?
Let's say i have headphones connected to the computer. I want to connect them to phone. I click connect from the phone settings. Nothing happens. Bullshit non telling error "could not connect". So I have to unpair from computer to pair to phone. Which takes fucking minutes, because reasons. VERY fucking convenient technology.
The stupid bluetooth headphones have a loud EARRAPE voice when turning them on "POWER ON!!! PAIRING", "CONNECTED", "DISCONNECT". Loudness of this cannot be modified. The 3 navigation buttons are fucking unrecognizable so i always take few seconds to make sure i click the correct button.
Fucking keyboard sometimes forgets that I remapped esc key to caps lock and then both keys don't work so i need to reconnect the keyboard cable. At least it's not fucking bluetooth.
The only reason why hdmi switches exist is because monitor's navigation menus have terrible ui and/or infrared activated, non-mechanical buttons.
Imagine the world where monitors have a button for each of it's inputs. I click hdmi button it switches it's input to hdmi. I click display port button - it switches to display port. But nooo, you have to go through the OSD menu.
My ~ directory has hundred of files that I never put there. Doesn't feel like home, more like a crackhead crib.
My other laptop (also tumbleweed) I click on hibernate option and it shuts down. WTF. Or sometimes I open the lid and screen is black and when i click keyboard nothing happens so i have to hold power button and restart.
We've been having computers for 20 + years and they still are slow, unreliable and barely working.
Is there a cure? I'm starting to think the reason why everything is working so shitty and unreliable, is because the foundations are rotten. The systems that we use are built with c, ridden with cryptic abbreviated code, undefined behavior and security vulnerabilities. The more I've written c programs the more convinced I am, that we should have abandoned it for something better long ago. Why haven't we? And honestly what would be better? Everything fucking sucks. The rust seems to be light in the tunnel but I don't know if this is only hype or is it really better. I'm sure it can't be worse than c or c++. Either we do something with the foundations or we're doomed.22 -
Following are the only real problems I had with my XFCE Manjaro (I guess essentially XFCE problems). My question is, is it just me?
Touchpad problems:
The synaptics deprecation kinda f'ed me up.
I tried sticking to synaptics, but I had an issue where if I connected a usb mouse the touchpad would sometimes stop working (it's deprecated after all).
So I switched to libinput. The default movement feels good (synap felt kinda slippery)... but then... NO COASTING/KINETIC SCROLLING in a lot of apps? WTF?!
Would kinetic scrolling work in general if I switched to a wayland based DE?
The alt tab has a delay:
you would expect one of the most lightweight DEs to have near instant switching. But no, I have like almost full second delay, and for the life of me I can't find the way to customize it.
Thr battery management is kinda stupid. Even though I set the thing to hibernate or sleep in low battery it never does. -
I always thought J2EE was like a completely different thing from general Java. It has features like Enterprise management beans, special packages and has it's on Project type, structure in IDEs.
But it seems like it's not actually that different? If you use Spring, Hibernate, custom library annotations and build a Servlet, web server with @POST, @GET or use Serialization... And maybe use JDK instead of JRE, Maven, Ant... apparently that's considered J2EE?9 -
Is there a way to hibernate before updating windows? I have 15 virtual desktops rounding up to 45 desktops via 3 monitors with different setups, it would be a pain having to restore it all manually 😥1
-
Fucking Quarkus. Fucking Panache. Fucking ORM.
I wanted to do a fucking simple projection. First this piece of fuck, the Panache, won't let me do a Projection because of a fucking bug, that haven't implemented it properly until 2.12 (fuck and you call this v2?). Ok, upgraded, to the latest 2.16, cuz why the fuck, i'm upgrading already. But now the whole fucking quarkus app won't start! Noice! Ok, fuck it, let's go down exactly to 2.12. Quarkus started, perfect. But now, this pice of fuck Hibernate says 'collection was evicted' whenever i tried to read a collection in the setter (Access.PROPERTY), which worked just fucking fine before. But okay, fuck you. I'll write a @PostLoad method, fine, just fuck off.
But that's not the end! Now it says I cannot write `select parent.someColl is not null and parent.collection is empty as canProcess` because "is empty" only supported in where clauses. What fucking wonderful system! Well, fuck you. I'll write a union query. But guess what! JPA standard does not support union queries, nor HQL (Eclipse Link does, btw). Ok, fuck this shit, let's write a native query. But hey, fucking Panache does not support that. There is no fucking place in their fucking docs stating anything about how to use native queries.
So, fuck you quarkus, fuck you panache, fuck you hibernate, fuck you overcomplicated limiting bullshit called full-fledged ORMs. I'm moving to a fucking mybatis and fuck it. It's simple as fuck, does not fucking restrict me in writing whatever shit query I want to write and let's me map the shit just fine.1 -
There I was trying to figure out how to use Spring to create a restful web service with hibernate. All the while learning more about Java as a language. After many headaches of understanding and configuring thank God I stumbled against Dropwizard.2
-
Have you ever used Hibernate Tools for reverse engineering a database? Seems to work only on eclipse. Do you know of a process to configure eclipse to do what it's supposed to in a finite and predictable number of steps? Or the only way is an unpredictable trial and error process in which everythime a component is updated the stack stops working?
-
Sometimes I'm questioning all my skills... I have a maven based project which uses hibernate as OGM to the mongo database. Everything working fine and already in a productive environment.
Now I changed some lines of code at the business logic to adjust for the changed database model. So far so good.
After compiling and running on the test environment: exception! "no persistence provider for Entity Manager named xy" are you fu***** kidding me? I changed nothing at that point! -
now instead of if I type in my address bar and select a bookmark to go to my Vivaldi web browser switches me to the fact I already have that tab open somewhere in one of my hidden workspaces
I want it to notice if I click on a link I already have open and switch to it lol
then I can hibernate my billions of tabs over and over again and not forget they exist somewhere in a workspace I forgot about lol
why have web browsers when you can have an immensely messy desk of notes you never got to
web browsers are inching ever closer to the Innovation that was WebOS. it's all about them cards, ayyo. let's invent the physics of the real world in boring digital spaces already idk. at least it's intuitive cuz millions of years of evolution conformed us to the physical world1 -
Is there any experience person,(or alien truly don't care the specie), that helps me with a little project that I have (personal). It is a java project, using hibernate and javafx... I'm stuck since 2 ago...
-
I can't tell if I'm being clever or a dick here. When I can't be arsed writing a dB schema I switch hibernate to create mode, let it build the database, I then just dump the schema as SQL...2
-
How (generally) do offer different persistence layers for an app?
So, I have used lots of apps (sorry, I'm talking a proper software system such as a Web based service (e.g. The Open Source XMPP server 'Openfire') in which you can choose what persistence back end you want (MySql or inbuilt H2/SQL light for example).
Within your code, how do you go about achieving this? Would you delegate the persistence to a separate class, and within that class figure out what the systems settings are and use the right connection string?
I'm currently using Java, Hibernate and would like to offer back ends of MySql, H2 and Redis, but the question is more conceptual than specific.
Many thanks.