Mod compatibility issue: Factorissimo 3

The Factories in Factorissimo are only buildable by unleveled assemblers.  Is a compatibility patch possible?

I´m not sure why you have this problem, but I can build Facorissimo buildings in leveld Assembers (3)

I forgot to mention this only happens on Assembling Machine 1s, the Assembling Machine 2s work fine.

Thats because Assembling Machine 1s can only use 2 inputs

Thats because Assembling Machine 1s can only use 2 inputs

That was years ago? I think it is infinite inputs for any assembler now. Do you use any other mods?

AAI Containers & Warehouses
Bob's Adjustable Inserters
Bullet Trails
Even Distribution
Factorio Library
Factorissimo 3
Factory Levels
Factory Planner
Kruise Kontrol Updated
Loaders Modernized
Squeak Through 2


RFC: LuCI failed/successful logging to syslog

Hi,
I'm not using uhttpd on my router and probably because of that failed/succesfull login for LuCI are not in syslog. (Similar issue is  https://forum.openwrt.org/t/luci-code-that-handles-failed-and-success-login-results-to-syslog/83776)
I fixed that with this patch but I'm not sure if this is would be accepted in upstream because it will result in double error login in syslog.
I'm looking for idea how to improve it and will be glad for any suggestions.
--- a/modules/luci-base/luasrc/dispatcher.lua
+++ b/modules/luci-base/luasrc/dispatcher.lua
@@ -565,12 +565,16 @@ local function session_setup(user, pass)

 		io.stderr:write("luci: accepted login on /%s for %s from %s\n"
 			%{ rp, user or "?", http.getenv("REMOTE_ADDR") or "?" })
+		nixio.syslog("info","luci: accepted login on /%s for %s from %s\n"
+			%{ rp, user or "?", http.getenv("REMOTE_ADDR") or "?" })

 		return session_retrieve(login.ubus_rpc_session)
 	end

 	io.stderr:write("luci: failed login on /%s for %s from %s\n"
 		%{ rp, user or "?", http.getenv("REMOTE_ADDR") or "?" })
+	nixio.syslog("info","luci: failed login on /%s for %s from %s\n"
+		%{ rp, user or "?", http.getenv("REMOTE_ADDR") or "?" })
 end

We could replace the io.stderr:write in alle source files with perror and decide with a config option if we want to log to stderr or syslog or check if we use nginx or uhttpd


google.com

<IP_ADDRESS> google.com

This one is a gold @mitchellkrogza  :+1: :100: :1st_place_medal: :joy_cat: :joy_cat: :joy_cat: :joy_cat:

🤣  fixing now

Should be fixed in: https://github.com/mitchellkrogza/Ultimate.Hosts.Blacklist/commit/5c0471265bffdcb05e95ed96420b5d87c16022fc

RAW links updated

@xxcriticxx let me know if you find anymore google or twitter links or Facebook. I've been doing lots of cleaning but obviously missed some. Please log all issues beginning with ADD: or REM: then it's easier for me to get through them

@mitchellkrogza Hall of fame? :smile_cat:

@funilrys absolutely


Adding a query builder to Lokka

So I currently have an issue, or rather a feature request. I am beginning to have to work with queries with optional arguments that may not be provided in certain instances, but having created the query string, it isn't very flexible to remove arguments dynamically. Is there any proposed query builder tool to be used? Or could this be added to Lokka? I believe it would be a useful feature, given that scenarios where dynamically adding arguments would occur in a lot of projects.

We use this: https://github.com/kadirahq/graphqlify

@arunoda Oh wow.. cool! Any documentation for that? And is that used internally in Lokka or where is it used?

Documentation is in the above repo itself. Isn't that useful.
Basically, it'll create a GraphQL query string.
So, you could use it with anything.

@arunoda It doesn't seem to cover all the use cases, like using fragments and query variables.

Yeah! True.

@arunoda But does it kinda handle those implicitly? Even though the examples aren't there in the README?

I need to ask this from @mnmtanish
Hey do we support fragments, I mean something like this:
{
  teamFourStar {
    members {
      ...memberFields
    }
}

Opened issues for fragments and query variables. I'll post an update when they are ready.

Was with a colleague today and he came up with

actionCall(${ternary_operation} , ${ternary_operation}) {}

Usage:
let params = {
id: 12343
}
addTo(params){
let ADD_TO_QUERY = {                     addTo(${(params.cart_id) ? cart_id: ${params.cart_id},: ''}) {                         job_id                         job_info{                           can_get_paid                           salary_range                           debt{                             debt_id                           }                         }                     }                     } 		;
    return ~~~~~~.mutate(ADD_TO_QUERY);
}


Bump: Collection requirements and cvprac

Change Summary
Bump Collection requirements and cvprac
Proposed changes
Ansible Collections:

"arista.cvp": ">=3.6.1"
"arista.eos": ">=6.0.1"
"ansible.utils": ">=2.10.3"

Python requirements:

cvprac>=1.3.1

How to test

Verify CI passes
Test in a virtual environment

This should be mentioned in the release notes

Updated the release notes. Only included cvprac upgrade information, as the collection dependencies are handled automatically by the collection installation process.

This should be mentioned in the release notes

Updated the release notes. Only included cvprac upgrade information, as the collection dependencies are handled automatically by the collection installation process.

Please include all changes in RN.


fix: Add constrain to make chart-lint

[x] I have read Pelorus Contributing guidelines

Linked Issues
resolves #966
Description
Check also the versions in other files of charts folders.
Testing Instructions
Try not updating the versions in charts/pelorus/charts/exporters/templates/_deploymentconfig.yaml or charts/pelorus/charts/exporters/templates/_imagestream_from_image.yaml and check if make chart-lint warns you.

/lgtm


Allow NaN/Infinity as a Number

Hey this would be good to add. I use jless for data produced from numerical calculations where NaNs and Infs come up from time to time. Being able to use jless with those would be quite useful for me and my team.


Can tensorpack build a new graph in Model class?

In fact, I would like to use tf.contrib.factorization.KMeans in my Model class, more specifically, before(or after, it doesn't matter) some convolution layer or FC layer, like https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/factorization/examples/mnist.py
But tf.contrib.factorization.KMeans need generating KMeans clustering graph. So when I build kmeans graph by calling kmeans.training_graph() in the Model, I get error as below:

tensorpack/graph_builder/utils.py", line 82, in call
self.ps_sizes[device_index] += var_size
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

I wonder how to solve it in a tensorpack way? Thanks

Could you please post full error?

Looks like there are a couple of problems with this kmeans.
First of all it creates trainable variables of unknown shape. Some of the utilities in tensorpack assume variables have fully defined shape. The above commit should help with that.
Secondly it does not respect variable reuse. It creates variables even under a "reuse=True" variable scope, which means you cannot use it with tensorpack TowerTrainer and all its subclasses.
Thirdly it is not trained by gradient descent, although it creates trainable variables. This means you cannot train it with tensorpack ModelDesc which assumes single-cost gradient-based optimization.
To use kmeans you'll probably need to build your graph manually and write your own trainer. I don't know if there are other ways around because I'm not familiar with the kmeans module.

I will try. Thanks very much for your help.


Rescope GoogleAPIs

The initial load time (startup) for api.js is 61204ms, and 39920ms of that is for loading googleapis.  The module is massive because it covers (almost) all Google's APIs.  We can load a subset of the APIs to reduce the amount of time it takes to start the app.  See
https://github.com/googleapis/google-api-nodejs-client#installation

Fixed by https://github.com/sahat/hackathon-starter/commit/68155ef54a0d5863e69b775f12e9b88d6f98bd33


Lab 1 example queries missing wildcards at end of URL

Lab title: Lab 1
Task: Use SQL to query parquet files
Step: 03
Description of issue
In the exercises like  'Use SQL to query parquet files', in step 3, the instructions example OPENROWSET .. BULK url lacks the ** double wildcard suffix.
This does match what the New SQL Script, SELECT TOP 100 Rows UI which does include the wildcards.
Other examples also lack the wildcard and confuse a student who might type in the query provided instead of generating the query using the UI.

Thanks @dave-007 - this has been updated.


Weird behaviour of the moon. [Branch - 3-body]

For some reason, the moon won't revolve around the earth.
Maybe due to the relative velocities and positions.
Other planets are doing fine around the sun, but if there is another body, which is supposed to orbit a planet, its path goes weirdly around the Sun.
@munishkr , look into this ASAP.

@DeathStocker  the gravitational force has not been updated the formula is for 2 bodies and we should modify the same function instead of a new one.

@DeathStocker the previous comment was incorrect after verifying the code. Changing the graph color helped in identifying actual trajectories of earth and moon which came out to be correct according to the code.


The hammer falls doesnt not begin

after speaking with paxton/recieving slate then killing again the hammer falls quest does not start

Details
fc08 is the previous quest first to the fight first to die fc09 is for the hammer falls
setstage 50(travel to hope town) is the first step
Game Version
1.14.70
Language
English (EN)
New Game
Yes
Reproduction Steps
complete ryujin faction first then begin fc quest

Did not experience this on any playthrough, and I always did the FC questline last. We'll need more detailed reproduction steps to investigate.


couldn't create edge for source id:

I use 2 ReactFlow render in different page in React some time is showing me this error can you help @moklick

When you have multiple flows you should wrap your flows with the <ReactFlowProvider> component. This ensures that every flow has its own store https://reactflow.dev/docs/api/components/provider/. Does this fix your issue?

It's work. Thanks for quick response.

I am following the layouting example in one of my projects. The graph gets generated perfectly when the component renders but when I try to connect to another node or delete a node I am getting this same error. If you could please give me any idea what I am doing wrong @moklick


Restore --save_pngs

Causes --save_pngs to save frames to /media/videos/<module name>/images/<scene name><frame number>.png. The paths here are a mess, but they can't really be improved on effectively until  we make some progress on #12.

@Aathish04 perhaps leave your review? :)

Oh come on! I was trying to do the same thing just as you committed. :)

https://imgur.com/gallery/4johHkJ


fix: add isCompressEvents attribute parse in real-time mode

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Summary

Add isCompressEvents attribute parse in real-time mode.
Fixed real-time mode sending events to stop when entering the next day.

Implementation highlights
(describe how the merge request does for feature changes, share the RFC link if it has)
Test checklist

[ ] add new test cases
[ ] all code changes are covered by unit tests
[ ] end-to-end tests

[ ] deploy control plane with CloudFront + S3 + API gateway
[ ] deploy control plane within VPC
[ ] deploy ingestion server

