Recent submissions

Comment · 4 years ago
Comment · 5 years ago
> company luxury cars for the executives, a company home that they let the CEO live in, and executive compensation

All those should be taxed like the equivalent of income for those executives, which is a higher rate than the corporate tax rate. If these benefits in kind are not taxed as income, then it is fraud.

Comment · 6 years ago
Does anyone know of a good KeepassX client on iOS?
Comment · 6 years ago
Provinces aren't states, but, for example, I live in a distinct nation to you (I assume, if you are under the "aegis of Britain" ;)

There is no written constitution, but there are specific acts, charters and traditions that form constitutional law, and define the clear divisions of responsibility between the provincial and federal government. That includes my government's right to set laws about signage of commercial establishments, specific consumer rights I get, and also the commercial law around the sale of both alcohol and cannabis.

Comment · 6 years ago
Because it is unconstitutional for the federal government to but into commercial law that is not under it's purview?
Comment · 7 years ago
Yes, and slowly upgrade from bcrypt(sha1(password)) to just bcrypt(password) as uses reenter their password. Do the same when you finally upgrade from bcrypt to whatever is next. No harm in specifying the encryption 'state' in your database for each user.
Comment · 7 years ago
And if you really spend a lot of time in a python debugger, pudb (https://pypi.org/project/pudb/) is a lot of fun. It includes a full curses debugger, it saves breakpoints between runs, can run any interpreter (ipython, bpython, ...) you want, etc.

And since it's console only, you can even run it remotely without too much hassle.

Comment · 7 years ago
One complaint about buildbot is that if you get too creative, your buildmaster.cfg gets very hard to maintain, but if you stay very diligent, just having python (and being able to print or log whatevery is happening) makes debugging and having complex setups be very easy.

Also, if you ever need to schedule jobs/tasks (not just ci builds) across multiple machines, buildbot is great because all you need is a master, and slave python processes which just need a network connection to the master.

Comment · 7 years ago
Maybe the spry takeaway is that you should write tests for things you want to make sure they will not break.

Your UI being off by a pixel won't break your application, so if a test hangs on that, then it is not a good test.

However, your business logic, or network protocol routine, those should not break even if you heavily refactor or add new features (especially business logic where a broken behaviour might seem correct), so those need to be heavily tested.

If it is hard to test the juicy parts like business logic without also dragging in the UI, different OS/platform/db parts, etc, then you should look at how your application is structured and if it is really optimized for writing good tests.

Comment · 8 years ago
> Audit FOSS and sell your audit guarantees in a contract

Pay Redhat enough and they will do that. Although you will be limited in what you can use.

Comment · 8 years ago
Really? There are no suburbs in Canada? There were sure a lot of poor neighborhoods in Montréal near the downtown core in the 60's and a lot of residential development on the South Shore and the West Island.
Comment · 8 years ago
The VPN has as much a view in your traffic as your ISP or mobile carrier, for what it's worth.
Comment · 8 years ago
Inflation won’t do anything to your fixed-rate debt, but hopefully it will increase your wages to make the debt easier to pay.
Comment · 8 years ago
Then why not a contractor? If you trust nobody, at least you can protect yourself with a contact.
Comment · 8 years ago
I am sure everyone has stories about how awful their HR department it, but if you do not trust HR, then who do you trust in your company? Your boss? Nobody?

And, assuming you are a white collar worker (like a programmer) with a full-time permanent job, if you do not trust anybody where you work, why have a permanent position? Why not either become a contractor, or join a job with a union to collectively bargain for you? Are you not the ultimate chump in participating in a system where you are bargaining implicitly from the weakest position?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton