Better HN
topnewbestaskshowjobs
Log inSign up

ProblemFactory

2,192 karma · joined Aug 8, 2012 (14y ago) · 545 submissions

Submissions

comment 13y ago · link · parent

I find that analogies are a poor argumentation technique overall, even if they are not hyperbolic. It's always possible to find similarities between wildly different and even opposing ideas. The details matter.

comment 13y ago · link · parent

The fact remains that search result numbers are completely useless for estimating the security of a language. Even more so without quotes.

* Search results show visibility on the web, nothing else.

* Without quotes, it may mean that more people talk about Python security than Java security. Or about writing exploits in Python, not for for Python.

* Java is extremely secure if it is run in the same place as Python, and not executing untrusted bytecode in a browser plugin. Nobody runs unknown Python code on their machines. Java vs. Flash. vs. Javascript makes more sense as a comparison, because all three are used for executing untrusted code.

In other news, I get 1M search results for "bieber security exploit" and 27M for "google security exploit" without quotes. But I don't think Justin Bieber or Google have more security issues than Java browser plugins.

comment 13y ago · link · parent

> It's important to divorce the concepts of operational metrics and product analytics.

I don't think operational and product analytics are different in principle. In both cases, the best speed for analytics matches the speed of taking action on the results.

In ops, there are people whose very job is to respond to a server crash in 2 minutes. In product design, there are no actions taken within minutes of seeing the change in data - so faster analytics just wastes time on refresh-procrastination, and encourages needlessly hasty decisions.

comment 13y ago · link · parent

While this sounds very cool, and my inner geek would love this dashboard on the wall of the office - is it actually useful or is it a distraction?

What actions or decisions would you make within minutes of seeing the results? If product changes take days or weeks, daily analytics is just as useful, and stops people wasting time on looking at the data more than once per day.

comment 13y ago · link · parent

Having seen some of Dr Spiegelhalter's talks in person, he most certainly knows that the units are not based on a meaningful operation.

He is extremely passionate about explaining uncertainty and risk to ordinary people. As an example, plenty of people think that "you either get cancer or not, so it's 50-50, and might as well leave it to chance". In other cases, politicians ask scientists for the "worst possible outcome" of an event, and then react as if it was a certainty or at least 10% probability, while in reality the risk might be extremely small.

Most people have trouble with the very concept of uncertainty. Microlives, and their opposite, micromorts (1-in-1M chance of dying while doing something) are helpful in comparing improbable-but-terrible events in terms of certain-but-insignificant, easier to understand concepts.

comment 13y ago · link · parent

In my experience, this is true - but it's also extremely difficult to predict what spec changes the users will surprise you with. If you add unnecessary abstractions, generalisations and configuration, you still spend days fixing later if they weren't added in the right places.

> "An order will only be paid for with one credit card"

Perhaps there will be a request to allow payment in multiple parts for orders, so adding the generality from the start saves time. But perhaps instead the spec change is to allow payment of multiple orders at a time. Or partial payments of multiple orders. Or payment in foreign currencies and bitcoin. Or not paying orders at all, but marking them "completed" for accounting at the end of the year.

Altogether, it's not possible to correctly predict the future feature set of the project to decide on the correct places to add abstractions, unless you are really great at product design and can read the future minds of whoever is coming up with the requirements.

comment 13y ago · link · parent

> It sounds vague and artsy but that's how I find it: "harmless" little ugly things add up to an aesthetic carnage. Yes, it's "premature optimization" if you look at things like a programmer, but the "designer mind" can't really separate "optimization" from "just getting things to work".

The same sort of technical ugliness and lack of optimization happens in plenty of programs.

In theory, one should never optimise prematurely, and get the application working first. Only at the end profile the speed, find the one single slow loop or algorithm, and optimise that.

But plenty of applications acquire slowness not due to one core slow algorithm, but a lack of concern for even trivial optimisations everywhere. You end up with something like Eclipse where a keypress can take multiple seconds to appear, or a "cancel" button might take minutes to stop whatever task. And there is no place to optimise, because the inefficiencies are spread out by tiny bits everywhere.

