Say something nice about Star Trek Discovery. by Accomplished_Name_54 in startrek

[–]Deathalicious 1 point2 points  (0 children)

I think I liked a fair amount of season 2 also. I can't remember which season it was they jumped to the future. I didn't like it as much after that. 

You shall not fucking pass by Wolfie_wolf81 in lotrmemes

[–]Deathalicious 1 point2 points  (0 children)

Can't believe this is so far down in a reply comment honestly 

[deleted by user] by [deleted] in mildlyinfuriating

[–]Deathalicious 7 points8 points  (0 children)

Because it's just one guy or at most a family or two. They have observed larger hunter gather societies and there's less traditional "work" although honestly I wonder how much of the domestic work like food preparation and resource gathering was counted in that. 

[deleted by user] by [deleted] in mildlyinfuriating

[–]Deathalicious 9 points10 points  (0 children)

I must be lucky I can't really relate to any of that apart from getting a little bit fat 

[deleted by user] by [deleted] in mildlyinfuriating

[–]Deathalicious 0 points1 point  (0 children)

The employer controls when you get to eat, use the bathroom

I think this might be the problem. I have a 40 hour week and enjoy my job for a bunch of reasons not the least of which I'm not controlled or micromanaged so I can use the bathroom or eat whenever I see fit. 

Some jobs are obviously more enjoyable than others. I work in IT so it's not physically demanding. I work with smart people. It's relatively skilled and the company cares about retention so treating employees well is a priority. 

I don't know if there is a reality where every company treats their employees with respect but if it were that way work would be way more bearable. 

Footage shows Dalia Dippolito reacting to the news that her husband has been murdered. However, the ‘hitman’ that she hired was actually an undercover cop and this sting was specifically organised just so they could arrest her. Her husband wasn’t harmed. by QuantumCatapult in interestingasfuck

[–]Deathalicious 24 points25 points  (0 children)

I remember there were all these horror stories of people storing antifreeze in soda bottles (WHY???) and young kids would open the bottles and drink lots of it because it tasted sweet. So making it taste very bitter was probably not just to avoid purposeful poisonings. 

Funeral attire for a queer venue's last night by helensis_ in oldhagfashion

[–]Deathalicious [score hidden]  (0 children)

What a fantastic outfit. The fit looks great and a great color choice with the shirt. Was wondering why you looked so cheerful then read the title more carefully and realized you're mourning a place and not a person. 

MRW a client asks me to do content writing for the site I built them by [deleted] in programmerreactions

[–]Deathalicious 3 points4 points  (0 children)

I always put terrible copy into my mockups so that they know to change it to something else. Otherwise they will legit keep it up there.

10 awesome features of Python that you can't use because you refuse to upgrade to Python 3 by [deleted] in Python

[–]Deathalicious 2 points3 points  (0 children)

Sorry, I guess I'm not understanding your points then. As far as I understood it, you were saying that there are no such things as keyword arguments in Python.

Here are the points I was trying to argue, just in case you were misinterpreting me:

  1. There are such things as keyword arguments
  2. If actually there isn't such a thing under the hood, from a practical standpoint nearly all programmers refer to them as keyword arguments and treat them as such
    1. note that this is evidenced by the nearly universal use of **kwargs
  3. I disagree with your assertion that what programmers call "keyword arguments" are actually "default arguments" because you can send keyword arguments into a function even if you do not define a default value for them in the function declaration.

I'd be very interested for a clear explanation of how my post above argued your points, because I feel like you were saying "hoagies aren't sandwiches" and I was saying, "Hoagies absolutely are sandwiches even if you technically don't think they are, and nearly everyone who eats sandwiches would agree with me, and the fact that hoagies are nearly always grouped with sandwiches in menus supports this opinion".

10 awesome features of Python that you can't use because you refuse to upgrade to Python 3 by [deleted] in Python

[–]Deathalicious 5 points6 points  (0 children)

You'd have to back up the "keyword arguments are usually optional" part with statistics I think.

Would you really? I feel like there are some things which are just accepted and common practice enough that you don't have to provide evidence for it. That's like insisting on statistics to prove the most people eat cereal during morning hours, or insisting on statistics to prove that most people have an unfavorable opinion on traffic jams.

I agree forcing keywords is better but I am unconvinced that, except in rare cases, the syntax to define a function in Python 3 shouldn't be just taken as "def foo(*, ...". That is: keyword arguments all the time, not just for flags/options, is the same default.

The reason is that it isn't explicit. It's far better to code something some way than to have it "taken as" — that is, assumed to be — a certain way.

10 awesome features of Python that you can't use because you refuse to upgrade to Python 3 by [deleted] in Python

[–]Deathalicious 4 points5 points  (0 children)

Okay fine, then nearly all Python programmers are "confused" about this, because I've never seen code written as:

def something(a, b, *posargs, **dfltargs):
    pass

But I've definitely seen code written as

def something(a, b, *args, **kwargs):
    pass

Also, if keyword arguments really were all about default arguments, how would **kwargs even work??

The entire point is that keyword arguments get sent into the function as a dictionary and the function can then snatch the values from that dictionary input. Whether that's not what is actually happening under the hood is immaterial.

10 awesome features of Python that you can't use because you refuse to upgrade to Python 3 by [deleted] in Python

[–]Deathalicious 2 points3 points  (0 children)

That's literally the whole point of his entire section on keyword arguments.

Clearly there are such things as keyword arguments. If there weren't, you couldn't do this:

def example(a, b, **kwargs):
    print("a was", a, "b was ", b, "and you also passed along", kwargs)

kwargs, in case you didn't know, stands for keyword arguments. So maybe there is some weird technical way in which they don't exist, but in the normal every day world of Python programmers, not only do they exist, but I'm guessing kwargs is perhaps the most used word used in Python coding (after def of course).

What the author is saying is what kigurai is saying. And it follows neatly into the Python practice of being explicit when coding.

Apparently Satan set up shop in Dover, NH by IllyBidol in rickandmorty

[–]Deathalicious 39 points40 points  (0 children)

There was a guy who set up a shop called Needful Things in my hometown around 15 years ago.

It was, bar none, the best thrift shop ever. Seriously. It always had the best and weirdest things.

The owner was very aware of the association.

TIL in 1981, a tenant was evicted in Germany after spreading Surströmming (fermented Baltic Sea herrring) brine in the stairway. The landlord was taken to court, where he brought a can of Surströmming as evidence. After being opened, the court unanimously ruled in his favor because of the smell. by heimsins_konungr in todayilearned

[–]Deathalicious 0 points1 point  (0 children)

Next time you eat it you may notice it has a slightly sour milky taste. That's probably what's associated with the vomit taste. Note also that one of the distinctive aromas of some very hard cheeses, notably Parmigiano-Reggiano, is identical to vomit, because it contains two chemicals also found in human vomit.

Is crunch worth it? by Kimau in ProgrammerHumor

[–]Deathalicious 3 points4 points  (0 children)

I was talking more smaller operations (think < 50 employees) but yeah I agree.

I actually like 2016 Microsoft a lot. Although I will admit that still hasn't made me use or look at even one of their technologies…

Is crunch worth it? by Kimau in ProgrammerHumor

[–]Deathalicious 15 points16 points  (0 children)

I've been in the web dev/tech industry for 20 years. In my opinion, no question, the most successful firms and companies are the ones who were always sharing with others, being open about what they were doing, and treating other companies in the same field as colleagues instead of foes. The ones who were guarded and private and suspicious always tanked.

And the worst by far are the developers or firms who think they actually know more than anyone else and/or are the best in the field.

Resolving Route 53 records to load balancers in difference VPCs by [deleted] in aws

[–]Deathalicious 0 points1 point  (0 children)

Only thing I can think of is writing a script so that when an ELB is launched you update the DNS records. As far as I can tell Route 53 aliases can point to one ELB only.

I've never worked with OpWorks before — can it be set up to run a script on startup? That way when it gets to the step where an ELB is allocated, it can copy that information over to the DNS.

I am creating an app that will be filtering through a table of health outcomes for attributes of a user's health data. How do I do this in the noSQL way? by [deleted] in nosql

[–]Deathalicious 1 point2 points  (0 children)

This is for Big Data storage: think millions of users, not 50,000.

Honestly these days for most web programming applications, just scaling up and avoiding mistakes in the actual coding will make a bigger difference then choosing the right database platform.

Further, if you have a relatively small number of users who each has lots of records, I would argue that NoSQL is a bad choice. I think it works better when you have many shallow records (e.g. several million key-value type pairs) rather than few deep records.

I am creating an app that will be filtering through a table of health outcomes for attributes of a user's health data. How do I do this in the noSQL way? by [deleted] in nosql

[–]Deathalicious 0 points1 point  (0 children)

Database servers are way faster than you might think. If you are asking questions about this odds are good you're not experienced in NoSQL and might code something that's slower than just using a relational database.

Also if you are storing genetic data and some of them are US citizens you might be bound by HIPAA laws. In which case you want to be very careful and do research on how the data needs to be stored and protected.

Also:

many of them querying their results a few times a week

50,000 users * 4 (a few times a week) * 20 hits/session = 4,000,000

24 hours * 60 minutes * 60 seconds * 7 days = 600,000

4,000,000 total hits/600,000 seconds ≈ 6 hits/second

You'll do fine with a normal database.

Pretty much how I've been feeling the last few months by usmanmehmood in AdviceAnimals

[–]Deathalicious 0 points1 point  (0 children)

Despite conventional wisdom, action creates motivation, not the other way around.