[ ] with MSK sink
[ ] with KDS sink
[ ] with S3 sink

[ ] deploy data processing
[ ] deploy data modeling

[ ] new Redshift Serverless
[ ] provisioned Redshift
[ ] Athena

[ ] deploy with reporting

Is it a breaking change

[ ] add parameters without default value in stack
[ ] introduce new service permission in stack
[ ] introduce new top level stack module

How about also supporting the configuration in create_event script?

We can also support sending the data of the past 30 days without compression, but the size of the request body will increase by about 20 times, and the number of requests will increase accordingly. It will take about 3-4 hours to complete all the same data sending on the local computer, it may not be user friendly


setup up difficulty

i really dont know what im doing
ran installation command for requirements and i got this error
"error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification."

Try adding --user flag to pip install

didnt work :(
same error

I forgot to add this error
WARNING: The script wheel is installed in '/home/user/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pip, pip3, pip3.10 and pip3.11 are installed in '/home/user/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Are you doing it as a root user?

Okay, probably the easiest solution would be to use venv:
# cd to the directory where you want to create the virtual environment
cd ~/proxy-scraper-checker
# Create virtual environment
python3 -m venv .venv
# Activate it (this will have to be done each time before running the script/installing the dependencies)
source .venv/bin/activate
# Install dependencies or run the script
...

Are you doing it as a root user?

No

Okay, probably the easiest solution would be to use venv:
# cd to the directory where you want to create the virtual environment
cd ~/proxy-scraper-checker
# Create virtual environment
python3 -m venv .venv
# Activate it (this will have to be done each time before running the script/installing the dependencies)
source .venv/bin/activate
# Install dependencies or run the script
...

This works
Thanks!


create an ICAP address on generation

For #1188
@hboon hold off on this one, might not actually be worth it...

Nobody seems to use this format anymore, closing but we can always reference it later if it becomes relevant.

If we are the only one using this feature, it is a security issue. The addresses using ICAP might be considered an AlphaWallet address and be targeted for AlphaWallet weakness.
This feature is considered if there are multiple wallets supporting it (are there?)
Either way, I expect ICAP related features to be in the same tier of rich functions that requires a smart contract (wallet contract) to support, therefore it's more like a wallet contract address generation consideration.


Defaults Varchar(255) and UTF8mb4

Waterline version:0.13
Node version:8.#
NPM version:5.*
Operating system:linux

Note: this really should be for sails-mysql
So there is an issue with MariaDB/Mysql especially on linux machines fresh install of MariaDB. The issue comes from charset UTF8mb4 -> This is the default for MariaDB with a fresh install. The issue comes down to default varchar being set to VARCHAR(255). With UTF8mb4, one can not use VARCHAR(255).
The issue by default strings are defaulting to varchar then to VARCHAR(255). I am not sure if there is a way that we can detect what the charset is currently.
I still like defaulting to 255 because I use UTF8. However this becomes a huge pain for those who do not know that there is a difference and are not wanting to go into setting up their machines to a different character set.
I really do not know the best way to go forward with this issue. My thought would be to have it in the configs so that we can override the default. Not sure though.

The alternatives are:
For indexes: use VARCHAR(191) whenever the schema is on UTF8mb4 - check this during initialising of datastore/sails-lift auto-migration time.
For non indexes no changes should be required.
There’s also other workarounds but they would be unnecessary for most users(but could include as an option?):
use a "prefix" index: INDEX(foo(191)), while leaving it VARCHAR(255). Usually "prefix" indexes are useless, but you might have a use case for which it works.

(Plan C here)

@Betanu701, for performance reasons, we leave the sizing of fields up to the adaptor (sails-mssql in your case) as each adaptor passes data straight through to the database. I think you’re on the right track though, being aware of what your charset is. as @vpiskunov hints, when you know what your charset is, you can handle it in code first before sending it to your database

@Betanu701 @vpiskunov I just came across this - hopefully this can be helpful for you as well: https://sailsjs.com/documentation/concepts/models-and-orm/attributes#?unique


What about .NET Core services that aren't ASP.NET?

How do I add application insight and support distributed tracking across RPC calls between non ASP.NET service that target the .NET Core?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a7f7156b-3478-9938-6596-3573034fd7f5
Version Independent ID: 3d3adaf0-7e39-209d-71b7-3b41bf05cb60
Content: Quickstart with Azure Application Insights
Content Source: articles/azure-monitor/learn/dotnetcore-quick-start.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@bazmandude Thanks for your question. We are checking on this and will respond to you soon.

@bazmandude You can view a list of platforms that are compatible with Application Insights here:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/troubleshoot-faq#can-i-use-application-insights-with-

Web apps on an IIS server - on-premises or in a VM
Java web apps
Node.js apps
Web apps on Azure
Cloud Services on Azure
App servers running in Docker
Single-page web apps
SharePoint
Windows desktop app
Other platforms

For RPC specifically, this documentation on VM health may help a little but the best place for specific answers about implementations are going to be the forums:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=ApplicationInsights&filter=alltypes&sort=lastpostdesc
https://stackoverflow.com/questions/tagged/azure-application-insights
We actively look through posts in the forums, and will do our best to get you going in the right direction.  If you have any document specific questions (or suggestions), please tag me in your reply and I would be happy to continue the conversation.


Question - Best way for  modules to attach listeners

Hello
First my apologies if this is not the right place to ask questions.
Please let me know if there is a better place -
Thank you

Here is my issue
I was wondering what would be the best way to attach listeners to an Event Manager from a Different Module
Here is my scenario, I have a user form  lets call it Application\UserForm
In its class factory I inject an Event Manager and a Shared Event Manager
factory:
$userForm = new UserForm();

$sharedEventManager = $container->get('FormSharedEventManager');
$eventManager =  new EventManager($sharedEventManager);

$userForm->setEventManager($eventManager);

What is the Best way for another module (lets call it Module X) to attach its listener to this Form (and any other forms really that use the same FormSharedEventManager ) ?
Here are my choices
Delegators
I could add Delegators in the Module X Config
Option 1:  at the UserForm level
--> so that everytime UserForm is created My delegator class would fetch the event manager and directly attach listeners
Option 2
-> Same idea but at the shared event manager level
Everytime FormSharedEventManager is created i would attach the listeners
(That also allow me to use the identifiers )
Config file parameters
Option 3:
i could create a new config parameter
return [
  'shared_event_manager_listeners' => [
        'FormSharedEventManager::class => [
                 ModuleXFormListenersAggregate::class
         ]
  ]
];

And I would have a to use a new Factory to create FormSharedEventManager
'factories' => [
    FormSharedEventManager::class => AggregateAwareSharedEventManagerFACTORY::class
]

My new Factory (AggregateAwareSharedEventManagerFACTORY)
Would then fetch all the listeners aggregates from the "shared_event_manager_listers" config attached to the requested class (FormSharedEventManager::class)
I want to use the fastest or cleanest way to attach those listeners
Ideally the Module would also add listeners to other part of the process
Pros and Cons
Option 1:

Pros: The listeners are only attached when we need create UserForm class
Cons: Need to create a Delegator file for each forms  that the module want to listen to

Option 2:

Pros:  Using the SharedEvent Manager I can use identifiers and thus attach all my Event from ONE delegator file
Cons: ?

Option 3:

Pros: We are not using delegators - so it might be faster ? (am I right to assume so ?)
Cons:
Need to create new parameter in the config, Need to create a new factory

Ideally Module X would also want to listen to other events like Controller Events
For e.g When a user submit the form  Module X will want to send an email
Would it be smarter to Inject the default Shared Event Manager into my Form  instead of creating a new FormSharedEventManager
and attaching the listeners into the Default shared event manager ?

Good question. I resolve it by creating module for that: https://github.com/snapshotpl/ZfConfigListener

So your module is kind-of a mix and matches of the options I described
You are using a new configuration in the module.config files that defines what listeners should be attached to what service
Then your module, during the "merge config" event, will attach a delegator to each of those services
The delegator then  just fetch the listeners and attach them to the service's event manager
This is nice but you are limiting yourself to services defined in the service_manager
That would not work for my scenario because my form would be defined in the Form Element Manager (form_elements)
Thank you for your input though I am going to use it to build the perfect solution for me

There is a big problem with delegators with zend-eventmanager >= 3.0.
Please see my issue zendframework/zend-mvc#205.
The event manager in classes that implements EventManagerAwareInterface will be overrode by an initializer in zend-mvc because it check if getSharedManager() is an instance of SharedEventManagerInterface.
The EventManagerAwareTrait in zend-eventmanager >= 3.0 does not create the shared manager anymore, so the whole event manager will be overrode in the initializer, and after delegators, losing the attached listeners.
If you want to use delegators, you should be sure that a complete event manager with the shared event manager is injected in the object.

If you want to use delegators, you should be sure that a complete event manager with the shared event manager is injected in the object.

This is what I was planning to do anyway, because like you said, the SharedEvent Manager is not injected to any event manager by default anymore -
See my first comment
$userForm = new UserForm();

$sharedEventManager = $container->get('FormSharedEventManager');
$eventManager =  new EventManager($sharedEventManager);

$userForm->setEventManager($eventManager);

Doing so allow you to have full control on the event manager
I like also like to create an Event Class eventPrototype for each Event Managers -
For e.g My Event Manager injected in my UserForm use a new Event Type called \FormEvent
and not \Zend\EventManager\Event
$eventManager->setEventPrototype( new FormEvent() );

Why would you use another SharedEventManager instance for your service?
You can do something like this with zend-mvc:
$userForm = new UserForm();

// zend-mvc defines the 'EventManager', creating each time a new EventManager
$eventManager =  $container->get('EventManager');

$userForm->setEventManager($eventManager);

For libraries without zend-mvc I would suggest something like this:
$userForm = new UserForm();

// zend-mvc defines the 'SharedEventManager'
$sharedEventManager = $container->has('SharedEventManager') ? $container->get('SharedEventManager') : null;
$eventManager =  new EventManager($sharedEventManager);

$userForm->setEventManager($eventManager);

In this way you can use the default SharedEventManager, using the identifiers.

Probably because I did not know/check that zend-mvc was defining a service called "EventManager" that was automatically inject the default SharedEventManager.
This is why I opened that discussion - I am trying to understand what would be the best way to do it
Thank you for your input

Why would you use another SharedEventManager instance for your service?
To separate Functionalities by Class Type - I was thinking that It might be faster and cleaner to have several shared event managers
So I could have a FormSharedManager that would only apply to Form Classes (like UserForm)
I could  still use the identifiers to filter by class name (UserForm / PermissionForm ... ),

