« first day (809 days earlier)      last day (3200 days later) » 

12:00 AM
RELOAD!
 
dbo.fnApplySalesTax(SalesTaxRate,Price) * Qty
 
There are 1366 unanswered questions (94.6513% answered)
 
Ah OK, that would make sense. Why are they crap for performance?
 
I don't know. Ask Duck, I guess.
 
2
Q: Synonymize [sql-server] and [t-sql]?

Phrancissql-server and t-sql (short for Transact-SQL) both represent practically the same thing, which is Microsoft's proprietary RDBMS. From Wikipedia: Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to SQL. [...] Transact-SQL is central to using Microsoft SQL Server....

 
12:04 AM
TTGTB
 
'Night Simon!
 
uh...
0
A: Draw an arc based on a given percentage

nhgrifI want to focus on just the getGraphStartAndEndPointsInRadians() method of your class, as this is the area I see the most problems with a cursory glance. First of all, from the method name alone, I can tell it does too much. The word "and" should very rarely be used in method names. It's usage...

 
I was just about to say that.
It's past 2 AM here.
TTGTB
 
'Night Mast!
 
Night @all
 
12:09 AM
They can be crap for performance because they get executed once per row. As always, it depends.
 
Well... is it any worse than what you'd have their anyway?
 
You're trading off maintainability for raw speed.
Yeah. Actually. I don't understand the details, but the way it happens under the hood is different for a scalar than a UDF.
Write it both ways. Compare the plans. I hate SQL.
3
 
12:30 AM
UDFs look handy, reading about them now
 
1:05 AM
0
Q: When is it okay to post multiple answers?

SirPythonRecently, I decided to look over this post again. As I was reading all the answers, I started to get the feeling that I had seen an answerer's name more than once. Scrolling back up the page, I found out that a single user had posted multiple answers. When is this sort of thing okay? If you hav...

 
Monkevening
 
Hello, @EthanBierlein!
 
Hey @EthanBierlein
 
Hi @RubberDuck
Hi @SirPython
 
@SirPython there's a meta somewhere encouraging that.
 
1:12 AM
Should questions have puns in their titles? Or is that just for s?
 
Puns should be all over meta!
7
 
That ^!!!
 
lol. Actually, I was thinking of editing the title of this question to "[sql-server] UNION [t-sql]", so, not really a pun, but still.
 
SELECT [sql-server] AS [t-sql]
3
 
Better ^^
lol I got beat
 
1:17 AM
Lol
 
@StackExchange Thanks, @Jamal!
 
1:35 AM
Oof. F# seems scary, but I'm gonna do it.
 
@EthanBierlein that's the spirit!
 
If I learn it, I'm going to try and implement a compiler.
 
1:51 AM
0
Q: Ok is this encryption algorithm I made secure? C#

ponoodleK so the algorithm does this. It gets the number associated with each char, then adds a random number to it, and saves the numbers it added. Better explained with the code. Anyway, I am going to post the entire project because otherwise it won't make sense to you. :/ I plan to make an Encrypter ...

 
@CaptainObvious Ok is this question title I made descriptive?
@EthanBierlein beat me to it :)
 
lol
not as fast as @Jamal though. :D
 
Nobody edits as fast as Jamal. Like, ever.
 
And nobody ever will... buh buh buuuh
Woah, F# has the concept of types, and not awful types, like haskell, but a good concept, like actual OOP.
 
2:23 AM
Wut
private ArrayList<String, int> splitLines(String text)
Syntax error? eh guess you can't do that huh
 
I was busy editing it, and you guys messed my edits all up.
I had to start over.
But, I FGITW'ed it.
While reviewing the code, I withdrew my upvote it was so bad.
 
2:38 AM
@EthanBierlein unless I'm mistaken, F# has access to all of .net
 
@Mat'sMug Yup. It's included by default with Visual Studio as well.
 
Then it compiles to IL and is JIT-compiled by the CLR, which means of course it has a good concept of types ;-)
 
