UnicodeEncodeError

2020-10-19 21:47:13,055 - DMAX - INFO - Getting Authorization token for dmaxde...
2020-10-19 21:47:13,552 - DMAX - INFO - Getting show data
2020-10-19 21:47:13,849 - DMAX - INFO - => Steel Buddies
2020-10-19 21:47:13,851 - DMAX - INFO - Getting link 1 of 5
Traceback (most recent call last):
  File "dmax.py", line 263, in <module>
    realm=arguments.realm
  File "dmax.py", line 177, in main
    episode_name=episode.name
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 8: ordinal not in range(128)

Getting this issue since the last Steel Buddies episode with (updated): dmax.py 6023 -s 8 -e 5

Possible related to #2, did you use Python 3?

No I didn't.
It worked before though (I had the command on a how-to txt file).
I followed the guidelines in the other issue, including the pip3 install. However:
python3 dmax.py 6023 -s 8 -e 5
does nothing at all.
I did remove all python installations (had 2 older versions there too) and installed one anew.
Nothing happens.
I'm on W10 running this in PS with Python3.9 installed.

I can't reproduce this on Windows 8.1 with Python 3.9. What do you mean with "does nothing at all"? Can you also give me the output of python3 -V please?

This kind of "nothing"... :/
Thanks for the episode though!

Odd. Can you please show the outputs of:
python -V
where python
where python3
Seems like Python 3 is not in your %PATH% and Python points to an older Python version.

And running with just python gives the above error? From where did you install Python? From python.org or is it the Linux Subsystem? Also try through the CMD (even if it shouldn't matter). Odd how where doesn't list anything o0

pip install -r requirements.txt
installs the requirements you need

Yes!
That worked.
Now I understand that those got lost probably when I uninstalled above but I don't understand why it stopped working when I posted originally...
Well nevermind. Thank you!!
FYI: it works in PS too.


[1pt] Create empty My profile - Setup (group task)

Create a route and a view component. Use <NavLink /> for the page navigation links and style active class to indicate which section/page the user is currently on (underline active navigation link).
This view should be empty - you will add content in separate tasks.

We Create the Navlink and add MyProfile, Rockects and Misions Links


Fix for webpack and localforage update

Patch to use webpack without hack : http://stackoverflow.com/questions/34032492/using-angular-and-localforage-with-webpack. Upgrade localforage to 1.3 for better webpack compatibility : https://github.com/mozilla/localForage/blob/master/CHANGELOG.md#13

Thanks!


Pass card image paths from server to client

I've been trying to think for a while what would be a good moddable way to include card images, and this idea came to mind. Right now when a server starts a game it passes JSON card data extracted from the Groovy cardsets that looks like this for each card:
{
  "MAX_HEALTH" : 10,
  "SICKNESS" : 1,
  "MANA_COST" : 30,
  "ATTACK" : 3,
  "HEALTH" : 10,
  "ATTACK_AVAILABLE" : 1,
  "flavor" : "The Great Grandfather, Emperor of all Deities, Vanquisher of Evil.",
  "name" : "JADE EMPEROR",
  "description" : "Give creatures of type Chinese owned by you on Battlefield 3 HEALTH\nGive creatures on Battlefield -1 ATTACK\n",
  "type" : "Chinese God"
}

My idea would be to add an extra string field in Groovy like imagePath that would pass along the path to the image for that card (or a default image path is such data is absent). I think this might be possible to use for both the HTML client and libGDX clients, assuming the images themselves are included as part of each project.
Something like this in Groovy, which would pass the full path string to the client to retrieve the actual images:
card('JADE EMPEROR') {
    creature 'Chinese God'
    flavor 'The Great Grandfather, Emperor of all Deities, Vanquisher of Evil.'
    imagePath 'images/mods/mythos/chinese/jade-emperor.jpg'
    maxInDeck 1
    health 10
    sickness 1
    manaCost 30
    attack 3
    whilePresent {
        change HEALTH by 3 withPriority 1 on {
            creatureType 'Chinese'
            ownedBy 'you'
            zone 'Battlefield'
        }
        change ATTACK by -1 withPriority 2 on {
            creature true
            zone 'Battlefield'
        }
    }
}

Can this be done? Would this be practical?

Could we have a consistent JSON style? The standard is foo_bar_baz as opposed to FOO_BAR_BAZ. This would make things easier to reason about when consuming the API.

@danpantry The upper case attributes are resources. They must all have have upper case names for some reason. Quoting the DSL docs:

The name of the resource must always be ALL_CAPS_WITH_UNDERSCORES.

I guess this convention makes it easier to distinguish them from other things in JSON as well.

@jacwah @danpantry :
The resources in SHOUT_CASE are those passed from the universal ECS resource map in core, as opposed to the lower case values which are from the mod intended either as functional identifiers (i.e., name, type) or just text to display to the user (i.e., flavor, description).
Hope this helps.

Technically, the resources don't need to be with ALL_CAPS, that's just what I used originally (they used to be Java enum values once upon a time, where the naming convention says to do it like that). They can absolutely be shown lowercase. But all this is irrelevant to the actual issue here.
Specifying the full mod-dir every time might be a bit excessive, imagePath 'chinese/jade-emperor.jpg' perhaps?

@Zomis Yeah we can specify the full path client-side, actually, that will be more flexible. I think modname/cardset/image.jpg would probably work best, IMO.
As far as implementation, I'd like to perhaps just recycle the same code we use for flavor any objection?

Start the image path with /. That way you can easily append it to a chosen base path or omit the base url and call the current HTTP host (if you're in a browser).

This is implemented. Recommended usage is:
card('Zeus') { imagePath 'mods/mythos/zeus.jpg '}

I'm starting to test this out. I will add instructions for this to the modding documentation after I get the hang of it.


@orta => Added actionmailer-text and email-example-spec.

Looks good, should a mention of this go on @ArtsyOpenSource too?

I can do the @artsyopensource mention unless you beat me to it.


Assignment 2 for the Machine Learning Introduction course

This repository contains all the required input, output, and script from the first assignment  for the Machine Learning Foundations course.

As required to complete Assignment 2, all input, output and script file from Assignment 1 are included.


Add Alltius widget for interactive Q+A engagement

This proposal adds the Alltius widget to support LLM-based user interaction with the Docs site and its content. Here's an example interaction:

Additionally, the backing training dataset periodically crawls through Docs site content, Hiro's website/assets, Hiro's blogs, and Hiro's YT playlist.
Until we get the UI/UX to match Hiro's thematic brand, which is a WIP on the Alltius end (awaiting their deliverable), we will not merge the PR yet. So aside from the UIUX, any alterations to plugin and script integration is welcome.

Per the latest UX improvements from Alltius, the Q+A widget is closer to matching with Hiro's brand (see it live here):

Additionally, the Alltius team is working on:

Bubble color of user utterances - will make it black
The HIRO icon on the top bar is distorted - will fix
The IDK msg needs to be customized - will be changed in a day or two.

@eugeniadigon: In collaboration with the Alltius team, the Q+A widget/chatbot is set to match Hiro's branding. You can play with it here: https://vercel.live/open-feedback/hiro-systems-docs-git-fork-sabbyanandan-add-a-6bc0a4-blockstack.vercel.app?via=pr-comment-visit-preview-link&passThrough=1 — if you have any feedback, please leave them here.
Also, @janniks: I shared my naive approach to include this widget in the Docs site through this proposal; if you'd prefer reconfiguring it differently, please revise this PR.

Sabby, thanks for checking with me. This looks good, my only feedback would be:

Change Hiro's bubble background color to #f2f0ed
(before/after)

And
2) Replace the logo with rounded corners version:

Thanks, @eugeniadigon.
@suyashdeshpande: When you can, please apply the abovementioned color and the rounded icons. 🙏🏽

Hey @sabbyanandan ,
I have updated it.

Thanks, @suyashdeshpande! Appreciate it.

@suyashdeshpande: One other thing. The widget can also gracefully adapt to the dark and light theme when switching between dark and light modes. Something you all can incrementally work and polish towards a better experience.


Integrate Webfeeds for better Feedly integration

Integrate Webfeeds as per this Feedly blogpost and Mark Mitchell's article
I've also updated the readme describing the values

bumping this :)

