#that's obviously not yielding much results because i'm not sure what to search for
Explore tagged Tumblr posts
elytrafemme · 4 months ago
Text
okay so yesterday i was like joyous and now today i want to kill myself so like either PMS is working its magic or job searching really is a one hit KO to the psyche
2 notes · View notes
regexkind · 1 year ago
Text
An English-language haiku is composed of 3 lines, with 5 syllables in the first line, 7 syllables in the second line, and 5 syllables in the third line.
There are semantic guidelines for haikus but they are:
not mandatory and
it is not easy to tell if a poem satisfies them or not using an effective procedure.
If you were going to try to enumerate all possible haikus you should in principle be able to do so. Here is a way to bound the total number.
First. Let P(n) be a function from N to [[N]] (lists of lists of natural numbers). Each output is a partition of n. So for example,
P(1) = [[1]] (there is just way to partition the singleton list)
P(2) = [[2], [1,1]] (there are two ways to partition two elements)
P(3) = [[3], [1,2], [2,1], [1,1,1]] (there are four ways to partition three elements).
We never want to consider empty partitions, because we are going to use P to generate all possible partitions of a line. Now let S(k) be a function that output the number of words with a syllable count of k.
If p is a partition, then product(p_i, S(p_i)) where p_i are the elements of your partition should give all the lines which obey that syllable partition. So the number of lines of syllable length 5, say, would be given by sum(p in P(5), product(p_i in p, S(p_i))).
If you then did (sum(p in P(5), product(p_i in p, S(p_i))))^2 * (sum(p in P(7), product(p_i in p, S(p_i)))) it should bound above the number of haikus.
The correct implementation of P is not hard to determine. You should be able to implement it using a recursive procedure:
P(n) = [1::p for p in P(n-1)] + [2::p for p in P(n-2)] + .. [n]
(double colon for concatenation of an element with a list. very sorry about it)
S(k) is obviously an artifact of English's...joie de vivre...and nothing can be done but to examine some corpus. Fortunately there is a nice open-source corpus called cmudict that with a little work can be used to extract syllable counts. There are a lot of ways to skin this cat but I am very much a dilettante and don't know or even care very much about the best way. So what we are going to do is iterate through the python list object cmudict.entries() and call it a day.
```
counts = {n: 0 for n in range(1,8)}
scount = lambda phones: len([p for p in phones if p[-1].isdigit()])
for e in cmudict.entries():
if scount(e[1]) in counts:
counts[scount(e[1])] += 1
print(counts)
```
which yields a little dictionary like:
{1: 17013, 2: 61950, 3: 37573, 4: 13680, 5: 3946, 6: 835, 7: 131}
Note that this sure does...have flaws: the corpus is not likely to be exhaustive and is also likely to contain some very silly entries. But it's a start.
Now for the partition function, which we define like:
```
partitions = lambda n: [([k] + p) for k in range(1, n) for p in partitions(n-k)] + [[n]]
```
Probably not the best way to do this. I'm on my lunch break being weird gimme a break
```
from math import prod
linecount = lambda n: sum([prod([counts[k] for k in p]) for p in partitions(n)])
```
give it a quick test to see if it yields sane results:
linecount(1) = 17013
linecount(2) = 289504119
this result makes sense as 289504119 = 61950 + 17013*17013
linecount(5) = 1426514639320245092230
linecount(7) = 413070223870732480007964932996
so therefore there are at most 1426514639320245092230 * 1426514639320245092230 * 413070223870732480007964932996 = 840574780334063283641104558297835273200764462057233347978729716690208400 haikus in the English language, according to a very rough estimate.
This is a big number.
log_10 of this number is 71.92457635577878, hope that helps
Obviously most of these are absolute trash. But there are some interesting consequences of this evaluation. For example, we can rule out a lot of brute-force techniques for generating haikus. If we want to generate all haikus meeting certain other constraints, maybe we should do everything we can to cut down the search space first.
2 notes · View notes
runnning-outof-time · 2 years ago
Text
Night and Day | Arthur Shelby x Reader
Tumblr media
Request: yes by @acupnoodle
Pairing: Arthur Shelby x reader
Summary: Arthur's got a woman that can brighten his day just by being in her presence, regardless of what he was doing before she showed up.
Warnings: language
Word Count: 2051
A/N: I really think that Arthur would do this if the situation arose. Enjoy! :)
Let me know if you’d like to be tagged in stories similar to this one!
———
(Y/N) happily sifted through the fabric options while humming to herself. She was looking for the perfect pattern so that she could make something to surprise her boyfriend with.
"(Y/N)?" she heard her name being called, pulling her out of her own little world. She stopped her searching and turned to see Ada Shelby standing on her right. "How's the search going?"
"It's going well," (Y/N) sighed, obviously not set on any specific choice yet, "has yours yielded different results?" she then checked with the other woman.
"No," Ada shook her head before the two ladies began looking through the racks that were right in front of them. "Is there anything specific that you're looking for?" she decided to ask (Y/N), who almost didn't hear the woman's question because of how focused she was.
"Not really...just that it has to be perfect," (Y/N) responded without taking her eyes from the fabrics. Ada couldn't help but laugh at the other woman's statement, and she shook her head before going back to looking at the options.
"I'm sure he'll consider whatever you come up with perfect because you're the one making it," Ada commented with a grin, "he's fallen head over heels for you, (Y/N)."
(Y/N) had to stop her cheeks from heating up, and she busied herself with looking for fabrics so that her friend couldn't see her reaction. "He has not," she tried to disagree with the other woman.
"He has," Ada stuck with her statement, "the second you walk into a room, his complete attention is on you. He doesn't go a day without mentioning you in some way, and he goes through the things he'd say to you; like he's rehearsing in a way..." Ada trailed off as (Y/N) turned to her with slightly furrowed eyebrows. "Have you ever met a man that rehearses what he's gonna say to his partner?" she then questioned, a goofy grin on her face. (Y/N) sighed and rolled her eyes at Ada's statement, but she didn't fight her words. Instead she allowed the butterflies to flutter freely in her stomach. Maybe Arthur Shelby had fallen in love with her.
"I think I found the fabric that I'll use," (Y/N) announced after the two women had been searching through the options for a few more moments.
"What are you planning on making?" Ada asked curiously as she came to see the choice that (Y/N) had made.
"I'm not sure yet. I just wanted to make him something special because I know that he's been going through some strenuous times recently," (Y/N) answered as she picked up the fabric and went to where the register was placed.
——
Arthur was fuming. Three of the younger Peaky boys were standing, frozen in front of him, much like how soldiers stand in front of a general, as he stalked back and forth with a deep frown on his face. John sat in the corner of the room, smoking a cigar with a grin on his face. He always loved watching Arthur lose it...especially when the men he was 'losing it' on deserved it.
"We was just doing what you asked, sir," the middle man decided to speak up, making the angered man's eyes zero in on him. Immediately, he realized that he'd done the wrong thing.
"Don't say another fucking word," Arthur seethed, getting right up in the man's face. "Doing what I asked? Fuck doing what I asked, what you did was lose this fucking company a whole bunch of money!" he continued on, his words becoming angrier by the second, "it was a simple fucking job. We asked you to take the money and put it on the races that we specifically told you to...but you didn't fucking do that. Instead, the three of you got piss-fucking-drunk and decided to waste the money on whatever you felt like!"
"What's Tommy gonna say of this?" John commented from his seat, thoroughly enjoying what was going on.
Arthur grumbled something and shook his head before staring intently at the three men. "You three are just fucking lucky that Tommy's away on business and not here because he'd ‘ve taken your fucking ears by now for not listening to us properly," he continued on his tirade, the anger just about coursing through him now.
He didn't want to have to think about how Tommy would react to this. Arthur and John were in charge of this operation. They were in charge of picking the men out and telling them what races to go to, which horses to bet on. And in their minds, their plan was fool-proof...they didn't think of the possibility that they'd choose three men that couldn't pull it off.
"What're you gonna do to us?" the man on the left asked, fear evident in his voice.
"What am I gonna do to ya?" Arthur sneered, his eyebrows raised as he was in slight shock that the man would even decide to ask a question like this. "You really wanna know what I'm gonna do to ya?" The man swallowed thickly and nodded his head. Arthur couldn’t help but scoff at his bravery for standing up to a Shelby before he turned to look at John. "What do you think, John boy? What do you think I should do to these men who don't know how to listen to fucking orders?" he asked the man sitting in the chair with raised eyebrows.
"I don't know, Arthur..." John trailed off with a grin as he took a drag from the cigar perched between his fingers. "What punishment does one give to men who don't know how to do their fucking jobs?"
Arthur muttered something incoherent as he shook his head again. He then took a long look at the three men standing in front of him. "Alright..." he paused, speaking after a few agonizing moments of silence had passed, "I'll tell you what I'm gonna do to ya. You need to learn a fucking lesson from this, and the only way for you to do that is..."
"Arthur?" a voice cut into his statement before he was able to dish out his punishment.
Arthur turned to see (Y/N) standing in the archway that led from the main room of the Garrison to the more private room that this was going on in. “What’re you...what’re you doing here, love?” he asked, his brows furrowing as he tried to keep his previous angry demeanor present in his features. It was hard though, because he couldn’t help himself from smiling whenever he looked at (Y/N). She always brought him an immense feeling of happiness.
“Polly told me you were here. I have something special to give to you,” she said, stepping into the room regardless of what was happening in there previously. She had heard the screaming when she entered the otherwise empty bar, but that didn’t deter her, as she’s been around the Shelby family long enough now to know that most of their conversations or interactions were intense in nature and oftentimes involved screaming.
“You do?” he questioned, the corner of his lips twitching. It was becoming really hard for him to hold the glare that he had been wearing previously. John noticed this and was trying so hard to stifle a laugh from where he was sitting meanwhile the three men stood still like statues. They knew better than to acknowledge their boss’s change in attitude.
“I do,” (Y/N) nodded, stepping further into the room so that she could stop in front of Arthur. “It’s in my purse,” she said then, opening her small bag so that she could get her present out. “Now I know that it’s nothing too extravagant, but I wanted to make something special for you to have with you when you go away on business or whatnot,” she gave her speech before raising her hand to show Arthur the homemade handkerchief that she’d made for him.
“You made this for me, love?” Arthur questioned as he took it from her hands to look at it more closely. It had a navy blue background and the pattern consisted of golden diamonds. It was sewn expertly, and Arthur knew already that it would fit perfectly into the pockets of the suit jackets he wore.
“I did,” (Y/N) answered with the same statement she’d used previously, the smile on her face growing, “do you like it?” she asked then.
“I love it,” Arthur smiled, chuckling a little to himself. Now, the previous feelings of anger were completely gone. He gave up trying to keep them around as he gazed down at the thoughtful gift that his girlfriend had just given him. “Thank you for making it for me,” he continued, unable to stop himself from leaning over and pressing his lips to her cheek as a physical display of his gratitude towards her. He pulled back and stared lovingly at her, the adoration in his eyes making (Y/N) giggle slightly as butterflies erupted in her stomach.
“Arthur,” John’s voice pulled the couple out of the little bubble that had been created.
“Yeah, John boy?” Arthur asked, his eyes not yet moving from (Y/N)’s.
“Arthur, we’ve got business to handle here,” John called him back to the problem that the two Shelby men were dealing with before (Y/N) came and so pleasantly interrupted.
“Oh yeah, I uh...” Arthur remembered what had been going on prior to his girlfriend’s arrival. His realization made him turn on his feet to look at the three men that hadn’t moved a muscle since the interruption occurred. “I...I’ll just be a minute, (Y/N),” he told (Y/N), glancing over at her briefly to see her nod her head before he turned back to the men. “What I was saying before was....” he paused again, looking intently as he tried to rack his brain and remember what he was going on about before. “What was I saying before, John?” he then admitted defeat and asked his brother for some help.
“You were telling them their punishment,” John answered, letting out a sigh because he knew where this was going. He was able to tell when Arthur had his mind in different places, and now it was off in (Y/N) land.
“Right, yeah, uh...” he trailed off once more, racking his brain yet again to try and recall what he thought would be a suitable punishment for these men. A few moments passed before he let out a sigh, “John, can you do this? I don’t remember where I was going with what I was saying before,” he admitted as he hung his head, feeling slightly embarrassed that he’d lost his train of thought the second that (Y/N) came into the room.
“Fine,” John agreed, standing up from his chair with a sigh before he made his way over to where his brother was standing, “fucking night and day with you when (Y/N) comes into the room,” he commented then, clapping his brother on the back as a grin formed on his face.
“I’m not ashamed to admit that,” Arthur stated as he stepped over to (Y/N)’s side. “I’m confident that you’ll give them what they deserve, John boy...now I need to go show my lady here my thanks for making me this special gift,” he said as he turned to grin at (Y/N), who immediately felt her cheeks start to heat up.
“Go on then, Arthur,” John waved him off, shaking his head with a grin. Arthur and (Y/N) left the room then, walking right through the Garrison and out of the tavern with his home on Watery Lane being their destination.
Arthur wasn’t ashamed to admit that there was a difference in his attitude when (Y/N) was in his presence. She brought the best out of him, and he always wanted to try to be a better person when he was with her. The love that she gave him was worthy of this night and day shift inside of him, and he didn’t care who he was in front of when it happened.
———
Tagged: @alreadybroken-ts @magicalxdaydream @the-anxious-youth @look-at-the-soul @mrsalwayswrite @julkaamazing @evita-shelby @lilyrachelcassidy @easilyobessedbutflighty @shelbydelrey @december16-1991 @onlydeadcells @peakyswritings @just-a-blackhole
MASTERLIST
656 notes · View notes
douchebagbrainwaves · 4 years ago
Text
WHY I'M SMARTER THAN BET
What's small stuff? That was a good time for startups. And yet as it gets cheaper to start startups, this sparsely occupied territory is becoming more and more valuable. Choose a project that will take less than a month, and make more than you are at producing it. At least, as long as you fix bugs right away, the net effect, for the average user, is far fewer bugs. Ditto for houses. In the so-called portals was that search was boring, and that's why they do it because they genuinely like to program and aren't satisfied with the languages they already know. He wanted to do everything himself.1
Which illustrates why this change is happening: for new ideas to matter, you need to win. That sort of thing all the time. All it takes is a few beachheads in your economy that pay for performance. In startups, the big companies paid their best people less than disagreeing.2 And the lever not only grows increasingly long, but the curiosity I mean has a different shape from kid curiosity. In a world of Web-based software, you can figure out the rest as you go. It's not a sign of weakness to depend on it happening. Credentials matter a lot then. Hardware is free now, if your software is reasonably efficient.
So the nature of employment in these organizations tended to yield falsely low numbers about economic inequality. And just as the mid-1950s to about 2005. One advantage of being old is that you get funded.3 Surely that sort of thing all the time they spent on it will be for economic inequality to increase. People who do great things look at the source, because you were already worrying about it subconsciously. Nothing is forever, but the result of making college the canonical path for the ambitious was a world in which it would be even cheaper today.4 Most investors have no idea how dangerous they are. Basically, Apple bumped IBM and then Microsoft stole its wallet. My wife and Y Combinator cofounder Jessica is one of their aims.
But I don't think this is true. Boldness pays.5 Being married to her is like standing next to a programmer hearing him say Shit, you're right, it's a bug. He weren't CEO.6 It's probably because you have no Thomas Edisons.7 Ditto for houses. So maybe I'll try not bringing books on some future trip. The low cost of starting a startup means the average good bet is a riskier one, but he'll consider himself lucky to get paid a lot.8 Gmail was one of the hot startups that always win recruiting battles. At first desktop computers didn't look like much of a startup with about 70 programmers how many more he'd hire if he could get all the great programmers he wanted.9
Notes
Nat. By all means crack down on these. To get all that matters financially for investors.
The lowest point occurred when marginal income tax rates, which either desperately tries to munge what I've said into something that flows from some types of publishers would be reluctant to start over from scratch. Revenue will ultimately be hurting yourself, because you have to do more than the founders. For example, the police in the US News list is meaningful is precisely my point.
San Francisco.
Dan wrote a hilarious but also very informative essay about why people dislike Michael Arrington. It seems as dumb to discourage risk-taking. How much better that you decide the price of a social network for pet owners is a particularly alarming example, would not be led by manipulation or wishful thinking into trying to sell, or a funding round. Correction: Earlier versions used a TV for a number of big corporations.
This probably undervalues the company will be very hard to judge for yourself and that he had to both. Obviously this is: we currently filter at the exact same thing.
When you get bigger, your size helps you grow.
Cascading menus would also be argued that kids who went to school. You know in their social lives that didn't already exist. Put rice in rice cooker and forget about it. The only launches I remember the eyes of phone companies gleaming in the US is partly a reaction to drugs.
Within an hour just to go sell the bad groups and they hope will be a sufficient condition. The point where things start to get a patent is conveniently just longer than the actual server in order to make a conscious effort. Brand-name VCs wouldn't recapitalize a company tuned to exploit it.
If it's 90%, you'd ultimately be a predictor. To. As far as such things will do worse in the middle of the grad students they admit each year are long shots are people who need the money invested in the narrow technical sense of things economists usually think about so-called signalling risk is also to the traditional peasant's diet: they had to both.
1 note · View note