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 - "persistence"
-
*How to graduate in style*
(And prob get arested)
(Because i am graduating soon)
-Make a simple reverse_tcp payload with persistence and encode it with veil or do it yourself. Make sure it connects to your VPS.
- Give it to your classmates and teachers! Sharing is caring!
- make a wallpaper that says "Happy graduation class 404!" (Isn't our class number awesome?!)
- wait until graduation to... i think you know what i plan to do ;)29 -
650 line hand constructed xml file missing a tag. Took me 3 hours to find. I looked at the section at least 3 times but my brain would not pick out the mistake. Online cal validators all pointing me to the wrong places.
It takes persistence to be a developer so pat yourselves on the back.5 -
When your payload has persistence and cant be detected by known anti viruses and your prof. gave you his laptop to repair but you're fighting to do the right thing.4
-
Here I am trying to get some tickets for a theater, and I noticed an interesting thing. It seems that the website holds no session persistence. In other words it doesn't check to see if the user has stopped trying to order tickets, instead it holds the seats for about 30 minutes. This is kind of stupid because when you back out, your treated as a completely new session, you have no way of trying to get back the seats you had chosen.
Sooo, what does this mean? It means that I can start selecting a bunch of seats and continue selecting a bunch of seats. There appears to be no server-side checks to prevent someone from just booking the entire theater.
Soooooo, what does this mean? I could potentially spam the entire country's theaters (any that use this website as a booking system) and make it impossible for people to book seats through this website.
What do you guys think? Is this a bug or feature?6 -
I had spent the last year working on a online store power by woocommerce with over 100k products from various suppliers. This online store utilized a custom API that would take the various formats that suppliers offer their inventory in and made them consistent. Now everything was going swimmingly initially, but then I began adding more and more products using a plug-in called WP all import. I reached around 100k products and the site would take up to an entire minute to load sometimes timing out. I got desperate so I installed several caching plugins, but to no avail this did not help me. The site was originally only supposed to take three to four months but ended up taking an entire year. Then, just yesterday I found out what went wrong and why this woocommerce website with all of these optimizations was still taking anywhere from 60 to 90 seconds to load, or just timing out entirely. I had initially thought that I needed a beefier server so I moved it to a high CPU digitalocean VM. While this did help a little bit, the site was still very slow and now I had very high CPU usage RAM usage and high disk IO. I was seriously stumped the Apache process was using a high amount of CPU and IO along with MYSQL as well. It wasn't until I started digging deeper into the database that I actually found out what the issue was. As I was loading the site I would run 'show process list' in the SQL terminal, I began to notice a very significant load time for one of the tables, so I went to go and check it out. What I did was I ran a select all query on that particular table just to see how full it was and SQL returned a error saying that I had exceeded the maximum packet size. So I was like okay what the fuck...
So I exited my SQL and re-entered it this time with a higher packet size. I ran a query that would count how many rows were in this particular table and the number came out to being in the millions. I was surprised, and what's worse is that this table belong to a plugin that I had attempted to use early in the development process to cache the site. The plugin was deactivated but apparently it had left PHP files within the wp content directory outside of the actual plugin directory, so it's still executing scripts even though the plugin itself was disabled. Basically every time I would change anything on the site, it would recache the whole thing, and it didn't delete any old records. So 100k+ products caching on saves with no garbage collection... You do the math, it's gonna be a heavy ass database. Not only that but it was serialized data, so when it did pull this metric shit ton of spaghetti from the database, PHP then had to deserialize it. Hence the high ass CPU load. I had caching enabled on the MySQL end of things so that ate the ram. I was really desperate to get this thing running.
Honest to God the main reason why this website took so long was because the load times made it miserable to work on. I just thought that the hardware that I had the site on was inadequate. I had initially started the development on a small Linux VM which apparently wasn't enough, which is why I moved it to digitalocean which also seemed to not be enough, so from there I moved to a dedicated server which still didn't seem to be enough. I was probably a few more 60-second wait times or timeouts from recommending a server cluster to my client who I know would not be willing to purchase it. The client who I promised this site to have completed in 3 months and has waited a year. Seriously, I would tell people the struggles that I would go through with this particular site and they would just tell me to just drop the site; just take the money, just take the loss. I refused to, this was really the only thing that was kicking my ass. I present myself as this high-and-mighty developer like I'm just really good at what I do but then I have this WordPress site that's just beating the shit out of me for a year. It was a very big learning experience and it was also very humbling as well, it made me realize that I really don't know as much as I think I might. It was evidence that there is still so much more to learn out there, I did learn a lot from that experience especially about optimizing websites the different types of methods to do that particular lonely on the server side and I'll be able to utilize this knowledge in the future.
I guess the moral of the story is, never really give up. Ultimately things might get so bad that you're running on hopes and dreams. Those experiences are generally the most humbling. Now I can finally present the site that I am basically a year late on to the client who will be so happy that I did not give up on the project entirely. I'll have experienced this feeling of pure euphoria, and help the small business significantly grow their revenue. Helping others is very fulfilling for me, even at my own expense.
Anyways, gonna stop ranting. Running out of characters. If you're still here... Ty for reading :')7 -
Not sure if this is necessarily a prank, but I was working on a team that was split in 2. We had a group of senior devs in one country, and junior devs in another (god only knows why, and yes I complained about this a lot).
The "lead" of the juniors was very stubborn and refused to adhere to the official standards, as his way was better.
I was working on an app with him, I was fed up with how badly the app was working, how hard it was to find files etc. So I waited for him to be off on holidays and pulled some extra hours to completely re-do the folder structure, rip out his persistence layer and a few other things.
When he came back he lost his shit and complained to the architect. The architect (also fed up with his shit) told him that we don't have the time to invest in reverting back everything, and loosing all the new features I added on top, especially since the app is now adhering to standards.
Never felt such satisfaction in my life. -
Me: We shouldn't change anything in the design if its not broken.
Also Me:
I regret being a designer7 -
Had a mental breakdown a few days ago. Crying like it's the end of the world when computer stopped working. I was a Picasso drawing of the hysteria, basically.
My exams are getting near, I'm really not ready; yet this chick keeps asking me about ten euros I borrowed from her a year and something back when we were going to a club they asked me to go to with them... Given her persistence that I should wire her the money (no PayPal tho) I assume she's up to something super shady. Why does she need my account info for?
Anyways, being annoyed by only ten euros (in our currency, it's not much, btw. It's less than two bags of expensive chips, or 5 dozen of the cheapest eggs on the market) and not studying enough, there is also my work. I feel so incompetent that I may just resign. Like... I'm not smart enough for this project. 😢 And I'm aware of it.
Put that on the side with this uni's project, which is very "Urghhhhh" because of too many people working on the same project, some of who need to be sent back to kindergarten to learn how to cooperate with others.
And in the middle of all of that, I'm trying to stay as zen as possible until the next mental breakdown. 😑😑😐
Thank you for reading this rant.7 -
!rant
If you don't even know what MySQL is, fuck off and let me do my job. Don't insist that you can't find the solution to the problem. That's why I'm here. Your incompetence and persistence are slowing me down and if you really want your stuff to be done on time, don't even dip your fingers into my codes. I know you may think that I need help, but your help is useless if you have zero knowledge and can't even understand the solutions given in stack overflow. I'm fine doing this on my own, so fuck off. Just. fuck. off.6 -
JS interview:
– we expect you to know the concepts of immutability, persistence, software architecture and systems theory, methods of analyzing complexity beyond the big-O notation, safe parallel code execution with web workers, WASM, modern web standards including working drafts, progressive enhancement and graceful degradation, WCAG recommendations and web accessibility in general, UX strategies and modern graphic design trends. Nice 20k github stars you got there. By the way, what's your opinion on modern optimistic UX?
– I know this all but I somewhat disagree with some status-quo UX strategies
– unfortunately it's a no
PHP interview:
– Do you know how to wipe your ass?
– *excited hysterical jumping with head nodding*
– You're hired25 -
WordPress uses 25+ MySQL connections per person. MySQL limit is set to 100. 4 people can bring down a critical component of the company. Only fix is to write custom MySQL connector using PDO and persistence connections. Added a Resistor cache just for good measure.8
-
For the first time apart from Data Structures and Algorithms, there was a Machine Coding round where they asked me to create a small app using any language without data persistence or GUI, to see my code designing ability, LLD, code quality, whether I can implement OOP and write modular code and to see how extensible my code will be.
I did well.2 -
I think a good path to dev education is if you are interested in it as a teen and try out coding and keep failing. Persistence and interest will bring you farther than just going straight to uni/dev school.2
-
I've been trying for the last 3 months to land my first development job. I have a good (over 3 years) amount of experience, but no industry experience and no degree. So it's been a uphill battle. Currently working at a call center making garbage and most of my time and energy is invested into this. Currently am not mobile so most of my money is being geared towards that. It's just frustrating to see all these over glorified job postings that ask so much for just entry levels. I haven't even gotten a damn interview, I feel like in houston it's either you have a degree or you are not even considered for just a fucking interview. If I can get at least one they will be able to see my drive, persistence and skills that have been developed overtime. And fuck recruiters, have been interfacing with them over linkedin and not one of them seemed eager (initially yes) to land me an interview. Most of these fucks don't even fucking understand the technology or buzzwords that are on the job posting. If I were a recruiter I would at least put a little research into what the different technologies are so the process will seem less abstract. The tech will have more meaning and maybe I would be able to get a better success rate with clients if I knew what was really required of them. Not just looking at xyz and seeing if client has experience with them, but really see if they know what they are; that way I will have more confidence sending them into an interview. But of course that's not how it works. "Oh yeah Java and javascript are very similar"... get the fuck out of here.13
-
Software engineering doesn't evolving the way you think of it.
There are no new big patterns. There are no new big concepts and ideas to bring that evolution to us. Rob Pike thinks that the concepts he used twenty years ago are the best possible way of implementing everything and he creates Golang.
The evolution of software engineering, and maybe the whole evolution as a concept is a tick-tock. Software engineering had its latest tick at nineties, when the concepts we call modern were developed. And the latest tock was the rise of the internet, and it given the single-computer-centered Von Neumann architecture really hard challenges. I mean ticks are theoretical inventions and patterns and ideas and etc, while tock is more of some practical, business-oriented implementations.
PHP is still in use. We have troubles with scaling and deployment. Banking systems still run old Java, Windows XP and even COBOL. We had persistence really, really long time ago, and now frontenders reinvent it and call it 'immutability'!
We had our tick many, many years ago. It's time for tock. With not only scientific but commercial use of things such as Clojure, CRDTs and maybe Rust lang, we are heading straight to our new big tock, which'll bring us new great problems to solve.
That's how any evolution goes.rant rust lang paradigms rob pike evolution golang ideas rust wk127 clojure patterns software engineering -
"I hope you appreciate my professional persistence"
Nope, I don't - it's called spamming me
If I was interested in your product then I'd have responded to you weeks ago when you first started emailing me1 -
Recipe for reverse engineering data structures / binary formats:
1℅ understanding the theory.
1℅ expections about what you will find.
3% luck.
45% trial and error.
50℅ persistence.2 -
In freshman year at college, 1992, I met a guy with a fancier computer than I had. The dude was awesome as a C coder and already had a job as one. He let me use it to play around with Persistence of Vision Raytracer which was an open source 3D scene generating language/platform. His computer was also what I used for accessing BBSes and IRC chat rooms for the first time. I was hooked from then on.
-
I ordered a new, speedy, 128gb patriot flash drive last week. I was so excited! I was going to partition it into a fat32 partition, and a bootable Ubuntu with persistence. Now I have the drive and that seems like something I might fuck up, and I don't know why I needed this so badly. I remembered the 10+ 8gb drives I have laying around. I have a problem.3
-
Just had my reasoning for not doing technical projects for interviews proven.
Pass the first 2 stages of interview (including showing some personal portfolio projects) then after a week of hearing nothing get sent a technical project to complete.
Spend every spare moment for a week polishing this thing, decent front end, quick and efficient back end, low traffic between fe, be, persistence etc.
Submit the code at midday ready for the interview the following day, only for the company to phone at 5pm and say all is fine and the code is great for the final interview (walkthrough) the next day, then phone 5:10pm phone and pull the position.
That company has just had free work done which should have cost 1 weeks worth of fees, using the premise of a job at the end of it, only to take the code that they are super happy with and run with no payout.10 -
Not knowing what persistence was and copying JS objects with JSON.parse(JSON.stringify(...)) trying to make it “pure immutable”.
Fml.4 -
Ok so Swift's module system creates implicit namespace, meaning gone are the days of Objective-c frameworks / classes having prefixes.
I get that, and its a great advancement. But when I'm using 3 different social media SDK's, a networking library and some persistence cocoapods and I have to use classes called "AccessToken" and "Manager" ... come on guys, name your shit better.
I'm looking at you Facebook and AlamoFire!!! -
Week 1 Day 5 - Week 2 Day 5
"It does not matter how slowly you go as long as you do not stop" - Confucius
He had a lot of great quotes but I think that's one every dev who's ever worked on a personal project can get behind. It's been about a week since my last rant so I've got a lot to cover, I got a little busy so my progress has been lacking but I have two days off coming up and I plan on making all my meals ahead of time and turning my phone off to limit distractions.
So far I've worked my way through the first lesion on layouts and getting/editing views by the id. This seems pretty basic once you get comfortable with the topic. I'd like to think this will become second nature once I start to get into the guts of the course. The second lesson started working with internet connectivity and I've just started working through it. A lot doesn't make sense but at the start of the lesson one nothing made sense so I assume it'll all wrap up nicely.
I wanted to publish this two days ago (January 23) but I closed my laptop and forgot all about the rant so now it's two days later and I've made some progress, things are getting easier to understand and I'm liking it. I've also decided to start making something I've always wanted to while I work on android development. I'm going to start making an RPG I've been working on since my sophomore year of high school. I haven't written any code for my game yet but I've got the world development and story air tight. So as an ending statement, I'd like to ask anyone on devRant with game making experience how I should go about structuring my project, and some of the things that aren't going to be easy to find with google searches. I plan on, to the dismay of many other game dev's I've talked to, write it in Java because it's familiar to me and I would probably make a worse game in C++ even though that is the go to language. I'd also like to thank some of you repeat readers for silently encouraging me to keep going just by ++ing my rants every time, JoshBent and Dfox. It's been really nice seeing names pop up every single time.1 -
The taboo of not finishing.
(As I prefaced to many posts I made, don't take this too seriously)
It is very normal in the programming world to get recommended to finish projects.
But I was wondering "what if you don't?".
Of course, we can agree that having little patience or persistence is not good for any endeavor.
But what if this recurrent focus on finishing is also bad?
Granted, I have started dozens of things and only finished one or two of them and none have become popular.
So there's not a lot of support to back my take.
But I definitely learned a lot from these projects. And I definitely had a lot of fun at some points.
In fact, I think if I had switched more often early on I would have been less miserable, and maybe I would have learned more by the virtue of not getting stuck with some project.
Of course this applies as long as you stay within the same field; it doesn't help learning gardening one day but karate the following.
But even then, there are so many hobbies in life that the chance of finding the one that you love and are the best at are very slim. So switching out of the least pleasant ones might bring you to a favorite one.
But, let's go back to programming.
Here, people recommend finishing things as means to become profitable. If you want to live as a gamedev, then you need to sell games, and to do that, you need to finish games.
That is understandable.
But if gamedev isn't your main profit, why is finishing games a requirement?
What's the point of publishing a game that you know looks like shit?
Why? Why should you put time and energy, pain and stress, all the way through the end only to finish or even publish a game that you can feel ashamed of how awful it looks? (because most 1st games look awful).
Why would you ever want to finish something that looks horrible?
First tries are always terrible, and that's fine, nothing wrong with that.
What's wrong is this sheepthought that you should publish to the public every turd that you can produce in your early learning stages.
I've been a programmer for almost 8 years now. I'm not the best out there, but I consider myself ok.
And considering I had some pretty deep depression pits thanks to this mentality, here's my advice to folk having stress with unfinished projects: don't give a single fuck.
If a side project has become stressful, shelf that shit, maybe tell someone about your issues with it. But don't care much about it.
In fact, if you manage to finish a project but it has costed you a great deal of stress, maybe that should be the shameful thing.
Life is too short to waste it considering suicide because you're not a prolific programmer.
And i would argue that iterating 100 times on different things is far more productive (and fun) than fetting stuck or spending shitloads of time on the first one, even if you don't finish any of them.2 -
Started porting one application written in php to:
Golang(and some libraries to make certain sht simpler like GORM and Gorilla amongst a couple of others, most shit is STD shit already built in)
Java Spring(I know it well, but wanted to try this particular app in it, lots of boilerplate although the coded is solid AF)
.NET Core API, which I separated in a series of modules for the domain interface, the persistence logic, the actual api etc, I really dig it. It has a basic React frontend in Typescript whereas the other 2 versions are using the standard Go html/template package and the Twig interface for Spring.
My favorite thus far is Golang. I find it extremely easy to extend, the language reads good enough for a retard like myself to make sense of it fairly easy, really easy to test and experiment with it, any idea I get for something to add(say users and stuff) took me less than 30 mins to figure out while reading the actual documentation, as in the base documentation or just the source code.
I know the language is retard proof, and I am highly enjoying this. Not to say that the other two are bad, not at all, been using C# and Java for years now, but I highly appreciate being able to concentrate on functionality rather than all the fucking architectural boilerplate needed to run basic shit in the other two frameworks. Thus far Golang has been a breath of fresh air the likes Clojure gives me, while not even being a profound or mind blowing language in terms of features(since other than the interface{} and goroutines i can't think of shit) and have not reached a scenario in which I am stuck or dying to have generics one bit for the overall business logic.
The app is growing like crazy in terms of code since the original php application was huge to begin with, but dear me this shit is as simple as it can get without being too technical. Might move it to production once all usability tests pass and force the rest of the staff to learn it. I have one lead dev that damn near refuses to touch anything other than php, and a very eager to try shit out content administrator that comes from a Java and C# background.
all I want to say is how much I love go haha4 -
You seek persistence, stability or want to know what you'll be doing 20 years from now.
You like variety
You want to socialize -
I have an interest in methods to make myself smarter. At times some ideas seem to be just out of my reach. I don't always know the reason why. Eventually with persistence I am able to figure things out. However, I always wonder if there are techniques to learn things faster, better, more completely, with less struggle, etc. Would being smarter help with this. I wondered, "Can I create a program/method to increase IQ through training?"
So I found an interesting book called "The Neuroscience of Intelligence" by Richard J. Haier.
Very quickly I was engrossed in this book. It is written in a very accessible way and slowly trickles in the jargon. The book is basically the culmination of 40 years of studying the subject. The main point of the book is: you cannot increase your IQ through techniques and tricks. The only realistic avenue for increasing IQ is through genetics. Your IQ is based upon nature, not nurture. This is a result of the data, not opinion. The writer of this book follows what the science is telling him. This was not what I wanted to hear. He also went on to explain that the statement "You can be whatever you want to be if you work hard enough." He said this is false. Some people, no matter how hard they try, will not be able to get past certain limitations in aptitude. This statement will probably make a lot of people mad, but the data led this researcher to this conclusion. Though I sense he found this disheartening (my opinion). I know I did.
So after reading this book over the weekend I am a bit perturbed that there are not recognizable techniques to increase IQ through mental exercises. Websites all over will say otherwise, but it isn't a thing.
What to do? I decided I am going to find ways to maximize my potential. I will create a set of mental exercises that help me use what I got to the full potential. I know when I see different ways to think about things I get a bit better at solving problems. So learning and experience is still a way to improve your intellect, if not IQ. If I feel like I have made progress in this endeavor I will definitely share.
If you have any interest in neuroscience then I recommend the book I read this weekend. It is very accessible for the reader not versed in the subject. I knew virtually nothing about the topic and now I feel I have a good grounding in the state of the art. It has some neat info on some potentially better approaches to AI as well.7 -
I recently performed a huge refactoring effort on a Java project converting both the persistence and utility layers to Kotlin. Gotta say, I think I'm starting to fall in love with programming again!
Putting aside how pretty it is now, I've reduced those two layers by over 2400 lines of code -
1) Browse high level documentation on the matter.
2) Find a semi-guided source of in-depth material (usually a book).
3) Start working with the technology.
4) Supplement with YouTube tutorials if necessary.
5) Fail initially.
6) Eventually succeed after much persistence.3 -
When you don't commit anything until after 48 hours of work.
I was just ready to get this feature finished so I could finally get some sleep, and in my persistence, I neglected to commit every once in awhile.
Now I've finished the feature and have all of these changes; I had to explain myself in the commit description.6 -
So I've been forced to do a new project with Spryker (PHP ecommerce framework) ... some of you guys may know that normally I do SAP hybris stuff (since a few years). I tend to rant about it (not just here but everywhere :-D)
But now as I'm trying to extend Spryker's domain model I realize how good hybris actually is ...
Well actually I alwas knew that the persistence layer is awesome (that's why I tried to implement a quite similar approach with https://core-next.io). But the rest is ... shit.
But Spryker's persistence layer - based on Propel - is ... just ... WTF. Designing tables and relations in XML on such a low-level-with-basically-no-abstraction-even-not-allowing-proper-inheritance WTF.
Fuck you Spryker, fuck you Propel, fuck you PHP. I want my beloved java-hybris-fuck-the-world-persistence-layer back ... -
"The real issue is not talent as an independent element, but talent in relationship to will, desire, and persistence. Talent without these things vanishes and even modest talent with those characteristics grows." - Milton Glaser1
-
I can't stand getting assigned tasks via email. There's no persistence. I don't want to manually go enter the data into a tool that you as my manager could have done the first time.
-
Here we go again:
--------
Hi xxxxx,
My sincere apologies for my professional persistence while I am having a very difficult time in getting hold of you.
My intention is to know your interest in scheduling a quick call with my Director at your free time. We are not looking for any business opportunities rather we would like to get introduced & make you aware on our full range of capabilities at a global stand point.
Let me know please.
Regards,
Sandeep
--------
In a single sentence he basically said, "We are not trying to sell you something, rather we are trying to sell you something."
Seriously?3 -
In MSSQL, can SELECT JOIN (SELECT ...) queries actually end up using disk space rather just RAM?
I ran one of those last week and now am wondering if that's the root cause of a huge DB file with a lot of unallocated space.
Seems it may just use an existing DB file and expand it (without cleaning it up afterwards) but not sure...
Any ideas on how so this works and well show to make it so disk space used for queries get cleaned up properly or easier to just shrink or remove without touching the DB file there's actually used for persistence?8 -
Week 1 day 3 and 4.
I didn't feel like I did a whole lot yesterday so I just pushed it into today. In the past I tried to program for hours everyday and expect to keep up my stamina for it but it didn't work so this time I'll just take days off every now and then and see if that works at all. Yesterday was one of those, the only thing I did was watch some videos on OOP and practice some more with OOP and recursion.
As far as today goes I started sketching our the ideas for my own personal app I hope to develop once I get the skill set. I tried to focus on looking at it not just from the perspective of a developer but also a user and a marketer to see vialibity and such but I have a LONG time to go before I can get my idea rolling. I decided to push starting the actual course until tomorrow because Ina small questionnaire before you go into it it asks if you're familliar with threading and networking, which I am not. So that was my main focus today, expanding my base Java skill set. If any Android Devs can give from their experience want I need to know I would love that but other than that I feel pretty good about what I did today. -
okay so i was upgrading all of my packages on my Kali Linux (persistence) with apt-get upgrade but it got interrupted by me trying to copy something and me impulsively doing ctrl c. Now, it seems that no apps want to open and i can't open the terminal to do anything. i was gonna ssh but i turned off WiFi afterwards. how do i finish updating apt without a shell and how do i get my apps working?
- sidenote, Firefox seems to work so maybe it's only system or gnome applications like settings and terminal?5 -
Update 2: https://devrant.com/rants/5446637/...
Not saying that my boss is wrong, but the way he gives feedback and teach me is just awful. Just today, a new colleague told me that one of the ex-team member quit because of our boss.
Anyway, the activity I was working on, I nailed it.
In morning connect, boss specifically told what he was looking for and made me do a live task and gave feedback. That made me realised what he was looking for.
I spent the day completing the activity. When I showed him, his jaw dropped.
He tried to pick on few things, but failed to do so.
He loved the output. Praised me and my persistence. Finally, the history repeated itself, and I learnt more about communication.
Possibly my weakest point out of all, where I was failing in interviews and had to fix that. Now, I got some pointers and will work on it to excel futher.
Yes, things were stressful, but I came out to be stronger.4 -
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 -
I don't know... I'm very sceptic about JPA. I worked on a project using this technology and having much trouble and now I'm working on the second one, but sincerely I prefer the standard SQL approach. What do you think guys about this framework?1
-
Anyone know how to make a persistent backdoor with Kali, without setting off any AV? I can make the payload fine, but when setting persistence, shit hits the fan
-
First and foremost, it's essential to figure out which IRS office is closest to your location. That, in itself, can be a daunting task, especially if you're not familiar with the area. Using the IRS's online office locator is a helpful start, but sometimes, even that leaves you with more questions than answers.
Then comes the joy of trying to get in touch with someone who can provide the specific information or assistance you need. Long hold times, automated systems, and a seemingly endless stream of recorded messages can leave you feeling like you're caught in an endless loop.
And let's not forget the paperwork. Different IRS offices often have different procedures, so finding the right forms and knowing how to fill them out correctly can be a headache.
In the end, it feels like a journey filled with frustration and uncertainty. But, here's a tip from someone who's been there: persistence pays off. Keep trying, be patient, and, if possible, reach out to others who've had similar experiences. Sometimes, a bit of collective wisdom can make this daunting process a little more manageable.3 -
JPA my friend ... JPA why are you like this? JPA why do hate me so much? JPA, let's have a word ...
How come you are so far away from real-world problems, so cumbersome to use, so ugly (criteria API), so wrong and inconsistent?
Oh, what it's all your parents fault? Oh come, on that can't be, right? Did you have a bad childhood?
Your parent's were fucking crack-smoking maniacs which didn't know a single bit about actual databases?
They design you as an API without actually trying you out in the wild? And then they patched up together with some essential DB stuff, like friggin indexes? Not even tried to make this API consistent nor really functional?
Oh poor, you little JPA ... -
sitting here at internship bored out of my mind i got the program working and the next step is to add persistence to the micro-controller so i'm supposed to be reading up on that but i just get bored so easily i learn quicker with hands on practice so i'm just gonna wait until he gets me other board i'll be connecting to an I/O pin to add persistence1
-
I can't post a collab from the web client and I don't have a decent phone atm, anyways, this is an idea, tell me if you have any improvements or if you know of an implementation or would be interested in creating one.
A social network comment system that connects people across fields of interest and aids keeping relevant posts alive for a long time.
The basic principle is this: Every post may identify itself as a child to any number of other posts, or sections in other posts, which then act much like a bidirectional hyperlink between parent and child.
This leads to two unusual results:
1. that comments aren’t only added to posts, but specific paragraphs, sentences or even words.
2. that any comment may receive comments in much the same way the original post did, making comments identical to posts. (they could have their own pages and all).
This is in many ways like Reddit's infinite comment chains. The main difference is that here comments aren’t organized in trees but graphs, which makes it possible to connect related conversations from entirely different groups and times, resulting in a much more open yet concise discourse style with an increased persistence of topics. -
Week 1 Day 2
Today was an eye opener. Tried to make a simple class to model a fraction, and forgot pretty much everything. I realized it's been close to one and a half years since I did any serious programming. All I did today was spend a few hours going over all of the basics, and double/triple checking my OOP skills. Tomorrow I plan on familiarizing myself with Android studios and Android device basics. The day after I'll start the actual curriculum. Still feeling really good about all of this and hopefully it'll stay that way. -
I guess I'll just die.
Using unity for a commission project:
Have a CCG-like setup, the cards inherit from Scriptable object, need to serialize a card inventory for the sake of persistence.
Attempt 1: XML serialization: get fucked, can't serialize dictionaries (what the hell)
Attempt 2: using data representation of the dictionary contents: get fucked, can't serialize Scriptable objects because they have to be handled by the engine...
Well okay, what if I use a Scriptable object to keep a persistent dictionary?
Attempt 3: Scriptable object with dictionary: get fucked, the dictionary didn't persist
Well now I'm starting to lose it, I've tried so many things, XML, Binary and JSon serialization, Scriptable objects, data representations, I'm really running out of ideas. I can only think of one more option: throw the Card objects into a Resources folder, an build a set of comma delimited strings to serialize. This is stupid.
Fuck Unity. Shit like this is why I'm making my own engine. Every week I find some new peeve, some new way that unity is full of redundancy and poor design, architectural flaws and workflow deficiencies. I don't know how much more of this I can take.2 -
and before thy kingdom; there is a great invisible path which is yet to be discovered; with fog and obstacles; and thou who dares to fight through it with abundance and persistence; thy shall acquire thee kingdom3
-
!rant
Never done a "full-fledged" Android app, but I had to, for school.
It works (by now), now I can sleep3 -
The ability to generate to generate all of my data transfer objects/, data persistence objects/entity, and unit tests for those.
I love having solid data models before I begin to work with behavioral models but it's a lot of manual work. -
I want to learn, How to add test cases in android And also about layer code pattern. like Controller, View, model, persistence, network etc...
So Please suggest a few tutorial or blogs that help me.
And please give me some links that have a test for network functions and intent related test.
Something like the test for other methods that work of different thread. (Asynk task, Volley or etc..).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! -
Hi guys, i got a new laptop and i want to use pop os as my main os, i want to know if my data is gonna be saved or do i have to use persistence ?3
-
For persistence, either credentials or data, is there any best practice that prefer DATABASES over FILES? Files such as JSON or txt or whatever...
Do dbs offer better perfomance or security?💾5 -
"WOW TECHNOCRATE RECOVERY is a treasure. I was gifted some crypto by my ex-boyfriend about 3 years ago, and this marked my introduction to the world of cryptocurrency. Initially, it was just a curiosity, but as my crypto assets grew to over $112,000, I found myself deeply immersed in the financial opportunities it offered. This transformative experience ignited my passion for cryptocurrencies, leading me down a path of exploration and investment. However, in January 2024, my journey took a dark turn. Enticed by a link on Facebook, I made some crypto investments, confident in my knowledge of the crypto space. Little did I know, I was about to fall victim to a scam. My $112,000 in crypto assets was suddenly inaccessible, leaving me in a state of panic and disbelief. Desperate for a solution, I sought help through various channels, only to be deceived further and coerced into paying thousands of dollars in futile attempts to regain access to my account. A glimmer of recovery emerged in the form of a casual conversation with a friend. Mentioning a team that could potentially assist me, I remained skeptical. It wasn't until our lunch meeting two weeks later that her persistence nudged me to reconsider. Walking me to my car, she urged me to give TECHNOCRATE RECOVERY a chance. With nothing to lose, I decided to reach out. The following morning, armed with the team's email, I hesitantly sent off a message detailing my predicament. To my surprise, within a few hours, I received a reply. Skeptical yet cautiously optimistic, I provided the requested information regarding my stolen crypto assets. And then, the unimaginable happened. Within a week, TECHNOCRATE RECOVERY had successfully recovered all of my lost funds. Overwhelmed with gratitude, I couldn't contain my joy as I shared the news with my friend. "You did this, thank you!!!" I exclaimed over the phone, unable to find the words to express my relief and appreciation. It was a moment of triumph, a testament to the effectiveness of TECHNOCRATE RECOVERY's expertise and dedication. Since then, I've made it my mission to spread the word about their remarkable service. In a world fraught with scams and uncertainties, knowing that there's a reliable team capable of restoring lost assets brings a sense of reassurance. I urge anyone facing similar challenges to consult the best in the business—TECHNOCRATE RECOVERY. Don't hesitate to reach out; you never know whose life you might positively impact. Trust in the experts, and reclaim your digital assets"
SEND MAIL: Technocratrecovery(@)contractor. net
WEBSITE INFO: w ww.technocraterecover y.site -
CRYPTO SCAM VICTIMS RECOVER THROUGH PROFESSIONAL RECOVERY SERVICE DIGITAL HACK RECOVERY
I had lost a substantial amount of Ethereum (ETH) and went through a string of unsuccessful attempts with various so-called 'recovery' firms. Each time, they promised a quick resolution, charged me hefty fees, and then left me with nothing to show for it. I was stuck in an endless cycle of disappointment and financial loss. Many of these companies seemed like they were just taking advantage of my desperation, offering vague solutions and making empty promises. I had nearly given up when I came across Digital Hack Recovery. Right from the start, they stood out as a breath of fresh air. They didn’t rush into anything or make wild claims. Instead, they took the time to understand my case, explained the complexities involved, and kept me informed throughout the process. The website was professional, clear, and easy to navigate. I read through the testimonials, which seemed genuine, and the process outlined felt reassuringly methodical. I decided to give it a shot. I submitted my details and explained my situation, hoping against hope that this would be the one service that could actually deliver results. Within hours, I received a response from their team. They asked me a series of technical questions about my wallet and recovery attempts. For the first time in months, I felt like I was talking to someone who understood what I was going through. Digital Hack Recovery’s team was incredibly patient. They didn’t promise me a quick fix, but rather, they explained the process step-by-step. I appreciated their transparency. Over the course of the next few days, I worked closely with their experts, who guided me through the process of verifying my identity and making sure I hadn’t overlooked any potential recovery methods. Slowly but surely, they started to narrow down what had gone wrong with my previous attempts and developed a custom recovery plan based on my specific case. The recovery process was a bit of a rollercoaster. There were moments of doubt—when things didn’t work as expected, or when the progress seemed slow—but the team at Digital Hack Recovery was there every step of the way, reassuring me and providing updates. And then, one afternoon, it happened. They sent me an email with a subject line I’ll never forget: "Your ETH is Recoverable." My heart raced as I opened it. They had successfully recovered my ETH. The process was painstaking, but their expertise and persistence had made it happen. What impressed me most was their transparency and professional approach. After months of fruitless efforts with other firms, Digital Hack Recovery successfully recovered my lost ETH. They restored my faith in recovery services, and I am forever grateful for their expertise. If you’ve been through similar frustrations, I highly recommend Digital Hack Recovery—they are a legitimate, trustworthy team that delivers real results. If you need quick assistance contact Digital Hack Recovery via ⁚ WhatsApp +19152151930
Email; digital
hack recovery @ techie . com
Website; https
: // digital hack recovery . com3 -
Persisterising derived values. Often a necessary evil for optimisation or privacy while conflicting with concerns such as auditing.
Password hashing is the common example of a case considered necessary to cover security concerns.
Also often a mistake to store derived values. Some times it can be annoying. Sometimes it can be data loss. Derived values often require careful maintenance otherwise the actual comments in your database for a page is 10 but the stored value for the page record is 9. This becomes very important when dealing with money where eventual consistency might not be enough.
Annoying is when given a and b then c = a + b only b and c are stored so you often have to run things backwards.
Given any processing pipeline such as A -> B -> C with A being original and C final then you technically only need C. This applies to anything.
However, not all steps stay or deflate. Sum of values is an example of deflate. Mapping values is an example of stay. Combining all possible value pairs is inflate, IE, N * N and tends to represent the true termination point for a pipeline as to what can be persisted.
I've quite often seen people exclude original. Some amount of lossy can be alright if it's genuine noise and one way if serving some purpose.
If A is O(N) and C reduces to O(1) then it can seem to make sense to store only C until someone also wants B -> D as well. Technically speaking A is all you ever need to persist to cater to all dependencies.
I've seen every kind of mess with processing chains. People persisting the inflations while still being lossy. Giant chains linear chains where instead items should rely on a common ancestor. Things being applied to only be unapplied. Yes ABCBDBEBCF etc then truncating A happens.
Extreme care needs to be taken with data and future proofing. Excess data you can remove. Missing code can be added. Data however once its gone its gone and your bug is forever.
This doesn't seem to enter the minds of many developers who don't reconcile their execution or processing graphs with entry points, exist points, edge direction, size, persistence, etc.2 -
Okay, so debian is just fucked by default then.
Created a Debian 10 persistence stick, and I'm having the fucking xorg issues ("No screens detected", xrandr says the same) i've had every fucking time i've installed debian, except a simple round of dpkg-reconfigure isn't fixing it this time.
Suggestions?
Things tried:
- dpkg-reconfigure <every package even remotely related>
- X -configure
- installing all firmware from linux-firmware repo
- reinstalling everything remotely related (with both reinstall and purge/install)
- Wayland ("failed to create compositor backend")
- creating my own xorg configs and driver-radeon configs and all that shit with my screen explicitly defined
- remaking the stick with a redownloaded ISO
- actually installing it to a HDD first
- crying in frustration
- different monitors
- someone else's machine (both AMD GPUs, mine's an R9 380, his an RX 3-digit something-or-other)
- an NVIDIA card (other tester threw his old 1080TI in his PC, set up all the drivers and shit, and nothing fucking changed)
what is this, Fedora?3 -
HIRE FAST USDT-BTC RECOVERY EXPERT\FOLKWIN EXPERT RECOVERY.
I had a dreamlike beginning to my Bitcoin journey. The success stories and the notion that cryptocurrencies could transform how we invest and accumulate money enthralled me. I made a sizable investment in Bitcoin after doing extensive research and planning in the hopes of securing my financial future. Everything seemed ideal for a while, and my investment seemed to be yielding positive results. However, everything came crashing down. My Bitcoin was taken due to a huge hacking attack and a succession of missteps, which saddened me. My hard-earned savings and investments were gone in an instant. My loss was unbearably heavy. I not only lost a lot of money, but I also felt like I had failed myself and my future. I was overcome with regret, fear, and helplessness. Every attempt to get access to my cash failed, and the prospect of ever seeing my money again became increasingly distant. In my efforts to look for a helping hand, I contacted various so-called "recovery services," but they all revealed to be scams or failed to deliver any meaningful remedies. I was frantic, terrified that my money had been lost forever, and I was sinking more into despair. The prospect of irreversible financial devastation worried me, and I felt worthless. That’s when I found ( Folkwin Expert Recovery ). At first, I was hesitant. After all, I had already been burned by false promises. But after reading about their track record of successful recoveries and their professional, transparent approach, I decided to give them a chance. It felt like my last shot at recovering what I had lost. After weeks of persistence, I received the incredible news that my stolen Bitcoin had been recovered. The relief I felt was overwhelming. What had seemed like a hopeless situation had been reversed, and my financial future was no longer in jeopardy. I couldn’t believe it—I had been given a second chance. Thanks to ( Folkwin Expert Recovery ), I was able to overcome the devastation of losing my Bitcoin and begin to rebuild my financial security. They showed me that with the right team and the right approach, even the most devastating losses can be turned around. Contact Folkwinexpertrecovery (AT) tech-center (DOT) com or W-h-a-t-s-A-p-p; +1 (740)705-0711 for help.
Regards,
Edward H Macnamara.3 -
The Turnaround: How Cybernetsurveillance Saved My Lost Crypto Investment
A few months ago, I fell victim to a cryptocurrency scam that nearly wiped out my savings. It started with a seemingly legitimate investment platform offering early access to a new decentralized finance (DeFi) project. The platform was polished, with professional branding and detailed project information. I even had a brief conversation with one of their “representatives,” which gave me the final push to invest. I transferred a significant amount of cryptocurrency, confident that I was getting in on the ground floor of a promising opportunity. But within weeks, the platform shut down, the representatives disappeared, and my funds were gone. It was a devastating blow, and I felt completely at a loss. In my desperate search for solutions, I came across Cybernetsurveillance and reached out to them with a glimmer of hope. Their team responded swiftly and took immediate action. They walked me through their process, explaining how they would analyze the blockchain to trace the stolen funds, even if the scammers had used complex techniques to hide their tracks. I was impressed by their thoroughness and reassured by their experience in dealing with these types of cases. For the first time since the scam, I felt like there was a real possibility of getting my money back. Over the following weeks, Cybernetsurveillance worked tirelessly to track down the scammers’ wallets and unravel the network of transactions linked to my stolen crypto. Their persistence paid off—they were able to identify key accounts involved in the scam and worked with relevant exchanges to freeze them. To my amazement, they recovered a portion of my lost funds. It was a relief I hadn’t thought possible. The team not only returned a significant amount of my investment but also provided advice on how to better protect myself in the future. Thanks to Cybernetsurveillance, I regained my footing and learned valuable lessons about navigating the cryptocurrency world. Their expertise, dedication, and transparency throughout the process were nothing short of exceptional. I can’t recommend them highly enough to anyone who has been caught in a crypto scam. Cybernetsurveillance truly turned my situation around.
You can also reach them via their other email: Mail @ Cybernetsurveillance . Site. OR Cybernetsurveillance @ mail . Com
WhatsApp: +1 (908) 883‑7240 -
CONSULT RAPID DIGITAL RECOVERY- FOR TRUSTED CRYPTOCURRENCY RECOVERY EXPERT
Web site Info: https: // ra pi ddigit alrecove ry .o rg
What sapp Info: +1 41 4 80 7 14 85
Em ail Info: rap iddi gital reco very @ exe cs. com
Scams can be a harrowing experience, often leaving individuals feeling hopeless, embarrassed, and confused. You might think you’re too savvy to fall for one — isn’t that what we all believe? Unfortunately, the reality is quite the opposite. Scammers are relentless in their pursuit, constantly refining their tactics to fool even the smartest among us.
Not too long ago, I found myself entrapped in a sophisticated crypto scam that promised staggering returns. It all started innocently enough. An investment opportunity appeared, boasting claims of rapid riches and unbeatable success. I dove in headfirst, swayed by visions of grandeur, pumping $400,000 into this glittering pit of hope, convinced that life-changing profits were just around the corner.
It wasn’t long before that illusion came crashing down when I attempted to withdraw what I thought was my well-deserved profit. That’s when the red flags began to surface. The scammers, equipped with an arsenal of manipulative tactics, insisted I pay more fees before I could touch my own funds. Every excuse rang hollow, yet I clung to the belief that the nightmare would soon end. Fortunately, amidst my despair, a friend stepped in with a lifeline. They recommended Rapid Digital Recovery, a dedicated service that specializes in helping individuals reclaim their lost investments. With their expertise and guidance, I managed to navigate the complex web of deception, ultimately retrieving my hard-earned money. What I learned through this ordeal is invaluable. Scammers prey on trust and hope; they exploit our good intentions, turning them into a nightmare. But there are methods and resources available to fight back against these fraudulent attacks. With persistence and the right help, recovery is not just a dream — it can be an achievable reality.4 -
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. -
ADWARE RECOVERY SPECIALIST ARE ALWAYS AVAILABLE TO HELP YOU GET YOUR LOST BITCOIN BACK HIRE THEM NOW
Website info: h t t p s : // adware recovery specialist. expert
WhatsApp info:+12 723 328 343
Two months ago, I found myself deeply involved in what I thought was a promising investment opportunity. I was excited and optimistic about the potential returns. Unfortunately, my enthusiasm quickly turned to despair when I discovered that the investment company I had trusted was nothing more than a sophisticated scam. Initially, everything seemed legitimate. The company was well-organized, their website looked professional, and the brokers were persuasive. I invested a significant amount—AUD 45,000 in Bitcoin—believing it was a wise decision. I was confident that my investment would yield substantial returns. However, things began to unravel when I requested a withdrawal of my profits. At first, everything seemed normal. I filled out the necessary forms and anticipated receiving my returns. Email info: Adware recovery specialist @ auctioneer. net To my dismay, the company started asking for additional fees and commissions before processing my withdrawal. I was skeptical and hesitant but eventually paid the requested amounts, hoping it would resolve the situation. Unfortunately, the demands didn’t stop there. The company continued to come up with new excuses and additional charges, trying to extract even more money from me. Despite my growing frustration, I initially tried to comply, believing it was the only way to recover my investment. However, when they started inventing even more fees and excuses, I decided enough was enough. I refused to pay any more money, standing firm on my decision not to send another dime until I received my initial investment and profits. As time went on, the broker who had initially introduced me to this company stopped responding to my messages. Despite my repeated attempts to reach out, my messages were read but never replied to. It became clear that I had been completely cut off and left in the dark. Desperate for a solution, I began searching for help online. That’s when I came across ADWARE RECOVERY SPECIALIST . I was skeptical at first, having been duped once already, but I needed to try anything to recover my investment. After reaching out to ADWARE RECOVERY SPECIALIST , I was surprised to find them professional and dedicated to their work. They assessed my situation and assured me that they could help. To my amazement, they successfully navigated the complex web of deceit and managed to retrieve my full investment. They transferred the entire amount—AUD 45,000 in Bitcoin—back to my Trust Wallet address. Their expertise and persistence were impressive, and they proved themselves to be the genuine deal in an otherwise sea of fraud. I must admit that I had significant doubts at the beginning, but ADWARE RECOVERY SPECIALIST exceeded my expectations and restored my faith in recovery services. Their success in recovering my funds was not only a financial relief but also a huge emotional boost after such a stressful ordeal. For anyone who finds themselves in a similar predicament—caught up in a fraudulent investment scheme—my strong recommendation is to contact ADWARE RECOVERY SPECIALIST. They have demonstrated their capability and reliability in recovering lost investments. Don’t hesitate to reach out to them for any recovery needs. Their expertise can make a significant difference, as they did in my case. while my experience with the fraudulent investment company was extremely distressing, the intervention by ADWARE RECOVERY SPECIALIST provided a crucial lifeline. Their professionalism and effective recovery solutions were a beacon of hope and helped me reclaim what I had almost lost. If you’re facing similar challenges, seeking their assistance could be the key to recovering your funds and moving forward from the ordeal of financial deception.