« first day (3306 days earlier)      last day (1657 days later) » 
00:00 - 21:0021:00 - 00:00

9:02 PM
Guys, I will really appreciate if you can help ,suggest or guidance me. I am not sure what I am missing here(stackoverflow.com/questions/58676832/…) , when I click submit nothing happens
 
Randy seems to have given you exactly the answer that I would have
 
@inspectorG4dget thank you for your time spent in my post. I made the change and it ran but I am not sure why nothing happens when I click "SUBMIT". I ma not sure what I am doing wrong
@inspectorG4dget any suggestion @inspectorG4dget ?
 
They've both made the same observation. Your code at the bottom of the script needs to be indented to be part of your view function
@inspectorG4dget congratulations on the graduation mate :)
 
@roganjosh thank you! I made the change but nothing happens when I click "submit"
 
What does "nothing happens" mean? You don't even send a request to your flask server?
Gonna take a stab in the dark: you didn't close your <form>
 
9:16 PM
I think what's happened here is that you got an answer to your NameError question and now you have a different question. I have a feeling you're going to get "make a new MCVE". I'm only saying this because I know nothing about web dev, so I'm pretty useless in answering why <clicking on SUBMIT> won't work
 
But without seeing the front end or a clearer description of the problem, we aren't going to be able to help
 
@roganjosh Many ripe melons unto you, sir
 
@inspectorG4dget thank you for your time and congrats on the graduation !
@roganjosh I have included the html file on the link
 
ahh, many thanks. You might expect a psychic wave of melons, ready for consumption
 
9:20 PM
@DrGadget. I'm taken aback by the quantity of melons you are capable of sending. Your melon bandwidth is impressive.
 
ahh... but is not my melon bandwidth directly proportional (if not entirely equivalent) to the bandwidth across which room6 is able to bestow pineapples upon me?
sidenote: poll: should I actually change my username in celebration? (but only for a couple of days - seems overly vain to leave it up, longer)
 
Universal Law of Pineapple/Melon Parity
 
@Verbamore I've just signed up to Dropbox to find that it's telling me the folder doesn't exist :/ Please can you put it in dpaste/pastebin/gist?
 
I vote yes
 
@roganjosh Oh boy, I am not sure what is that.( i am pretty new here ahaha) I am checking online
 
<obligatory xkcd that I don't even have to link because you know the one I'm talking about>
 
@inspectorG4dget re: the GA library, I've been wandering around looking for approaches to deal with hard constraints neatly in my current machine scheduling problem. Looking at GAs, I think there's a good chance of creating a huge proportion of infeasible solutions? It seems tricky to ensure you get a decent generation of viable solutions each round?
 
@roganjosh can you please try this: dropbox.com/s/1j1wfkufldxy551/firstpage.html?dl=0
 
wim
May 15 at 19:13, by Antti Haapala
why it is always so hard to stop arguing with someone who's stubbornly wrong about something.
 
yes
 
9:28 PM
@Verbamore Well that worked and right away I can see the problem. You haven't created a form to submit...
 
@roganjosh seems tricky to ensure you get a decent generation of viable solutions each round <- yes, that comes with the territory when you deal with GAs. There is in fact absolutely no guarantee that gen i+1 has better individuals than gen i (at least, not without implementing any elitism). So if you're looking for those kinds of search-performance guarantees, you might want to switch to a different evolution strategy. NSGA-III and SPEA come to mind
 
@roganjosh I will appreciate if you can help me to fix it
 
Well, the current approach is Simulated Annealing in, let's say for convenience, blocks of 8 hours of production. One hard constraint might be that if you run Product Group A on the morning shift, the other two shifts must also be group A. That's not too hard to correct for, since I just overwrite the whole day but it also feels quite disruptive to the existing solution to be flip-flopping whole days of production completely at random
<form method="post" action="{{ url_for('app.upload') }}">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="input-group">
  <div class="custom-file">
    <input type="file" class="custom-file-input" id="inputGroupFile04" name=inputfile>
    <label class="custom-file-label" for="inputGroupFile04">Choose file</label>
  </div>
  <div class="input-group-append">
    <button class="btn btn-outline-secondary" type="button">Submit</button>
  </div>