comment 13y ago · link · parent

This is a much better comparison.

Most programmers code to a "spec" - what they were asked to do. Only a small minority would voice their opinion if the spec is badly written or the product is not a good business idea.

comment 13y ago · link · parent

The problem with interfaces that learn from user behaviour is that they have to be almost perfect to be usable.

Simple, predictable interfaces that the user can understand and control are okay. Self-learning interfaces that do what the user wants are okay. But there is a gap between the two with poor (and even good but imperfect) learning interfaces.

A microwave that sets the timer itself would be great - unless it accidentally sets 5% of the meals on fire. Even a small failure rate is very frustrating, as the user cannot accurately predict and control their behaviour.

(It might be fine for a microwave - you can see that 20 minutes for a pack of popcorn is wrong, and cancel - but the same issues appear in many other interfaces.)

comment 13y ago · link · parent

> For whatever reason-- probably tenure-- he was allowed to stay.

I attended a very good university (by various rankings), and even there were a few terrible lecturers.

They are allowed to stay not because of tenure (they could stop lecturing and do research instead) or departmental indifference (the board of studies takes feedback seriously, and sometimes does "fire" lecturers from teaching particular classes). The reason is instead that there is nobody else to replace them.

The great professors teach a class in their specialty which they are most knowledgeable and enthusiastic about. But after that, there are many small undergraduate classes left over, which nobody wants to teach, but someone has to. Given that the other option would be to throw the class out of the syllabus, bad lecturers still stay as teachers.

One of the deeper reasons is that grant funding and academic careers depend only on the number of articles published. Being a good teacher (or teaching at all) is only a "distraction" done out of good-will or enthusiasm for the topic.

comment 13y ago · link · parent

More likely it's a generic error page that shows up due to the traffic load, and has not been updated to match the "unscheduled" nature.

A mistake, not a "lie as a matter of policy".

comment 13y ago · link · parent

Picasa Terms of Service are much more limited.

They ask for a license to store, display and publish your content, but this is explicitly limited to the use of operating the service. They need that license so that some user does not sue them for copyright infringement after uploading their own pictures and clicking "share".

Instagram/Facebook take a much broader license, which includes sub-licensing rights to third parties, including for profit and unrelated to the operation of Instagram itself.

comment 13y ago · link · parent

GMail has a nice 2-factor scheme. While the SMS might need external services, the app-based verification keys are based on open standards and open-source code, and can be added to any web application with about 10 lines of code: http://code.google.com/p/google-authenticator/

There is even a Unix login module for adding it to SSH.

comment 13y ago · link · parent

Does anyone have comments or thoughts on point #4: "complete the paperwork"?

Obviously, it makes sense to formally quit, and finish any tax and payment related papers. But is there a good reason why the employer should request signing any other lengthy contracts at termination? "Our legal department told us to" is the worst kind of argument - lawyers typically push to protect whoever is paying them from anything possible, not to clear up things in a balanced and reasonable manner. And if the employee is leaving, there should not be any loose ends that require additional contracts.

comment 13y ago · link · parent

> 2) I'm surprised they chose to use Google Authenticator. The favourite in this space seems to be Authy; off the top of my head Cloudflare and DNSimple both use them. Any thoughts on the pros and cons?

Briefly looking at Authy, it seems they do make things reasonably easy. But the pro sides of Google Authenticator is that it's just an Open-Source app implementing open standards. It doesn't require any third parties or network communication to work, and you can add it even to unix logins or SSH.

comment 13y ago · link · parent

Userspace programs already can choose what very vague preferences they have, using the taskset (processor affinity), nice and ionice commands.

But the main problem is that workloads are very complex, and often changing. A single userspace program is not even aware of other programs running on the machine, nor how the user thinks they should be prioritised.

