ndiuelish: since u re using django u can try out any of- i)django-ckeditor ii)django-summernote iii)django-bootstrap-wysiwyg. I recommend the last option though.
Summernote is nice but not responsive on mobile I will check the bootstrap own
ndiuelish: I'm pretty sure(70%) nl runs on python already with the cherry.py framework u can check it out. Nl is lightweight, fast and best of its kind in nigeria. If at all nairaland needs improvement it should be in the frontend not backend. The backend looks ok. Nl opens on very low end phones which is more than u can say for most sites. Concerning ur slow django code try and reduce the amount of work ur server does on each route i can't help u much without access to ur code.
You are right with the cherry.py because when seun was active he talks about it all the time.
I am going to reduced the SQL queries per route
Do u know anything about wysiwyg editor like tiny MCE
I think NL is quite satisfied with what they have and are not ready to update I see a lot of people complain here but nothing is being done. I love NL for speed it have been here seen the 2g ages
Guys I am been working on a forum with django for the past one month, I am almost done the only problem I have now is it is some how slow, not as fast as NL, I have problem with text editor, I think NL is custom made, I currently using tinyMCE but it is blank on mobile
etoluw: You must be mindful of the fact that this site has never worked.
It is a different issue if it was operational and due to some updating/editing etc a bug was discovered.
Debugging codes u didn't write yourself is not easy unless there is proper commenting/documentation.
Debugging the code you wrote yourself is not easy after along time not to talk of other people's code and we are talking about php here right that has reputation of spaghetti codes
those guys above just want to take there own cut
to me freelancing is more about marketing and less about the code it self Op u have been sold
solution my opinion though learn to code urself or give the job to someone close that u will be able to monitor or visit to see how things goes and have a full direction or vision of what the product is all about before you start, lastly going cheap won't solve ur problem
iCode2: Hey guys, so, I'm trying my hands on this exercise:
The Collatz Sequence Write a function named collatz() that has one parameter named number. If number is even, then collatz() should print number // 2 and return this value. If number is odd, then collatz() should print and return 3 * number + 1. Then write a program that lets the user type in an integer and that keeps calling collatz() on that number until the function returns the value 1. (Amazingly enough, this sequence actually works for any integer—sooner or later, using this sequence, you’ll arrive at 1! Even mathematicians aren’t sure why. Your program is exploring what’s called the Collatz sequence, sometimes called “the simplest impossible math problem.”) Remember to convert the return value from input() to an integer with the int() function; otherwise, it will be a string value. Hint: An integer number is even if number % 2 == 0, and it’s odd if number % 2 == 1.
Here's my code:
def collatz(number): if number % 2 == 0: return print(number // 2) elif number % 2 == 1: return print(3 * number + 1)
number =int(input()) while number != 1: collatz(number)
What am I not doing right? Cc: Grandlord Bunnae Crownedrookie Lordpeckxy Codeigniter And all
def collatz(): if number % 2 == 0: return number // 2
elif number % 2 == 1: return 3 * number + 1
number = int(input())
while number != 1: number = collatz() print(number)
Passing number as argument will make it call the same number
Iamsheye: So I've got that code there.. Everything's fine except that when a wrong input(one that is not in the array) is inserted I want it to show what's on line 16 but it doesn't it's just empty
paulGrundy: what are you saying? "driving economy" with ones sweat? how will you feel if all your life savings and investments were stolen from you?
let's be honest with ourselves there is no justification for doing evil bro.
I understand, but at that point the deed has already been done anyways I don't support crime, but it's part of human nature to cheat, and it is not going anywhere
There nothing like evil or good, it depends on your perspective something that is truly evil might geniunely be good for another person
All in all I don't support crime but I will do things with logic, the great guys will all look up to today are the shadiest people to deal with and most of them are tough and dont give a damn about other people, they are selfish and don't mind cheating to get advantage over the competition, yet we hail they because they drive value to other people bad and evil to there competition but good to there shareholders, All in all theworld is full of evil or whatever u choose to call it
My write may not correlate with ur argument but I hope u understand thing from my point of view
paulGrundy: believe you me, the pros greatly outweighs the cons.
Then why didn't u take the offer, not taking the offer for moral sake won't do anything, others would take it and life goes on.
I am not criticising u but assuming not taking it would had a great impact then that is when I will not take it after all they are driving money into the economy and that is good, and ur expense would be other people income
paulGrundy: a fraudstar once approached me with a deak to help him open an account and manipulate the system for him in order to evade surveillance of monitoring agencies e.g EFCC. I would gain about 5 million for every 50 million he wired successful plus I would hit and surpass my target. It was very tempting as an ET fighting hard to be promoted to an ABO, but my conscience would not let me. after having sleepless night, I called him and politely turned down the offer.
U are not that good, you are just afraid of taking risk, you had sleepless night because u are weighing the pros and cons before u finally decided.
This is a country where everybody takes fraud as an opportunity.
codeigniter: Hello guys, here is a video about how the government could give people money during this corona-virus #COVID-19 pandemic, people are asked to stay at home with little to no provision from the government, so this video is about how government can easily give money to people if they want to and how i think that might be a bad idea.
Please, if you like this video check out my previous videos, then like, comment and subscribe.
haon: I use VSDC video editor, its free and render fast. I' ve subscribed, nice job from u. My observation is that, u need to amplify ur audio, VSDC can help you with that and increse ur screen lighting a bit before recording. Subscribers make view easier because youtube automatically show ur new videos to ur subscribers(my observation)
I will try the VSDC video editor, I record with OBS and I use my earpiece as my microphone and to avoid system noise I had to use noise suppression, do u use microphone, I will try to increase my screen brightness, my past has been about what I think people would be interested in is there any problem with this kind of thinking
Hello guys, here is a video about how the government could give people money during this corona-virus #COVID-19 pandemic, people are asked to stay at home with little to no provision from the government, so this video is about how government can easily give money to people if they want to and how i think that might be a bad idea.
Please, if you like this video check out my previous videos, then like, comment and subscribe.
haon: Very simple. u need video editor and non-copyrighted video clips(free to use videos).
What video editor do u use because rendering has been wasting my data and I have been compressing, but it seems to lose some quality, what video editor do u use?
Check out my channel and I have subscribe to ur channel please subscribe to mine too, youtube Is not all about subscription is about getting viewed
WritingHouse: If you have a large fan base on twitter, facebook, instagram or YouTube, register on www.ardvart.com in order to monetize your social media platform.
How does it work?
When you register (it is free and doesn't take five minutes), they will verify your social media platform and then confirm you on their database. Thereafter, they will contact you when they have ads to place on your page.
Suspectzero: lol was waiting for someone to call me a liar and a fraud. When you are working the gig economy, the opportunities can be limitless. It's now about how long, hard and smart you are willing to work to make what ou want. You can't imagine it because you are trapped over there in Naija. I feel for you. I get paid every week, no dulling.
Sorry if I sounded rude, it just seem unrealistic. But u can work gigs here in nigeria
Suspectzero: Lol i left for Canada last December. My salary at my suit and tie job back in Naij ( i won't call it home) was just under N200k per month.
I just calculated the income i received this month after taxes. Your boy netted N1,700,000 (6,200 CAD). I'm not even doing a professional job. I don't have a boss. I sleep and wake up when i want. I go to work when i want. I can take a month off ( not any time soon tho ) and return and still continue making money.
One caveat tho is that i worked every single day to make this. Day and Night. But i enjoy the job so it's nothing to me. Plus making good money is so addicting. I don't anticipate i'll clear this much after tax going forward but i can still net over 1 mill a month if i choose to.
The West is truly the land of opportunity. Dream come true.
Why are u lying 4,400 dollars a month for an emigrant, I think this guy want to sell u something, scam alert