move() does not allow more than 2,000,000,000 steps continuously

int gearRatio = (53.575757576 * (49 / 12));
int stepsPerRev = 200;
int microsteps = 8;

int formula = (microsteps * (gearRatio * stepsPerRev));

stepper->move(2500 * formula)

This line of code works fine.
stepper->move(25000 * formula)

But as soon as you add another figure to it, it produces fewer steps.
Only moveTo() will give you the full number of steps. move() seems to only allow a limited amount (1 billion steps I think).
For reference:
25000×(8×((53.575757576×(49÷12))×200)) =<PHONE_NUMBER>.746666667
2500×(8×((53.575757576×(49÷12))×200)) = 875070707.074666667
I suspect this may have something to do with the move() values being limited to a 4-byte length integer. But that does not explain why moveTo() accepts those long numbers without problems.
For quick reference:
4 byte integer size = -2,147,483,648 to 2,147,483,647.
  int8_t move(int32_t move);
  int8_t moveTo(int32_t position);

First a comment for the gearRatio: Does the compiler calculate int(53.575757576 * 49 / 12) = 218 or
int(53.575757576 * (49 / 12)) = int(53.575757576 * (4)) = 214 ?
Second, I avoid using int, because I am always not sure, what data type I get on a compiler/uC. On an avr apparently int is 16 bit. Guess on esp32 is 32bit ? Anyway, assume you are using avr and have a 16bit int (-32768...32767), then the value of formula is already overflowing and will be 14720 (in case gearRatio is 214) and not 342,400. Now I again cannot predict, how the compiler calculates 25000 * 14720 (16bit) with an expected 32bit result. In best case, the compiler will yield 368,000,000.
If the int is actually 32bit, then the result will be 342,400 * 25000 = 8,560,000,000 which overflows an int32_t and the result would be only -29,934,592 (so backward movement).
BTW: if the stepper is at position 0, then move(arg) and moveTo(arg) both must run the motor to position arg.
Just had a short test with StepperDemo and a relative move (aka move()) with 2,000,000,000 works as expected. But I have not waited 2 billion steps, so I assume it will run really to that value. A value of 3,000,000,000 is already overflowing an int32_t and the stepper starts to run backwards towards -1,294,967,296, just as expected.
Could you please - in a first step - just use numbers as arguments to move() and moveTo() and afterwards extend with the calculation ?

Hi there,
Sorry, I believe I meant to say that yes, the move() function won't let you move more than 2,000,000,000 in one direction. (not 1,000,000,000 as I put in the title)
But this is still a very small number. It would be handy to be able to move longer distances than this, without having to use MoveTo().
Otherwise, if you have a gearbox with a ratio of around 214, you will only be able to move short angles at a time. Maybe there needs to be moveLong() function which allows unlimited steps to be moved in one particular direction without interruptions.

Using max speed of avr: 25 kHZ, then it takes 22h to run 2,000,000,000 steps.
With max speed of esp32: 200kHz, then it is still 10000s aka approx. 3h.
Does it hurt to issue every 3h just a single move(1000000000) ?

BTW: move() and moveTo() have the same limitation in regard to max step count.
Just moveTo() uses absolute position and move() relative position, but both will run at max +/-2,147,486,647 steps in one direction

If you need continuous running in one direction, then runForward() and runBackward() are useful. They will run continuously in the  requested direction with the position wrapping around

Hi again,
Issue solved by using long integer instead of int for formula variable.
Closing. Thanks for the clarifications


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2022-01-24T16:39:31+00:00

@istio-testing: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Changes merged in https://github.com/istio/istio/pull/36970


Quantisation Support

Hello there, great work !
I was checking if models with int8, int5, int4 quant formats can be used with this package ? Could you please create an example if possible ?

Yes! If quantized models are supported I will be moving away from llama.cpp and over to MLX. Prompt evaluation is still tediously slow on M series with llama.cpp and it seems that MLX will speed this up greatly.

it seems that MLX will speed this up greatly.
I am not sure about this and look for more data points.
I tested llama.cpp and mlx on the 16 bits llama 7b chat model on M1, and they had similar performance.

I don't think it will improve overall tokens per second. But time to first token is what the issue is right now.
For large prompts it can take almost 10 seconds to get a response.

Are you sure ? For me prompt evaluation was almost instantaneous. I used
Joe Biden’s entire wikipedia intro and it generated the early life section
in no time.
On Thu, 7 Dec 2023 at 2:00 PM, Robert Ritz @.***> wrote:

I don't think it will improve overall tokens per second. But time to first
token is what the issue is right now.
For large prompts it can take almost 10 seconds to get a response.
—
Reply to this email directly, view it on GitHub
https://github.com/ml-explore/mlx/issues/13#issuecomment-1844888419, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXGU4H5O3VB52HMWAYZ6FLYIF5EFAVCNFSM6AAAAABAI3MUPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBUHA4DQNBRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

To be clear I'm referring to llama.cpp (I'm using the Python bindings). For long prompts, it takes several seconds for me to get a response. Are you referring to llama.cpp?

Aah, I was saying that mlx is faster. Yes, llama.cpp is very slow for
evaluation.
On Thu, 7 Dec 2023 at 2:53 PM, Robert Ritz @.***> wrote:

To be clear I'm referring to llama.cpp (I'm using the Python bindings).
For long prompts, it takes several seconds for me to get a response. Are
you referring to llama.cpp?
—
Reply to this email directly, view it on GitHub
https://github.com/ml-explore/mlx/issues/13#issuecomment-1844981878, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXGU4BVJCHB56FOUKNPURTYIGDJVAVCNFSM6AAAAABAI3MUPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBUHE4DCOBXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yep that's why I'm so interested in mlx. Slow evaluation is the main shortcoming of local LLMs on Macs right now.

@tanliboy I haven't done any testing that was recorded. But here is my anecdotal experience. When a model is first loaded with llama.cpp (not kept in RAM but lazy loaded) the first message takes at least 1-2 seconds for short prompts. Follow up questions are quicker.
I'm not sure why this is re the internals of llama.cpp, but it's what I have experienced. The longer the initial prompt the longer the delay.
I'm mostly using 4 bit quantizations of 7B and 13B models locally on M series Macs. I would also love to have support for BERT models so Sentence Transformer models could work efficiently without needing the entire torch library installed (300+ MB).
But I also realize this is no easy task.

WRT to Llama.cpp startup - It could be initial CoreML model compilation. GGML (the runtime) can leverage the ANE, and I think (?) the tokenizer can run on CoreML, just like Whisper, and by default its enabled. Other paths run Metal / CPU via GGML tensor ops by default?
Whisper.cpp can have the same issue depending on how its compile flags are set and what model is being used internally?
Sorry if thats off topic.

You can use quantized models with Ollama, but the quality is poor.  https://www.youtube.com/watch?v=7BH4C6-HP14

Closing as we now support quantized models and it is as easy as nn.QuantizedLinear.quantize_module(model). There are also a lot of quantized models in the http://github.com/ml-explore/mlx-examples/ .


Additional hidden source code

I would like to include the RoslynPad editor in my own application. However, I would like to declare custom variables, methods, etc. that can be used in the editor. These declarations should not be visible in the editor. The easiest way would be to specify a hidden source text that is prepended to the script.
Example:
Hidden Source Code:
var test = "Hello World";
Source Code visible in the editor (the user can only edit the text below):
Console.WriteLine(test)

You can do that by using RoslynHost.AddDocument, which would contain your "hidden" code, then use RoslynHost.AddRelatedDocument to host your actual code and bind it to the editor. This is how the REPL sample works (see here) - each REPL line is a separate document that's linked to the previous one. To execute this code, you can use the same scripting API in that sample, by creating an initial script object with the hidden code, and using Script.ContinueWith for the code from the editor session.

Thanks aelij for the hint to the REPL sample. Unfortunately, both my hidden code and the visible code are shown.
First I tried to call Initialize on the RosylnCodeEditor twice and use the AddRelatedDocument to link to the hidden code:
var hiddenDocumentId = roslynCodeEditor.Initialize(_host, new ClassificationHighlightColors(), Directory.GetCurrentDirectory(), "var portfolio = new Portfolio();");
roslynCodeEditor.CreatingDocument += (o, args) =>
{
    args.DocumentId = _host.AddRelatedDocument(hiddenDocumentId, args.TextContainer, Directory.GetCurrentDirectory(), args.ProcessDiagnostics, a => args.TextContainer.UpdateText(a));
};
roslynCodeEditor.Initialize(_host, new ClassificationHighlightColors(), Directory.GetCurrentDirectory(), GetMember(m => m.AgpCheckCode) ?? "");

Additionally I tried to create a hidden document with AddDocument, and bind it to my actual document using AddRelatedDocument:
 roslynCodeEditor.CreatingDocument += (o, args) =>
            {
                var hiddenDocumentId = _host.AddDocument(args.TextContainer, Directory.GetCurrentDirectory(), args.ProcessDiagnostics, a => args.TextContainer.UpdateText(a));
                _host.UpdateDocument(_host.GetDocument(hiddenDocumentId).WithText(SourceText.From("var portfolio = new Portfolio();")));

                args.DocumentId = _host.AddRelatedDocument(hiddenDocumentId, args.TextContainer, Directory.GetCurrentDirectory(), args.ProcessDiagnostics, a => args.TextContainer.UpdateText(a));
            };
            roslynCodeEditor.Initialize(_host, new ClassificationHighlightColors(), Directory.GetCurrentDirectory(), GetMember(m => m.AgpCheckCode) ?? "");

Yep, you don't need an editor control for the hidden document, just the document. Also, you don't really need AvalonEditTextContainer, you can do something like:
var text = SourceText.From("var test = 1;"))
var hiddenDocumentId = _host.AddDocument(text.Container, Directory.GetCurrentDirectory(), null, null);
args.DocumentId = _host.AddRelatedDocument(hiddenDocumentId, args.TextContainer, Directory.GetCurrentDirectory(), args.ProcessDiagnostics, a => args.TextContainer.UpdateText(a));

Thank you, I will try that out!


DBZ-4071 Recipient email address should be a variable in all Jenkins jobs

https://issues.redhat.com/browse/DBZ-4071

Thx!


How do I import the hive table in orc format

