Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions

Submissions

comment 8y ago · link · parent

I wonder how much “deep” profiling we can do to improve things, e.g. to know how much is just graphics, how much is time spent processing byte-sequence spam, or heck even time spent processing scrollback buffers and stuff. I suspect it would turn out to be a mix. And I strongly suspect we could identify just a handful of efficient terminal sequences and push for broader support of the most efficient ones (i.e. things that directly tell the emulator to do X instead of receiving three dozen other sequences that produce the same result).

Graphics are a likely culprit but even then there can be multiple layers to the problem, sometimes literally. Putting bits in a window can be surprisingly expensive and it’s hard to have nice bells and whistles and speed at the same time.

It’s hard when given many bytes at a time. I once observed that simply by splitting a “vim” buffer vertically, my terminal received a significantly greater number of bytes (such as extra spaces for layout and several more special terminal sequences). The split also seemed to trigger more “full screen” or “most of screen” refreshes, versus smaller and cheaper updates that were typical of single editors. Scrolling, as it turns out, is a lot more complex in a split buffer.

comment 8y ago · link · parent

Apple probably needs to be “broken up”, at least internally, to avoid the spread of whatever poison is causing them to simultaneously ruin both hardware and software experiences.

Any one of these fiascos should be enough for executives to start being reprimanded. Everything from “no newest Apple device plugs into any other newest Apple device” (sorry: “Courage”), to “must-have-been-High-when-released Sierra” to “Mac Pro-for-limited-values-of-Pro”, not to mention destroying the App Store for most developers and customers.

The worst part of all is I can’t boycott Apple after all this because they still somehow manage to be least-crappy-alternative when considering many other things such as security, etc.

The solution, then, seems to be to wait. In 2019-2020 when New MacBook Pro arrives, it’ll probably be on backorder for 15 months as all Waiters from the last few years line up to buy a real upgrade.

comment 8y ago · link · parent

I also do this in MacTerm (with the option to join the text to a single line, keep as-is or cancel).

Though there is still lots of trickery that can sneak into text, e.g. zero-width characters, and I’m trying to come up with better filters.

comment 8y ago · link · parent

Like many “preventative” things, it can be hard to prove that problems would have occurred with less experienced/productive people because you only have one team and outcome in any situation.

And there’s a lot of easy-sounding ways to “measure” quality that actually suck (e.g. “number of bug reports” says nothing about the kinds of bugs, and might encourage people to create micro-bugs to inflate numbers or mega-reports to make them smaller, depending).

comment 8y ago · link · parent

That’s probably because it is almost impossible to even find things that are not on one of their (pretty arbitrary) top-5 lists, or things that use their paid-for Search Ads.

Their search lacks even basic filtering, which would have been sad after 1 year of store development, much less over a decade.

I had to add my app’s own name to my limited-length list of search keywords because Apple’s default search wasn’t even finding it when searching by name. Pure trash, especially considering their 30% cut and overall bank.

comment 8y ago · link · parent

Not sure how they calculate fines like these but it sure should work something like the following:

$100M + [(entire bank profit gained from illegal activity) * 7.0] + [(number of people screwed) * (average fees charged per person) * 2.0]

In addition, there should be a stipulation that the bank cannot (in present or future) pay the fee through employee layoffs or other cop-outs. Ideally, the government is able to require fine payments to come directly from executive compensation or by selling assets, etc.

My guess is it would come out to, let’s say, a hell of a lot more than this.

comment 8y ago · link · parent

It’s amazing how much more useful hardware could be if software were properly designed and flexible.

I don’t know why screens still care about optimizing video...I can’t remember the last time I watched something full screen when there’s picture-in-picture. As with other software, I want to do multiple things and not necessarily just sit and watch something.

For decades software has had a weird laziness when it comes to making things simply resizable. Ever seen a program pop up a list of 1000 choices that only shows about 4 of them, truncating half the names, with a useless miniature scrollbar and no ability to resize, on a gigantic screen?

The day I got the iPad 1, it was the coolest thing ever. It took just weeks for that to be gradually ruined by ridiculous decisions made in software (web sites that could no longer be pinch-zoomed trying to “help” me with a “mobile-optimized” interface, apps lazily zooming up from phone sizes and making terrible use of space, etc.). To this day I would never opt into a “pro” version of that experience; I simply can’t stand software that constantly wants to tell me how much space I have been rationed for each thing.

