Better HN
topnewbestaskshowjobs
Log inSign up

Merad

2,800 karma · joined Mar 14, 2015 (11y ago) · 772 submissions

Submissions

comment 8y ago · link · parent

Oh, I agree - but I already know git fairly well. IME those people who have been using TFS solo for a decade have a much harder time seeing the benefits, because they're totally alien to the development workflow that they have become used to.

comment 8y ago · link · parent

There are a huge number of developers out there who spend the overwhelming majority of their time working solo or on with a couple of peers.

comment 8y ago · link · parent

I believe the current theory is that most (all?) galaxies have a supermassive black hole at their heart.

comment 8y ago · link · parent

TBH the behavior described in the quote has been around in various forms since at least Elder Scrolls: Oblivion (2006). It's interesting and (arguably) immersive, but almost always has unintended and sometimes hilarious side effects. For example, Kingdom Come Deliverance (released last month) received much praise much praise for letting the player start out as an average unknown guy... but after a while in game you build up reputation with some towns to the point where stepping foot in a town leads to everyone in sight yelling greetings at the player. It also interacts in interesting ways with cutscenes [1] and the "respond to an armed player" behavior [2].

[1]: https://www.youtube.com/watch?v=vF_KxC_cOUU

[2]: https://www.youtube.com/watch?v=kuY2x_Dxr7Y

comment 8y ago · link · parent

Hell, there are still plenty of people who don't have and aren't interested in SMS, even if they have a cell phone.

comment 8y ago · link · parent

Bamboo cutting boards are often advertised as having anti-microbial properties. No clue if there's any scientific backing to the claim, though.

comment 8y ago · link · parent

Heh, that big ass makefile is the generic makefile [1] I came up with a few years ago. Definitely a bit of overkill for a single file project, but some of us are lazy when it comes to such things.

[1]: https://github.com/mbcrawfo/GenericMakefile

comment 8y ago · link · parent

Eh, such features aren't new or unusual. For example most aircraft have a "master arm" switch that enables firing weapons. Typically they have three settings: off, arm, and simulate (or something comparable).

comment 8y ago · link · parent

Do you have any evidence that such a government has the slightest chance of working?

comment 8y ago · link · parent

> we can't run it on a schedule, b/c it requires prep (moving cat food/toys, floor mats, etc)