How do I import orc - formatted hive tables through broker？
2020-03-12 15:53:28  [ pool-2-thread-4:12755168 ] - [ WARN ]  failed to pread: TBrokerFD(high:6094912196621913064, low:-6970217137392478674) org.apache.doris.broker.hdfs.BrokerException: end of file reached

Hi, ORC is only supported in master brach which is not released yet.
You can test it with master branch

I'm using the master now, do I need to specify the broker format?

Yes, you can type help broker load to see some example

thanks!


Mark the members of GameJson and GameStream as public

When exporting the games of an user, the returned objects are of type GameStream and GameJson. Both of these have private members. I marked the members as public to allow logical data treatment on these values by the users of the API.

Great spot. Thanks for the PR!


Installation

I'm having trouble installing via devtools. I'm using devtools::install_github("NeotomaDB/neotoma2", force = TRUE) however getting the below error:
* installing *source* package ‘neotoma2’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in charToDate(x) :
  character string is not in a standard unambiguous format
Error: unable to load R code in package ‘neotoma2’
Execution halted
ERROR: lazy loading failed for package ‘neotoma2’

Config info:
$platform
[1] "x86_64-apple-darwin15.6.0"
$os
[1] "darwin15.6.0"
$system
[1] "x86_64, darwin15.6.0"
$version.string
[1] "R version 3.6.1 (2019-07-05)"

Hi, we are on CRAN already, could you do:
install.packages('neotoma2')

?


ionic v1.0.0 official release date

When will ionic v1.0.0 out of RC?

Greetings @NgYueHong!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @NgYueHong
While I am but a mere robot, my creators have informed me that Ionic is magical and has a punctuality similar to wizards.
https://www.youtube.com/watch?v=HvWCnqY-GWQ


Use python doc comments for API methods

I saw that many functions are documented like:
# Documentation lorem ipsum
def function(...):
    ...

To follow the pythonic way, we should do
def function(...):
"""Documentation lorem ipsum"""
    ...

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-5215.
This link is only accessible to employees of RelationalAI.


webhooks/jira: Include issue title in messages.

This pull request adds the issue title to the messages posted by the JIRA webhook integration. If the &topic= parameter is provided then the issue title isn't included anywhere in the message and lacks some context as a result.
Testing Plan:
I've updated the existing tests for the JIRA webhook.
GIFs or Screenshots:
In the below image, the link would normally not have included the : Webhook Test 2 text.

Looks reasonable to me; @eeshangarg can your review though?
I could imagine making this conditional on whether the topic is included, but it's probably clean enough as proposed in this PR.

@davidtwco: Thanks for working on this!
@timabbott: I kinda agree, but custom topics are handled by check_send_webhook_message, and making this change conditional upon whether a custom topic is specified would probably be more work than its worth at this point in time, so I'm going to merge this. Having said that, ideally, I would love to see a system where the user has more control over custom topic and content templates when setting up the webhook, but that's a much more involved project and definitely out of the scope of this PR! Thanks! :)


Add indentation following "do" completion

Related to #593, and specifically the comment by @axelson here, this PR adds a single tab1 of indentation before the cursor after the do autocompletion.
I'm testing exclusively in VS Code, but the behavior of this change seems to be that the editor adds one relative level of indentation. So, for example, the autocompletion naturally forms the following structure (using exclusively the do completion):
defmodule Hello do
  def world do
    case something do
      # ...
    end
  end
end

It is always possible that other editors do not match this behavior. If that's the case, apologies for the confusion.

1 According to sources and my experience while testing, using \t will tell VS Code to insert one TAB-worth of whichever form indentation is currently active in the editor. In my case, it correctly added two spaces.

Thank you, that's very kind! It makes sense that other editors would take it literally. Glad to know that spaces work. 👍🏼


Any tips for ID-based save data that doesn't require destroying/re-instantiating entities?

Greetings,
I did not find a separate website for Godotneers, so I thought I could ask a few questions that relate to the saving-loading video over here - I hope it's not too forward of me to do so.
It feels to me like this paradigm of free-an-object-then-reinstance it is overkill for some targets, and might be tricky for others where hierarchical setups are more delicate (for example: some parent has looked up a child object and destroying+reinstancing that child would break references).
So while I think your save/load system video and the accompanying PDF is absolutely wonderful, top-tier teaching material for newbies and experienced developers alike, I feel like it could benefit from the addition of discussing an ID-based save data solution as an aside or an addition to the existing system; what I've been trying to build in my own implementation, but seem to keep running into problems with. I don't really know if an ID-based system is really a necessity, but I've seen others write about using them even in Godot, so surely there are suitable use-cases and implementations somewhere; I only haven't so far read/heard any implementation details!
So far I've identified a few problems and less solutions:

Getting unique IDs (solutions: using some UUID addon or just keeping a record of an incrementing ID integer, latter being naive, easier to setup but prone to collisions/conflicts if you don't work alone on your project)
Assigning IDs
2.1. Manual assignment risks duplicate IDs and accidentally ID-less entities when missing setup. I think it's best avoided.
2.2. How to automate assignment without needing to write a lot of boilerplate code for every class that needs an ID? @tool scripts would require writing a lot of repetitive code for every class using such IDs, then additionally writing a lot of Engine.is_editor_hint() checks for every func of the class aside from the _ready() that's probably used to set the ID value in Editor. In Unity there's the option of declaring a Reset() method that is executed in Editor for every script instance when it's added anywhere.
2.3. When automatically assigning IDs, how to assign IDs only for "in level"/sub-scene instances of Nodes/scripts, i.e. instances of Enemy in Level 1, but never to Enemy.tscn? If the Enemy.tscn, template-purpose Scene would receive an ID, it would duplicate that ID to every instance of itself, very efficiently breaking the ID-based save system.

My background is in Unity, so it's possibly I keep looking for the kinds of solutions that don't exist here and don't realize or know the alternatives more suited for Godot.
In Unity my solutions would have been something along these lines:

custom Serializeable class that has custom handling for Unity's serialization system: when it detects an instance of the class is being serialized, it can check if it has the default/invalid ID value, then assign itself a valid, unique value.
Unity separates its Scenes (think of "level") from Prefabs (think of "template"), whereas Godot uses them interchangeably. The separation does however make it possible to check whether the ID class is being serialized as part of a Scene or a Prefab, and therefore I could keep a default/invalid/zero ID if it's within a Prefab, and only assign a new unique ID if it's part of a Scene.

Are you aware of any equivalencies for these solutions in Godot? Do you know of other methods to solve such issues with assigning unique IDs to saveable objects in Godot? If you have any thoughts or pointers to give, I would love a reply. Furthermore, if you consider it's worthy of an addendum to your already-excellent saving-loading-video, maybe such knowledge and this pattern could eventually become common knowledge for Godot users.

Well I don't claim to know all the answers, but lets maybe try to look at it from the other side. Why do we even think we need IDs for everything? Well to be able to restore relationships after a restore. And these relationships form dynamically at runtime. So say we have a tower defense game and the tower should remember its target when the game is saved and loaded.
One way would be to have a stable way in which targets are picked. Say the tower always attacks the target with the least health. Then we don't even need to save this relationship as the tower will simply acquire the same target after a load as it had before, because we have a stable rule on how to pick targets.
But lets say we don't have the luxury of a stable rule and we somehow need to save that relationship. Again we have multiple options. We could give our nodes IDs and save and restore these IDs and then provide a way to look up a saved node by ID.  But that means we need to give every node an ID and also do so at runtime when we dynamically instantiate things. So I don't think just assigning IDs in the editor is going to cut it. So it needs to be in code and as you pointed out this would be a lot of boilerplate to add. And even if now every object we can save magically has an ID we still need a facility where a node can lookup other nodes by their ID which adds even more boilerplate.
I have discussed this very same issue a while ago with a friend and we found an approach that I think solves the problem without overly complicating things. We keep the same approach in general, e.g. we clear out the level and then reinstantiate what needs reinstatiation. While this may not be the most efficient way to do it (e.g. we throw away perfectly usable objects) this just eliminates a lot of edge cases which we don't need to care about anymore.  To handle our relationships, we add a second phase to saving and loading.
In this second phase nodes can implement a method save_dependencies which takes a dictionary. In this dictionary the node can enter dependencies it has. E.g. for our tower this would look like this:
var _current_target:Enemy  # the target we're currently shooting at

func save_dependencies(dependencies:Dictionary):
    dependencies["current_target"] = _current_target

Now in our SavedData we have an additional dictionary which records dependencies.
class_name SavedData  # base class for saved data
extends Resource

@export var dependencies:Dictionary = {}

All SavedData objects now support dependencies, so lets say we have specializations like SavedEnemy and SavedTower for holding the saved data of towers and enemies.
Problem is though, that the save_dependencies method added an Enemy to the dictictionary and not a SavedEnemy. So our SaverLoader would need to do a bit of bookeeping which node corresponds to which SavedData resource. Since it asked all our Nodes in the first step to provide a SavedData object it can keep track of that easily. And now it can use this information to resolve the node given in the dependencies back to the SavedData matching it.

So now in the saved game we store that our tower has a dependency named "current_target" and link that to the SavedEnemy, something that we can just do with resources (in JSON this would be a lot more complicated).  And now on restore, we do what we already do , we clean out the level , create new nodes but this time we take note of which node we created for which saved data. After we have created all nodes, we can now run a second phase where we restore the dependencies. So we take the dependencies dictionary from our SavedData-derived object,  and look at the values. The values are also SavedData objects so we can now resolve them. Becasue we created a node for each SavedData and we noted which node we created for which SavedData we can now replace the SavedData objects with the actual nodes we created. Now  each node that can have dependencies now needs to have a restore_dependencies function which will get a dictionary with all the dependencies.
func restore_dependencies(dependencies:Dictionary):
   _current_target = dependencies["current_target"]

The receiving node can do whatever it needs to restore itself with the dependencies. So it can move itself or the dependency in the tree to restore its hierarchy.  This probably has a few more rough edges to iron out but I think the general idea is workable. And it has the advantage that all the magic is hidden in the SaverLoader. Nodes that have no dependencies don't need to implement the methods for this and nodes that have dependencies just need to implement two methods where they can store and get back real node references and don't need to do all manual bookkeeping and ID resolving. AND we don't even need IDs. So what do you think - would this be workable for your case?

Hi again, and thank you for the thoughtful and swift response!
I read this, let it simmer and read it again and I think you are right about the crucial parts: in my own case I'm new to Godot and have limited time learning a new language and a new engine alongside my day job (it's really hard to do both!) and I think I personally have trouble keeping up momentum anyway, so it's very key to go with the flow and accept easier answers. This is probably also true for a lot of your followers, as it makes sense to learn "a way" instead of striving towards a much more complicated "the way". "Perfection is the enemy of good (enough)", as they say.
That being said I do like this concept a lot.