Unlike brrr Haskell brrr
 
I'm reading Jon Skeet's book these days (started it a while back but never finished) - learned very interesting things about how Java generics and C++ templates differ from C# generics
Java generics make me glad I do C#
 
Are Java generics horrid?
 
2:50 AM
Not really. They just have very little benefits
C# generics dramatically improve performance
C++ templates elude me though. It's like.. too much power
 
Hey guys, this question has a bounty: codereview.stackexchange.com/questions/97199/…
I don't know of anything to say than to stop using Java braces.
One of you guys want to take over?
 
@Hosch250 this shit is hard. Harder than naming and cache invalidation.
 
Huh, I have 10 fewer answers in than in , and 9 more points.
I should specialize in beginner questions.
@Mat'sMug So, you aren't blaming me then?
 
No, but an answer posted during the bounty with nothing else to say than Java braces are evil would probably earn a downvote or two
 
That's why I didn't post.
Dishes, BBL.
 
3:07 AM
I think it was Eric Lippert that posted an answer here on CR, can't remember on what question, but it had to do with multithreading. Mentions Volatile in that answer - when Eric Lippert says nothing in C# is more complex than that, I believe him
Ah, found it
68
A: Exporting doc types using queues and multithreading

Eric LippertRather than reviewing your specific code -- which at first glance seems very, very buggy -- let me answer your question directly: What are the best practices with multithreading in C#? Don't. Multithreading is a bad idea. Programs are hard enough to understand already with a single point o...

Ugh. I must have read on Volatile elsewhere
 
I have said a few things about volatile
 
Anyway @Hosch250 here's some useful quote:
 
@Phrancis - I am a certified sybase SQL professional.
 
> Oh, so you want to write your own code that shares memory? Then take the lock for heaven's sake. I see so much buggy code where people get into their heads that locks are expensive and they write this convoluted godawful wrong code that evades taking a lock that would have cost them twelve nanoseconds to just take. Avoiding a lock to save on its cost is like complaining that the electricity takes too long to get to the light bulb when you flip the switch.
@rolfl you did?
 
I remember back in the days, when t-sql was new......
 
3:18 AM
Heads up, F# question coming in
 
> Admittedly my understanding of the full implications of volatile is incomplete, and is harder to quantify because I first learned Java at a time when volatile often simply did not work. volatile has maybe changed a bit, but, in general, don't use it unless you know what you are doing.
 
^^
Reader should stop at "don't use it" ;-)
Are semantics the same in C#?
 
I don't use it, I don't understand it.
I know the technical implementation details of it in IBM power systems.
 
@rolfl if you don't get it, I don't know who would
 
that does not help too much with the semantics. The actual effect is quite simple, but the consequences and nuances become complex quickly.
Let me explain the Java implementations, and you can decide whether it is useful in C#.
In a single-core system, when you have a variable, it is declared as a spot of memory in RAM.
 
3:23 AM
Eh, I don't remotely get the C# volatile
 
when you need to read that variable's value, it is copied in to a CPU register.
 
So far so good
 
To populate the register's value, you need the value to be in the L1 cache.
to get it in to the L1 cache, you need to get it in to the L2 cache first.
Some systems, like the IBM power systems, have an L3 cache too.
So, you have the register, L1, L2, L3, and then memory.
 
Ok
 
The "closer" the variable is to the register at the time you need the value, the faster you can access it, and the less the system 'stalls' on a read.
 
3:25 AM
Note: single-core
 
Yes ^^^^
Now, if you have two threads, on a single core, they will both be accessing the same value from the same L1, L2, ... caches.
No need to worry about much in the way of multithreading and consistency in memory.... but......
if you have 2 Cores, you also have 2 L1 caches.
and also 2 sets of registers.....
now, each core can have their own copy of the variable in their L1 cache and registers.
 
can, or do?
 
