19 Archived Topics
Remove Filter I'm trying to use CLion (thus CMake) to create OpenGL applications using C++ on MacOS Monterey using a 2021 (so M1 based) Macbook. Glew2 and GLFW3 are installed correctly using Homebrew, XCode and the commandline tools are installed as well. Creating and compiling/running through XCode works fine, but using the … | |
Similarly, you can add more fields to an enum and simply provide accessor methods to retrieve them. For example you could change it to have an extra field indicating an output directory to write specific types of data to, and a getter method to return that directory. | |
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" p:packagesToScan="jpatest.engine"> <property name="dataSource"> <bean class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="org.firebirdsql.jdbc.FBDriver" /> <property name="url" value="jdbc:firebirdsql://localhost:3050/testdb" /> <property name="username" value="xxxxxxxx" /> <property name="password" value="yyyyyy" /> </bean> </property> <property name="jpaVendorAdapter"> <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"> <property name="database" value="DEFAULT" /> <property name="showSql" value="true" /> <property name="databasePlatform" value="org.hibernate.dialect.FirebirdDialect" /> </bean> </property> <property name="loadTimeWeaver"> <bean class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver" /> </property> … | |
The latest from Microsoft research: a new language based on O'Calm, called F#. Read about it and download the compiler and documentation to try it for yourself. Make your colleagues scratch their heads wondering what the heck you're writing in :cheesy: [url]http://research.microsoft.com/projects/ilx/fsharp.aspx[/url] | |
The question how to create HTML output to the browser from a Servlet based on XML data often comes up. Here's a fully functional example on how to achieve this using Jakarta Xalan 2 and Xerces 2. The system is quite simple, most of the code is concerned with housekeeping … | |
Validation whether a string can be parsed to a valid date according to a supplied formatting string (which should conform to the formatting rules as supplied in DateFormat). This version can also flag dates in the past as error (we need that because many of our applications should accept only … | |
Please take a moment to mourn the loss of my faithful CPU, who died this morning in a blaze of heat :'( [URL="http://hornet.demon.nl/tmp/DSC_6915.jpg"]http://hornet.demon.nl/tmp/DSC_6915.jpg[/URL] | |
I've installed PS Elements 4 (replacing PSP7 and PS Elements 1), but can't get it to work properly in combination with Vuescan. When Vuescan is done scanning it starts PSE4 as required but the new file doesn't load. When using the same setup (set the application to be used in … | |
I'm looking to (within a few months hopefully) buy me a (semi)professional photoprinter. At the moment the Epson R800 looks very promising but I'm a bit wary of spending some €350 on a device I've never seen in action and noone around here has it in stock to demo. Does … | |
I'll be visiting the Delphi 2006 launch in the Netherlands on the 29th. First time to meet DavidI and other dignitaries in several years. | |
[url]http://www.hacknot.info/hacknot/action/showEntry?eid=76[/url] has an excellent rant about the problems of visual editors (aka GUI builders). While he talks specifically about Java, the same holds true for all of them. And yes, that means Visual BASIC and Delphi as well, languages which traditionally are seen as almost purely visual. I've done several … | |
yes, there's an area of Java I'm almost a complete novice in (so far, I'm going full steam ahead :cheesy: ). I've the following code to filter out non-numeric input from a JTextField (which is meant to contain a timeout interval in minutes, that's why). [code] private void dumpNonNumericInput(KeyEvent e) … | |
[B]Problem[/B] Due to a rather annoying and very old bug in JTable you will never get a horizontal scrollbar on a JTable even if the table is wider than the JScrollPane you placed it in. According to the bug report this is due to an error in the handling of … | |
Yesterday evening Windows Update crashed telling me 2 updates had failed to install. After rebooting IE no longer seems to support Javascript or any plugins (Flash, Java, etc. all fail), HTML Help no longer works, popups don't pop up (that's often nice), etc. Is there any solution to this except … | |
[B]Intro[/B] I've been fooling around with RMI today for fun and learning and got some serious headbanging when I couldn't get any of the examples I have in books by respected authors to work with JDK 1.5 (a.k.a. Tiger). All tutorials and examples on RMI say you should run rmic … | |
[B]Symptom:[/B] Error "database unavailable" when trying to connect to a Firebird database even if fbserver is running fine (and Java applications connect, isql works great, remote clients can connect great, etc.). [B]Scenario:[/B] You have just installed Firebird on a machine that previously had Interbase installed and are trying to run … | |
Installed a new videocard today. Plugged in the powersupply as directed (since when do videocards need powersupply anyway...). Turned on the PC, start MSFS2004, marvel at the graphics. 5 minutes later my screen goes black and the PC boots itself. Try again, same thing. Turn it off, check everything again, … | |
A piece of JavaScript on one of our pages gives an access denied error. In itself nothing strange, it's a reasonably well defined error after all :) What is strange is that the error ONLY happens on that page (despite identical calls to the JavaScript function appearing on several other … |
The End.