Sure it does, you can even join Linux to the domain. It's probably more that setting up tooling to manage it is not worth it when only one person is using Linux.
Gotta say, those are nice.
I'm sure it's so you visit the store once a week. For online stores visits are the only way you get sales, so they want you to visit as often as possible.
There is probably some data that the client sends too. But that is the defacto standard these days.
Yes, should be some thing like 22gw if my maths is correct. I have a phase 2 to build that will use the rest of the oil node for diluted fuel gens to push to 30ish. Need some more slugs for that.
For now I'm sinking the resin, but it'll go out to a personal supply of computers and high speed connectors later.
Accountants have it hard even if they do keep up-to-date. We migrated one to a new server, but some of their clients still use archaic versions of accounting software. Unfortunately beyond a particular age it won't activate the new install, so they are stuck telling the client to upgrade or continue to run the old server as well.
For me it was the Microsoft intellimouse, the led one. It had 5 buttons, one on each side so it was also ambidextrous. Now I have a mouse graveyard box.
Added the ability to save a specific frame of a video as a steam screenshot
I was actually using snipping tool for this as it was missing. Being able to get a screenshot of something after the fact is a nice feature.
Since you added a question mark, commands is the correct general term. However there are two types that can be a command. Functions: which are written in pure powershell and cmdlets: which are commands provided by dotnet classes. (Also exes and a bunch of other stuff common to other shells can be a command, but that's not important.)
The reason they have different names is early on functions didn't support some of the features available to cmdlets, such as pipeline input. There was later a way to add this support to functions.
In practice call them any of the 3 and people will know that you mean.
Yea, this is not cheap companies doing cheap things. This is companies getting annoyed by stupid licencing and restrictions, getting around the problem.
Using a class here actually made part 2 super simple, just copy and paste a function. Initially I was a bit concerned about what part 2 would be, but looking at the lengths of the input data, there looked to be a resonable limit to how many additional rows there could be.
python
import re
import math
import argparse
import itertools
#https://stackoverflow.com/a/1012089
def iter_item_and_next(iterable):
items, nexts = itertools.tee(iterable, 2)
nexts = itertools.chain(itertools.islice(nexts, 1, None), [None])
return zip(items, nexts)
class Sequence:
def __init__(self,sequence:list) -> None:
self.list = sequence
if all([x == sequence[0] for x in sequence]):
self.child:Sequence = ZeroSequence(len(sequence)-1)
return
child_sequence = list()
for cur,next in iter_item_and_next(sequence):
if next == None:
continue
child_sequence.append(next - cur)
if len(child_sequence) > 1:
self.child:Sequence = Sequence(child_sequence)
return
# can't do diff on single item, use zero list
self.child:Sequence = ZeroSequence(1)
def __repr__(self) -> str:
return f"Sequence([{self.list}], Child:{self.child})"
def getNext(self) -> int:
if self.child == None:
new = self.list[-1]
else:
new = self.list[-1] + self.child.getNext()
self.list.append(new)
return new
def getPrevious(self) -> int:
if self.child == None:
new = self.list[0]
else:
new = self.list[0] - self.child.getPrevious()
self.list.insert(0,new)
return new
class ZeroSequence(Sequence):
def __init__(self,count) -> None:
self.list = [0]*count
self.child = None
def __repr__(self) -> str:
return f"ZeroSequence(length={len(self.list)})"
def getNext(self) -> int:
self.list.append(0)
return 0
def getPrevious(self) -> int:
self.list.append(0)
return 0
def parse_line(string:str) -> list:
return [int(x) for x in string.split(' ')]
def main(line_list):
data = [Sequence(parse_line(x)) for x in line_list]
print(data)
# part 1
total = 0
for d in data:
total += d.getNext()
print("Part 1 After:")
print(data)
print(f"part 1 total: {total}")
# part 2
total = 0
for d in data:
total += d.getPrevious()
print("Part 2 After:")
print(data)
print(f"part 2 total: {total}")
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="day 1 solver")
parser.add_argument("-input",type=str)
parser.add_argument("-part",type=int)
args = parser.parse_args()
filename = args.input
if filename == None:
parser.print_help()
exit(1)
file = open(filename,'r')
main([line.rstrip('\n') for line in file.readlines()])
file.close()
If they provided mechs for each person, you might see more people signing up. Don't mention the space bugs though.
purplemonkeymad
0 post score0 comment score
Well epistle 3 was released that can at least give you an idea about what the arc was going to be. Ofc it might not have ended up as the final draft. I found it kinda depressing tbh.