[Experimental idea] Redesign section naming

Some section names are don't currently clearly highlight what they actually achieve. I propose changing section names in the following way:

<section-button> --> <button-trigger>
<section-live> --> <contents-trigger>
<section-output> --> <global-trigger>
<section-filechange> --> <file-trigger>
<section-start> --> <kernel-start-trigger>

And also the potential implementation of a range of other sections:

<kernel-stop-trigger>
<page-load-trigger> with optional flag parameter firstUserOnly
<page-close-trigger> with optional flag parameter lastUserOnly
<timeout-trigger> with parameter seconds
<url-trigger> with parameter url

triggers whenever a defined url is called

<result-trigger> with parameter result -- the design of this one needs further thought

triggers whenever a code result (such as a function or variable) changes

I also propose creating a more advanced code trigger component which can be customised to be mixes of the above as required. However this will not replace the above options, instead provide more advanced control as needed:
<multi-trigger triggers="a_python_list" options="a_python_dict">

@robmarkcole along the same "keeping it simple" vein, does this proposal keep the basics simple do you think? Should I be looking at section naming redesign, or is it okay as is?

I like the existing namings, but that’s just a personal preference as they are a bit more succinct

@robmarkcole small iteration on the proposal, what do you think about that?

I don't believe this is name changing for name changing sake. At the beginning I only had start, button and live. But now that I have 'output' and 'filechange' as well as live the name 'live' doesn't make much sense anymore. It was chosen to be live in contrast to 'button'. But 'filechange' is arguably also 'live', so is 'output'.
So I believe I need to change live to 'contents' or something of the sort making it clear that live only runs when a variable within it changes.
But I have also often come across cases where I want a section to do two things. So I do also need to build in the ability to customise the sections. Given that I am already changing the name of 'live' it means that the choice of the word 'section' should also be considered to make sure it is the best option.

To play devils advocate the "section" helps indicate where that element
needs to be placed. It helps indicate that it needs to go around the code
blocks. "Trigger" doesn't give you a an idea about it needing to surround
the cod blocks.
The live name can change to content or something similar. But keep
"section" as is?
On Sat., 21 Apr. 2018, 6:23 pm Simon Biggs<EMAIL_ADDRESS>wrote:

I haven't even begun implementing the new names. Just thinking about it at
the moment.
I personally do like the section word. Maybe if it's not broke don't fix
it?
I like your second point. Is there a convention from another project. I'll
have a look. If you find something please let me know.
On Sat., 21 Apr. 2018, 5:22 pm Robin<EMAIL_ADDRESS>wrote:

OK I understand your reasoning. I still find the use of trigger a little
confusing, could you update one of the example forms to use the new
convention, so I can get a feel for it in context?
Also I am wondering if there are any other projects with a convention we
could adopt?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/247#issuecomment-383274329,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe0850XO8SN4DuCM-eGdr76xBt2_Kks5tqt4sgaJpZM4TdPTz
.

@robmarkcole
Here's another thought. Go back to just <section-start>, <section-button>, and <section-live>. Remove filechange and output. And instead have a trigger parameter on <section-live>.
The trigger parameter on the live section would default to trigger="['content']", but could be replaced with options such as trigger="['global']" or trigger="['file']"

or what if the parameter was instead 'addTriggers' which indicated that it would always keep 'content' but could have others included. And make it so that the 'addTriggers' parameter is available on all sections.
This would mean that <section-start addTriggers="['content']"> would actually be equivalent to <section-live addTriggers="['start']">

Hmm, different words altogether. Inspired by RxJs (http://reactivex.io/documentation/operators/subscribe.html)
What about:

<observe-files>

<observe-all-variables>

<observe-content-variables>

<observe-code-result>

<observe-session-start>

<observe-page-load>

<observe-button>

<observe-custom subscriptions="['files', 'button']">

This is especially poignant because that is exactly what the underlying code is doing. It is using the RxJs library to observe changes in those respective things.

@SimonBiggs I like that formalism

Woo hoo! :) we have a winner!
Okay, back up a sec, why do you like it? (I don't want to race ahead with the idea unless we're sure that we're sure).

I'm just going to iterate ideas about what the parameters should look like in this comment.
<observe-files files="['a_file_name']">
<observe-all-variables>
<observe-content-variables>
<observe-code-result codeResult="update_when_this_function_result_changes()">
<observe-session-start>
<observe-page-load>
<observe-button value="a_button_name">
<observe-custom subscriptions="['files', 'button']" options="{'files': ['a_file_name'], 'button': {'value': 'a_button_name'}}">

I think I have managed to convince myself. Managing to convince you @robmarkcole so quickly probably helped sell myself on the idea.

So, unless there are any objections I will begin implementing this formalism in parallel. The old method will hang around. Once the new method is complete the old method will get deprecation notices.
I will keep the old method around for quite a while though to make the transition smooth.
The new interactive docs will only make mention from the get go this new syntax.

@robmarkcole do you have any thoughts about the parameter design?

@SimonBiggs could you clarify with a single example to choose between?

For example:

changing conditional to disabled, resulting in being more aligned to standard html
In observe code result, trying to make it clear which is the code being run and which code is being watched
Change the parameter code parameter from code to runCode, primarily to facilitate the point above
If options are wanted on the observe custom, pass a dictionary. The keys of that dictionary will be used to work out what subscriptions are needed.

@SimonBiggs

Consistency with standard HTML recommended
Clarifying watched vs. run code is necessary
runCode is useful
Dict is a good approach

Thanks Robin. Let me know if I've been sending too many pings your way.

@robmarkcole another question, could I get away with:
<observe-code-result code="a_function()" runCode="some_code()"> </observe-code-result>

As in if code to be run is always called "runCode" is it obvious enough to use "code" instead of "observe code" on the observe-code-result section?

@robmarkcole and please let me know if you can think of ways to shorten any of the names and still make it clear what the mean.

Hi @SimonBiggs I think if you are using runCode then you should also use observeCode : explicit is better than implicit :)

Kk :) sounds good. Explicit is definitely better than implicit. Thanks
Robin.
On Mon., 30 Apr. 2018, 4:14 pm Robin<EMAIL_ADDRESS>wrote:

Hi @SimonBiggs https://github.com/SimonBiggs I think if you are using
runCode then you should also use observeCode : explicit is better than
implicit :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/247#issuecomment-385319895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVew3ChAAEWbsir8OTdEUeKAwl-vlLks5ttqvcgaJpZM4TdPTz
.

@robmarkcole here's a project that is very very similar in syntax. It's designed to produce static documents, but the syntax has been well thought out and the same syntax could achieve the same ends here.
https://rmarkdown.rstudio.com/lesson-3.html
Essentially don't have sections at all. Instead define how each code block interacts in the header of the code block.
```{python button}
print('hello world')
```

I'm not sold on the idea. But thought the idea needed to be raised seeing that r markdown is achieving a very similar aim with a very similar syntax.

@simonbiggs as someone with no web dev experience but plenty of python experience, that syntax does have a ‘familiar look and feel’. I’ve been working out how to best implement some syntax in my own project recently and the tricky part is establishing the best structural relationships between syntax. If that package has those relationships figured out already you could just adopt their structure but change the precise syntax.

Interesting. I'll think more about it. I'm not really sold on it...
If you could think of some ways the parameters could be neatly put in there
that would help. I can't picture how to get a similar level of
flexibility...
On Sun., 13 May 2018, 3:59 pm Robin<EMAIL_ADDRESS>wrote:

@SimonBiggs https://github.com/SimonBiggs as someone with no web dev
experience but plenty of python experience, that syntax does have a
‘familiar look and feel’. I’ve been working out how to best implement some
syntax in my own project recently and the tricky part is establishing the
best structural relationships between syntax. If that package has those
relationships figured out already you could just adopt their structure but
change the precise syntax.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/247#issuecomment-388603712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe-iAHfXnakqhV7HNUNAgKgNAN9sGks5tx8vTgaJpZM4TdPTz
.

For parameter entry could you use a python structure such as a dict?

Would you be able to write out what you think it might look like?
Say for a button section, and a filechange section.
On Sun., 13 May 2018, 4:06 pm Robin<EMAIL_ADDRESS>wrote:

For parameter entry could you use a python structure such as a dict?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/247#issuecomment-388603954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe9RSkjqi8s-sZdo53Dvs74uz7X-Vks5tx81tgaJpZM4TdPTz
.


Property 'run' is missing in type 'readonly KeyBinding[]' but required in type 'KeyBinding'.ts(2741)

Bug report
Packages affected

[ ] sandpack-client
[x] sandpack-react

Description of the problem

What steps can we take to reproduce the problem?
https://codesandbox.io/s/sandpack-extensions-error-demo-e1utgn?file=/src/App.tsx ( needs to refresh when dependencies is installed. )
Link to sandbox: link (optional)
Your Environment

Software
Name/Version

Sandpack-client version

Sandpack-react version
1.3.0

@codemirror/autocomplete
6.1.0

Browser
Edge

Operating System
Windows 11

Yeah, the type errors are not useful at all.
As Sandpack needs a flat array to consume the keybinding and shallow and compare differences between renders, I'd recommend you merge the extension keymap in to the array prop, like the example bellow:
<SandpackCodeEditor
  extensions={[autocompletion()]}
  extensionsKeymap={[...completionKeymap]}
/>

If this problem persists, or if it becomes more often, I'll properly address this at the Sandpack component level.

Yeah, the type errors are not useful at all.
As Sandpack needs a flat array to consume the keybinding and shallow and compare differences between renders, I'd recommend you merge the extension keymap in to the array prop, like the example bellow:
<SandpackCodeEditor
  extensions={[autocompletion()]}
  extensionsKeymap={[...completionKeymap]}
/>

If this problem persists, or if it becomes more often, I'll properly address this at the Sandpack component level.

Thx for reply, but I still got the error :

In my VSCode it will show the type error :

Please use<EMAIL_ADDRESS>as Sandpack hasn't updated yet the for the latest CodeMirror version, and this might cause some conflicts. Here's a screenshot working with the proper dependency version:


:lady_beetle: when crating a migration from openstack mapping missing glance

when crating a migration from openstack mapping missing glance

adderessed by: https://github.com/kubev2v/forklift-console-plugin/pull/1055


Forcefeed DoAfters, again.

This PR adds DoAfters when force feeding someone a drink or food. They were initially going to be added in #5059 but were paused while waiting for food & drinks to be ECSed. This PR also makes various changes to drinks & food:

Prevents double pop-up messages, which occurred due to interactions not being marked as handled.
Adds ActionBlockerSystem checks
Fixes some odd pop-up strings like "You can't drink bowl!", or "You've had enough large beaker!"
Makes the force-feed target's popup no longer just "slurp" or "nom" but actually informative.
No more nibbling on food delivered via pneumatic cannon. Also makes it so that (additional) utensils are not required.
Added ForceFeed admin logs.

This doesn't actually add any sort of cooldown when using food/drink for self consumption. AFAIK the changes here shouldn't clash with #5013
Screenshot

Target View
User View

Start

End

TryUseDrink/TryUseFood changes
The food and drink systems are pretty similar in many ways. Using drinks as an example: previously, TryUseDrink was used for both self-drinking and force-feeding a drink. It's now been split into:

TryUseDrink for self-drinking
TryForceDrink starting a DoAfter that forces someone else to drink
OnForceDrink which gets called by the DoAfter.

There is also an annoyingly large amount of overlap between food & drink. But  they are also different enough that combining them into a single force-feed system is hard, and I'm not sure if there's a nice solution w/o just having some code duplication.  Differences include:

Drinks can spill solutions
Food can spawns trash
Food can require utensils
Food can be remotely force fed

conflicts


No control on special character in string

Currently, we are not controlling on what character could be included in the website's textboxes.
This could lead to HTML-injection or malfunction.
Characters worth removing: " & @ # < >.

Solution:
create a gate function as follow:
def gateFunction(string):
    string_re = string.replace(<regex expression of constraint>, '')
    return string_re==string

Done.


Testbench does not verilate

The Verilator external test suite is breaking on the SweRV test, and this time I don't believe it is a Verilator regression:
https://travis-ci.com/verilator/verilator_ext_tests/jobs/228899219
It appears that commit 0dacc978 moved finished outside of a macro block that was probably there to get around this issue in the first place.  Now Verilator complains that it is defined twice.

Thanks for reporting this, Todd.
I have pushed a patch for this # fc331027c

Confirmed, thanks:
https://travis-ci.com/verilator/verilator_ext_tests/builds/125826326?utm_medium=notification&utm_source=email


add more to the porn list, sinfonietta is sleeping

https://www.xfantasy.com/
https://callista.su/
http://beasttracker.dog/
http://sxyprn.net/
https://www.xfantasy.com/
https://myporn.club/
https://sakuracircle.com/
http://bangextreme.se/
https://c.gorilandcomic.com/
https://gorilandcomic.com/
https://leporno.info
https://www.javlibrary.com
http://jav-legend.com/
https://pornkai.com
https://www.boyfriendtv.com
https://sanctuary.in.net
http://www.funeralofsmiles.com/
[ literotica stuff ]
https://literotica.com/
https://shop.literotica.com/
https://www.literoticavod.com/
https://vipcams.literotica.com/
https://forum.literotica.com/

Hi @Danilopereira82 please post this at https://github.com/Sinfonietta/hostfiles/issues.  If it's already posted there, please don't re-post it here.  Thank you.


Server error in some cases

BUG DESCRIPTION
Problem
500 error on some parameter combinations
Steps to reproduce

Numbered

Current behavior
500 error.
Expected behavior
A plot or error message if the values are invalid.
Suggested Change
A guess at what might fix the issue.  Pseudocode encouraged.
Comment
Any other relevant context or links to what you were working on when you
discovered the problem.

ISSUE OWNER SECTION
Assumptions

List of assumptions made WRT the code
E.g. We will assume input is correct (explaining why there is no validation)

Requirements

List of conditions to be met for the feature
E.g. Every column/row must display a value, i.e. cannot be empty

Limitations

A list of things this work will not fix
E.g. Getting edge case X to work requires too much effort and will not be
fixed in this effort.

Affected/Changed Components

Files
Environment variables
External executables
Database tables
Cron job settings
Etc.

DESIGN
GUI Change description
Describe changes the user will see.
Code Change Description (Pseudocode optional)
Describe code changes planned for the fix.
Tests
A test should be planned for each requirement (above), where possible.

It's caused by three factors: 1) Francesco updated his code to version <IP_ADDRESS>. including pickle files; 2) The code running on the server uses pickle files from version <IP_ADDRESS>. 3) need to update code in utils.py in order to get correct list of neurons after Francesco fixed a bug in get_neuron_ids method. If working correctly, the above case shouldn't be on neuron pulldown list for wild-type. I will submit a Pull Request to address this issue later today.

Nice detective work! I had thought I had updated the virtualenv on the server to use the latest (<IP_ADDRESS>) version of wormfunconn, but perhaps I forgot?

It's not your fault. It's mainly due to the changes Francesco made and how he manages his code base.  Here are the main steps we need to do on our end:

always run "pip install requirement.txt" both locally and on the server ( install his code in wormfunconn  directory).
evaluate if pickle files are changed (in atlas directory). If yes, create a new local branch to update files in MEDIA_ROOT/atlas, and push to GitHub after testing.
evaluate if any code on our end (mainly utils.py and forms.py) needs to be updated based on changes he made. If yes, create a new local branch to update code, and then push to GitHub after testing.
redeploy the code to the server if necessary.

Ah, I see. I had updated wormfunconn but not copied things over to MEDIA_ROOT/atlas directory. It would be nice to be able to use the pickle files that wormfunconn comes with. I think the "fix" for that would lie in Francesco's code, however.


Fix/redirect

Coverage decreased (-2.3%) to 78.49% when pulling 29b91800ef86ca367c2446eae74d42ce09606a90 on fix/redirect into 68153b882e4ab9b794b00959d4e692a0a2cbc09b on master.

I am going to proceed with merging this.


Can not be used in nextjs

it will be noticed that can't resolve 'lodash/merge', in the Next.js

I will take a look at this issue

I change the dependencies position, I have try, it better to me, please have a look

@andy00614 try 1.3.1


Update to console error for showing errors instead of log

I am looking into one other github issue, if I hear back in a day or two I will wait to push this until I resolve that one. If I do not hear back, I will push this sometime mid-next week.  Thanks!

@dewyze No worries. Do you plan to add more features to this?
Also was looking at the code, why not using eslint or any other linter for that matter?

@hozefaj I wrote this originally a while ago and was pretty new at javascript (and even still I mostly write ruby). If you want to add one I would be totally for that.
Part of the issue is that this simply reveals numbers already present in the trello DOM, so without adding any features that call out to the API and adding configuration, I am not sure how many features would be good additions. I am open to some feature ideas if you have some.


fix: mistakenly removed cached from previous pr

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge

bors cancel

bors merge


Issue 148 connection helper

Modify schema and models to handle direct access to nodes in type Connection queries.
Unit test fixed
Added integration test

If you merge, please make sure that the following issues are also taken care of:

Any other storage type, e.g. Cassandra, should work with this new helper, too
In case of empty foreign key arrays, make sure an empty helper is returned, too.
Write integration tests to ensure the above

If you merge, please make sure that the following issues are also taken care of:

Any other storage type, e.g. Cassandra, should work with this new helper, too
In case of empty foreign key arrays, make sure an empty helper is returned, too.
Write integration tests to ensure the above


Sum of weighed variables

Is it possible to add a constraint of the sum of weighed variables? I can't find the way to make it.

Sure, it is called scalar in the integer constraint factory.

