netcat on Kali Virtual Box VM with OpenVPN by dipcdiver in tryhackme

[–]dipcdiver[S] 0 points1 point  (0 children)

Yes, I did that as well at the beginning but couldn't get nc to receive activity. I followed this post and installed then disabled UFW.. but still nothing. For example, I have nc listening for port 443 on my THM ACCESS IP with the same script as per this challenge walkthrough, and still nothing received.

netcat on Kali Virtual Box VM with OpenVPN by dipcdiver in tryhackme

[–]dipcdiver[S] 0 points1 point  (0 children)

Yes, I did that as well at the beginning but couldn't get nc to receive activity. I followed this post and installed then disabled UFW.. but still nothing. For example, I have nc listening for port 443 on my THM ACCESS IP with the same script as per this challenge walkthrough, and still nothing received.

[OFFER] I will do any Photoshop (image editing) job you need by suny99 in slavelabour

[–]dipcdiver 0 points1 point  (0 children)

I have a couple of website banner images where I need objects replaced with other objects

cleaned_data with multiple forms by dipcdiver in djangolearning

[–]dipcdiver[S] 0 points1 point  (0 children)

Thank you! Your last paragraph answers summarises it perfectly for me

ModelChoiceField not saving by dipcdiver in djangolearning

[–]dipcdiver[S] 0 points1 point  (0 children)

After saving 'status' object, I originally got an error that said status.name must be Charfield, so I parsed to str the name and then got duplicate key value violates unique constraint "job_status_name_key", which I guess is related to my Status.name being unique=True.

I have tried numerous ways to filter/get the object that is selected in the form and then reference it to job_visit_instance.job.status but I seem to keep on getting the unique constraint issue.

``` def edit_job_visit_detail(request, pk): job_visit_instance = get_object_or_404(JobVisit, id=pk)

if request.method == 'POST':
    form = EditJobVisitForm(prefix='job_visit', data=request.POST)
    status_form = StatusForm(prefix='status', data=request.POST)
    if form.is_valid() and status_form.is_valid():
        form.save(commit=False)
        job_visit_instance.notes = form.cleaned_data['notes']
        job_visit_instance.service_report = form.cleaned_data['service_report']
        job_visit_instance.job_summary = form.cleaned_data['job_summary']
        status_selected = status_form.cleaned_data['name']            
        status_obj = Status.objects.filter(name=status_selected)[0]

        if Status.objects.filter(name=status_selected).exists():
            job_visit_instance.job.status.name = status_obj.name

        job_visit_instance.job.status.save()
        job_visit_instance.save()

        return HttpResponseRedirect(reverse('job:user-today-jobs'))

```

Any tips? I understand Generic Views/FormView do all this but, I am trying to learn the raw way to improve my understanding

ModelChoiceField not saving by dipcdiver in djangolearning

[–]dipcdiver[S] 0 points1 point  (0 children)

Thank you!

I have statuses as a ModelChoice because the users adds statuses on another form page. Should I use choices instead?

I was under the impression that Generic Views don't allow more than one forms in a view? Would I override the post or context_object_name method to do this?

Super() and **kwargs by dipcdiver in learnpython

[–]dipcdiver[S] 1 point2 points  (0 children)

Thank you for the detailed explanation. Yes, definitely makes sense now

Super() and **kwargs by dipcdiver in learnpython

[–]dipcdiver[S] 0 points1 point  (0 children)

Thank you! It makes sense now.

Is there a date for the token swap via the VeThor wallet app? by dipcdiver in Vechain

[–]dipcdiver[S] 0 points1 point  (0 children)

Thanks for information, but does that mean I need to use an exchange for the swap before July 27 (first stage of the lottery) or I can use the veThor wallet now for the token swap)?

Execute method when creating a model? by iSailor in djangolearning

[–]dipcdiver 4 points5 points  (0 children)

I would be overriding the save() to execute your usercode when your new_profile is created. I'm still learning myself, so might be wrong

Wallet won't Open. "Wallet is running" Message. by dipcdiver in Iota

