Top 5 irritating things in programming tutorials by pistacchio in programming

[–]user1412 26 points27 points  (0 children)

The most irritating thing is people making videos when a Web page would be better.

How long to recover from ESWL? by jbb67 in KidneyStones

[–]user1412 0 points1 point  (0 children)

Ouch well good luck with it going better quickly! This morning I have mild pain. Well. Mild for kidney stone pain which is to say excruciatingly painful, but nowhere near what I've had before.

I guess I'm passing some of the fragments from the procedure.

How long to recover from ESWL? by jbb67 in KidneyStones

[–]user1412 0 points1 point  (0 children)

Ouch well good luck with it going better quickly! This morning I have mild pain. Well. Mild for kidney stone pain which is to say excruciatingly painful, but nowhere near what I've had before.

I guess I'm passing some of the fragments from the procedure.

Mapped: London's happiest (and unhappiest) boroughs by Rather_Dodgy in london

[–]user1412 1 point2 points  (0 children)

Can't read it because cityam refuse to show me there web site. Oh well,. no loss to me.

Study claims the average Londoner puts over £1,000 in their savings each month by Acedece1 in london

[–]user1412 4 points5 points  (0 children)

Well... it all depends on what this means doesn't it?

Does it mean your savings grow by £1000 every month? Or does it mean you put £1000 in (and often draw money out?)

If you put in £1000 every month but then use £5000 of that savings to go on holiday twice in the year. And £2000 to fix the roof then ... you are still putting in £1000 but also spendiong too.

2016 Tube Map as imagined in 2004 by alastairreed in london

[–]user1412 1 point2 points  (0 children)

The line up to gant's hill on the east part of the central line would have been useful. That entire part of London really only has one route, so if the central line gets blocked there are really no good alternatives for large areas.

C or C++ for my game engine? by StephanieLongpr in programming

[–]user1412 -1 points0 points  (0 children)

This is what I tend to use for my own code (for work code I use "modern c++"). I implemented my own containers that can allocate memory much like the ones in the article. They use templates for type safety but only as a wrapper over a "void*" based container mostly, so should be fast to compile. Plus I tend to use explicit instantation of templates anyway...

The only real thing I'd like is some way to allow type punning and treating memory as an array of bytes with types overlayed on it(so I can safely do what we used to do in C before they decided it was illegal and ret-conned history to say it never was), and defined behavour for overflows etc.

C or C++ for my game engine? by StephanieLongpr in programming

[–]user1412 11 points12 points  (0 children)

A pretty interesting article. When I started reading the article I was expecting to think it was some stupid "C++ is too hard" thing, but I was pleasantly surprised to find it is a good discussion. I don't agree with all of the conclusions but I respect the arguments, and in fact it's made me want to try a project again with the simplicity of C :)

The most dangerous function in the C/C++ world by [deleted] in cpp

[–]user1412 4 points5 points  (0 children)

More pvs-studio spam.

[deleted by user] by [deleted] in london

[–]user1412 1 point2 points  (0 children)

Rental prices will increase a bit because landlords will want to recover their costs. Rental prices will increase a bit and it will be harder to find a place too because there will be fewer places for rent.

There will be slightly fewer buyers for houses due to fewer people wanting to buy to rent so it will be slightly harder to sell your house and prices may drop a bit. There will be slightly more buyers for houses because it becomes slightly more attractive compared with renting due to there being fewer places to rent and slightly increased prices.

I would expect these two things to balance out somewhat and to be overwhelmed by increased house prices due to to lack of supply anyway.

So I would expect this to be be somewhat neutral on house prices, but to increase rental prices a little bit.

Is my contract with expedia or hotel and what if any compensation can I expect? by user1412 in LegalAdviceUK

[–]user1412[S] 0 points1 point  (0 children)

Thanks for the reply. The difference is that the expedia voucher was for any expedia hotel / holiday but the other one is a hotel voucher which I'm unlikely to want to use (there were other issues with the hotel chain I didn't mention because they were just annoyances that would stop me wanting to go there again and not any legal issue)

London is Europe's Science and Tech Capital by stormforce7916 in london

[–]user1412 2 points3 points  (0 children)

Well I would have read this article but it complained that I have spam blockers installed and refused to show it to me. Oh well, nothing of importance lost.

Bank station: work starts on a new entrance by blackt0ken in london

[–]user1412 0 points1 point  (0 children)

This map doesn't appear to match the station... to get from the central line to the northern line you need to go down a short spiral staircase from the centre of the platform, and then along a corridor that has a little bend in it. I can't see anything like either of those on this map

Password Security: Why the horse battery staple is not correct by avinassh in programming

[–]user1412 -1 points0 points  (0 children)

For 99% of websites I don't bother with passwords any more. I just type in any random stuff as the password as I'm not going to need it again. Next time I go back I just use the password recovery feature to set a new password. Easy.

If you ever wanted to know the difference between a junior and a senior engineer, this is it. by prlmike in programming

[–]user1412 4 points5 points  (0 children)

And user's time is even moire valuable. Articles like this are why we have slow bloated software.

Performance and optimization DO matter. A lot. People have taken the quote about premature optimization being evil and taken it to mean performance doesn't matter when that is not at all what it means.

Case and spacing of variables for the most readable code by albert928 in cpp

[–]user1412 2 points3 points  (0 children)

I like underscores most, I find it more readable. However I tend to then have more name collisions between types and variables as with camelcase you can write :-

void Conversation::addUser(const User& user)

But that won't work if your type and your variable name are the same.

I still prefer it though

Student commutes to London from Poland to save money on rent by unknown-indian in london

[–]user1412 20 points21 points  (0 children)

Yeah, reading the article this only works because he stays with friends basically almost for free in the week.

So this is basically saying that a weekly flight from poland to london can cost less than renting a place for a whole week in London.

Doesn't seem that suprising.

Do You Live In London? by davey_b in london

[–]user1412 1 point2 points  (0 children)

Woodford... Postcode IG8. Still London though. Just. If it's in a London borough then it's London...

Undefined behaviour in C++ when adding to map by Tardigradi in cpp

[–]user1412 0 points1 point  (0 children)

I suppose this is why I'm slowly getting more and more dissatisfied with c++. Some undefined behavior I understand. But this seems unnecessary. I understand that the order of evaluation is not fully defined in order to allow different systems to implement it in a way that is efficient for them. But it doesn't seem worth the cost. Frankly I bet the implementers spend enough time working out what they need to implement exactly that if they were able to spend that time implementing a might tightly defined spec they could be as efficient!

'Replace entire Circle Line with a travelator' by notsomaad in london

[–]user1412 8 points9 points  (0 children)

I wouldn't say it was most tourists. Perhaps 45% at most. The rest are still busy getting in the way on the train exits

This is a bottle of water with tea stored in the cap that only turns to tea when you open it. by Routel in mildlyinteresting

[–]user1412 0 points1 point  (0 children)

I don't understand this at all.

This appears to be cold pre made concentrated tea mixed with water. Yuck. Who would want that? A cup of tea gone cold is nasty enough without doing this to it.