</form>
Something like that. But if it's a file upload you need to add a multipart something-or-other tag on the form. Can never remember it, give me a min to look it up :/
<form method="post" action="{{ url_for('app.upload') }}" enctype="multipart/form-data">
@Verbamore also type="button" will stop it from being able to submit your form, you need it as an <input class="btn btn-outline-secondary" type="submit">. You're going to need follow some tutorials here for the front-end I think to get a proper grip rather than me write a fully-functioning block of code for you; there are numerous mistakes
 
9:44 PM
@roganjosh Yeah, you are right. I need some tutorials. I just added the code above to my existed html and I got an error:
 
Please note the room rules for long blocks of text and use an off-site resource and copy the link here
 
yeah, that's both a lot and not readable
 
@roganjosh wow sorry, should I delete the post
 
<button class="btn btn-outline-secondary" type="button">Submit</button> still needs changing to <input class="btn btn-outline-secondary" type="submit">. And <input type="file" class="custom-file-input" id="inputGroupFile04" name=inputfile> is missing quotation marks on name=inputfile
 
9:48 PM
@Verbamore as roganjosh suggested you should use an external code paste service such as pastebin, dpaste, github gists or any of the dozen other options
this chat doesn't support large code snippets well, and most people are reluctant to pull files from random dropbox accounts
 
@AndrasDeak I'm sorry for the inconvenience
 
it's alright
 
@Verbamore no harm done, it's a learning curve working with chat tools. After you have made those changes, you'll need to let me know what the error is. Server side or client side?
 
@roganjosh thank you for your help! I appreciate it!
 
No worries. Let's try get it vaguely working and then you can iron out the rest as an exercise to become more familiar with Flask. I appreciate that there's quite a few pieces to slot together when starting out. I can't guarantee we'll get there, but you're reasonably close
@inspectorG4dget NSGA-III first hit is job shop scheduling :). Thanks for the suggestions, I shall have a read through
 
10:03 PM
@roganjosh no sweat! Happy to help
 
10:20 PM
error: did you mean `--all` (with two dashes ?)
gotta love git
 
10:34 PM
I feel demoralized
I'm in CS but my brain is too small to fit large programs
I can finish my assignments but I have no imagination
 
user11867329
o/
 
I can never say "I want to do this" where this is some concrete software project
 
user11867329
Is there an open-source project to track delivery guys like uber and stuff?
 
@OakDev I really doubt it. What motivation is there for a company to expose location data for their drivers beyond their own proprietary system?
@JohnnyApplesauce Outside of work, my project life cycle is usually "This would be a fantastic idea" --> <sits for several hours browsing SO> --> come up with the most imaginative name I can for it --> create a directory with that name --> park the project because I lose interest. Necessity is a big driver for projects, and for now, that comes from your assignments.
 
wim
11:04 PM
worse, their competitors would use it against them
 
user11867329
@roganjosh Well, for the client to access their own driver's location. Like Uber/UberEats/Everysingledeliveryplatform
 
You mean like they can already do by opening the respective apps they used to book the service?
 
wim
the client already sees that in the app ...
for most big cities there are such live data feeds for things like public transport , though
 
user11867329
@roganjosh Yes... precisely.
 
I think you've missed my point. Twice.
 
user11867329
11:06 PM
^
 
If I was a delivery company that was delivering your parcel (or a person, in the case of Uber) why would I create an API for a 3rd party be able to track my vehicle? We already have an app for that
 
user11867329
That's not what I asked, at all.
 
Ok... then how does your proposed software work?
 
user11867329
I didn't propose a software either.
 
user11867329
Is there
 
user11867329
11:08 PM
an open-sourced
 
user11867329
map/tracking software
 
31 mins ago, by OakDev
Is there an open-source project to track delivery guys like uber and stuff?
 
user11867329
similar to Uber's or other delivery apps
 
Aha
Ok, I did misread, apologies
 
user11867329
I wasn't clear. I understand why you understood what you understood.
 
11:09 PM
You want to implement it for your own drivers
 
user11867329
Precisely.
 
user11867329
lel
 
user11867329
It's an optional feature, but if some peeps already did a pre-built solution
 
We built it in-house and it takes cross-platform inputs so I suspect there is no clean way of doing it (i.e. wrapped into a nice opensource package)
 
user11867329
and it's like download this and put shortcode or whatever (or anything, really, I'm exaggerating)
 
user11867329
11:10 PM
but as far as I know, I don't think so, just looking for your inputs.
 
user11867329
I can't believe everyone who has that feature had it deved from scratch though...
 
user11867329
Lots of startups with that feature.
 
