News for hackers. Stuff that matters.

hartez

Re:The Moral Economy of Tech on Tuesday June 28, 2016 @12:46PM (#11995269)
> Why would we do something that benefits far away humans over something that benefits nearby humans? Don't help those foreigners (or people in NY)! Build a wall! Trump 2016! (Same idea, just directed at a slightly different target.)

You've misunderstood his sentence. He's not saying that we should prefer fixing things locally to fixing things globally. He's asking why we should believe that the tech elite can improve life on a global scale when they can't even improve it on a local scale.

Re:Programming Languages as Constraints on Friday June 03, 2016 @05:24PM (#11833376)
That actually sounds like a fun Roslyn analyzer project.
Re:Microsoft Acquires Xamarin on Wednesday February 24, 2016 @03:17PM (#11169890)
Why would they do that?
Re:SlimFAQ – Simple FAQ's for your app or website on Wednesday February 24, 2016 @11:15AM (#11167815)
I honestly thought you were being ironic at first. The pricing info is in their FAQ: https://slimfaq.com/faq (specifically at https://slimfaq.com/faq/24-getting-started/84-how-much-does-...)
Re:Babun: a Windows shell on Wednesday October 14, 2015 @01:45PM (#10388120)
The default terminal got a bit better in Windows 10. I've been trying to run stock for the last few weeks (rather than installing ConEmu (https://conemu.github.io/), which is what I used on Windows 7) and it's been mostly okay. They've still got a long way to go, but at least Copy and Paste finally works.
Re:Kinda like apt-get, but for Windows on Wednesday February 06, 2013 @10:02AM (#5176663)
And technically you should just use the 'ProgramFiles' environment variable, since the folder might be called something else if your install is in another language.

And Windows allows side-by-side installs of 64- and 32-bit versions of the same software; so installers should be aware of 'C:\Program Files (x86)' and 'C:\Program Files'; the first is for 32-bit programs on 64-bit machines.

I'd prefer opt-in, and a nice directory of robots you could essentially subscribe to. I did a little thinking about this a while ago when the Gunio robot was annoying some people about whitespace:

https://github.com/hartez/vcs-robots

Re:TSA Removes X-Ray Body Scanners From Major Airports on Friday October 19, 2012 @03:16PM (#4675001)
And all that shuffling costs tax dollars.
Re:TSA Removes X-Ray Body Scanners From Major Airports on Friday October 19, 2012 @03:14PM (#4674996)
My wife and I opt out every time. Whenever possible, we just aim toward the line that's using the old metal detectors* (since the new machines are either slow or prone to breaking, this is an option most of the time). But when the only option is the new machines (backscatter or mw), we opt out.

FWIW, we have a friend who sells mw equipment, and he refuses to go through them for safety reasons. So even if I weren't opting out for moral reasons, I wouldn't go through them.

* I'm sure glad no terrorists are smart enough to do this.

Re:Why American Phone, Cable and Internet Bills are so High on Monday September 24, 2012 @04:04PM (#4566672)
Can't watch the video right now, but the summary at the bottom mentions France and Bulgaria - does it bother to mention the geographic differences between the US and those countries? I feel like a broken record every time this discussion comes up, but no comparison is complete without addressing the differences in geographic distance and population density that US providers are dealing with.
Re:Stop Using The Cup of Coffee vs. $0.99 Cent App Analogy on Thursday August 16, 2012 @07:52PM (#4394285)
Yeah, I still don't understand the logic behind this. I've used the App Store and the Windows Phone Marketplace, and of the two I've actually bought a lot more stuff from the Marketplace. The concept of "trial" software where you can later upgrade to the full version if you want is built right into the Marketplace and the phone OS, so it's fairly easy for developers to offer it if they want. When confronted with several apps that do essentially the same thing, I pick up the trial version of each one and then buy the full version of the one that works best. I've bought a lot of apps this way, almost all of them more than $0.99. If I decide to try a new version of a different app later, I can do so with pretty much no risk.

Does anyone know why Apple doesn't offer this? Are they just worried it will somehow cause customer confusion?

Re:The weakest link by far is Apple on Tuesday August 07, 2012 @06:22PM (#4352679)
In this case it's not as much about keeping it secret (since anyone who sees/handles it might have the number memorized or recorded) as it is reducing the attack surface. If the full number is on a discarded receipt (or on any combination of two receipts) along with my signature, anyone with access to my trash now has a big chunk of the info they need for identity theft.

I'm not saying that obfuscating the first 12 digits on a receipt solves the problem; just that it's a very minor adjustment that makes things more difficult for the attacker. But some organizations are still failing at even these most rudimentary steps.

Re:The weakest link by far is Apple on Tuesday August 07, 2012 @11:56AM (#4350675)
Sadly, I can :)

Just a few years ago I looked at my receipt from a local Dairy Queen and it had all but the last four digits printed on it. I complained to the guy behind the counter, who didn't see the problem.

I assume most new POS systems nowadays don't even have the option to print anything but the last four, but there are still some out there in the wild which do. Which is why I still shred all my receipts.

Re:The weakest link by far is Apple on Tuesday August 07, 2012 @11:52AM (#4350658)
That's what the last three paragraphs of the post are: suggestions for solutions to the problem.
Re:Great work Visa, now I hate you on Monday August 06, 2012 @09:05PM (#4348134)
I think they meant that no one except for McDonald's was allowed to serve french fries (or anything similar to a french fry).
Re:PowerShell vs. Unix shells on Friday July 13, 2012 @01:56PM (#4240924)
just try managing AD users in PowerShell - sure its easy once you've written your own custom script or mapped it to a web interface or something, but there's no built in equivalent for adduser or about a billion other basic UNIX commands

It's not that bad. Adding a new AD user is a built-in command. From the docs:

New-ADUser GlenJohn -OtherAttributes @{title="director";mail="[email protected]"}

I'm not a UNIX admin; maybe the adduser command is easier. But managing AD stuff in PS is pretty easy (especially if you have to do it in bulk).

Re:Falsehoods Programmers believe about Time on Monday June 18, 2012 @04:41PM (#4128404)
Ran into a similar one about ten years ago; a medical records system with the assumption that you wouldn't need dates before 1/1/1900.

You know who goes to the doctor a lot? Centegenarians.

From http://msdn.microsoft.com/en-us/windows/hardware/hh852363.as... (under the section "Updated or Removed Features"):

      The Windows SDK no longer ships with a complete command-line build environment. The Windows SDK now requires a compiler and build environment to be installed separately.
Below that they also list a dozen tools and a bunch of documentation and samples that they also no longer include in the SDK. My guess is that they're just trimming down their SDK downloads. Their SDK has been getting more and more bloated over the years with utilities and samples and stuff that most devs don't need.

Completely dropping their command line tools doesn't make sense for anyone who runs build servers; it doesn't make sense for their Powershell tools; and it really doesn't make sense when you consider their recent moves in Open Source. My guess is that the command line tools will be separate downloads from the basic SDK and you'll still be able to write C# code in Notepad++ if you like. The basic SDK will be targeting people writing Metro apps (which they want to encourage by default), but they aren't going to just drop everything else. This is a company that lives and breathes backward compatibility, after all.

It's just a case of poor messaging by Microsoft. Remember last year when everyone thought that all Windows 8 apps were going to be Javascript/HTML 5?

Re:The trouble with Checked Exceptions (C# architect) on Thursday May 24, 2012 @11:41AM (#4018928)
The net result is code which breaks in spectacular fashion when the first unexpected condition is met.

Which is generally what you want to have happen. Failing fast is a good thing. If your code does anything other than "stop executing" after encountering an exceptional situation, it should be very something carefully considered and well-thought-out. With checked exceptions, the "I'm in a hurry to get this working" version of the code often ends up looking a lot like:

  try {...}
  catch(ExceptionType ex){ //TODO figure out what to do here }
  ... keep going ...
The danger is what happens in that "... keep going ..." section - the code is working under faulty assumptions and that can lead to a lot of non-obvious but horrific bugs. In the unchecked "I'm in a hurry" version, the program simply crashes at that point.

So I think the C# design choice leads to the least pain under bad conditions. I'd rather have a fragile application than one just robust enough to write bad data to my database.

That said, it's not perfect. Any sufficiently lazy/stupid programmer can write the equivalent of "On Error Resume Next" in any language.

Re:I'm Giving Up Reading for a Year on Thursday May 03, 2012 @03:16PM (#3925285)
"People used to say shit like this on slashdot all the time"

I think that to myself about at least one HN article/comment every day :)

Re:Microsoft says goodbye to Windows Live brand on Wednesday May 02, 2012 @07:31PM (#3921719)
It was the best piece of blogging software available. Then they did that horrible ribbon redesign and ruined a near-perfect interface.
"doesn't really do remote employees"

That might be the crux of your problem (and the problems a lot of other companies are having with hiring). This is just my totally biased outside perspective, but it's easy to get remote work right now. Why in the world would I ever want to move to California?

I'm seeing this become an issue a lot with companies that need good development talent but just don't understand that it might not be something they can find locally. Good developers can (at least right now) live wherever they want in the country and make plenty of money. Apologies to anyone living in, say, Wichita, but why would I move there* if I didn't have to? By forcing your development teams to be local, you're limiting your talent pool or you're picking up C-grade developers from other places who are desperate for a job.

* The barbecue -is- pretty darn good

Re:Shouldn't Robots Be Doing My Taxes By Now? on Tuesday April 17, 2012 @01:52PM (#3854001)
I don't know that it's the _only_ reason. I'm guessing another big part of it is that government agency software projects routinely run way past due and over budget, and often end up going nowhere. e.g.,

http://mobile.businessweek.com/news/2012-02-24/nextgen-faa-c...

or

http://www.usatoday.com/tech/products/services/2010-10-21-fb...

"The IRS could trivially set up a website" - no, you or I could trivially set up a website. The IRS can't trivially do anything.

Re:The 501 Developer Manifesto on Tuesday April 17, 2012 @11:18AM (#3852948)
This is excellent, and I'm fully behind it. Some of the best coworkers I've ever had were 5:01'ers - they got things done on time because they had to, and they didn't burn out.

Just don't break the build at 4:59. That's all I ask.

Re:Email sucks. This is how you fix it. on Friday April 13, 2012 @12:40AM (#3835412)
Lots of programs already have this integration. Is it a bug report or feature request? Forward it to FogBugz. FogBugz figures out where it belongs (and if it gets it wrong, you tell it and it learns). Is it a task? Forward it to Flow and it gets entered as a task. Travel itinerary from your airline/car rental service/hotel? Forward it to TripIt. Works like magic.

This problem has, generally speaking, been addressed. You're just not using tools that address it. Which is not to say that there isn't room for improvement, or gaps in this toolchain (e.g., I can't think of a tool for bills/invoices off the top of my head, though I bet one exists). And addressing it by creating a solution for your specific combination of problems is certainly admirable.

But it's not email that's broken; if anything is broken, it's the endpoints (both the source and the destination). Saying email is broken is like saying the | operator in Unix is broken.

Re:Github is making me feel stupid(er) on Sunday April 08, 2012 @04:21PM (#3814802)
Stylish (or whatever the equivalent is for your favorite browser) is always an option until a better design comes along. For example, if you don't use the details boxes that much, you can apply something like

div#repo_details { opacity:0.3 !important; } ul.with-details-box { opacity:0.3 !important;}

to make those fade a bit and draw you eye toward the menu bars below them. You could event apply it your specific repo urls, so you could customize it depending on what you're working on.

Again, only a temporary hack, but better than nothing until a better universal design can be agreed upon and implemented.

Stylish: https://addons.mozilla.org/en-US/firefox/addon/stylish/

Re:Open Letter to XSLT Fans on Saturday April 07, 2012 @02:34PM (#3811663)
Just prior to .NET I worked on a classic ASP project that did this - the view models were basically SQL queries with 'FOR XML AUTO' and the 'views' were XSLT stylesheets.

For getting simple data up on a web page it was fantastic. But for more complex stuff it got wickedly complicated to maintain at an exponential rate. XSLT just didn't scale (and/or we just weren't good enough at it to make it scale).

Re:Infinite Copyright Is Killing Culture on Friday March 30, 2012 @11:55AM (#3776573)
Consider things like movie rights. It's not unusual for there to be a very long time lag between print publication and the release of a movie version (e.g., Watchmen or Hitchhiker's guide). I've always liked the idea of setting copyright to expire n years after the expiration of the copyright owner (where n is long enough to handle the "take care of my family when I die" and "don't disincentivize publishing stuff made by older people" issues). n = 20 is my arbitrary proposal. Copyright owned by deathless entities (corporations and such) maxes out at another arbitrary number (I like 40) and there are no options for renewals in either situation.
Re:Open-plan offices must die on Tuesday March 20, 2012 @03:21PM (#3731021)
And they've never invented (to my knowledge) smell-canceling headphones.

I've worked in places where it was an issue. And it's a very difficult one to address. "Please be quieter" is much more socially acceptable than "Please use deodorant".

Re:Why Finish Books? on Thursday March 15, 2012 @07:28PM (#3711145)
Oh man ... then you missed the part six pages into the Brazil trip where you find out the rest of the book is all a dream :)

Older »