No ID assignment
No ID duplication risks
Utilises Godot's strengths in using Resources' ability to save references to other Resources

Still requires trashing and reinstantiating objects during loading, expending slightly more power and lengthening loading times a bit

The negative side is just a limitation to this technique that needs to be taken into account.
For my case this can work well in the sense that I'll stop lingering on the question and get to move forward, but I am still very interested in hearing if you ever learn of a way to handle UUIDs/GUIDs safely in Godot without manual assignment. I believe there must be someone who has sorted this out and I look forward to hearing from them one way or another.
Thanks again for the kindly very thorough response, and apologies for taking longer to respond to it than you took to answer my question; again I blame short evenings after ever-busy gamedev work. I'm going to try this approach and will write back (hopefully within a week) if implementing it brings up any comments.


[Improve][feature] Add JobInstance Delete

Purpose of this pull request
This PR adds the JobExecutor Delete functions.
It work like this: If the Job haven't been completed, cancel it in the engine, and then delete the restored conf file if it existed. Then delete it in the db.
I just simplely remove the record from db, and cancel the job in the engine, so it will not be removed if the record has been write into the sink. And I add some helpful functions like isCompelete, jobStorePath for simplify the code. The Metric Part is been repeated, I think there are some elegant ways to rewrite it.
It's my first pr, please feel free to comment and give me some suggestion or advices.
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs

Many modified files have format voilations.
[ERROR] Violations also present in:
[ERROR]     src/main/java/org/apache/seatunnel/app/controller/JobExecutorController.java
[ERROR]     src/main/java/org/apache/seatunnel/app/service/impl/TableSchemaServiceImpl.java
[ERROR]     src/main/java/org/apache/seatunnel/app/service/impl/JobExecutorServiceImpl.java
[ERROR]     src/main/java/org/apache/seatunnel/app/service/impl/JobInstanceServiceImpl.java
[ERROR]     src/main/java/org/apache/seatunnel/app/service/impl/JobMetricsServiceImpl.java
[ERROR]     src/main/java/org/apache/seatunnel/app/service/IJobInstanceService.java
[ERROR]     src/main/java/org/apache/seatunnel/app/thirdparty/framework/PluginDiscoveryUtil.java
[ERROR]     src/main/java/org/apache/seatunnel/app/thirdparty/engine/SeaTunnelEngineProxy.java
[ERROR] Run 'mvn spotless:apply' to fix these violations

@Jetiaime are you still working on this PR? can you please rebase this PR with latest code


Allow to set a maximum retry count (maxRetries) for HttpExec

This changeset implements retrying of http requests until the response matches the expectations or the maximum retry count is hit.

Coverage decreased (-1.1%) to 85.075% when pulling c1edaabececa1d4a0661f776ded92450f337507f on cborgolte:retry-request into bb701e23f1827cbe246ec94e5952b98fc30e7839 on smancke:master.

Coverage increased (+1.3%) to 87.531% when pulling 55c80027f019cb39552e5413c2725798de8e85ba on cborgolte:retry-request into bb701e23f1827cbe246ec94e5952b98fc30e7839 on smancke:master.

Coverage increased (+1.3%) to 87.531% when pulling 55c80027f019cb39552e5413c2725798de8e85ba on cborgolte:retry-request into bb701e23f1827cbe246ec94e5952b98fc30e7839 on smancke:master.


Fail to auto detect the font used by gnome terminal

I open this issue to follow the bug of @BlitzKraft in #1
@BlitzKraft, can you try to run these commands:
dconf read /org/gnome/terminal/legacy/profiles:/list
It should returns an array of string, those are your profiles ID.
With each profile ID, please run:
dconf read /org/gnome/terminal/legacy/profiles:/:PROFILE_ID/font
Also, what's your version of gnome-terminal ?

The first dconf gave an empty list . I don't seem to have any values/keys under profiles:/.
Is DE relevant? I don't use gnome, but I use the gnome-apps (nautilus, terminal etc.).

@BlitzKraft It's probably relevant. What distro and DE is it ? I will test it in a VM

I am using sabayon, with bspwm.
uname -a
Linux BlitzKomp 4.8.0-sabayon #1 SMP Mon Jan 23 17:20:20 UTC 2017 x86_64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz GenuineIntel GNU/Linux

@sebastiencs I used install.sh script, and that worked with fbterm. Worked even better than expected, because powerline patched fonts didn't work until I installed fbterm.

@BlitzKraft Just curious, why do you use fbterm ? It seems a bit limited compare to others terminals under X.
I didn't take the time to try sabayon yet. Do you have at least any output with
dconf list /org/gnome/terminal/ ?

I rarely use fbterm. Mainly to help me focus on some tasks. Since it doesn't need an X running, I won't be able to easily open browser and distract myself.
For the dconf output, there is one UUID under /org/gnome/terminal/legacy/profiles:/:[some-uuid]. There doesn't seem to be nothing under the uuid.


Tagged release?

Current release is over a year old. Consider tagging 1.0.1 or 1.1?

good idea, done
2015-04-02 20:24 GMT+02:00 Mike Purvis<EMAIL_ADDRESS>
Current release is over a year old. Consider tagging 1.0.1 or 1.1?
—
Reply to this email directly or view it on GitHub
https://github.com/texane/stlink/issues/306.

Hi guys, I have just tagged 1.2.0 and added the first ChangeLog.md with the notable changes. Closing this now :=). Thanks for reporting @mikepurvis.


All unlimited dex bonus shields are set to 0

All shields in the compendium that have unlimited max dex bonus to AC are instead set to 0 max bonus in error.

Got an update on the way.
Just waiting on advice related to other items in the update.


User manager

It's not possible to change user password and username for admins and themselves. And admin can toggle privileged flag only in db.json

To change a users password add a new user with the same name and a different password (and privileged flag). The old user will be overwritten.
I implemented and option to configure the privileged flag with #301

Yes, the add function actually overrides a previous user. I will make that more clear in the options interface. And thanks to @r15ch13, we can now set the privileged flag from the options!


Revisit breadcrumbs in the post-collections era

After #238 is completed, we should revisit the breadcrumb to remove the tag link from the breadcrumb, making each snippet belong to its parent language only. Doing so will minimize confusion from collection navigation. Related to #224 as tag interlinking could help create a better linked website.

After merging #320, collections are featured prominently as part of recommendations for each snippet. We can skip the changes outlined here as the breadcrumb serves its purpose (providing context about the taxonomical location of each document) and doesn't cause any problems with colletions at this time.


OptiFine/OptiFabric compatibility issue (1.18.1)

There is an issue with Optifine and this mod. Every time the two mods are installed together the game crashes. It doesn't leave a crash report as it's just an issue between two mods. If you could, please fix this ASAp, as almost every mod I use needs Cloth API.
Also, if you could, please bring back your support channel on discord as it's the only way I can get a straight answer on the issue.

Will leave in this topic a crash log with an error launching OptiFabric and Cloth API on MC version 1.18.1 @shedaniel
crash-2022-02-13_20.23.40-client.txt


SVM to classify text sentences

Hi, newbie machine learner here. I am trying to classify news articles based on their headlines, mainly into two classes : "crime" and "non crime". I have used Natural's NaiveBayes Classifier, but I want to improve upon the accuracy. Will SVM improve the prediction, and if so please guide me how to implement it using your library!
Btw, i love reading your blog and got to learn a lot from there :) Please do complete the book, eagerly waiting for the remaining chapters!

Same here, looking forward to a demo using SVM for classification! Definitely need guide to implement it in js. Previously I used python to do all these work.

You wont be able to directly provide text. You need to convert them into features with techniques such as Bag of words model , rows of concurrent matrices or Word2Vec. The library Natural allows people to add sentences directly as it would allow users to get the job done with as little Machine Learning and Natural Language Processing as possible , which does not always work for all corpora's so featuring text custom to your copora is helpful. But , in ConvnetJs its a compulsion to featurize your text.


JavaScript out of heap memory without index

