Search found 2876 matches

by Xenomortis
Mon Jan 08, 2018 10:41 am UTC
Forum: Science
Topic: Copper in vacuum thermos
Replies: 8
Views: 679

Re: Copper in vacuum thermos

Copper has antimicrobial properties - maybe that's the point?
by Xenomortis
Fri Jan 05, 2018 11:40 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1938: "Meltdown and Spectre"
Replies: 36
Views: 3392

Re: 1938: "Meltdown and Spectre"

I think this, like rowhammer, shows mostly that we are getting sufficiently good at software security that attackers have to exploit the hardware. Actually, Heartbleed is only about 2 months older than rowhammer. Who needs hardware exploits when you only have to press backspace 28 times? http://hma...
by Xenomortis
Thu Jan 04, 2018 4:37 pm UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 14298
Views: 2031366

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

"Spectre", the other vulnerability I mentioned, has some interesting implications. It doesn't seem as bad as Meltdown, it doesn't cross privilege levels, but it's also kinda worse. It's much harder to fix (there doesn't appear to be an OS level workaround at the moment), affects pretty muc...
by Xenomortis
Thu Jan 04, 2018 1:43 pm UTC
Forum: News & Articles
Topic: In other news... (humorous news items)
Replies: 14298
Views: 2031366

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

Reminds me of the Pentium Bug . (Ok, so it's different at its core(s), but the whole software fix and recall thing…) There was speculation as to the cause going around for the past couple of days, but we have details now. There are a couple of vulnerabilities here, but the "Intel specific"...
by Xenomortis
Wed Jan 03, 2018 12:52 pm UTC
Forum: Science
Topic: Multipath Crazy Straw
Replies: 24
Views: 1842

Re: Multipath Crazy Straw

Eebster the Great wrote:I thought you were saying that surface tension was somehow necessary for a straw to work.

Isn't it? If there were nothing "holding the liquid together", what's stopping air from breaking the liquid apart and just rushing along the straw?
by Xenomortis
Mon Nov 20, 2017 12:42 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

No, I can see that one would need a translator if they wanted to convert one lunatic's mad ramblings into the dialect of a depressed drunk.
What I can't envisage is wanting to communicate with either of these people whilst sane and/or sober.
by Xenomortis
Wed Nov 08, 2017 5:26 pm UTC
Forum: Science
Topic: Bathing in Vinegar
Replies: 16
Views: 1560

Re: Bathing in Vinegar

I was watching a commercial for a new high tech, super awesome shower head that will revolutionize how you wash yourself and a thought accorded to me; "What would happen if you bath regularly in undiluted vinegar?" I am a strange person. People might start looking at you funny. You know, ...
by Xenomortis
Sat Oct 28, 2017 6:42 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar#Adoption_in_Eastern_Europe The USSR switched from the Julian to the Gregorian calendar in 1918 - the 30th Jan 1918 (Wednesday) was followed by 14th Feb (Thursday). Not quite "two sequential Thursdays", but a date-time complic...
by Xenomortis
Mon Oct 09, 2017 2:25 pm UTC
Forum: Religious Wars
Topic: Automatic updates
Replies: 9
Views: 1486

Re: Automatic updates

To be fair, most malware goes unnoticed. Being part of a botnet is unfortunate, but at least it doesn't force a machine restart. ;) There's an old, old meme (memory puts it as refering to Windows 95) comparing a typical computer virus (of the time) vs Windows, with on one side statements of "w...
by Xenomortis
Mon Oct 09, 2017 2:23 pm UTC
Forum: Science
Topic: Uranium more Common than Zinc
Replies: 10
Views: 1986

Re: Uranium more Common than Zinc

My guess is that lead and zinc deposits are more common in sedimentary layers (limestone, etc), so you're getting a warped view when you only look at the composition of igneous rock.
by Xenomortis
Mon Oct 09, 2017 11:42 am UTC
Forum: Religious Wars
Topic: Automatic updates
Replies: 9
Views: 1486

Re: Automatic updates

How many people actually leave their session open overnight? I used to, before I installed Windows 10 and now my computer cannot wake up from sleep, forcing a reboot (or several). Forced restarts, even in the Win 7 days, where therefore an annoyance (albeit very minor). Goes to show that either you...
by Xenomortis
Mon Oct 09, 2017 11:36 am UTC
Forum: The Help Desk
Topic: Computer Dying Randomly [Seems it was the PSU]
Replies: 12
Views: 3692

Re: Computer Dying Randomly

Over heating is the obvious one - check all the fans for dust, etc, particularly for the PSU and CPU. It could be the power supply - if it's old and your computer already pushes close to its rated limit then it may no longer be able to provide enough juice. Of particular note is that once the PC shu...
by Xenomortis
Fri Sep 15, 2017 3:28 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1890: "What to Bring"
Replies: 70
Views: 7773

Re: 1890: "What to Bring"

praetor_alpha wrote:But Counterstrike taught me that a knife in a gun fight can be very useful!

Certainly it helps you run faster. ;)
You should definitely bring a knife to a race.
by Xenomortis
Fri Sep 15, 2017 11:47 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1890: "What to Bring"
Replies: 70
Views: 7773

Re: 1890: "What to Bring"

Agreed, I had this one pot lid in college that I always thought would serve well as a buckler. Alas, my fencing coach viewed such improvised fighting implements as more of a liability than anything else, legally, if not practically in a bout. Maybe useful in a sword fight, but I don't think it'd be...
by Xenomortis
Sun Sep 10, 2017 2:29 pm UTC
Forum: Science
Topic: Why is there red on both sides of digital rainbow images?
Replies: 25
Views: 3283

Re: Why is there red on both sides of digital rainbow images?

While looking for an alternative image with an uptick for the 'red cone' sensitivity, I started to question its validity and the validity of any of those diagrams. One diagram in particular caught my attention (if it lists sources, I tend to believe those sources exist and are reputable): http://we...
by Xenomortis
Mon Aug 07, 2017 4:17 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

Is the goal here to allow people to enter arbitrary expressions in the config file? Or are you just trying to make it so they can enter numbers/strings/etc and have it load in as the appropriate types? Because in the latter case, it's probably going to be a lot cleaner to just read the values in as...
by Xenomortis
Mon Aug 07, 2017 1:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

So I need some configuration files that basically store key-value pairs and these need to be parsed. Values are typed (might be strings, ints or floats). The people that edit these files (non-programmers) are used to "Key = value" syntax: KEY1 = "string value" KEY2 = 123 ... The ...
by Xenomortis
Fri Jul 14, 2017 11:30 am UTC
Forum: Religious Wars
Topic: Graph theory terminology
Replies: 16
Views: 4398

Re: Graph theory terminology

No one going to try to start a holy war over "vertices" vs "vertexes"? Vertexes all the way. No, because we all know the correct answer there. Vertices, you heathen! I tend to say "node", but that's because I usually deal with graphs in a programming context. I was def...
by Xenomortis
Thu Jun 29, 2017 12:02 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1856: "Existence Proof"
Replies: 38
Views: 4274

Re: 1856: "Existence Proof"

Flumble wrote:Does an x with x^2=-1 really exist?

Yeah, but it's not unique.
by Xenomortis
Tue Jun 27, 2017 4:04 pm UTC
Forum: Religious Wars
Topic: Spaces in paths & filenames
Replies: 45
Views: 5818

Re: Spaces in paths & filenames

spaces_should_be_abolished_and_we_should_all_type_like_this
by Xenomortis
Thu Jun 22, 2017 4:36 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

Yeah, the version isn't changing anytime soon. There is a solution: ... except Exception e: raise MyException, MyException(e), sys.exc_info[2] # traceback But I still think "what's the point"? Just let the exception bubble up - stop wrapping things up in useless exception classes.
by Xenomortis
Wed Jun 21, 2017 9:55 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

Code: Select all

try:
    # some lines that might raise an exception
except:
    raise SomeUselessExceptionClass("Some useless message")

Thanks for hiding what went wrong - you've made everyone's life so much nicer by squashing that pesky error trace.
by Xenomortis
Tue Jun 20, 2017 9:23 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 113081

Re: Tabs vs Spaces

Why are you aligning with tabs?
Don't align with tabs - bad things will happen when you align with tabs.
I heard that it was people aligning with tabs that drove some employees to madness and despair, causing them to release the dinosaurs and ultimately end all operations.
by Xenomortis
Sat Jun 17, 2017 9:40 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

Tub wrote:Please advise. I'd prefer to refactor this before I have to commit a "SquigglyLine" class into the eternal git history.

I think the term used at work is "LinePlot". Or maybe it's "Trace".
I actually have no idea how that shit works.
by Xenomortis
Fri Jun 16, 2017 7:13 pm UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 113081

Re: Tabs vs Spaces

Computer programmers who use spaces as part of their coding earn $15,370 (£12,000) more per year than those who use tabs, a survey of developers has revealed. Programmers who use spaces 'paid more' Even when I'm using tabs, I still have spaces in my code. Maybe they get paid more because they take ...
by Xenomortis
Thu Jun 15, 2017 12:03 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee

Not the first time a Liberal Democrat leader has had conflicts stemming from their faith.
Charles Kennedy (Catholic) frequently voted against abortion and euthanasia - motions that received support from LD front-benchers at the time.
by Xenomortis
Sun Jun 11, 2017 6:39 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

You're referring to the "Shy Tory factor". It is true that the Conservatives have beaten the polls more often than Labour (by about 2:1?), but I suspect the "shy Tory" effect is overstated. I would have to look back at the various polls before previous elections to really argue f...
by Xenomortis
Sun Jun 11, 2017 12:37 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

↶ Until 10pm on Thursday, pretty much everyone thought the Tories were going to have a majority of anything from 50 to over 100. The yougov poll was basically the only one that had made substantial enough changes to their calculations and was the main one I was following so I was expecting a reduce...
by Xenomortis
Sat Jun 10, 2017 1:26 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

http://www.bbc.co.uk/news/uk-40231107 So May has sacked two of her close aides Two of May's aides have "resigned" following the result. The understanding is that some Tory MPs threatened a leadership contest if they were kept on. Her position is tenuous - if there were an "obvious&quo...
by Xenomortis
Fri Jun 09, 2017 11:39 am UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

Labour say they're looking to form a minority government, the only way I can see that being possible is this coalition: Labour (261) + SNP (35) + Lib Dems (12) + DUP (10) + Sinn Fein (7) + Green (1) = 326 That would be... mad. I don't see how that could work. I think we're looking at either Con + D...
by Xenomortis
Fri Jun 09, 2017 8:11 am UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

Interesting picture in Scotland. It's not clear if the SNP losing almost half their seats is just a regression to the mean (they could only go downhill after 2015) or a genuine rejection of neverending talk of another independence referendum. A bit of both, perhaps. 11(?) Scottish seats went to the...
by Xenomortis
Thu Jun 08, 2017 11:25 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

The first few results (mostly Labour safe seats) have the Tories generally doing better than exit polls suggested, so we may see them cling onto their majority.
This still isn't really good news for May - she needs to do a *lot* better than the exit poll to come out of this looking good.
by Xenomortis
Thu Jun 08, 2017 9:55 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

Yeah, I've read the 538 articles on this election. Before today, we were "within expected margins" for either a Tory landslide or Labour becoming the largest party. That the exit polls suggest we've landed on the "wrong side", according to common expectations, is not that surpris...
by Xenomortis
Thu Jun 08, 2017 9:39 pm UTC
Forum: News & Articles
Topic: British Snap Election - Theresa, Meh; Corbyn near-win; So long, Farron, auf wiedersehen goodbyeee
Replies: 127
Views: 14279

Re: British Snap Election - not a re-referendum?

I tried to place bets on a hung parliament, but in the end I settled with spread bets on various people that weren't Theresa May for PM after this election.
Maybe I'll see a return on my £10. :D
by Xenomortis
Tue May 23, 2017 11:52 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

I don't know much javascript but I am guessing line breaks act as statement separators(like semicolon), so the first one acts like return; essentially returning nothing, while the second one has an opening brace so it returns everything until the closing brace. I am guessing that's because javascri...
by Xenomortis
Tue May 23, 2017 9:10 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

That's just because Javascript is the work of Satan.
by Xenomortis
Sat May 20, 2017 7:17 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

Could anyone find any reason at all why you would write a simple, concise description of that function, and not just write this for randrange which is right next to it: Return a random integer N such that a <= N < b. Because it's not accurate. The declaration for randrange is def randrange(start, s...
by Xenomortis
Sun May 14, 2017 9:42 pm UTC
Forum: Gaming
Topic: Quake Champions
Replies: 0
Views: 2554

Quake Champions

So the beta tests for the latest iteration of Quake continue, and now the NDA has been lifted. Mostly it's standard Quake - same weapons (although the Grenade Launcher has disappeared), same power ups, strafe jumping, etc. The physics appears to mostly be the same as Quake 3, but the maximum speed y...
by Xenomortis
Wed Apr 26, 2017 3:51 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9841
Views: 1642254

Re: Coding: Fleeting Thoughts

Descriptive variable name my fucking arse.

To be honest though, the code isn't "bad" - I just hate the dense prose-like code overly long names result in.
And getters.
I fucking hate "getX" methods.

Go to advanced search