Do.
If each cpu needs to access a variable at any time, then that value is copied to the cpu's registers.
If you have some "tight" code that has little external effect, like while (true) {i++}....
then that i++ will never leave the registers.... and, for example, two threads on a hyperthreaded Intel CPU will not even share the same i.....
(HyperThread cores have two sets of registers for a single core ;-))
 
0
Q: A very simple inventory system in F#

Ethan BierleinTo learn F#, I've implemented this very simple inventory system. While I'm proud that that it's my first program, and that it works, there are still a few areas that I'd like tips on, namely these: I don't like how I'm using a for ... in ... loop in Inventory.ChangeSelectedItem to find the leng...

0
Q: Writing a script that will generate thumbnails & store them in folder for the cache, could use some suggestions to make it more secure and efficient

user3777390Here's my script that I am using to generate thumbnails from urls, optional params are height & width & it's using Codeigniter's image library to achieve that. Also to keep same files with different height or width separate, I saved the files using sha1 hash(filename+width+height). public func...

 
@CaptainObvious About time!
 
3:30 AM
Anyway, volatile semantics are relatively simple.
 
@rolfl Really, didn't know that!
 
if you have a variable that is "volatile", in Java, any time that variable is accessed you force the memory associated with the variable to be refreshed from/pushed back to the lowest common memory location for all cores.
@Phrancis 1996 or so....
So, a "volatile" variable in Java will be guaranteed to have the value that was last set in it by the most recent thread that ran before your access, when you access it.
 
77
A: When should the volatile keyword be used in C#?

Ohad SchneiderI don't think there's a better person to answer this than Eric Lippert (emphasis in the original): In C#, "volatile" means not only "make sure that the compiler and the jitter do not perform any code reordering or register caching optimizations on this variable". It also means "tell the ...

 
each time you access the variable, it "forces" a full-cache synchronization for that memory.
 
It's quite expensive then
 
3:35 AM
If you have something like a volatile variable inside a tight loop, like while (busy) {...} where busy is volatile, you may be spending your time managing memory, and not computing.
 
> Volatile fields are a sign that you are doing something downright crazy: you're attempting to read and write the same value on two different threads without putting a lock in place.
 
It is not only expensive, though, it is really, really complicated.
So, for example, the code volatile++ does not work.
because, the value you read when you get the volatile out of memory, and then increment, may be the same as some other thread that reads the value..... because both threads read at the same time....
then, they both increment the value, and both save the same value back to the same variable,.
 
1
Q: Java SQL select / alter table reusabillity

DeMarcoHello I am using Java with SQLite and I am wondering if I am in the right track onto writting good code i.e more or less reusable: SQL scheme: CREATE TABLE Foo ( a VARCHAR(11) NOT NULL , b INTEGER , celular INTEGER , nome VARCHAR(255) , PRIMARY KEY(a)); CREATE TABLE Bar...

 
It also is a crazy thing to debug, and diagnose, because the problems are often not visible in small systems.... and you tend to see them when you have 4 sockets, each with 16-core IBM Power chips - each core has 4 hyper-thresads, so you are looking at 256 virtual CPU's running. Each socket has their own dedicated memory, and each has their own memory controller, and l3 caches, etc... and you see the problem on a production server on some client.....
.... then you try to reproduce it on some test data on your dual-core laptop.... it ain't happening.
Other locking and memory management semantics are much, much better to manage, implement, and debug.
 
And then you have your code saying "mwahahahahaha... TOLD YA"
3
 
3:41 AM
Hmm. No interest has been shown on my new question... Oh well
 
There are some instances where I have seen volatile used accurately.
In all cases it has been a single boolean value, that is initialized in one state, and it "swaps" to the other state at some point.
never flipping back.
Call it a 'kill switch'.... it can work for that. Preferably something in a polling loop....
while (alive && work.isEmpty()) {sleep(100);}
if alive is volatile, and work is thread-safe, then it's OK for some other thread to swap alive to false.
But, even then, there's better, more readable mechanisms to accomplish the same task, without any confusion.
 