I'm working on a project that already has an index.spec.js file, which imports all the tests.
When I remove it, and tell Karma to look for all the files ending in spec.js instead (by changing src/scripts/index.spec.js to src/scripts/**/*.spec.js in the files part of karma.conf.js, I get the following:

Output
skaymen@ubuntu:~/Desktop/waterdataui$ make test
Running assets tests...
cd assets && npm run test

<EMAIL_ADDRESS>test /home/skaymen/Desktop/waterdataui/assets
karma start

The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
11 02 2019 13:46:34.016:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/accessibility.js
11 02 2019 13:46:34.018:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/ajax.js
11 02 2019 13:46:34.018:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/helpers.js
11 02 2019 13:46:34.018:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/config.js
11 02 2019 13:46:34.019:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/tooltips.js
11 02 2019 13:46:34.019:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/components/hydrograph/markers.js
11 02 2019 13:46:36.763:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/lib/compound.js
11 02 2019 13:46:37.126:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/flood-data-reducer.js
11 02 2019 13:46:37.143:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/flood-state-reducer.js
11 02 2019 13:46:37.365:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/time-series-state-reducer.js
11 02 2019 13:46:37.395:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/ui-reducer.js
11 02 2019 13:46:37.813:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/ajax.spec.js
11 02 2019 13:46:37.868:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/flood-data.js
11 02 2019 13:46:42.963:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/flood-data.spec.js
11 02 2019 13:46:45.565:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/flood-data-reducer.spec.js
11 02 2019 13:46:45.581:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/flood-state-reducer.spec.js
11 02 2019 13:46:45.684:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/time-series-state-reducer.spec.js
11 02 2019 13:46:45.703:INFO [preprocessor.rollup]: Generating bundle for ./src/scripts/store/ui-reducer.spec.js
<--- Last few GCs --->
[23441:0x2c1e3c0]    66955 ms: Mark-sweep 1402.6 (1477.1) -> 1402.5 (1444.6) MB, 1016.8 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1017 ms) last resort GC in old space requested
[23441:0x2c1e3c0]    68101 ms: Mark-sweep 1402.5 (1444.6) -> 1402.5 (1444.1) MB, 1146.1 / 0.0 ms  last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x313e631a5ee1
2: readToken [/home/skaymen/Desktop/waterdataui/assets/node_modules/rollup/node_modules/acorn/dist/acorn.js:4308] [bytecode=0x1a839f769a89 offset=0](this=0x23b5b7b7cc41 ,code=91)
3: parseExprAtom [/home/skaymen/Desktop/waterdataui/assets/node_modules/rollup/node_modules/acorn/dist/acorn.js:~2196] [pc=0x27b3a4568e48](this=0x23b5b7b7cc41 <Parser map = 0x32e3964...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x121a7ac [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewCode(v8::internal::CodeDesc const&, unsigned int, v8::internal::Handlev8::internal::Object, bool, bool, int, bool) [node]
6: v8::internal::CodeGenerator::MakeCodeEpilogue(v8::internal::TurboAssembler*, v8::internal::EhFrameWriter*, v8::internal::CompilationInfo*, v8::internal::Handlev8::internal::Object) [node]
7: v8::internal::compiler::CodeGenerator::FinalizeCode() [node]
8: v8::internal::compiler::PipelineImpl::FinalizeCode() [node]
9: v8::internal::compiler::PipelineCompilationJob::FinalizeJobImpl() [node]
10: v8::internal::Compiler::FinalizeCompilationJob(v8::internal::CompilationJob*) [node]
11: v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [node]
12: v8::internal::StackGuard::HandleInterrupts() [node]
13: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [node]
14: 0x27b3a3f0463d
Aborted (core dumped)
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR<EMAIL_ADDRESS>test: karma start
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/skaymen/.npm/_logs/2019-02-11T19_47_38_233Z-debug.log
assets/Makefile:18: recipe for target 'test-assets' failed
make: *** [test-assets] Error 134

Are there some optimizations Karma is missing here?

I only maintain the rollup preprocessor, so I can't speak about Karma as a whole missing optimizations. Perhaps it's worth opening this issue with https://github.com/karma-runner/karma ?
As far as the preprocessor goes...
Right now, it looks like your project is running everything through the preprocessor... which strikes me as odd. For example, your deployment build process should be responsible for bundling accessibility.js, but your test suite only needs to preprocess accessibility.spec.js
I'm not sure why your test configuration is creating bundles for files unnecessary for testing, but I can imagine how that may be related to your memory problems: karma-rollup-preprocessor stores bundle cache per entry point, and if there's something causing unnecessary files to be processed — it’s possible the cache is growing too large.
You could test that hypothesis by removing the caching feature — comment out lines 25 and 30
https://github.com/jlmakes/karma-rollup-preprocessor/blob/6411b1e5ace8c199297dda98fd6b82a2749493d9/lib/index.js#L19-L30
I don‘t think that solves the root of the problem, but it may move things forward.

Hey, thank you for the reply. It looks like our issue was simply misunderstanding the way rollup is working here.
We are going to keep the index.spec.js file for the time being.


Ourektak?

Ourektak? created by<EMAIL_ADDRESS>on 2019-10-11 16:27:49

<EMAIL_ADDRESS>replied, Can the word "ourakt" be turned into a perfected form (v.pf)?Â  Like ourektak = sickens me?Â  I have seen that phrase in a few songs:Â  "kerior a mlei me ng ourektak" or "chelebuul el mle me ng ourektak"

<EMAIL_ADDRESS>replied, Jim,
I don't think ourakt can be used in that form. Secher is another word for
illness, and which can be used in such form. Examples: A Jim a smecher ra
tereter (has the flu) e mei ra blik meng mla osecherak. 2) Tial omeltkek ra
rechad ra blik el cheroid a di kmedung e ng osecherak.
As for the lyrics you reference, I wonder if it's actually "orretak"
instead of "ourektak." The former comes from "orrurt" and is often used in
songs. In these lyrics, if it were "orretak" it means that the misfortune,
tragedy, or bad news received unnerved the person, made them feel restless,
and may have caused them to move/run from place to place, literally,
perhaps to ask others if the news they received was true...
J

<EMAIL_ADDRESS>replied, That could be, but I hear a "k" in the middle of the word.Â  Maybe I hear what I want to hear though.Â  You can listen to the two examples here:Â  Â Examples
|
|
|  |
Examples
|
|
|
For Dirk Oltoir, someone sent me a photo of the typed song sheet, and it said "chelebuul el mlei mengorekdak, mechelcha eak meng kekebelung"

<EMAIL_ADDRESS>replied, Jim, could you please resend link to the song? I couldn't see it in
the email. Sulang.

<EMAIL_ADDRESS>replied, http://hellaholler.com/ouchacha/ourektak.html
Sent from Yahoo Mail on Android

<EMAIL_ADDRESS>replied, Sorry Jim, I'd say you're probably hearing what you want to hear, as you
said. :) Definitely "orretak" in both songs.

<EMAIL_ADDRESS>replied, Well, my hearing has declined over the years!Â  I'll fix the transcriptions and translations.Â  Thanks for the input.
Sent from Yahoo Mail on Android

<EMAIL_ADDRESS>replied, Lol @ declined hearing! It doesn't matter. Your Palauan IS great, Jim!! I
wish my husband's is that good. I should make him listen to Palauan oldies.
:)

<EMAIL_ADDRESS>replied, closed


1.35.1-0.0.2: [fix] - Temporarily Remove MEW wallet

Description
Temporarily removes (comments out) MEW wallet due to problems with installing deps on M1 macs. Once this issue is fixed we can add back in.
Checklist

[x] The version field in package.json is incremented following semantic versioning
[x] The box that allows repo maintainers to update this PR is checked
[x] I tested locally to make sure this feature/fix works
[x] This PR passes the Circle CI checks

Related to #691


希望支持 指针表字段形式查询，无需再担心表字段 写错或重命名

Describe the feature
希望支持 指针表字段形式查询，无需再担心表字段 写错或重命名
例如 query.Where(&person.Id, 123).Where(&person.Name, "张三")
Motivation

参考：https://github.com/acmestack/gorm-plus
参考：https://github.com/tangpanqing/aorm
Related Issues

gorm-plus works by creating objects and associating pointers and field names.
aorm stores the correspondence between object pointers and field names, which means that if we want to use a new object, we need to re-store it.
Like gormx, they provide more gorm syntax, but at the same time, they also pay a certain price. It is a good way to provide third-party reference, and we will not support it in gorm.


A trait is so much more than a funky sub

The problem
The section that deals with it says

Despite its funky syntax, a trait is just a normal Sub

It's definitely defined that way, but there should be much more to it.
Also, the specific page on traits describes them as compiler hooks. Can't see how this describes the way the work. They attach a property to the container at compile time, but that precise description is clearer than "compiler hooks", from my POV
Suggestions
Examples should describe #1748 . Meaningful examples from actual use cases should be used.

Despite its funky syntax, a trait is just a normal Sub

It's definitely defined that way, but there should be much more to it.

Sure, but don't lose that sentence, or something close to it, because a trait is just a normal Sub with a funny name, and it's helpful to say so.

Also, the specific page on traits describes them as compiler hooks. Can't see how this describes the way the work. They attach a property to the container at compile time, but that precise description is clearer than "compiler hooks", from my POV

They don't necessarily attach anything to any container at compile-time. One large class of use would be to merely check things. Another would be to log some data somewhere. Or anything else that it makes sense to do. They're just, well, compiler hooks. This could make sense:
my $var is tracked; # add $var to list of variables tracked by some tracer

Traits can do anything.
The trait logic is something like that, as part of a statement declaring a named construct (variable, class, routine, enum, etc.), one of a fixed range of trait verbs (is, does, will, etc.) can appear immediately following the name, with a single arbitrary pair (with the preceding : omitted) immediately following the verb. When the compiler encounters such a verb clause, it presumes the verb is the name of a subroutine named trait_mod:<verb>, and calls it, passing the pair as a named argument, and, as the only positional argument, the compiler's data structure corresponding to the construct that's just been declared.
Whether the compiler passes a mutable data structure to the trait routine is entirely up to the compiler.
What the trait does is entirely up to the imagination and discipline of the trait author. For example, typically it's declared as a multi so it's sociable (plays nicely with others).


New package: GAMS v0.1.0

Registering package: GAMS
Repository: https://github.com/GAMS-dev/gams.jl
Created by: @renkekuhlmann
Version: v0.1.0
Commit: d215dfb2eec7311cb851148662af9b5e597218ae
Git reference: master

Package Name = Company Name = Product Name


micsthepick: Watch bold\W?mass

micsthepick requests the watch of the watch_keyword bold\W?mass. See the Metasmoke search here and the Stack Exchange search here.

bold\W?mass has been seen in 0 true positives, 0 false positives, and 0 NAAs.

!!/approve

Hmm, same thing happening over here.

Coverage remained the same at 65.236% when pulling fba191d1e170dc9f2cd69bc690650e8215169f07 on auto-blacklist-1521880778.0553637 into 76a27cb3ed91b19e20545a694d6022131576a710 on master.


Build Error on Mac host with GNU gcc and g++ versions: bool getFileStat(const string&, FileStat&)

I experienced an issue during drogon's building process.
I am trying to build it on a Mac host with OS version 10.13.6
I followed all the steps listed in the docs and I installed all required dependencies through MacPort package manager.
I pass some arguments to cmake command in order to make it use the proper gcc and g++:
cmake -DCMAKE_C_COMPILER=/opt/local/bin/gcc -DCMAKE_CXX_COMPILER=/opt/local/bin/g++ ..
When i run make i get this error building the StaticFileRouter.cc file:
[ 34%] Building CXX object CMakeFiles/drogon.dir/lib/src/StaticFileRouter.cc.o
/Users/alessandro/Downloads/drogon/lib/src/StaticFileRouter.cc: In function 'bool getFileStat(const string&, FileStat&)':
/Users/alessandro/Downloads/drogon/lib/src/StaticFileRouter.cc:292:43: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
         size_t len = strftime(timeStr.data(),
                               ~~~~~~~~~~~~^~
In file included from /usr/include/wchar.h:91:0,
                 from /opt/local/include/gcc6/c++/cwchar:44,
                 from /opt/local/include/gcc6/c++/bits/postypes.h:40,
                 from /opt/local/include/gcc6/c++/iosfwd:40,
                 from /opt/local/include/gcc6/c++/memory:72,
                 from /Users/alessandro/Downloads/drogon/lib/src/impl_forwards.h:3,
                 from /Users/alessandro/Downloads/drogon/lib/src/StaticFileRouter.h:17,
                 from /Users/alessandro/Downloads/drogon/lib/src/StaticFileRouter.cc:15:
/usr/include/time.h:115:8: note:   initializing argument 1 of 'size_t strftime(char*, size_t, const char*, const tm*)'
 size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict) __DARWIN_ALIAS(strftime);
        ^~~~~~~~
