HNHacker News
TopNewBestAskShowJobs

scraft

613 karma · joined June 24, 2015

submissionscomments
scraft··on Matrix Multiplication
But of course when you have encoded the scale, rotate and translate into the matrix, it isn't possible to decode it back out to your original values. This is obvious if you consider the fact the following produce identical matrices (just consider 2D for now):

1. Scale in X and Y of -1

2. Z rotation of 180

scraft··on Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
Whilst I am glad to hear about ConEmu; I have to disagree, I use windows cmd.exe very regularly, and know lots of other people that do, and I have never used ConEmu before! I might give it a try now I know about it.
scraft··on Code I’m Still Ashamed Of
I just wanted to say I hope the OP isn't beating themselves up about what happened. In terms of moral integrity I feel they did very well to, at a relatively young age, take the decision to quit. I understand the point of the article (we may be developers at the end of the chain, and there maybe lots of people legally and ethically responsible above us, but we can still stand up for what is right) but at the same time, until you read something like this, or are in the situation yourself, it is common for people not to appreciate the knock on of what we do. If the OP hadn't made the quiz, someone else would have, this isn't to say people can't take a stand, but it is more to say no matter what they did that person would still be dead.

So my respect to the developer in question, I'm fairly sure I would have continued to work there. I would have just said to myself that these things happen, there are laws in place to protect people, if the laws aren't good enough we should campaign for change, I'm just a developer move data around a machine, etc. But I sort of assume by time I get to my death bed, I'll probably look back over my life and decide I made most decisions wrong, rather than work hard for success, fortune, etc. perhaps favouring compassion, helping others, charity work, etc. would have actually be a life better spent. So for the time being I'll give credit to those who take the moral high ground!

scraft··on All Tesla Cars Being Produced Now Have Full Self-Driving Hardware
Interesting for two reasons:

1. It is a self driving car, it is so clearly the future, I wish it existed now, it is going to be awesome (in my opinion).

2. Despite knowing about and following news about driverless cars for a while, there was something surprisingly (to me) compelling about watching the video. It's like you get a little taste of the full A to B that it can give you (door to door).

Who wants to speculate how long it will be until self-driving cars are common place in the UK? I need to know how long I have to save..!

scraft··on Be Kind
Nice little read. There is that little answer in the back of my head of:

"It is a good question why I caused this problem. It is weird to think there is a competent company that has been around for so many years, yet they have no procedures in place to stop this from happening. You would think that any changes that could cause downtime on a clients website would go through an automatic test suite and only after passing all tests would it be tested by human QA and finally made live. In this particular case I am the one who has made a mistake, and being a sensible person who is eager to constantly better myself, I will try and learn from this error, however I work alongside dozens of other people on my team who like me, have every chance of making a mistake at some point. It seems like a bad policy for us as a company to say that we should expect every person on the team to break a clients site and then rely on overtime from other people to fix it. So of course I will try and do better, but this is not fixing the root of the problem, the root of the problem is something that needs to be fixed at a much higher level. Have you, as my boss, not considered this problem already? What has the company learned from this? I would be happy to be part of the team that solves this problem by creating unit tests and creating policy to avoid this."

Of course I purposely make this slightly stand-off-ish, over the top, and written from a very specific perspective, to illustrate a point. But the reason I do this is I absolutely agree a single developer shouldn't feel bad about making a mistake (they should try not to, but these things happen), but the company should put measures in place to minimise the impact of mistakes. When the company fails to do this, the company has screwed up a lot more than the developer.