comment 8y ago · link · parent

Frankly, unwanted calls could be much less aggravating if phones had a proper UI.

In 2007, when the iPhone was first released, maybe the “phone” part was an important app. Now though, I can’t believe the phone app is still allowed to immediately interrupt anything I am doing and take over the entire screen!

What’s worse is that the Answer and Hang Up buttons could easily appear right under your fingers while you’re in the middle of using a definitely-not-phone app, causing you to do things you don’t want.

And why are my only options to “Do Not Disturb” (blocking everything, including stuff I don’t want to block), or to just sit and wait for the ringing to end? If I answer or hang up immediately, the spammer knows I’m a real person with a valid phone number and I probably end up on a list for more spam.

Here’s what I want: a checkbox that says “do not ever ring my phone, allow voicemail”, with an option to use a standard notification if a call comes in. Period. Tired of the full-screen-screw-whatever-you-were-doing-here’s-some-spam interface.

comment 8y ago · link · parent

Even in that situation, if you’re a paycheck-to-paycheck worker, how much boat-rocking can you endure? On some theoretical future date according to the law you can get back at your employer, great: in the meantime, maybe you got fired and now you can’t feed yourself?

We’ve seen plenty of companies that shrug off large fines and such. Whatever the rules, it has to reach the point of being seriously unprofitable to disobey (i.e. investors knocking to demand compliance).

comment 8y ago · link · parent

It may be that the only way to fight “not in my backyard” is to require, by law, “everyone’s backyard”. In other words, make every single neighborhood give something up so that no one can say they’re being singled out.

One method might be to require a tax increase in every neighborhood that is nullified if that neighborhood does certain things (like allowing dense condos). The important thing would be to make it absolutely clear that a whole city/region is in the same boat, that certain actions will be taken on all areas and no one will be allowed to squirm out of them.

comment 8y ago · link · parent

There has to be similar prestige/career-building/notoriety/funding for spending time on reproducing the experiments of others. Without that shift there will clearly be a greater tendency to just try something new.

Also, when experiments depend on source code, etc. we need real engineering tools/principles applied. (Something like: “you can’t publish paper X if you aren’t including a public repository with build/run instructions”.) Unfortunately, there are all kinds of reasons why scripts/builds could fail just a few months or years later so they would have to be checked too.

I think it would be cool if document-generation caught on in the publication of papers, i.e. the paper itself is generated by running actual experiment scripts and producing charts, etc. from plain text source.

comment 8y ago · link · parent

Even if those statistics are accurate, my response to such companies would still be “boo hoo”. If your company wants to rake in the billions of dollars in benefits, you need to spend some money too. If your company can’t handle the time/effort then you shouldn’t aim for a billion users.

comment 8y ago · link · parent

The presence of privacy “controls” isn’t very reassuring, even if Facebook were the most trustworthy organization in existence. Software has bugs. They can’t really prove that their closed implementation actually works in every case that it should (or more important, that their “controls” will continue to work after years of developer turnover, technical debt, etc.).

comment 8y ago · link · parent

In theory we’ve had Contacts apps and E-mail lists for decades that people could have used for essentially all of their interactions. And it’s never been easier to use either of those from any device.

Then I think about how poorly integrated those basic things really are. Why can’t my iPhone Contacts app let me create basic groups like “Friends” and “Family” for instance? Why is there no dead-simple event site that uses good-old-mailing lists as the core mechanism for deciding who is going, and communicating?

Sometimes it feels like we came so close with the basics and then just stopped improving them. I think defeating Facebook starts by addressing those core features.

comment 8y ago · link · parent

Zero. Though I do follow sponsored sign-ups, e.g. hearing about something on a podcast and going to “company.com/podcastname” or otherwise trying stuff out in a directly-mapped way.

The reason is simple: I have never seen a “typical” web ad that didn’t annoy the hell out of me, and the last thing I do is try to reward annoyances.

comment 8y ago · link · parent

What is it about headlines involving charges that love to focus on “facing prison”. At the very least this should indicate the RANGE of punishments, and there is a hell of a range.

