Posts

Showing posts from June, 2010

java - Where can I get Notes.jar or NCSO.jar? -

Text after " I want to write a Java program that automatically sends via the Lotus Notes API via my local client mail. For this project I added my classpath However, when I run my test program: Exception in the formula "main" de.bea.domingo. .service.NotesServiceRuntimeException: a de.bea.domingo.service.NotesServiceFactory.throwWrappedException (NotesServiceFactory.java:335 of Notes.jar or NCSO.jar) to be in the classpath On de.bea.domingo.service.NotesServiceFactory & lt needed; Init & gt; (NotesServiceFactory.java:137) sun.reflect.DeligatingConstructorAccessorImpl.newInstance (Unknown Source sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Basic Law)) on java.lang. Reflect. Kanstrctorknuansens (Unknown Source JavaklangkClassknewInstance (Unknown Source) at De.bea.domingo.DnotesFactoryFi) nder.newInstance (DNotesFactoryFinder.java:116) de.bea.domingo.DNotesFactoryFinder....

Java interceptor priority -

This may be a trivial question for many of you, but I swear I can not find any more answers Say I have such a class @Interceptors (interceptor class 1.) class myClass {@Interceptors ({Interceptor2.class, Interceptors3.class} ) Public null myMethod () {...}} When my method is asked which interceptor is executed and in what order? Interceptor 2, Interceptor 3 or Interceptor 1, Interceptor 2, Interceptor 3 or Interceptor 2, Interceptor 3, Interceptor 1? Pre-Thanks default The default interceptor, if present External interceptor Class Interceptor, if present method interceptor, if present Interceptor method On the Bean Class (USI ng @ Around Invoke) Each group (default, class, method) too Order and interceptor @ interceptors are right to left as defined annotations, and then XML interceptor.

rest - AngularJS $resource DELETE item in collection -

I have an ASP.NET Web API (1) controller which works with GET, POST and DELETE functions. I'm calling with an angular 1.2.0 RC3 app with $ resource . Let's call the controller Foos . I get a GET that lists the fuo: GET http: // localhost: 55386 / API / FOS / 123456/1 http / 1.1 host : Localhost: 55386 Connection: Keep Accepted Alive: Application / Jason, Text / Plain, * / * Native: Zero User-Agent: Mozilla / 5.0 (Windows NT 6.3; WOW64) Apple WebKat / 537.36 (like GHtml, GECO) Chrome / 38.0.2125.111 Safari / 537.36 Approved-encoding: accept jip, deflate, SDC-Language: N-US, N; Q = 0.8, es; Q = 0.6 Where is the resource / api / foos / clientId / recordId here I am saying Get me a list of FOE for Cloud X and Record Y Now, I want to remove a single foo from the list of that fuse, so I $ Delete : $ scope.delete = function (foo) {foo. $ Delete} (); } Although the following result is the result: delete http: // localhost: 55386 / api / foos / 123456/1...

javascript - AngularJS - dates not converting in IE8 -

मेरे पास एक वेरिएबल है जिसमें युग प्रारूप में दिनांक है: var myDate = " 1385923147000 "; मैं इसे नवीनतम एफएफ, क्रोम और IE10 + में आसानी से बदल सकता हूं: myDate = नई तिथि ($ फ़िल्टर ('तारीख') (myDate , 'य्याय-एमएम-डीडी')); myDate.setHours (0,0,0,0); console.log (myDate); जो दिखाता है: Sun Dec 01 2013 00:00:00 GMT + 0000 (जीएमटी मानक समय) यह एफएफ, क्रोम और आईई 10 + में ठीक है, लेकिन IE8 में यह संपूर्ण console.log / रूपांतरण निष्पादित नहीं है जो मैं अपने ऐप को असफल कर रहा हूं। मैं एक IE8 + अनुकूल तरीके से कैसे कन्वर्ट कर सकता हूं ?? कृपया नीचे देखें यहां पर उत्तर के आधार पर आप इसे नीचे की तरह कार्य कर सकते हैं: var ऐप = कोणीय। मॉड्यूल ('ऐप', []); App.controller ('homectrl', function ($ scope, $ log, $ filter) {function parseISO8601 (dateStringInRange) {var isoExp = / ^ \ s * (\ d {4}) - (\ d \ d) - ( \ D \ d) \ s * $ /, date = नया दिनांक (एनएएन), महीने, भागों = isoExp.exec (dateStringInRange); अगर (भागों) {mo...

ios - How to retrieve and assign a NSDate object from NSUserDefaults? -

I am creating a stopwatch application and I first lock the user application to store the start date and when it re Needing to get the user opens the application again. For example, if the user starts the stopwatch and then closes the app and then reopens the application after a while, then the time between opening and closing the app should be added if The stopwatch was in progress, so the running time. I have created two functions in your view controller that handles it's the code: viewWillAppear function overrides (Animated: bool) do {startTimedefault: NSUserDefaults = NSUserDefaults KstandardUserDefaults () to startTimesaved: NSDate = startTimedefault.objectForKey ( "Start time") // this line bug if (Loncbul == true) {timer = NSTimer.scheduledTimerWithTimeInterval (1, target: self selector: "FireStopWatch", UserInfo: zero, repeats: true) startTime = startTimesaved} if (launchBool == incorrect) {timer .invalidate ()}} viewWillDisappear override fun...

python - SaltStack client.cmd outputter -

I am using Python / Flask / Salt API code to make any kind of salt stack web map. Example state check code and output page: - @ app.route ('/ salty') def salty (): user = {'nickname': 'human'} # Fake user client = Salt.client.LocalClient () retinfo = client.cmd ('linuxservers', 'state.sls', ['linuxservers.bashbug-check'], expr_form = 'nodegroup') Returns render_template ("salt.html", title The Dean Output looks like this on my webpage: - {'testerver1': {= 'Salt', user = user, CMD = retinfo) 'CMD_ | -Loc-Bassbaug_ | -Loc-Bassbaug_ | - 'script': {'comment': 'command' status -basbug 'run', '__run_num_': 0, 'change': {'pid': 431, 'password': 0, 'stderr': '', 'Stdout': 'I hate color'), 'name': 'space -basbug', 'result': true}}, This is, I will call it CDD I do not want to ...

java - Can you divide code using pragma-like directives in eclipse? -

Image
I am currently developing a Java tool in Eclipse and some files are very messy, unfortunately it seems that Java files can not be spread over many files, yet I would like to keep my code organized in some way. Back when I used the encoder for development, I used the code division to include the code #Proma mark - code division and #pragma mark TITLE insert Caption. See: Is anything similar Is eclipse in java for? However, there is a good framework that will be most suitable for this type of work. Thanks & amp; Max UPDATE I have found that the length of my class can be the main issue here, yet I do not think how I can reduce it Can i Before moving, I should mention that to show the concept of using the example #pragma mark above given example and taking anything from my actual code Do not give. The class is a converter that parses an object from that file via an RDF / XML file so that they can be stored in local hashsets and written;> . Although thi...

java - Updating a SQLite entry row -

I'm looking to update a line in the SQLite data base. What am I thinking, can I update a line without entering the user in the line? At the moment, my code requires that line IBA be passed in DBAdapter, but I would like to finish it and just want to update the row using two other variables (items and liters). Is this also possible? This is my update function in my DBEdapter category // --- A record - Public Boolean update record (long line ID, string item, string liter) { ContentValues ​​args = new content value (); Args.put (KEY_ITEM, item); Args.put (KEY_LITRES, liters); Return db.update (DATABASE_TABLE, Args, KEY_ROWID + "=" + rowId, null)> 0; } This is my updated class, package com.example.rory.dbtest; Import android App Import android.content.Intent; Importroid.os.Bundle; Import android.view.Menu; Import android.view.MenuItem; Import android.view.View; Import android.widget.Button; Import android.widget.EditText; Import com.pinchtapzoom.R; Extends p...

Grails Unit Test Failing -

So I'm starting to learn Grivi; Grails I am trying to write unit tests for my controller like this: zero testSave () {params.productName = 'ProdName' params.productBarCode = '123' params.productStore = 'ProdStore def' response = controller. Save () response presentation. Product Instances Product Name == 'ProdName'} And this is the controller action def save () {DEF Product instance = new product (Paramos) if (! Product Instance.Save (Flush: True)) {Render (See: "Create", Model: [Product Instance: Product Instance]) Returns} Flash. Message: (message: 'product.label', default: 'product'), productInstance.id (message: code: 'default (number: "show", id: productInstance.id)} [edit]. ] And when it is an exception, throws 'test-aap' groovy.lang.MissingMethodException: any signature of the method: xxx.Product.save () Not applicable for logic types: () valu Es: [] Possible solutions: save (),...

ios - Creating Launch Screen.xib for iOS8 -

I just learned that to be able to describe your app in the app store, "this app is for iPhone 6 and iPhone Optimized for 6 Plus. "You need to use Launch XIB or Storyboard file for your launch images (per [Apple] [1]). Therefore, I have created a new launch screen xib and now I am in a while but since I usually do everything in code and do not use the interface builder. I have removed the default label that is inserted and removed UIImageView in the view. Now I am wondering how it will be: 1) On whatever screen To change its size, tell UIImageView 2) Tell UIImageView to choose the image AC if the 3.5 inch screen app or imagebane is running, the 4-inch screen app Etc. are running etc. Basically, I'm just trying to get the launch. The behavior of how the launch screen works normally, if someone can give some help on this, it will be appreciated! You have two options: , And give the image view a full screen presence (distance above, below, left and ri...

