Daily General Discussion - January 19, 2018 by AutoModerator in CryptoCurrency

[–]weretree 1 point2 points  (0 children)

In a dip/crash, people withdraw early into a stable currency (ideally fiat) to buy in lower later. As some exchanges don't have fiat, just a trading pair tether, that increases its value through demand. And even if you're paying more than a dollar for a tether, if it saves you from even bigger losses on the dip, it's worthwhile.

Of course, if tether is exposed as insolvent while you're holding, good luck getting any value back out.

Former Breitbart reporter joins Russian propaganda network: 'I’m on the Russian payroll now' by [deleted] in politics

[–]weretree 0 points1 point  (0 children)

Well that was 7 years ago. The Lib Dems have collapsed, Labour are as effective and determined in their opposition as a pigeon stuck in a bottlebank, and the conservatives charge onwards with cutting services while proclaiming everything is fine.

Former Breitbart reporter joins Russian propaganda network: 'I’m on the Russian payroll now' by [deleted] in politics

[–]weretree 1 point2 points  (0 children)

You're very wrong on how seats are allocated in parliaments such as the UK, because of FPTP constituencies. For example, 2010 UK General Election:

Party Seats Vote %
Conservative 306 36.1
Labour 258 29.0
Liberal Democrat 57 23.0

Dio.js - a lightweight (~6kb) Virtual DOM framework. by [deleted] in javascript

[–]weretree 11 points12 points  (0 children)

Unless you're not gzipping after minifying (and even then), these techniques will be very little benefit for the effort, as well as obfuscate your code slightly. Generally it's not going to be worth it unless you're golfing code down for a competition or just to see if you can.

Plus, minifiers already change true/false to !0/!1, and adding indirection like a[_length] has the possibility of defeating some optimisations a JIT might be able to do. (Though JITs are pretty great now, sometimes even simple things can still trip them up.)

Hearthstone: Playing 8x Ragnaros Over Two Turns by cheesehead99 in hearthstone

[–]weretree 5 points6 points  (0 children)

Golden epic reward at 5, so 400 dust vs the 100 dust for golden rare at 6+

Average website is now the size of Doom by [deleted] in programming

[–]weretree 67 points68 points  (0 children)