I could also have another separate ShareEventManager for my Models
etc etc
Is this method overkill ?  Should I just attach all my listeners to the default SharedEvent manager ?

It's just my opinion.
You can inject another SharedEvent manager, but I suggest to use a "standard", like the "SharedEventManager" service of zend-mvc.
In this way, anyone can attach listeners without to know which SharedManager is.

This repository has been closed and moved to laminas/laminas-eventmanager; a new issue has been opened at https://github.com/laminas/laminas-eventmanager/issues/7.


[excel] (Script Buttons) Remove rollout note about script buttons

Docs Build status updates of commit 72c75b2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/script-buttons.md
:white_check_mark:Succeeded
View

docs/includes/rollout-note.md
:white_check_mark:Succeeded

docs/includes/run-from-button-desktop-support.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


There is no month view

I am having a problem with the month view. the week, day and agenda view is doing fine. I am not sure on why there is no events or even rows and columns for the month view. Below is my Code and a screenshot of month view. I have imported the css on a different file.

class CalendarPage extends Component {
  componentWillMount() {
  BigCalendar.setLocalizer(
    BigCalendar.momentLocalizer(moment)
  );

    }

  render() {
    const date = moment('2015-10-21');
    const events = [{
    "title": "All Day Event",
    "allDay": true,
    "start": new Date(2015, 3, 0),
    "end": new Date(2015, 3, 0)
  },
  {
    "title": "Long Event",
    "start": new Date(2015, 3, 7),
    "end": new Date(2015, 3, 10),
  },
  {
    "title": "Some Event",
    "start": new Date(2015, 3, 9, 0, 0, 0),
    "end": new Date(2015, 3, 9, 0, 0, 0),
  },
  {
    "title": "Conference",
    "start": new Date(2015, 3, 11),
    "end": new Date(2015, 3, 13),
    desc: 'Big conference for important people'
  },
  {
    "title": "Meeting",
    "start": new Date(2015, 3, 12, 10, 30, 0, 0),
    "end": new Date(2015, 3, 12, 12, 30, 0, 0),
    desc: 'Pre-meeting meeting, to prepare for the meeting'
  },
  {
    "title": "Lunch",
    "start":new Date(2015, 3, 12, 12, 0, 0, 0),
    "end": new Date(2015, 3, 12, 13, 0, 0, 0),
    desc: 'Power lunch'
  },
  {
    "title": "Meeting",
    "start":new Date(2015, 3, 12,14, 0, 0, 0),
    "end": new Date(2015, 3, 12,15, 0, 0, 0)
  },
  {
    "title": "Happy Hour",
    "start":new Date(2015, 3, 12, 17, 0, 0, 0),
    "end": new Date(2015, 3, 12, 17, 30, 0, 0),
    desc: "Most important meal of the day"
  },
  {
    "title": "Dinner",
    "start":new Date(2015, 3, 12, 20, 0, 0, 0),
    "end": new Date(2015, 3, 12, 21, 0, 0, 0)
  },
  {
    "title": "Birthday Party",
    "start":new Date(2015, 3, 13, 7, 0, 0),
    "end": new Date(2015, 3, 13, 10, 30, 0)
  }]

    return (
      <div style={{ padding: '1% 0 0 3%'}}>
        <BigCalendar
          events={events}
          defaultView='month'
          defaultDate={new Date(2015, 3, 1)}
        />
      </div>
    )
  }

}

export default withStyles(CalendarPage, s)

removing rbc-month-view in the css file fixes the issue but the height is a bit weird. setting the height: 100%; does nothing and I am assuming this is the cause of it?

fixed it by changing rbc-month-view {display: flex;} to rbc-month-view {display: block;}

now my question is how to set its height? the view for every box is a bit small. it can only contain 1 item. I want it to contain to at least 3-5 items

I have solved my problem. Creating new issue as I am facing a new one

hi, leave the styles of the month view alone and just set an explicit height on the calendar per the documentation.


zsh-nix-shell: 0.1.0 -> 0.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/chisui/zsh-nix-shell/releases.
meta.description for zsh-nix-shell is: "zsh plugin that lets you use zsh in nix-shell shell"
meta.homepage for zsh-nix-shell is: "https://github.com/chisui/zsh-nix-shell"
meta.changelog for zsh-nix-shell is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.4.0 in filename of file in /nix/store/hmhql89ppls3arkiwlsdid9jb278jvb5-zsh-nix-shell-0.4.0

directory tree listing: https://gist.github.com/8e0f8cf157358e32367f5419b2c1f4ef

du listing: https://gist.github.com/80c324658a245d886311b82de049d4a5

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
zsh-nix-shell

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hmhql89ppls3arkiwlsdid9jb278jvb5-zsh-nix-shell-0.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zsh-nix-shell https://github.com/r-ryantm/nixpkgs/archive/2d043248cea3244ef748e390e7cbe77eff5ed379.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hmhql89ppls3arkiwlsdid9jb278jvb5-zsh-nix-shell-0.4.0
ls -la /nix/store/hmhql89ppls3arkiwlsdid9jb278jvb5-zsh-nix-shell-0.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

zsh-nix-shell

Maintainer pings
cc @herrwiese for testing.

Result of nixpkgs-review pr 135420 at 2d043248 run on aarch64-linux 1

1 package built successfully:

zsh-nix-shell

2 suggestions:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/shells/zsh/zsh-nix-shell/default.nix:17:3:
   |
17 |   installPhase = ''
   |   ^

warning: unused-argument
Unused argument: pkgs.
Near pkgs/shells/zsh/zsh-nix-shell/default.nix:1:33:
  |
1 | { lib, stdenv, fetchFromGitHub, pkgs }:
  |                                 ^


How can i contribute in project?

Question
how can i contribute to this project?
i know python and try something with llamacpp

I would say start by understanding how PrivateGPT works. After that, you can check our roadmap with different tasks to do :)


"use of internal package not allowed" running dh-make-golang

I'm running dh-make-golang to grab the source for a new snapshot
of containerd, and get the following error:
# dh-make-golang -git_revision 0366d7e github.com/docker/containerd
2016/11/16 14:02:29 Downloading "github.com/docker/containerd/..."
go get: 202.79 MiB
package github.com/docker/containerd/vendor/src/golang.org/x/net/trace
	imports golang.org/x/net/internal/timeseries: use of internal package not allowed
package github.com/docker/containerd/vendor/src/google.golang.org/grpc
	imports google.golang.org/grpc/internal: use of internal package not allowed
2016/11/16 14:12:26 Could not create a tarball of the upstream source: exit status 1

It looks like the vendored dependencies that have internal packages, x-net and golang-grpc,
here are trying to be imported while being built using a longer package name: github.com/docker/containerd/vendor/src/google.golang.org/grpc vs google.golang.org/grpc
but I don't understand why.
My guess is that this was always happening but only now produces an error as upstreams
are only just starting to add internal packages to their code.

This issue happens because:

dh-make-golang is running go get github.com/docker/containerd/... (note the /... at the end)
docker/containerd has vendored copies of libraries in vendor/src instead of vendor/. As per https://github.com/golang/go/wiki/PackageManagementTools, this implies that they are using gb for vendoring. I think gb requires users to use gb to build, but I might be wrong.
That said, even when moving vendor/src/* to vendor/ (so that Go will correctly interpret internal paths), we run into an error: vendor/github.com/Microsoft/go-winio/file.go:45: undefined: syscall.Overlapped

I’m not entirely sure yet what a good fix would be.

@Merovius pointed out that gb and the go tool are just fundamentally incompatible. Internal packages and canonical import paths are implemented in the go tool.
I think there are a couple of options, in order of success likelihood/personal preference:

Ask docker/containerd to use a vendoring tool which plays nice with the go tool.
Ask the gb authors to make their tool play nice with the go tool.
Declare Go libraries using gb out of scope for dh-make-golang :(.
Add gb support as a special case to dh-make-golang (before we do this, we should look at whether any other vendoring tool would also require special support, and how much the different vendoring tools are used by the community respectively).

Maybe @davecheney has opinions/tips?

Commit 99a238019b5a2bdc0d3d2bad5f93b280a49eedcd also fixed this issue, or at least I can now run dh-make-golang github.com/docker/containerd without problems :).


Class 'Faker\ORM\Eloquent\Populator' not found

Hi, i am trying to populate entities with population adapters, Athough Eloquent is supported, i can't use it

Did you use the master branch? It's probably not yet released.

Hi, i am trying to populate entities with population adapters, Athough Eloquent is supported, i can't use it

The documentation says that Eloquent is a supported ORM adapter but, even on the master branch, there isn't an ORM driver for it. Should we be using Doctrine2 since that's what Eloquent uses under the hood?


Fix docs about CDC correctness issue

Closes #6430.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ca9bbe8523824fff856fdab924676f7eb861dd55/
Edited pages:

v19.1/change-data-capture.md
v19.1/create-changefeed.md
v19.2/change-data-capture.md
v19.2/create-changefeed.md
v20.1/change-data-capture.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e4387ed9434258ee5023af8061ffd403dd8834c4/
Edited pages:

v19.1/change-data-capture.md
v19.1/create-changefeed.md
v19.2/change-data-capture.md
v19.2/create-changefeed.md
v20.1/change-data-capture.md

feel free to ignore the drive by review, but my 2c:

we should mention that this is unlikely. it currently sounds like it happens all the time, but it's likely rare in practice
this only affects resolved timestamps. if you're not using resolved timestamps, you're fine. i think it's worth calling that out explictly

Maybe it should instead say at the end "This is fixed in v19.2 and beyond", but I'm not sure if we do that or not.

I'm in favor of saying this, yes. it sounds much worse as a totally unfixed issue rather than something we can't backport

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/707703ff335cde09bb4e2afc76cf24f458ff6cee/
Edited pages:

v19.1/change-data-capture.md
v19.1/create-changefeed.md
v19.2/change-data-capture.md
v19.2/create-changefeed.md
v20.1/change-data-capture.md

@ericharmeling - can you sign off here if you think the edits are sufficient? ty!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/1325261850651dbd6f6b65cd9b069a903ac10a6e/
Edited pages:

v19.1/change-data-capture.md
v19.1/create-changefeed.md
v19.2/change-data-capture.md
v19.2/create-changefeed.md
v20.1/change-data-capture.md


Web meter provider with plugin support

Is your feature request related to a problem? Please describe.
Create a web meter provider which supports plugins that can automate metric collection from web apps.
Describe the solution you'd like
Currently, the web package only has a dedicated WebTracerProvider. It seems like it makes sense to create a WebMeterProvider as well. This module will contain plugins that are designed for metric collection. Since plugins are only supported by tracers now, a new interface for metric plugins is needed as well.
Describe alternatives you've considered
The "MeterProvider" module works fine for collecting metrics in web apps and can be modified to support metrics too. But having a dedicated meter provider for web apps (similar to WebTracerProvider) makes sense, because it seems to be more consistent to what the WebTracerProvider is doing. Also it can be used to add more features web metric collection later on.
Additional context

@dyladan I've been working on this for my internship project, so you can assign it to me.

I'm going to leave it unassigned until there is agreement that it is something we want. Have you talked to @mayurkale22 about this?
@obecny particularly want your opinion here.

I think that you don't need anything like Web Meter Provider. We already have MeterProvider which should work fine in web too, if there is any dependency on node (I think there is not) it should be changed then to platform specific. But having separate class to be the same as the one that already exists - don't think it is what we need.

@obecny So do you think it's a good idea to make the original MeterProvider compatible with metrics plugins?

What happens if you want to use a metrics plugin and a tracing plugin which instrument the same module? You would have to work out a way to patch it twice. I think the better solution is to separate the plugins from the tracer provider, and have them acquire meters and tracers using the API. This would also make them compatible with third party SDK implementations.

So the way we envisioned this is to have a separate interface for metric plugins, since currently the plugins are only intended to be used by tracers. Having a new new interface will cause minimal change to the implementation and I think it'll also solve the issue you mentioned.

I dont see how this solves the issue. If you want to patch grpc for instance, the tracing plugin will wrap the methods exported by grpc with new implementations that have tracing. In order to instrument with metrics you would then need to wrap again. Aside from the fact that this is unsupported by the wrapping library we use, it also greatly expands the surface for potential bugs. A much better solution in my opinion would be to have a single plugin that does both metrics and traces.

I think that you don't need anything like Web Meter Provider. We already have MeterProvider which should work fine in web too, if there is any dependency on node (I think there is not) it should be changed then to platform specific. But having separate class to be the same as the one that already exists - don't think it is what we need.

I think we cannot probably do aggregation on the browser (it could be very expensive), so we may have to send individual measurements to the exporter/backend to do the aggregation this is opposed to the current metrics SDK. So, I think it makes sense to have separate favor of MeterProvider for Web. WDYT?

Why would it be so expensive to do aggregation on the browser? For a single browser session with only a single user I don't see any reason it couldn't be done. In fact, the opposite may be true where the network cost of sending all measurements may be greater than the overall cost of aggregating and exporting in fewer network calls.

I dont see how this solves the issue. If you want to patch grpc for instance, the tracing plugin will wrap the methods exported by grpc with new implementations that have tracing. In order to instrument with metrics you would then need to wrap again. Aside from the fact that this is unsupported by the wrapping library we use, it also greatly expands the surface for potential bugs. A much better solution in my opinion would be to have a single plugin that does both metrics and traces.

Got it. So you're suggesting that the whole design of the plugins must be changed and instead of being passed to the meter/tracer provider, we should pass the tracer/meter to the plugin, right?
Also, does this mean that each plugin should only be used with either a meter or a tracer?

Got it. So you're suggesting that the whole design of the plugins must be changed and instead of being passed to the meter/tracer provider, we should pass the tracer/meter to the plugin, right?

Yes. Or the plugin could acquire a tracer/meter from the global tracer/meter provider. Either way would satisfy me. Or both. You could pass one directly, but if one is not passed it attempts to use the global.

Also, does this mean that each plugin should only be used with either a meter or a tracer?

Currently yes. If we separate the plugins from the tracer provider, I don't see why a single plugin couldn't use both though.

@mayurkale22 can you take a look at that proposal and lmk what you think?

@mayurkale22 think we're going to discuss this at the SIG this week

Here's the design proposal for adding metric support to the plugins: Design Doc

I took a look at the design doc and left some comments, but overall I think this is a good idea.
@rezakrimi did you happen to look through the spec to make sure that this proposal is compatible with current spec language? If it is not, I think this is valuable enough to make a change to the spec and I am happy to help with that process.
Curious what the other @open-telemetry/javascript-maintainers think?

Thanks for the comments, I'll go through them ASAP.
I have looked into the specs and found nothing in conflict with the proposed design. But I'm not completely sure as I'm not very familiar with the specs. So I think it'll be a good idea if you could also have a look.

@rezakrimi I read and commented on spec proposal

Seems like the linked PR was closed so this can be closed also? @dyladan @obecny


Data Governance on Google Cloud

Cloud NEXT
Date: October 13, 2022
City: Bangalore
Your Name: Nirav Kothari
Your talk topic: Data Governance on Google Cloud
Deck link: https://docs.google.com/presentation/d/18l7w5TUN8cm_ZYe8NsQo6-8v5nBMVwotOnHKqNa4ftY/edit?usp=sharing&resourcekey=0-vffr_7DlV-M0yeHj79PAcw
DevFest UlaanBaatar 2022
Date: December 8, 2022
City: UlaanBaatar, Mongolia
Your Name: Nirav Kothari
Your talk topic: All about databases - Selection to Operationalization
Deck link: https://docs.google.com/presentation/d/15ve8N0d21xDCSQP6svfpb9aFYskDV-u9/edit?usp=sharing&ouid=113134168822208668234&rtpof=true&sd=true

Thanks.


Move the rust source code to a reasonable location

Given that ~/.rustup/toolchains/$toolchain/ appears to be following the FSH (approximately), the source really should go under ~/.rustup/toolchains/$toolchain/src/rust/.

Thank you for the suggestions @Stebalien. Rust has its own scheme for storing toolchain specific metadata, under 'rustlibs', and I am satisfied with it. I do not see great advantage to changing this scheme. If distros want to install Rust source to that location they may.

I'll leave this open a bit for a rebuttal.

My primary complaint was that I had (and I'm guessing others have had) quite a bit of trouble actually finding the source after installing it. I'd suggest adding a symlink but that's not really an option on Windows...

If distros want to install Rust source to that location they may.

That's an excellent reason to do so in rustup. After looking through existing packages in both Ubuntu and Arch, I believe most distros will likely just ignore the FSH and do whatever rustup does for compatibility. However,  tools like racer will still have to to check both locations if at least one major distro puts the sources where they belong (SYSROOT/src). If rustup put them where they belonged, we could avoid this entire mess.

This obviously isn't the end of the world, it just tickles my "but the spec!" reaction.

I think at this point there's too much history in the source being where it is.  I'd be open to adding a symlink elsewhere, but the "FHS-like" shape is entirely incidental.


Rework EmergencyCall

Using Decision Tree for more dynamic cop reactions

Done: f2d004b8147d2bee91a816b97e071b5d7c233044

Reopend due to missing Decision Tree
I was tired.

Adding decision tree not necessary. Issue closed


display output images as annotation or overlays?

In histomicsTK, how do I load analysis output images as annotation or overlay layers onto the original image? For example, the mask image from Positive Pixel Count could be displayed as annotation and the stain images from the Color Deconvolution could be displayed as overlays for QC and analysis purpose. Is this something planned to implement in histomicsTK? Thank you.

@yliu7366 thanks for reporting the issue. That is on the list of our todo things. The tricky part is to find an efficient way to do it on whole-slide images.

For some of the more popular algorithms we should provide outputs in a polygonal format that can be consumed for visualization. Issue in this case is dealing with large numbers of isolated pixels.


[Question] Combine stores

Hi. Is it possible to combine two or more stores?

Yeah, sorry, using .activityPublisher


[Bug]: Browser is getting closed while uploading large files

Playwright version
1.12.3
Operating system
Windows
What browsers are you seeing the problem on?
No response
Other information
No response
What happened? / Describe the bug
Browser is getting closed while uploading a file of 100Mb via element.SetInputFilesAsync() method
Code snippet to reproduce your bug
No response
Relevant log output
Microsoft.Playwright.PlaywrightException: Protocol error (Runtime.callFunctionOn): Target closed.

Large file uploads are blocked by this upstream issue: https://github.com/microsoft/playwright/issues/3768

Folding into https://github.com/microsoft/playwright/issues/3768


Cilium missing .h files

We are trying to use the newest make files for extraction of cilium. We now face a problem that there is a missing library called bpf_features.h caused the make file error.
We have already change the path of the make file to the examples/cilium where the libraries lies in, but this missing one isn't there....
Should this .h file given or should it be extracted from the tool?
Thanks

@OwenZhang001122 can you pull in the new commits. It has new makefile for cilium, fixes some bugs, and  includes some missing files etc.

Hi, We have checked but there is still no bpf_features.h file in the include/bpf/ path

Please ignore the last comment, I think we resolve it
Thanks!

closing based on last comment.


Schema Stitching: Rename Types

We want to add the capability to change the type names for a remote schema in the stitched schema by using a simple directive @name.
@name will provide the original name in the source schema.
if the type is a merged type and has different names in the various schemas than a schema name has to passed in as well:
type Foo {
  a: String @name(name:"b" schema:"Foo") @name(name:"c" schema:"Bar")
}

This one is implemented with 0.8.0-preview.3.


conffile: Fix memory leak

The error label only treats the entries in the vector. Just releasing the
entry's memory in case the error before its insertion in the vector.
Signed-off-by: Flavio Ceolin<EMAIL_ADDRESS>

merged, thanks !


add autofocus to search input control

I did not test this, I just skimmed through the code on github after seeing that it does not grab focus on entering the page.

Do you have an opinion on this? I'm concerned about accessibility. I know I'm not the best on this and I'd really like to make Gloogle as much accessible as possible to make sure everyone can use it. 🙂

Were also just about to contribute with this change before I found this PR :sweat_smile: .
I don’t have much to add about the accessibility concerns, but as a reference: crates and hoogle uses the autofocus attribute and npm does not.
(Awesome work on the website btw @ghivert, it's really nice!).

at least it is quick now by pressing s.

Let's try, and see if someone is bothered or not.


Refresh network cache after a network delete

Signed-off-by: Wayne Song<EMAIL_ADDRESS>

Ping @dongluochen @nishanttotla
Integration test failures appear largely unrelated except for a failure in engine-master, which looks like it could be an issue with new engine fields in network inspect responses?

Hmm, I see that you guys are already updating the cache for all engines during network deletes, but only for global networks. Shouldn't we also be doing this for swarm networks?

@wsong Do you mean swarm networks in the context of Swarm mode?

That's correct; that is, networks with a scope field set to "swarm".

To give a bit more information, here's the specific error we're seeing:

Have two manager nodes, node A and node B, in Swarm mode, where node A is the leader.
Run docker network create --driver overlay <node A name>/net1 on node A. Note that we're using the node-specific network creation logic here.
Wait for both nodes to pick up this new network (initially, running docker network ls against either node shows a blank driver field for this network; after several seconds, this field gets filled in).
Run docker network rm net1; docker network create -d overlay <node B name>/net1 && docker network inspect net1 on node B. Again, we're using the node-specific logic here.
It's expected that you'll get back the details of the newly-created net1 network; instead, you see this error:

$ docker network rm net1; docker network create -d overlay default-cs1/net1 && docker network inspect net1
net1
e92z5t44t9y7k1yuxl8stskbi
[]
Error: No such network: net1

The reason why is that when we try to inspect the new network in node B in this loop here:
https://github.com/docker/swarm/blob/master/cluster/network.go#L133
We have two possible candidates with the network name "net1": the old one from node A and the new one from node B. This results in a 404 down on line 41.
The solution, as best I can see, is to make sure that we delete networks from all nodes during network deletion if the scope is swarm.

I understand the requirement of this change, but concerned about adding this here because ideally it would be good to keep this requirement away from Swarm itself.
WDYT @dongluochen?

I'm not quite sure I follow you; why wouldn't clearing out Swarm's network cache be Swarm's responsibility?

I think several things could be fixed here.
On Node A, we shouldn't allow a global network to be node specific.
ubuntu@ip-172-19-29-201:~$ docker network ls | grep -i net1
7e2a85265458        ip-172-19-29-201/net1   overlay             global

Run docker network rm net1; docker network create -d overlay /net1 && docker network inspect net1 on node B.

docker network rm net1 doesn't work here. It's related to node specific global issue above.
ubuntu@ip-172-19-71-145:~$ docker network ls | grep -i net1
7e2a85265458        ip-172-19-29-201/net1   overlay             global

ubuntu@ip-172-19-71-145:~$ docker network rm net1
Error response from daemon: network net1 not found

ubuntu@ip-172-19-71-145:~$ docker network create -d overlay ip-172-19-71-145/net1
5e38ec281b894f7e1bddc96b59f4df8ced6130fec1df75749ba4a01e8060fd49

ubuntu@ip-172-19-71-145:~$ docker network ls | grep -i net1
7e2a85265458        ip-172-19-29-201/net1   overlay             global
5e38ec281b89        ip-172-19-71-145/net1   overlay             global

ubuntu@ip-172-19-71-145:~$ docker network inspect net1
[]
Error: No such network: net1
ubuntu@ip-172-19-71-145:~$

FYI, @dongluochen mentioned offline that he was concerned about overlay networks showing up in network ls output with the form <node name>/<network name>. This should be impossible in most circumstances, since this only occurs for networks with scope local, which overlay networks cannot have:
https://github.com/docker/swarm/blob/master/api/handlers.go#L278
However, there are some cases (e.g. engine bugs) where overlay networks can acquire scope local:
https://github.com/docker/docker/issues/27639
This is most likely the cause of any issues that Dong saw.

We're closing this for now because this should only be an issue with Swarm-mode overlay networks, which Swarm shouldn't really have to worry about.


Use relative links to samples in README

The links are currently absolute, because that's the only way to make them work in the Knowledge Base.
We need to figure out why, and hopefully fix so we can use relative links here and still make it work there.

When fixing this, also fix the other repositories.

I didn't realize you posted this issue. I don't see relative links as an issue in KB anymore, so I've started adding it to the other repos. I'll add it here too.

Closed in https://github.com/zivid/cpp-extra-samples/pull/78/commits/53f7a88d32cb4500a12ae69698788958e56cf18d


Olive Helps - Version 25.3 - "New Update Available" not working

From Loop Developer: "I opened up Olive Helps today and never saw the "New Update Available" thing come in (waited ~8 minutes). "
Expected outcome:  When opening Olive Helps, an update notification should happen automatically with simple instructions for a user to follow.

@terrancemacgregor  Thanks for the feedback! You need to be an admin to get that update whisper. Would you mind to give it a try? :)

Closing this, as this bug has been addressed in more updated versions of Olive Helps


Google Cloud Instructions

Is there a possibility for a Google cloud instruction by anyone that has attempted it.

I tried it but it's not as fast as AWS. not really worth it

Oh okay. Thanks for the heads-up

Oh okay. Thanks for the heads-up


Fix some event design issues

I was scrolling the events on my phone and noticed some design inconsistencies. Fixing these ones here:

Discover event items had no padding on mobile and were touching the edges of the screen. Add padding.
Long event cards had no gray color on hover, but discover event cards did. Make them consistent and add hover.
On mobile, the pills for "My Events" were to the left but for "Discover Events" were in the center. Make them both to the left.

Web frontend checklist

[ x ] Formatted my code with yarn format
[ x ] There are no warnings from yarn lint --fix
[ ] There are no console warnings when running the app (no new ones)
[ N/A ] Added any new components to storybook
[ N/A ] Added tests where relevant
[ x ] All tests pass
[ x ] Clicked around my changes running locally and it works
[ x ] Checked Desktop, Mobile and Tablet screen sizes

yeah I noticed as well the 'discover' pills on the center as well... good changes!


Add man docs for bundle install --force option

Adding some documentation for the --force option of install. Based on issue #3625.
Could not think of more stuff to write about this option. Lemme know if this is enough. :) Thanks!

:+1:

@segiddins thanks!! On it. Also will fix the malformed whitespace problems.

@segiddins done. :+1:


Cannot load Colombia's Digital Referendum data base on local instance

I've been trying to load the Colombia's Digital Referendum Data base on my local instance following this tutorial but couldn't do it : https://github.com/DemocracyEarth/sovereign/tree/master/docs/seed-db
I feel I'm doing wrong when restarting the application.
Could anyone try to do it?

There was a missed step in the tutorial, check now.
You should change 2 settings fields. If you don't have the settings files in your local copy, git pull to get them.
Let me know if works to close the issue

Thanks a lot @LucasIsasmendi ! It finally works


/usr/local/bin/verdaccio cannot be found.

Inventory CentOS8
Problem:
After verdaccio installed, service cannot be started due to /usr/local/bin/verdaccio cannot be found
Try to resolve:
Run command in remote host npm config get prefix, it points to /usr/local/lib/npm/bin
Also in the dependency, there is a task to setup the prefix.
TASK [geerlingguy.nodejs : Add npm_config_prefix bin directory to global $PATH.] *****************************************************

Solutions to fix:

Explicitly add npm_config_prefix to host vars if any user wants to use this role
Get npm_config_prefix in this role

// tasks/main.yml
- name: resolve npm config path
  command: npm config get prefix
  register: npm_config_prefix_resolve

- set_fact: npm_config_prefix="{{ npm_config_prefix_resolve.stdout }}"

// templates/verdaccio.service.j2
ExecStart={{ npm_config_prefix }}/bin/verdaccio -c {{ verdaccio_configdir }}/verdaccio.yml

hi @kai-chu
would you like to open a PR?

2.0.1

https://travis-ci.org/github/verdaccio/ansible-verdaccio/jobs/717701959 The build failed. Could you fix it?

yes!

@kai-chu https://travis-ci.org/github/verdaccio/ansible-verdaccio/jobs/717701959 The build failed. Could you fix it?

I was trying to add a trailing line and the merge was done before I try to fix it. Wait a sec. Fixing now

@030  Check the pull request

    /home/travis/build/verdaccio/verdaccio.verdaccio/tasks/main.yml

      22:44     error    trailing spaces  (trailing-spaces)

      23:59     error    trailing spaces  (trailing-spaces)

      25:1      error    trailing spaces  (trailing-spaces)

The travis molecule itself seems to be broken as well. It is unclear why the get of the py fails.

2.0.1


Dev discussion

Closes #24

Codecov Report

Merging #25 (313c58e) into dev (1d75343) will increase coverage by 0.06%.
The diff coverage is 77.16%.

@@             Coverage Diff              @@
##                dev      #25      +/-   ##
============================================
+ Coverage     76.71%   76.78%   +0.06%
- Complexity      303      449     +146
============================================
  Files            92      129      +37
  Lines           816     1193     +377
============================================
+ Hits            626      916     +290
- Misses          190      277      +87

Flag
Coverage Δ
Complexity Δ

api
76.78% <77.16%> (+0.06%)
0.00 <146.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...scussionComment/DiscussionCommentReplyResource.php
0.00% <0.00%> (ø)
1.00 <1.00> (?)

api/app/Models/Category.php
16.66% <0.00%> (-3.34%)
6.00 <1.00> (+1.00)
:arrow_down:

...ssion/DiscussionComment/DiscussionCommentReply.php
0.00% <0.00%> (ø)
2.00 <2.00> (?)

...ussion/DiscussionComment/DiscussionCommentVote.php
0.00% <0.00%> (ø)
2.00 <2.00> (?)

api/app/Models/Discussion/DiscussionVote.php
0.00% <0.00%> (ø)
2.00 <2.00> (?)

api/app/Models/Discussion/FollowDiscussion.php
0.00% <0.00%> (ø)
2.00 <2.00> (?)

api/app/Models/Language.php
0.00% <0.00%> (ø)
3.00 <2.00> (+2.00)

api/app/Providers/AuthServiceProvider.php
100.00% <ø> (ø)
1.00 <0.00> (ø)

api/app/Models/User.php
48.48% <20.00%> (-12.39%)
17.00 <5.00> (+5.00)
:arrow_down:

api/app/Policies/DiscussionCommentPolicy.php
25.00% <25.00%> (ø)
7.00 <7.00> (?)

... and 71 more

Continue to review full report at Codecov.

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


add uris support

Current coverage is 43.49% (diff: 55.41%)

Merging #71 into master will increase coverage by 0.19%

@@             master        #71   diff @@
==========================================
  Files            33         34     +1
  Lines         10262      10436   +174
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           4443       4539    +96
- Misses         4769       4831    +62
- Partials       1050       1066    +16

Powered by Codecov. Last update d0fc136...58ae8ec

LGTM

LGTM


Make installer play nice with new parent POM. Fixes Issue #130.

Update the layers modules pom to default to clean install instead of clean package so our shared libraries end up in the local maven cache.
Update the installer to play nice with the new Boost parent pom.
Remove old maven plugin from the ApiGatewayHelper pom.
Cosmetic tweaks to lower the checkstyle count.
Delete existing compiled react files from the web bucket before uploading a fresh build so you see your changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Overall LGTM. Any argument with just changing the entire project's default goal to be clean install, rather than just layers? I can do that in the next PR I open up.


[release-2.5] Triggering image rebuild

Related issue: https://github.com/stolostron/backlog/issues/22158
Signed-off-by: dislbenn<EMAIL_ADDRESS>

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes

Verification

/approve
/lgtm

Merging the PR. This is just a noop PR that will rebuild the Thanos image.


adding a proper HTTP response draining function

and checking that it is used

@david-fritz-gravwell PTAL


Incorrect number of requests in reports for global stats

Here are the stats printed in console. As you can see, all OK values for number of requests are just equal to the response time values, the only correct OK values are for request count and for mean rps. I think it's confusing.
================================================================================
---- Global Information --------------------------------------------------------
> request count                                         20 (OK=20     KO=0     )
> min response time                                      4 (OK=4      KO=-     )
> max response time                                    129 (OK=129    KO=-     )
> mean response time                                    41 (OK=41     KO=-     )
> std deviation                                         36 (OK=36     KO=-     )
> response time 50th percentile                         32 (OK=32     KO=-     )
> response time 75th percentile                         67 (OK=67     KO=-     )
> response time 95th percentile                         91 (OK=91     KO=-     )
> response time 99th percentile                        121 (OK=121    KO=-     )
> mean requests/sec                                      2 (OK=2      KO=-     )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                            20 (100%)
> 800 ms < t < 1200 ms                                   0 (  0%)
> t > 1200 ms                                            0 (  0%)
> failed                                                 0 (  0%)
================================================================================

I think that you shouldn't report anything for fields where you cannot determine the correct number of requests, e.i. OK=-   KO=-
Adding simulation.log

Which version of Gatling do you use? I can't parse your log file.
Then, I really don't get you. Could you please explain?

Corrected simulation.log

Example
> response time 99th percentile                        121 (OK=121    KO=-     )
OK=121 is nonsense because we only sent 20 requests in total, not 121.

Those are response times in milliseconds (again, please read the doc): global value, value for only successful requests and value for only failed requests.

@slandelle Again, what do OK and KO numbers mean?

Once again...
# This line is correct
> request count                                         20 (OK=20     KO=0     )
                                                        ^      ^
                                             # of requests    # of requests

# But this isn't
> min response time                                      4 (OK=4      KO=-     )
                                                         ^     ^
                                               milliseconds   what's this? certainly not # of requests which is what this column reports


have the Blog landing page show more than 1 blog post

to match more standard blog practices.

also -- adjust the layout for the blog to be more standard:
Title
meta-data
content


Corrected index_col arg of read_csv to be a 5-way Union type.

also, it recommended to use imperative voice in commit messages

you have a nested Union now


pudl.transform.eia861._compare_totals() failing on some tables

The pudl.transform.eia861._compare_totals() is failing on the following tables with an error about being unable to perform a .sum() on a column with a boolean type:
failing_tables = [
    "net_metering_eia861",
    "demand_response_eia861",
    "dynamic_pricing_eia861",
    "sales_eia861",
    "green_pricing_eia861",
]

Running the transform on the sales_eia861 table, when the error occurs, all of the categorical members of idx_cols are entirely null, and all of the data_cols ([sales_mwh, customers, and revenue]) are also entirely null. A new column called compare_totals has been introduced, and it is of boolean type, and contains nothing but False values.
The .sum() which is used in the calculation of the bad_math for logging output is the one that fails, as it's trying to sum the boolean compare_totals column.
It seems like the lines:
    # Calculate sum of segments for comparison against reported total
    data_sums_df = data_no_tots_df.groupby(
        idx_cols + [class_type], observed=True).sum()
    sum_total_df = pd.merge(data_totals_df, data_sums_df, on=idx_cols,
                            how='outer', suffixes=('_total', '_sum'))

Might not be operating as expected, since no columns with _total or _sum suffixes are added to the dataframe, and the result of the groupby().sum() is empty data columns ([sales_mwh, customers, and revenue]) .

Fixed in a latter merge of sprint18 by @aesharpe


codec(ticdc): canal-json reuse map to hold all message fields to reduce make map cost and memory footprint

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/run-all-tests

/run-kafka-integration-test

Codecov Report

Merging #7397 (d820c2b) into master (84ef430) will decrease coverage by 5.5263%.
The diff coverage is 50.6849%.

Additional details and impacted files

Flag
Coverage Δ

cdc
?

dm
51.9956% <77.3584%> (+0.0245%)
:arrow_up:

engine
61.0419% <35.4838%> (+0.1882%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #7397        +/-   ##
================================================
- Coverage   59.7990%   54.2727%   -5.5264%
================================================
  Files           801        426       -375
  Lines         91968      53303     -38665
================================================
- Hits          54996      28929     -26067
+ Misses        32180      21600     -10580
+ Partials       4792       2774      -2018


CI: Fix the usage of kep_version environment variable

https://phabricator.endlessm.com/T34806

Merge too early.  But, this is okay.  The merged master build is successful https://github.com/endlessm/endless-key-app/actions/runs/5331939190

Verified by creating a new tag https://github.com/endlessm/endless-key-app/actions/runs/5331943448


opensync: Fix SM crash during chan switch event

Fix SM crash event during chan switch event due
to global chan switch struct not being freed properly.
Signed-off-by: Chaitanya Godavarthi<EMAIL_ADDRESS>

As discussed, looks good.

Merged 482cfee8, thank you.


fix README

Update some not working code from readme. Changed output for BetaGeoFitter (order of parameters). Changes print with braces to be compatible with python 2.7.x and python 3.x.
P.S. What you think about documentation with Sphinx with readthedocs theme?

:+1: thanks for looking after this. All changes I like.
w.r.t Sphinx - yes, it's just a lot of work to write the docs out initially. I can maybe plan a sprint to get it done.


Added semantic versioning util service that will be used in user agen…

…t in the future.
NOTE: This is created to work similarly as the js version of semver checker. There are similar libraries for java, but they work differently.

+1


I want to get the Value of the Tag，what should I do？

This is a great open source!
But I encountered some problems in the process of using, I don't know how to solve this problem, my technical level is relatively low

I can't find Value in "Tag", how can I get this value

The Value property is defined within the Tag<T> class, which inherits from the Tag class. Both of these classes can be found in the Tag.cs file, the Tag<T> class is found near the bottom of the file.
Practically speaking, all the defined NBT tag types inherit from Tag<T>, and not Tag directly, but this gives them a common base that does not require a generic, which is often cumbersome with statically-typed languages and where T might not be known or even cared about.
I hope this helps.

The Value property is defined within the Tag<T> class, which inherits from the Tag class. Both of these classes can be found in the Tag.cs file, the Tag<T> class is found near the bottom of the file.
Practically speaking, all the defined NBT tag types inherit from Tag<T>, and not Tag directly, but this gives them a common base that does not require a generic, which is often cumbersome with statically-typed languages and where T might not be known or even cared about.
I hope this helps.

十分感谢！！！  用var用习惯了导致的问题，我知道该怎么做了

When parsing arbitrary strings into NBT, the returned object is an abstract Tag, which will need to be inspected and cast to the more refined tag type that it actually is, as C# is a statically-typed language. There are numerous ways to do this, though the "best" way depends on your needs. Here are some common methods of doing so:

Pattern matching:
if (abstractTag is StringTag stringTag)
    string value = stringTag.Value;

This method can also be used in a switch expression.

Check the Type property, which contains a TagType enumeration value. You could then use a switch or if expression to cast it directly to the matching type.
TagType enumValue = tag.Type;
switch (enumValue)
{
   case (TagType.String)
        StringTag stringTag = (StringTag) tag;
        // ...
}

If you have your type is already known ahead of time or only one specific type of tag is acceptable for your use-case, you could just wrap it in a try/catch and "blindly" cast it to that type, and adapt your scenario on whether the exception is thrown or not. This is going to be highly case-dependent, and really only appropriate for very specific scenarios, so I wouldn't generally recommend it.


Test Color for fhem

Use fhem
Devices (MiLight) are imported
Test Color does not send RGB values but xy values. How can I send RGB values?

Read here https://github.com/bwssytems/ha-bridge#value-passing-controls

Hello
ok.
under dim stands
{"url":"http://<IP_ADDRESS>:8084/fhem?cmd=set milight3_1 ","command":"RGB ${color.rgbx}"}
i dont understand it.....
i wand an 6 digits hex sending


[BUG] Failed AKS upgrade leaves sharemanager pvc pod erroring.

I have a moodle deployment on a 3 node AKS 1.21.1 cluster with the moodle pvc being RWX and with 3 replicas of the pvc.
Longhorn is version 1.1.1
Stupidly i thought upgrading AKS 1.21.1 =>1.21.2 would be handled seamlessly but this failed as it couldnt drain the first node it cordoned.  So i have uncordoned that node.
So im trying to salvage the workload. The pods are failing on container creating with
 The volume pvc-42c8de58-REDACTED share should be available before the mount
I can see the longhorn pod share-manager-pvc-42c8de58-REDACTED is erroring with
time="2021-08-05T09:21:07Z" level=warning msg="waiting with nfs server start, volume is not attached" volume=pvc-42c8de58-REDACTED
This pod is running on node 2 and node 1 was originally cordoned (uncordoned now) but when i look at the volume in the longhorn UI i can see that it is attached to node 1. And that it is healthy.
So I'm thinking that the share-manager-pvc pod was originally running on node 1 and then when node 1 was cordoned it got recreated on node 2 (Where the share doesnt exist).
So I have a few questions.

how can i restore the pvc share and thus moodle deployment?
How can i (manually if possible #2787 ) backup the data in this volume so i can recopy it onto a new pvc volume if i need to.
What strategy should i use if i ever want to upgrade the node aks version in the future?

Multiple ways to work around this, scale down the moodle deployment = 0. should end up terminating the share-manager pod.
Then check the longhorn UI to see if the volume gets detached from node1, if not detached after everything is scaled down. Manually invoke the detach option from the UI.
I am guessing you are running into an attach/detach issue we made some fixes in v1.1.2 for this.

Would you recommend upgrading to 1.1.2? Could this have issues with existing workload/volumes?
Also i would like to manually copy the data for backup before is there a process for this?

@tbertenshaw since the volume is currently attached to node1 you can just mount the volume into a directory to take a backup of the filesystem data. You can also do a dd if=/dev/longhorn/<volume> of=/path-to-backup-storage/<volume-name> if you want to do a block by block backup of the full block device.

Ok @joshimoo i backed up the volume as suggested.
I scaled the rs to 0 from 3 which seems to have recreated the share manager which is now on node 2 again.  I Cannot see any erroring pods. However the longhorn UI is showing the volume as degraded and the replica on node 2 as Failed and stopped.
My moodle pods are responding however.

Whoops scrap that. Some minutes later I can see the the node 2 replica is running/ then rebuilding and now its running.
Ok so I'm guessing i need to upgrade to 1.1.2 in order to allow AKS to upgrade safely.

Good to see if you could upgrade to Longhorn v1.1.2.

Closing because the volume attache/detach issue was resolved in 1.1.2. Feel free to reopen if still encounter the same issue.


CakePHP 3.x - InvalidArgumentException to relate entities

When I try to relate two entities, faker is not executed correctly and that generates a InvalidArgumentException:
[InvalidArgumentException]
randomNumber() can only generate numbers up to mt_getrandmax()
As a result it does not generate the data in the related table let alone the FK. Clarify that I'm not using the method randomNumber() anywhere in my code. I'm working with CakePHP 3.1.7
Please appreciate it if you could check that detail.
Thank you very much for all your great work!

I don't use CakePHP, can any of the contributors of this part take a look? ping @jadb @daniel-mueller @pomaxa @davidyell

As a reference, https://github.com/cakephp/bake/issues/162
If you're using Phinx > 0.5.0 you can now use that for your database seeding, which is part of cakephp/migrations.
Using Faker, I used the $faker->numberBetween(1, 4), for some fields, which might give you more reliable results. Although it sounds like you're generating a pretty large dataset.
You might get some more insight from https://github.com/gourmet/faker

I've also just found a random Gist with a pre-configured migration which might prove helpful as a reference.
https://gist.github.com/davidyell/e784e70eb06903a790de

Thank you very much @davidyell !!!


Delete relationship between tables

There is no way of deleting relationship between tables which was wrongly done before.

If you activate the relation, a left-click brings up a "Delete" in the menu.


Where is the log file ?

Hi
the system shuts down by itself. im solve is problem.
I'm running the system with docker. Everything works. The system does not work after a day.
where is the log file ?maybe it will help me thanks

https://github.com/edumeet/edumeet/issues/543


Show name of contributor when hovering over pixel

It would be cool to show the username of the person who contributed the pixel when you hover over it. Right now there's not client-side JavaScript running on the page. I won't have time to work on this myself but it would be cool to see this.
Requirements
The page currently does not have any client-side JavaScript and even with this should stay as lightweight as possible. Please do not add a framework for this as this should be possible to be solved with vanilla JavaScript.
The solution can be either a small popup above the canvas or a field below the canvas that gets populated with the right name when you hover/tap on a pixel. That way it would also work on mobile.

I'd like to tackle this. I'm thinking that the only way to do this is to add another tag to the "rect" or "img" elements and then check the current tag under the mouse. If you think there is a better solution please lmk.


Fix contrast and a bug in chapter 14

parse_color needs to be patched so that it always gets called, even in code not imported into lab14.
Adjust the background color buttons to ensure a WCAG AAA contrast rating.

Fixed. Please re-review.


Unable to ping/wget to nginx server

Hello,
I have setup 1 of 2 NIC cards to use dpdk-2.2 driver. The card has been configured to IP <IP_ADDRESS>. I modified nginx.conf to listen on <IP_ADDRESS>:80. As per the steps, I started opendp and then nginx server. However I'm unable to ping or wget access the nginx server. Debug information on opendp/nginx does not show any abnormalities. Please find inline. Since the card is on dpdk driver I'm unable to trace using wireshark/tcpdump.
Log from opendp
EAL: Detected lcore 71 as core 27 on socket 1
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 72 lcore(s)
EAL: VFIO modules not all loaded, skip VFIO support...
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x140000000 bytes
EAL: Virtual area found at 0x7f6f80000000 (size = 0x140000000)
EAL: Ask a virtual area of 0x40000000 bytes
EAL: Virtual area found at 0x7f6f00000000 (size = 0x40000000)
EAL: Ask a virtual area of 0x100000000 bytes
EAL: Virtual area found at 0x7f6dc0000000 (size = 0x100000000)
EAL: Requesting 5 pages of size 1024MB from socket 0
EAL: Requesting 5 pages of size 1024MB from socket 1
EAL: TSC frequency is ~2294681 KHz
EAL: Master lcore 0 is ready (tid=554f68c0;cpuset=[0])
EAL: PCI device 0000:01:00.0 on NUMA socket -1
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:01:00.1 on NUMA socket -1
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:81:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
EAL:   PCI memory mapped at 0x7f70c0000000
EAL:   PCI memory mapped at 0x7f70c0080000
PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 12, SFP+: 3
PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x10fb
EAL: PCI device 0000:81:00.1 on NUMA socket -1
EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
EAL:   Not managed by a supported kernel driver, skipped
param nb 1 ports 1
port id 0
Start to Init port
port 0:
port name rte_ixgbe_pmd:
max_rx_queues 128: max_tx_queues:128
rx_offload_capa 31: tx_offload_capa:63
Creating queues: rx queue number=1 tx queue number=1...
MAC Address:00:1B:21:44:F1:D8
lcore id:0, tx queue id:0, socket id:0
PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f70bfd28dc0 hw_ring=0x7f70bfd2ae00 dma_addr=0x23fd2ae00
PMD: ixgbe_set_tx_function(): Using simple tx code path
PMD: ixgbe_set_tx_function(): Vector tx enabled.
Allocated mbuf pool on socket 0, mbuf number: 16384
Initializing rx queues on lcore 0 ...
port id:0, rx queue id: 0, socket id:0
PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f70bd6561c0 sw_sc_ring=0x7f70bd655c80 hw_ring=0x7f70bd656700 dma_addr=0x23d656700
core mask: 1, sockets number:1, lcore number:1
start to init netdp
USER8: lcore mask 0x1
USER8: lcore id 0 is enable
USER8: lcore number 1
USER8: rnh addr: 0x7f70bd3a0f80, rnh_treetop addr: 0x7f70bd3a1010
USER1: rte_ip_frag_table_create: allocated of 25165952 bytes at socket 0
USER8: UDP layer init successfully, Use memory:4194304 bytes
USER8: TCP hash table init successfully, tcp pcb size 448 total size 58720256
USER8: so shm memory 17039360 bytes, so number 133120,  sock shm size 128 bytes
USER8: Sock init successfully, allocated of 42598400 bytes
add eth0 device
add IP 2020202 on device eth0
Show interface
eth0	HWaddr 00:1b:21:44:f1:d8
inet addr:<IP_ADDRESS>
inet addr:<IP_ADDRESS>
add static route
Destination		Gateway		Netmask			Flags		Iface
<IP_ADDRESS>		*		<IP_ADDRESS>		U C 		0
<IP_ADDRESS>		*		<IP_ADDRESS>		U H L 		0
<IP_ADDRESS>		<IP_ADDRESS>		<IP_ADDRESS>		U G 		0
USER8: NETDP mgmt thread startup
PMD: ixgbe_set_rx_function(): Port[0] doesn't meet Vector Rx preconditions or RTE_IXGBE_INC_VECTOR is not enabled
PMD: ixgbe_set_rx_function(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0.
Checking link status .done
Port 0 Link Up - speed 10000 Mbps - full-duplex
USER8: main loop on lcore 0
USER8:  -- lcoreid=0 portid=0 rxqueueid=0
nb ports 1 hz:<PHONE_NUMBER>
Log from dpdk-nginx
EAL: Detected lcore 71 as core 27 on socket 1
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 72 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel.
EAL:    This may cause issues with mapping memory into secondary processes
EAL: Analysing 10 files
EAL: Mapped segment 0 of size 0x140000000
EAL: Mapped segment 1 of size 0x40000000
EAL: Mapped segment 2 of size 0x100000000
EAL: memzone_reserve_aligned_thread_unsafe(): memzone <RG_MP_log_history> already exists
RING: Cannot reserve memory
EAL: TSC frequency is ~2294681 KHz
EAL: Master lcore 0 is ready (tid=910c18c0;cpuset=[0])
USER8: netdpsock lcore id 0
USER8: netdpsock any lcore id 0xffffffff
2016/02/10 03:08:48 [debug] 44646#0: bind() <IP_ADDRESS>:80 #2005
skip linux fd 5
2016/02/10 03:08:48 [notice] 44646#0: using the "epoll" event method
2016/02/10 03:08:48 [notice] 44646#0: nginx/1.9.5
2016/02/10 03:08:48 [notice] 44646#0: built by gcc 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
2016/02/10 03:08:48 [notice] 44646#0: OS: Linux 4.2.0-19-generic
2016/02/10 03:08:48 [notice] 44646#0: getrlimit(RLIMIT_NOFILE): 1024:65536
2016/02/10 03:08:48 [debug] 44646#0: write: 9, 00007FFF49CC15B0, 6, 0
2016/02/10 03:08:48 [debug] 44646#0: malloc:<PHONE_NUMBER>AB3F40:6144
2016/02/10 03:08:48 [debug] 44646#0: malloc: 00007F969108C010:212992
2016/02/10 03:08:48 [debug] 44646#0: malloc:<PHONE_NUMBER>AD3CF0:98304
2016/02/10 03:08:48 [debug] 44646#0: malloc:<PHONE_NUMBER>AEBD00:98304
2016/02/10 03:08:48 [debug] 44646#0: epoll add event: fd:2005 op:1 ev:00002001
2016/02/10 03:08:48 [debug] 44646#0: worker cycle
2016/02/10 03:08:48 [debug] 44646#0: epoll timer: -1
I also tried ping from another machine on same subnet using ip <IP_ADDRESS>/<IP_ADDRESS> but with no luck.
Please let me know if I need to give further information to help fix this. I had emailed you earlier and you had asked me to use debug info on both opendp and dpdk-nginx.
-Dakshina

You mean that you can't ping <IP_ADDRESS> successfully from another machine? you can tcpdump the packets to see what packets was droped. maybe some issue with your network connectivity.

maybe your NIC driver parameters isn't correct,  you may add some debug log in opendp_main.c file to trace the packets.

I was able to ping across the subnet <IP_ADDRESS>. I was also able to ping dpdk application on server(<IP_ADDRESS>). Wireshark stats on server showed tcp SYN requests being re-transmitted until connection times out on nginx server for wget request. Similarly ICMP ping requests on server have no response.
If another IP on subnet <IP_ADDRESS> is reachable on kernel, I see ICMP errors that <IP_ADDRESS> is unreachable.

Also there is a connect failure to the nginx server for a wget. Hence I suspect an issue with nginx stack.

<IP_ADDRESS> IP address was already configured in netdp stack, you can't ping successfully from another mechine. maybe your cable connection between netdp stack and another mechine.

This is the same issue as the new one I have posted - Require assistance - Nginx server unreachable #5. I shall try to print the RX/TX packets and get back to you.


confirm delete

title says it all, even a prompt would be nice
also, potentially putting the delete button on the bottom right side so it's not as close to "save and close"
when i have time i may open a PR

Absolutely. It could actually be possible that the code is trying to do this and is simply defective. I'll try to get to this (and the other issue). Thanks :)


Possible issue with archetypes/default.md

Hello, I was using your awesome theme but would get an error because of the empty default.md file.
I added an empty 'front-matter' section and that seems to fix the error.
I'm not sure if this is a standard practice or not (I'm very new to HUGO etc.) but as a first time user I like being able to get something up and running without any issues.
Thanx for the great theme! - T.J.

I have completely deleted default.md, which seems to fix this issue (7222d8c).
Thank you for your pull request.

Cool, I'll double check the fix for you when I have some time.
Thanx for the response & the great template!


[GLUTEN-4106][VL] Initialize velox global memory manager

What changes were proposed in this pull request?
Fixes: #4106
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4111_time.csv
log/native_master_12_19_2023_521cad261_time.csv
difference
percentage

q1
32.79
32.55
-0.239
99.27%

q2
25.17
25.18
0.014
100.05%

q3
37.60
37.70
0.097
100.26%

q4
39.87
39.88
0.009
100.02%

q5
72.39
71.42
-0.971
98.66%

q6
6.79
5.41
-1.379
79.68%

q7
86.43
87.04
0.610
100.71%

q8
85.42
86.34
0.926
101.08%

q9
126.93
122.28
-4.648
96.34%

q10
45.88
44.36
-1.525
96.68%

q11
20.09
20.12
0.028
100.14%

q12
24.19
26.74
2.554
110.56%

q13
47.89
46.35
-1.534
96.80%

q14
14.91
17.44
2.531
116.98%

q15
28.12
29.09
0.967
103.44%

q16
15.34
15.70
0.360
102.35%

q17
102.65
102.87
0.223
100.22%

q18
152.17
149.94
-2.232
98.53%

q19
13.44
12.78
-0.660
95.09%

q20
27.24
28.17
0.926
103.40%

q21
226.77
227.31
0.536
100.24%

q22
13.93
13.95
0.022
100.16%

total
1246.01
1242.62
-3.386
99.73%


ColoumnExists Precondition fails with H2 Database

Search first

[X] I searched and no similar issues were found

Description
When executing a chageset that contains a precondition that checks, if a given column does not exist, the SQL statement preparation fails for H2 databases (and maybe others).
This behavior has been introduced in version 4.25, see: https://github.com/liquibase/liquibase/compare/v4.24.0...v4.25.0#diff-14229c07812ee24b0598c0871fc54a6a0fc492cf3874cbd529180f1589b16a12R167
Steps To Reproduce
Create a changeset that has a precondition to check if a column does not exist:
<changeSet id="??" author="??">
  <preConditions onFail="MARK_RAN">
    <not>
      <columnExists tableName="TABLE" columnName="COLUMN" />
    </not>
  </preConditions>
  ...
</changeSet>

Run this changeset against a H2 database. The following exception occurs:
Caused by: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLSyntaxErrorException: Field "T.COLUMN" not found
Column "T.COLUMN" not found; SQL statement:
select t.COLUMN from PUBLIC.TABLE t where 0=1

Expected/Desired Behavior
The changeset should be executed, because the column does not exist. No exception should be thrown.
Liquibase Version
4.25.0
Database Vendor & Version
H2 2.2.224
Liquibase Integration
Spring Boot
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR (Thank you!)

While checking for the source, I found https://github.com/liquibase/liquibase/issues/5271, which has already bin fixed. Sorry for the confusion.


Application doesn't appear to connect to the database when deployed to the Sandbox

Per title - following the instructions in the README I cannot get the application to talk to the database when deployed to the sandbox.

@BethGriggs thanks for reporting this :+1:
@pnaik1 after you login on https://developers.redhat.com/developer-sandbox
You can click in your username and then copy the login command

And paste in your terminal to login in the sandbox instead of OpenShift local :+1:

okay, Thanks

@BethGriggs, I went through the instruction and deployed it on sandbox , In my case the database is connected to the application ...
To check that I have tried running this command in the database terminal
sh-4.2$ psql -U luke -d my_data
psql (10.17)
Type "help" for help.
my_data=> \dt
List of relations
Schema |   Name   | Type  | Owner
--------+----------+-------+-------
public | products | table | luke
(1 row)
my_data=> select * from products;
id |  name  | stock
----+--------+-------
1 | Apple  |    10
2 | Orange |    10
3 | Pear   |    10
(3 rows)

yeah I can confirm

I think we can close this issue.
Thanks @BethGriggs and @pnaik1

Interesting, so you were able to add/remove/get the items from the db via the web application?

yeah :+1:

My issue was the Node.js app wasn't bound/connected to the db - just want to confirm that part is fixed?

yeah that is connecting using the sandbox. Maybe you had issue/glitches on sandbox itself at the moment you tried ?


Strange behaviour when adding data on the right and left

Lightweight Charts Version: master 9f52e942
Steps/code to reproduce:

Add 2 series
Add whitespace between series
Add data to right series and then to left

Actual behavior:
Points in right seria shift to left on data added to left seria

Expected behavior:
Points in right seria doesn't shift
CodeSandbox/JSFiddle/etc link:
https://jsfiddle.net/beholderrk/83juqxvL/3/

The reason of that is duplicated data. In generateData function you have to start from from date + 1 day (rather that just from from date), and while adding data to the left you have to add N (20 in your sample) bars since N+1 day back. We'll warn about duplicated data in #315

Got it thanks


Credo warns about missing spec when using @spec!

for this function head:
  @spec! distance(String.t(), String.t()) :: integer()
  def distance(a, b)

credo gives this warning:
  Code Readability
┃
┃ [R] → Functions should have a @spec type specification.
┃       lib/utils/damerau_levenshtein.ex:32:7 #(Utils.DamerauLevenshtein.distance)

Thank you very much for creating this issue!
This is definitely not intended behaviour. Which version of Credo are you using? And if you can share the rest of your module (not necessarily the code inside the distance function, but the signature and the surrounding code in the module including import statements) would really help to find out where this goes wrong.

Hi, here's the full code for the module: https://gitlab.tetrarch.co/commune_bot/utils/-/blob/scrybot/lib/utils/damerau_levenshtein.ex
Note that it currently has the specs check disabled so ci will pass
This is with credo 1.6.4
Lemme know if you have issues accessing it

Looking at the source code of how Credo's check works it seems like it looks at the source code as read by humans (before any compilation or macro expansion), and looking for @spec AST nodes in there.
This indeed won't work with TypeCheck, but it is not something that can be fixed as part of TypeCheck.
I guess we might need to write a Credo plugin which also recognizes spec!, possibly... :thinking:

Related: https://github.com/rrrene/credo/issues/883
In theory, a Credo plugin which uses Code.Typespec.fetch_specs(ModuleUnderConsideration) to receive a list of all functions for which specs exist in the given module (which can be cross-referenced with ModuleUnderConsideration.__info__(:functions)) should be able to do the trick.

@skwerlman Please try out the new check and see if it works well for you :blush:

Hi! Sorry for taking so long to get back, been busy moving.
Yes, the new check seems to work correctly! Thanks!


Human machine safety demo

Gif:

Weirdly the GIF isn't working for me (Chrome, Macbook Air M1).

Stange. It works for me both on firefox and chrome on ubuntu. Also works on android on both firefox & chrome.

Oh ya it's working for me now.  Must have been some glitch.


Update to install maximum version 3.23.2007.1 of SharePointPnPPowerShell module

Updated deployment script to install 3.23.2007.1 as the maximum version of the PnP PowerShell module.
This will help avoid the bug in the latest PnP module when creating SharePoint sites (app only not supported error).
This will help those who do not have a newer version of PnP installed. Those who do will need to downgrade still before running the script.

@abbodh please approve ASAP


Where do I upload the DB and how do i start the server

I don't know Where to upload the DB and how to start the server

For the database, you need to upload it on a MySQL/mariadb and the server is just an api, so if the website work the api work

I don't know Where to upload the DB and how to start the server
To upload it, use phpmyadmin or in the shell of mysql write :
use db_name
source(s) file.sql;
exit ;

What directory in the mysql my os is debian 11

What directory in the mysql my os is debian 11

Go in the folder of DB in the repository. Write "mysql" in the shell. Write : "create database db_name". Write "use db_name". Write "source file.sql". Write "exit;" and configure the config file of the website.
To create an user if you don't have one :
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql

I have add a docker version for the server. That gonna be more easy for you.


update weekly-digest yaml file to remove a while space

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
Describe what this PR does / why we need it
I found that I named the file with weekly-digest.yml  rather than weekly-digest.yml. See? With a white space suffix in the former one. @shy-Xu
After this merged, please try this again. @shy-Xu Thanks.
Does this pull request fix one issue?
fixes #1530

Describe how you did it
none
Describe how to verify it
none
Special notes for reviews
none

Codecov Report

Merging #1531 (0c7ff2b) into main (304fda7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1531   +/-   ##
=======================================
  Coverage   10.68%   10.68%
=======================================
  Files          84       84
  Lines        7640     7640
=======================================
  Hits          816      816
  Misses       6721     6721
  Partials      103      103

Continue to review full report at Codecov.

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


Allow usage of omniauth v2

@NeverMin @yanyee @beenhero is there a chance to release a new version of this gem which allows the use of omniauth v2? https://github.com/zammad/zammad has quite a few omniauth-* gem dependencies and cannot update them to use omniauth v2.
Please let us know if this is possible and if we should support you with a PR or similar.

@NeverMin ping 🙏

@mgruner @fliebe92 I apologize for missing your message. I plan to test and release a new version within the next one or two weeks.

@NeverMin thanks a lot!


[Help] <显存持续增加的原因是什么？>

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
随着对话的轮次增加，推理的过程中显存不断上涨
Expected Behavior
固定推理过程中的显存占用
Steps To Reproduce
No bug, just question
Environment
No bug, just question

Anything else?
显存的增加是因为RoPE相对位置编码么?

因为要缓存context的key和value

可以动态清理context吗