search results matching tag: convention

» channel: nordic

go advanced with your query
Search took 0.000 seconds

    Videos (502)     Sift Talk (27)     Blogs (23)     Comments (1000)   

Clint Eastwood Playing Piano

Fairbs says...

I've always liked Clint; I felt bad when he flamed out at the Republican convention and the liberals piled on him; I suppose some of it was fair, but eveyone's entitled to a bad day.

John Oliver - Joe Arpaio

newtboy says...

You've got to be kidding, you know the judge isn't a DOJ employee, right?
You understand the concept that ignoring a judges direct legal orders is a crime no matter what your politics, right?
He wasn't convicted of the civil rights violations, (for pulling over Hispanic looking people and demanding they show their papers) but he was ordered to stop them, and he continued. He was convicted of criminal contempt.
It wasn't the DOJ, it was a federal judge he ignored and the constitution he violated after being ordered to stop it.
EDIT: But yeah...ignoring the constitution, judges, fairness, civility, the Geneva convention, and the rule of law certainly does make him the a America's best sheriff, doesn't it? I hope you and your family gets pulled over at gunpoint by black sheriffs at least once a week for life to check your papers, perhaps you'll eventually learn it's wrong.

If Obama abused that power as you suggest, why weren't there constantly DOJ investigations of elected Republicans and talking heads? It seems insane to even suggest that he reserved it for one evil sheriff.

Also, how do you explain all the charges and lost lawsuits from before Obama? Arpaio's legal troubles didn't suddenly start 8.5 years ago, you know. Was Bush's thumb on that scale against him too?

bobknight33 said:

Obama thumb was on the scale of justice. DOJ just did his bidding.

Liberal Redneck - Transgender Patriots and the GOP

MilkmanDan says...

@CrushBug -- Very good arguments in favor of absorbing the cost, even IF hormone therapy / gender reassignment is paid for by the military / government.

@entr0py -- Links that I've read from conventional news outlets claim that hormone therapy and gender reassignment were covered by military healthcare IF a doctor signed off on them as being medically necessary. An article I read about Chelsea Manning specifically stated that the hormone therapy was definitely paid for by the military, but that it wasn't 100% clear who paid the bill for her gender reassignment. I can't find that exact article, but here's another one from 2015 that suggests the same things:

https://www.usatoday.com/story/news/nation/2015/02/12/chelsea-manning-hormone-therapy/23311813/

Another article I read said that Obama issued an order / proclamation / whatever that the military would pay for those things if they were deemed medically necessary, which was a change from the former system (not covered). Not sure when/if that went into effect, but I think it must have. I'll look and see if I can find a link to that one.

I'm not saying that my info is right and yours is wrong, but it seems unclear. They (gender reassignment and hormone therapy) definitely weren't covered for a long time, but it seems like the hormone therapy was for sure at least in Manning's case.

Again, just to my personal opinion, I think the old system of "welcome to serve but we ain't paying for that stuff" was fine (ideal?). CrushBug presents a good argument for the military absorbing those costs since they are such a tiny fraction of the military budget (even though trans soldiers are arguably also a tiny fraction of the total).

Strangely enough, I'd pretty happily agree to those services being covered (if deemed medically necessary) as part of single-payer universal health care available to ALL CITIZENS. That would still be paying for them with tax dollars, but not tax dollars earmarked for military, which seems better to me somehow.

And again, I think Trump is 100% in the wrong for barring trans people from service simply for being trans. I agree that he's really just trying to rile up his base and trigger their righteous indignation. But, I do still basically think that the military paying for those services (or viagra / hair transplants / botox / cosmetic stuff, etc.) out of their budget is wrong. Even if amounts to a drop in the ocean that is military spending.

entr0py said:

Gender reassignment and hormone therapy aren't covered by military healthcare, so that's not the issue. Honestly, I think Trump is either so misinformed that he believes they are covered, or he knows that by implying they are with the phrase "tremendous medical costs" his base will be outraged by an imaginary government expenditure on 'queers'.