make[2]: *** [CMakeFiles/drogon.dir/lib/src/StaticFileRouter.cc.o] Error 1
make[1]: *** [CMakeFiles/drogon.dir/all] Error 2
make: *** [all] Error 2

Any idea on why I get this and how I could eventually fix?
Am I doing something wrong?

I fixed this simply upgrading the gcc version from 6.5 to 10.3
The documentation reports that the 5.4 is sufficient but i suppose this isn't true for my host.


Default calendar.

Hi. The default calendar doesn't show anything since a couple of days

Only the custom calendar works.

It's not a big trouble, but I prefer the default one.
Thank you for tou work!

cloudflare issue - so it depends on your connection if it works or not


Unable to resize the GIT list between source control providers and the changes list

Issue Type: Bug
Click on source control
Expand out the Source Control Providers list
Click on a specific repo
Expand out the Changes list
Hover over the area where you would resize the divider between the two sections, the arrow doesn't change from the selector icon to the arrow resize icon. There is no way to resize to see the full list of repo's.
You have to use the scroll bar on the side to scroll to see the hidden repos.
VS Code version: Code - Insiders 1.33.0-insider (5a88160c7dc5db820a564e3872e0de087ff3563d, 2019-03-15T15:54:09.237Z)
OS version: Windows_NT x64 10.0.18860

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz (8 x 3506)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.94GB (17.38GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (28)

Extension
Author (truncated)
Version

azds
azu
0.1.120190228

vscode-markdownlint
Dav
0.25.0

gitlens
eam
9.5.1

vscode-azureappservice
ms-
0.13.0

vscode-azurefunctions
ms-
0.15.0

vscode-azurestorage
ms-
0.7.0

vscode-azureterraform
ms-
0.2.2

vscode-cosmosdb
ms-
0.10.0

vscode-kubernetes-tools
ms-
0.1.18

mssql
ms-
1.4.0

python
ms-
2019.2.5558

vscode-ai
ms-
0.4.5

azure-account
ms-
0.8.0

azurecli
ms-
0.4.4

PowerShell-Preview
ms-
2.0.0

typescript-javascript-grammar
ms-
0.0.49

vscode-azureextensionpack
ms-
0.0.9

vsliveshare
ms-
0.3.1326

team
ms-
1.149.2

azurerm-vscode-tools
msa
0.5.0

vscode-docker
Pet
0.6.1

material-icon-theme
PKi
3.6.3

vscode-yaml
red
0.3.0

code-settings-sync
Sha
3.2.7

usql-vscode-ext
usq
0.2.14

application-insights
Vis
0.4.2

azure-iot-edge
vsc
1.10.0

azure-iot-toolkit
vsc
2.4.0

There is now a setting: scm.providers.visible, set it to 0 to allow for manual resizing.

Nice one, thanks @joaomoreno
I ended up setting it to a high number [30], so that by default it auto sizes and I can see them all.
I think a high number would be a good default (since it's a breaking change?!), instead of 10.


Appveyor CI for Visual Studio Compatibility

Appveyor should be used to make sure that SheenBidi remains compatible with visual studio.

Added support for Appveyor CI


[Event Modification] Table 846 "Cash Flow Worksheet Line" - OnCalculateCFAmountAndCFDateOnAfterAssignApplyCFPaymentTerm

Describe the request
procedure CalculateCFAmountAndCFDate()
var
    GeneralLedgerSetup: Record "General Ledger Setup";
    PaymentTerms: Record "Payment Terms";
    CashFlowForecast: Record "Cash Flow Forecast";
    DiscountDateCalculation: DateFormula;
    PaymentTermsToApply: Code[10];
    CFDiscountDate: Date;
    CheckCrMemo: Boolean;
    ApplyCFPaymentTerm: Boolean;
    IsHandled: Boolean;
begin
    if "Document Date" = 0D then
        "Document Date" := WorkDate();
    if "Cash Flow Date" = 0D then
        "Cash Flow Date" := "Document Date";
    if "Amount (LCY)" = 0 then
        exit;

    case "Document Type" of
        "Document Type"::Invoice:
            CheckCrMemo := false;
        "Document Type"::"Credit Memo":
            CheckCrMemo := true;
        else
            exit;
    end;

    if not CashFlowForecast.Get("Cash Flow Forecast No.") then
        exit;

    PaymentTermsToApply := "Payment Terms Code";
    ApplyCFPaymentTerm := CashFlowForecast."Consider CF Payment Terms" and PaymentTerms.Get(PaymentTermsToApply);
    if "Source Type" in ["Source Type"::"Sales Orders", "Source Type"::"Purchase Orders", "Source Type"::"Service Orders",
                         "Source Type"::Job]
    then
        ApplyCFPaymentTerm := true;

    OnCalculateCFAmountAndCFDateOnAfterAssignApplyCFPaymentTerm(Rec, ApplyCFPaymentTerm);
    IsHandled := false;
    OnCalculateCFAmountAndCFDateOnAfterAssignApplyCFPaymentTerm(Rec, CheckCrMemo, IsHandled); //CustPub
    if IsHandled then
        exit;

[IntegrationEvent(false, false)]
local procedure OnCalculateCFAmountAndCFDateOnAfterAssignApplyCFPaymentTerm(CashFlowWorksheetLine: Record "Cash Flow Worksheet Line"; var CheckCrMemo: Boolean; var IsHandled: boolean) //CustPub
begin
end;

Additional context
Publisher request marked with //CustPub tag.
Additional parameter IsHandled to already existing publisher OnCalculateCFAmountAndCFDateOnAfterAssignApplyCFPaymentTerm with possibility to exit the procedure.Internal work item: AB#494012

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14693.


[Bug]: Unclear viewing in global search dark mode

ODC version
odc430
OB version

What happened?

What did you expect to happen?
Should be white
How can we reproduce it (as minimally and precisely as possible)?

Anything else we need to know?
No response

Fixed In Commit d35bc4e7ac6ea2e3b751a8393690ab6f43d98dd0
------
畅晚
Thu May 23 09:58:17 2024 +0800

pass


Add pluralization abstraction APIs

This address issue #17 which I asked for long time back
/cc @ryanbrandenburg

Indeed this a great feature for localization if we add it out of the box. Also I notice that @ryanbrandenburg working on POLocalizer which I already did few months back :), so it would be nice to have POLocalizer on top of Pluralization APIs while PO files supports pluralization
@Eilon your feedback?

@hishamco thanks for sending the PR. A bunch of folks are on vacation so we're going to meet in ~2 weeks to discuss this. Thank you for your patience!

I see .. so that why I notice that almost the guys I knew they are not active last few days 😄

Yup, it's Thanksgiving in the US, so everyone has Thu/Fri/Sat/Sun off, and a lot of folks take extra time off as well around this time! 😄

@ryanbrandenburg any feedback about this

@DamianEdwards any feedback regarding this

Hope to see the Pluralization a good piece of technology, which is something I demand it for more than year ago, also I did few samples to prove the concept. I'm sure this is will make our localization APIs special that the previous versions of the ASP.NET, also it open up a new localization sources other than resx files such as PO which is one of the famous localization formats for localization world wide

@Eilon I notice that this PR go to the backlog is that mean PR #309 will go to the backlog too, because POStringLocalizer depend on this

@Eilon is there a plan to support POStringLocalizer and Pluralization in 2.0.0?

The POStringLocalizer at this point is probably just a sample - we're not committed to shipping it as an official feature. However, it doesn't depend on supporting pluralization because not all PO files have pluralization. We might just implement a subset of PO file functionality.

While PO files support pluralization, i think it make sense to implement IPluralizeStringLocalizer instead of IStringLocalizer even not all PO files have pluralization. One more thing PO is one of the popular localization files that have been used for awhile, especially for non Windows OS, so it would be nice to have such POStringLocalizer using simple implementation, because the current proposal is complicated little bit

As you may already know, we're going to archive this repo. I'm working on moving the code today. Once complete, the Microsoft.Extensions.* projects will be in https://github.com/aspnet/Extensions, and Microsoft.AspNetCore.* will be in https://github.com/aspnet/AspNetCore. If this is something you'd like to get merged, please open a new PR against the new repos.
Thanks,
Nate


Memory leak in HTTPS_MBEDTLS example

Environment

Development Kit:      [none]
Kit version (for WroverKit/PicoKit/DevKitC): N/A
Core (if using chip or module): [ESP-WROOM32]
IDF version (git rev-parse --short HEAD to get the commit id.):
a3c43251
Development Env:		[ESP-IDF]
Operating System:		[Windows]
Power Supply:         [USB]

Problem Description
The example mbedtls_https code creates only one task and continues doing multiple requests after the specified countdown.
I have modified the code to make multiple requests to different web addresses and for that I need to create task multiple times. Each task that is created is deleted too but the resources are not released. The free heap memory is reported after each task is created and after it is deleted. At the end of 3 request a while loop blinks an LED and reports free heap size every 5 seconds. I introduced this part of code because it was suggested that the TCP resources are sometimes freed after sometime.
heap value at start after wifi connection : 236484
Free Heap (after first https request ): 189652
Free Heap (after first https request ): 151216
Free Heap (after first https request ): 112936
Heap reported after every 5 seconds (best value) : 121604
Expected Behavior
The heap should be freed after the task is deleted. (or after sometime the task is deleted)
Actual Behavior
Free heap value decreases after consecutive task creation. The old task ais deleted before new one is created.
Steps to repropduce
Run the provided code. Remember to swap in your wifi name and pass in the initialise_wifi function.
Code to reproduce this issue

Solutions tried

Limiting no. of LWIP connections to 2. (no effect)
Tried heap tracing (most of un-freed memory is from mbedtls internal functions)
Static Tasks creation re-using only single stack and buffer for tasks.

You have to manually release the memory like
https://github.com/espressif/esp-idf/blob/50304d719ebd4a2346e24bc21b1a95c0853ec251/components/esp-tls/esp_tls.c#L136

@negativekelvin  Thank you very much. It solved the issue.


images: Update channels and topics images for revisions.

See https://chat.zulip.org/#narrow/stream/101-design/topic/channels.20and.20topics.20illustrations/near/1823334
Notes:

I'm not sure if there's anything we can or need to do for emails that have already been sent with the image that we're replacing.

Screenshots and screen captures:

Updated image in introduction to topics help center article
Current documentation

Onboarding Zulip topics email (in dev environment) with updated image

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Yeah, it's from the screenshots.

Merged, thanks @laurynmm!


[ENH] Make similarity search support both channel dependent and independent distance computations

Describe the feature or idea you want to propose
Currently, the distance computations made in similarity search compute the distances independently for each channel and sum them together.
Describe your proposed solution
Expose an argument to choose between channel-dependent and independent computations
Describe alternatives you've considered, if relevant
Just make the whole module channel dependent, as the independent case is extremely rare / a preprocessing issue
Additional context
No response

Aeon-Assign bot assign @Sharathchenna

Hey, if you need any help or have any question don't hesitate to ask !


WaitForEndpointState() in test package doesn't work for URL

/kind bug
Expected Behavior
It should work for both domain(without scheme) and URL
Actual Behavior
When the URL is passed it is not working
Steps to Reproduce the Problem
In any of the e2e test pass the URL  instead of Host it will fail
Additional Info
This should be fixed to solve #5030

There's also a flag which permits you to use the URL in the tests.
On Friday, August 2, 2019, Ajanthan<EMAIL_ADDRESS>wrote:

/kind bug
Expected Behavior
It should work for both domain(without scheme) and URL
Actual Behavior
When the URL is passed it is not working
Steps to Reproduce the Problem
In any of the e2e test pass the URL instead of Host it will fail
Additional Info
This should be fixed to solve #5030
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/knative/pkg/issues/557?email_source=notifications&email_token=AAF2WX7JJM6X7DJNLACEAPTQCSKSTA5CNFSM4IJA2V62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDEOKUQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF2WX2RGGS2BOEBWJ3QXK3QCSKSTANCNFSM4IJA2V6Q
.

I hope you are referring to the theURL argument of WaitForEndpointState. If I pass a URL, it always fails because there is a bug in URL construction. For expample, if I pass http://example.com as an argument it constructs the URL as http://http://example.com (Parse method doesn't throw an error in this case)which causes the test to always fail.

That's actually strange since this is a definitely malformed url.
On Friday, August 2, 2019, Ajanthan<EMAIL_ADDRESS>wrote:

I hope you are referring to the theURL argument of WaitForEndpointState
https://github.com/knative/pkg/blob/8a10634b4fa4df6dc450bfd883e85a33e76f2471/test/request.go#L137.
If I pass a URL, it always fails because there is a bug in URL
construction. For expample, if I pass http://example.com as an argument
it constructs the URL as http://http://example.com (Parse method doesn't
throw an error in this case)which causes the test to always fail.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/knative/pkg/issues/557?email_source=notifications&email_token=AAF2WX4OLYCCWKA56ZO7CO3QCSW2BA5CNFSM4IJA2V62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3O6RGA#issuecomment-517859480,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF2WX7HZN4E3KMGB3CICF3QCSW2BANCNFSM4IJA2V6Q
.

