Search found 2918 matches

by Xenomortis
Thu Oct 27, 2016 3:42 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1114382

Re: 2016 US Presidential Election

Trump's really not that bad: he's just a horrible person in general who believes every conspiracy theory about Democrats, has horrible communication skills, zero attention span, does not seem to care or have any knowledge about issues that don't affect him personally (or that he perceives to), and ...
by Xenomortis
Wed Oct 26, 2016 4:31 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

30 seconds is nothing. Let me know when you've tried spending hours on obvious-in-hindsight mistakes like that. Oh, I definitely have, but it's usually like some = in an if somewhere, where yeah it's a dumb mistake but the location of the mistake isn't easy to find. (That hasn't happened to me in a...
by Xenomortis
Tue Oct 25, 2016 12:10 pm UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 15123
Views: 2563329

Re: In other news... (humorous news items, etc)

The UK's Labour party have been fined over their general election campaign's tombstone.
(They forgot to declare receipts for the infamous tablet when filling in the paperwork).

Not many people live to regret their epitaph.
by Xenomortis
Mon Oct 24, 2016 5:46 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1114382

Re: 2016 US Presidential Election

The UK leans unusually far in the seesaw direction. You win an election, you immediately get to cleanse the government machinery of the opposition and push through your plans. Well, we have Lords, and manifestos aren't quite "we're going to do the reverse of everything the other guys did"...
by Xenomortis
Sun Oct 23, 2016 12:05 am UTC
Forum: Gaming
Topic: Heroes of the Storm (Moba Lite?)
Replies: 41
Views: 18593

Re: Heroes of the Storm (Moba Lite?)

Elite might punish really bad decisions a little more - the AI tends to like grouping up a lot and pushing with mercs. It's not uncommon for three to rotate to defend against one person that's pushed too deep. But if your team soaks experience from all three lanes (the AI frequently doesn't past the...
by Xenomortis
Sat Oct 22, 2016 10:36 pm UTC
Forum: Gaming
Topic: Heroes of the Storm (Moba Lite?)
Replies: 41
Views: 18593

Re: Heroes of the Storm (Moba Lite?)

I often play against the AI to power through the daily quest rewards (much shorter queue times, and usually quite short games). I've found games against Veteran AI are often much harder than Elite AI, because the human players you get matched with are often much worse. People also play very risky ag...
by Xenomortis
Thu Oct 20, 2016 8:53 am UTC
Forum: Science
Topic: Science fleeting thoughts
Replies: 204
Views: 38190

Re: Science fleeting thoughts

I don't think CO2 "capture" is the right word.
It's more energy storage - replacing batteries with ethanol.
by Xenomortis
Mon Oct 17, 2016 3:10 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

Stackoverflow suggests that numpy.fromfunction has very deceptive docstrings and in fact, does not execute the function per coordinate point. What actually happens is the function is called once with arrays of the coordinates and operates directly on those. It so happens that numpy's array syntax wo...
by Xenomortis
Mon Oct 17, 2016 2:29 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

Making arrays in python. size = int(4e6) s = time() l = list( (x - 0.5) * 0.5 for x in xrange(size) ) print time() - s 0.6 seconds (and a lot of memory) l = numpy.fromiter( ((x - 0.5) * 0.5 for x in xrange(size)), dtype=np.float64, count=size) 0.72 seconds Didn't expect that... at least it's less me...
by Xenomortis
Fri Oct 14, 2016 3:11 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

Without thinking much about the problem: Pick a value based on the k-nearest neighbours, weighted by distance, culling those that are "shadowed" by other points (you'll need to decide on the angle to cull at). I imagine k should be quite small, the culling step is unlikely to be necessary ...
by Xenomortis
Fri Oct 07, 2016 9:51 pm UTC
Forum: Mathematics
Topic: Why does x=y -> f(x)=f(y)?
Replies: 12
Views: 3730

Re: Why does x=y -> f(x)=f(y)?

I don't think that makes sense.
Your function there is really f: N2 -> N, not Q -> N.
In Q, you don't differentiate 1/2 and 2/4.
by Xenomortis
Thu Oct 06, 2016 8:56 am UTC
Forum: Gaming
Topic: Heroes of the Storm (Moba Lite?)
Replies: 41
Views: 18593

Re: Heroes of the Storm (Moba Lite?)

2) HoTS is inferior to the other games. I tried it for a while but the fact there aren't items drastically reduce the complexity of For some (me at least), that's a significant advantage. It's much easier to pick up and play and games are shorter. Yes, there are fewer subtleties (no last hitting, e...
by Xenomortis
Wed Oct 05, 2016 4:43 pm UTC
Forum: News & Articles
Topic: British EU referendum in June [update: Leave wins 52% - 48%, politics ensue]
Replies: 1390
Views: 224386

Re: British EU referendum in June [update: Leave wins 52% - 48%, politics ensue]

The reasoning there is that free movement means that refugees allowed into other EU countries will end up in Britain to take advantage of our benefits system.
by Xenomortis
Mon Sep 26, 2016 12:40 am UTC
Forum: Science
Topic: How serious is a 1st degree burn?
Replies: 15
Views: 4342

Re: How serious is a 1st degree burn?

The OP describes second degree - a hot stove would cause blistering and quite a bit of pain.
The primary risk is infection.
by Xenomortis
Tue Sep 20, 2016 4:09 pm UTC
Forum: Coding
Topic: faster function than 1/x?
Replies: 18
Views: 9520

Re: faster function than 1/x?

I seem to remember reading that the union variant is only safe in GCC, but I never really properly understood the logic around union aliasing rules from the standard.
by Xenomortis
Tue Sep 13, 2016 2:25 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

Eclipse 'Problems' tab wrote:Warnings (100 of 8365)

Yeah...

Actually, this wasn't highlighted in a warning.
And to be fair, testing for referential equality on objects may be something you really want to do, although it's almost certainly not what you have in mind when Strings are involved.
by Xenomortis
Tue Sep 13, 2016 1:25 pm UTC
Forum: Science
Topic: Science-based what-if questions
Replies: 622
Views: 118489

Re: Core orbiting planet.

Magmar, obviously.
by Xenomortis
Tue Sep 13, 2016 11:39 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

Oh, I've known for a long time. But typing "==" is so instinctive that I often trip up (excluding Strings, equality testing for non primitives is really quite rare in our codebase, and it works as expected in every other language I've used). That it sometimes "appears" works is w...
by Xenomortis
Tue Sep 13, 2016 10:05 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

I've just fixed a bug in some code I wrote that compared Java strings using == instead of String.equals(...). This is ridiculous. String overloads "+" to do the "intuitive" thing, but not "==". But that's not the worst bit; the worst bit is that "==" will actu...
by Xenomortis
Tue Sep 06, 2016 4:29 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

*Looks at a Java interface with a "write" method*
*Clicks, "Search for References" in Eclipse*
*Gets given a result of all calls to methods called "write", ignoring the interface*

Why do I bother with IDEs again?
by Xenomortis
Thu Aug 25, 2016 9:00 am UTC
Forum: Coding
Topic: Why does .NET seem so ugly?
Replies: 5
Views: 5924

Re: Why does .NET seem so ugly?

However, whenever I have to spin up a Visual Studio IDE, it's overwhelming and very complicated. ... even Eclipse seem intuitive. Eclipse is more intuitive than Visual Studio? I guess it's possible with a Java background... So, starting up Visual Studio, I count about six clicks to get something th...
by Xenomortis
Wed Aug 24, 2016 3:15 pm UTC
Forum: Mathematics
Topic: Goahead52's Math Posts
Replies: 148
Views: 17620

Re: Goahead52's Math Posts

The following is an identity - it is true for all (real) x:
sin2(x) + cos2(x) = 1
This is a useful identity, but it places no constraints on x.

The following is not an identity - it is not true for all x.
sin(x) + cos(x) = 1
This equation tells us x is an integer multiple of pi/2.
by Xenomortis
Fri Aug 19, 2016 9:30 am UTC
Forum: Coding
Topic: Bettering vs Bloat?
Replies: 19
Views: 8029

Re: Bettering vs Bloat?

Don't confuse features with bloat. By today's standards, Doom 1 was a relatively simple project. Here are a few statements that I strongly suspect to be true: * Doom 3's physics engine is an order of magnitude more complex than all of Doom 1 combined. * Doom 3's network code is more complex than al...
by Xenomortis
Wed Aug 17, 2016 9:56 pm UTC
Forum: Mathematics
Topic: Goahead52's Math Posts
Replies: 148
Views: 17620

Re: New Theorem (prime numbers)?

I think you can prove a slightly stronger statement, that is mu(n * phi(n)) != 0 implies n is prime. My maths is a little rusty, but I'll give it a go. Suppose n is *not* prime. Case 1: n is not square-free Then n * phi(n) is not square-free, hence mu(n*phi(n)) = 0 Case 2(a): n is square-free and ha...
by Xenomortis
Wed Aug 17, 2016 3:27 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1721: "Business Idea"
Replies: 55
Views: 10664

Re: 1721: "Business Idea"

I really doubt that the addition of a hose-worth amount of petrol will hurt your diesel engine, given a full tank of the correct fuel (or vice-versa). I have heard that around 10-20% of the wrong fuel won't cause issues, but I haven't found a credible source (not that I've really looked). Sounds li...
by Xenomortis
Wed Aug 17, 2016 2:55 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1721: "Business Idea"
Replies: 55
Views: 10664

Re: 1721: "Business Idea"

In the UK, it is different hoses for the different grades of fuel. And its mostly self service, You'll find many a Scotsman draining the hose and shaking the last drop off the end. Australia too. I had never thought anyone would do otherwise, so I'd thought the idea in the comic was even less sensi...
by Xenomortis
Mon Aug 15, 2016 6:10 pm UTC
Forum: Mathematics
Topic: Decimal like Concepts in Other Bases?
Replies: 7
Views: 2672

Re: Decimal like Concepts in Other Bases?

17 is 16 + 1 (2 4 + 2 0 ), so that's 10001. 0.32 is a little more tricky - you need to work out 32 / 100 in binary (specifically, 100000 2 / 1100100 2 ) - you can do the long division if you want, the technique is the same as it is in base 10. It won't be terminating - easy decimal expansions seldom...
by Xenomortis
Mon Aug 15, 2016 5:02 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

TIL git automatically rewrites line endings... but only in the commits/compares and won't do it on disk... Though this is sort of disturbing, that means two different developers can have two different line ending settings in the same repository and cause each other headaches like this? Line ending ...
by Xenomortis
Mon Aug 15, 2016 4:50 pm UTC
Forum: Mathematics
Topic: Decimal like Concepts in Other Bases?
Replies: 7
Views: 2672

Re: Decimal like Concepts in Other Bases?

Digits in a decimal expansion merely represent multiples of a power of 10. So for instance: 17.32 is 1 * 10 1 + 7 * 10 0 + 3 * 10 -1 + 2 * 10 -2 That is "One 10, seven 1's, three 10ths, two 100ths". The idea is the same for other number bases, but instead of powers of 10, it's powers of th...
by Xenomortis
Thu Aug 11, 2016 3:30 pm UTC
Forum: Mathematics
Topic: N digit sequence within π
Replies: 12
Views: 2914

Re: N digit sequence within π

https://en.wikipedia.org/wiki/Normal_number
Pi is conjectured (but not proven) to be Normal - that all finite sequence of digits are equally likely to occur (in any base expansion).
by Xenomortis
Fri Jul 29, 2016 8:48 am UTC
Forum: General
Topic: Snappy Comebacks for Impudent Door-Holders
Replies: 17
Views: 5999

Re: Snappy Comebacks for Impudent Door-Holders

I usually say "Thanks" to whoever held the door - preempting the shame inducing "Your Welcome". Alternatives are "Cheers", "Ta". But if there are four doors in quick succession, you run out of options. (The article mentions being scolded before having a chance...
by Xenomortis
Thu Jul 21, 2016 9:22 pm UTC
Forum: Gaming
Topic: Overwatch
Replies: 173
Views: 48975

Re: Overwatch

http://us.battle.net/forums/en/overwatch/topic/20747185139 Added Ana. Buffed D.Va, McCree and Zenyatta. Self-healing charges ultimates (increased the cost correspondingly on a few heroes). The fall off damage for McCree's left click got reduced, greatly improving his damage output at range - Widowma...
by Xenomortis
Thu Jul 21, 2016 2:02 pm UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 15123
Views: 2563329

Re: In other news... (humorous news items, etc)

Perhaps I have like a mental filter that like automatically elides the word like.
Because I'm like that age where like was once really common.
by Xenomortis
Thu Jul 21, 2016 10:32 am UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 15123
Views: 2563329

Re: In other news... (humorous news items, etc)

I don't know, I'm having a hard time parsing that any other way.
by Xenomortis
Wed Jul 20, 2016 6:21 pm UTC
Forum: Gaming
Topic: Overwatch
Replies: 173
Views: 48975

Re: Overwatch

I've managed to play one quick match game with Ana (no way am I playing her when we have two on our team already). The ultimate is strong. The abilities seem decent too (although the sleep dart is hard to use in quick match - team mates wake enemies up too early). Her shots seem to be projectiles - ...
by Xenomortis
Mon Jul 18, 2016 5:27 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1708: "Dehydration"
Replies: 109
Views: 16190

Re: 1708: "Dehydration"

orthogon wrote:The claim that tea and coffee don't count because they actually dehydrate you is particularly ridiculous.

Indeed - Tea doesn't count because it occupies a different position in the hierarchy of needs. :wink:
by Xenomortis
Mon Jul 18, 2016 5:23 pm UTC
Forum: Gaming
Topic: Overwatch
Replies: 173
Views: 48975

Re: Overwatch

4th most played is Bastion. Please don't hate me. That's nothing, my most played in Quick Match is Hanzo. 8-) I have a fair amount of time on Reaper, Soldier and Pharah. Not that long on Mercy and very little on Lucio (< 1 hour). I don't really like playing support, especially in Quick Match. You'r...
by Xenomortis
Mon Jul 18, 2016 4:10 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1708: "Dehydration"
Replies: 109
Views: 16190

Re: 1708: "Dehydration"

I go by the rule of "if I feel thirsty, I have a drink".
That rule has worked for my ancestors, so it's good enough for me.
by Xenomortis
Mon Jul 18, 2016 2:37 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9955
Views: 1932351

Re: Coding: Fleeting Thoughts

Eh, over half of my frustrations at work are caused by the IDE (I spend a stupid amount of energy being angry with Eclipse). Not that much is spent being angry at the limitations of Java. For the past five or so weeks, I was working on a python project at work (the aforementioned "amazing_proje...

Go to advanced search