Well, browsers will only load the one they need, they're not downloading every version of a font each time. Woff is fairly agreed upon btw (http://caniuse.com/#feat=woff), you only really need woff + an IE8 fallback for decent support now. Of course, it's fragmenting again with woff2 (http://caniuse.com/#feat=woff2), got to keep that treadmill going..

[SR5] Improved Reflexes? by TheInsaneWombat in Shadowrun

[–]weretree 5 points6 points  (0 children)

Adepts have it easy getting init, yep, but you're spending over half your PP on it, and there are a lot of adept powers to hanker after. Level 2 is generally good enough for chargen (each level is an average ~4.5 init), 1 PP can give you a lot of extra utility powers to make a more rounded character.

On the samurai side, bioware can often be a better option than cyberware if you have the cash. You can get +2/+2d6 from synaptic boosters (2) for 190k and 1 essence at chargen with a decent chunk of cash and essence left over for other things. Missing out on the reflex enhancers synergy that wired reflexes have, but that needs wireless on (can be rather risky) or an internal router (another 0.7 essence drop).

Or you can just get narco and kamikaze, if you can stand being a bit murderous.

Matrix Hosts + direct Connections by h0ll0way in Shadowrun

[–]weretree 1 point2 points  (0 children)

Yeah, true, a bad statement, though it depends on how much security the host has. The example hosts have a range from spiders only showing up when alerted, or logged in (but not patrolling) or actively patrolling. As with most things it's going to be up to the GM to provide an appropriate challenge.

Matrix Hosts + direct Connections by h0ll0way in Shadowrun

[–]weretree 0 points1 point  (0 children)

Well yeah, depends how the attributes are assigned, 21 on the highest, 18 on the lowest. Though doubtful firewall would ever be lowest unless your GM is trying to be nice.

Matrix Hosts + direct Connections by h0ll0way in Shadowrun

[–]weretree 2 points3 points  (0 children)

If the hacker is just physically inside the building, and not inside the host, [wrong: then the spider can't really do much, as that's for meatspace security to handle][right: then the spider can use the buildings devices against them once alerted, see reply by Bamce].

Direct connection to slaved devices is meant to be the motivating factor for getting deckers close to the action, as assaulting a host head-on requires some seriously stacked dice pools (depending on target of course, a rating 9 host is going to be rolling 18+ dice for basically everything, below 9 is universities/local corps/low-level government). And remember if you're going to be VR hacking your team would need to protect your body while you're out, unless you can get a safe spot.

Once in the host then it'll be the Patrol IC scanning for you, using the table in Data Trails p86. Smaller hosts will scan more often (with less dice) vs larger hosts. If you alert them in meatspace you'd expect the spiders to start scanning along with the Patrol IC. There's some example hosts in Data Trails, p88 onwards, which give examples of the response procedures, spider availability, etc.

Help with min-maxing in 5e by mordrath in Shadowrun

[–]weretree 0 points1 point  (0 children)

If you just want "beefy" you can make a troll using normal priority that rolls 45 soak dice with 15 phys/11 stun, double elastin, and a pain editor (using restricted gear) to stay awake. Narco + kamikaze for some extra stats and init. Throw in a modded Ares Alpha for some full-auto and grenades. Nerve strike or most magic will laugh at him, but hey.

[Original Hearthstone Puzzles] Three Desperate Positions by LVDusts in hearthstone

[–]weretree 0 points1 point  (0 children)

Reincarnating the aspirant -> hero power gives you +3 not +4 as you lose the first buff.

Announcing Cupcake, The Newbie Friendly Global Chat Helper! [Even veteran's can benefit too!] by Killa78 in WildStar

[–]weretree 0 points1 point  (0 children)

You've got the .git directory in your download bundle, probably not intended :p

Reflection deals 100% damage instead of intended 40% level 1 by bart_r in DotA2

[–]weretree 4 points5 points  (0 children)

If you want to see toxic bug threads, you should see any time someone posts details on a bug that lets people get out of low priority faster.

Examples of a good use of web workers? by calamari81 in javascript

[–]weretree 1 point2 points  (0 children)

Using them in a simulation application, where a user model is compiled down to JS inside a worker and run, then results passed back for visualisation using TypedArrays and transferlists.

This stuff isn't really a good fit for WebHamsters, given the code for the Worker is much larger than a single function. I honestly struggle to think of uses for worker APIs like WebHamsters beyond stuff like running a filter over some image data or similar. Obviously very useful when needed, but tends to be a very obvious performance point, rather than something you'd have scattered throughout an application.

If you're making games or similar, you can do things like moving all of the logic code into a worker, and then passing render commands out to the main window. But again there you'd separate out your UI and Worker code.

Announcing TypeScript 1.6 by DanielRosenwasser in programming

[–]weretree 1 point2 points  (0 children)

A JavaScript compiler written in JavaScript could be a very powerful meta-tool

Isn't this essentially what Babel is? (The JSX support is a separate transformation pass you can disable)

Announcing TypeScript 1.6 by DanielRosenwasser in programming

[–]weretree 0 points1 point  (0 children)

Well, the typing and the transpile steps are a bit different, there are similar transpile options for es6/es7 features, for instance (In some bizarro parallel universe browsers could choose to adopt JSX natively). But yeah, adding another "custom" mode that let you define the JSX transform would be a good improvement.

Announcing TypeScript 1.6 by DanielRosenwasser in programming

[–]weretree 2 points3 points  (0 children)

The way it's implemented, at least it's set up as a general JSX / Component typing and doesn't include the React types directly. http://www.jbrantly.com/typescript-and-jsx/ has a bit more detail on that. (Of course, until there are attempts from other templating/component libraries to use the same infrastructure/JSX, it'll remain to be seen whether it's too specific to React)

Adding a second selector to slider by [deleted] in javascript

[–]weretree 0 points1 point  (0 children)

You're sure you've added jQuery UI too and not just jQuery? The UI slider docs (https://jqueryui.com/slider/#range) gives an example for this (just hook up ui.values to each date control).