So you could go to the effort of typing "what are the different relational operators in python" into Daniweb but you couldn't be bothered to google "what are the different relational operators in python" and get the results instantly?
Unbelievable.
So you could go to the effort of typing "what are the different relational operators in python" into Daniweb but you couldn't be bothered to google "what are the different relational operators in python" and get the results instantly?
Unbelievable.
If this be the whole fruit of victory, we say: if the generations of mankind suffered and laid down their lives; if prophets and martyrs sang in the fire, and all the sacred tears were shed for no other end than that a race of creatures of such unexampled insipidity should succeed, to protract in saecula saeculorum their contented and inoffensive lives—why, at such a rate, better lose than win the battle, or at all events better ring down the curtain before the last act of the play, so that a business that began so importantly may be saved from so singularly flat a winding-up.
if you remove this, the program may work
No. It won't. Not even close.
I've always found the easy way is to create the control manually, then look at the Form1.Designer.vb
code to see what the code looks like. Then you can adapt it to what you want. For example, using the auto generated code I got
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim dgv As New ClsDgvJournal
dgv.Location = New Point(10, 10)
Me.Controls.Add(dgv)
End Sub
End Class
Public Class ClsDgvJournal
Inherits DataGridView
Public Sub New()
Me.Size = New Size(500, 200)
For Each ch In {"A", "B", "C", "D", "E"}
Dim col As New System.Windows.Forms.DataGridViewTextBoxColumn()
col.Name = ch
col.HeaderText = ch & ch & ch
col.Width = IIf(ch = "B", 200, 100)
Me.Columns.Add(col)
Next
End Sub
End Class
I’m not going to censor myself to comfort your ignorance.
You are not even close to being done.
number
and figure
according to your specYou should be doing
do {
show prompt
get input
process even or odd
} while not zero
Using proper indentation will help you to see part of the problem.
The problems just kept piling up. Calibre kept reporting a communication error and nothing was showing up in Explorer so I reset to factory and started from scratch. Everything is working as expected. Of course I now know how to open txt files as html.
Sigh.
As a closing gripe, when I cable to the phone I can open Explorer to the SD card. Even though I have copied several files to the card and can open them on the phone, the Explorer window shows no files present.
Figures. Android comes with a file explorer but I have to install another one. With all the crap that came bundled I am getting "low storage" notifications. I installed a 32 gig SD card but apparently I have only two options
Option 2 takes care of the low storage warnings but I lose access when I cable to my laptop USB. I'll leave it as secondary storage and just copy my docs to the SD card. Now that I can open them as html that is no longer a problem. I guess this thread is as solved as it's going to get. Thanks for the feedback.
And what are you willing to pay to have someone do your homework for you?
OK. I have a workaround. If I
medical history.txt
Open with HTML Viewer
The file opens and displays properly. And now I can get the same option directly through File Explorer.
This is just fucking nuts.
No. It's more like being dropped into a foreign land without a phrasebook and no way to speak the language. The biggest hurdle is not learning a new way to do things, it's trying to get the information on how to do things a new way. None of this shit appears to be written down anywhere.
Doesn't really help. Somehow a simple operation like
has become a technical nightmare. In any case, using the complicated procedure, I still end up with a file on my phone that I can't look at offline. Am I the only one who sees the problem here?
I connected the phone via USB then browsed to Internal Storage
and created the folder Docs
. I then copied medical history.txt
to that folder. When I use the phone's file manager to open the file it says saving
, then Upload/Conversion Error. An error has occurred while trying to upload and convert your document
.
I tried File Manager -> Copy
then Monospace -> Paste
resulting in a Monospce document of length 0.
I tried File Manager -> Send to -> Monospace
I tried File manager -> Copy to clipboard
then Monospace -> Paste
All result in a 0 length document.
Is this really the best modern tech can offer?
Believing is seeing.
How did it hppen that I can't look at a file on my phone unless I am online?
After saying for the last 10 years that I would never own a cell phone (I had enough of that spending many years on call), I finally broke down and got one. It is a Figo (Speak Out) Android (Marshmallow) phone that allows me to buy a block of minutes without having to pay monthly fees. Basically I can use it as much or as little as I want and just pay for what I use.
My first complaint was the almost complete lack of documentation. It is a royal pain in the ass figuring out what every little (microscopic, actually) icon means.
My second complaint is how piss poor bluetooth seems to work. I don't know if it's a problem with Windows 10 or the phone but it seems that every attempt to transfer a file requires 20-20 minutes of fighting, removing, recreating bluetooth connections, and reconnecting again and again.
But a major complaint is for a problem that shouldn't be problem. I have been under the care of the good doctors for some years now for chronic cancer and I have decided that it would be a good idea to keep a medical history summary on my phone and carry it with me to all my appointments. Apparently the doctors here do not understand that that's what my medical file is for. In any case, after fighting with bluetooth (see above) Ii got the file "medical history.txt" transferred to my phone. Unfortunately, every attempt to access this file …
I wasn't trying to overly complicate things. I assumed this is for an assignment and I've lost points because the marker said "you didn't consider...". I suppose the easiest thing would be to use a regular expression that matches only words that start with an upper case letter. Then all you have to do is process them two at a time. The regex for that is \b[A-Z][a-z]+\b
. That would reduce
Jack Jones, Gracie Burns and George Burns have three days in...
to a collection consisting of
Jack
Jones
Gracie Burns
George Burns
or you could use the regexp \b[A-Z][a-z]+ [A-Z][a-z]+\b
which would give you full names collected as
Jack Jones
Gracie Burns
George Burns
You can start by googling how to convert node js script to exe
All of the strings have the names at the start of the line:
That may be the case but how do you know where the name(s) end. For example:
How do you determine whether or not and
denotes the end of a name or separates two names?
While it's easy for a human to pick out the names by context, it's not so easy for code. How can you determine where the names end and the rest of the sentece begins? What constitutes a name? Is a name always a first name and a last name where both are single words? Without knowing the parameters you won't be able to parse the names.
I would rather have questions that can’t be answered than answers that can’t be questioned.
The OP replied by PM (a no no) that he had mistyped the table name.
As a first attempt I suggest one loop that steps through the original string char by char as well as a boolean that you can set to true or false depending on whether or not you are within a word. Set it to true if the char is a letter and false if it is not. While the switch is true you collect each letter in the new word. When it gets set to false you print the just completed word.
Are you sure you don't want 'sadasdsad','4'
instead of 'sadasdsad''4'
?
The easiest way would be to remove a question once it has been asked.
Probably because you have your preferences set to automatically watch articles you've posted in.
Actually, I don't.
OK. Still confused (my new default state). I downvoted this thread but it still shows up when I enable the "recommended" filter. What exactly does this filter do? I thought the entire point of it was to NOT display low quality threads.
And you posted this because....
Usually when someone is having a problem with their code they go to the trouble of describing the problem, including any error messages, etc., in other words, putting in a little effort.
Having just said that, I'd like to toss out the idea that the "latest posts" page you linked to above NOT display deleted posts.
Some of you guys have asked why the change doesn't stick
I could ask that you make this an option for mods but since I just added a folder to my bookmark bar with direct links to my "stuff" it isn't really an issue for me. The links to the forums are for "no filters".
Reminds me of my experience with the 2017 fall update which refused to install until I uninstalled software which had never been put on my computer.
That's a real UI blunder - a button is an action control and should be labelled ...
That could be clarified by changing the text from Filter by
to Filtered by
Agreed. But I still don't see that that has anything to do with giving the user the option to set a preferred default filter state. If the initial default filter is "don't show me crap posts" (what it is currently) then new users will get the current filter. What is the problem, then, with allowing me to select "no filter" as the default? How does this negatively impact anyone else?
I wish that were true for TV. It matured and we ended up with Real Housewives, Jerry Springer, Duck Dynasty and Honey Boo Boo.
My favourite was "Gall pechod mawr ddyfod trwy ddrws bychan." Even if I can't imagine that "ddrws" is actually a word.
Yeah. Everything served up on a platter requiring no effort except reading.
But I'm not bitter ^_^
Like a wind crying endlessly through the universe, Time carries away the names and the deeds of conquerors and commoners alike. And all that we were, all that remains, is in the memories of those who cared we came this way for a brief moment.
What messages/feedback are you getting to tell you what failed?
So when I am combing through the fluff and I come across a legit question and upvote it, even anonymously, it helps everyone else?
Yeah. The old "when they go low, we go high" just wasn't working. Someone suggested "when they go low, we go hard" as an alternative. When Obama won his forst term he wanted to reach across the aisle so both sides could work together. I hope that from the way that all worked out the Dems have learned their lesson but I am reminded of the followinig...
use the Latest Posts feed in the sidebar
Well sure. If I'd thought of doing that (DOH!)
You'll have to create a list to hold all five numbers so that you can iterate over the list after the numbers have all been read in. When you iterate over the list you can, at that point, calculate and display how much each score differs from the average.
I second what Alan said. Complaining about the number of low quality posts is not the same thing as wanting them hidden. I just want people to stop posting them, so as I moderator I find it necessary to take people to task for making these posts. Obviously I can't do that if I can't see them. It's easy enough to sort them out visually when they have titles that are taken directly from assignments.
Having said that, I don't see why there can't be a user setting for a default filetr state of on or off.
So it looks like brakes.
I see that some voting machines in predominantly black precincts could not be powered on because somehow they forgot to include power cords.
I have a folder on my bookmark bar with shortcuts (filters disabled) to the main forums. Just disable the filter and save the URL.
There are utilities available that will recover your product key from the registry. It is encrypted so you can't read it directly. Have a look here for details.
I could see the possibility of a Windows setting that would allow administrators to prevent F8 safe boot on high security PCs but I would hazard a guess that most home users don't (in fact, cannot) use bitlocker. For most home users, the F8 options was an easy way to get access to a system that may be otherwise bricked. Removeing the F8 functionality for Windows Home Edition was, IMO, a huge mistake.
Remember when once upon a time all you had to do to start Windows in safe mode was go all Woody Woodpecker on the F8 key during boot? Well in Windows 10 it seems you have to do just a little more...
When the system restarts you should get a numbered menu where pressing "4" will enable safe mode.
See how Microsoft has made vast improvements to the way you use your computer (heavy sarcasm)?
A simpler way, but one that requires you to make a change that you must later undo, is
Every boot after that will be a boot into safe mode until you undo the changes in msconfig.
So what exactly was wrong with F8?
How does your thread title in any way relate to your question?