c# - MVVM Light Solution cannot be found in VS 2013 -

My goal is to create an MVVM light project with Visual Studio 2013 in C #. I've downloaded the MVVM light (v. 5.0.2), i.e. MvvmLight.VS2013.vsix . After installation, I can select templates when creating a new project. However, after creating a new MvvmLight-project, I get an error saying that the project solution is not found and I should make sure that my solution directory is saved when I run the project, let me say this one The error is that "GalaSoft" type or namespace was not found. I have already seen, which includes problems installing MVVM lights. However, this is a separate issue and solutions of this thread do not solve my problem. Did I do something wrong? Update: Exact error Unable to detect solution directory Please ensure that the solution is saved is. Then, when I run the project, I get the following error: Type or name space name 'GalaSoft' can not be found ( Do you miss the use directory or assembly reference?) An ex...

android camera - Will Google Picker WebCamView ever work at all? -

I'm walking with the Google Picker API, and wondering if it will not be closed. Or is it that I am an elementary-choice? 14 months old, and at that time only 56 views were received. If Google was taking the product seriously, I also tried webcamview in an Android tab without success, and realized that the picker depends on Flash Player 11 , Which Google had abandoned in support of Android 26 months ago. Can anyone say whether it is a Shankaracharya of the future of Google Picker, or a temporary set back, until they can integrate the HTML5 camera support? Is there any way to use Webcam VUU right now? In any browser?, In any OS?

postgresql - Rails before_destroy callback db changes always rolled back -

