instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I've got an unusual situation: I'm using a Linux system in an embedded situation (Intel box, currently using a 2.6.20 kernel.) which has to communicate with an embedded system that has a partially broken TCP implementation. As near as I can tell right now they expect each message from us to come in a separate Ethernet ...
stackexchange/codereview
I need to detect the device resolution automatically, right now I have a global var & hardwire the resolution: Public gDeviceRes As String = "640" 'Public gDeviceRes As String = "320" then recompile for each device, does anyone have a quick snippit of code for this??
stackexchange/codereview
Im currently working on a PPC application that I would like to test in the PPC emulator "USA Windows mobile 5.0 PC R2 Emulator" without using Active Sync. Somewhere in my back head I think I have been able to just do that: But when I start a debug session with Visual Studio, it can not deploy the application to the emu...
stackexchange/codereview
I am trying to write out a png file from a java.awt.image.BufferedImage. Everything works fine but the resulting png is a 32-bit file. Is there a way to make the png file be 8-bit? The image is grayscale, but I do need transparency as this is an overlay image. I am using java 6, and I would prefer to return an Outpu...
stackexchange/codereview
I have a lot of buttons and by clicking on different button, different image and text would appear. I can achieve what I want, but the code is just so long and it seems very repetitive. For example: var aaClick = false; $("aa").observe('click', function() { unclick(); $('characterPic').writeAttri...
stackexchange/codereview
I want to change item's height and width according to a slider, but as far as I know, there's no measureitem method as CListBox. How can I fix this? Thank you!
stackexchange/codereview
I'm using an Edit in Place jquery plugin which needs to post the data to a script that will do the actual database update. The URL to this update script is easily viewable in the html source as well as with Firebug, so I need to add some sort of authentication check before the update is processed. This is of course so ...
stackexchange/codereview
I find myself writing code that looks like this a lot: set<int> affected_items; while (string code = GetKeyCodeFromSomewhere()) { if (code == "some constant" || code == "some other constant") { affected_items.insert(some_constant_id); } else if (code == "yet another constant" || code == "the constant I ...
stackexchange/codereview
With CSS bugs, do you fix them as and when they arise during each stage of your development, or do you save them up till the end? as I'm at quite an early stage in a large project and seem to be getting bogged down with annoying IE6 bugs.
stackexchange/codereview
I'm trying to find a way to automate some exception logging code to add to the stack information already available. Is there any way to use reflection to retrieve the values of all variables on the stack (locals and parameters) - I sincerely doubt the names of the variables are available, but in many cases it would be ...
stackexchange/codereview
Is there an easy way to verify that a given private key matches a given public key? I have a few *.puband a few *.key files, and I need to check which go with which. Again, these are pub/key files, DSA. I would really prefer a one-liner of some sort...
stackexchange/codereview
I'm trying to read the transactional deal letter queue in MSMQ using C#.NET and am getting: A workgroup installation computer does not support the operation For 10 Stack Overflow points, what am I doing wrong?
stackexchange/codereview
I am using sql server 2005 and ce framework 3.5 and attempting to use merge replication between my hand held and my sql server. I am getting the following error: Error 28532 : A read operation from the transport returned no data. The version of SQL Server Compact 3.5 Client Agent and SQL Server Compact 3.5 Server Agen...
stackexchange/codereview
I'm trying to apply a transform to a 3D object in a STL File (without creating a structured mesh object). Here is how I proceed: I read the normals and faces information one by one in the STL file, apply my transform to each vertex and to the face normal and write back the new computed values in another STL file. The v...
stackexchange/codereview
I have a client-server application that uses .net remoting. The clients are in a LAN and i do not know their location in advance. Sometimes we do file transfers and as an optimization I want to determine if a client is in fact on the same machine as the server (it is quite possible). In this case, I only need to do a F...
stackexchange/codereview
I am developing an iPhone application that persists data to a SQLite3 database. For each row I persist I wish to include a 'created date' and a 'last modified date' My question is what is the recommend approach for storing this information in a table? The properties are represented as NSDate in my application but I a...
stackexchange/codereview
In C++, a function's signature depends partly on whether or not it's const. This means that a class can have two member functions with identical signatures except that one is const and the other is not. If you have a class like this, then the compiler will decide which function to call based on the object you call it...
stackexchange/codereview
I recently rolled an application that automatically encrypted a file output from another internal system using PGP and then sftp’d to a foreign target server directory where it was to be consumed by a third-party application. I have been trying to trouble shoot the whole process for about a week and was getting no resp...
stackexchange/codereview
I'm trying to get the zoom controls to show up in a mapview, the following code almost works, but the zoom controls appear in the top left of the mapview, not the bottom center like I'm specifying via setGravity(). Can someone enlighten me as to what I'm missing? zoomView = (LinearLayout) mapView.getZoomControls(); zo...
stackexchange/codereview
Is there a way to include all the jar files within a directory in the classpath? I'm trying java -classpath lib/*.jar:. my.package.Program and it is not able to find class files that are certainly in those jars. Do I need to add each jar file to the classpath separately?
stackexchange/codereview
What is the best way to localize a collection (IEnumerable)? From the BL I retrieve a collection of entities which still need to localized, I figured I write a method which extends the IEnumerable and returns the localized list. How can i get the code underneath working? Any ideas? Maybe better options? public sta...
stackexchange/codereview
I'm wondering what the best way is to have a "if all else fails catch it". I mean, you're handling as much exceptions as possible in your application, but still there are bound to be bugs, so I need to have something that catches all unhandled exceptions so I can collect information and store them in a database or subm...
stackexchange/codereview
In short - How do I translate a NETBIOS domain to a FQDN ? Details: Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials). How do I get domain B's FQDN when all I have are the credentials of some authenticated user from that d...
stackexchange/codereview
This is a strange one... In a windows forms app (VB.NET/VS 2005) I have the need to occasionally check if the application DVD is inserted. In my production machine (and in the majority of our clients) this code takes less than an second to execute. But in some machines, it takes about 8 to 10 seconds. I couldn't find a...
stackexchange/codereview
From the Mozilla Developer Network: [1,4,9].map(Math.sqrt) will yield: [1,2,3] Why then does this: ['1','2','3'].map(parseInt) yield this: [1, NaN, NaN] I have tested in Firefox 3.0.1 and Chrome 0.3 and just as a disclaimer, I know this is not cross-browser functionality (no IE). I found out that the following will...
stackexchange/codereview
What are the best algorithms for sorting data in C#? Is there one sorting algorithm that can handle 80% of sorts well? Please give code examples if applicable.
stackexchange/codereview
Background I work for a large organization which has thousands of MS Access applications floating around. I didn't write any of these - in fact, most of the original authors have long since left the company - but from time to time another Access app lands on my desk for support. I would soooo love to replace access w...
stackexchange/codereview
I am building a calendaring application in ruby on rails. I am using my own schema for storing events, but I don't know how to display events in calendar, and also how to add a calendar in my application. Will I have to write code to display calendar or can I use any plugin to display calendar.
stackexchange/codereview
Is there a way I can create Windows firewall exceptions in VB2005? I'm trying to deploy a small app that opens up a few ports so I can connect to them and convert them using VMWare Converter. Thanks in advance
stackexchange/codereview
I've been trying to find a free database creator for mac os, and i'm not being able to find any. Anyone know of a free one i could download? EDIT: I need that the application generate the sql (mysql in this case) also :) ty
stackexchange/codereview
I'm starting a hobby project in which I would like to have a graphical, touchscreen interface for interacting with a kiosk-like device running on top of Windows XP Embedded. For development of a rich UI experience, I was considering using WPF. However, a number of demonstration videos that I have come across have use...
stackexchange/codereview
I'd like to link to some PDFs in one of my controller views. What's the best practice for accomplishing this? The CakePHP webroot folder contains a ./files/ subfolder, I am confounded by trying to link to it without using "magic" pathnames in my href (e.g. "/path/to/my/webroot/files/myfile.pdf"). What are my options? E...
stackexchange/codereview
Is there such a thing? I'm talking about something like a C++ new command i.e. allocation of memory which necessitates explicit releasing of the memory (or risk memory leaks). I ask because I remember having to solve some GDI leak problems previously by setting forms/controls/other objects to Nothing but can't remembe...
stackexchange/codereview
I'm using a C# wrapper control similar to the WebBrowser control that contains the COM / unmanaged MSHTML control. I'm using this control in the edit mode which allows the user of the application to edit a a HTML document in a WYSIWYG manner. This control manages it's own undo / redo stack. How can I reset / clear it s...
stackexchange/codereview
Is there a way to define a macro that contains a #include directive in its body? If I just put the "#include", it gives the error C2162: "expected macro formal parameter" since here I am not using # to concatenate strings. If I use "\# include", then I receive the following two errors: error C2017: illegal escape seq...
stackexchange/codereview
Using a standard ASP.NET ListView with a LinqDataSource and pagination enabled (with a DataPager), what would be the best way to default to displaying the last page of results?
stackexchange/codereview
I'm using linq to pull back an object (i.e. customer) that might have a collection of other objects(customer.orders). I would be nice if I can pass this list of customers to the ultragrid and a hierarchical view of customers and thier orders displayed on databind. When I try this, I just get customers. Anyone know h...
stackexchange/codereview
What are the main differences between search engines (DtSearch , Lucene.net, Sphinx, Google etc) that should influence the decision as to which to use to search proprietary data? The data to be searched consists of presentation-free data that is marked up with metadata in the form of name/value pairs. We’re not intere...
stackexchange/codereview
I have written a simple PowerShell filter that pushes the current object down the pipeline if its date is between the specified begin and end date. The objects coming down the pipeline are always in ascending date order so as soon as the date exceeds the specified end date I know my work is done and I would like to le...
stackexchange/codereview
I've got a project which requires a fairly complicated process and I want to make sure I know the best way to do this. I'm using ASP.net C# with Adobe Flex 3. The app server is Mosso (cloud server) and the file storage server is Amazon S3. The existing site can be viewed at NoiseTrade.com I need to do this: Allow user...
stackexchange/codereview
I am synchronizing tables using a stored PL/SQL procedure as part of a web application - when they hit a button it does the sync. The PL/SQL is executing as user A, but needs to disable indexes and sync a couple of tables in schema B. I can't get user A to 'alter index B.indexName unusable' despite granting it 'alter...
stackexchange/codereview
My InstallShield installer doesn't appear to register several of its COM DLLs correctly, even though I have refreshed the COM information for them in the installer. If I manually run regsvr32 after installation, everything is fine. I notice that after installation, I have InprocServer32 values in the registry for my c...
stackexchange/codereview
I'm developing a kind of an exchange format between instances of an application so that user could save information to file and restore it later. The whole 'exchange format' is a single class that gets serialized and written to disk. How would you suggest to store graphical/sound information inside that class? I'd like...
stackexchange/codereview
I’m writing a test that expects to receive an event from an object that it is calling. Specifically, I am calling out to an object that connects to an AIX machine via SSH (using the open source Granados project), then disconnecting, and I want to make sure I receive the OnConnectionClosed event that is being raised dur...
stackexchange/codereview
One of the limitations of ASP.NET 2.0 was that PathInfo was limited to 255 characters. Is that limit a problem in ASP.NET MVC urls, or is there any sort of length limit with ASP.NET MVC routing urls?
stackexchange/codereview
A web app our group has put together uses the ASP.NET Wizard control. Each step in the wizard contains a corresponding custom UserControl. The trouble is that as you go through the wizard steps, all the UserControls are loaded on each step, rather than just the one used in that step. That doesn't seem right to me. So...
stackexchange/codereview
When adding a reference to a project I sometimes see the message... "The Target Framework version for the project is higher than the current project Target Framework version. Would you like to add this reference to your project anyway?" I understand what the message is indicating but can anyone explain what issues migh...
stackexchange/codereview
I'm looking for (simple) examples of problems for which JMS is a good solution, and also reasons why JMS is a good solution in these cases. In the past I've simply used the database as a means of passing messages from A to B when the message cannot necessarily be processed by B immediately. A hypothetical example of su...
stackexchange/codereview
How to format numbers in JavaScript? JavaScript culture sensitive currency formatting
stackexchange/codereview
How do i take advantage of MySQL's ability to cache prepared statements? One reason to use prepared statements is that there is no need to send the prepared statement itself multiple times if the same prepared statement is to be used again. Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getCon...
stackexchange/codereview
I have essentially a survey that is shown, and people answer questions a lot like a test, and there are different paths, it is pretty easy so far, but i wanted to make it more dynamic, so that i can have a generic rule that is for the test with all the paths, to make the evaluator easier to work with currently i just ...
stackexchange/codereview
Has anyone started making Unicode Apps or converting Existing Apps into Unicode? How are you tweaking Firebird to have the least problems, especially the CHARSET attribute? Is there any problem encountered? Any thing else that I should be aware of? I'm just preparing myself so that I get less surprises, before jumping ...
stackexchange/codereview
So far the only way I've found to do this is by telling Lighty to pipe its logs through an app called "vlogger". Is there a way to break out log files by date without introducing any external dependencies or cron jobs? I feel like there might be a way to do it with config file variables, but my Lighty-fu just isn't s...
stackexchange/codereview
I don't think this is possible, but if is then I need it :) I have a auto-generated proxy file from the wsdl.exe command line tool by Visual Studio 2008. The proxy output is partial classes. I want to override the default constructor that is generated. I would rather not modify the code since it is auto-generated. I tr...
stackexchange/codereview
i'm migrating my app to delphi 2009. my app must still use a lot of AnsiString. during migration, i find myself always converting: abc := def; into: abc := string(def); or abc := TDeviceAnsiString(def); i know i should be able to do this with templates but i find templates--although powerful--are not so easy to ge...
stackexchange/codereview
I am creating a java mobile application and I want to be aware as to when the device obtain an IP address to then be able to send messages to a backend system. Do any API exists? I guess if an API existed it would have to use system dependant calls thru JNI? Thank you, Julien.
stackexchange/codereview
I want to save and restore the window position of my WPF application. I want to make the code robust to use with multiple monitors who's number and relative location can change (I want to avoid opening my application off-screen when the monitor configuration has changed inbetween invocations). I know of the Screen clas...
stackexchange/codereview
Not sure if anyone listened to Hanselminutes episodes 134 and 135, but at the end of show 135 Scott Hanselman had a lot of great advice on how to setup a baseline secure environment for a web application. As a developer, most of my time is focused on developing the application, not on the network facet of the project,...
stackexchange/codereview
I am looking for a free WYSIWYG editor control to be used in a Winform application. The applications primary language is VB but using C# is also an option. To clarify I need a rich text editor control that has a formatting bar. I have looked all over the web and the only options I can find are expensive control package...
stackexchange/codereview
I have two objects, let's call them Input and Output Input has properties Input_ID, Label, and Input_Amt Output has properties Output_ID and Output_Amt I want to perform the equivalent SQL statement in LINQ: SELECT Label, Sum(Added_Amount) as Amount FROM (SELECT I.Label, I.Input_Amt + ISNULL(O.Output_Amt, 0) as Add...
stackexchange/codereview
In ASP.NET webforms we have server components, that can be encapsulated into an external assembly and shipped as product. In ASP.NET MVC we don't have server components, so what's the best option for external components? Looking around it seems like the only possible option is making an Html helper method that returns ...
stackexchange/codereview
How can I get a list of the IP addresses or host names from a local network easily in Python? It would be best if it was multi-platform, but it needs to work on Mac OS X first, then others follow. Edit: By local I mean all active addresses within a local network, such as 192.168.xxx.xxx. So, if the IP address of my com...
stackexchange/codereview
What is the best way to allow a team of programmers to use Netbeans, Eclipse and IntelliJ on the same project, thus eliminating the "which IDE is better" question. Which files should or should not be checked into source code control?
stackexchange/codereview
I have a big lump of binary data in a char[] array which I need to interpret as an array of packed 6-bit values. I could sit down and write some code to do this but I'm thinking there has to be a good extant class or function somebody has written already. What I need is something like: int get_bits(char* data, unsigned...
stackexchange/codereview
I am using asp.net 2.0 I know can set the pages title via the code behind. But is it possible to set the page title using Theme, skin or css? I need to display a different title depending on the theme selected.
stackexchange/codereview
I need to store sensitive data across few pages (run over https) per session. I can't use session object, for the primary reason being that the session store is designed as just as backup store (primarily make service calls and load the session). If the session has been restarted or in other words that the key in the s...
stackexchange/codereview
I have a migration in Rails that inserts a record into the database. The Category model depends on this record. Since RSpec clears the database before each example, this record is lost and furthermore never seems to be created since RSpec does not seem to generate the database from migrations. What is the best way to ...
stackexchange/codereview
I am a little confused about null values and variables in .NET. (VB preferred) Is there any way to check the "nullness" of ANY given variable regardless of whether it was an object or a value type? Or does my null check have to always anticipate whether it's checking a value type (e.g. System.Integer) or an object? I ...
stackexchange/codereview
We just switched from TFS to SVN, and so far we're loving it. However, it did introduce a few new issues. One is the way project files (.vbproj specifically) are handled. The .vbproj file is of course always changing as files and references are changed, and if a few people are collaberating there will be conflicts. ...
stackexchange/codereview
Currently I have an application that receives an uploaded file from my web application. I now need to transfer that file to a file server which happens to be located on the same network (however this might not always be the case). I was attempting to use the webclient class in C# .NET. string filePath = "C:\\test\\...
stackexchange/codereview
Castle Active Record? Plain NHibernate? Subsonic? Entity? Something like Nettiers? I'd like to use one, but I don't know enough to decide. Nhibernate seems over kill and complex, but widely used. Subsonic seems neat and easy. But is it stable? I have CodeSmith, and I was pointed to Nettiers, which seems neat as wel...
stackexchange/codereview
I am trying to create wrapper functions for free and malloc in C to help notify me of memory leaks. Does anyone know how to declare these functions so when I call malloc() and free() it will call my custom functions and not the standards lib functions?
stackexchange/codereview
I had a problem a week or so ago. Since I think the solution was cool I am sharing it here while I am waiting for an answer to the question I posted earlier. I need to know the relative position for the column headings in a table so I know how to match the column heading up with the data in the rows below. I found s...
stackexchange/codereview
I have a bunch of ASP.NET web pages (that have a standard layout) that are product documentation. I want to create some sort of combination page that will pull all of the other page content in and concatenate them into one long page. IFrames won't work because I don't know the size of each page. I could have the comb...
stackexchange/codereview
What CAPTCHA system is compatible with ASP.NET MVC? Are there any good examples out there?
stackexchange/codereview
My application uses loads of Java threads. I am looking for a reliable understanding how the JVM (version 5 and 6) maps the Java threads to underlying Windows threads. I know there is a document for mapping to Solaris threads, but not Windows. Why doesn't Sun publish this information? I want to know if there's a 1:1 ma...
stackexchange/codereview
I have an app that executes commands on a Linux server via SSH just fine. When I connect to a Solaris server, things don't work. It seems that the Solaris command line is limited to 267 characters. Is there a way to change this? Update: As was pointed out before, this is a limit to the default shell for Solaris (sh)...
stackexchange/codereview
the problem I have is that I have two sets of values in a drop down list. If type 'A' is selected I want a text box to be populated with a value from the database and be read only. If Type 'B' is selected the box is to be empty and editable. My original code is written in jsp/struts and I have sort of achieved this by ...
stackexchange/codereview
I'm hosting an ASP.NET web application on a Sharepoint 2007 box, which makes a web service call to Sharepoint to retrieve a document location (specifically, the GetListItems method). The service is consumed with passed credentials of a valid Sharepoint account with appropriate permissions. ListServiceWrapper listServic...
stackexchange/codereview
I am having an issue with IEMobile accessing my site. A certain redirect I use has a 302 response code, and the headers (yep, that's app-engine): Server Development/1.0 Python/2.5.2 Date Tue, 04 Nov 2008 16:47:02 GMT Content-Type text/html; charset=utf-8 Cache-Control no-cache Location http:...
stackexchange/codereview
How can I revert a modified file to its previous revision at a specific commit hash (which I determined via git log and git diff)?
stackexchange/codereview
I'm following the ASP.Net MVC "TaskList" example video and on clicking Run in Visual Studio (~14:00 min into the video) I'm getting the following error message in the browser: Server Error in '/' Application. Bad IL format. Description: An unhandled exception occurred during the execution of the current webrequest. P...
stackexchange/codereview
What is the state of native SVG support in the most popular browsers in their latest releases? Internet explorer Firefox Opera Safari Chrome Konqueror Camino
stackexchange/codereview
What the best way to get up to speed on MathML and its usage in the world? In particular I mean: What do you use for rendering/editing it Is it used in any commercial/open source applications that you can point me to Is it popular and used a lot? Are there any viewers that can be used inside a C#, C++, Java, ... appli...
stackexchange/codereview
I am trying to draw a domain model or class diagram in UML for car dealership. I am stuck with how to present test drive in the model. One way is to have appointment class and then test-drive as sub class. A dealer also offers after-sale vehicle service so i could have appointment/booking class as super class and then...
stackexchange/codereview
I've been perplexed lately working on a SharePoint state machine workflow. I was hoping to add some modification forms to the workflow so that I could reassign a task while in its state. Unfortunately, modification forms don't seem to be documented for use with state machine workflows (pretty straight forward for seq...
stackexchange/codereview
Lots of frameworks let me expose an ejb as a webservice. But then 2 months after publishing the initial service I need to change the ejb or any part of its interface. I still have clients that need to access the old interface, so I obviously need to have 2 webservices with different signatures. Anyone have any suggest...
stackexchange/codereview
the WPF Popup control is nice, but somewhat limited in my opinion. is there a way to "drag" a popup around when it is opened (like with the DragMove() method of windows)? can this be done without big problems or do i have to write a substitute for the popup class myself? thanks
stackexchange/codereview
How can I create 7-Zip archives from my C# console application? I need to be able to extract the archives using the regular, widely available 7-Zip program. Here are my results with the examples provided as answers to this question "Shelling out" to 7z.exe - this is the simplest and most effective approach, and I can...
stackexchange/codereview
Both of them are mbeans. Both are intended to setup Hibernate Session Factory and expose it through JNDI. Both are implemented in Red Hat. But at the same time each of them belongs to separate classes hierarchy. What is actually the difference between them? Thank you in advance.
stackexchange/codereview
I have a delay activity with an interval set to 1 day. For some reason the workflow Timer is not activating the workflow once the time has elapsed. I have installed the SharePoint infrastructure update, but it did not resolve the issue. The workflow is also set to listen for an item change event, if I change the item a...
stackexchange/codereview
The application is planned to be built using ASP.NET, .NET Remoting & MS SQL Server. High availability is required at presentation layer, application layer and database. Does IIS 7.0 provide any advantages over IIS 6.0 in regard to the High availability aspect?
stackexchange/codereview
I have this doubt, I've searched the web and the answers seem to be diversified. Is it better to use mysql_pconnect over mysql_connect when connecting to a database via PHP? I read that pconnect scales much better, but on the other hand, being a persistent connection... having 10 000 connections at the same time, all p...
stackexchange/codereview
How to move a sub directory from one directory to another, given that both are inside the same SVN repository? I am using tortoise SVN.
stackexchange/codereview
Here is my sample code. It is meant to be an iterative procedure for gauss seidel (matrix solver). Essentially when the error is small enough it breaks out of the while loop. i=1 while (i>0): x_past = x_present j=0 while(j<3): value=0 k=0 while(k<3): if(k!=j): ...
stackexchange/codereview
How do I drop a Groovlet into a Grails app? Say, for example, in web-app/groovlet.groovy import java.util.Date if (session == null) { session = request.getSession(true); } if (session.counter == null) { session.counter = 1 } println """ <html> <head> <title>Groovy Servlet</title> </head> <b...
stackexchange/codereview
How to set internationalization to a DateTimepicker or Calendar WinForm control in .Net when the desire culture is different to the one installed in the PC?
stackexchange/codereview
I am very familiar with the Command pattern, but I don't yet understand the difference in theory between a Functor and a command. In particular, I am thinking of Java implementations. Both are basically programming "verbs" represented as objects. However, in the case of functors, as I have seen from some examples anony...
stackexchange/codereview
When returning objects from a class, when is the right time to release the memory? Example, class AnimalLister { public: Animal* getNewAnimal() { Animal* animal1 = new Animal(); return animal1; } } If i create an instance of Animal Lister and get Animal reference from it, then where am i supposed to ...
stackexchange/codereview
Quick add on requirement in our project. A field in our DB to hold a phone number is set to only allow 10 characters. So, if I get passed "(913)-444-5555" or anything else, is there a quick way to run a string through some kind of special replace function that I can pass it a set of characters to allow? Regex?
stackexchange/codereview