[See You in Hell is a feature by our guest blogger, Satan — PE]
Many are outraged that President Trump didn’t recite the Apostle’s Creed at the Bush funeral.
Most of the outraged wouldn’t know the Apostle’s Creed from Apollo Creed. But they’re outraged because they were told that they should be.
See you in Hell!
Sheena Vaidyanathan, a computer science integration specialist at Los Altos School District in California, says that states, school districts and boards of education have not prioritized computer science education the way they should. Even if not every child will grow up to work as a computer scientist, she thinks everyone should at least get exposure to how computers work.
A couple of things I don’t understand there . . . one is why everyone needs to know “how computers work.” They work on electricity, that’s about all I know about it.
Actually, I know a little more than that, but there’s no reason that everyone should know “how computers work,” any more than everyone should know how phones work, or how cars work, or how refrigerators work.
You can use things without knowing how they work.
I do think everyone can benefit from understanding how programmers think, which is based in part on knowing how computers work, but if you know that computers do exactly what you tell them to do — no more and no less — that’s about all you need to know.
The other thing I don’t understand is what is a “computer science integration specialist”? I had to look up a job description:
- Consult with each school leader or their designees to gather information about program needs, objectives, functions, features, and data metric requirements. Research need and create plans for computer science/technical personnel and other resources required for implementations for each school.
- Analyze, define, and document all relevant requirements for the teaching and learning of computer science, including but not limited to the impact on courses of study, streams of data and data capture, logical processes, computer lab or other learning environment requirements. Write and maintain specifications and document relevant workflows.
- Perform (department management approved) intervention(s) on the identified gaps by implementing existing or developing new appropriate interventions or programs to help create cultures or conditions of success in which computer science programs can flourish.
It goes on and on like that, but after reading the whole thing, I find myself no wiser as to how a person in this role is helping students learn computer science.
Money is available for this but not for hiring teachers with actual computer science education or experience?
Thus spoke The Programmer.
First time I’ve seen a concert at House of Blues in Anaheim. It’s a general admission standing room venue that holds I’d say around 1,500 people plus a seated balcony that you can get into for a premium price.
Pros and cons you can probably guess: You’ll have to stand for about 3 hours but once the show starts, you don’t really think about it. If the 64-year-old performer can stand for the whole show, so can I.
On the plus side, you can get quite close to the stage. Maybe not right in front unless you’re first in line to get in, but the sides of the stage you can get to easily.
Also, you get to see an A-list performer in a small room.
I don’t go to concerts in large venues anymore — Staples Center, Honda Center, the Forum, Rose Bowl, etc. I wouldn’t enjoy that.
I go to medium-sized venues, but even then, I prefer something unusual or unique like the Neil Young solo acoustic show at the Dolby Theater.
I’ve included the set list (to the best of my recollection) here as a Spotify playlist. Everything after “Everyday I Write the Book” was performed as an encore.
Like other major tech companies, Apple has been trying to lessen its dependence on men in high-paying programming jobs.
I don’t think “dependence” is the right word there. Is that dependence like alcohol dependence, or like dependence on foreign oil?
It’s an oblique way of saying “we’re trying to employ fewer men,” but explicitly singling out members of a certain group for unwelcome attention sounds discriminatory and possibly illegal.
Women filled just 23 percent of Apple’s technology jobs in 2017, according to the company’s latest breakdown.
“Just” — why do we assume that working at Apple is a goal that a lot of women have? Maybe women found better jobs? Or something else they’d rather be doing?
Industry critics have accused the technology companies of discriminating against women through a male-dominated hierarchy that has ruled the industry for decades.
I’m more inclined to think that if women wanted to work in technology in greater numbers, they’d be doing so.
I’ve noticed recently that when President Trump says something, the media report it, but they’ve started following it up with a caveat along the lines of “He offered no evidence to support his claims.”
Now there’s a phrase you could use all day long! “Industry critics have accused technology companies of discriminating against women. They offered no evidence to support their claims.”
The fact that men outnumber women — or the other way around — in a profession is not evidence of discrimination. It may be evidence that women have more of a preference for “helping professions” — healthcare, social work, teaching, counseling, in all of which women significantly outnumber men — and men have more of a preference for technology.
It’s the simplest available explanation. That doesn’t mean it has to be right, but I think it is.
Thus spoke The Programmer.
Via Scott Adams:
- Improve your trolling with these tips and techniques
- Classic and effective troll responses
- Rules for custom created responses that own your target
Once upon a time there was a famous actress. As you may expect, she played mostly Antique Comedies most of all. All the people loved her. But she was not interested in the crowds. Her big hobby were beads of any kind. Many bead makers were working for her and they manufactured new necklaces and bracelets every day. One day she called her main Inspector of Bead Makers (IBM) and told him she wanted a very long and special necklace.
The necklace should be made of glass beads of different sizes connected to each other but without any thread running through the beads, so that means the beads can be disconnected at any point. The actress chose the succession of beads she wants to have and the IBM promised to make the necklace. But then he realized a problem. The joint between two neighbouring beads is not very robust so it is possible that the necklace will get torn by its own weight. The situation becomes even worse when the necklace is disjoined. Moreover, the point of disconnection is very important. If there are small beads at the beginning, the possibility of tearing is much higher than if there were large beads. IBM wants to test the robustness of a necklace so he needs a program that will be able to determine the worst possible point of disjoining the beads.
The description of the necklace is a string specifying sizes of the particular beads, where the last character is considered to precede character in circular fashion.
The disjoint point is said to be worse than the disjoint point if and only if the string is lexicographically smaller than the string . String is lexicographically smaller than the string if and only if there exists an integer , so that , for each and .
The input consists of cases. The first line of the input contains only positive integer . Then follow the cases. Each case consists of exactly one line containing necklace description. Maximal length of each description is 10000 characters. Each bead is represented by a lower-case character of the English alphabet (a–z), where a < b … z.
For each case, print exactly one line containing only one integer — number of the bead which is the first at the worst possible disjoining, i.e. such , that the string is lexicographically smallest among all the possible disjoinings of a necklace. If there are more than one solution, print the one with the lowest .
Time limit: 0.5s
Sample input 4 helloworld amandamanda dontcallmebfu aaabaaa Sample output 10 11 6 5
Solution below . . .
And, behold, the veil of the temple was rent in twain from the top to the bottom; and the earth did quake, and the rocks rent;
And the graves were opened; and many bodies of the saints which slept arose,
And came out of the graves after his resurrection, and went into the holy city, and appeared unto many.
It is an easy thing to tell a lie, but it is difficult to support the lie after it is told. The writer of the book of Matthew should have told us who the saints were who came to life again and went into the city. and what became of them afterward, and who it was that saw them — for he is not hardy enough to say that he saw them himself; whether they came out naked and all in natural buff, he-saints and she-saints; or whether they came fully dressed, and where they got their dresses; whether they went to their former habitations, and reclaimed their wives, their husbands and their property, and how they were received; whether they entered ejectments for the recovery of their possessions, or brought actions of crim. con. against the rival interlopers; whether they remained on earth, and followed their former occupation of preaching or working; or whether they died again, or went back to their graves alive and buried themselves.
Strange, indeed, that an army of saints should return to life and nobody know who they were, nor who it was that saw them, and that not a word more should be said upon the subject, nor these saints have anything to tell us!
Had it been the prophets who (as we are told) had formerly prophesied of these things, they must have had a great deal to say. They could have told us everything and we should have had posthumous prophecies, with notes and commentaries upon the first, a little better at least than we have now. Had it been Moses and Aaron and Joshua and Samuel and David, not an unconverted Jew had remained in all Jerusalem. Had it been John the Baptist, and the saints of the time then present, everybody would have known them, and they would have out-preached and out-famed all the other apostles. But, instead of this, these saints were made to pop up, like Jonah’s gourd in the night, for no purpose at all but to wither in the morning.
And Moses, and Eleazar the priest, and all the princes of the congregation, went forth to meet them without the camp.
And Moses was wroth with the officers of the host, with the captains over thousands, and captains over hundreds, which came from the battle.
And Moses said unto them, Have ye saved all the women alive?
Behold, these caused the children of Israel, through the counsel of Balaam, to commit trespass against the Lord in the matter of Peor, and there was a plague among the congregation of the Lord.
Now therefore kill every male among the little ones, and kill every woman that hath known man by lying with him.
But all the women children, that have not known a man by lying with him, keep alive for yourselves.
The language is a bit archaic but you understand what’s happening: Kill the boys, kill their mothers, rape the daughters. Thus saith the Lord. Amen.
When you get a person to look at the sun as it bakes down on the daily carnage taking place on earth, the ridiculous accidents, the utter fragility of life, the powerlessness of those he thought most powerful — what comfort can you give him from a psychotherapeutic point of view?
I start my daily commute by saying “OK Google, drive to work” into my phone, and Google responds by showing me the fastest route.
This morning, Google thought I said “have to work”:
Substring of some string A is defined as one or more (not necessary succeeding) elements of the string with maintaining the sequence.
There are given two strings, string VOKI and string TOKI. Write the program that will calculate the length of any shortest substring of string VOKI such as it is not substring of string TOKI.
In first line of input file there is string VOKI and in second one is string TOKI. The only characters that will occur are lowercase characters of English alphabet (‘a’- ‘z’). String lengths will be less or equal to 1000.
Note: input data will be such so there will always be a solution.
In the first line of file you should print the length of wanted substring.
Sample input banana anbnaanbaan Sample output 5 (eg. banna) Sample input babab babba Sample output 3 (eg. aab)
Solution below . . .
Your most valuable resource for the performance tasks is the AP Computer Science Principles Exam page. Look for the section titled Sample Responses and Scoring Information.
There’s a rubric for performance tasks, but they’re graded by humans so scoring is somewhat subjective. This page takes the guesswork out of it.
You’ll find multiple student responses from previous exam administrations, including scoring guidelines and commentary. Some of the responses are excellent, some are bad, and the rest are somewhere in-between. But they all come with a detailed explanation for each row of the rubric as to why points were or were not awarded.
Don’t submit your performance tasks without ensuring that they most closely resemble the high-scoring examples on this page.
Teachers are limited in the type of questions they can answer regarding your performance tasks. It has to be your own work.
That being said, if you have a question, ask it. Let the teacher decide whether the question can be answered or partially answered.
Don’t not ask a question because you’ve heard that teachers can’t answer questions.
As with any standardized test graded by humans, the people grading your test are not going to be sitting in an armchair with a pipe and a gin and tonic ready to immerse themselves in your written responses.
Grading is an assembly-line process. There’s a room full of graders, they’re jacked up on coffee and doughnuts, and they’re on the clock: score a paper, pass it on, score the next one, and so on.
You must make it as easy as possible for a grader to give you the points. For example, there’s a question on the Explore Task that asks you to describe one beneficial effect and one harmful effect of a computing innovation. Use the words “beneficial effect” and “harmful effect” in your answer. Underline them! You might think I’m kidding but I’m not.
Don’t overestimate the graders. They can miss things, especially if they have to guess at or interpret what you’re trying to say.
They have the same rubric you have. They know that they’re supposed to find one beneficial effect and one harmful effect. If you use the words “beneficial effect” and “harmful effect” and underline them, you may get the points for that alone. They love you! They’re fishtailing between nausea and euphoria from the coffee and doughnuts and you’ve made their job easy.
Don’t worry about your answer being articulate or whether your favorite English teacher would consider it well-written. You are not getting style points for writing like Jane Austen. You’re not showing off your vocabulary.
You must beat the graders over the head with the expected answers. Use the words from the rubric and underline them.
“Calendar” as a verb: “Can you given me an estimated delivery date so I can calendar it?”
I’ve never heard that before today and I’m already sick of it.
A palindrome is a word, phrase, number or other sequence of units that has the property of reading the same in either direction, e.g. ‘racecar’, ‘solos’.
You are given a number k (2 <= k <= 30000) and a non-empty string S whose length does not exceed 30000 lowercase letters.
We say two palindromes are different when they start from different positions. How many different palindromes of the length k does S contains?
The first line contains K. The second line contains S. K does not exceed the length of S.
The first and only line should consist of a single number – the number of palindromes found.
Input: 5 ababab Output: 2
Time limit: 0.100s
Solution below . . .
We now know that the human animal is characterized by two great fears that other animals are protected from: the fear of life and the fear of death.