Yeah, I wish Lua hadn't taken undefined and nil to be the same thing given the way tables work in it. Most of the time it doesn't matter, thankfully. Sometimes you bump into it.
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:
I agree with this, mostly. I feel that Trump's campaign has already damaged the country in a very profound way that will take years for us to recover from as a people. But, I don't see Trump suddenly being the adult in the room given how he ran his campaign. At the very least, the tone has made people talking to each other very difficult.
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 an OMSCS student. Udacity is fine. It serves its purpose. Sometimes it looks like the poor instructors are getting a double whammy of Georgia heat and hot spotlights, but the lectures are pretty high quality.
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.
Also an OMSCS student. Funny. On my iPad, it's less than straightforward to use Udacity on the website, and I've never been able to get the mobile app for the GT login. I have my IOS course bookmarked so I can watch the lectures on my tablet.
The people who Fox News caters to the most are suburbanites. Most people way out here are lukewarm on Fox News. They're just... different. They agree with some things that I imagine would be popular in big coastal cities, but disagree with other things that might surprise you, so.
Hey! I really love Lua. I'd recommend reading Programming in Lua (whatever the latest edition is) and Lua Programming Gems. Unfortunately, Lua is one of those languages that isn't written about a lot because its use case is usually for embedding. You'll have to do some legwork to read how other people write Lua. You probably want to read a lot of code on Github. Olivine Labs springs to mind here as an org that uses Lua quite a bit, but there are more. I got off the Lua train at 5.1, but 5.3 adds a lot of niceties.
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.)
Yeah, I agree. I use emacs avidly. I still think for editing raw text it's a fairly nice experience. I like a lot of the features in emacs but I rarely need some of the more advanced ones. In order to leverage them, you need some highly specific use cases. Maybe my brain-meats aren't as myelinated as others, but most people don't want or need the universal pocket knife.
I don't think he would build a computer. 10k years ago was before writing. I imagine if anyone were transported that far back they'd want to focus on the stuff that has a huge impact (hygiene, food, basic medicine, potable water, writing, architecture, etc.) for the people at that time period.
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.
I'm from the South and hear this all the time. I have no idea how many people are actually descended from the Cherokee (they were one of the larger groups in the South). I have a different crackpot theory. Historically, admitting you were less than 100% white was a dicey proposition. Sometimes I wonder if there aren't actually a larger than obvious percentage of people who have Native ancestors, but since they were assimilated, their descendants are only dimly aware of it and use "Cherokee" as a catch-all for saying they have some Native American blood in them. I'm sure some people are getting confused or just retelling tales passed down, but the South did have a lot of Native Americans in it. Has anyone researched this?
This is interesting. Is there anyone who has worked in companies like this willing to talk about how it ends up working out? I've never been in sales but I've never heard of companies not implementing commission.
As much as I love dynamic languages, I have to disagree friend. :( Static typing confers more benefits than just enforcing a self-documenting type check on your code. It adds a level of expressiveness about datatypes to match the expressiveness of the algorithm itself. This is especially true in languages like SML or Haskell where the type system lets you describe the data you're working with in a pretty precise way.
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.
For me, at least, it's not so much a "raw LOC output" thing as it is a comfort thing. When I go back to IDEs or text editors that aren't Emacs, even though I can be productive there are lots of movements and tricks that I miss. It's less time spent text editing and more time spent looking, reading, and thinking.
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.
When I'm out with friends and we order a larger bottle of beer (like chimay) or get a pitcher the person who grabs the pitcher usually pours for others before themselves. It's pretty informal though, other times we just pass the pitcher around and wait for everyone to get their drink before starting. I'm in the southeast, not sure what the manners are like for the rest of the country.
Yeah, that part of the article I feel is off. I've never been on a retreat but I do sit. It's definitely an experience that I think people should try, but it doesn't really bear any resemblance to a trip (at least for me). It's more like turning a magnifying glass on how I make thoughts.
Yeah, this is a pet peeve of mine. As far as I know, right now it's structurally impossible to have Congress make real reform, or even legislate effectively. There have been a string of these "inside" articles from staffers and congressmen themselves. They all have the same tone: money ruins politics, partisan politics ruins legislation, lobbyists steer the wheel more than the people, congressmen don't spend enough time with each other so they see each other as enemies, and so on.
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?
There's no good way to easily gauge scheme with this site. At first I typed in "scheme programming language" and came up with 250 results, "scheme lisp" provided something slightly more relevant, but with only 45. I didn't scroll through, but even then they were only asking for people with experience in scheme (among other languages that aren't de jour, like smalltalk).
I think what all of these articles point to is that it's expensive or time consuming to raise kids, so people simply don't have them. It seems like the key to raising fertility rates is just to provide a good environment for parents to have them in, like giving leave to new parents and giving tax incentives or stipends to those who do. Then again, its probably more complex than this.
A sigil value can work too if you absolutely need it. ex:
The sigil value is truthy and makes your code more convoluted, though. ex:
So, :/. I do love the language though.