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 13y ago · link · parent

Not sure how the new OS performance is -- but all the requirements were significantly lowered as they push for cheaper & faster phones.

comment 13y ago · link · parent

As soon as I first used errcheck, I thought the exact same thing... "this should be included as warnings"

comment 13y ago · link · parent

Yeah... so far my Go stuff has had exceptional reliability, I verified I handled all error known conditions with errcheck (https://github.com/kisielk/errcheck) and just generally took the slow and plodding approach of handling everything explicitly. My app handles hundreds of thousands of concurrent connections, each one often using and/or spawning 4 or more goroutines.

comment 13y ago · link · parent

As someone who has shipped production software in both Erlang and Go. They are very different beasts. Regarding error handling, Go is far closer to C than Erlang. If Erlangs slogan is "let it fail" and gives you the power to avoid writing error handling for every single thing, Go's is "don't let it fail" ... and you really need to write error handlers for everything, reducing the "unexpected" footprint.

There is no real way to grab a goroutine from the outside and tell it what to do -- you have to use its channels, which if bad things have happened are probably broken.. there are some systems built that catch exceptions and send messages (this is from inside the goroutine of course) on the channel, but I haven't used them.

That might come across an unduly negative of Go, but Go has major upsides. Great tooling, easy to understand after a tiny amount of time, a culture of explicit (even at times non-DRY) code, amazing deploy model, and generally just very understandable even to newcomers.

comment 13y ago · link · parent

or vim in emacs: http://www.emacswiki.org/emacs/Evil

... I for one, look forward to running emacs in sublime, and in an eterm in emacs running vim, which will of course, be running subvim, full circle.

comment 13y ago · link · parent

I really wish some of these high resolution laptops came with equivalent high end video cards to drive that resolution ... shipping with a 750m rather than the 780m seems nuts, it is 2 to 3 times slower and when you got 5.5+ million pixels to drive...

comment 13y ago · link · parent

Umm, the 11" and 13" use the same keyboard -> http://blog.timecenter.com/content/uploads/2010/08/macbook-a...

comment 13y ago · link · parent

If you consider playing the consumer lottery and hoping you get purchased a viable strategy, then sure!

comment 13y ago · link · parent

Because debt that can't be discharged doesn't count!

comment 13y ago · link · parent

There are a hell of a lot more options. Also, Python and Java require runtimes just like Mono.

comment 13y ago · link · parent

Absolute drivel. It is a useless frame of reference in which one would have to sit on the fence on every mythical creature ever mentioned.

"possibilianism" would cover leprechauns equally as well as god. It would cover santa right along with god. Unicorns as well, the flying spaghetti monster, etc. It is beyond useless.

EDIT: Author also thinks "faith" should be taught in public schools. http://biologos.org/blog/science-religion-can-coexist-in-sch...

comment 13y ago · link · parent

... wanting Visual Basic doesn't make you a heretic, it just makes you aching for a foregone era a bit. Visual coding has been pushed for ... at least 30 years.

The thing you are looking for is all over the place, in various IDEs, in QT MOC, in literally DOZENS of VPL (Visual Programming Languages) and even to a lesser degree in UML (Unified Modeling Language). Since we have QT MOC in the mix, we could even through in ALL the meta compilation tools, which adds in hundreds of others.

What you want isn't so much unique, as already done and discarded. You end up with tightly bound IDEs and code, you end up with hard to manage binary nonsense, you end up with ridiculously hard peer review and change tracking.

As for tracking the "why" -- use any method you want -- my team uses -- story boards! They work perfect for software.

comment 13y ago · link · parent

... They get vaccines in Japan. I can't tell if your wording was AWFUL or you think people in Japan don't get vaccines.

comment 13y ago · link · parent

Yeah, me and you live in different worlds. When I am traveling, I am rolling from office to office. Generally plugs are available, but I am sick of lugging stuff around.

The ease of only having to leave my hotel room for a 4 item checklist (wallet, keys, phone, laptop) is great. I used to carry a huge Lenovo bag with everything I might need, replacement batteries, powertree to share power in case there were not enough, charger... nothing like making that slim and sexy X1 require 10 additional pounds of gear.

Additionally, and worth mentioning, I don't use laptops as desktop replacements (anymore)... they are just a portable computer until I can get back to my "real" computer. I would be a very unhappy guy if I had to work for a month nonstop on any laptop these days.

comment 13y ago · link · parent

Try building it out feature for feature. The way you build the X230 (at least on their site) is nickle-and-dime central. Default configuration lacks bluetooth, camera, and SSD just to name a few.

comment 13y ago · link · parent

Which configuration are you running? I tried the i5 and i7 with 9 cell and generally ended up in the 7-10 range, not the 13+ range, and that was on a brand spanking new battery not one year old one.

comment 13y ago · link · parent

The 1.3Ghz 13" crushes other portables in 3rd party battery tests, getting 12:51 on engadgets movie test (http://www.engadget.com/2013/06/13/macbook-air-review/). While being light and easy to tote.

It is more than just the processor, this is one place where Apple's sourcing and close hardware/software bonding really shows value.

For me, it was a bit of a game changer, because I can charge it at home like a cell phone rather than dragging around the power supply and cables in my bag like I used to.

Excluding special "sheet batteries" and other basically external batteries, there are only a handful of laptops that are in the ballpark, and they are all significantly more bulky.

Lenovo 9-Cell T430 and X230 beat it out battery wise (slightly), and the Dell E6430 and HP 2570p come close. Out of those, the only one near it weight wise and size is the X230 -- and with the 9 cell battery it is still over half a pound heavier (3.5 versus 2.9). Also, the X230 as configured to beat Apple is slower and $650 more.

comment 13y ago · link · parent

Being able to charge my laptop at night, and not worry about getting though the day is incredible. It is game changing, I absolutely wouldn't give up 3 to 4 hours of battery life for a better resolution, not even close.

Being able to do a full day of meetings, using the laptop all day (12+ hours of real use), and finish they day out at my hotel with 15%+ left is something I am not about to mess with.

comment 13y ago · link · parent

Yeah, unless they grow into team/project leads (where having a functional and working knowledge of every piece has value).

comment 13y ago · link · parent

Help documentation. I am honestly a little shocked by the length, I knew the docs were exceptional, but surprised by how long they are.

comment 13y ago · link · parent

... to be fair, lumping Erlang (millions of production hours in the real world for decades) with Haskell and Scala is a bit silly.

Erlang is battle tested in the field since the late 80's. It just happened that the market (high-reliability, clusterable, multicore systems) came to it so it started to get hype.

comment 13y ago · link · parent

You nailed exactly what I was going to say -- goes against studies.

I honestly wonder if he did a valid, anonymous questionnaire to his own employees what the result would be, I am guessing he would learn people HATE it.

comment 13y ago · link · parent

It is a known issue in that tier, and that tier is DAMNED pricey. Normally, I would make a snarky comment about Python, but it is early.

comment 13y ago · link · parent

> So why make them verify?

To prove they control that email address, to ensure they didn't put it in wrong, and to protect poor bastards like myself with common email addresses from getting SPAMMED with mail for idiots who don't know their own email address.

----

Seriously, as someone with a VeryCommonName@gmail.com -- I nearly everyday get dozens of emails from services that do not verify addresses. AT&T, Boost, Netflix, and many more.

At will I can reset these peoples passwords, delete accounts, upgrade/downgrade services, and do much more. There are too many for me to constantly deal with them, and the root cause is this idiotic authors recommendation.

What we need is the exact opposite, we need EVERYONE doing verification of email ownership before sending mail to that account -- else it is borderline spam and harassment.

I am in AWE of how spectacularly the author missed the point.

comment 13y ago · link · parent

This is basically your solution: http://imgur.com/YNmKId9

PHB: Use the CRS database to size that market.

Dilbert: That data is wrong.

PHB: Then use the SIBS database.

Dilbert: That data is also wrong.

PHB: Can you average them?

Dilbert: Sure. I can multiply them too.

-----

I kid (sorta). It misses the core issue, why are developers estimates so terrible, 3 terrible estimates don't make a "good" one.

The post hits on some of the points, but IMHO misses a major one. Estimations are based on experience, yet developers are constantly building brand new types of products. If all you built was "blog engines" over and over again, you would get damned good at estimating them. The trick in software is as soon as something needs to be reused over and over again, it is abstracted, put in a library, built into a framework, so you can make your product different (read: build something entirely new) -- and EVERYONE sucks at estimating the cost of building things entirely new.

Think of the (entirely new in 1962) Lunar Module... they thought it would cost at max 350 million. It cost 2.2 billion. Those where very smart people with a major stake in getting the initial number right, but it was just a crazy ass guess because they had NEVER BUILT ONE BEFORE.

comment 13y ago · link · parent

Not really a work-around, even with great native thread support and tooling as you dream of (and don't get me wrong, I am all for it), ultra-light "goroutines" or "erlang processes" fit a different niche, you are never going to spin up 3+ million OS threads, you absolutely can (and do) in the ultra-light process space.

comment 13y ago · link · parent

Same guy who soundproofed his apartment and doesn't even want a doorman.

comment 13y ago · link · parent

The truth is, Vim gives you lovely model editing and full use of the mouse, it isn't either or, you get both! ":set mouse=a" and you can use it like you probably expect, select stuff, move around the file, use your scroll-wheel, etc.

Remember with no .vimrc vim defaults to vi emulation mode for historical reasons. ":set nocompatible" to fix that, compatible mode turns off a lot of the wonderful Vim features us Vimmers have come to love.

> * I am moving the cursor, but I want to enter text. To do so, I need to enter colon, i, Enter, then my first text entry.

... you can enter insert mode a variety of ways, i, I, o, O, a, A, etc -- each has a specific meaning.

> * I am entering text, but I want to move the cursor. To do so, I need to type Esc, Esc, then commence moving the cursor.

... you just hit escape to go back to normal mode, which generally pay dividends on that single keypress with an better group of movement keys (move by word, sentence, paragraph, tag, search, etc). Or just use the mouse (works perfectly well, doesn't even change the mode, set mouse=a)! If you are in insert mode, you remain in it, same for normal mode!

> * If while entering text, I want to do something besides move the cursor, I need to type Esc, colon, then a command letter, then its arguments.

... actually, vims insert mode has many features for editing without leaving it for convenience, C-W, C-U, C-J, C-M, C-N, C-P, C-R and a bunch more for deleting words, lines, interacting with registers, etc.

> No, in any other modern editor, I wold pass the mouse cursor across the desired characters

Sure, and you can do that in vim (console or gui, works in both with mouse=a), but some of us (myself included) consider this an inferior way to select 3 words via sloppy indirect abstracted pixel pointing. Not to mention pulling your hands off the keyboard... to the mouse, then back again re-seating to continue typing. Mice are for FPS games, not selecting text!

EDIT: Even if Vim someday dies (decades from now maybe), modes have spread, I use modes in Word, Outlook, Visual Studio, Xcode, Sublime, Eclipse, Firefox, Chrome even on my ZSH prompt. Once you get used to modes based editing, it is an amazing addition to any editor or GUI, and people keep creating plugins so Vim mode lives on! Editing text hasn't change radially, because text hasn't changed radically... the reason emacs and vim live on is because of fitness for the task at hand, editing text.

1
131415
24