Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About Now

reddit.

You can subscribe to an RSS feed of this list.

Jan 2020

Posted on r/humblebundles: Is there any way to sort/filter the Humble Store by price?

I have a $5 coupon that’s expiring on the 3rd (from the BS region lock on Soul Calibur VI in the previous monthly) that I want to use, but I don’t want to spend more than that (I’d rather not buy anything on the Humble Store if possible - Steam always gives me better regional pricing). The sort/filter options on the store make it tedious to find all games $5 or below

Posted by under notes at / Tags: #humblebundles / Imported from reddit / Syndicated: reddit / 0

Dec 2019

Be random.

In an episode of Futurama, Fry gained the ability to read minds and tried to use it to win a big Poker tournament. In the final table, he was up against Bender, and they were the last two players. For the final hand, Bender didn’t even bother looking at his cards and went all-in, giving Fry’s mind-reading no chance to work. Clip: http://www.cc.com/video-clips/55yfmj/futurama-the-poker-tournament

In One Piece, the protagonist Luffy was having trouble fighting bad guy Enel who could read his opponent’s intentions. What Luffy did was to bounce his barrage of attacks against a wall, so that neither he nor Enel could predict which way they would go, so that Enel would be unable to avoid them.

Posted by under notes at / Tags: #AskReddit / Imported from reddit / Syndicated: reddit / 0

Thanks for your reply, but I’m still not clear on the “employer-employee relationship part.

For example, a contractual part-time service worker in a fast food chain, he is not considered a regular employee is this correct? Is he required to register as a business? (I assume no.) Is he deduced the 8% withholding tax or the regular income tax?

How is this different from the scenario where you are a consultant working as a contractor for a local (PH) client (say, as a graphic designer or software developer)? Is the consultant considered an employee? Is he required to register as a business?

Also, I’ve worked for a number of clients as a consultant under contract, and they always just withhold the 8% and when I ask if there’s anything else I need to do for tax purposes, they never advise me that I need a business permit. Should their accountant been telling them otherwise?

> Recurring like, you expect to engage in that particular kind of transaction for more than 1 time

-> does that mean if you are only doing this once, it is not considered recurring? i.e. a client asks me to build an application for them and I receive a one-time payment from them upon delivery and afterwards we no longer have a relationship, in this scenario you do not have to register as a business?

Sorry for all the follow-ups, I just want to clearly understand the scenarios wherein I would or would not be required to register as a business, because honestly I would like to avoid the bureaucracy as much as possible, hence I prefer not to register as a business if it can be avoided. I understand our duty as citizens to pay the right taxes etc and I would like to make sure I comply with any requirements and I don’t mind the withholding tax being deducted from me. But I would prefer to know under what conditions I could structure freelance/consultant work without having to register as a business.

BTW, I wanted to say I appreciate your answering these questions. I had been planning to look for an accountant to consult on related matters so this thread really helps.

Posted by under notes at / Tags: #Philippines / Imported from reddit / Syndicated: reddit / 0

> 1. Should I register as a self-employed /business?
Only if you are earning recurring income not earned under an employer-employee relationship.

Please explain “recurring income” here? What if I am earning money not on a full-time basis, with no guarantee of recurring income? For example, a company consults with me and I get paid an hourly fee.

Please also explain “employer-employee relationship”. I was previously working as a consultant with a company, and they were deducting the withholding tax from me (I think it was 8%). My understanding is I was not an actual employee here since I was a consultant, should I have been registered as a business in this instance? It’s just weird since this withholding tax was already reported to the BIR and it seems there was no issue.

Posted by under notes at / Tags: #Philippines / Imported from reddit / Syndicated: reddit / 0

Well, I’m not sure my Gruul list is optimal either, but I do enjoy it:

Deck

4 Stomping Ground (RNA) 259

4 Rootbound Crag (XLN) 256

3 Llanowar Elves (DAR) 168

7 Mountain (ANA) 64

4 Paradise Druid (WAR) 171

4 Gruul Spellbreaker (RNA) 179

8 Forest (ANA) 65

4 Zhur-Taa Goblin (RNA) 215

4 Burning-Tree Emissary (GTC) 216

3 Embercleave (ELD) 120

4 Questing Beast (ELD) 171

4 Once Upon a Time (ELD) 169

4 Pelt Collector (GRN) 141

2 Domri’s Ambush (WAR) 192

1 Castle Garenbrig (ELD) 240

Sideboard

3 Veil of Summer (M20) 198

2 Cindervines (RNA) 161

2 Lava Coil (GRN) 108

1 Rekindling Phoenix (RIX) 111

2 Shifting Ceratops (M20) 194

2 Flame Sweep (M20) 139

1 Collision // Colossus (RNA) 223

2 Bonecrusher Giant (ELD) 115

If you’re facing a lot of aggro, I do like bant scapeshift better.