scraft··on The Dutch Reach: Clever Workaround to Keep Cyclists from Getting “Doored”
I am curious about how may incidents are caused from people that consistently are a bit lazy, and how many are caused by people that make a one off mistake. It is a genuine question. The reason it comes to my mind is recently I was doing a three point turn (actually a 20 point turn) to get out of my drive way, as other cars had left me with almost no space to get out, part of this manouver involved me having to pump up onto the kerb when reversing, and just after doing it, I saw a little girl appear from behind my car on her scooter, she then stopped and looked at me. I didn't find out from her (she disappear shortly after) whether I had almost hit her, or not, but either way it shook me up a little, as I appreciate I could have so easily caused an accident, and I would say I am a very careful, cautious driver. In this particular scenario other road users had left the cars parked in a way that bumping up the kerb was my only option, but I simply didn't see this small girl, I think she came from behind a parked car, so I couldn't see her. Luckily no harm was done, but it shook me up a little. Hopefully it'll reduce my chances of having a similar incident in future as it'll make more more vigilent to my surroundings.
scraft··on Pixel smartphone camera review: At the top
A lot of the comments on the linked site, are disappointed (shall we say) at lack of night photographs, as they believe it is the low light conditions that the new iPhones are really quite impressive (so claiming the Pixel is #1 annoys them).

For the record, I've never owned an iPhone, and am very interested in seeing how the Pixel works out, but I just thought I'd mention the comments in case anyone had missed them..!

scraft··on I stopped contributing to stackoverflow, but it's not declining
I have 851 reputation (top 39% of all users), I have answered 15 questions, about 50% haven't received any points, a few have received a minimal amount, and two or three have received a bunch of points.

My answers are generally to quite niche topics, I have never gone out of my way to answer questions, I typically post an answer when I have invested a good chunk of time to find the solution to something and then see a question about the same issue. I sometimes see questions I could answer (or improve existing answers), but do not provide an answer as I find it hard to justify the time, I feel that if I wanted to rack up points on stackoverflow it wouldn't be that hard to post several answers a day.

My reputation has gone up pretty much steadily, for the last three years, with an average of about 3 or 4 posts per year. I am a pretty light user, and being in the top 39%, if anything, surprises me as I could easily imagine being in the top 80%.

I find stackoverflow very useful, I work in games development which is quite a broad subject, in an ideal world I'd have very in depth knowledge about hundreds of topics, but in reality stackoverflow allows me to get quick answers to a huge amount of questions/problems, which in turn gives me more time to devote on area which I feel are most important. I haven't noticed stackoverflow going down hill in the time I have used it.

scraft··on Why Finnish babies sleep in cardboard boxes (2013)
I have seen this one before, but was happy to read through it again. I have zero interest in having children, but think this is a great idea and would be more than happy for my taxes to help pay for it. The thing is, if this did exist in the UK (where I live), it feels like it would be the first thing to be dropped at the next budget - feels like the only chance it would have of existing in the UK would have been if it was introduced 25+ years ago :(
scraft··on Tabs or spaces – Parsing a 1B files among 14 programming languages
I've worked for 10+ years in the games industry, ranging from 10 a man 'indie' studio to 400 people (large for the games sector) studios. I am struggling to think of any project I have worked on that hasn't used tabs (including a huge Python project). This maybe a completely irrelevant data point, but I wondered if there is a chance the games industry has a natural preference for tabs?
scraft··on How to assign partial credit on an exam of true-false questions?
I suppose if you combine this approach with the theory that nothing is 100% certain you end up with a test that is impossible to get 100% on (which I guess makes perfect sense as nothing is 100% certain). But back to reality, if you set students tests where a 100% confident answer being wrong instantly meant they fail, it feels like you are no longer testing the student on the subject matter in question and instead are testing their ability to play the probability meta-test game.

The task itself of working out how 'confident' you feel about an answer also feels like an impossible task (almost like a non-technical project manager asking a developer how long a task will take). I guess it would be fun to see the results of tests taken using this approach and then compare the scores with the new system, the old system and ultimately what they get as their final grade in the subject.

scraft··on HTC Vive (Steam VR) is now available for pre-order
We have a 960 GTX at work, and it really doesn't cut it for the content currently available on the Vive. It seems 980 is really what you need to have to get a decent experience, and to be honest 980 TI would be ideal (although the cost is intense..)
scraft··on Ask HN: What stationary are you using?
I found out, just yesterday, that it is stationery (with an ery) when talking about office supplies and stationary (with an ary) when talking about something that isn't moving. I'm not a grammar nazi and I don't care how people spell it at all, I was just interested that after years I had always been getting it wrong, so I am just sharing it here!
scraft··on Ask HN: C/C++ adjusting variables at runtime
I also stumbled upon microprofile https://bitbucket.org/jonasmeyer/microprofile which has similarities to Remotery.
scraft··on Ask HN: C/C++ adjusting variables at runtime
Well, I have integrated Remotery, not what I was looking for but pretty cool. I have made a bunch of feature requests for it which would bring it more in line with other profilers: https://github.com/Celtoys/Remotery/issues/47
scraft··on Ask HN: C/C++ adjusting variables at runtime
The first post on here lists a lot of cool things it would be nice to be able to do... https://www.reddit.com/r/programming/comments/36d190/h2o_is_...
scraft··on Ask HN: C/C++ adjusting variables at runtime
I have come across GLConsole http://www.robots.ox.ac.uk/~gsibley/GLConsole/ and CVars https://github.com/arpg/CVars and http://anttweakbar.sourceforge.net/doc/ which are definitely along the lines of what I was after. I just seem to specifically remember something that displayed the information via a webserver, at the time I remember thinking I'll come back to integrate it at a later date, but now can't find the original source!
← PreviousPage 4 of 4