Computing desk | ||
---|---|---|
< July 4 | << Jun | July | Aug >> | July 6 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Briefly, what are the steps for turning a Java GUI program that only runs on my IDE into a downloadable desktop application? I know it has something to do with .jar and .exe files, JavaFX, and I’ve read this and this, but it all seems like gibberish to me. So, can someone give me a brief outline of how this works. How do I get started? --PuzzledvegetableIs it teatime already? 02:29, 5 July 2020 (UTC)
Hi guys,
I wrote a Android app aiming to read and output Sensor readings. Whereas, the following part keeps throwing me "NullPointerException"
try {
writer.write(String.format("%d; ACC; %f; %f; %f; %f; %f; %f\n", sensorEvent.timestamp, sensorEvent.values[0], sensorEvent.values[1], sensorEvent.values[2], 0.f, 0.f, 0.f));
Do you have any idea about solving this? Thank you!
--Deep humility (talk) 08:00, 5 July 2020 (UTC)
writer
is null. Thank you both very much!! --Deep humility (talk) 09:32, 10 July 2020 (UTC)There's a classic old Firesign Theater line, "Then, in the late Devouring period, fish became obnoxious." My problem is that today, in GNU emacs, incremental searches became caseful. I don't know how I did this, and I don't know how to turn it off.
I was probably doing an incremental search, and I probably hit some control key by accident.
According to the manual, I can use M-c to toggle case folding on or off during an incremental search. But that couldn't have been it, because in my emacs now, M-c during an isearch does indeed make that isearch caseless, but the next isearch starts out caseful again. Somehow I've changed the default.
According to that same page, the variable case-fold-search controls the default, but I don't know what key combination I might have hit to turn that variable off, nor have I figured out a way to set it to t again.
I'm probably going to have to exit and restart emacs to fix this (a stinging and ignominious defeat), which would certainly be much more expedient than figuring this out or asking about it here, but my fear is that, whatever I accidentally did, I might do it again, and if I don't notice right away I could make arbitrarily many serious mistakes, searching for strings and concluding they're not there (a technique I use all the time), only to reach a wrong conclusion because of not realizing that isearches had surreptitiously become caseful again.
So, does anyone know how to figure out what key combination might be configured to clear or toggle the value of case-fold-search? —Steve Summit (talk) 13:45, 5 July 2020 (UTC)
[Footnote: Just before posting this, I discovered an entire "customization" subsystem within GNU emacs which I'd never even heard of, and after playing around a bit within it it looks like I've successfully erased a customization and reverted case-fold-search to its former state. But the question remains, what might I have done to accidentally customize it in the first place?
M-x set-variable
, though probably not by accident. --Stephan Schulz (talk) 23:46, 11 July 2020 (UTC)