Posted by under notes at / Tags: #spikes / Imported from reddit / Syndicated: reddit / 0

Sorry, after I posted the comment above, I didn’t have much time to grind Arena that month so I don’t have much more input. The deck is sweet but it fares much better against aggro decks than the various ramp and control decks that become more prevalent once you’re in Diamond or higher.

For this month, I’ve switched to Gruul aggro for Historic BO3, the games tend to go a lot faster :)

Posted by under notes at / Tags: #spikes / Imported from reddit / Syndicated: reddit / 0

Nov 2019

Posted on r/humblebundles: They need to handle region-locked games better in the humble monthly

So I was looking forward to playing Soul Calibur VI in the December early unlocks, but today I find out it’s “unavailable in my region” and all I get is a $5 coupon for my trouble. =/ They could have indicated that in the promotional materials they kept sending me!

I wish they had an option for me to just gift the code to someone who is in the correct region (that way I can at least set up a trade maybe?). Instead I get a $5 coupon that IDK if I’ll be able to use; I never purchase stuff from the Humble store because Steam gives me better regional pricing. It would be nice if I could apply the coupon to one of their other bundles instead.

So that this isn’t just a rant, can I ask if purchases off the Humble store always give a Steam key?

Edit: I found out that Soul Calibur VI is actually purchasable for me on both Steam and the Humble Store, so IDK what’s up with that “unavailable in my region” thing.

Posted by under notes at / Tags: #humblebundles / Imported from reddit / Syndicated: reddit / 0

Gave this a quick run and won 5 consecutive BO3 matches easily, barely any struggle. And I never even cast scapeshift! The one close match was vs Fires; Game 1 I almost ran out of cards before I closed the game with a huge krasis, Game 2 he hit me with Unmoored Ego, but I responded with Growth Spiral to play the 2nd Field so it was fine (I never seem to have the Veils when I want them). Granted, this was in Gold, but I look forward to trying to use this deck to grind as far up as I can til end of month.

Since I never got the chance to cast scapeshift, I’d like to confirm that if I sacrifice exactly 7 lands and search for 7 uniques including field of the dead, I get 7 zombie triggers yes? (I assume if I have more than 7 and at least one of them is field, I shouldnt sac the field so that I get more triggers)

Posted by under notes at / Tags: #spikes / Imported from reddit / Syndicated: reddit / 0

Decision trees like “which starter pokemon do you pick” aren’t things that should be embedded into your code as if/else statements. These should be data that your code loads.

