Better HN
topnewbestaskshowjobs
Log inSign up

MetaCosm

1,665 karma · joined Aug 6, 2011 (15y ago) · 708 submissions

[ my public key: https://keybase.io/robertmeta; my proof: https://keybase.io/robertmeta/sigs/UgvPNSEcpGbldHtQnQ_-c8SyRvBKjKTr_CLh0lpK0h0 ]
Submissions

comment 12y ago · link · parent

Change 6 months to 6 days -- and agreed. Go has a 50 page SPEC -- the language fits in your head.

comment 12y ago · link · parent

Exactly -- I worked on IMAP related nonsense for about 18 months -- it is a special, broken type of hell.

comment 12y ago · link · parent

Dependently typed programming already rocks my world -- but not my job.

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

To be fair, "babel" isn't really a unique emacs term. It had a meanings outside of emacs, and a movie... and multiple albums... and a book... and the open babel chemical project... and the python internationalization library...

Maybe it was confusing already?

comment 12y ago · link · parent

Yep. Asking a developer about style/formatting is an amazing filter if you have a lot of candidates... the answers I am looking for include "the language / platform standard", "the overwhelming most popular standard". The answers I have gotten have been nothing short of insane at times. I had a guy explain to me for almost 25 minutes why HIS system is UNIVERSALLY applicable to our code base, from C and C++ (multi platform) to Python to Makefiles...

comment 12y ago · link · parent

The arguments against Soylent that compare it to some perfect diet are just obnoxious and disingenuous. McDonalds feeds 68+ million human beings A DAY... just McDonalds.

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 on unparalleled flexibility. Why limit your self to one set of flow control operators when you can have two! Also, lets make one break out of another one at any point of exception! The flexibility is endless!

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 wouldn't say "more reliable" -- I would say "easier to reason about". Errors are just another returned variable, nothing more, nothing less. Go doesn't encourage tracking two independent flow control sets -- one for exception flow, and one for normal program flow. I have seen all sorts of complex nastiness created via the multiple flow control sets in Java.

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

I love (don't use, but love) editors like this -- that push at some boundaries and rather than having that push be some "side feature" or "addon" -- is the core part of the editor.

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

http://labix.org/gopkg.in is a rather good solution for distributing libraries with transitive dependencies. It requires critical mass for it to really take off, but the level of effort is extremely low for implementation (make a branch on github, don't break it... done!). I think this low level of effort is really important, as I have been able to simply poke authors of my favorite packages for support, and had it in a day or so.

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

Still, IMHO, nice to split them out -- so they don't stomp on each other or do other silly things. Same reason it is nice (but not memory efficient) that Chrome does this... individual processes are safe and sane.

comment 12y ago · link · parent

Thanks for the link to Gocraft, cool stuff.

comment 12y ago · link · parent

You misunderstand. There is no optimizing, he built a non-idiomatic library that people love. It has pros and cons -- he is going to maintain it. There is no "fixing" it -- what makes people love it is it being NON-IDIOMATIC.

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

It is really excellent if you will actually use the pen. I love pen input (I have a Note III and a Surface 2). I love using Hyper-V -- which seems much faster than VirtualBox (on Windows).

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

So, motorcycles -- specifically the fast and light ones... they have the same field of view, they have similar seating, and they are "far more invested in avoiding collisions" -- they are significantly less massive and travel at much faster speeds and are more nimble and therefore able to avoid collisions in tight traffic. They would get their own rules too right?

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

Since I am hardly ever a pedestrian, I really didn't give consideration to what a horror the lack of standard behavior of bikes would be for people on foot.

You have literally been collided with by a guy on a bike?

comment 12y ago · link · parent

Also, filtering (lane splitting, white lining, etc) is often ticketed as reckless or some peer of it (on a motorcycle). While it often doesn't have its own designation -- if you are caught, you go home with a HELL of a ticket.

comment 12y ago · link · parent

DC - 2004 (when I was deeply involved in statistics for DC, crime and otherwise) cyclists where found at fault for the majority (only slightly) of accidents they where involved in: http://www.washingtonpost.com/opinions/bicyclists-are-welcom...

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

Wow, that is damning for RTOR. Makes intuitive sense, but damn.

comment 12y ago · link · parent

> However, in traffic scenarios, I tend to fairly studiously adhere to the rules of the road. Why? Predictability...

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

Your underlying assumption (which is unfounded as it turns out) is that drivers are (you imply always, maybe you meant majority... both are wrong) at fault. Bicyclists are often found as the CAUSE of accidents due to erratic (and illegal) road behavior, leading to a finding of no-fault on the driver.

comment 12y ago · link · parent

1. It isn't a "limitation" of bicycles -- it is "inconvenient". They don't WANT to come to a full stop because it is annoying -- it is annoying for me too, I still do it.

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

I regularly ride my motorcycle, and drive my car in DC. I am terrified of cyclists because their behavior follows NO norms. Some follow traffic signals, some don't. Some ride in the center of lane, some ride the edge of the rode, some ride on sidewalks in with pedestrians. The scariest do all three out of what I can only assume is fearlessness and insanity.

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

Yep. Give me something built on msys anyday.

comment 12y ago · link · parent

That isn't really true, and a lot of adults learn this if they got into trouble as kids. The juvenile system has a bent towards privacy, but that is all it is -- a bent.

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

.doc(x) != word. For example, I really like http://www.abisource.com/ on desktops.

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

They made the process of paying for the software a laborious pain in the ass. They are desperately trying to extract money from those who can pay, which sadly drives away those who can pay but don't want an involved process.

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.

1
678
24