1,665 karma · joined Aug 6, 2011 (15y ago) · 708 submissions
comment 12y ago · link · parent
I enjoy Haskell.... as a hobby. Whenever I am playing with it -- I distinctly understand that "it" is the point. The focus is squarely on the language and the programmers. I absolutely think this has a place, and I am delighted it exists. I remember the ... purity of my first little chess engine I wrote in it -- how it itched the OCD spot in my brain so perfectly, it made me exceptionally happy.
That said, when I am programming "in the wild"... the language is almost never the point. The application is the point, the library is the point, the problem domain is the point, the user is the point. Cleverness matters little, often what needs to be done is obvious and tedious. The biggest problems tend to be maintenance in every sense of the word... how to you maintain this if you are successful (multiple data centers, dozens of employees). How do you avoid rewriting everything at each major growth spike.
This means I use boring dependable imperative languages for what I bet my business (start-up) and future on -- and I spend my hobby time using far sexy functional languages... but I don't confuse my love for them with thinking they are a good fit for my business.
comment 12y ago · link · parent
comment 12y ago · link · parent
If there is a solution that is convenient, simple, healthier cost-effective replacement for fast food calories, I am all for it.
comment 12y ago · link · parent
You are 100% right, it is terrifyingly flexible. There is a reason exceptions as flow control is considered an anti-pattern.
comment 12y ago · link · parent
I write server code the runs for long periods of time, the amount of times I want to blow up and get a stack trace is exceptional low, only when continuing to run is more harmful than having the service completely down.
As for just wanting it to blow up -- just ignore the error handling, it will blow up. Instead of putting the error in a variable, just throw it away using _ ... and the next dependent thing will blow up. Not very elegant, but it will remove all the boilerplate you don't like, and it will crash hard like you do like... alternatively write a crashOnError(err error) function and call that passing in error -- and all it has to do is if (err != nil) { panic(err) }
comment 12y ago · link · parent
An older editor that I thought was amazing was Acme (http://en.wikipedia.org/wiki/Acme_%28text_editor%29) -- the famous plan 9 editor. http://youtu.be/dP1xVpMPn8M is a Tour of Acme, some really cool features are built into it. Any text is a command.
comment 12y ago · link · parent
As for an internal project (non-distributed) I think vendoring is the solution everyone who is sane has always been using, why would you risk you project on a random guy deciding he wants to delete his github account.
comment 12y ago · link · parent
ADDITIONALLY -- he has built something that is idiomatic and looks to solve the same problem set as the original tool. This is a "have your cake and eat it too" situation.
comment 12y ago · link · parent
I went through like 7 devices prior to sticking with this one -- Macbook Air and Pro, Asus Transformer, X301, Pixel ... and others. None of them had all the things I wanted in one place... the Surface 2 is just about a perfect fit for me.
I doodle on it (pressure sensitive pen is AWESOME), I take hand written notes, I run Ubuntu and CentOS in Hyper-V for work stuff, I run Visual Studio, I play League of Legends (1080p mid-low settings) and it is just my go-to device when I am not on my desktop.
I purchased it on a complete lark -- just to have one, and it is quickly become my go to device when traveling. It is a machine of compromises... it has a "good" screen, it has "good" battery life, it has "good" performance, it has "good" pen input, it has a "good" weight. Not exceptional in any category, but if you want something that places in all of them -- it is perfect.
comment 12y ago · link · parent
Seems we need AT LEAST 3 sets of rules. One for slow bicycles, one for fast motorcycles and one for cars? What other separate rule-sets should we have on the road?
comment 12y ago · link · parent
It is my understanding that a new study is underway to see how Capitol Bikeshare (2500+ bikes rented from like little bike vending machines) has impacted this number (very new). Nothing will be publicly released for another year or so, but I suspect the outcome will be a much higher "at fault" rate for unskilled tourist bicyclists making that number even more skewed.
EDIT: Additionally, from reading this thread, it seems like cyclists who don't follow road rules are also a terror for pedestrians.
comment 12y ago · link · parent
As a driver, THANK YOU! This is the #1 problem with bicyclists, predictability. I drive in DC and I have literally NO IDEA what the hell a bicyclist is going to do -- which makes them little road terrorists to me.
I have watched a rented bike (in DC) ride from pedestrian walkway -- onto street (along side) -- into middle of road, then slow down and ride through a red light -- then stop at the next red light. This was inside of 2 minutes. Very scary from a driver perspective.
comment 12y ago · link · parent
comment 12y ago · link · parent
2. Absolutely, this is a HUGE part of it -- bicyclists need to start getting FULL FLIGHT tickets for blowing stop signs and such. Few $150 dollar tickets might get them to stop. Policy departments generally hate dealing with bicyclists for tickets, and this needs to be rectified.
I am OPPOSED to TWO SETS OF RULES. It seems insane to retrain the entire population that bicyclists do X at stop signs while you do Y. At a red light, bicyclists do X and you do Y. I think this will amplify confusion and danger.
comment 12y ago · link · parent
This lack of "normal" behavior is very scary for people in cars and even on motorcycles. We don't want to kill bicyclists! Bicyclists make up 2% of road fatalities in DC, vastly disproportionate to their numbers.
I think for all involved, the cyclists need to become more normalized and less random. Standardizing the (IMHO) bad behavior doesn't seem like the right(tm) answer.
The article has this insane circular logic, "because bicyclists already break the law a bunch, it should be made the law" -- rather than how we deal with it in other spaces "time to crack down on people who break the law". The result is the same, normalized behavior. The author wants to normalize to TWO sets of rules, one for bicyclists -- one for everyone else (so everyone has to know TWO sets of rules) -- I want to normalize to ONE set of rules, the current rules of the road, so everyone can follow ONE set of rules -- and punish bicyclists for NOT FOLLOWING THE LAW. I believe this will be safer for everyone, both in the short term and the long term.
comment 12y ago · link · parent
You can either have your juvenile record "sealed" or "expunged" but neither is automatic.
Asking for your records to be sealed is possible a number of years after the conviction dependent on location. In most places it is 3 years of no offenses except minor traffic violations and you can request getting juvenile records sealed.
Asking for expungement is much more restricted and not even available in most locations. In the rare places expungement is possible it is a long and involved process.
Now, here is what sucks more -- getting your records sealed may seem like the obvious choice -- you don't want that shoplifting thing following you around. But, if someone pulls your record and sees "sealed" they are likely going to think you did something FAR worse than shoplifting.
Additionally, sealed records don't mean "from everyone forever" -- those suckers can pop up in adult trials if they fit a pattern, if they should apply to sentencing or just if the judge thinks they should.
Don't fuck up too much when you are kid, it will haunt you.
comment 12y ago · link · parent
Having the ability to open .doc(x) files IS standard, Microsoft Word is not. Lucky we got OpenOffice, LibreOffice, AbiSource and tons of other open source, freeware, shareware, commercial off the shelf software to open .doc(x) on every imaginable platform.
EDIT: I prefer text, because I am a vimmer, but accept opening (and often sending) .docx is a part of the requirements that I can't control.
comment 12y ago · link · parent
I have worked at lots of companies where I had a monthly budget of 10k+ that I could spend on whatever I wanted, but if I wanted any sort of complex deal (can't just put on CC with a line item) -- had to bring in legal and other groups -- instantly killed any interest.
"Licensing is based on the data needed (e.g. all of it vs subset), how it is used (e.g. internal only, external, product integration), etc."
What a goddamn horror show. I simply want a product, I want to pay for it, and I want to use it. Turning on Dropbox for Business was a decision made in about 5 minutes... "You all like it, already using it, awesome! I will get team setup." -- 5 minute later I had given Dropbox $3800.
I really think they are getting in their own way for no benefit. They have created a very high barrier to EVEN HAVING A DISCUSSION about buying the product. So, if I don't know exactly how will use it -- I can't purchase it. Stupidity.