939 karma · joined Aug 1, 2017 (9y ago) · 968 submissions
comment 9y ago · link · parent
In FP, you will have an immutable variable for state instead of a mutable variable wrapped in a lock. You will be passing a whole new immutable state variable to a pure side effect free function every time, and won't have to worry about getting a lock and releasing it explicitly (these would be side effects). As long as the state is immutable and synced across threads, actors in any thread can just plot their next actions using that state.
In imperative programming, like I said, you'll have to explicitly get and release locks to make sure two actors don't occupy the same spot.
So, if you use atomic immutable variables with pure functions, and the logic in your actors can be conflict free, you can have horizontal scalability across as many cores as you want pretty easily. If your actors cannot be conflict free, you will need to wrap a lock of your choice in a monad and use that, but you will still have gained better debugging, testing and maintainability by using FP.
Now if only every zero-cost OO abstraction had a straight forward FP alternative that was also zero-cost, we'd all be doing FP as of yesterday.
comment 9y ago · link · parent
Off course, you'll have to hire or train FPers as he mentions.
comment 9y ago · link · parent
Timing is harder to get right when everything is async, but if your game design is good, you just need to better implement it to get it right frame by frame. He also talks about having monads to handle things like this.
comment 9y ago · link · parent
This is what this statement is about: https://www.nytimes.com/2017/08/17/nyregion/aclu-free-speech...
comment 9y ago · link · parent
Would like to see a conversation between Sid Meier and Carmack, the modern Civ engines seem to have made some strides in stability methinks.
comment 9y ago · link · parent
https://acluva.org/20108/aclu-of-virginia-response-to-govern...
https://www.nytimes.com/2017/08/17/opinion/aclu-first-amendm...
https://www.aclu.org/blog/free-speech/equality-justice-and-f...
comment 9y ago · link · parent
Trump is being sued for inciting violence as well: http://www.slate.com/articles/news_and_politics/jurisprudenc...
Inciting violence should be a clear line, and I'm glad the ACLU of California is making it clear that it is. As far as past cases go, this doesn't seem to be contradictory or different, but I don't know if it is.
comment 9y ago · link · parent
These issues probably affected presidential democratic turnout in these states as much as any other issue affecting the statewide or national campaigns. Also, millennial turnout was down from 2012 according to exit polls. Not sure how much to believe exit polls. Total turnout was up by little in MI and PA in 2016 compared to 2012, and it was down in WI.
https://www.nytimes.com/interactive/2016/11/08/us/politics/e...
https://en.wikipedia.org/wiki/United_States_presidential_ele...
https://en.wikipedia.org/wiki/United_States_presidential_ele...
comment 9y ago · link · parent
In all three cases, the difference between Hillary and Trump was less than what the 3rd party candidates got and what Jill Stein alone got. Given what I've said before, and what happened in 2000 in FL, trying to convince people of actually voting for their 2nd preference (Hillary) or vote trading in such states makes almost as much sense as blaming the Clinton campaign itself (definitely deserves the most blame), Russia, and any number of other reasons why Hillary lost.
It's a part of the puzzle, again, given that this is the 2nd time this happened.
comment 9y ago · link · parent
You're ignoring that Trump on the ballot meant any Libertarian was going to get a bump. Any other republican, and their winning margin would've been bigger, or Hillary would've won and we wouldn't be having this conversation.
It shouldn't have been close, but the last few elections have been, with the popular vote winner losing the electoral college twice and Kerry coming within ~30 EVs. Do you have a solution for divided media, inequality, climate change, and citizens united, that is simpler than vote trading or making people realize voting for their 2nd preference might just be worth it to hack the electoral college? I'd love to hear it.
comment 9y ago · link · parent
Percentage increase is less relevant with Trump on the ballot, compared with the raw votes that swung the electoral college.
I am not saying don't vote for 3rd parties. I am saying if you're in a non-safe state for your 2nd preference, do vote trading with someone in a safe state or vote for your 2nd preference who has a better chance of winning. If you vote trade, your 3rd party candidate will still get the same percentage of votes nationwide, and your 2nd preference will actually win.
The combination of mass incarceration, the racist electoral college as it is, and the the demographics of the country make it seem likely that some pragmatic and tactical voting in non-safe states will go a long way for Democrats, at least that seems to be the lesson from the past two decades. Hacking the electoral college anyone?
comment 9y ago · link · parent
Again, I am not saying that don't vote for 3rd party candidates anywhere.
There is no equivalence between Trump and Hillary, and if Voting for Hillary in a non-safe or safe state would have been a wasted vote, pity the 65 million who voted for her.
comment 9y ago · link · parent
http://www.salon.com/2016/12/15/the-electoral-college-born-o...
Also, if a democratic candidate is your 2nd preference, and you're in a non-safe state, and you don't trust vote trading, you should most likely not vote for a spoiler candidate, and vote for your 2nd preference democratic candidate. If a democrat isn't your 2nd preference, go ahead, do what you want.
The mechanics of the electoral college make this much pragmatism and tactical voting necessary for any American voter I'm afraid.
comment 9y ago · link · parent
No excuse to not do it until the electoral college is abolished.
comment 9y ago · link · parent
These 3rd party voters could have abstained or voted for another 3rd party or went Republican, but they didn't. They could have traded their vote to someone in a safe state (https://www.nytimes.com/2016/09/16/opinion/anti-trump-republ...), if Hillary was their 2nd preference. If not, go ahead, vote for 3rd party candidate who could be a spoiler and has no chance of winning.
comment 9y ago · link · parent
3rd party candidates in FL in 2000 and MI, PA, and WI in 2016 were the spoilers for the whole nation. Don't be an idealistic, naive American voter, be a pragmatic voter!
Yes I know the electoral college is racist, and we need to abolish it.
comment 9y ago · link · parent
1) Russia's history when it comes to election meddling and spreading dis-information speaks for itself, yes the US does it too, but the Russia is on another level (Every eastern European country has been a public target from the same groups).
2) Russia had a lot more to fear from Hillary than Trump. The sanctions and military ratcheting would likely be more in force than it is now under Trump and a dysfunctional congress. Hillary was a known hawk on Russia, compared with Manafort/Flynn on Russia.
3) Putin himself said "some patriotic Russians might have done stuff" like sending phishing emails.
When Russia faced the lemon of a Hillary administration, they made lemonade. Arguably, it wasn't that hard and paid for itself. We as the voting public knew most of this before the election, including partly about Trump's intent of collusion and possibly collusion, and voted the way we did anyway.
Assange is kind of irrelevant, he has always had his own motives, and it's pretty clearly being anti-US. Offering Damore a job with wikileaks, really?
comment 9y ago · link · parent
comment 9y ago · link · parent
Which is the bigger market? Solar or cars? They might both be similar sized, but demand for solar sure would have been helped by having the Model 3 on the road. Hope the acquisition doesn't hold Tesla back, like most of the market thought at the time.