Stats: 3,186,813 members, 7,930,787 topics. Date: Sunday, 25 August 2024 at 08:35 AM |
Nairaland Forum / Kudaisi's Profile / Kudaisi's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (of 9 pages)
![]() |
I just started out this project, its less than a week old. I just thought to share for those that might be interested in GIS programming. PS: I am not a GIS or python guru [I've only used python for personal utility tools including.. https://github.com/yemikudaisi/subtitle-search ] (in fact, I had to brush up on python for this project). So it's safe to say a beginner can join in on this project and improve along the way. Also, once I reach my required milestone, the source for the project will be merged with another closed source project (which is why i started it anyway) so it will be nice to have contributors to support GIS Lite development even after I've reached my milestone and probably redirected my attention. See current progress in screenshot below, all the tools in display have been implemented. Follow link for project https://github.com/yemikudaisi/GIS-Lite
|
![]() |
Have you tried exporting to Microsoft Excel ? Subsequently, you can save as CSV and import it to some other database format. However, please enlighten me. Why can't you do without Visual FoxPro in some projects ? I mean for a project that was discontinued about 10 years ago. There has to be other options by now, right ? |
![]() |
mcmbonu: This is not a smart move. You understand people purchase domain names just as land is purchased for its future value in real estate ? I could simply purchase the aforementioned domain names thereby coercing you to buy them back from me at a higher price. |
![]() |
Endurance01: What you need is a File Manager, it doesn't have to be Cpanel. There are tons of open source file managers out there. Cpanel packs a punch, you won't be needing up to about 90% (this is my speculation) of Cpanel features if all you need is a file manager. Furthermore, the cheapest Cpanel license is $15/month. There is however a trial version so you can check it out at [url]cpanel.com[/url] Alternatively, you can download this https://raw.githubusercontent.com/jcampbell1/simple-file-manager/master/index.php simple php file manger and just upload via FTP to your server, it should get the work done. |
![]() |
jaysteelz: If you don't know something, the ethical thing to do is to not comment about it or even better, do some research and get back to the OP. Rather, you've chosen to feed the OP with some bogus story about ".Net being a programming language". Now, the OP too is going to go about his thing thinking he now has an idea about .Net and probably pass the same wrong information to someone else creating a chain reaction built on lies. Please be cautious about the things you say in public forums like this. That said, according to the official site https://www.microsoft.com/net/learn/what-is-dotnet .NET is a free, cross-platform, open source developer platform for building many different types of applications. Basically the platform provides a runtime engine called the .Net Runtime (specifically named Common Language Runtime [CLR]) which has the ability to execute programming languages built for .NET. For simplicity I'll use JVM to explain the idea behind .Net (I hope you are familiar with it). Think of the CLR as Java's JVM which runs codes written in Java, Closure, Groovy, Kotlin, JSP, Scala and loads of implementation of existing programming languages built for the JVM such as Jython and JRuby. So also does the .Net runtime execute codes writing in C++.Net, Asp.Net, C#, Vb.Net, F# etc and other implementation of existing programming languages built for the .Net runtime engine such as IronPython and IronRuby to name a few. Additionally, just as there is the OpenJDK which has an open source implementation of the JVM, there also exists Mono (sponsored by Microsoft), an open source implementation of .Net. Also important to note is that, just as the JVM is cross-platform (which is why Java and the likes are cross-platform) .Net is also a cross-platform framework through Mono (which means code written in C# is equally cross platform). Finally, it suffice to state that mono does not implement all the features of Microsoft's implementation of .Net (One obvious feature is WPF [Windows Presentation Foundation]). I hope this helps. 1 Like |
![]() |
So as regards this project, made a relative amount of progress today. Finally had time to put some GUIs in-place (hoping to get feedbacks here, note that the UI is independent of the Windows OS version) and wired them up. Here are some pictures of the work in progress to put you in perspective. The options menu only shows when you double click on the app notification icon at the task bar. While the toast notifications are activated by hotkeys. In fact, I've already started using the app on my system. It's pretty nifty to have a windows hotkey eject flash drives for you. May be I'll include a alpha release soon. 1 Like
|
![]() |
Here is a project I just started, written in C# and WPF. Just thought to mention it here for those that might be interested in contributing or using. SRU is a Windows Utility software that allows users to assign hotkeys (e.g Ctrl + Alt + Z) for use in safely removing USB drives. It was inspired by the majority of people I see around clicking on Ctrl + Alt when attempting to remove USB. I sincerely don't know where the got idea came from as it doesn't work. This is me trying to help. FYI as for now it's in a Beta state, the only thing you can do with the project is to Press Ctrl + Alt + Z to eject a connected USB drive and there's a functionless notification Icon (I'm only trying to put the bits and pieces together). Also, I haven't implemented any form of test as most of the current functions mostly relates to the Win32 native api. I'm currently really busy at work. Hopefully over the weekend I'll add more features. Can't wait to get started with the UI, I love them clean, classy and simple. So you can watch the project if you want to get updates on the progress. https://github.com/yemikudaisi/safely-remove-usb 1 Like |
![]() |
[quote author=skptricks post=67710981][/quote] Yes you can. The container component will hold the states and supply the value of the states as props to the Dropdown menu (stateless). In the this case, the props would include a boolean that toggles visibility of the dropdown and an array of string to be rendered as menus in the drop down. That way each time you change the states in the container component, all presentational components that where earlier supplied the states as props will be updated with new props. Another advantage is that other components can change the visibility and contents of the dropdown since it does not maintain a state for itself.. Get it ? Your mistake is that you are using states to perform the functions of props, this is viewed as wrong (in some curcumstances) and not advisable in react. If necessary, I can refactor your code to reflect the pattern I'm trying to explain, if it will help you further comprehend my point. Another thing I don't understand is why you committed a RAR archive to your github. You could have as well uploaded it to dropbox or 4shared. Generally, it is good to have samples of codes like this on codepen (or jsfiddle etc) [so users don't have to download to edit or try them out] and then repos can be maintained elsewhere (like git). |
![]() |
The dropdown menu would have been better off as a presentational (stateless) component. I understand that you tried to make it simple, but the menu should have been passed props from a container component hence making it reusable as would be expected in the react world. 1 Like |
![]() |
You're not stating a problem. Did you try executing the SQL directly in your database engine ? if so, did it work ? If yes, then we can safely assume the problem is from the PHP end of your code. Otherwise, take a second look at your SQL query. Is your PHP code not producing the desired result ? Or maybe you're not getting any output. Points like this helps narrow down the problem. Please try and be more specific about what you want. |
![]() |
I hope its not too late, been busy with work. I was able to whip together something minimal. I hope it helps. I advise you study the code and understand how they fit together. Laying out control in Java is very flexible, the same layout can still be achieved using other types of layout managers. PS: I haven't used Swing in a while as I have been working with JavaFX as far as java is concerned, so pardon any errors (I tested the code though and it works just fine). Also the data is stored in-memory, you can create a custom table model if you want to work with a database. Cheers. You can access the code here https://ideone.com/ojzpTS incase NL messes up the code. import java.awt.*;
|
![]() |
Correct me if things have changed, but last I remember awt didn't have a table class. I remember having to to stack text fields to simulate tables back then. You might want to try Java swing in which case a solution can be proffered. |
![]() |
Share the code, some debugging might be required. 1 Like |
![]() |
abula112:This post is misguided and tantamount to misinformation. php is the most widely used web languagePHP is more widely used than the sum of the percentage usage of all other programming languages in web development (Just stating it explicitly so the OP knows that PHP's advantage in this section is not limited to python alone.) its only used for webThis is not true (Emphasis on ONLY). python is not widely used for web app in productionThis is also false. While its usage is not in par with PHP, Python is among the top 10 programming languages used for web development. most host does not support pythonThis is misleading, most hosts (all serious ones at least) offer Dedicated/Virtual private server services that gives you access to your own private Server, you can then set it up as you wish (meaning you can install and configure whatever service you want the server to host with full autonomy). general lang like javaWhile both python and java are both interpreted general purpose programming languages, python can also be used for scripting because of its support for dynamic typing and access to interactive mode (in addition to the normal mode ). 4 Likes |
![]() |
I advise you to try the Arduino Uno first if you have no prior knowledge of embedded system cause programming it is quite straight forward with a USB connector (printer cable). - Just download the cross platform (java based) Arduino IDE for free (It's even available in Windows Store) - Install the board drivers (for windows if you use the Arduino IDEinstaller the drivers will be installed along with the IDE). - Open one of the samples that com with the IDE (I recommend the blink example since it doesn't require any extra wiring and basically just blinks the on-board led for pin interface 13). - Specify a board type and port. - Upload you code. - If it's successful you should see a the pin 13 led blink (toggle on and off at 1s interval) every second. For the PIC though it's a whole different story. |
![]() |
How about you guys develop a more appropriate app that will enable you teach your students coding more efficiently and then use that as a platform to make money while teaching. 1 Like |
![]() |
![]() |
This is me sharing, Scoop is a tool I install on every windows computer I work on. Yes, it's a command line installer like chocolatey but with a difference. Scoop was not created to install apps like itunes and all other software you can find on the windows platform. Rather, it focuses on the installation of the tools that developers require to get their projects up and running. Here are some of the benefits: - It does not require admin access to install, so no UACs(User Access Control). - It doesn't require adding anything to your system variables..scoop handles all that for you. - Installing a tool is a as easy as scoop install gitor scoop install curl - Installing coreutils from scoop enables to be run my fav unix commands (ls, mv, touch , cat....) on my windows without installing cynwin or MinGW. - I've discovered more tools since I started using scoop, one of them being scriptcs(enables you run interpreted C# codes without all the OOP ishes) - You only need Power Shell to install scoop. - you can add your own packages to the scoop bucket with a pull request. get scoop now http://scoop.sh/ Here are some apps from the scoop main bucket (Note than an extra bucket also exists) -7zip -ant -maven -gradle -git -aria2 -axel -busybox -bzip2 -cmake -composer -coreutils (most install for unix users) -csvtosqk -devd -diff -docker-compose -docker-machine -docker -file -erlang -ffmpeg -gcc -gawk -go -kotlin -julia -kvm -haskell -llvm -mongodb -mysql -mysql-workbench -nano -vim -nasm -mysys -netcat -nodejs -nuget -openssl -openssh -nmap -php -apache2 .....I'm tired, the list goes on, check the main bucket here https://github.com/lukesampson/scoop/tree/master/bucket and the extras here https://github.com/lukesampson/scoop-extras 1 Like 1 Share |
![]() |
Try ATOM/RSS feeds. Most news website (all serious ones) have RSS at the littlest, virtually all CMSs support RSS. Simply adding rss to the end of most domains will give you access to their feeds (e.g http://sunnewsonline.com/feed/, http://punchng.com/feed/, lindaikejisblog.com/feeds/posts/default). Some website's feeds are hierarchical, bigger news companies like CNN break their feeds further down to categories (e.g World Africa,Americas,Asia,Europe,Middle East,U.S,Money,Technology.....) On a personal level, I don't even visit most of my routine websites individually on a daily basis except I want to review comments on a particular topic (some websites even make comment feeds available) I just load them all up into some rss reader, hence more flexibility and less time hoping from one page to another. Lastly, there are many rss libraries out there and it is relatively simple to even build your own. I hope this helps. |
![]() |
Try toggling this option a couple of times Dreadlord:If it still doesn't solve your problem and the option exists in your BIOS settings (which means your CPU should support it), try updating your BIOS to the most recent version. Also, it can't be enabled on windows 10 home and mobiles (I'm not sure if this is limited to Hyper-V only). |
![]() |
While I might not participate actively in this forum, I tend to peep from time to time (I personally enjoy the battles for brag right). That said, I came across this website https://codefights.com/ The website claims to Make coding fun again! I think it will be a good way to settle all those fights once and for all. I hope to see 2 people drag themselves there very soon. 1 Like 1 Share |
![]() |
add <?php wp_nav_menu() ?>to the theme file you want the menu to appear. For extensive set of arguments see https://developer.wordpress.org/reference/functions/wp_nav_menu/ |
![]() |
Dreadlord: ![]() |
![]() |
peterincredible: Jquery is a Javascript library meaning it was developed with javascript. Hence your still need to understand Javascript to use jquery effectively.For C++ developer it will be like "Should I learn OpenCV (which is a C/C++ library) or C++" 3 Likes |
![]() |
mosefin19: Python usually comes (depending on how it is installed) with a suitable code editor known as IDLE (Integrated Development Environment or Integrated Development and Learning Environment) when installed, You have the option to use IDLE or any other editor you want. However, I encourage you to use IDLE as learners usually find it easier to run codes from IDLE. Typically from IDLE all you need to do is: 1. File > New File 2. Type in your code in the newly opened window. 3. Hit Ctrl + S and save the file or File > Save As or File > Save As. Let's say you save the file on your desktop as Learn-Python.py 4. Run Menu > Run Module or Simply hit F5 to run you code. Alternative Editor: 1. After Save your file on the desktop assuming you save it here C:\Documents and Settings\Yemi\Desktop\Learn-Python.py 2. Open command prompt by clicking on Start > Run > type "cmd" in the opened dialog 3. Change directory to the file's directory with > cd C:\Documents and Settings\Yemi\Desktop4. Then run the command > python Learn-Python.py5. At this point your code should run successfully (That is if you've added python to your system PATH). 6. If you get the message 'python' is not recognized as an internal or external command, operable program or batch file . Then you need add python to you System Path, I hope you can do that. NOTE: You can run python codes interactively (directly without saving a file), I'm assuming you intention is to create modules. 2 Likes |
![]() |
possibiliterian: Just in case you needed the a program to solve it, here is a code I just whipped up in Java: public class CapacitorDischarge { An this is what the output looks like: Time(t) | Voltage(v) Disclaimer I can't assure you that the result is correct cause the value of e (Euler's number) used was to ten places. The plan is to give you an idea on how to go about it. 1 Like |
![]() |
possibiliterian: ![]() |
![]() |
Thumbs up bro. Quick question - How did you end up on Nairaland ? FYI Now following you on G+ |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (of 9 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 84 |