HNHacker News
TopNewBestAskShowJobs

velox_io

407 karma · joined May 6, 2014

submissionscomments
velox_io··on Google terminating YouTube channels and videos (2016)
I only skimmed their website, but I didn't see user aliasing[edit: they do aliasing & wildcards], or shared accounts. In fact any real mailbox features?

I am becoming concerned about the power Google has over my life (have been for a while). They know what you're reading (Chrome, even in incognito mode via DNS), what your thinking (web searches), who you're in contact with (Gmail, Android + their Apps), not to mention maps and what they do with your photos/ drive data. Even patient data with the NHS sharing data with Deepmind[0]. The company needs to broken up as the Did with Microsoft years ago.

[0]http://www.bbc.co.uk/news/technology-40497020

velox_io··on In Search Of The Red Cross' $500M In Haiti Relief (2015)
Ooh some downvotes, care to explain? Or should everyone one one this website share the same opinion?

Edit: I was merely making the point that if charities were more transparent. More people would donate (whilst possibly becoming more efficient in the process).

As for regards to mentioning the illness. To have something that makes a major impact on one's life, yet not be passionate about related charities, illustrates that there is a problem with many of today's charities.

velox_io··on In Search Of The Red Cross' $500M In Haiti Relief (2015)
Whenever I see a charity ad that tugs on my heart strings, I check their directors salaries* and my conscience is pretty clear. I have no issue with capitalism, but for people who do want a high salary (many don't), then perhaps the charity sector isn't the best option.

I'd like a similar scheme as food labelling colour codes. So key facts such as % to cause, % to management team, top salary K. This would greatly aid in transparency, rather than trying to read their financial's which are often little more than a glossy brochure. Plus, more auditing on the bigger ones to investigate large inefficiencies/ backhanders wouldn't be a bad idea.

*That's not including their expenses, which I bet are astronomical.

PS: I get that some charities have higher operating costs (e.g. medical research). Especially when I myself suffer from quite a rare condition called CRPS (unfortunately one of the most painful conditions known..), yet I struggle to recommend a charity that is making a difference. I'd love something to go viral like the ice-bucket challenge, but I don't see a way that wouldn't result in serious injuries.

velox_io··on Uber London loses licence to operate
The same week I read about the Gett-Blackcab bus partnership (woohoo one route, that will make a difference..). £20 for a hour's drive in a Mercedes E class (with a driver) is hurting the protection racket?

Other news, the government is offering huge subsidies/ grants for conglomerates working on driverless cars and lorries.

Btw: I trust a computer more than most London drivers.

velox_io··on I mean, why not tell everyone our password hashes?
In theory it could happen..

but something like this is strengthened through password stretching. I think this is good practice anyway as it makes them much harder to brute force/ dictionary attack if the data compromised.

velox_io··on Startups that were massively funded that died in 2017
You have to wonder how they got through a billion of VC money and couldn't make their company a success?

I'm sure more food delivery and taxi startups will fail in the next few years. Such aggressive markets, hoping that they can undercut their competitors for longer and conker the market.

velox_io··on More Millennials Are Having Strokes
"In women of reproductive age, periods are the most common cause of iron deficiency anaemia."

http://www.nhs.uk/Conditions/Anaemia-iron-deficiency-/Pages/...

velox_io··on More Millennials Are Having Strokes
The reason more females have it is because of blood loss from periods (Iron is needed to make up Red-blood cells).

I had IDA for over a year. My doctor tried to fix/ mask it with iron supplements, turns out was a coeliac. Which explains why I was constantly felt lethargic/ hung-over.

Pro tip: Don't trust everything your doctor says (new Dr suspected it and ordered tests straight away).

velox_io··on Nevada becomes fifth US state to allow cannabis sales for recreational purposes
Thank you, but Biggie & Tupac brought the East/ West coast divide to attention 20 years ago.

It does annoy that here in the UK, the only licensed use for medical Marijuana (Sativex) is to treat MS. This has to be a better option than using strong opiates such Fentanyl for people like myself.

velox_io··on Anti-addiction drug maker found a captive market in the criminal justice system
It seems insane having a Judge prescribe treatment options. Addicts who wish to give up are definitely a medical case and should be treated likewise. Tapering off Opiates does work. Let's not forget that it was prescription meds being pulled away (without support) that caused the huge rise in people turning to heroine. I have quite a strong view that prescribing pain medication should be referred to specialists after six months and/ or stronger medication than co-codamol is needed.

I suffer from Chronic pain and have been prescribed Buprenorphine in the past (Butrans, which don't have the same counter-measures as Subutex), unfortunately they are no longer adequate for me (the patches get pretty big in higher doses).

velox_io··on TDD did not live up to expectations
TDD is a nice idea, however TDD can add quite a bit of overhead. Upfront overhead, before writing any code. This isn't a problem if it is justified/ needed. Plus the tests can become more cumbersome when code changes, more baggage to carry.

Testing often becomes a KPI, and therefor is commonly gamed. Doing the bare minimum to tick '100% code converge!'. I'm a fan of contracts to test the spec and boundaries(whether human or other application) of software.

TDD requires discipline and experience; You could spend an infinite amount of time writing tests and never deliver, or the other extreme becoming incapacitated fighting bugs.

Our first priority should be crash-free software, THEN start to think about making it bug free.

velox_io··on AMD's Future in Servers: New 7000-Series CPUs Launched and EPYC Analysis
I forgot the Q6600 was dual-die, probably the best bang for buck CPU I've ever purchased (first popular quad-core & huge overclocking potential).

I think AMD reusing the same dies is quite elegant (everything* scales as you add more cores). The inter-die bandwidth/ latency shouldn't really be a problem, because if more than 8 cores are dependant on the same data - locking issues would make any additional cores useless anyway. If they can get NUMA tuned correctly things should work nicely.

*it's strange that they all have the same amount of L3 cache.

Does anybody have contacts with AMD's marketing/ engineering department who can provide test units?

velox_io··on How Scratch teaches kids to follow the hacker ethic
True, it's kind of a shame that more of the features from Bred Victor's demos haven't made it into mainstream IDE's, such as:-

Inventing on Principle - https://www.youtube.com/watch?v=PUv66718DII (He has a handful of great demos on Youtube and Vimeo).

Another interesting source is Epic's Unreal Engine Dev tools - https://www.youtube.com/watch?v=DshYHUvLaDc

velox_io··on Leaked document reveals UK plans for wider internet surveillance
Politicians medaling with technology rarely ends well..

If they force ISPs to keep detailed logs and ban encrypted messaging Apps, more people will just start using VPNs.

RE: Brexit, there where so many lies during the referendum, if they ran it again the result would be very different. This whole thing feels like a death march.

The EU cannot let Britain exit cleanly as it will destabilise the union.

Don't get me started on May or Corbyn.

velox_io··on How Scratch teaches kids to follow the hacker ethic
I think the main benefit of a graphical language, as opposed to text-based is the rapid feedback loop. You see the response after every click.

This is the same reason so many people can build complex spreadsheets, yet wouldn't know where to start if you put them in front of an IDE.

I brought a book 'Computer coding for kids by Carol Vorderman' for a friend's daughters for Xmas (aged 6 and 8, both VERY bright with grades above their age groups). As learning to program makes you think differently, especially problem solving skills. It's gone down really well. Especially with older one who spends hours reading the book, even when she doesn't have computer access (and is now set on buying Chromebook with her pocket money).

A language such as Scratch is great for sparking initial interest, before going on to more depth.

velox_io··on Resources on creating programming languages
This is one of the most overlooked topics in computing.

I've developed an in-memory database, naturally with it's own programming language.

I disagree that you have to have an application in mind to design your language (sorry GP). But, you definitely need use-cases in mind as every decision has trade-offs..

Some are discoveries I've made along the way: 1. High-level - I remember having a for-each loop zoomed in on my TV, I may have looked at the for a couple of hours as I looked at it and thought "how can I make it better", and it did pay off!

2. Parsers/ Lexers - I couldn't find one that worked the way I needed to (allowed me to remove lexemes that would normally be considered essential). So I started writing my own..

3. Abstract Syntax Trees (ASTs) - I don't think there's a guide on compilers that doesn't mention ASTs. I found this to be more of a hindrance than help. So I removed it, yes the parser generates the program code!!! All that is needed is a small stack of the starting points. This actually works better than anticipated. It's still a single pass compiler, and you rarely need to know to what is next (before delegating). There's checks at every step, the program can also generate sourcecode (reverse engineer itself). So moving away from ASTs doesn't mean that the program is harder to test. A unexpected result of going down this path means that the compiler 'understands' the code better than than most, able to supply actual suggestions rather than cryptic error messages. In-fact it will reject code that won't compile, or breaks dependencies.

The lesson here is don't be afraid to experiment. Yes it has taken some time, with improvements in each iteration (I've done some house keeping in the recently, swapping out ~30% of the parser and it hasn't been as daunting as you might imaging).

velox_io··on Tor blocked in Turkey as government cracks down on VPN use
I read about this too, it sounds like a firewall to me.

Source: http://www.standard.co.uk/news/crime/police-must-be-given-po...

velox_io··on Why is .NET reflection slow?
Thanks!

I guess I should have said that LINQ is a bit of a mine-field; it can generate some very arcane code/ expression trees from relatively simple predicates. I would have loved to have used it (would have saved me writing a query engine), there was simple too much performance overhead (especially memory usage).

velox_io··on Why is .NET reflection slow?
While the GC will run under load, the JIT is treated as a luxury and as far as I'm aware, it will only run when there's spare CPU (it makes sense to not interrupt the program while it's busy).

If you follow the Build -> Test cycle, the JIT won't kick in (the JIT will run about 10 seconds after heavy load, even while it's running).

It's true that the JITted code it cached, this is lost every time you rebuild the application/ library). Speaking of cache, one thing I only came across recently is that if you install the library into the GAC, the JIT seems to be even more aggressive - the code runs faster than a standalone DLL (even with identical stress-testing/ wear-in).

velox_io··on NASA just launched 8 satellites from a rocket dropped from a plane at 40,000ft
So say a 4000m launchpad is feasible, that's 2% of the needed altitude. While gravity will be roughly the same (yeah it's higher altitute, but there's the mass from the mountain). There is much less atmosphere* (~50% less pressure & 1/3 less of it to get through).

Given that payload to fuel ratio is roughly 1:10, this does seem to add up to a significant saving.

*Air pressure numbers http://www.mide.com/pages/air-pressure-at-altitude-calculato...

velox_io··on NASA just launched 8 satellites from a rocket dropped from a plane at 40,000ft
A little off topic.. I've always wondered why NASA lunched rockets from Cape Canaveral (only 3 meters above sea level).

Granted, it's a little tricky to transport rockets, but surely it would have made more sense to move the operations to a mountain near the equator?

How much fuel would be saved by lunching 3000 meters above sea level instead?

velox_io··on Why is .NET reflection slow?
This is really interesting! (It's not often I associate a thesis with cool).

I'll definitely give this a deeper read.

velox_io··on Why is .NET reflection slow?
Reflection is fine, just never use it inside a tight loop/ hot code path.

I've written a database engine in C#/ .net and I quickly learnt what you can and can't use. Using the dynamic/ expando parts have insane memory costs.

You have to be very careful what language features you use. If you want performance then static methods are your friend, as are Generics (sometimes sealed classes), arrays & vectors (you start to realise how important CPU cache is). Memory streams & pointers are sometimes needed, but gains are often less than you'd think.

Visual Studio has some really good debugging tools, especially viewing the disassembly (hit a breakpoint then ctrl+alt+d) to see what is really happening.

I love Linq, but it can be awfully slow.

Lastly, when you run tests. Make sure you not only do multiple runs, but also pause in-between. I've seen the jit yield >20% improvements in micro-benchmarks

I will blog about this stuff one day!

velox_io··on I'm prescribed Fentanyl – AMA
A few times, and it did help. I can see it working better than opiates for many patients.

It seems the reason it isn't prescribed in the UK (I believe it's only available to some MS patients), is for political reasons. Maybe if they put the cannabinoids in a pill it's usage may be far more widespread.

velox_io··on I'm prescribed Fentanyl – AMA
If you look at it from a business perspective, it's much more efficient to smuggle stronger drugs. The problem is that Illegal drugs do not have the same quality control as regulated medicine, when one is 50 times stronger small mistakes are deadly.

There's no easy solution for opiate addicts if they want to get high. I do think law and society need to view/ treat addiction has a health issue rather than criminal.

The biggest problem I've had with my medicine is from Naproxen (a NSAID), for around a year I suffered from Iron deficiency anaemia (I was prescribed Iron supplements to try and mask the issue), I still lost a lot of weight and more severe bleeding. To the extent that a different doctor was so concerned she wanted to rush me to hospital. I'm now diagnosed as a coeliac which I believe is caused by the long term Naproxen use (the jury is still out on the relation, one doctor swore blindly that there is no correlation between NSAIDs and coeliac disease), I'm the first in my family and it's meant to be hereditary..

Now I only use a topical NSAID gel, which is another reason for needing stronger medication. One good thing about switching to patches is they have less impact on your gastrointestinal tract. Strangely, I seem to have no issue with constipation (a common opiate side-effect).

velox_io··on I'm prescribed Fentanyl – AMA
It's overly Auto-tuned!

Opiates play a vital role if they're respected my both the practitioners and patients. I don't think they are something to mess around with or joke about, Fentanyl is very dangerous if abused as a small mistake with the dosage often leads to death.

However, I do think that medicine is too reliant on big-pharma. It's too easy to hand out pills rather look at other treatments. There's exercise, hot/cold therapy, natural medicine (such as weed). Even mood has a large factor in how pain is perceived.

velox_io··on I'm prescribed Fentanyl – AMA
Don't be, I have a good quality of life (even started going to the gym again, can't do cardio but that doesn't stop me doing weights). Only thing really missing is that I've stopped travelling (a two hour train journey is pretty much my threshold and being cooped up on a plane sounds like hell). Dating kind of sucks, there's the moment where my injuring crops up and you can seem the moment where the date has turned south. Most girls don't seem to have a romantic image walking along the beach with a guy on crutches, I can't really complain is I've dumped girls too.

I really didn't see this coming, even after the accident I thought I'd go back for a cheeky ski trip with the insurance money. One good thing, is that this has given me an appreciation for things (I was somewhat coasting through life at the time), when I have a good day I make the most of it.

A knee replacement is a fix, although not ideal. There is no going back and would mean having to get my knee replaced every 10 years, could be as low as 5, plus it takes around a year to recover each time (I'm in my early 30s so this means numerous operations). Having met many people in hospital who've had hip and knee replacements, it's not something I'm keen on. Saying that I have an uncle who had his knee replaced 15 years ago and has had zero problems.

With the medical advancements, even being able to grow cartilage from stem cells. I want another go at getting it repaired (was SO close last time!), although I am tempted to go the knee replacement route..

velox_io··on I'm prescribed Fentanyl – AMA
On a bad day I cannot move, I lay in a darkened room as everything seems to annoy me (light, noise, even my own music). A few months ago, this meant that I couldn't get out of the house to pick my prescription (on a Friday), and it wasn't until the following Tuesday that I was able to pick them up. That wasn't a fun time, I should of got some help but I like my independence.

I was running my own business at the time, and found it very hard to work. I turned down new projects, only trying to support my existing clients. Luckily I was able to work from home, but the injury still meant I lost a lot of income and have had to use a significant amount of my savings.

It has been very important to me to help working and not rely on benefits as a friend of mine from college injured his back, he lost touch with his friends, spent all day playing computer games and he will be 40 soon and is still living in his parents attic. It's not been easy, but I am glad I stock with it. I did become isolated (Facebook & the web became my window to the world), work was actually the main thing that got me through this time. I moved to London a couple of years ago, where because of the fantastic public transport (baring the occasional strike) I'm able to get around and not be isolated. I strongly believe if I didn't move that I wouldn't be here now.

You're meant to taper off the medication as there's a large risk of withdrawals. I stopped taking Tramadol dead two weeks after the operation (day I had my stitches out, and started swimming the next). The only noticeable side effect/ withdrawal was a running nose. So believe I can do it again.

I made the mistake of wearing a patch in the sauna (I thought holding a bag of iced water over it would keep it stable). The high dose made me disorientated and may heart beat did go noticeably shallow for a couple of hours afterwards. Not a mistake I will repeat, I'll remove the patch before taking a bath or sauna again.

That's quite alright, I find it annoying that the only time Fentanyl is discussed (Opiates in general) is death and addiction.

velox_io··on I'm prescribed Fentanyl – AMA
I've been through most Opiates, was on Codeine & Tramadol for two years (because my GP was scared of me becoming a addict), during that time I found it very hard to sleep properly (I'd even go as far as say the prolonged periods of sleep deprecation was worse than the pain).

I do strongly believe GP's shouldn't be prescribing pain meds for prolonged periods. They should refer patients to pain specialised after six month or if the patient complains that medication isn't adequate as pain is a very complex subject.

Then I was refereed to pain clinic, I was prescribed Amitripyline (it's not a Opioid), which was used as an anti-depressant (~150mg), but in much lower dosages (~30mg) it works for nerve pain. One side effect (which is actually great for me) is that it does make you drowsy, so taking it in the evening greatly improves sleep.

I've also tried Hydrocodone (which I found very good), occasional Oxycodone for breakout-pain. I've found patches (initially Buprenorphine) to be much more beneficial as they provide stable relief and lesson waking in the middle of the night/ early morning as traditional pills wear off.

The biggest increase to my prescription was just over a year ago when I did some intensive physio to try and beat the CRPS (there's some good medical data to back this up), unfortunately it meant I need to for from 5mg of Buprenorphine to 20mg (the max dose) in the course of about three months. After I stopped the treatment the pain didn't really subside.

I switched to Fentanyl patches a few months ago as the Buprenorphine wasn't working. Initially for trial, but we decided to switch to them as there were very little side effects and these mean not needing anything for the breakout pain. The stronger meds seem to do very little for the day to day pain (pain becomes normal), but seem to be far more effective when the pain is bad.

Fentanyl is the first drug to scare me, the first thing I did when applying the patches was watch some of the material on Youtube (addiction & deaths) to give me a healthy respect for the drugs.

velox_io··on I'm prescribed Fentanyl – AMA
The Wikipedia entry is on the extreme end of the scale, luckily my case isn't as severe. My injury is the result of a skiing injury (and following operations) 5 years ago. I'm actually glad to have physical symptoms (swelling & brushing in my left knee, and when it's really bad my left foot also swells) as most medical doctors will try and convince you that you are crazy. On my last MRI the Dr tried to convince me that there was nothing wrong as he viewed the MRI results (he barely looked at me), I simply pointed at my knee and said "It's purple!".

The worst part is when it flares up, the best I can describe the nerve pain is like cramp but it is absolutely excruciating (the only way to treat it is to run a cold shower over my leg). The Fentanyl patches does help tone down the extreme end (I don't normally take anything for the breakout-pain as it's a slippery slope). I actually find cold compresses to be the best treatment for the swelling and have a constant rotation of icepacks in the freezer at home and fridge in the office). There's often a dull pain, part of which feels like I need to go to the toilet (so I end up going much more often 'just in case').

The annoying thing is that my last operation temporally fixed my knee (they removed some of the fatpad (hoffa's syndrome) in summer 2013). For three months I was able to stop taking pain killers (Tramadol at the time), swim, get back in the gym and cycle (although I never really went for it, I have a carbon-fibre road bike still in storage). It started getting painful after exercising, and gradually over six months later I was back on crutches. :(

I believe there is an underlying issue with my knee which can still be repaired. Unfortunately the Dr's I've spoke to are scared to operate (they find my case interesting until they can't figure it out and then refer me). I want to try another operation to repair it before going for a knee replacement.

← PreviousPage 5 of 9Next →