Given we pretty much only use URL now, can this be closed?

/close
due to lack of activity


Resolve EX-16

Attempt to set up a basic CI pipeline for the repository, to automatically run our unit tests

As I expected, the pipeline fails. This is mainly because we need to give the repository a Unity license. We will revisit, I just wanted to get the ball rolling!


3.1 and 5.0 are building Newtonsoft from an individual's fork

The Version.Details.xml file for 3.1 and 5.0 is configured to pull the Newtonsoft.Json code from and individual's fork (a .NET team member).  This should be considered an untrusted source.
5.0
https://github.com/dotnet/source-build/blob/release/5.0/eng/Version.Details.xml#L110
https://github.com/dotnet/source-build/blob/release/5.0/eng/Version.Details.xml#L121
This source should be moved into a repo owned by the dotnet organization.

IMO the commits should just be turned into patches, like in main:
https://github.com/dotnet/source-build/tree/main/patches/newtonsoft-json

IMO the commits should just be turned into patches, like in main:

Agreed.


Added Internship details of Parchai

Added all the details about the internship as mentioned in #50

resolve branch conflicts

@avinash201199 All the merge conflicts are resolved


Add Apache Cassandra™ to Linux images

Description
New tool for Apache Cassandra™
Added new tool by following the instructions at this documentation
For new tools, please provide total size and installation time.

Related issue: #4829
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

@miketimofeev could you please kickoff the workflow and possible review, approve and merge this if everything is satisfied. Thank you in advance!

Yes I did mean to say that.
On Fri, Jan 7, 2022 at 8:17 PM Madhavan @.***> wrote:

@.**** commented on this pull request.
In images/linux/ubuntu1804.json
https://github.com/actions/virtual-environments/pull/4830#discussion_r780309972
:

@@ -250,7 +250,8 @@
"{{template_dir}}/scripts/installers/yq.sh",
"{{template_dir}}/scripts/installers/pypy.sh",
"{{template_dir}}/scripts/installers/python.sh",

           "{{template_dir}}/scripts/installers/aws.sh"

Push this to line - 254
Do you mean you want the cassandra.sh line to appear before aws.sh line?
—
Reply to this email directly, view it on GitHub
https://github.com/actions/virtual-environments/pull/4830#discussion_r780309972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFGVRFNNJC6FS52VM63Y43UU34J3ANCNFSM5LGKLL4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@msmygit but the merge is blocked so what can we do now?

@msmygit but the merge is blocked so what can we do now?

@freddy123098, Yes, the merge is blocked and someone with the correct permissions needs kick that off and hence I've requested if @miketimofeev could help with that. See the below comment that I had posted earlier couple days ago,

https://github.com/actions/virtual-environments/pull/4830#issuecomment-1006959643

@msmygit take a look at the comment, please
https://github.com/actions/virtual-environments/issues/4829#issuecomment-1008937489

@miketimofeev could you please let us know why this PR is closed?

Thanks for the help @miketimofeev.


Doesn't work with flexbox - renders component 2x.

I'm trying to use this with flexbox. My html structure is as follows:
css
.Site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.Site-content {
  flex: 1;
}

#app {
  display: block;
}

html

             ... app rendered here ...

With the above css, a click on links does not transition correctly on the first click, and on the second click it renders a duplicate of the component.

I'm running into this as well transitioning from a Page 1 to Page 2. After a second click, I get page 2 content appearing underneath page 1. Also using Flexbox.

can you provide a jsfiddle ?


Issue while installation

Issue is :
[root@indretest-0 ~]# yum install docker-ce
Loaded plugins: fastestmirror, langpacks
docker-ce-edge                                                                                | 2.9 kB  00:00:00
docker-ce-stable                                                                                | 2.9 kB  00:00:00
Loading mirror speeds from cached hostfile
Package docker-ce-selinux is obsoleted by docker-ce, trying to install docker-ce-17.06.0.ce-1.el7.centos.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package docker-ce.x86_64 0:17.06.0.ce-1.el7.centos will be installed
--> Processing Dependency: container-selinux >= 2.9 for package: docker-ce-17.06.0.ce-1.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: docker-ce-17.06.0.ce-1.el7.centos.x86_64 (docker-ce-edge)
Requires: container-selinux >= 2.9
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@indretest-0 ~]#
To get rid of this fix as below:
add below as yum repos and install accordingly:
http://mirror.centos.org/centos/7/updates/x86_64/
http://mirror.centos.org/centos/7/extras/x86_64/
then
yum  update  policycoreutils
yum  install policycoreutils-python
yum  install container-selinux
yum install docker-ce

Proposed changes

Unreleased project version (optional)

Related issues (optional)

@andrewhsu PTAL

I think this was fixed via #3816. Thanks!


Fixes #

Fixes #

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: LeonardoTres sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


haskellPackages.clash-prelude: Mark broken only for GHC 9.2

Description of changes
clash-prelude and related clash packages should only be marked broken for GHC 9.2. Clash explicitly does not support GHC 9.2, see https://github.com/clash-lang/clash-compiler#ghc-compatibility but should still work fine on GHC 9.0 and earlier. It's expected it will eventually work on GHC 9.4 and up as well.
I'm not entirely clear on the procedure for contributing to haskell updates: Should I regenerate files or should I leave that to a maintainer? Also, how should I backport this to 23.05?
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Cherry-picked as ddb341942c1a72198eceabc0024ce37c90cd6766


[FEATURE]allow feature flag based functionality

Is your feature request related to a problem?
Allow activating a specific feature using feature flags - for experimental functionality
What solution would you like?
On deployment add feature flag parameters to activate/shut down features / commands
Do you have any additional context?
Add any other context or screenshots about the feature request here.

[Catch All Triage - 1, 2, 3, 4]


Release mode exceptions not appearing in issues list, debug mode are (Android)

OS:

[X]  Windows
[ ]  MacOS
[ ]  Linux

Platform:

[ ]  iOS
[X]  Android

v8.11.1
5.6.0
<EMAIL_ADDRESS>E:\Users\\Projects\
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>
Config:
I've tried the following variations:
<EMAIL_ADDRESS>{
  deactivateStacktraceMerging: true,
  logLevel: SentryLog.Verbose,
  // currently sentry is not reporting errors on android using the native module
  disableNativeIntegration: Platform.OS === 'android',
}).install()

<EMAIL_ADDRESS>{
  deactivateStacktraceMerging: false,
  logLevel: SentryLog.Verbose,
  disableNativeIntegration: false,
  handlePromiseRejection: true
}).install()

<EMAIL_ADDRESS>{}).install()

Dev mode exceptions are successfully uploaded to Sentry, but release mode's are not.
Steps to reproduce:

Add an exception that will be thrown

  constructor(props) {
    super(props);
    throw Error('this is release mode');
  }

Release the app

./gradlew assembleRelease

Install and run the app.

Actual result:

When running in debug mode, the thrown exception appears in my unresolved issues. When running a release mode APK, the thrown exception does not appear.

Expected result:

The exception while running a released APK to be in my issues list.

Troubleshooting Steps:

Confirmed my MainApplication.java looks like this: https://github.com/getsentry/react-native-sentry/issues/447
Tried both Sentry config's found https://github.com/getsentry/react-native-sentry/issues/442 and https://github.com/getsentry/react-native-sentry/issues/6 (very bottom)
captureMessage in both debug and release modes does show up in my console
Attached through Android Studio to check logs:

08-05 01:03:58.617 24921-24946/? D/io.sentry.android.AndroidSentryClientFactory: Construction of Android Sentry.
08-05 01:03:58.619 24921-24946/? D/io.sentry.android.AndroidSentryClientFactory: Sentry init with ctx='xxx.MainApplication@370b462' and dsn='Dsn{uri=https://sentry.io/}'
08-05 01:03:58.686 24921-24946/? D/io.sentry.android.AndroidSentryClientFactory: Using buffer dir: /data/user/0/xxx/cache/sentry-buffered-events
08-05 01:03:58.692 24921-24946/? I/react-native-sentry: startWithDsnString<EMAIL_ADDRESS>08-05 01:03:58.747 24921-24946/? D/io.sentry.android.event.helper.AndroidEventBuilderHelper: Proguard UUIDs file not found.

I'm trying to get this working to switch over from using BugSnag, but it's not looking good.

🤔
this all looks correct, remember, if it's a crash it can take up to one minute until android sends it.
On debug, we send it right away.

Yep. My crashes on debug were taking about 40 seconds to hit. Still nothing in there for release though with intentional crashes.

Hello,
Do you still have this issue?
we are on "react-native-sentry": "^0.42.0",
we get error reports from ios but not on android (neither debug nor release mode).
If I have disableNativeIntegration: true on debug mode, I get some "Raven transport failed to send: [...]Certificate validation failed".
When I have disableNativeIntegration: false, nothing happens but no errors appear on Sentry.
Please note that all configuration is double checked and source maps are loaded correctly on Sentry.

I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.


implementation of jerel's design

This isn't quite ready to go yet... I haven't tested it across browsers or on windows, but I wanted to show you where this is headed and let you test it out. The one remaining piece is styling the searchbox, I'll work on this more later this week. Let me know if you notice any major red flags. There is one question I had which involves strings versus booleans, you can find these places marked "ask sam" :).

ok i think this is fully ready to go as per the design spec! let me know if you notice any issues.

hey @antiboredom, any chance we can get this and the lib update merged in sometime soonish? i'm happy to go ahead and do it, but i don't know if you want to review first?

Hey - sorry for the delay. A bit swamped but I'll take a look tomorrow.

closing this. opening PR from master branch.


Feed popups are not viewable and show only blurred screen

tested on ewallet. mobile chrome.
the first 1 or 2 feed items show correctly but the rest when you click on them you just seed a blurred background you can't exit from
https://anonymousfiles.io/To1AyVUy/

https://anonymousfiles.io/To1AyVUy/

@sirpy @Nordwhale
Error not reproduce
The link you provided does not open
Please give reproduction steps

@StanislavShevchenko you can rename the file to .mp4 and you should be able to play it.
It happens to me on chrome xiaomi mi8

https://github.com/GoodDollar/GoodDAPP/pull/812