For this specific example, you could have a data file that has a list of all the available starter pokemon. How many are available to choose from? Your code will read these data files and present them as choices. The data files could include the dialog text and say, an ID string to indicate which pokemon would then be added into your party, something like this (JSON format, because it’s easier for me:

starters: [

{ "dialog": "I choose Charmander!", "pokemon_id": "0001"},

{ "dialog": "I want Bulbasaur!", "pokemon_id": "0002"},

{ "dialog": "I want Pikachu!", "pokemon_id": "0003"}

]

(I forgot who the 3rd starter was supposed to be, I’m not big on Pokemon. Also I’m guessing those aren’t the actual pokedex IDs)

Each item on the list could also contain some other info. For example in dialogue trees, you might have NPCs react differently depending on what you say, so in that case each node would have an id pointing to the specific NPC response.

The idea is to separate the data from your code, since those are totally separate concerns. This is a general programming principle not specific to game development. In this way, you make it easier to modify your data (like decision trees) without necessarily having to rebuild your code. For example, you could change the dialog message for each pokemon starter choice, or maybe you could add more choices, or make the starter pokemon be Snorlax, MewTwo and Ekans for some reason (those are pokemon right? Lol). Bigger game studios will have separate tools to maintain those data files so that even nonprogrammers can help change those kinds of things in the game.

Posted by under notes at / Tags: #gamedev / Imported from reddit / Syndicated: reddit / 0

Oct 2019

I went 5-2 running Bant Golos. My wins were vs Monoblack aggro, Monoblack vampires, two Golgari decks (one conceded after I Treachery’d his 6/6 Questing Beast), and I forget what the other one was (definitely not monored or the mirror)

Losses were to mono-black aggro (I had the realm-cloaked giant for the wrath, but failed to notice I didnt have two white and played the wrong guildgate the turn before) and to the mirror (I got 2 field of the dead first, but he had kenrick and agent of treachery + teferi to take my fields =/)

Posted by under notes at / Tags: #MagicArena / Imported from reddit / Syndicated: reddit / 0

Oh, that wasn’t what I meant. I was on the iPad app when I made the last comment, for some reason the first character of some lines is missing there. See https://imgur.com/gallery/XVpJ0Ge for what I mean. Is fine on the reddit web page itself though so ¯\_(ツ)_/¯

Posted by under notes at / Tags: #spikes / Imported from reddit / Syndicated: reddit / 0

Sep 2019

Hi! This demo is great! I’m new to procreate so I’m still learning the features.

I wonder if you could give me some advice. One thing I learned here is that there is a feature like when you draw in a circle then hold the pen in place for a bit, it will automatically “smooth” the circle. However, when I tried doing this, I can’t get it to work consistently. The main problem is that I have unsteady hands, so when I hold the pen in place to do the smoothing, there is often still some slight movement so I guess this is why I can’t trigger it consistently. Would you know if there is any workaround or alternative for someone like me?

Posted by under notes at / Tags: #ProCreate / Imported from reddit / Syndicated: reddit / 0

Aug 2019

Posted on r/MagicArena: Settings aside the issues with wildcard pricing, what curated cards would you like to see enter the Historic format?

Of course the suggestions from Wotc twitter (Bob, Bolt and Wurmcoil) are a bit ridiculous. I imagine that a lower power level would be needed. Historic needs to differentiate itself from Standard but not be as ridiculous as modern, and build up slowly but surely. I would like to see cards that had their time in Standard but haven’t really found a good place in Modern. I don’t agree with those saying it should be Origins-forward though, I think that’s unnecessarily restrictive.

Some of my initial ideas (the first 10 are color balanced, but the rest are not):

Knight of the White Orchid

Keiga, the Tide Star

Korlash, Heir to Blackblade

Pia and Kiran Nalaar

Wren’s Run Packmaster

Ojutai’s Command

Shadowmage Infiltrator

Demigod of Revenge

Huntmaster of the Fells

Dauntless Escort

Siege Rhino

Cruel Ultimatum

Desolation Angel

Mystical Teachings

Char

Kessig Wolf Run

Posted by under notes at / Tags: #magicarena / Imported from reddit / Syndicated: reddit / 0

Posted on r/coins: How to clean grimy and rusty coins?

I had a bunch of old coins from different countries and they were stored in a rusty metal container that was also exposed to water at some point. I checked it recently and many of the coins inside are covered in rust and grime and some of them are even stuck toģether. Any recommendations for cleaning them? Picture: https://photos.app.goo.gl/AVSQzxfTjYVjwSqM8

Posted by under notes at / Tags: #coins / Imported from reddit / Syndicated: reddit / 0

i’m not a serious collector or anything; these are mostly just leftover coins from foreign trips. so i’m not looking so much to preserve value, more like in the future i’d like to be able to pull them out and go “ah these are from my trip to so-and-so country, etc” i hope that makes sense

Posted by under notes at / Tags: #coins / Imported from reddit / Syndicated: reddit / 0

I just put together a quick Sultai thing with the explore package since I’ve been playing that for a long time. Midway I realized I couldn’t use the the Wildgrowth Walker but went ahead anyway just putting in random things lol. I even forgot stuff like Vraska’s Contempt! I finished 6-1.

1 Vraska, Golgari Queen (GRN) GR8

2 Swamp (ANA) 63

1 Hinterland Harbor (DAR) 240

1 Vraska, Golgari Queen (GRN) 213

2 Vivien Reid (M19) 208

1 Vraska, Relic Seeker (XLN) 232

2 Karn, Scion of Urza (DAR) 1

4 Llanowar Elves (DAR) 168

4 Jadelight Ranger (RIX) 136

4 Merfolk Branchwalker (XLN) 197

2 Ravenous Chupacabra (RIX) 82

2 Hostage Taker (XLN) 223

2 Forest (ANA) 65

2 Liliana, Dreadhorde General (WAR) 97

2 Carnage Tyrant (XLN) 179

1 Yarok, the Desecrated (M20) 220

1 Roalesk, Apex Hybrid (WAR) 213

1 Weatherlight (DAR) 237

2 The Eldest Reborn (DAR) 90

2 Assassin’s Trophy (GRN) 152

4 Overgrown Tomb (GRN) 253

2 Temple of Malady (M20) 254

4 Woodland Cemetery (DAR) 248

4 Breeding Pool (RNA) 246

4 Watery Grave (GRN) 259

1 Drowned Catacomb (XLN) 253

2 Moment of Craving (RIX) 79

Posted by under notes at / Tags: #MagicArena / Imported from reddit / Syndicated: reddit / 0

Jul 2019

I’m happy there’s an oldschool Grixis Shadow list there because I haven’t played Modern for a while and that’s the last deck I had and I was looking at MC Barcelona and I didn’t recognize the landscape at all and no more Grixis Shadows. IDK if I want to spend on the Knight-Captains right now to transition to Esper or Mardu. If I take my old Grixis Shadow list to a local modern tourney, how bad are the matchups with the current meta decks?

Posted by under notes at / Tags: #ModernMagic / Imported from reddit / Syndicated: reddit / 0