Better HN
topnewbestaskshowjobs
Log inSign up

SloopJon

2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions

Submissions

comment 10y ago · link · parent

One of the things the article mentions is that marijuana is almost exclusively a cash business, due to federal law. As a Colorado lawyer explained it, most of that cash tends to stay in the state. Lawyers, accountants, construction, what have you--mostly local, and mostly paid in cash.

comment 10y ago · link · parent

For those who were wondering what strong mode is, this is a post to the Strengthening JS group, which for discussion of "strong mode and type system extensions that the V8 team is working on."

Strong mode is "a new language mode (an extension of strict mode) that implements a stronger semantics by removing brittle or costly features."

https://developers.google.com/v8/experiments

The conclusion is that "we have reluctantly decided not to pursue strong mode further."

comment 10y ago · link · parent

I don't know about ASP.NET Core, but I couldn't get .NET Core to work on my Mac. I installed the "official PKG." I then ran `dotnet restore` for a project I was trying to run (https://github.com/atemerev/skynet). It downloaded a couple hundred packages, then failed with an error like, "there is no run-time assembly compatible with osx.10.9-x64." I guess it requires a newer version of OS X, but neglects to check at install time.

I continue to use Mono and Xamarin Studio, although I'm stuck on an old version of Xamarin for now because I'm using Mavericks. At some point, I'd like to try OmniSharp with Emacs.

comment 10y ago · link · parent

When I signed up for Comcast in my current house about eight years ago, it was no trouble to get a multi-stream CableCARD for a TiVo HD.

When it died a few weeks ago, I replaced it with another TiVo. Same card worked fine for the non-premium channels that I get. I discovered that I can even watch on-demand shows now after pairing the card over the phone.

I had no idea that set-top box rental fees are so high. Makes the $600 I paid for a Roamio Pro with lifetime service seem quite reasonable.

One thing I'm annoyed about is that Comcast now encrypts even local broadcast channels, so the tuner in the television itself is useless.

comment 10y ago · link · parent

I read a lot of computer books after college, many of which Ed wrote, edited, or wrote the foreword for. As a fan of Code Complete and its book recommendations, I suggested that Ed add it to his own list of "cool books." He replied promptly and agreed.

Although I didn't read it from cover to cover, the chapters I read from a borrowed copy of Structured Design on coupling and cohesion had a big impact on me.

comment 10y ago · link · parent

Here's a discussion of the original upload of Hacker News data to Google BigQuery:

https://news.ycombinator.com/item?id=10440502

At 4 GB, I'd just as soon query this locally, but this looks like a fun exercise.

I notice that there were 10,729 distinct ASINs out of 15,583 Amazon links in 8,399,417 comments. Since I don't generally (ever?) post Amazon links, I'd be interested in expanding on this in two ways.

First, I'd reduce/eliminate the weight of repeated links to the same book by the same commenter.

Second, I'd search for references to the linked books that aren't Amazon links. Someone links to Code Complete? Add it to the list. In a second pass, increment its count every time you see "Code Complete," whether it's in a link or not.

comment 10y ago · link · parent

I was looking for these types of sources this week to populate a document database. One I ended up using for a demonstration was the "startup company information" hosted at http://jsonstudio.com/resources/ (apparently an extract from CrunchBase, mentioned in Jen's blog post).

I naively thought I could just grab a pile of tweets or something, but most public APIs require registration as a developer.

One quick tip, if you're dealing with JSON dumps as a series of objects (e.g., {} {} {}) that you want to wrap in an array (e.g., [{}, {}, {}]), is to "slurp" them into jq (https://stedolan.github.io/jq/):

    $ jq -s '.' companies.json > companies-array.json

comment 10y ago · link · parent

I couldn't reach the linked article, but it's about 74 years combined since 2012, as summarized by this Reddit post:

https://www.reddit.com/r/news/comments/418h2r/iceland_senten...

Longest term was six years.

comment 10y ago · link · parent

Pull request, I assume.

comment 10y ago · link · parent

When you're done with The C Programming Language, read Expert C Programming, C Traps and Pitfalls, and The C Puzzle Book. Then tell me how simple C is.

comment 10y ago · link · parent

I use Xamarin for Mac to write tests for a database client API, which I run with Mono for Linux using Jenkins.

Not having used Visual Studio enough to compare thoroughly, Xamarin's not bad. I use Eclipse when writing a parallel set of tests for Java, and I generally prefer Xamarin to Eclipse.

One minor complaint is that Xamarin quietly increased the system requirements from OS X 10.9 to 10.0, so I'm stuck with an old version.

The idea of using a C# IDE written in Java seems a bit weird, but I might give it a shot. I'd also consider hooking up Emacs to OmniSharp.

comment 10y ago · link · parent

The linked PDF describes a group project from the fall 2014 term of CS262a, a graduate computer science class. Here's the full list of papers, with links to more information about the class:

https://www.cs.berkeley.edu/~kubitron/courses/cs262a-F14/ind...

comment 10y ago · link · parent

thegeekpirate mentioned in the "Why I Love Rust" discussion that TIOBE filters out false positives for Go by only matching it along with "Google":

https://news.ycombinator.com/item?id=10863654

comment 10y ago · link · parent

The "who pays you" FUD reminds me of the subpoena Personal Audio sought for a list of EFF donors in the podcasting patent case. The EFF is not a front for your competitors. People really care about this stuff.

comment 10y ago · link · parent

I just upgraded my father-in-law's mid-2010 MBP from 4 GB to 8 GB, and replaced the HDD with a SSD. Total cost was about $150. Should be good for another couple of years at least, if it holds up, although battery replacement looks a bit trickier.

Meanwhile, my late-2010 MBA is stuck at 4 GB, and battery replacement looks even more difficult.

comment 10y ago · link · parent

Last commit was in April, with a couple of unanswered issues (including one from the submitter) asking whether the project is still under development. Also, not sure what the license is for this.

The first thing this reminded me of is Concord, Dave Winer's outliner:

https://github.com/scripting/concord

I've had that sitting in a tab since I read about it on Hacker News a year or two ago. Unfortunately, it doesn't seem to have been updated since.

comment 11y ago · link · parent

The article also notes that the essay has been picked up by a publisher (now available on Amazon for $5 - $8), so I presume this copy is not authorized.

comment 11y ago · link · parent

I just started using CompletableFuture last week. The way each method ties your lambdas together without a bunch of type boilerplate is really nice. I still don't have a great handle on all of its methods, though; e.g., what's the difference between get() and join()?

comment 11y ago · link · parent

Speaking of the website, it usually has a row of shopping categories along the top (Camp & Hike, Climb, Cycle, etc.), but if your browser window is less than 800 pixels or so wide, it all disappears into a hamburger menu. I thought I was on the wrong site. Sometimes less is just less.

comment 11y ago · link · parent

WinZip encryption is an extension to the Zip format that they defined:

http://www.winzip.com/win/en/aes_info.htm

comment 11y ago · link · parent

WinZip made a similar choice with its encrypted archives: you could see the list of directories and files before supplying a password.

I would prefer that my account info be encrypted, but I can't use the new OPVault format, because it requires 1Password 5, which isn't supported on OS X 10.9.

comment 11y ago · link · parent

Very well. They asked for a copy of the book.

comment 11y ago · link · parent

I read this at my dad's wedding, five years after my mom died. Wasn't sure how an atheist's letter to his dead wife would be received, but it kind of spoke to me.

comment 11y ago · link · parent

Having admired the Kinesis Advantage from afar for years, I got one from Massdrop. I've used it at work almost exclusively for the last couple of months, having previously used the wireless Apple keyboard (the small one).

Biggest peeve is that I frequently hit the arrow keys on the bottom row by accident. Not being very good at using them on purpose, this completely throws me off for a second or two.

Minor annoyance is that the modifier keys sometimes stick. I don't think they're physically stuck; more like a firmware glitch, so that it's as if Caps Lock is on (mine's remapped to Ctrl), or I get accented characters as if Alt is stuck.