I see
 
Anyway, Eric's description of volatile looks like it could be applied to Java almost verabtim.
 
@EthanBierlein I don't do F#, but IMO idiomatic functional code would frown at mutable data structures. But I can't be sure, I know nothing of F# and/or functional programming. Never mind me.
 
Read this linked article from the post above: joeduffyblog.com/2010/12/04/sayonara-volatile it's good.
 
3:50 AM
@rolfl Isn't Sybase more or less identical to MS SQL Server?
 
@Phrancis No, SQLServer is more or less identical to Sybase.
 
Same difference ;p
But gotcha
 
Back in the 90's Sybase and Microsoft agreed that Sybase would license their database tech to microsoft, but MSoft would not run on any unix systems, and Sybase would not run on Windows.
Sybase did go to windows later, probably by agreement....
But, SQLServer is the windows "toy" version of Sybase.... of course, it grew up, and in many ways got better.
Sybase version 4.5.1 I think was where the fork happened.
 
What do you mean by "toy", out of curiosity?
 
> 1988: Sybase, Microsoft, and Ashton-Tate port the Sybase RDBMS to the OS/2 platform. Microsoft markets the new product as SQL Server. The terms of the agreement give Microsoft a license to Sybase's SQL Server code
The MSoft version was missing a lot of the enterprise-class features of the main code.
Think of it being, at the time, like SQLServer compared to Access.... that's what Sybase was like compared to SQLServer.
 
3:54 AM
I see OK
 
Things have changed a lot, since then, but that is how it started out.
 
Were Oracle and DB2 DBMS around at the time?
 
Yes. Sybase was the performance hitter of the lot, with some neat client-side tools that the other systems struggled with.
Sybase's procedures and triggers were the best to work with of them all.
also the permission systems and the DDL-in-the-database was industry-leading.
being able to query the database schema using SQL was really nice.
> Ashton-Tate soon drops out. Sybase SQL Server version 4.9 and Microsoft SQL Server 6.0 & 6.5 are virtually identical. Their Transact-SQL (T-SQL) procedural language is very similar, as is the basic process architecture. The main difference is Sybase has a Unix heritage, while Microsoft SQL Server was adapted and optimized originally for OS/2, then for the Microsoft Windows 3.0
 
@rolfl Ah, I thought that had always been standard for SQL (guess it is today but not at the time)
 
Man, DB2 is still ugly, using database functions that return tables..... and Oracle still does not make it at all easy.
 
3:59 AM
sorry @Amadan I am trying to put the example code in here so it will be more clear to you. But for some reason it won't let me add comment again saying I don't have enough reputation by adding the code review. — ror 42 secs ago
 
I am somewhat bitter that Sybase has lost so much ground. Technically it is a superior product.
 
The syntax for Oracle looks miserable... I don't know much about DB2, come to think of it. I thought returning tables from functions was normal though, isn't that what TVFs do?
 
Yes, but those are "new", probably this century.
 
Surely not all DB2 functions return tables, now do they?
 
Table-valued function? What's that? -- the MySQL guy
 
4:02 AM
@Mat'sMug Who needs those when you have temp tables!</sarcasm>
 
cough
@RMunroe what's the hover text?
Phone...
 
It's there.
 
@Phrancis - I am not sure DB2 functions can even return tables.... just values.
 
4:05 AM
LOL!
 
6 mins ago, by rolfl
Man, DB2 is still ugly, using database functions that return tables..... and Oracle still does not make it at all easy.
Which is it lol
 
Hmmm... looking, I am trying to remember
 
Don't worry about it, was kinda curious that is all.
I would've imagined IBM ate their own dog food (used their own DBMS internally)
 
I have been hacking the code for DB2 ;-)
 
Have you?
 