From the article, he’s been charged with “unauthorized use of a computer”. IANAL but there would seem to be at least two possible interpretations of this charge [1], and the “Summary Election” variant has a MAXIMUM punishment of $5000 fine or 6 months. The other interpretation “Indictable Election” is a maximum of 10 years.

As with any case, details matter. Judges aren’t just sending every hacker to prison for 10 years. He may be judged not guilty (evil intent must be proven; then there’s his age, etc.), or given a way, way, way smaller punishment than this “prison” he “faces”.

[1] http://criminalnotebook.ca/index.php/Unauthorized_Use_of_Com...

comment 8y ago · link · parent

Whatever we consider “data” right now quite simply needs to be thrown out, replaced by things that are MUCH more temporary (e.g. where even the largest “collection” of data becomes useless within a week). And, access needs to be explicitly revocable at any time by either party. There should actually be a difference between, say, me giving you “phone number” and me giving anyone else “phone number” (directly or indirectly). Heck, even for my street address I’d feel better if I only gave out keys that everyone had to cash in at the post office and let the post office convert it to my real house number.

There is no technical excuse at this point to have so many different bits of sensitive information floating around. And many of these pieces of information are permanently associated with you, meaning that any slip-up anywhere at any time can create a problem later on.

comment 8y ago · link · parent

What ought to happen is that people have more than enough money to buy things they’re likely to use, driving money into the economy for things that are useful.

Instead, wages are terrible for the most part. Income inequality is so off the scale now that you can’t expect people to just pay for all the little things they use. Making all these free things might have the side effect of distracting people from realizing how little they can actually afford.

Since no one is paying for things that are useful, instead money goes to whatever can trick the most ad viewers: sensational news, outrageous things, etc. Anything that can’t be made interesting to most people has trouble making money.

comment 8y ago · link · parent

Money is extremely hard to come by in the software world.

A couple of anecdotes.

One, I created a game for iOS and Mac (and it’s not some cheap-looking trinket; it’s extremely elaborate). After 4 months on both stores, the grand total units sold are less than even the threshold for payments (i.e. I haven’t even been paid by Apple yet!) and the Mac version sold more! There are also no reviews, or at least they are below the threshold. I strongly believe the low sales are because I had the audacity to charge a couple bucks up front instead of giving away everything for free. And the lack of reviews are a chicken-and-egg problem that may also affect purchasing (still interesting that people might resist spending even $3 over a lack of reviews?).

On a separate project (that is free software and has been for decades), I decided to try adding a donation link. It’s been up for over a month with a grand total of $0 so far. And I have plenty of evidence that there are both tons of visitors and actual users.

For some reason that needs to change industry-wide, software is essentially not valued at all. It’s not even valued enough to “risk” a measly few bucks up front on an App Store (even though people will shovel more to Starbucks in a single day).

I am fortunate that I don’t “need” the extra income but I imagine many developers really do. (And even if they didn’t, these things take serious time and intelligence to build, and it’s reasonable to assume people want compensation.)

comment 8y ago · link · parent

This is one of those things where, even if it were an issue, shouldn’t there be about 4,321 better ways for the federal government (much less the president) to choose their focus?

And it’s not like he has to go far to find bigger problems. How about “ordering a review” on poverty and homelessness for instance?

comment 8y ago · link · parent

The main issue would be that 64-bit may cause an app to use more memory. Every pointer doubles in size, the alignment of a structure containing a pointer may grow, etc. Basically, if you needed a lot of structures allocated and they all grew, your memory use becomes noticeably bigger.

Sometimes legacy code can make assumptions about pointer size. These hacks were more common in the days of porting older systems to 32-bit but it could still happen moving to 64-bit.

If there’s code that tries to manually populate the bytes of data structures, sometimes bugs appear when the target field size changes (e.g. somebody ends up not initializing 4 of the 8 bytes in a now-wider field).

In the case of Apple, the huge pain will be their decision to not port all of Carbon to 32-bit (despite Forstall getting on stage years ago and stating that Carbon was going to be 64-bit “top to bottom”, it never happened). This can mean addressing a whole pile of nothing-to-do-with-64-bit-whatsoever problems before even starting to solve 64-bit problems.

comment 8y ago · link · parent

This might be better phrased as “maximum work hours per day”, where every work-related activity counts toward those hours.