If you are compiling something, do you want to to finish ASAP or a bit slower in the background without desktop sluggishness? What priority should a minimised browser window have at the same time? What if that browser window is also playing music from youtube?

At the moment, the scheduling hints that users can figure out is marking some processes as low-priority background tasks. Optimal scheduler tuning is too complex, because starting or quitting any application can completely change the optimal resource usage, and users only have a vague idea of what they expect from the scheduler ("everything should be fast").

527.

Ask HN: What's the easiest way to set up email forwarding on your own domain?

5 points · by ProblemFactory · 13y ago · 4 comments

comment 13y ago · link · parent

No, not at all. To put it simply, profit is cash flow over a long period.

A business might have customers on a monthly plan, paying $2000 over their entire lifetime. If it costs $1000 in sales and set-up expenses to get a customer, they are profitable. But the expenses have to be paid up front, whereas the income will trickle in over a long period.

This means that even profitable companies might need to take loans or raise financing if they need to pay for expenses now, but the income from those sales arrives in months or years down the line. A cash-flow positive company doesn't have the risk of running out of money while waiting for the profits to come in.

comment 13y ago · link · parent

> The long version is that during user creation sometimes you have fields that for whatever reason are not required by the database but are required for the user to enter in. This is because user creation is often more complex than it seems on the surface, and there is already existing django.contrib.auth.views that need this sort of configuration. REQUIRED_FIELDS gives you the control to force the user to enter data while not not altering the database.

Could you please explain this further? Is REQUIRED_FIELDS intended for use cases where some users are created by import/migration, but others by sign-up forms (with more requirements)?

From grepping the 1.5beta1 source code, it appears that the only place where REQUIRED_FIELDS is actually read is in contrib/auth/management/commands/createsuperuser.py.

comment 13y ago · link · parent

As some other commenters have mentioned, and I've experienced myself - there are a lot of "small but profitable projects" in the internet marketing and advertising space. The best approach might be to join or partner with an online marketing agency. They often have customers who want more than a simple web page, for example a Facebook game to go together with an advertising campaign.

That said, most software engineers in the world do not work for big-team, Computer-Science-heavy software companies. They work everywhere building internal software to support the business in various other fields. However, finding or selling to these companies might be more difficult as an individual freelancer, as they might not even realise that their work could be optimised with software.

comment 13y ago · link · parent

Because it renders acceptably in common browsers, and that's what actual users care about. If a website does not validate, only an extremely tiny subset of users who test websites in validators is going to care about it.

Google's home page is now huge with the javascript and Google+ additions - but it used to send invalid HTML missing end tags on purpose. Browsers still render unclosed tags when reaching the end of the response, and therefore they could send a smaller, faster HTML page by leaving off closing tags.

comment 13y ago · link · parent

You cannot dismiss arguments as marketing-speak just because they don't fit your high-performance viewpoint, and "marketers" have made similar arguments in the past.

The first two paragraphs are about one benefit: using otherwise idle resources. At my lab, we have five powerful servers for data-processing experiments and non-time-critical analytics. Most of the time they sit completely unused. By installing Xen and running things in virtual machines, we have been able to also put tens of differently configured web servers for various small projects on each.

The third paragraph is also very valuable from experience. It has been very useful to keep documentation around how different servers are set up, and verifying that the actual setup still matches the documentation. This has been easiest to ensure by having scripts that create a new VM, install packages and make configuration changes - if in doubt, completely delete the VM and re-create it from scratch with a single command-line.

comment 14y ago · link · parent

That tagline may explain the benefits of REST, but it doesn't really explain at all which problems REST is well-suited for and which not.

I've found that REST design is great for problems where the most visible abstraction is a document or an object (with operations or functions as secondary). It doesn't really fit problems where the most common abstraction is a function call (with the arguments a secondary concern).

comment 14y ago · link · parent

It's difficult to say what Anonymous stands for, because it's not a single organisation or group. Anyone can take the label of Anonymous when advocating a cause, and "become part of it".

