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 - "hibernate"
A Java Development vacancy I came across today:
° Appropriate Education
° Experience with Spring, NoSQL(MongoDB)
° Experience with Tomcat/Jboss/Glassfish
° JDBC, JSF, JSP, JSTL, Angular, ExtJS
° HTML5, CSS3, XML, Jquery, Bootstrap, Primefaces
° 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 linux18
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
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. 😄14
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: 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
Close laptop lid to hibernate and put into bag for evening dev session
Pull out dead laptop that didnt hibernate when lid closed.
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
> 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
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
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.
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
Minutes of your life lost..
Hey, lets use that hibernate option !
So much faster !
Lets do that again..
And, oh dear it hangs..
Not sure why, maybe because I left a video running, or I've too many icons on my desktop ?
After months, years, still don't know why it does that !
So far best answer is, after about a dozen hibernates, do a restart !
Answers on a postcard..
Still, I suppose we have to be thankful it even works in W10, as going way way back since it was ever created, I couldn't even get it to work properly, let alone repeatedly..
Maybe Windows 11 it will work perfectly..23
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
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...
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
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
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
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??5
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...
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
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
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
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
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
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
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.
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
My computer has been acting kinda creepy lately. When I hibernate it, it turns itself ON early in the morning.6
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
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
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.
Fuck everyone that take their time to go stress out the sysadmin for every fucking time some shitty conference type piece of shit vomits.
Most times it's just the fact that their notebook received 100+ updates and they avoided a reboot each time it was offered.
Fuck you... I am writing a policy to force reboots after you fuckers decline it the third time. You're fucking welcome.6
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
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????
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
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.
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
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.
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
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
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
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 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
- 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
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 working4
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
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
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!!
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
PHP: Laravel, Phalcon, Composer
Python: Django, Flask, Requests, pip, SQLAlchemy
Java: Spring, Dropwizard, Hibernate
DB: MySQL, MariaDB, PostgreSQL, Cassandra1
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 😫😫😫
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
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
No I won't do this months update(s) as I'd heard so much bad shit about them.
Good thing I have turned off my updates..
I'll just go and hibernate my PC as I'm not going to be using it for a few hours..
You bastard !
-Update and shutdown
-Update and restart
FX [ Checks updates are blocked... ]
Says they are blocked, but obviously not !
Damn it !
I may be some time . . .
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.
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
Following are the only real problems I had with my XFCE Manjaro (I guess essentially XFCE problems). My question is, is it just me?
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.
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)
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.
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
Is it safe to subclass an Hibernate dialect class at 17.30 on Friday?
Commit and leave the building!1
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
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!
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
#TIL Hibernate won't allow you to insert multiple rows if a PK Column is auto incrementing in one transaction because ¯\_(ツ)_/¯
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
I'm just starting with the Hibernate, and I am finding it tough to differentiate it from JPA.
eg. hibernate suggests to use JPA criteria queries instead of hibernate criteria queries. So my doubt is what does it mean? Isn't JPA just a specification? How come it has implementations for criteria queries?1
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.
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
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...