I am trying to remove the model from DB and it is too much to follow (see 9.2.5.3 Exercise I have a simple model: class user & lt; ActiveRecord :: base before_destroy update_attribute (: deleted_at, Time.current) incorrect end > and in the controller: Delete def @ user = user # # User.update! (Deleted_at: time.zone.now) #If I do it So it works at user.destroy @ # if I also comment on this line ... render: sh End Callback is called and the attribute is set, but then the database transaction is always rolled back. I leave it because I false The model is removed because the deletion execution is not stopped. As you can see in the comments, I can find it to work, but do I actually have a service object To use So my logic and I want out of the controller. If your callback incorrectly transmits the transaction will always be rollbacked. Whatever you want, you should not call the destroy method on your escale object. Instead, make your own method like ...

Strange difference between calling command from windows cmd line and from python -

I have a strange behavior during the executable third party management in my Python code. Conceptually I have the following code in Python: import subprocess p = subprances Popen ([rc: \ path \ to \ programme.exe ',' -d '], stdout = and outside Code> is returning its traceback, and an error code which means "unchecked exception" with a simple os.system (...) But here's the fun part, when I paste the command in the window shell, it works perfectly ... C: \> C: \ path \ to \ programme.exe -d Python interpreter is 32 bit 2.7.2 version. ..devil What is the difference between these two calls which leads to Tana? Thanks in advance. Additional Information I'm not sure if this help But this external device connects to a database and performs some functions. It works with some RDBMS when called by Python code, but when it connects to an Oracle DB, it crashes So the Python code looks correct, only one factor or difference La...

openshift origin - DNS failure when creating and app -

itemprop = "text"> I followed this tutorial to deploy OpenShift original using VirtualBox in a MacBook Air OS X 10.10 (Yosemite) I am Once VM is running, I can execute from the host terminal successfully following command: --server broker -66587 a.openshift.local -l demo However, when I try to create an app, I get the following error: rhc create-app prueba php-5.5 application options ------ -------- prueba-: - ----- Domains: Santiago Cartridge: php-5.5 Gear size: Default scaling is waiting for DNS to make any application 'prueba' ... its DNS name Available Waiting ... Retry # 1 Waiting for santiago.openshift.local Try again # 2 - Waiting for DNS: prueba-santiago.openshift.local # 3 Try again - DNS Waiting for: prueba-santiago.openshift.local Try again # 4 - Waiting for DNS: prueba-santiago.openshift.local Try again # 5 - Waiting for DNS: prueba- Santiago.openshift.local Try again # 6 - Waiting for DNS: prueba-santiago.openshift.local Try again # 7 - Ic...

apache - Cannot access my Wampserver thru global ip -

I have to use my valve for a moment through my global IP address. But I can not do that I am using the latest WAMP 2.5 for 32-bit. This works first when I first made the left versions only go to the tray icon> Keep online and voice as it looks like they change something. Even if I put it online I can not use it It says that the Vamp is online. I have not received any "denied access" which you used in the earlier version, it only loads until the time has expired, and then I get the browser, not even the website error message. Can reach. "This website is not available" Google Chrome I have DMZ installed on the computer, so the port is not a problem. In httpd.conf, I have it (this is the default): Any ideas?

Can't type in tinyMCE 4 instance after mceAddEditor -

Pre-Note: This issue occurs if I already have a text on the page or not. I have a button that first triggers an AJAX request ... writing something for a database and returning the key I use that key in my ID for textarea Which is then dynamically linked to the page. Keep in mind that tinyMCE has already been started. tinymce.init ({selector: ".adder", setup: function (ed) {ed.on ('change', function (e) trigger ('checkform.areYouSure'); }; Ed.on ('init', function (e) {autoresize_max_height: 500})}}, plugins: ["Advlist auto link link responsivefilemanager lists printing preview hours anchor pagebreak spell-checker charmap", "searchreplace wordcount visualblocks Visualchars code fullscreen insertdatetime nonbreaking media "," save table contextmenu directionality template paste textcolor colorpicker responsivefilemanager autoresize "], toolbar:" back again | styleselect | bold italic | forecl "Back to the t...

Google compute engine not initialized on new project -

I have started a new project on Google Cloud but I am unable to use the compute engine. I get the following message even after 6-7 hours. Google Compute Engine is not yet ready to use in the project if Google Compute Engine is still enabled, or the first time you use Google Compute Engine in the project this may take several minutes. Is there something I'm missing or is there a problem? I removed the project and created a new one and it worked if If someone wants to see Google, I would love to tell you what happened.

How do I insert an image instead of using text in Javascript? -

I want to use hyperlink to show an image instead of using text in the starred text below, but I'm sure Do not let that happen. Is it possible to do this within javascript ?? I have tried to see other questions of similar parameters, but I am not sure how to translate replies to my questions. Thanks! var user; Choose Var = function (like) {user = option; } Var computerChoice = Math.random (); If (Computer Choice Yo needs to be entered: Document.getElementById ("Results"). InnerHTML = "& lt; img src = 'yourimg' alt = 'yourimgtext' / & gt; Where "yourimg" is the image that you want to show.

sql - Left outer join "The correlation name 'MMP_PPRVU' has the same exposed name as table 'MMP_PPRVU'." -

I am currently struggling for some time. Something to do is how I am involved in MMP_PPRVU. Basically, I CLARITY_TDL_TRAN -> CLARITY_EAP1 -> MMP_PPRVU am trying to join as well CLARITY_TDL_TRAN -> MMP_STAGING_UNITS -> MMP_PPRVU. All left outer join I have tried many different ways, but can not come up with a solution that works. Any help is very much appreciated. ........ CLARITY_TDL_TRAN left to join as external MMP_STAGING_UNITS on MMP_Staging_Units.eTDL_ID = CLARITY_TDL_TRAN.TDL_ID from dbo.MMP_STAGING_UNITS CLARITY.dbo.CLARITY_TDL_TRAN And leave the outer except CLARITY_TDL_TRAN.DETAIL_TYPE (1, 10) CLARITY.dbo.CLARITY_EAP CLARITY_EAP.PROC_ID = CLARITY_TDL_TRAN.PROC_ID except CLARITY.dbo.CLARITY_EAP CLARITY_EAP as CLARITY_EAP1.PROC_ID = CLARITY_TDL_TRAN.PROC_ID - in this nickname CLARITY_TDL_TRAN.DEPT_ID = CLARITY.dbo on CLARITY_DEP.DEPARTMENT_ID the CLARITY.dbo.CLARITY_DEP as CLARITY_POS.POS_ID = CLARITY_POS.POS_ID left external CLARITY.dbo.CLARITY_POS CLARITY_...

c# - Extending key value pair functionality in app.config -

I have several rules in my console application that I want to turn on and off in app.config. The App.config key values ​​support joints, so good times - I can just define some rule keys and store the flag in value. Now I want to add an unspecified comment field to get a rule description, however, there is no facility to do this. Obviously I can roll my own config file and read it with standard XML methods, but I'm thinking that there should be a better way of doing this, this app.config file inside. I could also include comments within key / value but it also seems unsatisfactory. Any thoughts? OK, under the initial lead of Powell and I got some code, Managed in Hope this is useful for other weary passengers! : -) App.config & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Configuration & gt; & Lt; ConfigSections & gt; & Lt; Section name = "rule set" type = "expanded kvp. Address of ...

Calling Cython C functions from Python -

मेरे पास foo.pyx नामक एक फाइल है जिसमें निम्नलिखित कार्य हैं: def add_one (int n): cdef int m = n + 1 वापसी m cdef int c_add_one (int n): वापसी n + 1 मैं यह pyx फ़ाइल का उपयोग करके cython -a foo.pyx और उसके बाद कर सकते हैं: & gt; & gt; & gt; आयात फू & gt; & gt; & gt; Foo.add_one (5) 6> gt; & gt; Foo.c_add_one (5) एट्रिब्यूट त्रुटि: 'मॉड्यूल' ऑब्जेक्ट में कोई विशेषता 'c_add_one' नहीं है ऐसा लगता है कि मैं अजगर से c_add_one कॉल नहीं कर सकता cdef का उपयोग करके फ़ंक्शन घोषित करने के क्या फायदे हैं? स्पीड : सिथन और सी cdef और cpdef फ़ंक्शन नियमित फ़ंक्शन से अधिक तेज़ कर सकते हैं। नियमित डीएफ़ फ़ंक्शंस पूर्ण-पूर्ण पायथन ऑब्जेक्ट्स हैं। उन्हें संदर्भ गणना, जीआईएल, आदि की आवश्यकता होती है। इनकैप्सुलेशन : यदि किसी फ़ंक्शन को cdef घोषित किया गया है, तो इसे पायथन उपयोगकर्ता के सामने नहीं भेजा जाएगा। यह फायदेमंद है यदि फ़ंक्शन का उपयोग सार्वजनिक उपभोग के लिए कभी नहीं किया गया था (उदा। क्योंकि यह उसके मापदंडो...

conditional statements - conditionally multiply a vector by another r -

मेरे पास निम्न सदिश है trans & lt; - c (-2,3,10 , -5, -2,56,0) और मैं प्रारंभिक संख्या सकारात्मक या नकारात्मक के आधार पर दो वैक्टर की पसंद से प्रत्येक तत्व को गुणा करना चाहता हूं negtrans & lt; -c (1,2,3) पोस्ट्रन & lt; -c (4,5,6,7) परिणाम इस तरह दिखना चाहिए -2 12 50 -10 -6 336 0 यहां कुंजी को बरकरार रखने के लिए है एक तरीका unsplit (मानचित्र (`*`, विभाजन (ट्रांस, ट्रांस & gt; = 0), सूची (negtrans, postrans)), ट्रांस & gt; = 0) # [1] - 2 12 50 -10 -6 336 0

php - Check if an array has different value than zero -

I need to check whether my array has different values ​​than 0 (for this particular case). Apart from this, the array can vary from element 1 to m elements. My array is of the form: (These are the random numbers that can change the position) array ('0', '1', '1', ' 3 ',' 1 ',' 5 ',' 0 '' 2 '/*...*/); Is such a function, or do I need to run a whole array and do a loop to check each index? You can use the function maximum () which is the highest from the array Value if (maximum ($ MyArray)> 0) {#do ur talk}

Google Drive sharing dialog blocked by x-frame-options, sameorigin -

I can not get shared communication to work for my life I have created a test page here: Am I doing the wrong thing that I block by xframe? It seems that for the problem I needed to install the app on the user's Google Drive. While using backend API it is very easy to do but it is not easily clear when using the JS API.

javascript - Toggle issue using input value as id -

I use jQuery .toggle () to create three divs. The unique ID and decision in the division, which is toggled Digg, is based on the three radio buttons that have been selected. The three radio buttons have a value that corresponds to the ID of the device. Therefore, if a person clicks on 1 radio, the division should be toggled with id cMB_0292_A07.m1 . Although I am not getting any answers and there is no report in it, I have tried that any error in debugger is wrong? & lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; Function shadow (obje) {var n = obj.name; Var v = $ ("Input: radio [name = '+ n +"']: checked "). Val (); Warning (v); $ (" # "+ v) Toggle ();} & Lt; / script> gt; & gt; & gt; Body & gt; & lt; input name = "...

r - using variable column names in dplyr (do) -

मेरे पास निम्न उदाहरण डेटा है d.1 = data.frame (id = सी (1,1,2,3,3), दिनांक = सी (2001,2002, 2001, 2001, 003), माप = सी (1: 5)) d.2 = data.frame (आईडी = सी (1 , 2,2,3,3), दिनांक = सी (2001,2002,2003,2002,2008), माप = सी (1: 5)) डी = मर्ज (डी .1, डी .2, सभी = टी, द्वारा = "id") d.1 और d.2 दो तरह के माप हैं और मुझे प्रत्येक माप में से एक की आवश्यकता है प्रति आईडी । माप संभव के रूप में एक दूसरे के करीब होना चाहिए। मैं dplyr द्वारा की आवश्यकता (dplyr) d = d% & gt;% group_by (id)% & gt;% ((which.min) के साथ ऐसा कर सकते हैं (एब (। $ Date.x - $ date.y)),]) सवाल है कि मैं कैसे dplyr का उपयोग कर सकता हूं अगर दिनांक कॉलम जैसे name.x = "date.x" और name.y = "date.y" की तरह एक चर में सहेजा जाता है क्योंकि मैं का उपयोग नहीं कर सकता > ... do (। [Which.min (abs (। [, Name.x] - [।, Name.y])),]) .... मैंने eval , as.symbol ans सामान का उपयोग करते हुए एनाएथर समाधान खोजने की कोशिश की लेकिन मैं एक समाधान नहीं समझ पाया ... ...

android - get_current_user() returns None due to "Audience not allowed" warning in Cloud Endpoints -

Receiving a "audience is not allowed" warning in my Google Developer Console log when authenticated via Google Cloud Endpoint with Android app while trying to make a request are viewing through endpoint source code, which is compatible with: aud = parsed_token.get ('aud') cid = parsed_token.get 'esp ') If the odd! = CID and OAD are not in the audience: logging. Warning (My audience code in the android app: 'Audiences are not allowed:% s', Audi) / P> public static final string WEB_CLIENT_ID = "web -client-id.apps.googleusercontent.com "; Public static final string AUDIENCE = "server: client_id:" + WEB_CLIENT_ID; GoogleAccountCredential Credential = GoogleAccountCredential.using Authority (mContext, AUDIENCE); Graphics. Manufacturer Maker = New Graphics Manufacturer (HTTP_TRANSPORT, JSON_FACTORY, Credential); Grapi service = builder.build () Where "web-client-id" is the alpha numeric client id generated i...

javascript - How to get correct time in utc using moment.js when the device time is set incorrectly? -

I set the time of mobile device in the forward / backward form for 10 minutes and moment.utc to get the uT timestamp () Is done. The timestamp received is not correct, it preserves the forward / backward minutes any solution?

url - Odata cast Edm.DateTimeOffset to long? -

It is possible to define a very long date (date in milliseconds) ex: url / fiels? $ Filter = cast (Date of birth, 'Adam. DCMAL') gt0 This will give me back all those areas whose date of birth is January 1, 1970 ... But I {"error": {"code": "", "message": "The query specified in the URI is not valid. Binary Operator GreatThane is called 'System. Object' And 'System' is not defined for 'Nil' 1 [System. DCIL]. "}} Please check, only numerical primitive types Number two are supported to enter the primitive type. So you want the conference not directly supported, but you can write your custom unbound function to archive it.

java - how to read multiple resources using spring annotations -

मेरे पास निम्न context.xml है। & lt;? Xml संस्करण = "1.0" एन्कोडिंग = "UTF-8"? & Gt; & Lt; बीन्स xmlns = "http://www.springframework.org/schema/beans" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: संदर्भ = "http: // Www.springframework.org/schema/context "xmlns: jms =" http://www.springframework.org/schema/jms "xmlns: tx =" http://www.springframework.org/schema/tx "एक्सएसआई: स्कीमा स्थान = "http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context Http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring- Jms-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd "& gt; & Lt; संदर्भ: एनोटेशन-कॉन्फिग / & gt; ...

c++ - vector push_back calling copy_constructor more than once? -

The way I behave vector push_back, I'm a bit suspicious, with the following snippet I hope the copy constructor is only Will apply twice, but the output otherwise suggests whether it is a vector internal restructuring that results in this behavior. Output: Inside the copy with my_int = 0, copy the underlying copy = 0 into my_int = 0 My_int = 1 with square mant {private: int my_int; Public: Ment (): my_int (0) {cout & lt; & Lt; "Inside the default" & lt; & Lt; Endl; } Mant (Constant Ment and X): M_Int (XIIIIT) {COAT & LT; & Lt; "My_int =" & lt; & Lt; X.my_int & lt; & Lt; Endl; } Zero Set (Consult & End) {my_int = x; }} Vector & lt; Myint & gt; Myints; Mentor X; Myints.push_back (x); X.set (1); Myints.push_back (x); What happens: X is inserted through the push_back . A copy is made: The newly created element begins with the argument. my_int is taken as zero because the default constru...

ios - Swift - UITableView didSelectRowAtIndexPath & didDeselectRowAtIndexPath Add & Remove indexPath IDs -

यह कोड है: समारोह tableView (tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath ) {जाने SelectedItem = items.objectAtIndex (indexPath.row) स्ट्रिंग के रूप में जाने Itemid = selectedItem.componentsSeparatedByString ( "$% ^") // Itemid [1] - मद आइडी} समारोह tableView (tableView: UITableView, didDeselectRowAtIndexPath indexPath: NSIndexPath) {जाने SelectedItem = items.objectAtIndex (indexPath.row) स्ट्रिंग के रूप में जाने Itemid = selectedItem.componentsSeparatedByString ( "$% ^") // Itemid [1] - मद आइडी} कैसे करें आइटम आईडी "अर्रे या स्ट्रिंग में या कुछ और ..." जोड़ें? जब आप 0,1,4,5 पंक्तियों का चयन करते हैं, उदाहरण के लिए आपके पास अलग-अलग आइटम आईडी हैं "ऐरे या स्ट्रिंग में" और फिर जब मैं उन्हें अचयनित करना चाहते हैं, तो IndexPath.row से सटीक आइटम आईडी को कैसे अचयनित करना है जो अचयनित है और ढूंढता है यह "सरणी या स्ट्रिंग में या कुछ और ..." और इसे हटा दिया? मेरे टूटी हुई अंग्रेजी के लिए क्षमा करें यदि आपके पास...

jquery - Attempting to get columns to sit side by side CSS Bootstrap -

I am creating a website on WordPress using the Twitter Bootstrap framework. I have a loop that goes through my case study and prints them on the page in 8 column wide space, so I try to put my sidebar next to these case studies with width 4 I do But it just push my sidebar in the lower part of the page. The only solution I have found is to give a negative margin, doing this, the background image separates from other pages, so it can not be used. This is my code which generates case studies and then generates my sidebar. Thank you! & lt ;? Php if ($ wp_query -> is_pause ()): while ($ wp_query-> is_pos ()): $ wp_query- & gt; The_post (); ? & Gt; & Lt; Div class = "line case-study-block" & gt; & Lt; Div id = "page_content" & gt; & Lt; Div class = "col-md-8" & gt; & Lt; Div class = "case_summary_image col-md-4" & gt; & Lt; A href = "& lt ;? php the_permalink () ;? & gt;...

projection matrix - OpenGL 3D Transformation: z-Aspect ratio -

Image
I am launching 3D perspective in OpenGL (WebGL), I am doing it with uniform-matrix. Ever been working fine, but I have an aspect ration of 3: 2 (600 px x 400 px) and it is sung in all geometry. In 2D, I get it in the model matrix through X and Y respectively 1 / width and 1 / height. Now I have a life to worry too and I do not know how to distract z on my 3: 2 aspect ratio. Model matrix does not offer any opportunity to do this and I do not know what to do / what to do in projection matrix. Edit: Projection matrix: @_ pMatrix = [1, 0.0, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 0.0, - ( F + n) / (f - n), -1, 0.0, 0.0, - 2.0 * n * f / (f - n), 0.0] column head order Editing 2: Strange Distortions on N & LT; 1 You do not want * left *, * right *, * top *, * down * in your projection matrix. 2 * n ----- 0 0 rl 2 * n ----- 0 tb r + l t + b - (f + n) ---- - ----- ------ - 1 RL TB FN-2F * N 0 ------ FN If you type in (RL) / (TB) = 3/2 The amount of viewing this...

qt - Problems between C++ and qml -

I am creating an app using Qt Quick Control and I need some C ++ in it (to print and read the file) . I've lost it, so I've modified it for your needs: Boney H #ifndef BONURI_H #define BONURI_H # Include & lt; QObject & gt; # Include & lt; QTemporaryFile & gt; # Include & lt; QIODevice & gt; # Include & lt; QPainter & gt; # Include & lt; QtSvg / QSvgRenderer & gt; # Include & lt; QFile & gt; # Include & lt; QTextStream & gt; # Include & lt; QtPrintSupport / QPrintPreviewDialog & gt; # Include & lt; QtPrintSupport / QPrinter & gt; Class Bonuri: Public QObject {Q_OBJECT Public: Clear Bonuri (QObject * Parents = 0); Public Slots: Zero Print SVG (Constructing and In); Caststring list (); Zero real print (QPrinter * p, const QString & amp; in;); }; #exif // BONURI_H bonuri.cpp #include "bonuri.h" Bonuri :: Bonuri (QObject * Parents): QObject (parent) {} zero Bonuri :: printSVG (in...

arff - Handling % sign in the string attribute in weka -

मेरे पास एक एआरएफ फाइल है जो इस तरह की है @relation training_set @attribute URL स्ट्रिंग @ एटिबूट डीओआई न्यूमेरिक @ एटिबिट आईबीएन न्यूमेरिक @ डिटेक्टिव निष्कर्ष न्यूमेरिक @ एट्रिब्यूट सोर्सटॉफी {वैज्ञानिक, गैर-वैज्ञानिक} @डेटा http://www.nejm.org/doi/full/10.1056/nejmra1002842, 0, 0, 1, 0, वैज्ञानिक http : //www.plosone.org/article/info%3adoi%2f10.1371%2fjournal.pone.0014270#pone-0014270-t003, 1, 0, 1, 0, वैज्ञानिक मुझे यह फाइल लोड करने में समस्या है क्योंकि मुझे यूआरएल डेटा में "%" चिह्न है I मुझे पता है कि% को वीका में टिप्पणी के रूप में माना जाता है, लेकिन क्या इस तरह की स्ट्रिंग लाने का कोई तरीका है? मैं यूआरएल को नाममात्र आंकड़े के रूप में नहीं बना रहा हूं क्योंकि यह प्रशिक्षण सेट में पहचानकर्ता है? लपेटकर सिंगल-कोट्स में स्ट्रिंग, मैं आपकी फ़ाइल को सफलतापूर्वक Weka में लोड करने में सक्षम था (मैंने आपके डेटा की संरचना से मिलान करने के लिए एक अन्य विशेषता भी जोड़ा है): @relation training_set @attribute url string @ विशेषता आईओआई संख्यात्मक @ वरीयता आईबीए...

Fortran matrix has dimensions 0,0 even though it is initialialized with dimensions 5,5 -

इसका कारण क्या है? 27 पुनरावर्ती उपनगरीय svd_jacobi (ए, मी, एन, यू, एस, वी) 28 29 अप्रत्यक्ष कोई 30 31 असली (8) :: ए (मी, एन) 32 वास्तविक (8) :: बी (एन, एन) 33 वास्तविक (8) :: यू (एम, एम) 34 वास्तविक (8) :: एस (एम, एन) (जीडीबी) पीएन $ 25 = 5 (जीडीबी) व्हाइज़ बी टाइप = रिअल (प्रकार = 8) (0,0) (जीडीबी) व्हाइज एन टाइप = पूर्णांक (दयालु) = 8) (जीडीबी) अधिकतर आपके जीडीबी का संस्करण पूरी तरह से समझ में नहीं आ रहा है फोरट्रान सरणी डिस्क्रिप्टर जीडीबी आर्चर शाखा में कुछ सुधार हैं, जो कि AFAIK अभी तक ट्रंक में विलय नहीं किया गया है।

sql - Join and compare data from two tables -

I have the same schema name and project and allocation_time (integer) two columns allocation_de (integer) in two tables project and Timings are from TimesShops. I just want to join those two columns and want a small verification like this: SELECT Project.ID, Project.allocation_days, Timesheet.allocation_time project INNER JOIN Timesheet ON project.ID = Timesheets.Id; Surely from project (@hours / 24) and lieutenant; Allocation_dev - some ELSE BREAKENDIF In order to get the merger, the order of the conditions is not known, if it is & lt; Thank 24 or break You can do this in a single query like * Select, case when SUM (allocation_time) / 24

html - text align right/ float right in embedded ruby not working without wrapping <p> tag -

Trying to align the "Delete Schedule" text on the right without aligning "stuff on the left" to the right . In addition, the next line is not the result of "delete schedule", wrapping paragraph tags on the specific line and adding text-alignment: correct. Tried to style with embedded Ruby, & lt; Div class = 'panel callout radius' & gt; & Lt; Li style = "list-style-type: none" & gt; & Lt;% = 'Accessories on the left'% & gt; & Lt;% = link_to 'Delete schedule', session_schedule_path (session_schedule, to: request.fullpath), Method :: Delete, Data: {Confirm: 'Are you sure to delete your schedule?'}, Style: 'text - Align: right '%' & Lt; / Li & gt; & Lt; / Div & gt;

javascript - Using angular-datatables DTOptions In Controller -

I am using in a project. I'm using it like this: & lt; Table datatable = "ng" class = "table-bordered table" & gt; & Lt; Thead & gt; & Lt; TR & gt; & Lt; Th & gt; Id & lt; / Th & gt; & Lt; Th & gt; First & lt; / Th & gt; & Lt; Th & gt; Last & lt; / Th & gt; & Lt; Th & gt; Business & lt; / Th & gt; & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; Tbody & gt; & Lt; Tr ng-repeat = "people in people" & gt; & Lt; TD & gt; {{Person.Id}} & lt; / TD & gt; & Lt; TD & gt; {{Person.FirstName}} & lt; / TD & gt; & Lt; TD & gt; {{Person.LastName}} & lt; / TD & gt; & Lt; TD & gt; {{Person.Job}} & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; / Table & gt; Strange, the table render however, it does not behave like a data table. The layoffs are not ...

java - JPA NOT IN statement -

I have an app that uses MySQL, JPA with Eclipse links. I have marked DB user's collection as "active" and already have already been loaded in the list. This is my method: public list & lt; Users & gt; Search AllButUsers (list & lt; user & gt; users) {list & lt; Users & gt; List = null; Query query = em.createQuery ("Choose from user and user not in: User and U.State =: Status"); Query.setParameter ("Status", "Active"); Query.setParameter ("user", user); List = query.getResultList (); Return list; } and logs me to the server: OK: selector, time, email, name, password, salt, status from user where (( Not a claimant (?)) And (position =?)) Bind => [Com.wa.gp.jpa.entities.User [iduser = 2], ACTIVE] binding => [ user from com.wa.gp.jpa . [IDUser = 2] , Active] shows me that instead of binding the ID, it passes the value to the user.tasting method, thus in such a way that the user passe...

listview - Pull down to discard - android -

I have a list view that slides the trigger by an onclick event of a scene. Now I want the user to be able to pull or pull this list. What I see is implemented in the Google Play Music app, where you can simply swipe to the currently playing music and bring it to the bottom bar. However, I do not have any bottom bars because I want to completely abandon this scene. How do I apply it?

haskell - Is there a way to `fromIntegral . fromEnum` that works with all Integers? -

& gt; (इन्ट्राग्रील से इन्नम) सच्चा 1 अच्छा। & gt; (इन्ट्राग्रल से एन्नम) (10000 :: इंट) 10000 अच्छा। λ (से इंटेग्राल से। एनएम) 100000000000000000000 7766279631452241920 अच्छा नहीं। मैं कुछ कोडिंग data.bits के साथ बैटिंग कर रहा हूं और Bool , इंट और पूर्णांक । पूर्णांक फ़ील्ड बहुत बड़ी हो सकती हैं। अपडेट मैं जो करने की कोशिश कर रहा हूं, इस तरह से ऐसा लग रहा है: से एक्सचेंज :: एक्सचेंज - & gt; पूर्णांक से एक्सचेंज ई = पठार संयोजित करें बिट्स 0 इकट्ठा करें, जहां गठबंधन बीट्स = ((। |)। ($ E)) collectBits = [(`shiftL 127 127)। चकनाचूर । DoCommand, (`shiftL` 126)। चकनाचूर । ReadComplete, (`shiftL '116)। इंटरएग्रल से DestId, (`shiftL` 64)। पता, पेलोड, (`shiftL` 108)। इंटरएग्रल से मुखौटा, (`shiftL` 104)। इंटरएग्रल से से कॉमांड कमांड] tobit :: Enum a = & gt; ए - & gt; पूर्णांक toBits = से इंटरएग्रल यदि संभव हो तो toBits / fromIntegral का कारक करना चाहते हैं।

list - Alternating Sum Using FOLDR (SML) -

I use foldr to get an optional amount from the list I'm trying to int, but keep an operator / operator mismatch error. I think I'm expecting the output to be fold / code> 1 - 3 + 5 - 7 + 9 = 5 Edit: I actually asked to use an anonymous function with foldr For example, for example l = [1,3,5,7,9] fold (FN (x, y): => x - y) l with the same expected output, but I'm still merging the same operator / operator foldr code> foldl ) Once Rnbhik value. foldr type ('a *' b -> 'b') - gt; 'B - & gt; 'A list - & gt; 'B' , where 'b is the result of the result of the bottom of each stage (also the initial value, which is the initial "result"); And the 'a is the type of elements in the list. Note that the combination function can be different from 'a and ' b takes an element and previous result and gives new results. However, you need to think about a suitable init...

c# - Why can't I get the vaue of __RequestVerificationToken from AngularJS or even pure JavaScript? -

Image
I am writing a front-end application with Bootstrap and AngularRes for a C # MVC back-end code. Using Chrome's Developer Console (and any other browsers including IE), I can see a cookie called __ request VerificationToken , as shown below. : I understand that This is a technique that is used to stop the attacks. Anyway, since this cookie, I was trying to get the value of using anglers js module $ cookies , but it always returns undefined , and print document.cookie does not show the code below: ... this.initApp = function () {console.log ('__Request Verification value: '' $ Cookies .__ Request VerificationToken + '' '); // angular path console.log ('cookie:' 'document.cookie +' '' '); // pure javascript}; ... So my question is, if cookie is present and every one is being sent to the customer in response, then why can not I value it, and how do I get it? You have the [ValidateAntiForgeryToken] attribute th...

php - Writing and Exporting Excel file Using PHPExcel -

Image
I am trying to fill my Excel sheet with the data I have done. Now I am getting a sheet but I have not only filled one line, it is not receiving the data, though this is my object. I I was trying my sheet in the same way as this sheet. I am I am trying to write code in this part of the code: public function export ($ set, $ disp_filter) {$ objPHPExcel = new PHPExcel (); $ ObjPHPExcel- & gt; GetProperties () - & gt; Setitle ("official excel test document"); $ StyleArray = array ('font' = & gt; array ('bold' => true, 'color' => array ('RGB' => 'FF 20000'), 'size' = & Gt; 10, 'name' = & gt; wardan ')); $ ObjPHPExcel- & gt; GetActiveSheet () - & gt; GetStyle ('A1') - & gt; ApplyFromArray ($ styleArray); $ Excel_out = array ($ this-> Output SampleName ($ set)); // var_dump ($ excel_out); // Go out; $ ObjPHPExcel- & gt; GetActiveSheet () - & gt; Setel V...

r - Phyloseq ggplot2 objects do not allow certain elements to be added -

I want to modify the plots produced by the phyloseq package (download it from Gitub). Phyloseq plots are ggplot2 objects, so I think I can add elements by adding ggplot2 objects to the phyloseq-built object. In some cases it works, but not in others, and I do not understand why for example: is required (phyloseq) required (grid) Requires (ggplot2) (plyr) Phyloseq package requires GlobalPatterns Dataset #use from GP & lt; - GlobalPatterns #de wh0 of some preprocessing data; - genefilter_sample (gp, filterfun_sample (function (x)> 5), a = 0.5 * nsamples (GP)) GP1 & lt; - prune_taxa (wh0, gp) GP1 & lt; - transform_sample_counts (GP1, function (x) 1e + 06 * x / zodiac (x)) phylum.sum = tapply (taxa_sums (GP1), tax_table (GP1) [, "race"], yoga, na.rm = TRUE) Top5phyla = name (type (race yoga, tru)) [1: 5] GP1 & lt; - prune_taxa #ordination # (for the NMDS plot using taxonomical (GP1) [, "caste"]%% in% top5phyla), GP1) using a broad-curtiss dista...

vbscript - How do you use Classic ASP string in client side Javascript? -

I have the asp classic page and when I try to use the ASP variable in the javascript code, it's only numbers It allows, when it sends an error in a string variable: and lt;% dim a, ba = "11322353464767875689" b = " Some ID = 1 and one more = 2 "% & Gt; & Lt; Script language = 'javascript' & gt; Var urlParamsJS = & lt;% = b% & gt; Warning (urlParamsJS); Var params = 'dependent = yes, directory = no, hotkeys = no, menu bar = no, personalbar = no, scrollbar = yes, status = no, titlebar = yes, toolbar = no'; Var Follol = 'Page ASP? P = 'URL Parameters JS Yr Ventaner 2 = Open (Fullural,' Other Tips', Parameters); Wcontainer2.resizeTo (900,470); Wcontainer2.moveTo (100,220); & Lt; / Script & gt; "); when I use then prints the screen "); But when I & lt;% = a%> , I get a warning with this text page.asp? Some id = 1 and other = 29 '" or var urlParamsJS =...

html - How do you center text in a select drop down menu, style the drop down and add a down arrow? -

Image
This is killing me. I have 2 menus which I need to focus on text. I have text-aligned Has tried varieties: center, margin: 0 auto, etc. I can not use padding because the names of all the elements are different sizes Any ideas? Here the rail section of the code, which creates a select drop down. & lt;% = Archive_sect (: id ,: name, @restaurants, id ,: name, hint: "choose a restaurant")% & gt; The code is displayed when it is produced in HTML. & lt; Select id = "id_name" name = "id [name]" and gt; & Lt; Option value = "" & gt; Choose a restaurant & lt; / Options & gt; & Lt; Option value = "5" & gt; Jamba & lt; / Options & gt; & Lt; Option value = "4" & gt; Smokey Joes & lt; / Options & gt; & Lt; Option value = "3" & gt; Arbis & lt; / Options & gt; & Lt; Option value = "1" & gt; McDonald's & lt; / Options...

asp.net - How can i use a Rest webservice in my wpf client software? -

How do I now use Social Base YS> Add Service Reference ... But how do I Can I use a pure webservice in my client-side software? If I remember correctly, if you are using MVC or web form You can make an example of the webservice created in your code (or the back-code) for that topic, then you will use that object, which you created and did not call for different ways, but trying Try Another Way to Give This Rental Web Services a Good Example of Creating and Consuming That you can pass it by looking at the Konari JS. Hope it helps!

javascript - Angular ng-if in compile doesn't respond -

I am trying to create an element with an angular element and add some elements. An NG in the new element - if it is necessary to show whether it is visible on a scope variable condition. But for some reason this does not answer the change. This code is: return {restrict: 'a', scope: {object: '= on}}, compiled: function (amm) {var td = angular.element (' & Lt; td> & lt; / td & gt; '), passro = angular. Element ('& lt; i class = "FA-Arrow-circle-right" NG-if = "! Object.open"> gt;'), Opener = angular Element ('& lt; i class = "fa-arrow-circle-down" ng-if = "object. Open"> gt; ;); Td.append (closeRow) .append (openRow); Elem.append (TD); Return link; }} Function link ($ radius, AMM) {$ scope.object.open = false; Elem.on ("click", function () {$ scope. $ Apply (function () {$ scope.object.open =! $ Scope.object.open;})}}}} } and html: & lt; tr on the slide-to-li...

Comparing dictionary to itself? python -

Then I have an initial dictionary like this: color = { 'Blue': 1, 'red': [], 'green': []} And after I run my code, I end up with it: color = {'blue': [], 'red': [], 'green': 1} I have the initial key blue color with the last key green How do I compare key values? I also want to see if the red remains empty or not. You can already use it to copy the original import copy color = {'blue': 1, 'red': [], 'green': []} originators = copyPP (color) ex>

math - How to find the outliers of a Ruby array/hash of integers? -

यहां मेरा इनपुट है: [{नाम: 'जॉन', आयु: 50 }, {नाम: 'बॉब', आयु: 50}, {नाम: 'पॉल', आयु: 0}, {नाम: 'अल्फ्रेड', आयु: 100}] I चरम युगों को ढूंढना चाहते हैं, और मैं एक वेरिएबल के रूप में डालना चाहता हूं जो चरम सीमाओं को समझना चाहिए। इसलिए, उदाहरण के लिए मैं उस में डालूंगा कि मैं 10% सबसे चरम मूल्यों को ढूंढना चाहता हूं। तो उदाहरण के लिए आउटपुट कुछ ऐसा होगा: # चरम न्यूनतम मान = & gt; [{नाम: 'पॉल', आयु: 0}] # चरम अधिकतम मान = & gt; मैं यह कैसे कर सकता हूं? मुझे कुछ संसाधन ऑनलाइन मिले जो मददगार हो सकते हैं, लेकिन ईमानदारी से मैं ' अपने आप उदाहरणों का पालन करने में सक्षम नहीं हैं: यह एक तरीका है। 1.सोर्ट सूची: a = [[नाम: 'जॉन', आयु: 50}, {नाम: 'बॉब', आयु: 50}, { नाम: 'पॉल', उम्र: 0}, {नाम: 'अल्फ्रेड', आयु: 100}] a = a.sort {| a, b | एक ['उम्र'] & lt; = & gt; बी ['उम्र']} 2. पहला तत्व अब न्यूनतम है, अंतिम अधिकतम है। min, max = a [ 0], एक [-1] ध्यान दें...

c - Most efficient search on small array? -

I have an array where it rarely (almost never) gets updated: unsigned long user_values ​​[8]; I want to be able to create a lot of quick ups (hundreds of times per second on a slow machine), to check that the value is in the array and if it is, its index Find almost all the time, it will fail to find items in the lookup array. Normally, I keep the array sorted, and use binary search, but I am unsure of the efficiency of binary, search on a very small data set. Looking at this little known shape, are there any more efficient ways to see it? I give some suggestions such that most of the failures are immediately detected by a small hash . Something like this: #define HASH (x) ((x) & amp; 0xff) // if possible, uint8_t is possible [256]; Zero initHash () {int i; Memory (possible, 0, size (potential)); For (i = 0; i Note that with 25 slot hash tables set in 8 slots, you immediately get 31/32 or 97% failures Will end. There are three clear ways to improve it: You...