Checked on eWallet environment (Samsung Galaxy Note 5 // Android 7.0, mobile chrome)
Look as per requirements
eWallet Env: https://www.dropbox.com/s/xm62nu55ajaqkfx/769.mp4?dl=0

Checked on eWallet environment (Huawei Nexus 6P // Android 8.1, mobile chrome)
Look as per requirements
Video: https://www.screencast.com/t/KbPJGo1k


bind attribute works only with property names longer than one letter

Good catch. Easy to fix by changing the regular expression.
Labeling this for beginners, if nobody picks it up, I'll fix it soon.

can i take this issue? @eavichay @sharontz

@IceDune Sure!


dimension of input time series dataset

Dear developer,
Thanks for sharing this repository. I was deeply inspired by your paper. I have a question about the dimension of input time series dataset. For example, when we trainning the model on the DREAM dataset, is the input 3-D (variables×slices×length) or 2-D (variables×(slices×length))? The first approach is to think of number of slices as minibatches.

The input is  2-D (variables×(slices×length)). However, for Dream dataset consider set sota.cuts_plus_cyx.block_size to 21.

Thanks for your reply. I have another question about model training. When I tested CUTS using the DREAm dataset, I found that AUC always rises first and then falls. Is this phenomenon normal? Are there any other metrics to measure the effectiveness of causal inference？


[Question] Changing the preferred binding order from Python code

I am aware of the QT_PREFERRED_BINDING environment variable, but I would like to know if it is possible to alter the order of bindings directly from python. I am currently using Qt.py through vendoring, so I know that I could also alter this manually by changing default_order = ("PySide2", "PyQt5", "PySide", "PyQt4"). Thanks.

Certainly, you can modify the environment from within Python, and Qt.py will pick it up on first import.
import os
os.environ["QT_PREFERRED_BINDING"] = os.pathsep.join(["PySide2", "PyQt5", "PySide", "PyQt4"])
import Qt

Great, thanks. However, I am not sure if this overrides the environment variables that the user may have set up before running my code. What I would like to do is to change the default binding order, without preventing the user to choose a preferred binding.

Ah, yes you are right, this would override any existing variable.
How about asking for it first, and overriding if it doesn't already exist?
import os

if "QT_PREFERRED_BINDING" not in os.environ:
  os.environ["QT_PREFERRED_BINDING"] = os.pathsep.join(
    ["PySide2", "PyQt5", "PySide", "PyQt4"]
  )

import Qt

That is perfect, thank you.

You are most welcome.


Add Metric Avg ms per disk wait on dashboard

Add Metric Avg ms per disk wait on dashboard
This wait type helps to identify if there is disk latency on server.

Metric has been added successfully.
Objects created for this infra -

Procedure dbo.usp_avg_disk_wait_ms
Added column avg_disk_wait_ms in dbo.all_server_volatile_info & dbo.all_server_volatile_info_history
Added column avg_disk_wait_ms in dbo.usp_GetAllServerInfo
Added column avg_disk_wait_ms in dbo.usp_wrapper_GetAllServerInfo
Added column avg_disk_wait_ms in dbo.usp_populate__all_server_volatile_info_history
Added column avg_disk_wait_ms as Avg Disk Wait on  Monitoring - Live - All Servers dashboard


Create longest palindrome sequence #3878 solved

#3878 solved
What type of PR is this? (check all applicable)

[ ] 🚀 Added Name
[x] ✨ Feature
[ ] 🌟 stared the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Add Link of GitHub Profile

hey @keshavsingh4522  i would like to solve this issue assign me under the hacktoberfest label


remove visible browser blue from focus state - leave focus state, but not the browser blue

@spacedino — could you elaborate? Is there another visual style you want to apply, or you want to remove the default browser visual affordance for focus entirely?

@ericlindley-g  thats right, just remove the blue

Got it — the reason I ask is that, while removing just the visual affordance still supports users with limited vision, it stops supporting users with limited mobility/dexterity. The visual affordance for focus helps them navigate pages using interfaces that might just be a single button, because they need a clear visual indication of which parts of the page have focus at a given time. The best practice that I'm aware of is to keep the default browser blue, because that's what these users are used to. But I'd be curious if there are other good options.

@ericlindley-g that totally makes sense for selections. this is a slightly different use case  - the button is treating a "pressed" indication as a "focus" but ultimately there is no need for the "focus" state in this situation. After the user presses the button the page changes, adding a new focus. The only technical reason I believe (I could be wrong) it stays is because a modal is launched on top of the page so it may be preserving where the user was. If this is the case we need to address what happens after the modal closes, because ultimately that button is only a trigger for the modal. It doesn't indicate a state change and therefore a visual indicator is not needed. It's an outlier, all of the other buttons on the page have the blue line removed for the same reason. Does that make sense? We can also discuss offline.

Discussed offline — sounds like there might be a feature request for AMPHTML core — "On tap, remove focus from amp-lightbox trigger and apply to lightboxed container"
@aghassemi — what do you think?

already tracked: https://github.com/ampproject/amphtml/issues/4892

lightbox container should get the focus for A11Y reasons anyway.
on closing the lightbox however focus will be moved back to the opener.

Got it—thanks!  I'm assuming there's no workaround in the meantime (?). If not, then I think we can close this issue and wait for the fix in core.

Well, if the issue is about the ugliness of the blue outline, we should consider that same thing can happen outside of the open lightbox case (e.g. imagine a button that stays visible on the page when tapped but changes something else on the page like a client-side search button!). The right approach in my opinion is to provided a good on-focus look for ampstart buttons so we can remove the browser-provided outline without hurting low-vision users. /cc @spacedino

Gotcha—I'm not super-familiar with the space, but I feel like what I've read in terms of best practices is to just go with the browser default, because that's what users expect. Have you seen other good patterns for this?

I think we can provide a better design than the browser default. Material Design raised the button onfocus. Bootstrap provides a more subtle outline using box-shadow that matches the button color, etc...

 Though they might have research that backs up the decision. I'll send a note to them to see.
FYI: here's one strongly-titled piece on the topic

another option is to keep the outline for :focus but remove it for :active meaning if users taps the button, no outline is displayed but when TABing through buttons, outline will be displayed.

@aghassemi this is what i'm asking to do. i am confused though because i am NOT advocating to remove the outline for keyboard users. i just want it to match the behavior for the buttons on the rest of the site. we just forgot to override the  tag @camelburrito . @ericlindley-g we were right though about the issue @aghassemi linked to :)

Weird, yeah — I didn't notice that this was on the :active state, before. I'm not sure about best practices for that, but I think that's pretty typical to change (actually seems unusual to give it styling that looks like :focus).
If we change this, we should change this for the component, as well, which is showing a blue outline for the :active state, as well (and doesn't seem to change color on :active state, as spec'd out in the mocks — though in the mocks the :active state is called "pressed" and the default button state is called "active". Might help to be rigorous about how we refer to these going forward)


Fixing references to old alerts page

This PR fix all URL references to old alert page (alerts.html) to the new one (alerts-v2.html).
Also includes one adoc syntax problem on lesson-2: using gauge-1' instead of gauge-1`

LGTM


[PORT] Adds support for buffered replies to skill dialog

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3496

Fixes #3475
Changed projects

Microsoft.Bot.Builder.Dialogs
Microsoft.Bot.Builder
integration
Microsoft.Bot.Builder.Dialogs.Tests

@gabog - should this be assigned to you?

@kaiqb - This is in the JS Repo. I think we'll need John to do this.


firewall_rule is not working as expected for ubuntu

Cookbook version
2.5.4
Chef-client version
Chef DK: 1.3.40
chef-client: 12.19.36
OS: macOS Sierra (10.12.4) & MS Windows 10 x64
Platform Details
Ubuntu 16.04
Scenario:
Add a firewall_rule.
Steps to Reproduce:
File attributes/default.rb
default['firewall']['allow_ssh'] = true

File recipes/default.rb
include_recipe 'firewall'

firewall_rule 'enable web access' do
  port [80, 443]
end

File metadata.rb
depends 'firewall'

user@chefdk:~$ kitchen converge

or

user@chefdk:~$ kitchen destroy; kitchen converge

then

user@chefdk:~$ kitchen login

Expected Result:

vagrant@default-ubuntu-1604:~$ sudo ufw status

Status: active
...

vagrant@default-ubuntu-1604:~$ sudo ufw show added

Added user rules (see 'ufw status' for running firewall):
ufw allow 22/tcp
ufw allow 80,443/tcp

Actual Result:

vagrant@default-ubuntu-1604:~$ sudo ufw status

Status: active

vagrant@default-ubuntu-1604:~$ sudo ufw show added

Added user rules (see 'ufw status' for running firewall):
(None)

This appears to be an incompatibility Chef 13. I tried pinning the Chef version to 12.19.36 (the latest version of Chef 12 currently available) and everything started working. It's interesting that this is failing totally silently.

@trappar @e21347 Have you tried this against the latest cookbook from git? The master branch should be compatible with Chef 13, but I haven't done a release yet as I'm looking for testing feedback. Any feedback would be much appreciated! :)
@e21347 RE: failures on Chef 12 -- our test suites on Chef 12 look very similar to this; they are passing. I went ahead and tried to reproduce this one on the latest master as well, and I see the rules being added (see below). Will you also give the latest master a try? Thanks!
       [2017-04-17T13:21:09+00:00] INFO: file[/etc/default/ufw-chef.rules] updated file contents /etc/default/ufw-chef.rules

         - update content in file /etc/default/ufw-chef.rules from fa85ee to 67eff2
         --- /etc/default/ufw-chef.rules	2017-04-17 13:21:09.941933948 +0000
         +++ /etc/default/.chef-ufw-chef20170417-2487-1brja4d.rules	2017-04-17 13:21:09.965945947 +0000
         @@ -1,2 +1,6 @@
         -# created by chef to allow service to start
         +# position 50
         +ufw allow in on lo to any from any
         +ufw allow in proto tcp to any port 22 from <IP_ADDRESS>/0
         +ufw allow in proto udp to any port 60000:61000 from <IP_ADDRESS>/0
         +ufw allow in proto tcp to any port 443,80 from any

       [2017-04-17T13:21:11+00:00] INFO: Chef Run complete in 8.573116421 seconds

       Running handlers:
       [2017-04-17T13:21:11+00:00] INFO: Running report handlers
       Running handlers complete
       [2017-04-17T13:21:11+00:00] INFO: Report handlers complete
       Chef Client finished, 15/34 resources updated in 09 seconds
       Finished converging <default-ubuntu-1604> (0m11.54s).
-----> Kitchen is finished. (0m14.58s)
➜  firewall git:(master) ✗ kitchen login default-ubuntu-1604
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
Last login: Mon Apr 17 13:21:00 2017 from <IP_ADDRESS>
vagrant@default-ubuntu-1604:~$ sudo ufw show added
Added user rules (see 'ufw status' for running firewall):
ufw allow in on lo
ufw allow 22/tcp
ufw allow 60000:61000/udp
ufw allow 80,443/tcp
vagrant@default-ubuntu-1604:~$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
Anywhere on lo             ALLOW       Anywhere
22/tcp                     ALLOW       Anywhere
60000:61000/udp            ALLOW       Anywhere
80,443/tcp                 ALLOW       Anywhere
Anywhere (v6) on lo        ALLOW       Anywhere (v6)
80,443/tcp (v6)            ALLOW       Anywhere (v6)

@martinb3 I just tried the newly released 2.6.0 and it looks like it's working fine. Thanks for the quick fix!

Great! I'll go ahead and close this. Thanks @trappar!

@martinb3 v2.6.0 is working as expected. Thanks! Sorry, I didn't get to give master a try before you released 2.6.


Trident fails to boot on Dell Laptop with nVidia graphics chip

Last night, I attempted to install BETA3 on my Dell Lattitude D630 laptop. My laptop has an NVIDIA Quadro NVS 135M graphics chip. According to nVidia's website, that particular chip is supported by nvidia-driver-340. During my initial install attempt, I selected the 340 driver. The installation finished successfully. However, upon reboot, the nVidia driver appeared to fail. Below is a screenshot of the error.

I attempted to reinstall with the main nVidia driver, but the same error occurred.
I successfully installed TrueOS desktop on the same laptop earlier this year.

Have you attempted to use RC3?

No, but I will today.

I tried RC 3 and was still unable to boot into a desktop. I tried installing without picking which driver to install, installing the nVidia 240 driver and installing the nv driver. Interestingly, when I tried to boot after installing the nv driver, it looked like it almost reached a desktop, but was tuck with a black screen.

@RodMyers I tried installing the Project Trident and ran into issues. However, I think that the thumb drive that I was using might have contributed to the problems. I bought a new thumb drive and will again tonight. If I run into issues again, I'll post as much info as possible. :)

I flashed Project Trident 18.12 Update 3 to a new 16GB thumb drive and tried to install but I kept getting the "zpool import failed" error. I figured that there was conflict from the previous failed installed, so I installed a Linux distro.. I reflashed Project Trident 18.12 Update 3, but the install kept failing at zpool import. Then, I decided to change the name of the zpool to trident2 and turned on swap. Once I did this, the installation completed. However, I still can't get it to boot to a gui. I tried both nvidia 340 and the open source nv driver.

is this still an issue?

@RodMyers Sorry for not replying sooner. I am unable to test this because the laptop I was using is not working due to water damage. I will try again once I get it fixed.

I finally got my system fixed and installed the most recent stable iso. It installed successfully, but would not boot to a desktop. I logged in via the terminal prompt and typed startx. The resulting printout said "Fatal server error: no screen found. Here is a picture of the screen:

Interestingly, I also ran into issues connecting to the ntp server. If I didn't log in, I kept getting a message that "Can't find host 0.freebsd.pool.ntp.org: Name does not resolve." This happened on both wifi and ethernet.
Hopefully, we can resolve this issue because I'd really like to run Project Trident on that system.

Closed: Overcome by events.
With the move to Void Linux this issue will go away as it no longer uses FreeBSD drivers.


Screen is dismissed twice when swiping down on a sheet

Hi there! I am admittedly pretty green with iOS development and the framework, but learning lots and having fun. I'm running into some interesting behavior when playing with mixing navigation types. Basically, if I push a screen onto the stack, then presentSheet another screen, then dismiss the sheet with a swipe down, I get a double dismiss animation:

Manually dismissing the sheet works just fine. I built a small repro app to see the behavior:
https://github.com/rdonnelly/FlowStacksDoubleDismiss
Definitely willing to consider other approaches if something seems fishy in the code! Thanks!

Thanks for raising this @rdonnelly ! This seems to be an issue introduced in iOS 17 when using view models - I was able to reproduce the issue in the project's demo app. I'll need to dig a bit deeper to understand what's going on, so thank you for the clear reproduction.

Awesome, thanks for the confirmation and for taking a look, @johnpatrickmorgan! And obviously no rush, definitely digging the library and approach! 👏

I had a similar issue with a navigationView wrapping a tabView when the app moves to background it pops and/or pushes and then pops.

@johnpatrickmorgan any ideas what is causing this? I spent a few hours the other day trying to dig into it but came up empty. Happy to continue to dig more! Just curious if you had any ideas or a hunch about whats going on. Btw huge thanks for the library!

Thanks a lot @wickwirew for looking into this - I've also been stumped. One thing I tried was adding a Binding wrapper to log the get and set:
extension Binding {

  func withLogging<T>(_ transform: @escaping (Value) -> T) -> Binding {
    return Binding(
      get: {
        print("getting \(transform(wrappedValue))")
        return wrappedValue
      },
      set: { newValue in
        print("setting from \(transform(wrappedValue)) to \(transform(newValue))")
        wrappedValue = newValue
      }
    )
  }
}

And then initialising the Router with Router($viewModel.routes.withLogging({ $0.count })). Doing so showed that the Binding is somehow giving a stale value:
setting from 3 to 2
VMCoordinator: _viewModel changed.
getting 2
getting 2
getting 2
getting 3 // !!!
getting 2
getting 2

But I haven't been able to figure out why yet.

Huh strange, I actually did something similar and got different results. In the AppCoordinatorView created a wrapped binding to pass to the Router:
var binding: Binding<Routes<Screen>> {
    Binding {
        print("getting: \(coordinatorViewModel.routes.count)")
        return coordinatorViewModel.routes
    } set: { newValue in
        print("setting from \(coordinatorViewModel.routes.count) to \(newValue.count)")
        coordinatorViewModel.routes = newValue
    }
}

Which logs the correct values, but the bug still persists
setting from 3 to 2
getting: 2
getting: 2
getting: 2
getting: 2
getting: 2
getting: 2
getting: 2

I was able to replicate what you saw with that Binding extension too. It looks like when the stale value is printed its not from SwiftUI reading the value, but actually in the isActiveBinding setter reading the allRoutes.wrappedValue. The stale value has to be related though. It only happens when the dismissal bug shows, and not for every sheet.

I am having the same issue, it is really annoying. Any way to work around it?

I've tracked down the problem to the addition of the FlowNavigator as an environment object:
https://github.com/johnpatrickmorgan/FlowStacks/blob/9629bd329146d4ba476bfdb50d293acbf8ba3f5d/Sources/FlowStacks/Router.swift#L35
Removing that line avoids the issue. But strangely, it seems to also be overcome by just observing the flow navigator in Node. To do so, I have to refactor Node into a struct rather than an enum, which is a bit long-winded but I'm in the process of doing so.

I've refactored Node in such a way that I believe this issue is now fixed. It's available in version 0.4.0. Please let me know if you have any issues.