4:08 AM
It appears the system does support SQL-based access to the schema. The "tables" are virtual, though, in the sysibm schema.
@Phrancis I have messed with the "new" DB2 Blu code.
Tried to make it faster with GPU's .... but my role was in some of the analytical aspects, not the low-level coding.
The implementations for the BLU logic are truly amazing.
Unfortunately, you need the right sorts of data to make the system really useful.
It's not a replacement for Access.
2
 
@rolfl I know a replacement for Access: SQL Server with SSRS
...and it's available in an Express edition, free albeit a bit limited
 
Columnar based instead of row based... Wonder how that works
 
@Phrancis "#fml" was created for that
..I can't even mentally picture it
 
I'm talking about DB2's BLU Acceleration thing though, seems like it can work really fast from their numbers, but I can't really imagine how it's indexed and stuff
> No need for indexes, aggregates, or tuning
 
Certified by SAP
Impressive, ..but I just... don't get it.
 
4:19 AM
If the code is working as intended, this may be better suited for Code Review. — Turing85 32 secs ago
 
Damn, I like how this chatroom always finds new ways of saying you know nothing, John Snow Mug
 
IKR
 
@Phrancis - see my meta answer - link t-sql to sql, and make sure sql-server is added to the 28 questions missing it: meta.codereview.stackexchange.com/questions/5794/…
@Phrancis - about BLU, consider the ideal case for BLU, a table like all the transactions at a chain of grocery stores.
store that in a table, with a transaction number, line-item, stoci item, quantity, price, discount, amount.
Now, select sum(amount) from transactions.
you have to read the whole table.... because the amount values are stored in the middle of other values......
 
Sure
 
now, if you store your data in columns, with each column as it's own individual 'table'..... where all the 'columns' have the same number of rows.....
then, you only have to read 1/7 of the data to get your sum(amount).
(because you only read 1 of the 7 columns).
 
4:29 AM
I need more rhum
 
Now, because all the values in a column are often the same.... you can compress the data really, really well....
 
"and others to be tagged "
^ @Mat'sMug How would you like that? ;0
 
so, how many distinct prices do you think a grocery chain has..... probably very few, all things considered.
 
@Code Review The swap operation that will sort the array. There is no constraint on the type of swap whether consequent or swap of the two elements. — kapil jain 54 secs ago
 
@Phrancis believe it or not, I've done Entity Framework over MySQL.
 
4:31 AM
so, you do fancy encodings for each price.... and you can compress the columns down to just a few bits per record... (yes, bits, not bytes).
 
@rolfl Ah, pretty amazing, and seems to make complete sense
 
So, if you are reading only 1/7 of the columns, and the columns are compressed from say a double value (64-bits) to just 4 bits (16-different prices per database page of values).......
suddenly, to do a massive analytics statement, you can do 1/200 of the disk IO, and not even have to decompress the data to do the sums.
 
HOLY CARP
 
Of course, if you want to do "select * from transactions", then you're screwed, you have to read all the columns from different places, and then "stitch" them all together again.
 
Sounds a bit like a pre-chewed pivot, no?
 
4:36 AM
The way the compression works, though, is that you can typically macro-index the data by having a "present" marker for each value in each database page.... so you can eliminate whole pages of information if you know the value is on none of that pages records.
 
0
Q: Some RAII in c++

tkauslI'm playing around with RAII a bit lately and i wan't to know if/how i can improve this (quite simple but very helpful) class. A word to two decisions i've made and why: No error handling in construct. I don't think throwing a exception would be appropriate so its up to the user to check valid...

0
Q: Jquery scroll with multiple, and going different directions.

Valerie SharpI have a large image of an L-shaped painting on one page. I created divs over parts of the painting I want to explain. When the page loads, I want it to scroll down the length of the image, and then move to the left of the image, stopping at each div for a few seconds. I understand how to get the...

 
So, for sparse values, like, say, timestamps, which are often relatively unique, you can get huge savings by doing bulk eliminations of data.
@Mat'sMug A pre-chewed pivot is a good analogy... but, it's better to think of it as datawarehouse optimized.
 