Tabs v(ersu)s Spaces from Silicon Valley S3E6

L0cky says...

Number 1 line in my coding standards docs:

Don't play golf.

Number 2:

Don't care about the conventions, only care about sticking to them.

MilkmanDan said:

I guess you wouldn't be amused by "one liner" programs like this one:

main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}



(no way in hell I could figure out what that is doing without the description on Wikipedia, and even then...)

Tabs v(ersu)s Spaces from Silicon Valley S3E6

MilkmanDan says...

I understand where you're coming from, but I stand by my previous posts.

Full disclosure, I never got professionally employed as a programmer / coder / software engineer. However, my Bachelors Degree was in CS, and I have many friends working in the field.

In the show Silicon Valley, Richard Hendriks is working for a large corporate entity but has an idea / personal project that he ends up spinning into a new company. He is trained as a software engineer (CS), NOT with any business or management background (MIS), yet he becomes sort of the de-facto boss / CEO (at least early in the show). He hires a small team to help him develop his product.

Given that scenario, I think the show portrays things very accurately or at least completely plausibly. He's a coder, not a manager. Programmers may understand the importance of formatting and style standards, but at least tend to not have the correct personality type to be comfortable with formally dictating those standards to a team (an activity which would generally be more in line with an MIS background).

Also, his company is small -- just a few other programmers. They are all specializing on different components of the product. So they generally aren't working on each other's code. Standards for function arguments / helper functions / etc. would have to be agreed upon to get their individual components to interact, but that is a separate issue from tabs vs spaces. It would be wise to set a style and naming convention standard and have everyone conform to it, I agree completely. But Richard isn't built for the manager / CEO position, so he either fails to recognize that or doesn't feel comfortable dictating standards to his team.

One more thing to consider is that he (Richard) essentially is the product. He's the keystone piece, the central figure. He's John Carmack, Linus Torvalds, or Steve Wozniak. Even in a very large team / corporate environment, I'd wager that more often than not the style standards that end up getting set tend to fall in line with whatever those key guys want them to be. Don't touch an id Software graphics engine without conforming to Carmack's way, or the Linux kernel without conforming to Torvald's standards. Especially if they are building something new from scratch -- which is again true in the Silicon Valley show scenario.

The show isn't a documentary on how to properly run a startup company in the real Silicon Valley, but it is generally accurate enough that it has a lot of nuances that people with a programming background can pick up on and be entertained by (even people that don't actually work professionally in the field like me). And more important, the general feel of the show can be entertaining even for people that know absolutely nothing about programming.

Buttle said:

I have to disagree with this. If you're working with even a team of two, you have to edit someone else's source code, and tabs v spaces has to be agreed upon. There are a lot of other, more entertaining questions of formatting that have to be settled upon, not to mention how to name things: CamelCase versus under_scores.

Any halfway competent programmer figures out the local standards by observation and follows them. Anything else is an indication that she just doesn't give a shit about getting along with co-developers.

Tabs v(ersu)s Spaces from Silicon Valley S3E6

Buttle says...

In my experience as a working programmer, tabs v spaces is a question of editor configuration, not typing. So, no, I don't believe he could hear it.

Conforming to the local convention on tabs v spaces isn't being anal, it's showing you want to keep your job. In particular, throwing in tabs where they are not expected results in unreadable hash.

MilkmanDan said:

I thought it was pretty clear in the show that he knew she was using spaces instead of tabs because of the sound of her repeatedly hitting the spacebar at the beginning of each line (which depending in your editor/IDE might be done automatically).

They are in a small environment, (loosely?) collaborating on code. He's anal about tabs vs spaces, and can tell that she's using the "wrong" one because of the repetitive (and annoying from his perspective) sound.

Put programmers together in a confined space, and they'll grate on each other over style issues / noise levels / music / whatever. I find the show extremely accurate in portraying the general atmosphere or feel of software development, if occasionally accenting or misportraying some details in the interest of making it good TV.