I still have trouble switching between the straight matrix layout of the Kinesis and the staggered layout of traditional keyboards, which I continue to use at home. Nothing major, but definitely some reduced accuracy.

So my experience is decidedly mixed. I'll keep at it until the end of the year at least, but I'm not convinced it's any better ergonomically. In fact, I've had some soreness in my left thumb that may be related to the new keyboard.

comment 11y ago · link · parent

Interesting project. Not sure what prompted the posting now (last updated in April), but it's timely for me, as I'm evaluating lightweight JVM-based languages. Jython seems a bit heavy. Clojure is my likely choice, but I'll take a look at this too.

FWIW, a quick run of the binarytree benchmark shows luaj as slightly faster than luajit on my system, but does it matter? Not many projects have a realistic choice between lua/luajit and luaj, unless the whole thing is written in Lua.

comment 11y ago · link · parent

It doesn't look like Google's paper or the results on this site consider CloudFlare's zlib fork:

https://github.com/cloudflare/zlib

Previously discussed here:

https://news.ycombinator.com/item?id=9857784

And a recent performance comparison with Intel's patches:

https://www.snellman.net/blog/archive/2014-08-04-comparison-...

comment 11y ago · link · parent

> Servo is one of the most important software projects, since it will hopefully give us a secure or at least securable browser

I'm very interested in Rust, and in Servo as a "killer app" that demonstrates its promise. But what if they go to all this trouble, and it's significantly slower than C++-based browsers? (Yes, Rust can be as fast or faster in theory, but C and C++ have so much more resources behind them.) How much is stability and security worth to you?

I see (admittedly abstract) tradeoffs made in favor of performance all the time in software where data integrity is supposedly paramount. Will we really make different choices in consumer software?

comment 11y ago · link · parent

I always kind of figured that the first pass would emit the most general form of a jump, then shorten it if possible, but I guess it works the other way around too.

comment 11y ago · link · parent

While I appreciate the direct link that bypasses the email form, here's the page describing the report and its author:

http://www.oreilly.com/programming/free/why-rust.csp

"One of the original designers of the Subversion version control system, [Jim Blandy is] a committer to the SpiderMonkey JavaScript engine, and has been a maintainer of GNU Emacs, GNU Guile, and GDB."

comment 11y ago · link · parent

Great that they were able to recover this game.

Kind of crazy that it will be copyrighted for another hundred years or so (assuming it's an unpublished work for hire), when the last copy was barely readable, and the owners probably don't even know they own it.

1
202122
26