I'm trying to solve a CSP problem... And don't know how to represent the constraints I wanna introduce (perhaps somebody can lend me a hand).
I've got a number of people which I wanna bring them using some vehicles of determined capacity. So, what I want to know is how many vehicles do I need of each type to service people.
I've written a constraint: groupSize <= sum for each vehicle(vehicleSeatCapacity x variableQuantityOfVehicle)
Giving this example:
· Group Size: 9 People
· Vehicle types:
- Vehicle type 1: vehicles of 2 seats.
- Vehicle type 2: vehicles of 7 seats.
The constraint would be: 9 <= (2.x) + (7.y)
What I've got difficulty is in translating it to Choco Solver code. For the time being, what I have is the following (considering your help of the scalar):
import java.util.ArrayList;
import java.util.List;
import org.chocosolver.solver.Solver;
import org.chocosolver.solver.constraints.IntConstraintFactory;
import org.chocosolver.solver.search.strategy.IntStrategyFactory;
import org.chocosolver.solver.trace.Chatterbox;
import org.chocosolver.solver.variables.IntVar;
import org.chocosolver.solver.variables.VariableFactory;
public class Main {
private static Integer MAX_DOMAIN_VARS = 50;

private static Grupo grupo = new Grupo(9);
private static List<Vehiculo> vehiculos = new ArrayList<Vehiculo>();
private static IntVar var1;
private static IntVar var2;

public static void main(String[] args) {

    // Creamos los vehículos:
	Vehiculo v1 = new Vehiculo(2, (float) 50);
	Vehiculo v2 = new Vehiculo(7, (float) 71);

	vehiculos.add(v1);
	vehiculos.add(v2);

	// Empezamos creando el solver:
	Solver solver = new Solver("csp");

	var1 = VariableFactory.bounded("var1", 0, MAX_DOMAIN_VARS, solver);
	var2 = VariableFactory.bounded("var2", 0, MAX_DOMAIN_VARS, solver);
	IntVar[] variables = {var1, var2};

	int[] costesVariables = {Math.round(v1.getCoste()), Math.round(v2.getCoste())};

	IntVar pers = VariableFactory.fixed(grupo.getPersonas(), solver);
	solver.post(IntConstraintFactory.scalar(variables, costesVariables, ">=", pers));

	// Estrategia de búsqueda:
	solver.set(IntStrategyFactory.lexico_LB(new IntVar[]{var1, var2}));

	// Buscar solución:
	solver.findSolution();

	// Imprimir las estadísticas de búsqueda:
	Chatterbox.printStatistics(solver);

	Chatterbox.printSolutions(solver);

}

}
But I'm not sure if I'm doing it well...
Besides, I would like to add another constraint, which would involve not the seats of the vehicles but the cost of each vehicle type:
min(sum for each vehicle(vehicleCost x variableQuantityOfVehicle))
This would involve picking the solution which would be cheaper.
In my example, we could add the vehicles' costs and enhance it:
· Group Size: 9 People
· Vehicle types:
- Vehicle type 1: vehicles of 2 seats and 15 of cost.
- Vehicle type 2: vehicles of 7 seats and 18 of cost.
Therefore, the new constraint in this example would be:
min(15.x + 18.y)
Thank you for your help!

Hi,
That seems to be an alternative of a knapsack problem to me.
Have a look at the following constraint: ICF.knapsack(...), that should fits your needs.
Here is a sample made in choco using that constraint.
Most of the time, a first (sometime naive) model can be obtained by simply translating your mathematical model into a CP model.
Hope it helps,
CP

IntConstraintFactory.knapsack(...) ensures that :

OCCURRENCES[i] * WEIGHT[i] ≤ TOTAL_WEIGHT
OCCURRENCES[i] * ENERGY[i] = TOTAL_ENERGY
and maximizing the value of TOTAL_ENERGY.

For my problem I need to modify it to ensure that:

OCCURRENCES[i] * SEATS[i] ≥ TOTAL_PEOPLE
OCCURRENCES[i] * COST[i] = TOTAL_COST
and MINIMIZING the value of TOTAL_COST

Do I need to modify the implementation of knapsack() method within IntConstraintFactory?

This is what I've done: https://github.com/russellhoff/choco-solver-inverted-knapsack
Look at my log (using the data of KnapsackInvertido):
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
** Choco 3.3.1 (2015-05) : Constraint Programming Solver, Copyleft (c) 2010-2015

Solver features:
Variables : 6
Constraints : 1
Default search strategy : no
Completed search strategy : no
Solution #1 found. 1 Solutions, Minimize coste = 121, Resolution 0,018s, 1 Nodes (54,2 n/s), 0 Backtracks, 0 Fails, 0 Restarts
coste = 121 var1 = 1 var2 = 1 .
Incomplete search - Unexpected interruption.
Solutions: 1
Minimize coste = 121,
Building time : 0,082s
Initialisation : 0,017s
Initial propagation : 0,018s
Resolution : 0,021s
Nodes: 1 (48,3 n/s)
Backtracks: 0
Fails: 0
Restarts: 1
Max depth: 0
Memory: 3mb
Variables: 6
Constraints: 1

The result seem correct, even if I change the group amount or the vehicles'.
What to obtain more than one solution?  Changing here:
@Override
public void solve() {
	solver.findOptimalSolution(ResolutionPolicy.MINIMIZE, varCoste);
}

by
@Override
public void solve() {
	solver.findAllOptimalSolutions(ResolutionPolicy.MINIMIZE, varCoste, TRUE or FALSE);
}

results in a long lasting loop (placing either true or false).

