@davidism Sorry, my notion was that everyone should read the rules first when they go to a new room (on their own accord), and greeting them with cabbage quickly reveals if somebody has failed to do this. Which often leads to the usual "-need help pls -just read the rules" and "-link to fresh question -please don't" skits. I'll refrain from doing so in the future.
Everyone should read the rules, yes. Everyone doesn't need to be "tested" when they get here though. It's way more satisfying when they just find it, trust me.
I work for a company that provides internet to very remote locations
the bandwidth we provide is very limited - someone around 1Mbps
the people at these locations would be extremely happy if we could provide netflix over this link, but live streaming for multiple simultaneous streams at 1Mbps doesn't work
we are hoping to figure out a way to preload a server with several terabytes of encrypted, netflix content, put the box on site, and somehow redirect network traffic so that instead of streaming from netflix, people stream from our local server
If your company can partner with netflix to develop such a technology, sure, maybe that could work. Otherwise, good luck with the legality of it all. (I am not a lawyer and this is not legal or financial advice, etc.)
Annoyingly, I suspect that each stream will be encrypted on a per user basis. Hence why nobody has successfully (and legally) cached their content before
@Tal let's put this in perspective, there's an entire company whose business is based off of this, and you're asking a random programming language room how it's done.
you definitely posed the question from the wrong angle. The question isn't "how can we man in the middle your content", it's "how can we get an Open Connect appliance for extreme low-bandwidth links"
they said it was impossible to cache their content. When I told them another company was already doing it, they were super surprised and said they knew nothing about it. Clearly someone at netflix must know these guys are doing it
I have a feeling the reply to even the most nicely worded request is going to be "we're not going to bend over backwards to accommodate you for nothing". Ask your boss how much you've got in the budget to negotiate a licensing deal with Netflix.
So your boss wants a solution to an impossible problem, whose only solution is actively worked against, and doesn't want to spend any money on it at all. How important is this to them, and how important is it to your job security?
k - well the idea of talking to netflix again, this time asking them about using openconnect with low bandwidth links is as good as I've got, so I think I'll try that
I'm not gonna lose my job over it - I just have to convince my boss somehow that even though other companies are doing it, it's impossible for us to do
Every time I tell somebody they should quit their job in order to stand up for their principles, they tell me they don't want to become a penniless beggar. Somebody's got to make an example of themselves one of these days.
@PM2Ring Yes. This was not crap, though. It was one of those rare well-written questions from newish users, and it was very obvious that it had nothing to do with the dupe target. And T3 has a display picture wielding the gold python hammer. :-\
I'm no crypto expert, but there's got to be a way to cache half of it that's decryptable with an ISP-specific key, and stream the rest keyed to the end-user.
"Netflix encrypts with single key, sends to cache box -> cache box encrypts with user-specific key, sends to user -> user decrypts" seems entirely feasible, as long as you can force Netflix to do whatever you want.
@Tal I get the impression your boss will as we write be trying to persuade developers to work on his project: "We are going to be the next Netflix/Facebook/Google and you will get a share in the profits so it makes sense to work for nothing."
[~]% python
Python 3.5.2+ (default, Sep 22 2016, 12:18:14)
[GCC 6.2.0 20160927] on linux
Type "help", "copyright", "credits" or "license" for more information.
Had my almost-1-year-old-son on my head eating a chunk of pineapple core. 30 minutes later I just ran my hand through my hair and discovered several chunks of pineapple. Now I remember why I've really been shaving my hair.
Is this correct? I often see "how many pairs of underwear", but this doesn't make sense. How is underwear a pair? There is only 1. I've googled and I've seen both "how much underwear" and "how many pairs of underwear". Which one is correct?
had my boss come in while I was online with you guys, and explained to him that what he wanted was impossible for one guy to do. I'm not even sure how nightshift does it. He said we'll have to work with nightshift in that case.
Ok yes the moon orbited the Earth before Sputnik but it's anyone's guess what preceded the moon
If we want to get primordial it's real hard to draw a sharp delineation between when Earth was a blobby accretion disk and when Earth was a proper planet with a whole lot of orbiting satellites and/or debris
Half of the time when my Internet conks out, I'm unable to load new web pages, but I can still chat. My explanation for this is "because DNS resolution"
I had a bad dream and then I woke up and thanked it was just a dream. Slept back again, had another dream that the previous dream was not a dream :D. True story.
So, when Philippe keeps telling me to eat the entire bag of chips, and I listen, that's OK? But when Dennis tells me to burn the house down and I don't listen, I'm OK?
Hi Guys, I wrote a python app using the pycrypto library. I used AES256 which turns out to be symmetric. I would like to implement encryption using the public/private key method. Nifi should be able to decrypt it later nifi.apache.org/docs/nifi-docs/components/…
Is there anything other that RSA to do that, looks like NIFI does not support RSA
Philippe and Dennis are the two primary motivating forces in the universe, typically characterized as motivation to eat the whole bag of potato chips, and motivation to burn everything, yes, burn it all (citation: idjaw 2017)
Oh god, could you imagine if Kevin was a ghost code being, with the power of slightly messing with your output? Think about it. 1+1 could report 3, and you would have no idea what's going on, while Kevin just floats around in cyberspace, giggling to the headache hes producing.
The only way to get correct code is to please Kevin, by using KevinScript.... the horror
But he had an approved tolerance for others; sometimes wondering, almost with envy, at the high pressure of spirits involved in their misdeeds; and in any extremity inclined to help rather than to reprove. "I incline to Cain's heresy," he used to say quaintly: "I let my brother go to the devil in his own way." In this character, it was frequently his fortune to be the last reputable acquaintance and the last good influence in the lives of downgoing men
I think the solution is simple. Since you can only affect the output, we just never have to output anything. Schrodinger cat, but with coding. You think it's working but it may not actually work, in the end you won't know until you see the output. But in our case we don't want an output...
Kevin occasionally solves the halting problem, but only when observed. When unobserved, the program never ends. It's the heisenbug uncertainty principle.
This is probably easier than I suppose it is, but my mind has deadlocked and I cannot figure this out: Does anyone have a suggesion of how I can convert a one-dimensional dict to a multidimensional one. Example: From a dict like this: {'a_b_c': 1, 'a_e': 2} To one where dict['a']['b']['c'] == 1 and dict['a']['e'] == 2 ? I assume some form of regressional method is in order, but it simply turns to spaghetti when I try to solve it... Thanks to anyone who can help me figure this out.
Not necessarily. If you can find a way to guarantee it won't happen, that's fine. Or even more deviously, you can make a custom dict type with an int property that has __int__ return it :)
Here's an approach I barely tested or thought all the way through:
def multikey_set(d, keys, value):
for key in keys[:-1]:
if key not in d:
d[key] = {}
d = d[key]
d[keys[-1]] = value
start = {'a_b_c': 1, 'a_e': 2}
end = {}
for k,v in start.items():
multikey_set(end, k.split("_"), v)
print(end)
A couple months back I challenged the room to come up with a one-line version, d = defaultdict(<put anything you want here>), that behaved the same. Don't recall if anyone ever came up with anything
d = defaultdict(type('RecursiveDefaultDict', tuple(), {'__missing__': lambda x,y: d.default_factory()}))
# but that only works for one level. yet, when I put
tuple(dict)
# I get a strange
TypeError: 'type' object is not iterable
I don't have an answer in mind for this challenge, incidentally. I asked it originally because I couldn't come up with anything that wasn't totally underhanded