@rolfl I like the idea. Kind of a "breaking change" though
 
in a data warehouse you often have huge tables, very wide, because you denormalize the data before insertion. This saves having to 'join' huge tables against other huge tables.
So, for example, you often store the customer details on the transaction records, so you don't have to join "transactions" to "customers" at run time.
 
Yeah. Select-optimized.
 
4:40 AM
So, consider a "large" table, with a billion records, each has say 100 columns....
now, suddenly, if you can have a very efficient compression on the columns, and eliminate huge chunks of the data by not selecting those columns (or not referencing them in the where clause), then the savings are huge.
Additionally, the pages are optimized for massively parallel computation, so you can process all pages in an "embarassingly parallel" way....
 
Puts cubes to shame then
 
MDX and Cubes are an orthoganal problem.
MDX on BLU would be "nice".
 
But?
 
No But.
 
..if?
 
4:43 AM
I have a bunch of code in Pentaho's MDX engine.
it's the open-source alternative to SQLServer. Runs on many other databases too.
Putting that on BLU would be a good 'synergy'.
 
What good is making a class implement a class?
 
So you'd have a hundred rows and a .....billion columns??
@Hosch250 a class derives from or inherits another class.
 
You can access the class's public items, and override them, but it doesn't make you implement anything, even if the original class implements an interface.
 
An interface is implemented by a class
 
I know.
I just wrote a class that implements a class.
Just to test if I could.
This is perfectly valid C#:
 
4:49 AM
Monking
 
@Mat'sMug Um. no. MDX is a multi-dimensional expression, you have to map the cubes back to the underlying data in funny ways, but, in essence, to process cubes you end up doing large numbers of aggregating queries on large tables....
 
    class Test : Program
    {
        public void Test1()
        {
            T();
        }
    }

    interface ITestX
    {
        void T();
    }

    class Program : ITestX
    {
        public void T()
        {
            throw new NotImplementedException();
        }

        private static void Main(string[] args)
        {
        }
    }
@Heslacher Monking.
 
hey @Hosch250
 
Still the same tables (billion rows, hundred columns), but processed faster.
 
How goes it?
 
4:50 AM
pretty fine
 
Same here.
 
@Hosch250 Test inherits Program. Wording is important here. How does this code surprise you?
 
OK, it inherits it.
 
Radical revisions: codereview.stackexchange.com/review/reopen/40651 See the comment: (Totally Changed the question!)
 
It doesn't really surprise me, I just thought maybe it would have to implement it.
 
4:53 AM
@Hosch250 the term matters, because the interface implementation is inherited from the base class.
 
-1
Q: Delphi soap client data request

Ranga MKILegacyDataAccessService = soap class UseCache= at httpRio.onafterExcecute event SOAPResponse will be saved to disk file. if UseCache=true then next calling time this function will request 1 dummy record from soap server and in httpRio.onafterExcecute event will load saved file to SOAPResponse: ...

 
I see.
 
@rolfl I hope I didn't just polish turd. :-P I haven't reopened it yet anyway.
 
@rolfl dafuq
 
Inheritance != Implements.
 
4:53 AM
that ^^
 
@rolfl That's new.
Do we tell him to ask a new one, or reopen it?
Because this is a totally different question, you should have better success asking a new question instead of modifying this one. — Hosch250 6 secs ago
 
I've reopened your question. However it would probably have been better to ask a new one, since this is now a completely different post. — Mat's Mug ♦ 34 secs ago
@Hosch250 leaving it closed would be messy IMO
@Jamal taking OP's word that the code works, I reopened. I just don't get why someone would want to start at -4 on a new question
 
It's a visual-studio question, can't compile it on my linux box.
can't tell if it works... or not.
 
0
Q: Algorithm implementation in C# seems to be catastrophic