If you have one of the models (I think it's the higher end ones) that supports the "lighthouse" that can do a circle, consider getting one. I have one of those by the cat's bowl, and I schedule the Roomba to start right before I leave for work so I'm reminded to go around picking up toys, etc. The cat usually sleeps most of the morning, so she normally leaves them alone long enough for the Roomba to finish.

> it's not all that thorough. it naturally leaves some stuff behind because it pushes some dirt / dust around while scooting around the floor

FWIW in my house (about 80% carpet) it does great. I was a little nervous last fall when I pulled out the upright vacuum for the first time after 3-4 months of letting the Roomba handle things, but what I got was much less than a normal week pre-Roomba.

comment 8y ago · link · parent

> I can vacuum my floor by myself

If you're in the HN demographic that likes to live in small urban apartments then you may not see value in automated vacuuming, but believe me they are filling a need for many people. My 68 year old mom decided to get one last year, prompted by discussions with several of her friends. She loves it so much that she's become something of a Roomba evangelical - last I checked she's talked 4-5 other people into getting one, and they all love them.

I don't even have a large house (~1200 sq ft), but I do have a cat. The whole ordeal of vacuuming probably took me at least 45 min to an hour every week, and often it didn't get done weekly. Getting a Roomba was amazing for me. It runs on a schedule twice a week, and I only spend a couple minutes dumping its dustbin.

comment 8y ago · link · parent

You have to admit, it’s a brilliant business strategy. First you rip them off with all natural raw water, then you rip them off with all natural dysentery treatments, then the few who are really fools can probably be ripped off again for an all natural raw wood pine box (coffin).

comment 8y ago · link · parent

I work at a Fortune 500 (non-tech) company, and your first two paragraphs are very familiar. I’m not sure why people often act like the government has a monopoly on lazy and incompetent people.

comment 8y ago · link · parent

Bad government in the US is a self fulfilling prophecy and has been for close to half a century.

comment 8y ago · link · parent

Were you doing serialization or something like that that recursively accessed all of the properties in the model? If so, and if lazy loading was turned on (the unfortunate default) then the serializer would indeed keep exploring the object graph until it either loaded your whole database or hit OOM. That's about the only scenario I can think of that would cause such an issue - EF doesn't eagerly load related entities unless you explicitly tell it to.

comment 8y ago · link · parent

LINQ itself doesn't have anything directly to do with SQL. It's a mechanism for composing expression trees that are compiled into your application. At runtime a LINQ query provider can walk the expression tree and translate it into a query for the underlying data store. It's a very very powerful concept, but IME it doesn't get used all that much for things other than SQL because writing a query provider is a lot of work.

Anyway, the typical C# ORM is Entity Framework, which includes the LINQ-to-Entities query provider.

comment 8y ago · link · parent

> When you make an HTTP request, you're accessing a piece of private property. The owner of that property has every right to decide not to let you do so.

So why don't they do that? If they're responding to a bot's HTTP requests with content, they are choosing to give the bot access.

comment 9y ago · link · parent

D&D was already in the middle of a popularity surge when Stranger Things came out last year. Fifth edition (5e) came out in 2014 and somehow managed to make the gameplay more streamlined (and appealing to new players) while also being popular with current and past players. In 2015 you had Critical Role (live Twitch show) and The Adventure Zone (podcast) both appear and be hugely successful. I’m sure Stranger Things deserves some credit for showing D&D to a wider audience, but I don’t know if it’s been a significant factor.

comment 9y ago · link · parent

Even that 12% figure only works out to about $17 per ticket. If you offered passengers that discount (clearly communicating that it meant flying totally on autopilot), I'd be absolutely shocked if even 10-20% took the offer. Of course realistically, I feel sure that automated planes would be required to fly with a human backup pilot, so the potential savings are even less.

TBH I think it will take the success of self driving cars, trucks, etc. before the public becomes comfortable with the idea of self flying planes. Ironic since cars are overall the more challenging application, but I guess that's human nature.

comment 9y ago · link · parent

Pilots just aren’t that expensive, to be honest. Assuming your flight crew is costing $400 per hour combined (on the high side according to some googling) and you have a 6 hour flight with 300 passengers, eliminating the crew only drops prices by $8 per ticket.

comment 9y ago · link · parent

The main reason we don't have them is that people don't want them. Autopilots date back to 1912 (yep, you read that right) and the first flight off an aircraft controlled 100% by autopilot happened in 1947. US Navy carriers and aircraft have been capable of automatic landings since the 1960s. IIRC today most larger airliners have autopilots capable of handling the entire flight after take off (they don't bother to include auto takeoff, because no one uses it).

Aircraft are downright trivial to automate compared to cars, at least until something goes wrong. The vast majority of the time a car can drop into a fairly reasonable failsafe mode of "steer straight and apply brakes." Aircraft, not so much.

comment 9y ago · link · parent

Very, thanks to git-tfs [1]. My company is in the midst of a move from on premise TFS/TFVC to cloud based VSTS/git. We've run into some projects that managed to somehow mangle their branch history so to the point that we gave up and only migrated the current checkin to git, but most projects pull out the full history and all branches with no trouble.

The only real complaint I have is speed. Dunno if it's our TFS server or the nature of TFS, but every checkin pulled into git takes anywhere from 5-30 seconds. In large projects with long histories you can easily spend 30+ minutes exporting history before running into a problem that prevents the export from completing.

[1]: https://github.com/git-tfs/git-tfs

comment 9y ago · link · parent

I don't know if I would hold your breath. 10 years ago I think most people hadn't even heard of git (it was ~2 years old) and Google Code was the hot new thing, and GitHub was a year or so away from creation. At the time most people seemed to be pretty content Subversion and hosting on Sourceforge (before it turned evil) or Google Code, but in the next ~5 years everything changed. Granted git, GitHub, etc. have far more momentum that anything that came before, but this is a field where it feels like the only constant is change.

comment 9y ago · link · parent

The UX isn't as nice, but you can set up multiple profiles in Firefox. There are/were some extensions to make profile switching easier but I doubt they are compatible with 57.

comment 9y ago · link · parent

Nope, I discovered that it was being done in user.js. No clue how that happened...

comment 9y ago · link · parent

I have never (to my knowledge) done anything to change the user agent. I dug around in about:config and discovered that general.useragent.override somehow got set.

Edit: Something is resetting that override every time the browser starts. Dunno what, the only addons I run are uBlock and RES (and now TST).

Edit 2: It was being set in user.js. No idea how it got there...

comment 9y ago · link · parent

So, dumb question (maybe), but how do you get tree style tabs to install? I'm running FF 57 but that page says it's incompatible because I'm running FF 51. I checked and the user agent string being sent is:

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20170125 Firefox/51.0;

comment 9y ago · link · parent

You're not really looking at an apples to apples comparison. The last generation of piston engine airliners (the only ones really comparable to the jets that replaced them) used massive turbocharged radial engines that were notoriously complex and unreliable because of all the power being squeezed out of them. Today the vast majority of "prop planes" used in commercial airlines are actually turboprops. Piston engines are basically relegated to small private planes.

comment 9y ago · link · parent

Unless the situation has changed in the last few years, most libraries only offer precompiled windows binaries for MSVC. Using something else means that you’re likely on your own as far as figuring out how to compile libraries that you need (and their dependencies...).

comment 9y ago · link · parent

A bit of both, IMO. RAII is a design pattern, not a language feature. However, it’s a pattern made possible by the semantics of destructors and object lifetimes in C++. The creator of C++ (Stroustrup) developed RAII within the first few years of the language’s existence.
1
192021
26