|
Search
-
Was debugging today, ended up in the Hibernate source code. Turns out that the constructor of SessionFactoryImpl weighs in at >325 lines and contains nuggets such as a local class and sections where the comments give a perfect suggestion of a suitable method name for them. Lo and ...
-
Something tells me that this is how the questions on the ballot would be formulated if North Korea ever held a referendum.
-
-
Are you not behind NAT? Because if not, Skype might have "upgraded" you to a Supernode, routing a whole lot of traffic through your machine. Not exactly what you expect and very sneaky, but it's what makes Skype an effective p2p system. Worked some with Skype, and it really is a master of disguise. Punches holes in firewalls like a ...
-
Seriously, Speakerphone Dude, how can you live with yourself defending a db design with 13 config tables? Just listen to yourself. First there is the broken window principle. And this looks more like a shattered skyscraper to me. Secondly, there is the professionality aspect. If any product I bought / used had enumerated tables like that I would ...
-
Most perf problems IMO are due to for-loop-oriented programming, where the coder uses loops for everything. Bonus points for not considering object lifetimes and thusly recomputing things needlessly ad infinitum. There is nothing like a O(n^7) algo for heating your server hall!
Stringly typed programs can be bad, but are nothing in ...
-
Yeah, Eclipse and NetBeans have free profilers. And the are quite good. IntelliJ does not, but it integrates well with JProfiler and Yourkit, and probably others. As already mentioned, jvisualvm has a lightweight sampling profiler. There is also one available on the command line (HPROF).
I can feel the pain of having six months of unshipped ...
-
[quote user="BC_Programmer"] some ridiculous argument that "there is no reason to think that a=b assigns a value to a, because some language that nobody uses might do it the other way"[/quote]
I always thought that using the equal sign for assignment is bound to cause confusion. The equal sign is supposed to denote ...
-
[quote user="Cassidy"]
"default-storage-engine" setting in your config file is your friend.
[/quote]
Yeah. Good idea, except that isn't really viable in practice, since you work with different db's all the time. Having UTF-8 and InnoDB as the default would be more useful.
[quote user="Cassidy"]
I'm ...
-
[quote user="morbiuswilters"]
I found your problem: don't use MyISAM.
[/quote]
The main problem is that I sometimes forget to specify InnoDB as a storage engine, and that is when you get these silent errors.
[quote user="morbiuswilters"]
Why would that cause it to reuse IDs? That page just says that when MySQL ...
|
|
|