amttc
A sigil value can work too if you absolutely need it. ex:
undef = {}
function isundef(val)
return undef == val
end
The sigil value is truthy and makes your code more convoluted, though. ex: if not val or isundef(val) then -- ...
So, :/. I do love the language though.I know people keep turning to hard data to try to explain the election. I think that's generally the right way to look at it. However, I think we all know people who have supported Trump. I feel like we should be sharing what they're thinking respectfully, even though it's feels more than likely many of his supporters would not reciprocate, however true or not true that may be. More viewpoints is better after all, right? They perceive us as aloof and disconnected from their problems. So, what do we do?
I don't want another election like this more than anyone else does, but it will happen again if something doesn't change. I have little faith in the protests ability to change people's minds. The people they need to talk to likely have never even been to the streets they're protesting on. All they're going to hear is that the protests in Oregon were deemed a riot and dispersed, and that will be that.
Within my family, not all voted for Trump, but most did and they come from different economic strata. So, I've seen multiple viewpoints on this. I think in order for me to understand the elections, I've made a separation between: 1.) economics, and 2.) race & culture. The people I know that voted for Trump might have responded to the dog whistling (can it really be called that when it's so unsubtle?). But, in their minds it's about 1. and not 2. I think when it comes to changing hearts, the only thing that matters is how you feel, so it's important to make that distinction. They don't see themselves as fomenting racial anxiety, even though the United States is inevitably becoming a more diverse place. They only care about the economy, and Trump made a point of opposing trade pacts that have hollowed away their traditional place in American society.
At home and at work, I feel like I occupy two totally different worlds that don't interact with each other at all. I come to work, and it's nice. It's a diverse workplace, people are kind, we're making money. It's nice. Then I go home and it's like 2008 is rumbling on. It really does feel to me like people don't humanize people they disagree with anymore because they filter their world through cable news & the internet. Maybe changing that might help change this?
But how do we do talk to them? To them it sounds like we're waiting for them to die off, which is profoundly insulting to them but also not true of us, or at least not of me. We aren't waiting for them to die off. To me, or us, it sounds like they're trying to turn back the clock on the progress we've made for a lot of people who have endured a lot of hurt. But to them, they're trying desperately to preserve a way of life. But the world is just changing around them. We're all uncertain about where we're going to from here.
So how do we talk to them about it? How do we make them not feel threatened? I'm really at a loss. I think it's hard for the left (or at least me) to appreciate how divergent our understanding of what constitutes racist/sexist behavior is from theirs too. What's unacceptable behavior to me is locker room talk or just crude humor to them. It's hard for me to not lose my temper about it. I'm not sure how to shrink the empathy gap between the two sides, but I don't see these conversations taking place, so somebody has to start, right? But how do we do it?
I know this is a difficult pill to swallow because it involves entreating people who frighten or even mean ill to our friends (or ourselves). I happen to be in a position of extreme privilege so this post is a little too easy for me to write. Consulting with people I disagree with presents no threat to me. Others definitely will not have that experience. I don't mean to suggest that people who feel at risk should try it. But I feel like there's not a whole lot of options available to me right now. I don't want my country to tear itself apart in two or four years from now. I'm really at a loss here as to what's the best way forward for everyone, and for the country.
I'm not too far into the program, but the courses I've seen are built around readings, projects, and Piazza (a student forum for us to talk to each other in). Piazza is where most of the interesting stuff happens. For my class, there's the professor but also 5-10 TAs who are swarming Piazza at most hours of the day responding to questions. Once a week, there are office hours for a couple hours hosted on Hangouts. There's your normal midterm and final exam, but the courses seem very much structured around deadlines rather than mandatory participation week to week.
It's been good thusfar.
Depending on how deep into the rabbit hole you want to go, reading the VM source code is instructive too (it's a pleasant read at ~10kloc. I'd actually recommend reading it on the website as they've hyperlinked much of the code.)
There's a lot of common things we all know that we take for granted that would make a world of difference for people so long ago.
Dynamic langs have lots of good qualities to them, but every tool has a drawback. Tests, documentation, good team dynamic, etc. hedge against some of the disadvantages of a dynamic language. They aren't a panacea.
Rarely, I'll be in a situation where I have to do a series of complex edits. At my old job if we were crunching, some of the people that were junior to me would look over my shoulder and see me rushing through a ton of different files to make them. I think if you're familiar with a tool/setup it's easy to do this, but it's not totally necessary.
This article in particular is funny. The writer suggests that we won't change the constitution. If the problem is that deeply rooted, what else could work but an amendment? Why not just change the rules of the game? I don't think there's a person I know who's happy with Congress, regardless of political party. I think it could work. All you need is enough people who agree, right?
edit: just in case you aren't inclined to read through, the article is about granting fathers paternity leave.
The thing about people using applications like Photoshop and Word is that they have established workflows that its users have come to expect. From a design perspective, they're pidgeonholed because any significant UI change means that they would have to retrain the vast majority of its users. So Adobe and MS make minor tweaks to its UI instead. Admittedly, MS made a big change with the ribbons ui element, but you get the picture.
Open source stuff has the advantage (I guess you could call it that) of having a much larger volume of new users and a much smaller volume of old users, so there's more room to experiment with different UIs to solve the problem of getting people to interact meaningfully with the programs. I'd say for the vast majority of the projects, the UI is an afterthought so it ends up being poorly designed. Even so, the opportunity is there.
The desktop is a little different though, there's already a load of user expectations that you have to live up to. The space for proposing solutions is a lot smaller. Riding on the coat tails of OSX may not be a bad idea so long as the developers understand the reasons why Mac made the design decisions that they did and adjust accordingly.
At least that's how I feel. Trying to innovate isn't a bad thing, it has to lead to failure first before you get it right.
I don't see what's wrong with saying that an educational book that has misinformation in it should be avoided on Amazon. With other things it might be more open to opinion, but if whole swathes of a reference book are filled with errors, I don't see what's wrong with writing a negative review.