Tabs v(ersu)s Spaces from Silicon Valley S3E6

MilkmanDan says...

(**EDIT** hmm, code HTML tag doesn't seem to allow whitespace to show at the beginning of lines, so I'm replacing spaces with _underscores_ in the pseudocode below)

Code uses spaces or tabs to visually distinguish the flow of the program, what code belongs to what functions / loops / whatever.

Here's some C-style "pseudocode" that should get the idea across:

void function fizzbuzz {
__for (i = 1; i <= 100; i++) {
____set print_number to true;
____If i is divisible by 3
______print "Fizz";
______set print_number to false;
____If i is divisible by 5
______print "Buzz";
______set print_number to false;
____If print_number, print i;
____print a newline;
__}
}


The braces { } show the beginning and ending of a "function" (essentially one of potentially many self-contained algorithms in a program) and the beginning and ending of a "for loop" (that will repeat the code inside it some number of times). And the "if" statements will only perform the stuff after them IF the test they perform evaluates to true.

So in that pseudocode, there's sort of 4 tiers or things going on. First is the function (named "fizzbuzz"). Since functions are kind of the most basic structural unit of the code, they are on the far left -- not indented at all. Sorta like Roman Numerals in an outline.

Then, the actual content of that function (the code that makes up its algorithm) is set a consistent amount of space to the right to make it clear that it is contained inside the function. That can be done with *1* tab, or some consistent amount of spaces so that it lines up. The only thing in that tier is the "for loop" and the braces that show its beginning and end.

Then the content of the for loop is set a bit further to the right (with another space or another set number of spaces). All of the "if" statements are at that 3rd tier level, along with a bit more code at the beginning and end. Then, the actual content of the if statements is set one more tier to the right to help distinguish that it will only run IF the conditions are met.

That pseudocode uses spaces for all of the tiering -- 2 spaces per tier. I'm a tab person like the guy Richard in the video, because it seems easier to press tab once per tier than hitting the spacebar 2/3/4 times per tier. But it really is just a personal preference issue, because as he said in the video, by the time the code is compiled (turned into an executable file that the computer can run) the final result will be the same whether the programmer used spaces or tabs.

But like with many things, Silicon Valley really hits the nail on the head here. Programmers tend to be very set in their ways and anal about their style preferences for code. If we have to go through someone else's code that doesn't follow our style conventions exactly, it kinda tends to throw us out of whack. To make an analogy with something less nerdy, consider how annoying it can be when someone borrows your car and you have to adjust the seat / mirrors / radio stations etc. when you get back in.

eric3579 said:

Don't think i've ever used a tab outside filling in a form or playing video games. Does the tab thing have more to do with writing code?

Donald Trump will never be President of the United States

Oregon Polar Bear Awakes to Snow. BLISS!

bareboards2 says...

@coolhund @JustSaying

Not just CO2 production. Also use of fresh water resources. Polluted water from feces collection (and yes, conventional agriculture is polluting water with chemical runoff.) In places, the cutting down of rain forest to create areas for beef production. The huge overhang of methane over New Zealand from all the farting sheep (that would be part of the CO2 mentioned. But I can't pass up the opportunity to actually type "farting sheep.")

"Beautiful creatures" are in danger. Not just these.

And I do eat meat. And drive my car. And am a hypocrite.

3D Printing Stainless Steel with Giant Robot Arms

newtboy says...

Flux core would remove any slight oxidation between deposits on a continuous weld, or a media blast nozzle in front of the weld zone.
I agree with you if they intend to use it for load bearing structures, but it wouldn't be difficult. Just a loose seal around the work area and positive gas flow keeping oxygen out, problem solved.
The downside I see is cost. It's expensive to 'make metal' with a mig....or any welder. Electrodes/wire aren't cheap, and then there's the electricity. Bending or milling sheets, castings, or blocks is almost always going to be cheaper. This will be useful for designs that require complex interior shapes impossible to do conventionally, but not much else, imo.

Payback said:

There has to be a downside to weld-additive construction. They'd have to do this in a vacuum or inert gas filled chamber to avoid oxidisation between layers.

I know you can't weld aluminium like this. Aluminium Oxide has a much higher melting point than aluminium, which is the main point of failure with aluminium welding.

John Lewis advert parody (JOE)

Hillary's #1 aide Huma Abedin: Undeniable ties to terrorists

Drachen_Jager says...

Yes, let's talk about the imaginary connections between Clinton's aide (SHE HAS DARK SKIN, OMG RUN FOR THE HILLS!) instead of the very real connection between Trump and Putin.

For months now, Trump has been communicating in secret with one of Putin's closest confidants through a private e-mail server. (see Clinton's not the only one who has a private server, only now we KNOW most of what's on hers, and her server wasn't set up as a direct line to Moscow)