It's not that hard to actually build and it would keep in theme with your existing app
 
Startups have resources to roll their own?
 
The side that pushes locations from a driver app, I am less clear on, because our app devs did that. But they just pushed GPS locations every 10 secs
 
user11867329
11:13 PM
Yeah, can't be too hard to interact with mobile's location service I'm sure.
 
As for plotting on a map, you can use openstreetmap + mapbox to get something looking like Google maps for free
 
user11867329
Can you dev on Gmaps?
 
user11867329
There yaaaaa go
 
user11867329
you beautiful rat, you.
 
@AndrasDeak Provided you have an app developer, you could cobble the whole thing together in a couple of days. After that it gets nasty for supporting different phone software and styling etc, but the principle is really quite simple
 
user11867329
11:16 PM
Ok so plan would be to have a platform where Driver1 can login, see his deliveries of the day and change the status of those as the day goes on.
Also would need a way to add to his "queue/list" during the day.

It's very simple. I assume pretty much any prebuilt system with a DB can do that, right? Like I could friggin' set it up on woocommerce
 
And obviously there's a need for scaleability but... it's a startup so scale isn't usually an issue when you just wanna roll a feature if it's necessary to keep the company on the expected edge of tech
 
it's pretty simple until you actually want someone to use it effectively.
 
user11867329
@MisterMiyagi I agree, which is why I'm looking for already proven stable solutions
 
user11867329
to mix together.
 
I don't think you will find any. Your problem isn't tech, but usability.
 
11:18 PM
@OakDev well, no, this is actually what I built from scratch in Dubai and the whole system itself is anything but easy
Firstly, how does the route get generated?
 
user11867329
Are you certain we understand each other?

It's basically a ticketing system.
 
user11867329
Practically.
 
user11867329
Essentially.
 
No, it really isn't. You can't run an efficient logistics effort like that. At all.
 
user11867329
Are you saying no it isn't to my project? lol
 
user11867329
11:20 PM
Wake up, Mr. Green.
 
he's saying "no it isn't" to your assumed solution
 
I'm saying I have a lot of experience in logistics and you can't run with a ticketing system
 
user11867329
Why?
 
user11867329
6 drivers.
 
user11867329
Max 15 in a year.
 
user11867329
11:21 PM
Using a ticketing system, free, with an app.
 
user11867329
What would be the issue?
 
Well, the first thing that will happen is that drivers will ignore your route. If the building is in their eyeline and is visible on their plan a couple of rows down, they'll ignore your plan right away
 
user11867329
If the goal is to:
1. Know current status
2. Attach 1 file (signature) per delivery/ticket.
 
user11867329
What?
 
And that's assuming you did anything even slightly more intelligent than a FIFO queue of deliveries
 
user11867329
11:22 PM
Bro wtf u talkin about.

You think the driver's are hobos we just signed up?
 
user11867329
We say something, they do something.
 
user11867329
"they will just ignore your route"
 
user11867329
wtf
 
Here's an idea. Talk to people with some respect when they're trying to help you out
You don't have to agree with me, but I'm about done with you already
 
user11867329
Here's an another one, verbalize your outrage so you don't kill yourself by age 30
 
11:23 PM
seeing how my mailman regularly skips delivering critical mail because he cannot be arsed to walk 20 meters - yeah, hired people skipping your grand plan doesn't seem far-fetched.
 
I'm already over 30, and I'm not outraged. I'm just rapidly losing patience with you
 
user11867329
@roganjosh It was just an idea, you don't have to agree with it
 
user11867329
@MisterMiyagi Yes but mailman is not paid by the delivery
 
user11867329
and there's a lot of mail...person
 
user11867329
not like a team of 6 guys that have lunch together
 
11:27 PM
No, I don't. But when you come back with "bro", "wtf you talking about?", "wtf" you might want to consider how you're coming across.
 
you may want to consider better defining what your actual use-case is. I'd generally assume delivery people to individually handle separate areas. If they are sitting together for lunch, that's a good sign you mean something completely different.
 
"We say something, they do something." is also an awful approach. You don't seem to have much regard for people. That's a recipe for disaster
 
@OakDev yeah, none of that crap please
at least take a hint when people who go out of their way to help you tell you you're doing it wrong
 
