15,891,375 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11807654 (Top 24 by date)
Member 11807654
3-Dec-22 9:49am
View
Deleted
Thank you. Can you explain more? How can save the join result in a view and use it several times in other queries? You mean something like the following link?
https://www.itsolutionstuff.com/post/how-to-use-mysql-view-in-laravelexample.html
Member 11807654
3-Dec-22 7:22am
View
thanks a lot. it worked for me :)
Member 11807654
1-Dec-22 3:15am
View
yes. I added it. I do not know why, but now it gets this error: "The POST method is not supported for this route. Supported methods: GET, HEAD." when I change the method in ajax to "get", it does not send the parameter to controller!!! I have a select box in a form with post method and I wrote the ajax code for it. is the error related to the form? when I change the value of select box, this error occurs.
Member 11807654
18-Nov-17 0:35am
View
I just want to merge sub-trees into bigger trees.
Member 11807654
11-Aug-17 10:41am
View
thanks, but my map is a multimap.I found a solution but I do not know how to change it to work on a multimap. the solution was map.merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction) instruction(found in: http://farenda.com/java/java-util-map-merge-key-value-bifunction/). it sums the value of the members, but I do not want. I just want to merge the two members into one member of the map. how the remapping function can be written in my code?
Member 11807654
19-Apr-17 1:58am
View
thanks
Member 11807654
17-Apr-17 13:54pm
View
thanks a lot. you mean that I should remove the old tuple and make a new one?
Member 11807654
14-Apr-17 10:41am
View
i used the following code too. it reads the file very fast but when it wants to create the graph it is slow:
std::ifstream in("Email-Enron.txt");
std::stringstream buffer;
buffer << in.rdbuf();
std::string contents(buffer.str());
for(int i=0;i<contents.size();i+=4)
{
igraph_add_edge(&graph, contents[i], contents[i+2]);
}
the content.size() is more than 3/000/000
Member 11807654
8-Apr-17 5:16am
View
it is in the algorithm header(i used #include <algorithm>) and it shows the line "_Sort(_Unchecked(_First), _Unchecked(_Last), _Last - _First, _Pred);" as the position where error occurs in. I use visual studio 2012
Member 11807654
5-Apr-17 11:43am
View
excuse me. do you know how can I find the maximum of second values in one element of dictionary? For example, if groups[0] of this dictionary has tuples {2,3},{4,2}, {5,7}, I want to find max{3,2,7}=7.
Member 11807654
5-Apr-17 9:23am
View
thank you very much. according to your explanation I should use push_back :)
Member 11807654
5-Apr-17 5:22am
View
Deleted
and then how can I retrive these values of dictionary? I mean, I want to get value 3 or 4 of this dictionary
Member 11807654
5-Apr-17 5:17am
View
thank alot. it works for me perfectly too :)
Member 11807654
5-Apr-17 4:10am
View
I just want to create a dictionary and then use it. is there another way to do it?
Member 11807654
5-Apr-17 4:09am
View
visual studio 2012
Member 11807654
5-Apr-17 3:10am
View
when I write " groups[0] = list<std::tuple<int,int>>{make_tuple(3,4)};" it gives the error:"type name is not allowed" and when I write "groups[0] = new list<std::tuple<int,int>>{make_tuple(3,4)};" it gives error:"error C2679: binary '=' : no operator found which takes a right-hand operand of type 'std::list<_Ty> *' (or there is no acceptable conversion)"
Member 11807654
2-Apr-17 14:27pm
View
ok, thanks
Member 11807654
2-Apr-17 14:09pm
View
but, I did not set a breakpoint. the debugger sets it and the position it shows to me is a line in dbgheap.c file which is not a file made by me. after I click the "continue" button in the message box, this erroe occurs: "Debug Assertion Failed!
File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c"
Member 11807654
2-Apr-17 11:45am
View
thanks alot
Member 11807654
12-Sep-16 8:44am
View
I mean a well known dataset that is acceptable for evaluating recommendation algorithms in data mining. I want to write an article to a journal and want that the dataset I use be acceptable by a good journal. I studied some articles about it.they used dblp and imdb dataset. but these datasets are big and when I run program on it, it takes a long time to run. I need a smaller dataset
Member 11807654
12-Oct-15 3:46am
View
I am sorry not to be clear. I mean compact pattern tree by "cp tree" in data mining and I want the source code of it to mine data and find the associations between data for example in a supermarket
Member 11807654
3-Jul-15 9:28am
View
thanks a lot.I searched it and the problem was solved :)))))
Member 11807654
2-Jul-15 3:48am
View
thanks a lot.i will do that
Member 11807654
2-Jul-15 3:42am
View
i used eclipse indigo.here is the logcat:
07-02 07:40:50.746: DEBUG/AndroidRuntime(304): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-02 07:40:50.746: DEBUG/AndroidRuntime(304): CheckJNI is ON
07-02 07:40:50.855: DEBUG/AndroidRuntime(304): --- registering native functions ---
07-02 07:40:51.305: DEBUG/AndroidRuntime(304): Shutting down VM
07-02 07:40:51.305: DEBUG/dalvikvm(304): Debugger has detached; object registry had 1 entries
07-02 07:40:51.335: INFO/dalvikvm(304): JNI: AttachCurrentThread (from ???.???)
07-02 07:40:51.335: INFO/AndroidRuntime(304): NOTE: attach of thread 'Binder Thread #3' failed
07-02 07:40:51.665: DEBUG/AndroidRuntime(312): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-02 07:40:51.665: DEBUG/AndroidRuntime(312): CheckJNI is ON
07-02 07:40:51.775: DEBUG/AndroidRuntime(312): --- registering native functions ---
07-02 07:40:52.224: INFO/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=your.packabge.namespace/.AndEngineTutorialActivity }
07-02 07:40:52.265: INFO/ActivityManager(59): Start proc your.packabge.namespace for activity your.packabge.namespace/.AndEngineTutorialActivity: pid=318 uid=10058 gids={}
07-02 07:40:52.295: DEBUG/AndroidRuntime(312): Shutting down VM
07-02 07:40:52.295: DEBUG/dalvikvm(312): Debugger has detached; object registry had 1 entries
07-02 07:40:52.335: INFO/AndroidRuntime(312): NOTE: attach of thread 'Binder Thread #3' failed
07-02 07:40:52.735: INFO/ARMAssembler(59): generated scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at [0x3693d8:0x3694e4] in 343409 ns
07-02 07:40:52.795: DEBUG/AndEngine(318): AndEngineTutorialActivity.onCreate @(Thread: 'main')
07-02 07:40:52.925: INFO/dalvikvm(318): Could not find method android.opengl.GLES20.glVertexAttribPointer, referenced from method org.andengine.opengl.vbo.attribute.VertexBufferObjectAttribute.glVertexAttribPointer
07-02 07:40:52.925: WARN/dalvikvm(318): VFY: unable to resolve static method 211: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
07-02 07:40:52.925: DEBUG/dalvikvm(318): VFY: replacing opcode 0x77 at 0x000b
07-02 07:40:52.935: DEBUG/dalvikvm(318): VFY: dead code 0x000e-000e in Lorg/andengine/opengl/vbo/attribute/VertexBufferObjectAttribute;.glVertexAttribPointer (I)V
07-02 07:40:52.949: DEBUG/dalvikvm(318): Trying to load lib /data/data/your.packabge.namespace/lib/libandengine.so 0x44edeb30
07-02 07:40:52.955: DEBUG/dalvikvm(318): Added shared lib /data/data/your.packabge.namespace/lib/libandengine.so 0x44edeb30
07-02 07:40:52.955: DEBUG/dalvikvm(318): No JNI_OnLoad found in /data/data/your.packabge.namespace/lib/libandengine.so 0x44edeb30, skipping init
07-02 07:40:53.005: DEBUG/dalvikvm(318): GC_EXTERNAL_ALLOC freed 1171 objects / 85848 bytes in 48ms
07-02 07:40:53.015: INFO/WindowManager(59): Setting rotation to 1, animFlags=1
07-02 07:40:53.025: INFO/ActivityManager(59): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=4}
07-02 07:40:53.084: INFO/UsageStats(59): Unexpected resume of your.packabge.namespace while already resumed in your.packabge.namespace
07-02 07:40:53.134: DEBUG/AndEngine(318): AndEngineTutorialActivity.onResume @(Thread: 'main')
07-02 07:40:53.174: DEBUG/AndEngine(318): AndEngineTutorialActivity.onPause @(Thread: 'main')
07-02 07:40:53.174: DEBUG/AndEngine(318): AndEngineTutorialActivity.onDestroy @(Thread: 'main')
07-02 07:40:53.204: DEBUG/AndEngine(318): UpdateThread interrupted. Don't worry - this EngineDestroyedException is most likely expected!
07-02 07:40:53.204: DEBUG/AndEngine(318): org.andengine.engine.Engine$EngineDestroyedException
07-02 07:40:53.204: DEBUG/AndEngine(318): at org.andengine.engine.Engine.throwOnDestroyed(Engine.java:574)
07-02 07:40:53.204: DEBUG/AndEngine(318): at org.andengine.engine.Eng
Show More