We also know that communication traffic between the two parties spiked during specific campaign moments (conventions, debates, campaign scandals breaking).

http://www.slate.com/articles/news_and_politics/cover_story/2016/10/was_a_server_registered_to_the_trump_organization_communicating_with_russia.html

John Oliver - New Email Probe

Drachen_Jager says...

Okay... Clinton did some questionable things.

Let's talk about Trump's e-mails

Evidence pointed to a Putin - Trump connection before, but now it's a lock.

http://www.slate.com/articles/news_and_politics/cover_story/2016/10/was_a_server_registered_to_the_trump_organization_communicating_with_russia.html

This article is long to explain all the technical details, but the upshot is that one of Putin's closest allies runs Alfa Bank. Alfa Bank has been communicating in secret with Trump during the course of the campaign. Traffic peaks during pivotal campaign moments (conventions, debates, scandals etc.) The server was set up in a way that one computer expert said was the way organized crime does it when two different groups want to collaborate in secret. Once the first findings were published on Reddit, the Trump server suddenly went offline.

A week later, a new Trump server came online and the very first communication from the Internet to that new server was from Alfa Bank. This cannot be random, the Trump server has an unpublished address, so only someone who knew the exact address could contact that server.

I think it's very clear Trump is receiving instructions from Moscow. Probably due to his huge debt load. Draw your own conclusions.

@bobknight33 do you REALLY want a Russian agent in the White House? That's the sort of rhetoric you applied to Clinton, but it turns out it's actually TRUE in Trump's case.

shagen454 (Member Profile)

Drachen_Jager says...

Evidence pointed to a Putin - Trump connection before, but now it's a lock.

http://www.slate.com/articles/news_and_politics/cover_story/2016/10/was_a_server_registered_to_the_trump_organization_communicating_with_russia.html

This article is long to explain all the technical details, but the upshot is that one of Putin's closest allies runs Alfa Bank. Alfa Bank has been communicating in secret with Trump during the course of the campaign. Traffic peaks during pivotal campaign moments (conventions, debates, scandals etc.) The server was set up in a way that one computer expert said was the way organized crime does it when two different groups want to collaborate in secret. Once the first findings were published on Reddit, the Trump server suddenly went offline.

A week later, a new Trump server came online and the very first communication from the Internet to that new server was from Alfa Bank. This cannot be random, the Trump server has an unpublished address, so only someone who knew the exact address could contact that server.

I think it's very clear Trump is receiving instructions from Moscow. Probably due to his huge debt load. I'd say with 99% confidence that Trump is acting as a Russian agent.

shagen454 said:

And here I was talking about Trump in a Black Mirror episode... if what you say is true and what they say about Russia being involved in manipulating & hacking the election - then it may be a literal real life Black Mirror episode if Russia hacks the election so that Trump wins.

Is Organic Food Worse For You?

drradon says...

Thank you... You noted the number of recalls of organic foods; would have been even more valuable with a comparison of proportional illnesses/deaths resulting from organic versus conventionally produced foods.



Send this Article to a Friend



Separate multiple emails with a comma (,); limit 5 recipients






Your email has been sent successfully!

Manage this Video in Your Playlists

Beggar's Canyon