user11867329
@roganjosh It's not the approach. It's what I saw.
I saw 6 guys, good friends, who listen to their boss (which also isn't me)
 
user11867329
All I'm saying is I don't understand where you're coming from with the assumption that "Oh the driver won't listen to the route"
 
user11867329
11:31 PM
If someone asks me what's a good password. I don't answer "you won't remember it"
 
4 years of route planning
 
@OakDev There we go. That's a tone that's suitable for discourse.
 
user11867329
Which is why you're way ahead.
 
user11867329
And thinking about problems that probably won't apply to me
 
@OakDev ice getting thinner
 
user11867329
11:31 PM
Like a blackjack dealer can't become pro
 
@OakDev let's start again
 
how about stop focussing on why you sounded like a jerk and why it wasn't your fault, and try just changing your communication going forward instead?
 
user11867329
@AndrasDeak Hey, it's like we switched roles how you're pointing the obvious.
 
You cannot economically solve a routing problem in the way you are describing. You will want a solver
 
user11867329
@roganjosh Ok, let me wake you up one-time.
 
user11867329
11:32 PM
They are using paper and pen.
 
Ok, I'm done
 
user11867329
So was I when I heard it
 
user11867329
bye, thx for map info, honestly.
 
user11867329
@roganjosh Who said there was a routing problem? Who even talked about routing
 
user11867329
Aside from you, because it brushed your area of expertise, you assumed it was about routing
 
11:34 PM
that's what delivery apps usually do oO
 
user11867329
Not a delivery app
 
user11867329
Yes, that's usually what a delivery app do.
 
user11867329
> *Goal is to:
1. Know current status
2. Attach 1 file (signature) per delivery/ticket.*
 
user11867329
That is it.
 
user11867329
11:36 PM
That is all.
 
and that's what you asked about. "similar to Uber's or other delivery apps"
 
user11867329
Map is optional.
 
user11867329
He already answered!
 
user11867329
I said thanks and moved on to another question
 
This is surreal. Please just stop.
 
user11867329
11:37 PM
@roganjosh Voila, then I elaborated a bit, maybe wasn't super clear. I'm sorry.
 
@OakDev I would like to remind you that you are not doing us a favour by asking here about unclear problems. If you want help drop the attitude. You are behaving like a help vampire and it's too much. You will only be allowed to keep asking for help here if you are willing to do so decently.
 
user11867329
@roganjosh Is there an open-sourced ticketing system you can suggest (it's for another project)
 
user11867329
@AndrasDeak I'm clearly not doing you guys a favor. As I have ZERO power over you and or your account.
 
user11867329
And not collaborating.
 
user11867329
(Just telling you I'm aware)
 
11:47 PM
glad to hear that
 
user11867329
If someone can suggest a free ticketing system, I'd be glad.
 
If someone can, they will.
 
@MisterMiyagi it's interesting to watch clusters disintegrate once you put a problem through a solver with constrained timeslots :)
@OakDev I haven't worked with an open-source ticketing system so I have no suggestions, sorry
 
user11867329
@roganjosh No need for open-source, necessarily, as long as it's free-ish.
 
user11867329
and not extra shady
 
11:55 PM
@OakDev please edit the obnoxious out of that message
 
user11867329
Almost removed the "@..."
 
What are you expecting the system to add here? If it's client requests, you could make your own form for that and handle it server-side. If the ticket is just delivery request --> fulfillment then a ticket system is just bloat
 
user11867329
@roganjosh very good point, but it would be prebuilt.
 
@OakDev (just "Bitconnect" would've sufficed, I figured the message was salvageable)
 
You're talking ~50 lines of code
 
user11867329
11:57 PM
@roganjosh I can't code. (Please don't bookmark this)
 
@roganjosh I admit to being biased from semi-rural areas. A single driver can cover several villages here, which kind of automatically means each one handles a cluster of adjacent ones.
 
vs. a whole library. Ticketing systems add lots of features you probably won't use
 
user11867329
Realistically I need:
Status (3-4 different statuses)
Title & Note field
Attach file
 
user11867329
aaaaaand, a dashboard
 
user11867329
and needs to be accessible/manageable via a user basis (if im making any sense)
 
11:59 PM
@MisterMiyagi The first stage is something of K-means and it just dissolves in urban areas. Yeah, for rural areas it will tend to hold because your available slots will be hacked down with a chainsaw for every delivery booked before yours :)
 
00:00 - 21:0021:00 - 00:00

« first day (3306 days earlier)      last day (1657 days later) »