You should set the boolean to true (see why [here]{http://choco-solver.org/user_guide/3_solving.html#finding-all-optimal-solutions)).
What is a long loop ? 1sec? 10 sec? infinite?

Log file:
...

Solution #384501 found. 384501 Solutions, Resolution 150,820s, 384501 Nodes (2.549,4 n/s), 0 Backtracks, 0 Fails, 384500 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384502 found. 384502 Solutions, Resolution 151,943s, 384502 Nodes (2.530,6 n/s), 0 Backtracks, 0 Fails, 384501 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384503 found. 384503 Solutions, Resolution 153,198s, 384503 Nodes (2.509,8 n/s), 0 Backtracks, 0 Fails, 384502 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384504 found. 384504 Solutions, Resolution 154,324s, 384504 Nodes (2.491,5 n/s), 0 Backtracks, 0 Fails, 384503 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384505 found. 384505 Solutions, Resolution 155,444s, 384505 Nodes (2.473,6 n/s), 0 Backtracks, 0 Fails, 384504 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384506 found. 384506 Solutions, Resolution 156,558s, 384506 Nodes (2.456,0 n/s), 0 Backtracks, 0 Fails, 384505 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384507 found. 384507 Solutions, Resolution 158,238s, 384507 Nodes (2.429,9 n/s), 0 Backtracks, 0 Fails, 384506 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384508 found. 384508 Solutions, Resolution 159,935s, 384508 Nodes (2.404,1 n/s), 0 Backtracks, 0 Fails, 384507 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384509 found. 384509 Solutions, Resolution 161,641s, 384509 Nodes (2.378,8 n/s), 0 Backtracks, 0 Fails, 384508 Restarts
coste = 121 var1 = 1 var2 = 1 .
Solution #384510 found. 384510 Solutions, Resolution 163,887s, 384510 Nodes (2.346,2 n/s), 0 Backtracks, 0 Fails, 384509 Restarts
coste = 121 var1 = 1 var2 = 1 .
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at sun.text.resources.FormatData.getContents(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.loadLookupTablesIfNecessary(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.handleKeySet(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.keySet(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source)
at sun.util.resources.ParallelListResourceBundle$KeySet.contains(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source)
at sun.util.resources.ParallelListResourceBundle$KeySet.contains(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source)
Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space
at sun.text.resources.FormatData.getContents(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.loadLookupTablesIfNecessary(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.handleKeySet(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.keySet(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source)
at sun.util.resources.ParallelListResourceBundle$KeySet.contains(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source)
at sun.util.resources.ParallelListResourceBundle$KeySet.contains(Unknown Source)
at sun.util.resources.ParallelListResourceBundle.containsKey(Unknown Source)
at sun.util.locale.provider.LocaleResources.getDecimalFormatSymbolsData(Unknown Source)
at java.text.DecimalFormatSymbols.initialize(Unknown Source)
at java.text.DecimalFormatSymbols.(Unknown Source)
at sun.util.locale.provider.DecimalFormatSymbolsProviderImpl.getInstance(Unknown Source)
at java.text.DecimalFormatSymbols.getInstance(Unknown Source)
at java.util.Formatter.getZero(Unknown Source)
at java.util.Formatter.(Unknown Source)
at java.util.Formatter.(Unknown Source)
at java.lang.String.format(Unknown Source)
at org.chocosolver.solver.search.measure.MeasuresRecorder.toString(MeasuresRecorder.java:429)
at org.chocosolver.samples.AbstractProblem$1.run(AbstractProblem.java:142)

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

Did you defined any search strategy?
Did you set a restart strategy?  I'm not sure you declare the right set of decisions variables (or you except the knapsack constraint to do more than it actually does).

Now I've only two variables (two vehicle types, two variables). Currently I'm testing it with One group of people and two vehicles, but I'll have several vehicles in a near future.

But, where did the restarts come from?

I don't know :S

Try with the default search strategy.
Is your repo up to date so I can have a look?

yes it's up to date :)
El 19/8/2015 14:37, "cprudhom"<EMAIL_ADDRESS>escribió:

Try with the default search strategy.
Is your repo up to date so I can have a look?
—
Reply to this email directly or view it on GitHub
https://github.com/chocoteam/choco3/issues/319#issuecomment-132576224.

OK, got it. It comes from :
solver.set(new ObjectiveStrategy(varCoste, OptimizationPolicy.BOTTOM_UP), strat);

You don't need to do that, except if you want a dichotomic search (that you didn't declare).
Delete that instructions and that should work like a charm.

thank you! I'm off work, so tomorrow I'll be checking it out.
El 19/8/2015 15:02, "cprudhom"<EMAIL_ADDRESS>escribió:

OK, got it. It comes from :
solver.set(new ObjectiveStrategy(varCoste, OptimizationPolicy.BOTTOM_UP), strat);
You don't need to do that, except if you want a dichotomic search (that
you didn't declare).
Delete that instructions and that should work like a charm.
—
Reply to this email directly or view it on GitHub
https://github.com/chocoteam/choco3/issues/319#issuecomment-132583250.

@cprudhom I've updated my repo. It works!!!!
Just note something. I've realised that no matter if I look for a single solution or "allSolutions",  I can only access to a single value of each variable.

You mean, once the resolution ends?
That's normal: on a call to findSolution() the search stops on the first solution, if any, then variables are instantiated (domains reduced to singleton); on a call to findAllSolutions(...) or findOptimalSolution(...), the last/best solution is restored when the search ends.

I've found it here http://choco-solver.org/user_guide/3_solving.html#enumerating-solutions. Thanks for all your help @cprudhom !


Dont sent telemetry in forks

Closed #20941

@paulacamargo25 should this be deferred to June?

Yes Megan, thanks


update ORT LOGO

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Added your logo here https://github.com/TrustWallet/tokens/commit/457244cbda8ed71aa73910f8e0e0d3b74cf5e36d, others are duplicates.
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


Write out paper on data/analytics libraries (Due 5/22)

Do your due diligence: sanity check whether it's easier to build charting stuff using Javascript, Rails, Python, etc.

Data/analytics libraries
How are the APIs structured?
What stack are we using? How will be build this out?

https://docs.google.com/document/d/1_nmXD5eLh5mN-Nz4uUcKGF2XaYZ1DOuzybM3ioz-A-8/edit


fix img link

Hi, thanks for your contribution. We are using the ~/ convention per guidance. Thanks!


Documentation Additions

Overall the documentation was really smooth in terms of setting up the instance once the account was made. Some small remarks though:

The step for creating an Access account username here (https://operations.access-ci.org/identity/new-user) should probably be combined with the documentation as a first step

When creating a new Access account there should be a mention to use a university account (specifically UCSB) instead of selecting from scratch. This isn't too obvious in the documentation since the default image shows using the default Access account (not UCSB).

It should be mentioned that the Access account creation at least for me didn't let me login for a couple days (kept throwing weird errors in the Access account (not the jetstream one)) so maybe a mention that this could take a couple days to process.

Also in the jetstreams part when allocating an instance when logging in, if they get an "Unauthorized access" message it means they need to be allocated resources using the access id created initially.

When creating an ssh key their should be separate instructions for windows computers on creating ssh key since running "code .ssh/.pub" doesn't do anything on windows so adding the general department tutorial on creating an ssh key might be useful: https://computing.pstat.ucsb.edu/docs/devcontainer/ssh-setup/#0

Also after connecting to vscode, one more instruction could be to say to choose either (linux, windows, or mac)

Also maybe a mention of the choice in choosing instance sources. Are we only allowed to choose the ucsb-pstat or can we choose other instance types?

Overall though pretty smooth documentation.

Here are my thoughts on potential fixes for the docs (feel free to let me know your opinion @Arm627) and also some questions for you:

The step for creating an Access account username here (https://operations.access-ci.org/identity/new-user) should probably be combined with the documentation as a first step

This can be handled by adding an initial account creation step.

When creating a new Access account there should be a mention to use a university account (specifically UCSB) instead of selecting from scratch. This isn't too obvious in the documentation since the default image shows using the default Access account (not UCSB).

Can you expand on this?  I don't believe email type poses an issue for account creation or usage.  That said, I can make an additional note in the docs for linking a school email to an account (which is an option ACCESS provides).

It should be mentioned that the Access account creation at least for me didn't let me login for a couple days (kept throwing weird errors in the Access account (not the jetstream one)) so maybe a mention that this could take a couple days to process.

I think your particular case was unusual though I could be wrong.  That said, this could also be handled with an additional note inside the docs.

Also in the jetstreams part when allocating an instance when logging in, if they get an "Unauthorized access" message it means they need to be allocated resources using the access id created initially.

Although this is mentioned in step 5, you do make a good point.  This should probably be listed as a "warning" message.

When creating an ssh key their should be separate instructions for windows computers on creating ssh key since running "code .ssh/.pub" doesn't do anything on windows so adding the general department tutorial on creating an ssh key might be useful: https://computing.pstat.ucsb.edu/docs/devcontainer/ssh-setup/#0

Can you verify that running code <file location> doesn't work (for any file)?  I've tested this on a Windows machine and it's worked in the past.  This is actually an issue with the documentation that I've written up a fix for but haven't published yet.  It should say code .ssh/<KEY_NAME>.pub but it doesn't because <KEY_NAME> gets treated as an HTML tag.  code .ssh/.pub shouldn't do anything since no file of that name exists there.

Also after connecting to vscode, one more instruction could be to say to choose either (linux, windows, or mac)

Did this result in any unexpected behavior?  I debated on including that step but it's a bit problematic from a users perspective since they may be on one type of OS but their instance environment may be using a different OS (without them realizing it).

Also maybe a mention of the choice in choosing instance sources. Are we only allowed to choose the ucsb-pstat or can we choose other instance types?

ucsb-pstat is currently the only one offered.  It's really meant to be a quick-start instance with R/Python and RStudio/Jupyterhub (I believe) bundled together.  The other instances that are there are created by other users for their own research needs so they're not intended for general purpose usage.
There's a number of ways of handling this... We could make an additional tutorial talking about this in more depth.  Or we could leave it up to the user.  I am leaning to the latter since I would assume that if someone needs something more specific, they could at that point just boot up a fresh instance and install the packages they need (or create their own Dockerfile or edit the existing templates that we have).  Realistically, it falls under more advanced usage and at least for now, the aim is to create a simplified approach.
Anyway, let me know your thoughts on this.  I'll be making edits to the site soon.

Some comments on the comments :)

This can be handled by adding an initial account creation step.

That sounds good to me

Can you expand on this? I don't believe email type poses an issue for account creation or usage. That said, I can make an additional note in the docs for linking a school email to an account (which is an option ACCESS provides).

When creating an Access account the default is using an Access identity provider. I'm not too sure what this means so instead I searched up UC Santa Barbara and it was listed as a provider which I selected to use. This might not be obvious (its still not obvious to me if I should have or not) so just a quick mention of using the searching box and selecting UC Santa Barbara would be helpful I think.

Can you verify that running code  doesn't work (for any file)? I've tested this on a Windows machine and it's worked in the past. This is actually an issue with the documentation that I've written up a fix for but haven't published yet. It should say code .ssh/<KEY_NAME>.pub but it doesn't because <KEY_NAME> gets treated as an HTML tag. code .ssh/.pub shouldn't do anything since no file of that name exists there.

Ya fair, this does work on windows but it was a bit confusing without the <KEY_NAME> part especially since I'm not too experienced with ssh stuff. But basically a mention of the ssh documentation, maybe how to make or find the <KEY_NAME> and perhaps of (this is obvious in hindsight) running the terminal in administrator mode.

Did this result in any unexpected behavior? I debated on including that step but it's a bit problematic from a users perspective since they may be on one type of OS but their instance environment may be using a different OS (without them realizing it).

By default I chose Linux which worked perfectly but I've always been curious if I were to select a different option if it would work and someone else may be more comfortable in windows or mac and select that as an option which I have no idea if that will work or not.

ucsb-pstat is currently the only one offered. It's really meant to be a quick-start instance with R/Python and RStudio/Jupyterhub (I believe) bundled together. The other instances that are there are created by other users for their own research needs so they're not intended for general purpose usage.

Ya your right for almost every scenario the ucsb-pstat should be fine. I was just curious I guess.

@Arm627 One more question: You mentioned needing to run terminal in administrator mode? I believe that SSH keys should've been stored under C:\Users\<your_user_name>\.ssh\ which should not require administrative permissions to access. As far as I am aware, opening up Powershell/Command Prompt defaults to the C:\Users\<your_user_name>\ location.
I would appreciate if you could verify!  I am trying to think of the best way possible to access the SSH keys since Windows makes it a pain to open up files with either no extension or an extension that doesn't correspond to a common file type (like .pub which literally just indicates a public key and not a file type).

@392781 Hi Ronald, yes your right looks like you don't need administrative mode to open the ssh file (not sure why I used it before)

Completed with commits 1c8ddadb87c8f9107c184a225b313135862bce3d, d2374bdec14631e8a117652bd84a528a1f0ae69b, and 0375274d6cfb2301ddbf7e26d1b0f82a8de0124e.


Consider reusing locally-installed linters in pre-commit

cc @antonymilneqb

Is this related? #1

Note that this integration might be a bit tricky or not possible, see https://cookiecutter-hypermodern-python.readthedocs.io/en/2020.11.15/guide.html#python-language-hooks

I once found a blog post that explained how pre-commit is a great tool to execute linters, but so-so for installing and discovering them. Can't seem to locate it anymore.

https://github.com/OCA/oca-addons-repo-template/issues/175#issue-1466067857

I'm not doing any of this, at least for now.


Using log package instead of logging package

reborn/go has a log package too, do we need unify only one for reborndb?

Yes.


Typescript type definitions documentation

Updated README.md file and added typescript support instructions which is installing the types library @types/moment-jalaali separately.

Thanks, merged.


Fix badge with build status in README.md

Fixed

Badge with build status in README.md

Now:

After fix:

Thanks!


feat(ONNXToTosa): support onnx.Expand through tosa.tile.

Spec for onnx.Expand: https://onnx.ai/onnx/operators/onnx__Expand.html

@ttjost, is it likely that you will work on this PR soon?

Opened https://github.com/Xilinx/onnx-mlir/pull/150 to lower Expand using a different decomposition. I didn't reuse this PR because I basically restarted from zero.


[ENHANCE] Open Contracts and Address referneeces in nearblock 🟠

Summary
[Brief overview of the enhancement and why it is needed or desired]
Description
[Detailed description of the enhancement, including how it would work and any design considerations]
Acceptance Criteria
[List of criteria that must be met for the enhancement to be considered accepted]
Additional Information
[Any other relevant information, such as links to related issues or pull requests]

Done


fix stream not close when receive a rst stream frame

Codecov Report

Merging #1362 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1362   +/-   ##
=======================================
  Coverage   89.98%   89.98%
=======================================
  Files         119      119
  Lines        8346     8346
=======================================
  Hits         7510     7510
  Misses        550      550
  Partials      286      286

Impacted Files
Coverage Δ

stream.go
93.1% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 407a563...5eeebe5. Read the comment docs.

Thank you @790715083, this looks good to me. Nice catch!
Can you please rename the commit message to something like "set the version in the stream constructor" or so? Please also make sure that you sign the CLA, I'll merge your PR right away then.

I signed it!

@790715083: Apparently signing the CLA didn't work. Can you please double check?
Please also remember to change the commit message.


MarkDown table无法正常显示

table 格式无法正常显示
Term | doc1 | doc2
—|—|—-|
Quick | | X
The | X |
brown | X | X
dog | X |
dogs | | X
fox | X |
foxes | | X
in | | X
jumped | X |
lazy | X | X
leap | | X
over | X | X
quick | X |
summer | | X
the | X |

可以试试table上下留一行空行


Features/reseeding db

Description
https://www.loom.com/share/f53a65f0fc034414bf7ecae2154cf723
Updated the Mentor and Mentee classes in the user_generators.py file to reflect the current schema.  Added 5 new data options to the data_options.py file to help generate new fields.  Preparing the MongoDB database to be reseeded.
Type of change

[x] New feature

Checklist:

[x] My code follows PEP8 style guide
[x] I have removed unnecessary print statements from my code
[x] I have made corresponding changes to the documentation if necessary
[x] My changes generate no errors
[x] No commented-out code
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

I believe we still need mentee experience level. Not sure exactly what we will be doing with it, but we need it for now.

In the schema.py we should probably delete the following fields also.

Mentor -> 'preferred_mentee_exp_level'
MentorUpdate -> 'preferred_mentee_exp_level'  and 'profile_id'
Mentee -> ' experience_level'
MenteeUpdate ->  ' experience_level' and 'profile_id'

Disregard the previous comment, another PR was created to work in this changes. Excellent work!

Let's remove the skill level field, as per our last talk with Jason.

Do we still want to remove them if we have a pull request working on this?
#119


Fix compatibility with commerceguys/addressing v2

Notes:

Changes in Entity/AddressEmbeddable.php fixes error with PropertyAccessor when there are hidden fields
Changes in Form/EventListener/AddressEmbeddableTypeSubscriber.php fixes optional fields marked as required in HTML

HI @Sylry
I'll check with our team to test this on our system too, at first glance it looks good, but i need to verify further.

I've merged the MR, let me know if you need a tagged release!
Thanks for the contribution @Sylry

A new stable release would be great
Thanks!

@Sylry  Done!


Training with Fewer Demos and n_steps Adjustment

Hello,
Thanks for your great work.
I have a question regarding your experiments. In the experiments where you trained the model with fewer demonstrations (like n_demo = 1, 10 ), did you also adjust the n_steps parameter accordingly?  In the paper you mentioned "we evaluate a trained agent across fixed checkpoints between 1K-200K iterations for single-task settings."  Does this mean for the same number of demos, you trained with different n_steps and then selected the checkpoint with the best performance?
Thanks for clarifying,
Best regards

@Noone65536, sorry for the late reply. Yes, for all n_demos (1, 10, 100, 1000), the training iterations were fixed. This means for n=1, just a few images are sampled again and again (with data augmentation) for 200k iterations.


Line chart refinements and move to components package, portal tooltip fix

Overview

move line chart to ui/components so it can be imported from @perses-dev/components and embedded independently of entire panel
tooltips rebuilt to use Portals
bugfix: tooltips no longer linger after moving cursor out of canvas
rename echarts wrapper component to ECharts.tsx
add subset of supported events to ECharts.tsx
refactor line chart to use ECharts.tsx
refactor line chart from 'time' xAxis to 'category' for more control over symbols (which improves performance), axis formatting, series customization
new hover state that shows focused series symbols on lines as cursor moves
yAxis formatting to abbreviate large numbers as T, B, M, or k
dataZoom and toolbox icons enabled
dataZoom event handler in LineChart.tsx to emit start and end data (will be used to update URL)
visual refinements to axis colors, fonts, tooltips, grid padding
line chart loading state using Skeleton

Looks nice :)!
It would be cool at some point to have a sort of documentation explaining how to use it / integrate it !

It would be cool at some point to have a sort of documentation explaining how to use it / integrate it !

Yeah definitely--we've talked about potentially using Storybook for this, but I can make some .md notes in the meantime.

Yeah definitely--we've talked about potentially using Storybook for this, but I can make some .md notes in the meantime.

I don't know what is this format, but the usual way in opensource code is to have the doc in markdown and then later you build a website to display this docs so it's nicer to read it. (As markdown can be a bit harsh to read)

I don't know what is this format, but the usual way in opensource code is to have the doc in markdown and then later you build a website to display this docs so it's nicer to read it. (As markdown can be a bit harsh to read)

This sounds good @Nexucis, and Storybook would be an enhancement to the docs website--a lot of projects use it for exploring component libraries. For example, GitLab links to their Storybook from this page on their website. And here's another example with more components built out.

@sjcobb ooooh that's interesting ! Thanks for the explanation, it looks really cool indeed !


s.Configurator.GetConfig() returns nil sometimes, which causes nil pointer panic

Line 13 panics on conf being nil
https://github.com/mattermost/mattermost-plugin-apps/blob/766933b1c93abf887476db81faaccaf9bd7cf7f5/server/apps/apps.go#L10-L14
I don't know what causes the issue. Restarting the plugin fixes it, then it doesn't seem to happen again. I reproduced this specifically with a fresh database this time.

Fixed with 61c304e (#96)


Batch issue

What's the difference between, I suppose the batch should only make 1 call to the DB but turns out it doesn't
Upsert.batch(connection, table_name) do |upsert|
  #N rows
  upsert.row({}, {})
end

and
upsert = Upsert.new(connection, table_name)
#N rows
upsert.row({}, {})

@nqtien310 There is no functional difference between those two at the time being.  If it's possible for them to be bulk-optimized (better than just sending all the SQL commands at once, vs. one at a time) then those improvements will show up in the batch form :)


Schedule fortnightly build

Auto-merging dependabot PRs doesn't trigger a main build, meaning snapshots are not updated.  The known workaround for this is to use a PAT when doing the merge, but PATs introduce security concerns.
As an alternative to using PATs... schedule a fortnightly build of main to ensure snapshots, with updated dependencies, are building built.

coverage: 98.678%. remained the same when pulling a3dd9ac921b4cc559a74a8a162d4b2fce63ddf59 on build_fortnightlyy into f6b236879903af8e6949e2546ec31812c93f87a8 on main.


Switch to using TypeScript

The current site is built using JavaScript but this can be somewhat error-prone. By switching to TypeScript it should be possible to catch problems at build time.

Resolved


can simple images create text shadow?

I need to add black shadow to my texts , how can I do that ?

Text shadows aren't supported in GD. There are some workaround projects out there, but nothing native.


improve memory usage in sparse.dot

Description
operator: dot(csr.T, dense) = rsp (i.e. _backward_dot)
dataset = criteo. _backward_dot((1000 x 2M).T X (1000 x 16))
env = c4.8xlarge, Ubuntu DL AMI
_backward_dot baseline: 7107.935484 us
_backward_dot improved: 5019.83871 us (1.5x speedup)
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] For user-facing API changes, API doc string has been updated. For new C++ functions in header files, their functionalities and arguments are well-documented.
[ ] To my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

updates?

in sync with master now.


Throw HTTPError if status code is 403 Forbidden and fix tests

In case of an invalid access token, Travis CI responds with 403 Forbidden and a non-JSON body which causes got to throw a ParseError instead of an HTTPError. One way of fixing this would be to manually throw an HTTPError if the status code is 403 Forbidden.
Furthermore, Travis CI now seems to respond with 403 Forbidden instead of 401 Unauthorized.
With these changes, the test suite is passing for me locally.

got v7 was released today and now only throws a ParseError on 2xx responses.


Security Vulnerability - Action Required: Improper Authentication vulnerability may in your project

Hi,
we have detected that your project may be vulnerable to Improper Authentication in the function of libspdm_try_send_receive_end_session (libspdm_context_t *spdm_context,uint32_t session_id,uint8_t end_session_attributes) in the file of library/spdm_requester_lib/libspdm_req_end_session.c . It shares similarities to a recent CVE disclosure CVE-2023-31127 in the your project.
The source vulnerability information is as follows:

Vulnerability Detail:
CVE Identifier: CVE-2023-31127
Description: libspdm is a sample implementation that follows the DMTF SPDM specifications. A vulnerability has been identified in SPDM session establishment in libspdm prior to version 2.3.1. If a device supports both DHE session and PSK session with mutual authentication, the attacker may be able to establish the session with KEY_EXCHANGE and PSK_FINISH to bypass the mutual authentication. This is most likely to happen when the Requester begins a session using one method (DHE, for example) and then uses the other method's finish (PSK_FINISH in this example) to establish the session. The session hashes would be expected to fail in this case, but the condition was not detected. This issue only impacts the SPDM responder, which supports KEY_EX_CAP=1 and PSK_CAP=10bat same time with mutual authentication requirement. The SPDM requester is not impacted. The SPDM responder is not impacted ifKEY_EX_CAP=0orPSK_CAP=0orPSK_CAP=01b`. The SPDM responder is not impacted if mutual authentication is not required. libspdm 1.0, 2.0, 2.1, 2.2, 2.3 are all impacted. Older branches are not maintained, but users of the 2.3 branch may receive a patch in version 2.3.2. The SPDM specification (DSP0274) does not contain this vulnerability.
Reference: https://nvd.nist.gov/vuln/detail/CVE-2023-31127
Patch: https://github.com/DMTF/libspdm/commit/3167bcaba6a4d8662e13741c0f06699def0ff635

Would you help to check if this bug is true? If it's true, I'd like to open a PR for that if necessary. Thank you for your effort and patience!

@Crispy-fried-chicken Please submit the security issue via https://www.dmtf.org/securityissuereporting with more details.


Implement New WebKit Status: Supported In Preview.

Recently, WebKit has changed its feature life cycle and added a new feature status called Supported in Preview; however, FireFox platform status treats this status as No Signal.
This can be fixed by adding a switch case in https://github.com/mozilla/platform-status/blob/master/engine/index.js#L26.
Also, under the current mechanism, all the WebKit features show as Safari Technology Preview features. It would be better if the features in Supported status show as Safari features and features in Supported in Preview status show as Safari Technology Preview features.
References:
Web Cryptography API in https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/features.json
WebAssembly in https://svn.webkit.org/repository/webkit/trunk/Source/JavaScriptCore/features.json

I'm not sure what we should do to be honest. I don't know if all the "Supported" features on webkit.org/status are actually supported by Safari or only in Preview.
So, for now with #481 we will consider "Supported in Preview" as "In Development", which is better than nothing.


Cannot build Ember on ARM64

Due to issues with nested dependencies, we cannot build Ember on ARM64 on Linux.
The chain of events that's causing this is outlined below:

This package is relying on babel-polyfill (current recommendations is to use core-js directly).
https://github.com/babel/ember-cli-babel/blob/v7.26.11/package.json#L53

babel-polyfill is using an old version of core-js.
https://github.com/babel/babel/blob/v7.11.5/packages/babel-polyfill/package.json#L22
This old version is also outdated, this is the warning shown by NPM:

npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

The old version of CoreJS has PhantomJS as a dependency.
https://github.com/zloirock/core-js/blob/v2.6.5/package.json#L29
Newer versions of core-js has zero npm dependencies.

The PhantomJS package is deprecated and unmaintained, and it breaks ARM64 on Linux (running npm install with that dependency on your package-lock file will crash).
https://www.npmjs.com/package/phantomjs-prebuilt

At level 3 and 4 above there is nothing we can do (core-js has fixed this in recent versions and phantomjs is dead, and will never support ARM). So we should either try to get a fix in with babel-polyfill (level 2), or update this project to not rely on babel-polyfill (level 1).
Questions:

Will ember-cli-babel even exist in the new Embroider world? If not, it's probably not worth spending time fixing this.
Is it possible to update this package to not rely on babel-polyfill?

Going to close this as polyfill support was removed in v8.


Integration tests for SageMaker Transform Job

Description of changes:
Integration tests for Transform Job in SageMaker - https://github.com/aws-controllers-k8s/sagemaker-controller/pull/4
Tests: create, read, update, delete
Testing:
Using local kind cluster and pytest
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Minor bug fix: Fixed a race condition between role creation and usage by switching the role creation and data copy operations. By the time data is copied, role is created and available to use by the integration test.

@jaypipes We would like to merge this, just so we can unblock this story from our sprint. We have a follow-up story to come through each of the integration tests and clean them up in the way you suggested.


SAK-39930: BasicLTI > extend 'Allow'/'Do not allow' configuration options to the custom tool icon setting

https://jira.sakaiproject.org/browse/SAK-39930
The LTI tool setup interface has settings to "Allow [setting] to be changed", with the options of "Do not allow" and "Allow". However the custom icon setting does not have these corresponding options. This PR implements these options for the custom icon setting, as well as the following changes:

new behaviour to skip the tool configuration step (when adding the LTI tool to a site manually, through "Manage Tools") if all settings have been set to "Do not allow". This also overrides the behaviour of the "[Show/Bypass] configuration dialog" configuration setting, in that if "Show configuration dialog" is selected the end user will not be presented with the configuration dialog if no settings are able to be configured (all settings have been set to "Do not allow").
in the 'Edit' interface, if no settings are able to be configured, display a message indicating this situation and a 'Back' button, rather than an empty form with 'Save' and 'Cancel' buttons
the "Allow external tool to store setting data" option no longer causes the configuration page to be shown when adding a tool to a site, if all other options have been set to "Do not allow" (it's not a setting that can be configured by the user, and should not trigger the configuration page to be displayed if no other options are able to be configured by the user)

I think the use of Collection types make Optional unnecessary as Collections can represent the absence of something already.

Yes, I agree. This was just how it was originally implemented by @bbailla2. I'll refactor it.

@ern, addressed your comments; thanks!

This code puts Sakai specific code into Foorm.java (i.e. a dependency on LTIService) - Foorm.java is designed to be dependency free so other things can depend on it.  But other patches have already crossed this bridge and introduced the dependency and this patch does no worse.
Other than that this looks well written.

@csev Approved this on the call, said Foorm needed some cleanup but he would take care of it at a later time.


Event on image click

Hi again!
Sorry to bother you again, but I believe will be the last time ...
I wonder if it is possible to trigger some kind of event (such as a image zoom plugin or similar, for example), when you click on it.
You can use this type of event?
A hug
Thanks!

This is out of the scope of jCarousel, just use plain jQuery events:
$('.jcarousel').on('click', 'img', function() {
   // Do something
});


Allow passing the initial value for FlexibleSheetValue

Is your feature request related to a problem?
Currently the function that allows settings it is hidden as a internal.
Describe the solution you'd like:
Add an extra paramter initialValue : FlexibleSheetValue to the public rememberFlexibleBottomSheetState
Describe alternatives you've considered:
Doing myself the function + remember + saver

Would be nice to have.


fix: remove concurrency parameter for MVAD

/azp run

Codecov Report

Merging #1383 (63a0d50) into master (9af38da) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1383      +/-   ##
==========================================
- Coverage   84.79%   84.76%   -0.03%
==========================================
  Files         287      287
  Lines       14239    14239
  Branches      728      728
==========================================
- Hits        12074    12070       -4
- Misses       2165     2169       +4

Impacted Files
Coverage Δ

...se/ml/cognitive/MultivariateAnomalyDetection.scala
88.37% <ø> (ø)

...osoft/azure/synapse/ml/core/utils/AsyncUtils.scala
75.00% <0.00%> (-5.00%)
:arrow_down:

...ft/azure/synapse/ml/cognitive/ComputerVision.scala
73.04% <0.00%> (-1.31%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9af38da...63a0d50. Read the comment docs.

/azp run

/azp run


Record nested macros on stack

In relation to #189.
All the macros are placed in a stack of Either macro buffers, since macros can be nested. Bottom of stack is reserved for the user's in-game macro buffer, so the stack is never empty.
We record keystrokes in the topmost Left macro buffer. At any time there's at most one Right macro buffer, i.e. a buffer that's not available to record to, but ready to be repeated from the macro bellow
it.
We push new buffer to the stack whenever macro is recording a macro itself.
This feature deserves doing automatic tests. Here's a demo for two test cases:

Let j be an atomic action, M an in-game buffer, a := [', j, ', ', j, '].
Repeating macro a:

#
smacroStack
slastPlay

1
[Right [], M]
'j''j'

2
[Left [], M]
j''j'

3
[Left ["j"], M]
''j'

4
[Right ["j"], M]
'j'

5
[Left [], M]
j'

6
[Left ["j"], M]
'

7
[Right ["j"], M]

Let j be an atomic action, M an in-game buffer, A-a := [',A-b,'], A-b := [',j,'].
Repeating macro A-a:

#
smacroStack
slastPlay

1
[Right [], M]
'A-b'

2
[Left [], M]
A-b'

3
[Right [], Left ["A-b"], M]
'j''

4
[Left [], Left ["A-b"], M]
j''

5
[Left ["j"], Left ["A-b"], M]
''

6
[Right ["j"], Left ["A-b"], M]
'

7
[Right ["A-b"], M]

Right after there's nothing left on slastPlay, we GC all what's left on smacroStack leaving only M.

I think the Right buffer is never repeated from the macro below it. but always from a Repeat command that comes from slastPlay and there it lands either from human input or from unwound macro identifiers in slastPlay or from inside of the Right buffer itself. I think no macro buffer is ever accessible for reading except the head of the stack.
However, I find it very hard to reason about this, so before I review, just as you suggest, let's brainstorm how to add testing (in a separate ticket, if you wish; please go ahead and create it) and then let's add it. Also, I think it may be worthwhile to document this in a language theory way --- specify what language we recognize and how exactly what we do is language theory machine (input, acceptance criterion, perhaps output (a sequence of atomic actions)) and how powerful it is (e.g., is the language regular). One last thing, let's make sure and let's write in comments that that macro identifiers are completely referentially transparent --- that whenever there is an identifier, one could just replace it with its content and the result of the whole macro processing would be identical.

 What you're saying is precisely what happens there. Anyways, I find keeping track of what happens with the macros an really unpleasant mind-binding experience, so I expect you verifying this manually only in case of end-of-the-world scenario, like, let's say, a day before the v1.0 release :-)
Sure, it's cool idea to specify the language. It would be even better, if we would be able to formally verify solution's correctness. What I was doing here was only trying to scratch a surface to make this thing work. Either way, I'll take things slowly :-)

Please take your time. Also, feel free to tweak the main stack type, e.g., if Right is really always at the top, then we don't need Either inside the stack. Which possibly subtly changes the semantics, by type-directed changes are usually a good thing.

BTW, the PR seems pretty good. It's just that the matter is quite difficult, so at least a testing tool is needed. I wonder, would a commandline option to LH be enough, where you enter a string with keystrokes separate by spaces and LH prints the resulting sequence of atomic keystrokes (not macro-related) and exits? Or perhaps better a completely separate test executable, like the one use for tests administered by cabal?

If we had a formal specification of the language, we could perhaps use QuickCheck to test. Otherwise, HUnit or something similar should be enough to test a dozen fixed cases. In both cases, we don't need any special executable, but we can plug into the needed modules directly. I think that should be almost as comfortable for experiments as a commandline tool for unwinding the macros.

@rszczers: fancy a shot at a grammar of the language?  :)

Oh, I wasted some time fooling around with Agda, hopelessly trying to formalize the whole thing. Sorry for keep you waiting. I went on with regular language, like (T* | ′ T* ′)*, where T stands for all the possible key codes, excluding '.
At first I felt temptation to use a variant of Dyck language (with couple hundreds of terminals more for key codes), but that was plain wrong. I realized we agreed to not accept macros more than one level deep, so we don't have a problem with balancing start/stop actions and all that context-free stuff is nice, but it's overkill.
When it comes to tests I'm not sure if you were talking about making the test suite depending on LambdaHack library, or the other way around :-) Either way, I'm not sure where to start yet.

Now that I think of it, the language generated by the macro automaton is probably a red herring. There is no restriction on what is placed inside macros, so the language is just the full set of words. No wonder you started considering the actual language of legal macros, which at least is nontrivial and which you correctly described as regular (BTW, it is the regular language of words with even number of apostrophes, isn't it?).
If we artificially restricted our input language, e.g., that each macro call is followed by 'v' and so has to be repeated exactly once (so, in total, the letters inside would appear in the output twice, but interspersed with the output of nested macro calls), then we might get something interesting, but in that case we only test a very particular kind of macro invocations, so that doesn't sound very useful.
If there is no formal spec, we don't need QuickCheck, so let's just use a library for not randomised units tests. In the old days that was HUnit. Is there anything significantly better nowadays?

Here's the non-randomised kind of tests that I have in mind: https://github.com/Mikolaj/miniutter/blob/master/test/test-miniutter.hs
It wold just call functions from the LH library.

I've pushed a rebased version of this commit, with some pure functions factored out to enable unit testing. Possibly still not enough to test exactly the code used in-game, but enough with some mocks and perhaps something more can be factored out yet.

The PR is merged (manually) and the first test passes, so I'm closing the PR. Let's move the discussion to the main ticket. BTW, feel free to encode the second test from this PR and add tests with macro-repeating commands.


Update kline every second

Hey.
How can I get kline updates every second, like in the api implementation? https://binance-docs.github.io/apidocs/spot/en/#trade-streams
Or how can I get tick updates?

@zenoftrading  Sorry for the delay in replying.
The minimum candle/kline update time is 1 minute, it's link refers to the trade stream, that is, when there is buy and sell trading in your account.

@zenoftrading Sorry for the delay in replying.
The minimum candle/kline update time is 1 minute, it's link refers to the trade stream, that is, when there is buy and sell trading in your account.


Place an order with AWS Snowcone

Describe the issue
There is an expected two week lead time for ordering AWS Snowcone and getting the device shipped.
See the CRM search for "Health Insight" for who to talk on this ticket (Neil S, Rick C, Sorin P).
Additional context

Will require collaboration with ADSL
Who handles receipt of the device

Definition of done

We need an exact delivery date
Cloud Pathfinder to speak to AWS rep and ask for support at their end
Have Ryan J join the initial meeting with ADSL in order to shortcut any concerns

This work will be tracked in other tickets as the scope changed.


install-kubeadm: Extend set SELinux in permissive mode

The CentsOS/RHEL/... section mentiones that SELinux must be put in permissive
mode, but the supplied command does the job only for the current boot. Once
the system is restarted SELinux can again enter enforcing mode thus breaking
a Kubernetes cluster.
Fix this by adding a sed command that permanently changes the SELinux mode to
permissive.
refs kubernetes/kubeadm#1082, refs kubernetes/kubeadm#1026

/assign @neolit123

/lgtm

Having SELinux disabled (or permissive) is a workarround for our current setup. In the long run it would be great if somebody (from RH maybe?) to spend time and figure out why it is breaking. OpenShift is able to co-exist with SELinux, and k8s as well should be able.

@rosti btw, we added a warning in the troubleshooting page about disabling SELInux:
https://kubernetes.io/docs/setup/independent/troubleshooting-kubeadm/#coredns-pods-have-crashloopbackoff-or-error-state

cc RH folks @smarterclayton @liggitt @derekwaynecarr for some thoughts on this :)

bump for @kubernetes/sig-docs-pr-reviews approval.

/approve


Git notes support

Tell us about the use cases or problems this request will address
Using git notes to add jira ids to a commit after the commit has been made
What's your role in the team?
I am a software engineer
What's size of your team and the company? (This will help us triage requests)
I am in a team of 6, in a company with around 25 employees
Describe the solution you'd like
When attaching a git note via git notes add -m "feat: JI-1234" <commit-sha>, jira should pick up the jira ID and link the commit to it.
Describe alternatives you've considered

Using a different jira-git integration.
Manually attaching jira ids to git commits (is this even possible)?

@gxueatlassian any chance this could happen?


Incompatibility with HA 2023.3

WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for rinnaitouch using this method at custom_components/rinnaitouch/init.py, line 47: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Not sure whether this is the cause or not, but Rinnai Touch has stopped working after updating to HA 2023.2

It shouldn't be related. Is that the only issue in the log? I have fixed the icompatibility issue. Thanks for the report. Please try the latest release 0.11.0


Update ms.date on analytics.md

Updated ms.date to the current date per doc freshness effort, doc is up to date.

@mingshen-ms : Thanks for your contribution! The author(s) have been notified to review your proposed change. @rajap

#sign-off

@mingshen-ms: I'm sorry - only the author of this article, @rajap, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Out of memory error trying to save a specific webtoon

Getting the following error while its adding pages:
runtime: out of memory: cannot allocate 4194304-byte block<PHONE_NUMBER> in use)
fatal error: out of memory
I've got 300gb free space and 64gb of ram so I don't think that's actually the issue.  I pasted in more of the error if that helps.
error.txt

Hmm yea running webtoon-dl --max-ep=1 "https://www.webtoons.com/en/comedy/mage-and-demon-queen/list?title_no=1438" gives a 26 page PDF that is 3.3MB. 3.3MB / 26 pages * 3742 pages (how far you got) = ~475MB, much less than your stated limits.
I'll start running this command from my machine and see if I hit similar limits, then investigate further.
An intermediate workaround for you would be to use --min-ep and --max-ep flags to download multiple PDFs.

Hmm yea running webtoon-dl --max-ep=1 "https://www.webtoons.com/en/comedy/mage-and-demon-queen/list?title_no=1438" gives a 26 page PDF that is 3.3MB. 3.3MB / 26 pages * 3742 pages (how far you got) = ~475MB, much less than your stated limits.
I'll start running this command from my machine and see if I hit similar limits, then investigate further.
An intermediate workaround for you would be to use --min-ep and --max-ep flags to download multiple PDFs.

Thanks for looking at it! I'll try that work around!

@sniperct I'll also add a --eps-per-file option soon to save the hassle of manually running a bunch of commands like
webtoon-dl --min-ep=1 --max-ep=10 "https://www.webtoons.com/en/comedy/mage-and-demon-queen/list?title_no=1438"
webtoon-dl --min-ep=11 --max-ep=20 "https://www.webtoons.com/en/comedy/mage-and-demon-queen/list?title_no=1438"
...

@sniperct weird, I got up to page 10433/11606 before getting the following error, I think due to poor wifi connection/computer sleeping:
added page 10433/11606
read tcp <IP_ADDRESS>:53267-><IP_ADDRESS>:443: read: connection reset by peer

It took 1h51min to get there :( wish I could have checkpointed it as it went! I guess that's the --eps-per-file N will do, write out PDFs incrementally every N episodes so that even if the whole thing fails most of the way through, you can restart it at the last saved episode using --min-ep
Anyway, weird that I didn't get the OOM problem. I monitored memory usage periodically and the program was never using more than ~5% of RAM, even past 3700 pages in. Were you possibly running in a resource constrained environment like a docker container or something?

@sniperct weird, I got up to page 10433/11606 before getting the following error, I think due to poor wifi connection/computer sleeping:
added page 10433/11606
read tcp <IP_ADDRESS>:53267-><IP_ADDRESS>:443: read: connection reset by peer

It took 1h51min to get there :( wish I could have checkpointed it as it went! I guess that's the --eps-per-file N will do, write out PDFs incrementally every N episodes so that even if the whole thing fails most of the way through, you can restart it at the last saved episode using --min-ep
Anyway, weird that I didn't get the OOM problem. I monitored memory usage periodically and the program was never using more than ~5% of RAM, even past 3700 pages in. Were you possibly running in a resource constrained environment like a docker container or something?

@sniperct weird, I got up to page 10433/11606 before getting the following error, I think due to poor wifi connection/computer sleeping:
added page 10433/11606
read tcp <IP_ADDRESS>:53267-><IP_ADDRESS>:443: read: connection reset by peer

It took 1h51min to get there :( wish I could have checkpointed it as it went! I guess that's the --eps-per-file N will do, write out PDFs incrementally every N episodes so that even if the whole thing fails most of the way through, you can restart it at the last saved episode using --min-ep
Anyway, weird that I didn't get the OOM problem. I monitored memory usage periodically and the program was never using more than ~5% of RAM, even past 3700 pages in. Were you possibly running in a resource constrained environment like a docker container or something?

Doing it in pieces seemed to have helped and after I was checking the initial one I did breaking it up into smaller chunks is probably better for reading anyway.
I was just running it from a command prompt(both elevated and not), nothing special. I had about 34gb of ram free (firefox and wow taking up the bulk of the used 29gb)

@sniperct weird, I got up to page 10433/11606 before getting the following error, I think due to poor wifi connection/computer sleeping:
added page 10433/11606
read tcp <IP_ADDRESS>:53267-><IP_ADDRESS>:443: read: connection reset by peer

It took 1h51min to get there :( wish I could have checkpointed it as it went! I guess that's the --eps-per-file N will do, write out PDFs incrementally every N episodes so that even if the whole thing fails most of the way through, you can restart it at the last saved episode using --min-ep
Anyway, weird that I didn't get the OOM problem. I monitored memory usage periodically and the program was never using more than ~5% of RAM, even past 3700 pages in. Were you possibly running in a resource constrained environment like a docker container or something?

Doing it in pieces seemed to have helped and after I was checking the initial one I did breaking it up into smaller chunks is probably better for reading anyway.
I was just running it from a command prompt(both elevated and not), nothing special. I had about 34gb of ram free (firefox and wow taking up the bulk of the used 29gb)

Sweet. I've now released v0.0.5, which defaults to saving a pdf every 10 episodes (--eps-per-file=10), but that number is configurable. The updated README has the latest usage examples.
I'm going to close this issue now as that should get around the memory issues for the majority of users, but feel free to reopen it or open a new issue if you see the same or new problems with v0.0.5


part of osra339: adds 'New Sponsor' link to Sponsor#index view +spec

related to:
https://osraav.atlassian.net/browse/OSRA-339

OSRA339
https://osraav.atlassian.net/browse/OSRA-339

I removed .class completely, I don't see any reason for having a class there

Needs rebasing


Wheel not supported Python3.5

GitHub issues are for bugs / installation problems / feature requests.
For general support from the community, see StackOverflow.
To make bugs and feature requests more easy to find and organize, we close issues that are deemed
out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System: ArchLinux x64 Anaconda Environment
Installed version of CUDA and cuDNN: CPU Only Version
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

Which pip package you installed.
pip 8.1.1 from /opt/conda/envs/AI_Playground/lib/python3.5/site-packages (python 3.5)
The output from python -c "import tensorflow; print(tensorflow.version)".
Tensorflow is not yet Installed
If installed from sources, provide the commit hash:

Steps to reproduce

Install anaconda
Create Python3.5 environment
Follow tensorflow install guide for Anaconda

What have you tried?

The command the tutorial provides to create the env :

$ conda create -n tensorflow python=3.5
and then the command:
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
reference different c python versions 3.5 and c python 3.4 respectively.
I tried tweaking the version in the link to cp35 in both instances which resulted in a 404 error from the pip script. Which I kind of expected.
Logs or other output that would be helpful
(If logs are large, please upload as attachment).

I suspect that this has to do with the wheel you are specifying is for python3.4. However, it's fairly easy to build from source, if no wheel for python3.5 exists on the storage server.

Yeah that's exactly what I figured, I was more concerned that the tutorial specified anaconda with python3.5 and the wheel they tell you to use is their 3.4 build. Since it doesn't seem they have a 3.5 version for the wheel file I figured I'd bring it to their attention. A small oversight, but I imagine it'll cause issues for a number of people who use the tutorial.

This just bit me today. I would definitely appreciate a python 3.5 wheel, as I'm working on a system with only python 3.5.

You can install provided wheel for python 3.5.
First, you download locally whl for python 3.4.
After that, you rename tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl to smth like tensorflow-0.8.0-cp35-none-linux_x86_64.whl
I hope this helps!

Part of the problem is the Conda installation instructions are incorrect. It says to create a new virtual environment with Python 3.5 but the wheel is for 3.4.

Manually downloading and renaming works for me, so thanks @aam-at !
However, could the the TensorFlow team create wheels for Python3.5 as well? That would be very nice :)

Manually renaming it did not work for me.
sudo pip3 install ./tensorflow-0.8.0-cp35-none-linux_x86_64.whl
Gave me the same error:
tensorflow-0.8.0-cp35-none-linux_x86_64.whl is not a supported wheel on this platform.
On Ubuntu 16.04
Anything else that you did?

@xksteven
You can try renaming it to: tensorflow-0.8.0-py3-none-any.whl. This worked for me.

@akors
Thank you! That did the trick.

With PR https://github.com/tensorflow/tensorflow/pull/2585, we now have whl files built and tested nightly. The links to the whl files and build history can be found in the main README.md:
https://github.com/tensorflow/tensorflow/

Merci @akors il m'a fallu 2 jours pour trouver cette solution j'ai juste renommé la version 0.8.0 en 1.2.0 donc ça m'a fait
tensorflow-1.2.0-py3-none-any.whl


Add favicon

Let's add a favicon!

(Eyeraker)
I would like to work on this.

All yours 😄

Closed by #30


Identifiers validation failed for dataset Composición de la agrobiodiversidad en la zona suroriental del suelo de conservación de la Ciudad de México

Identifier validation failed for the dataset Composición de la agrobiodiversidad en la zona suroriental del suelo de conservación de la Ciudad de México:

Crawler attempt: 4
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1127
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1127 total records; 1127 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3757090/step

New IDs sample:

Old IDs sample:

urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:42fd6ffa4e6947eff51beccae980757b
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:528a005fb8c1ed079da017328e018645
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:55e604c7f4953ecec3022134ed49a94d
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:763d3ae33f5b6705af4faff513915346
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:83a1d462ae1fd3c90691141f2c74e768
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:911781a96e1fd6b66f4fcce9fb199801
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:9c8e1fb77eb6a3ccd8bb2cfcb731414b
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:a1019480b44c7d2fda0b0700e3aa3951
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:c80a9ac2141806b1a1d872d3c7de6149
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:cb7ec69eaa29d721043bce211f6e8b15

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Composición de la agrobiodiversidad en la zona suroriental del suelo de conservación de la Ciudad de México : https://doi.org/10.15468/b2z6yv.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Composición de la agrobiodiversidad en la zona suroriental del suelo de conservación de la Ciudad de México:

Crawler attempt: 5
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1127
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1127 total records; 1127 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3757208/step

New IDs sample:

Old IDs sample:

urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:42fd6ffa4e6947eff51beccae980757b
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:528a005fb8c1ed079da017328e018645
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:55e604c7f4953ecec3022134ed49a94d
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:763d3ae33f5b6705af4faff513915346
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:83a1d462ae1fd3c90691141f2c74e768
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:911781a96e1fd6b66f4fcce9fb199801
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:9c8e1fb77eb6a3ccd8bb2cfcb731414b
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:a1019480b44c7d2fda0b0700e3aa3951
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:c80a9ac2141806b1a1d872d3c7de6149
urn:catalog:FC-UNAM:FCME:NO DISPONIBLE:cb7ec69eaa29d721043bce211f6e8b15

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Composición de la agrobiodiversidad en la zona suroriental del suelo de conservación de la Ciudad de México : https://doi.org/10.15468/b2z6yv.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


JwtAuthenticator uses the same secret for signing/encryption

I would caution pac4j to not use a shared secret when dealing with JWT. There should be separate keys for signing and encryption. Was there a specific reason to use a shared key?

"Making things easier", but it's not a good reason. I will add two secrets and deprecate the old one, for better security.

Thanks. I would vote that we keep using the same secret that we have for both signing and encryption, if the encryption key is undefined. Just to sort of keep the same behavior. Encrypted keys are not always a requirement.


services: adjust Oracle auto-redirect behaviour

Waiting for the decision on https://github.com/neo-project/neo-modules/pull/692#discussion_r822582682.

Anything useful left here (http/https maybe)?


Can't load a sourcemap:  "_io.TextWrapper not subscriptable"

I'm using pypy3, installed the pip package and my code looks like this:
import sourcemap

minified = open('dealdetails.ios.jsbundle').read()
map_path = sourcemap.discover(minified)
index = sourcemap.loads(open('dealdetails.ios.sourcemap.js'))

Here's what I get:
Traceback (most recent call last):
  File "sm.py", line 6, in <module>
    index = sourcemap.loads(open('dealdetails.ios.sourcemap.js'))
  File "/usr/local/Cellar/pypy3/5.5.0/libexec/site-packages/sourcemap/__init__.py", line 22, in loads
    return cls().decode(source)
  File "/usr/local/Cellar/pypy3/5.5.0/libexec/site-packages/sourcemap/decoder.py", line 107, in decode
    if source[:4] == ")]}'" or source[:3] == ")]}":
TypeError: '_io.TextIOWrapper' object is not subscriptable

Anything obvious I'm doing wrong here?
I'm trying to read a react-native produced sourcemap here which is in the "index map" format.

Sounds like you need sourcemap.load, not sourcemap.loads. loads expects a text object, while load works on a file-like object.
Alternatively, you can do sourcemap.loads(open('dealdetails.ios.sourcemap.js').read())

Thanks for the quick reply! That gets me further, but now I end up with this:
Traceback (most recent call last):
  File "sm.py", line 6, in <module>
    index = sourcemap.loads(open('dealdetails.ios.sourcemap.js').read())
  File "/usr/local/Cellar/pypy3/5.5.0/libexec/site-packages/sourcemap/__init__.py", line 22, in loads
    return cls().decode(source)
  File "/usr/local/Cellar/pypy3/5.5.0/libexec/site-packages/sourcemap/decoder.py", line 111, in decode
    sources = smap['sources']
KeyError: 'sources'

Hmm, iirc, React Native uses a style of source maps that this library doesn't support, called "indexed source maps". Basically sourcemaps nested within other sourcemaps.
We had to completely rewrite this stuff to support this process in Sentry. And this library has no concept of that.

Ok, thought that might be the case. Appreciate the quick replies, thank you!

Hi,
I want to add column name in header which is empty but without using Pandas, is there any way?


Fix sync issues with calls to CUSV APIs on aarch64

Before submitting
Please complete the following checklist when submitting a PR:

[x] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[x] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[x] Ensure that the test suite passes, by running make test.

[x] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[x] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Fixes https://github.com/PennyLaneAI/pennylane-lightning/issues/793

[sc-68294]