sisck vabrigasBefore entering the details, My question is : this C# implementation is performance the worst you can think of in compare to the c++ implementation of the author, The author offers a stand alone .exe file programmed in C++ and its at least 35 times faster. Why ? and how can I improve this code ? ...

 
int WinCheck(char a, char b, char c, char d, char e, char f, char g, char h, char i, int p, char z);
Are Out Of Memory errors allowed?
They are, right?
 
5:09 AM
What do you mean?
 
There is a program in the First Posts queue that wants help with an Out Of Memory error.
I almost VTC'ed it as broken code, but then I figured I'd better ask.
 
OOM is a serious bug IMO
 
It is almost like an SO.
I VTC'ed..
 
If OP's code could result in an OOM in circumstances that OP isn't or doesn't seem to be aware of, then yeah it can fly. If OP is saying I have an OOM exception and can't figure it out, then it's broken code not working as intended.
 
You know that tic-tac-toe question?
 
5:13 AM
Yeah
 
It now has +3/-4, and OP has 16 rep.
It appears the -4 didn't and won't kick in because he had 1 rep when he got them.
 
Normal
 
I didn't know that.
And, I'd better get to bed.
 
Vote order matters
 
See you tomorrow.
 
5:14 AM
Night!
 
Good night @Hosch250
and good morning all
6:16am.. time to leave for work... :(
 
night @Hosch250 monking @DanPantry
 
5:58 AM
0
Q: What defines a Code Review?

greenhoornAccording to the FAQ the following topics are wanted on Code Review. Isn't there a point missing? I see a review of my code not only as a try to improve performance, security and structure, but also to reduce redundant, unnecessary code paths. Isn't improving readability a major goal in a co...

 
monking @all
 
monking
wow, is this calculator season or what?
0
Q: Simple calculator using methods and JOptionPane

FrankI'm new to java and while working on my simple calculator program. I'm learning about JOptionPane and I want to add JOptionPane messages instead of the console output. The problem I ran into is when I call showMenu() I want to only display the menu in this method. Then in getSelection() I want ...

 
:D
code golf has calculator?
 
hey @chillworld hey @h.j.k.
 
they do?
hi @Heslacher
 
6:02 AM
I don't look at code golf :)
 
monking
 
hey @Timo
 
0
Q: Simple calculator using methods and JOptionPane

FrankI'm new to java and while working on my simple calculator program. I'm learning about JOptionPane and I want to add JOptionPane messages instead of the console output. The problem I ran into is when I call showMenu() I want to only display the menu in this method. Then in getSelection() I want ...

 
Anyone who knows some delphi ?
-2
Q: Delphi soap client data request

Ranga MKILegacyDataAccessService = soap class UseCache= at httpRio.onafterExcecute event SOAPResponse will be saved to disk file. if UseCache=true then next calling time this function will request 1 dummy record from soap server and in httpRio.onafterExcecute event will load saved file to SOAPResponse: ...

 
sorry, not me...
 
6:09 AM
OP at first said he gets an out of memory exception. Maybe someone sees the error in the code. Nowadays OOM are extremely rare in correct working code.
 
Thus, it's probably not working code
Or at least I wouldn't call "it works until it crashes" to be working code :P
 
7:01 AM
12
Q: Are code snippets with known memory leaks broken?

nhgrifAs part of our check-list for questions on CodeReview, we require that code is working to the best of the askers knowledge. Does code with a known memory leak qualify is broken per this rule? On the one hand, the code most likely does everything the asker wants, and from the user may never noti...

I'm giving the Delphi question the benefit of the doubt.
 
Welcome to Stackoverflow. Before posting questions, you should read How to ask, otherwise you will have a hard time getting answers. Your question maybe better put on codereview, especially since you're not asking anything. So btw.: What is your question? — Patrik Eckebrecht 29 secs ago
 
@200_success Do you mean reopen is ok or should it left close ?
forget it. didin't refresh the question
 
7:28 AM
Monking
 
Monking
 
hey @Vogel612
 
7:56 AM
Monking
 

« first day (809 days earlier)      last day (3200 days later) »