Some jobs, unfortunately, naturally have weird hours (because the company has worldwide offices, is in a special industry or whatever). You wouldn’t, for instance, get very far responding to disasters if you were not in a position to even find out about them most of the time.

The problem isn’t so much the “after-work” activity but what “work” means. If my job required responses to issues at weird hours, I would expect to reduce hours at the not-weird times. You shouldn’t be able to have it both ways though, otherwise workers never have any reasonable way to truly disconnect, which is stress.

comment 8y ago · link · parent

It’s not that surprising. People want to work on their tasks of interest. Smart programmers allocate some time for maintenance activity but py3 is a rewrite that is well outside the boundaries of normal maintenance. When the first thing you run has syntax errors and you might have to change almost every file to make any progress, it’s a rewrite.

And plus, many projects are maintained by people in their free time, often for free. Of course no one wants to spend a ton of free time redoing everything only to work apparently the same as before.

comment 8y ago · link · parent

Considering how much damage such a thing could do, this seems laughably small. They should start at $1M.

comment 8y ago · link · parent

If you have tons of money to spare, you can afford to throw money “at the wall” and see what sticks. For every case of losing money, there’s probably a lot more that pays off, especially when a billionnaire can afford to have entire staff working to minimize the chance of bad investments. If a great opportunity arises, you can put much more into the pot (most people would have to put their whole life savings in).

Also, any single problem isn’t likely to completely screw you, you just pay for it and move on. For many people, they are literally one step from bankruptcy and can’t have anything go wrong.

Also, if you can afford even slightly nicer stuff, it is probably better-made and won’t require outright replacement. You can afford more insurances to avoid paying the full cost of what you do replace. (Most people will never do this.)

And the rich have way, way more time. They probably aren’t figuring out how to juggle two jobs, taking many-hour commutes, etc., all of which gives even more opportunity.

And that’s just off the top of my head, there’s probably more. You can’t even begin to equalize a system with so much advantage built in to one side.

My guess is that it starts by giving people more time. Fix the “need two jobs” problem permanently. Make housing more affordable to minimize travel.

comment 8y ago · link · parent

The thing they never get right is that the answer to a question is only useful if you can write the entire question. You should never be forced to select a question from a list.

Also, I can’t believe how stupid some of these sites’ questions are. While I always make up the answers, frequently they require at least 3 questions and only 1 or 2 even apply to me (assuming I answered truthfully)! And one airline wanted FIVE of them!!!

comment 8y ago · link · parent

No...humans are terrible at remembering passwords given inane “security” requirements that vary from site to site.

I have yet to see a site allow me to “correct horse battery staple” my password for instance (xkcd), which I’ve found very memorable.

comment 8y ago · link · parent

The problem that never seems to be solved by no-code tools is the debugging aspect of coding. Saving a few minutes writing code was never the problem; rather, we need more ways to save hours or days explaining why things behave the way they do.

It’s definitely cool when you can wire together a UI without a lot of effort and see it largely work. Yet if any part doesn’t work exactly right the first time, you may have no idea why. You are also at the mercy of the tool developer; if it has bugs (or bugs show up next year), you’re stuck, and they probably aren’t using an open file format that can be hacked to do the right thing.

These no-code tools also, in my experience, interact poorly with revision control, basic teamwork, and other aspects of development. You can’t easily do simultaneous edits for example.

comment 8y ago · link · parent

Meta-reviews might help; for instance, on Slashdot, periodically being shown random comments from others, with ratings, where you can say whether or not you agree with the original rating. At least that way, some additional scrutiny occurs (maybe not objective individually but probably an improvement when aggregated).

I guess in Uber’s case this might be implemented as: randomly showing previous riders a rating for a driver they had, and asking if they agree.

comment 8y ago · link · parent

Somehow, it needs to become just as attractive to work on mundane-task apps as it is to work on the latest and greatest things. One incentive might be “pay engineers more for working on boring, critical things” but since these things are often free/included it’s probably even harder for companies to imagine paying more for that development.

Maybe they should take developers working on some other app and incentivize them to occasionally contribute time coding/bug-tracking/whatever on the less interesting stuff.

And mail is definitely a mess. Just today I received a “winmail.dat” attachment in a message that I couldn’t even see despite it containing “only” a normal file. I had to download some 3rd party hack just to view it, as if it was 1995.

1
242526
98