bumping again

Hey sorry that I never caught this.
I totally understand your concerns with adding a poorly documented standard. It would be great to loop in someone from Feedly - I will try to do so.
In the meanwhile, if you're still interested @parkr I'll make the requested changes :)


Fixes formatting causing duplicate config entry

The update to the formatting around the = sign was causing duplicate
entries in the lxc container config which causes containers to not
restart on upgrade.
Addresses #383

cc @ionosphere80 @Apsu

:+1:

Closing PR as the issue is no longer relevant.


RefreshableCredentials may get wrong keys

The _refresh may be triggered in any accessor of key_id, secret_key or security_token.
for instance, if client access those different parts crossing the point of expiration, the client would got wrong credentials eventually.
class RefreshableCredentials(Credentials):
@property
def access_key(self):
self._refresh()
return self._access_key
@access_key.setter
def access_key(self, value):
    self._access_key = value

@property
def secret_key(self):
    self._refresh()
    return self._secret_key

@secret_key.setter
def secret_key(self, value):
    self._secret_key = value

@property
def token(self):
    self._refresh()
    return self._token

@token.setter
def token(self, value):
    self._token = value

Am I missing something?

I realize there's an interface named get_frozen_credentials which works correctly.

You are correct in your assessment, get_frozen_credentials was added specifically because of this issue and all the internal botocore code was switched over to this interface.
Removing these attributes would be a backwards incompatible change so we cannot remove these until the next major version bump of botocore.  Perhaps the best we can do is issue a warning that there's a potential race condition and that you should prefer get_frozen_credentials.

Agree, Please raise an exception when someone accesses those deprecated public properties of RefreshableCredentials.


i need help again

what do i need to download when this happened

did you download every component on the building.md ?

yea

i did

nobody will fix my problem :C

lime rebuild extension-webm windows

do that

i have done that but it says

it keep saying that 30 times

when you dont read the build guide by kade dev

do you have discord this can be quicker

i have discord

i read all the build guide too
and follow them

what is tag
i can add you


Fix isInTeam and isInSomeTeam

teamnames may contain subteams you're not in, so use teamNameToRole
instead.
Also clean up other uses of the teamnames list.
Clean up uses of TeamRoleType, and have a MaybeTeamRoleType also.

r? @keybase/react-hackers and probably @buoyad

PTAL @buoyad!

This is likely cause lodash-es isn't aliased. Let's ticket
On Wed, Apr 11, 2018 at 6:13 PM Fred Akalin<EMAIL_ADDRESS>wrote:

@akalin-keybase commented on this pull request.
In shared/constants/teams.js
https://github.com/keybase/client/pull/11326#discussion_r180913954:

@@ -42,11 +41,21 @@ export const makeRequestInfo: I.RecordFactory<Types._RequestInfo> = I.Record({
username: '',
})

-export const teamRoleByEnum = invert(RPCTypes.teamsTeamRole)
+export const teamRoleByEnum = ((m: {[Types.MaybeTeamRoleType]: RPCTypes.TeamRole}) => {
Any lodash function that I've seen, for that matter
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/pull/11326#discussion_r180913954, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAfhUwI_H7GI4sTl2PcgZMfhQKEALA_mks5tnoAfgaJpZM4TNZ14
.