Before Anonymous got "good guy" publicity for supporting Wikileaks, people calling themselves anonymous were mostly known for trolling: finding emotionally sensitive people and communities, and harassing them both online and offline for their own amusement.

comment 14y ago · link · parent

I disagree with the whole idea that the "Like-gate" is a problem. Fans of Facebook pages are not necessarily fans. They are people who have happened to click "like" on the page at some point. There are various reasons why people do so:

* perhaps they want to add their interests and likes to their profile, to show their friends what sort of music they listen to.

* perhaps they want to increase the like count of an issue they care about at a "single click worth".

* or perhaps they actually want to receive updates on the topic.

None of these automatically mean that they want to receive updates on the topic so much, that it should be among the top-10 news items of the day compared to their friends' posts. A "like" is much more effortless and not comparable to signing up for an email newsletter.

I don't see Facebook trying to make maximum money from pages with the newsfeed filtering, I see them trying to improve and spam-filter the content of the newsfeed for the benefit of the users. The "like-gate" scandal seems very similar to the SEO-community outrage every time Google changes their ranking algorithm - a community that forgets that if their pages got pushed down, someone else's probably more relevant page got pushed up.

comment 14y ago · link · parent

Apple gets away with it because they launched the SDK a year after the first iPhone, by which time it was extremely popular. Developers wanted to jump on the coolest platform at the time with millions of users, so a $99 fee wasn't too bad.

Microsoft doesn't have that luxury, as it's struggling to attract both users and developers. Discouraging hobbyists, students, and curious developers from just testing it out for fun is a terrible idea.

comment 14y ago · link · parent

> Epilepsy Foundation was widely speculated to be a Church of Scientology false-flag operation.

A curious thought: are false-flag operations even possible with Anonymous, which is a label anyone can take, not an organisation?

If Church of Scientology decides to hack Epilepsy foundation and call themselves Anonymous, then they are Anonymous. And hacking to troll and upset some group of people is certainly within the usual motivations of Anonymous activity.

comment 14y ago · link · parent

Bootstrap as a "free design template" is great, when hiring a professional graphic designer and CSS expert are not an option.

And even when it is, most restaurant websites in the world would be better off with a standard Bootstrap template rather than the horrid Flash+PDF designs that they currently use.

comment 14y ago · link · parent

I'm not familiar with the specifics of Falcon9 redundancy. But in theory, losing many engines can be completely recoverable, because all 9 engines share a single fuel tank.

Outside of atmosphere, a rocket's final speed and orbit depend on three factors: the mass of the payload, the mass of the fuel, and the inherent engine design efficiency. Notably, it does not depend on thrust. Burning one engine for 9 seconds results in a speed boost equal to burning 9 engines for 1 second.

Even if an engine fails and another one is set to reduced thrust, the fuel is still there, and can be burned by remaining engines.

Of course, this is a huge simplification, and loss of thrust while still in atmosphere or near the ground might be a problem.

comment 14y ago · link · parent

The problem with most recruiting sites is the lack of (competent) candidates.

And this is because highly competent candidates are never deliberately looking for a job. They get recruited to a pretty good job before they have even started thinking of jobs from college, and then get recruited to other companies by an old friend. It's extremely rare that they are ever considering themselves to be a "job seeker" at all.

These people don't bother reading recruitment-only sites in their free time. And they certainly don't want to create a job-seeking profile, and get in trouble with their boss who thinks they may be leaving.

But what they are very interested in is reading about their field of speciality. When I was sourcing candidates, the only online places where I found qualified engineers were the StackOverflow and 37signals job boards. These two are successful because they built the community and content that competent candidates want to visit daily first, and added a job board second. I have no expertise in mechanical engineering, but GrabCad seems to be doing it well in that area.

So my theory for running a successful recruiting site is:

1. Choose a single profession, skill, or field. 2. Create seed content yourself to attract initial experts in that field. 3. Add community features to let these initial experts contribute more content. 4. When you have become a well-known site for most experts in the field, add job boards.

1
1516171819