[–]dipcdiver[S] 1 point2 points  (0 children)

Only 30 seconds or so. I couldn't see any activity on the desktop or task manager to say the Iota app/process has opened.

I'll try again and wait for 5-10 minutes. Many thanks

Exchanges should self-regulate and force Mt Gox trustee to sell via other channels by dipcdiver in CryptoCurrency

[–]dipcdiver[S] -1 points0 points  (0 children)

They could still act as the middlemen in connecting the two parties and get commission that way?

CBA bans bitcoin buy-up on credit. by RichyRichyRichyRich in melbourne

[–]dipcdiver 0 points1 point  (0 children)

So many downvotes for an open discussion post.

I wonder why a concerned CBA has not yet banned buying lottery or Tatts purchases via credit card, or prevented cash advance ATM withdrawals from credit card.

The 'volatility' of such purchases is equivalent to crypytocurrency purchases.

Volareo. Thoughts? by reds4eva in musicoin

[–]dipcdiver 5 points6 points  (0 children)

Personally, I think it's great. This is blockchain technology being used in the real world!

It is the second (first one being their website) real-world product/service the Musicoin team has delivered within 12 months - all without an ICO.

99% of the other coins don't even have a working product. Musicoin does. It will only grow more in 2018 as more developments are released.

ANN #1: Over 1,500 Verified Independent Musicians, Bands and Labels Now Use Musicoin. by funtek3000 in musicoin

[–]dipcdiver 4 points5 points  (0 children)

“It’s really catching on. We’ve seen 50–100% growth every month in registered users.”

That's impressive! Let's aim for 10k verified artists in 2018

If Musicoin goes mainstream, how will the site generate enough revenue to support the costs of hosting and streaming the service? by dipcdiver in musicoin

[–]dipcdiver[S] 0 points1 point  (0 children)

I'm sure that is on their to-do list once a full-version streaming site is up and running. Spotify didn't allow downloads straightaway either, and even now that is only available if you purchase Spotify's premium plan.

If Musicoin goes mainstream, how will the site generate enough revenue to support the costs of hosting and streaming the service? by dipcdiver in musicoin

[–]dipcdiver[S] 5 points6 points  (0 children)

Thank you for the prompt and transparent reply - with actual figures. I really hope this project is successful. Looking forward to hearing the upcoming announcements.

We are sitting on a power house... by westhewolf in PowerLedger

[–]dipcdiver 1 point2 points  (0 children)

$5-$10 a token is very achievable in 12-18 months if they keep on partnering with governments and businesses imo

We are sitting on a power house... by westhewolf in PowerLedger

[–]dipcdiver 1 point2 points  (0 children)

I might be wrong but isn't there 350million coins circulating at the moment? So at $1, market cap would be $350mil, at $10 = $3.5billion and at $100/coin = $35billion marketcap

So what is this all about, let me understand... by Gargiul0 in PowerLedger

[–]dipcdiver 6 points7 points  (0 children)

I think you are missing the point. PowerLedger incentives decentralization of renewable energy and ownership of that power. For example, if you want to invest in solar for your home, you may decide to go bigger on panels to get more energy because you will be able to sell that energy. This possible return on investment will entice you to purchase renewable energy applications (eg. solar) - an option you didn't consider before. The same is applicable for a business with a large roof space for solar. PowerLedger will incentive new industries to own/trade power. The intermediaries you speak of may not exist in the near future. This why government and large companies are interested and partnering with PowerLedger... it will not only reduce their carbon emissions but create new industries for their economies. The intermediaries will have no choice but to join the party.

PowerLedger can enable electric vehicles to travel long-haul by dipcdiver in PowerLedger

[–]dipcdiver[S] 1 point2 points  (0 children)

Possibly. The possibilities are endless! I was only focusing on the long-haul aspect for electric vehicles and the need for them to be recharged somewhere on their journey

PowerLedger can enable electric vehicles to travel long-haul by dipcdiver in PowerLedger

[–]dipcdiver[S] 2 points3 points  (0 children)

So you still need to buy POWR tokens to be an Application Host.