Install fails - Windows 2008 - Error: libsass bindings not found. Try reinstalling node-sass?

Can someone give me a pointer here?
Trying to automate a build on a TeamCity server that's running on Windows 2008. For some reason, all the other npm packages install. But gulp-sass install seems to keep failing:
> Error: `libsass` bindings not found. Try reinstalling `node-sass`?
>      at getBinding (G:\[...]\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:21:11)
>      at Object.<anonymous> (G:\[...]\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:211:23)
>      at Module._compile (module.js:456:26)
>      at Object.Module._extensions..js (module.js:474:10)
>      at Module.load (module.js:356:32)
>      at Function.Module._load (module.js:312:12)
>      at Module.require (module.js:364:17)
>      at require (module.js:380:17)
>      at Object.<anonymous> (G:\[...]\node_modules\gulp-sass\index.js:3:17)
>      at Module._compile (module.js:456:26)
>      at Object.Module._extensions..js (module.js:474:10)

If I track the error to earlier in the log, this is what I find:
> fs: missing callback Error: EPERM, unlink 'G:\[...]\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-ia32\binding.node'

Happens every time. I tried installing node-sass directly too, which seems to pass without errors, but gulp-sass still throws the EPERM and libsass error anyway.
Thoughts?

Found a temporary solution. When I first run npm install<EMAIL_ADDRESS>before installing gulp-sass, it seems to work after that.
https://github.com/sass/node-sass/issues/497#issuecomment-61116327

See #174

Reinstalling gulp-sass fixed it for me, thanks @mpiasta-ca

:+1: @benmirkhah

@mpiasta-ca Your solution works for me, thanks!

For me the solution was like this:
It turned out, that I had a version of "node-sass" in my node-modules path. You can find it with this statement:
node -e "console.log(require.resolve('node-sass'))"
After removing this node-sass module completely, I was able to reinstall gulp-sass and then it worked perfectly.

:+1: @benmirkhah

This worked for me, I had to first install node-sass with sudo (I'm on Mac), and then subsequently install gulp-sass

npm install node-sass fixed the issue

thanks @benmirkhah :+1:!

I am still having trouble with this. I've tried several things:

Uninstalled gulp-sass and node-sass
Installed node-sass and then gulp-sass in that order
Ran 'npm rebuild node-sass' as the error suggested but the "Binary is fine."
Uninstalled node.js x64 and installed node.js x86

When I require sass = ('gulp-sass'); in gulpfile.js Visual Studio throws the error. When I comment that line Visual Studio doesn't throw the error but obviously I can't run any tasks that use gulp-sass. I don't seem to be having the same issue when using Node.js CMD.
I am on Windows 10 x64 and using Visual Studio 2015 Professional. Node version 4.2.2, NPM version 2.14.7. After reading a lot of posts, it seems like this is a binding issue? Any help would be greatly appreciated.

I resolved by issue with Visual Studio by moving the PATH variable higher in priority as found here.

If you still get this issue upgrade to gulp-sass 2.1.

Same problem here and no combination or order of : npm rebuild node-sass, npm uninstall node-sass gulp-sass, or installing will fix it.
I am on a "forced" install of gulp4 and am running node version 5.6.0 if that matters.
Simply, the binding is located here:
/var/www/html/gulptest/node_modules/node-sass/vendor/linux-x64-11/binding.node
but gulp, node, is looking for it here:
/var/www/html/gulptest/node_modules/node-sass/vendor/linux-x64-47/binding.node
I beg for help.

Try this fixes:
sudo npm install -g n
sudo n 0.12.7
sudo npm install node-sass@2
sudo npm -g install node-gyp@3
sudo npm rebuild node-sass

@indahibrahim This doesn't work in VS, because VS still runs as 32 bit... n is 64 bit.

@haydenhancock Make sure you're not using a beta version of gulp-sass

Uninstalled gulp-sass and node-sass
Installed node-sass and then gulp-sass in that order
Ran 'npm rebuild node-sass' as the error suggested but the "Binary is fine."
Uninstalled node.js x64 and installed node.js x86

It's worked for me

For me this npm install -S gulp-sass@latest fixed my problem.
I have centos6.5, node v4.4.7 and npm 3.10.4

Yeah installing latest gulp-sass works also, or remove your node-modules and npm i

@sumanbogati Thanks for the solution provided, it solved my problem too after trying the commands like npm rebuild node-sass and npm remove node-sass and run npm install node-sass

I was facing this issue. In my case the parent package.json was referring to new version of node-sass but the version of gulp-sass was referring to old node-sass. As soon as I updated gulp-sass to latest version, and ran 'npm rebuild node-sass', issue was gone.

My package.json had older version of gulp-sass, updated it to "gulp-sass": "^2.3.2" and did npm install. It worked !

I had a older version and running npm install -D gulp-sass@latest fix the problem


Increase coverage of compose.js to 97.42%.

In this PR we have commits which achieve almost 100% coverage over compose.js. Basically two functions have been left out owing to the dropbox feature being not currently used in master and we don't know whether actual code even works.
Also there are two commits to remove dead code and one to move out function to debug.js

Automated message from Dropbox CLA bot
@adnrs96, it looks like you've already signed the Dropbox CLA. Thanks!

  Can you rebase and then look at the debug.js commit.  The exports statement seems wrong.

Merged!  Thanks @adnrs96!


Build Pipeline

Baseline model with easy feature engineering to see improvement (or not).

[x] Pipeline
[ ] Docu
[x] Silly model

Preprocessing pipeline with StandardScaler() and OneHotEncoder() is ready to use.

Uploaded notebook Baseline_Model


[type:refactor] modify state column from tinyint to varchar

With pull requests:

Open your pull request against main
Your pull request should have no more than two commits, if not you should squash them.
You should pass all tests by go test -v ./... at the project root path in local.
It should pass all tests in the available continuous integration systems such as GitHub Actions.
You should add/modify tests to cover your proposed code changes.
If your pull request contains a new feature, please document it on the README.

Codecov Report

Merging #103 (4e5b695) into main (65c1f1d) will increase coverage by 0.72%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   22.73%   23.45%   +0.72%
==========================================
  Files          14       14
  Lines         651      631      -20
==========================================
  Hits          148      148
+ Misses        487      467      -20
  Partials       16       16

Impacted Files
Coverage Δ

internal/core/openapi/dictionary.go
0.00% <ø> (ø)

internal/core/openapi/user.go
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Updated pipelines.mdx file

This pull requests allows users to learn on how to add our custom pipelines to their environment

@phemankita @csantanapr Do you guys think this pull request conveys the idea on how to add custom storefront pipelines to their cluster? More than happy to make any further modifications.

This looks great, is going in the right direction 🎉


Slippage too low for default

Where is this error about slippage from again?  What estimate is the SDK returning?

I think we have enough liquidity

For some reason, the SDK's calculateAmountReceived returns destinationSlippage = 99.99% when the source chain is Binance.

Looking at the console, this is what we see for that error:

amountReceived:
{
    "originDomain": "6450786",
    "destinationDomain": "1634886255",
    "originTokenAddress": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "destinationTokenAddress": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
    "amount": "1000000000000000000",
    "isNextAsset": false,
    "checkFastLiquidity": true,
    "response": {
        "amountReceived": {
            "type": "BigNumber",
            "hex": "0x0f4254"
        },
        "originSlippage": {
            "type": "BigNumber",
            "hex": "0x270f"
        },
        "routerFee": {
            "type": "BigNumber",
            "hex": "0x01f3"
        },
        "destinationSlippage": {
            "type": "BigNumber",
            "hex": "-0x07"
        },
        "isFastPath": true
    }
}


Missing endpoints to Validate TLS

Related to section: "Additional VNET network connectivity requirements", point "Outbound network connectivity..."
There are some endpoints missing. We had to open these Firewall urls for TLS connectivity to happen:
.crl.microsoft.com (already in the documentation)
.mscrl.microsoft.com (already in the documentation)
.ocsp.msocsp.com (already in the documentation)
.crl3.digicert.com (NOT IN THE DOCUMENTATION)
.crl4.digicert.com (NOT IN THE DOCUMENTATION)
Without the last two rules in our firewall TLS handshake was failing.
We were trying to connect to Premium Redis cache in West Europe region, using vNet + expressroute.
If you need some other details, please, let me know.

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

ID: 3bced23e-5c67-3a63-06f7-c659ba56b5e7
Version Independent ID: 10d48e1f-e090-ab51-553c-64655a102c9d
Content: Configure a Virtual Network - Premium Azure Cache for Redis
Content Source: articles/azure-cache-for-redis/cache-how-to-premium-vnet.md
Service: cache
GitHub Login: @yegu-ms
Microsoft Alias: yegu

@lwlwalker Thank you for the feedback. We are actively investigating and will get back to you soon.

@lwlwalker We are checking with our Doc author regarding this issue but we would recommend going to support for this issue.
@yegu-ms Please provide the details of the endpoints to be added and if we can add them to document if missing.

Hi @yegu-ms ., @NavtejSaini-MSFT
I'm checking now the page (https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-premium-vnet?source=docs#additional-vnet-network-connectivity-requirements) and it has now the URLs, and some others (ex. cacerts.digicert.com) that was not there before. But the date for the page is somewhen back in September!
So, I have two questions:

Is this possible? A page changing int's content but the date not updated? Just trying to understand if my whole missed them 8-(
Is there any wat to "subscribe" to changes in some documentation page? If this page content changes in the future we will need to update again our firewall rules. And I'd like to be able to do this before the users complain 8-D

Thank you very much for your help!
Luis

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question: https://docs.microsoft.com/en-us/answers/topics/azure-cache-redis.html. Because this issue does not relate to documentation, we are closing this issue. #please-close


Change to drop down in Family Info Preferences

In family record, under Info Preferences, change drop down selections to be Email, Hard Copy, or referred to AUK.
What does this change mean for past records?

to make the change I'll need to create a script that will update the three existing options (English, Spanish, None) to one of the new values (Email, Hard Copy, Referred to AUK).  Alternately, we could hide the old field to preserve the information and create a new dropdown.  If we want to backfill existing records with one of the values, it will add a little more work.

@autoboxer Please hide the old fields to preserve the information and create a new dropdown with Email, Hard Copy and Referred to AUK as choices. No need to backfill existing records.

@bchiaruttini, site visitors have the same info packet field.  Should I make the update to the Site Visitor dropdown as well?

@autoboxer Yes please replicate for site visitor as well.

Looks good for creating new records.  However for existing records, you cannot see the past selection of English, Spanish or None.  If I understood your notes on this correctly, I thought it would continue to read Spanish for old records to preserve this info, but we just could not use  those selections moving forward if we were to change or update.  Please see record 42722 as a example

Update from our call: The old field will be made visible, but not editable.

All looks good, can you please just remove the explanation
"this is just a reference from when the info packet options were different"


Add Vagrant

Kafka itself has Vagrant, and not everyone has AWS accounts to run the example hosts file with.
This allows one to easily install a sandbox cluster using various pre-defined configurations locally using VMs and these Ansible playbooks.
Can be extended using vagrant-aws if needed

No rush 👍
I noticed Jeremy's changes. Looked fairly extensive.

Moved to a submodule model.
https://github.com/cricket007/cp-ansible-vagrant


Adding support for OWSContext

Available for a first review. May need more work.

I don't think @pgiraud is still interested in this patch. Closing for now.


Added Adex Ltd. and NAXA

What kind of change does this PR introduce?

[ ] Bug Fix
[ ] Documentation change
[x] Added new company
[ ] Other(s)

Why was this change needed?

Two companies are added in the data file.

Thank you for your contribution @susanhsrestha!


Investigate chrome tabs crashing

Suspecting memory leakes are the issue
Run composer with big, chatty space for 10 minutes
Do a memory dump of client and worker

[ ] Does epoch clear MutationQueue?

context dispose callbacks leaking

[ ] Add a warning for high context dispose callback count


How to compile?

I know this may sound like a naive question, I've followed the instruction to installed everything there, and you could find the package saids installed on atom. But where is the compile botton? Or the keybinding?
I tried to look it up everywhere in atom, but nothing to be found.

What do you want to compile? Python is usually interpreted. You do not build a Python package within Atom. You write the code and then execute it on command line.
If you intend to trigger the execution of your Python script within Atom, there are numerous packages available at https://atom.io/packages. But I don't see any benefit from doing this. I just use my command line.

Too much spoiled with mathematica, i guess, thats the reason, everything in atom,  i want to build a key binding with enter+shift
Good to know, thx
Sent from my iPhone

On 12. May 2019, at 16:07, Jannik Vieten<EMAIL_ADDRESS>wrote:
What do you want to compile? Python is usually interpreted. You do not build a Python package within Atom. You write the code and then execute it on command line.
If you intend to trigger the execution of your Python script within Atom, there are numerous packages available at https://atom.io/packages. But I don't see any benefit from doing this. I just use my command line.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


fix absolute link in excel tutorial

I noticed the new tutorial: https://github.com/ploomber/jupysql/blob/master/doc/tutorials/excel.md
has an absolute link to our docs, but it should be relative, as this will be more robust in case the comain changes.

cc @idomic

yeah, makes sense.
please open an issue in pkgmt


React.Image doesn't support animated GIFs on iOS

Seems like it only shows the first frame. I'm loading http addresses, not local or static image resources - not sure if that makes a difference.

does defaultSource support GIFs? I tried and it seems not working

No, it probably doesn't. I'll file a task to fix that.

@nicklockwood thanks, waiting for this

@nicklockwood  any updates on this? :smile:

Is GIF still supported? I am trying to display a GIF as
<Image style={styles.bg} source={require('image!sandglass')} />
PNG works just fine, but I am getting the following error when I try to render animated GIF images in my view:

Restarting the package manager doesn't help. Any ideas?

AFAIK remote gifs are supported. Try a URL.

Gifs should work for both remote and loca images, but there might be an issue using them with the require() syntax. Try just using the file name (including extension) as the uri value.

Yea, using uri worked fine, thanks.
<Image style={styles.gif} source={{ uri: 'test.gif' }} />

This
<Image source={{uri: 'load.gif'}} style={{height: 40, width: 40}} />
will throw an exception in RCTGIFImage.m
<Error>: ImageIO: CGImageSourceGetType image source parameter is nil

Confirming the syntax @Selmanh used  to load a gif which is configured in the Copy Bundle Resources in Xcode works to load a static, non-network resource.

Gifs animated fine when read from a URL. If I load the same image locally (via Copy Bundle Resources), it is displayed, but does not animate anymore:
 <Image style={{height: 128, width: 170, marginTop: 20}}
      source={{ uri: 'alphabets-children-5-277623.gif' }} />

I am having just opposite problem. In my case gif is not getting loaded from url but when I load it from local it works fine.
<Image style={{maxWidth: deviceWidth-112, resizeMode:'contain', maxHeight: 300}} source={{uri: 'https://s3-ap-southeast-1.amazonaws.com/healthmirdev/channel/gifs/anxiety.gif'}}  />


Control strategies too effective?

Some control strategies have a blocking level set to 'Safe' (meaning the chances of failure are negligible) when in practice they are not so close to being 100% effective. This is done for two reasons:

in reality, the threat level may depend on the nature of the target system, and
the blocking level for the control strategy represents the maximum possible effectiveness.

If the blocking level for these strategies were set to a lower level, it would not be possible to model situations where they are sufficient for all practical purposes.
For example, antimalware control strategies are not 100% effective, as novel malware could evade antivirus software defences until they have been upgraded to meet the novel threat. However, a typical consumer would not be targeted by such advanced malware right away, so unless there is some reason to think they are a target, there would be time for the antivirus developers to address the new threat.
The idea is that if you are not a target for novel antimalware, you can select the antimalware controls, and the risk calculation will confirm that would be a suitable defence. If you think you may be targeted, you can reduce the coverage level of the antimalware control to make the control strategy weaker, and better represent your situation.
There are two problems with this:

Users may not be aware that they should reduce coverage levels to model situations where conventional security measures may be less effective.
It turns out system-modeller ignores coverage level for mandatory controls - see system-modeller issue #124.

Due to the system-modeller bug, it seems we should reduce control strategy effectiveness in the domain model to reflect some kind of 'average' situation. Otherwise the system-modeller bug will mean some controls are assumed to be too effective for most users.
Specifically,

[x] anti-malware strategies should be changed from 'Safe' to 'Very High' blocking effect.

In the longer term, the 'average' situation should be reflected in control coverage levels, not control strategy blocking effect. This will be covered in a separate issue.

Adjusted anti-malware strategies in branch 65. We should add other adjustments to the above list when they are identified, and make them when appropriate. This may include adjusting back again if different levels are needed for specific demos.
We should close the issue only when the system-modeller bug has been fixed, and all blocking effect levels set back to 'Safe'.


How do you Hide a cell.leftButtons programmatically in Swift

Hi
After pressing left button I would like hide the button. I have found how stop it appearing when app is launched by not including code :- "cell.leftButtons = [MGSwipeButton(title: "Test", backgroundColor: UIColor.blueColor()" but once running even a "tableView.reloadData()" doesn't work and button is still there. Is there a "cell.leftButtons.hidden = true" function?
Any help would be gratefully received.

No response so have I asked this question in the wrong area?

Hello,
Check the refreshButtons method
/** Refresh method to be used when you want to dynamically change the left or right buttons (add or remove)
 * If you only want to change the title or the backgroundColor of a button you can change it's properties (get the button instance from leftButtons or rightButtons arrays)
 * @param usingDelegate if YES new buttons will be fetched using the MGSwipeTableCellDelegate. Otherwise new buttons will be fetched from leftButtons/rightButtons properties.
 */
-(void) refreshButtons: (BOOL) usingDelegate;

Hi Imanol
Thank you for your reply but I as a beginner and who doesn’t understand Object C, only a bit of Swift. Could you please suggest your snippet in Swift.

Is a snippet in Swift possible please?

Hi Imanol
Is it possible to have the snippet in Swift language please?

Hi Mac,
Try this snippet, if you return true in the MGSwipeButton callback, it autohides after clicking:
cell.leftButtons = [ MGSwipeButton(title: "Title", backgroundColor: UIColor.redColor(), callback: { (cell) -> Bool in
                    return true;
})]

I'm going to add full swift samples to the demos soon.

Hi
This is basically the code I am using already but I cannot see how to 'hide' the leftButtons. Being a novice I don't know what to try next.
Here is my code
           //configure left buttons             cell.leftSwipeSettings.transition = MGSwipeTransition.Rotate3D             cell.leftButtons = [MGSwipeButton(title: "Record", backgroundColor: UIColor.blueColor(), callback: { (sender: MGSwipeTableCell!) -> Bool in                 self.utterance = AVSpeechUtterance(string: "You pressed record button")                 self.recorded = true                  let recordedString = "true"                 if var storedData = self.preferences.arrayForKey("userData_Prefs") as? [[String:String]] {                     storedData[indexPath.row].updateValue(recordedString, forKey: "recorded")!                     self.preferences.setObject(storedData, forKey: "userData_Prefs")                     self.objects.removeAll() //   Things I have tried //                    cell.leftButtons.hidden = true //                    cell.leftButtons.isAccessibilityElement = true //                    MGSwipeTableCell.delegate = nil //                    cell.leftSwipeSettings.onlySwipeButtons = false //                    dispatch_async(dispatch_get_main_queue(), { () -> Void in                         self.tableView.reloadData() //                    })                 }                 self.voice.speakUtterance(self.utterance)                 return true             })]         }

Any suggestions please as I still can't get this to work?

Hi Mac-Man,
Check the new Swift 3.0 demo:
https://github.com/MortimerGoro/MGSwipeTableCell/tree/master/demo/MailAppDemoSwift

Hi Imanol
I have run the demo but its all Objective-C which I don't understand. To clarify my request, is there a way to hide a swiped button once it has be pressed? If you can't help, which is the best forum to ask the question? Thanks for any help you can offer.

Hi Imanol
I have run the demo but its all Objective-C which I don't understand. To clarify my request, is there a way to hide a swiped button once it has be pressed? If you can't help, which is the best forum to ask the question? Thanks for any help you can offer.

@Mac-Man-APH  try cell.hideSwipe(animated: true), let me know if this helps you


fix vulnerability in istio proxy_init image for 1.0

Merge https://github.com/istio/istio/pull/8495 to release-1.0
Fix vulnerability issues in istio proxy_init image:

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gyliu513, linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Open new tab with random color.

Description of the new feature/enhancement
Currently we have to manualy  assign color to a tab when we open one. If there is feature which can assign random color to a new tab then it will be a good. First it looks cool and second it easy easiar to navigate to tabs.

Sure. I'm down. Something like #9422 probably.

see my pull req,
gd or not

+1
Any way to do this yet in the current or preview versions..?

Nope. We'll make sure to update this thread when there is. In the meantime, might I recommend hitting the 👍 button on this issue?

Thanks!


[All Hosts] (sideload) note about Mac command line syntax

Fixes 3667

Learn Build status updates of commit eee16ad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-debugging.md
:white_check_mark:Succeeded
View

docs/includes/mac-command-line.md
:white_check_mark:Succeeded
View

docs/includes/start-web-sideload-instructions.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 learn.microsoft.com contributor guidesPost your question in the Learn support channel


Multi-root Workspace support

Currently, the extension asks for a specific project to pick when it initializes. Thereafter, all actions are performed on that specific repo only. There seems to be no option to select the repo again. Am I missing something?
Or is multi-root workspace support on the roadmap?

That is a very good idea. I work exclusively with single-root workspaces (with multiple vscode windows, each with a different project), but the feature is generally useful.
I just don't have a good idea how to easily change the project folder. Maybe an new the button ( analogous to "Init gitex-flow")  "Switch current folder"?

Yes this solution is simpler and more intuitive.
I think the implementation isn't that hard. I will do it with the next release.


feat: namespace published metrics

Add the newly configured endpoint that receives statsd metrics and namespace metrics according to the moniker and network of the market map provider node. It does this over gRPC. In the case this information is not available (dial fails) data is simply not sent to the aggregator.

rebased


[Bug]: group widgets start to expand when we add more options.

Is there an existing issue for this?

[X] I have searched the existing issues

Description

When we add more options to the group widgets (radio, switch, checkbox) the start to expand in width.

Steps To Reproduce

Drag and Drop a group widget (Checkbox for example).
In the Data property add -

{{getAllMovies.data.map((movie) => ({
  label: movie.title,
  value: movie._id
}))}}

The widget starts to expand.

Public Sample App
No response
Environment
Deploy Preview
Issue video log
https://www.loom.com/share/09f04ad5c2a7477f8a79468c1e448135
Version
feat/widget_responsive

Not able to re-produce, with the latest pull.

Closing this since we've fixed it


Update Dummy Content in SKILL TEAM for "Key Management"

Update the dummy content of the "Key Management" section displayed in the picture. Ensure that the content follows the specified character counts and aligns with the values and objectives of SILK Corp.

Include information related to the individuals or teams responsible for the management and leadership of the franchise.
Provide an overview of the key executives or top-level management team members who play a critical role in shaping the company's strategic direction. Include their names, positions, qualifications, and relevant experience.

Objective:
The objective of this issue is to design and implement a comprehensive key management framework that encompasses key issuance, tracking, and access control procedures. The goal is to streamline key management processes, enhance security measures, and minimize the risk of unauthorized access or loss of keys.
Purpose:
The purpose of this issue is to establish a robust key management system for the SILK Franchise, ensuring that keys, access codes, and other vital security elements are appropriately managed and controlled. This will contribute to the overall safety and integrity of franchise locations.
Impact:
Enhance Security, accountability, and transparency, a well-structured key management system will optimize the process of key issuance, tracking, and retrieval.
How to achieve this:
Conduct a thorough assessment of key management best practices and industry standards to identify suitable frameworks and procedures, continuously monitor the effectiveness of the key management system, gather feedback from franchisees and staff, and make necessary adjustments and improvements as needed.
Study the link before starting to work on it:
README.md file
You can also visit SILK Corp's website and franchise guide for more information.

Website: SILK Corp website
Franchise Guide: SILK Franchise Guide
Joorney Sample: Joorney Sample

Note:
Make sure to follow the character count of the template.

@NF11234, updated please review it.

Good! I saw your changes in the description.


If opted, add Community Toolkit and Syncfusion Toolkit XAML namespace to the App.xaml page for later use

If opted, add Community Toolkit and Syncfusion Toolkit XAML namespace to the App.xaml page for later use.

This feature is now part of the below releases.
CLI NuGet package - VijayAnand.MauiTemplates - v6.0.0
.NET MAUI Templates Pack - v<IP_ADDRESS>


GStreamer support

Seems like GStreamer would be a pretty good fit for this project, especially as it is typed and could allow the construction of streaming pipelines (rather than after-the-fact video manipulation).

That's a cool idea. Very early versions of this project worked with both gstreamer and ffmpeg, although I stopped updating the gstreamer bindings a long while back. But I'm happy to give that another go. :D
Thanks for the suggestion.

oh, also, I took a look at doing something like this a while back, and it is worth pointing out that the hardest part of making this typed will be accounting for the fact that some GStreamer elements dynamically change their output types (e.g.: decodebin).

Cool, thanks for the heads up.


add an option to run_pair to configure latency

Totally copied your MTU pull request:
https://github.com/uProxy/uproxy-docker/pull/19

:+1:


unable to answer simple question

What is watson knowledge catalog?
The information you are looking for is not available. Please try again later. Thank you.

the BAM server is currently down ... @Shivam6693 plz update once app is back

@magnumhell The issue has been resolved.


Only display comments on the commented bytes, not the whole line.

This allows having different comments for different bytes in the same line.

Thanks


Upgrade containerd to v1.7.3

containerd has recently been released at version 1.7.3: see https://github.com/containerd/containerd/releases/tag/v1.7.3.
I am raising this because v1.7.3 contains image pin support. Currently the pause image in my k3s cluster is getting deleted by the Kubelet garbage collector. I would like to add pinned label to the pause image(and maybe other images) and prevent it from being deleting. When will the latest version of the k3s include this containerd release?
Thanks!

Duplicate of https://github.com/k3s-io/k3s/issues/7986


Feature/2841 toolbar component

Fixes 351 .

Changes proposed in this Pull Request:

[x] Add ToolbarMenu component
[x] Update storybook
[x] Add deprecation warning in dropdown toolbar component.

Screenshots:

To Test:

http://localhost:6006/?path=/info/components-toolbar-menu--get-read-me-story

Somehow when I tried doing yarn && yarn start after a fresh clone, this showed up.

Somehow when I tried doing yarn && yarn start after a fresh clone, this showed up.

Need to run yarn install added package for multiple ref @seznam/compose-react-refs

are you going to update the react-demo-showcase and update the submodule pointer? yarn && yarn start is always expected to run in a fresh clone

Code looks good other than the one item about the classes and exposing the Typography props.

Added storybook for variant https://github.com/brightlayer-ui/react-component-library/pull/366/files#diff-76aece428f38cacb1b17616ac8c382b8c001bb277b8e73403d0b2046c99cfb65R43. @joebochill , Do I need to update showcase example for ToolbarMenu in this story?

noticing the menu props example having issues with menu props transform vertical and RTL
http://localhost:6006/?path=/story/components-toolbar-menu--with-menu-placement-options

noticing the menu props example having issues with menu props transform vertical and RTL
http://localhost:6006/?path=/story/components-toolbar-menu--with-menu-placement-options

Hi @jeffvg , thanks for highlighting  rtl issue. I have updated code. Could you please check it?


Aggregate field on the Child or compare fields Parent Vs Child

Hi, I'm building fields to count the number of calls made to a lead after it has been added to a campaign.
I have the dates added pulled to the lead for 1st and last campaign
therefore I want Number of Call type tasks where the activity date is greater than this 1st Campaign Added Date.
trouble is, the Campaign date is on the Lead, Activity date on the Task so I can't compare.
I can't pull the Campaign date to the Activity, as there's no suitable relationship field on lead.
I can't pull Activity date to the lead as there is (should be) more than one.
So I either need a way to write the Campaign date to the Task/Activity (Child) (so I can compare them both as Child Fields)
Or  (preferably) to be able to reference in Relationship Criteria both Parent & Child fields
is this achievable?

Have you considered trying to populate the fields you need using Workflow Field Updates and/or Process Builder?

@AJNMN let me know how my suggestion worked out for you? Or if you want to keep discussing? Happy to re-open this issue what ever. 👍

@AJNMN let me know how my suggestion worked out for you? Or if you want to keep discussing? Happy to re-open this issue what ever. 👍

Hi, I did try that initially but the fields aren't available to push through to the activity.

Ah ok, so yeah if the relationship does not exist, i'm afraid a pure use of this tool will not be possible. You will have to write some code or process builder magic to maintain the relationship you need. Sorry.


[Docs] Add architecture svg file

Signed-off-by: Frankzhaopku<EMAIL_ADDRESS>Add architecture SVG file into the docs folder.

So great~
/approve

The online version is here.


Rewrite makefile as a python script

Windows support would be nice, but at this point the PR should probably be rebuilt from scratch.


hide grouped column (cohort_column) in flextable

have an argument keepGroupColumn: TRUE keep columns as in flextable in both gt and flextable, if FALSE remove from both
@catalamarti what do you think?


Use a auto-fix will result a new buffer to be created

Issue Type: Bug
Open a TS file with a auto-fix available.
Apply the auto-fix.
Current buffer will be modified, but a new buffer with identical content will be created.
VS Code version: Code - Insiders 1.29.0-insider (bdfe4fd41f6a5fe538197b3cba937230249a563a, 2018-11-04T13:04:20.759Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz (8 x 3600)

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

Memory (System)
31.73GB (17.73GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

bracket-pair-colorizer-2
Coe
0.0.22

EditorConfig
Edi
0.12.5

prettier-vscode
esb
1.6.1

PowerShell
ms-
1.9.0

sort-lines
Tyr
1.7.0

vim
vsc
0.16.12

(1 theme extensions excluded)

In VS code, click on the file name of each editor and run copy file path. Are the two paths exactly the same, including case? Or are they different?

@mjbvz I checked the two path, they are exactly the same, including case.

Just to close the loop it now works as expected in
Version: 1.29.0-insider (user setup)
Commit: 5f24c93878bd4bc645a4a17c620e2487b11005f9
Date: 2018-11-10T00:34:03.196Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64


chore(main): release 2.2.0

:robot: I have created a release beep boop
2.2.0 (2024-11-29)
Features

add "global" and "matching" once API (#69) (f5bb8d9)
add "global" and "matching" times API (#72) (6e13d6a)
add names and types of method parameters in error output (#62) (4c6cc01)

Bug Fixes

case insensitive matching for mock (#75) (37f958e)
issue when punctual matchers are consumed (#77) (a07d6a1)
spy calls with newer SObjects (and misc. updates) (#63) (d914655)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/salesforce/apex-mockery/releases/tag/v2.2.0 :sunflower:


A simpler way to deploy Javascript code

Now we have two options for loading Javascript code,
1)Load from a development server,
1.a) use localhost:8081 for running on simulator
1.b) on iOS device, use an IP address and need to make sure the device and development computer has same network sub mask.
2) Load from a static bundled file.
option 1 can't work without WiFi, option 2 cannot support live reload, bad influence to development velocity.
Here is a simpler way to deploy Javascript code, so that we don't need to change objc source code when moving to different network, and even runs without network.

Get updateURL from device storage, use "localhost:8081/default.bundle" by default.
load and run bundle from updateURL.
compare newly downloaded bundle with the stock bundle,  reload bundle if newer.
If the new bundle is running properly, write the new bundle to device storage.
If the newly download bundle is not ok, the app will back to normal restart and and go offline, or turn off the development web server, as app will use stock bundle instead.
The app might invoke setUpdateURL to set a new update url (whenever the app URL differ from updateURL), thus trigger a reload of bundle.  we can switch to different bundle easily without touching the obj c code if the app rely on same set of native feature.

This will reduce the need of frequent change of obj c code, and we can develop app without running xcode,or even write app on windows and linux (watcher and react-native packager should be cross platform).

You might want to look into https://ngrok.com/. It lets you set up a URL that any computer on the internet can access and will forward the request to your local machine.

I would settle for a deployment script that could do this for me? I know xcode project provide hooks for when running projects that could be utilized to automate this whole process a little more cleanly.

What type of deployment are you referring to?  Local device builds?  Publishing to the App Store?

On Apr 26, 2015, at 11:31 AM, Aaron K Saunders<EMAIL_ADDRESS>wrote:
I would settle for a deployment script that could do this for me? I know xcode project provide hooks for when running projects that could be utilized to automate this whole process a little more cleanly.
—
Reply to this email directly or view it on GitHub.

At this point I am just looking for local device builds

Discussion here seems to be dead, if anyone has made progress or is still keen to do something related to this issue, ping me and I'll reopen


HTTP error occurred: 404 Client Error: Not Found for url: https://www.mijnafvalwijzer.nl/error

But the reason is that this address is not supported by mijnafvalwijzer:
Uw adres is niet bekend bij ons. Neem contact op met uw gemeente

Is there anything I can do in order to make it working?

Ah, too bad. That's most probably because they use another provider to present the data. In which township/city do you live?

@xirixiz my city is Zwanenburg. You can try with 1161AE and house number 17. This is not my address but it's quite close.

https://inzamelkalender.meerlanden.nl/modules/800bf8d7-6dd1-4490-ba9d-b419d6dc8a45/kalender/
Is the provider. Google for meerlanden afvalkalende home assistant and you'll find the proper custom integration 😁👍🏻


[KYUUBI #2250] Support to limit the spark engine max running time

Why are the changes needed?

To close #2250
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #2295 (c827e90) into master (82a024a) will increase coverage by 0.02%.
The diff coverage is 80.55%.

@@             Coverage Diff              @@
##             master    #2295      +/-   ##
============================================
+ Coverage     62.25%   62.27%   +0.02%
  Complexity       69       69
============================================
  Files           353      353
  Lines         16757    16785      +28
  Branches       2269     2272       +3
============================================
+ Hits          10432    10453      +21
- Misses         5366     5370       +4
- Partials        959      962       +3

Impacted Files
Coverage Δ

...ain/scala/org/apache/kyuubi/util/ThreadUtils.scala
86.20% <50.00%> (-13.80%)
:arrow_down:

...rg/apache/kyuubi/engine/spark/SparkSQLEngine.scala
76.72% <85.71%> (+1.36%)
:arrow_up:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.34% <100.00%> (+0.02%)
:arrow_up:

...ala/org/apache/kyuubi/session/SessionManager.scala
87.50% <100.00%> (+1.78%)
:arrow_up:

...rg/apache/kyuubi/engine/trino/TrinoStatement.scala
67.46% <0.00%> (-2.41%)
:arrow_down:

.../org/apache/kyuubi/engine/hive/HiveSQLEngine.scala
70.00% <0.00%> (-1.67%)
:arrow_down:

...a/org/apache/kyuubi/plugin/SessionConfAdvisor.java

...pache/kyuubi/plugin/DefaultSessionConfAdvisor.java

...pache/kyuubi/plugin/DefaultSessionConfAdvisor.java
100.00% <0.00%> (ø)

... and 1 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 82a024a...c827e90. Read the comment docs.

FYI:
dev/reformat

FYI:
dev/reformat

other command to check scala style
./build/mvn  scalastyle:check

very useful. Thanks

thanks, merging to master


[B2CQA-1522] First LLM smoke tests for deeplinks

📝 Description
Detox tests for deeplinks
Tested deeplinks :

myledger (opens manager then add device)
discover (opens several apps)
send (global page then ETH  with ?currency=)
receive (global page then ETH  with ?currency=)
swap
accounts (then ETH and BTC accounts with ?accountId=)
custom-image (opens custom lock screen flow for Stax)

❓ Context

Impacted projects: ``
Linked resource(s): Allure iOS Allure Android

✅ Checklist

[ ] Test coverage
[X] Atomic delivery
[X] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

can you rebase to fix the conflicts? thanks


Profile Request

I'd like to have my profile on ghuser.io, thanks!

here you go :) https://ghuser.io/geekysrm


Click Event On Series Label[Feature]

What problem does this feature solve?
Hi,
We have a requirement where we need to trigger a click event on the series labels.

we tried using the below code:
myChart.on('click','series.label', callback);
But this doesn't seem to work.
sample: https://codepen.io/pen/
Please let us know how we can trigger a click event on the series labels.
What does the proposed API look like?
Similar to the series click event, we are looking for a way to trigger a click event on the series labels.a

myChart.on('click', e => {
  if (e.componentType === 'series') {
    const target = e.event.target;
    if(target.type === 'tspan') {
      console.log('label', target.style.text, 'was clicked', e)
    }
  }
})

Yeah! I have the same needs ... but, I can‘t achieve ...


Implement Swipe in Expandable ListView

Implement Swipe in Expandable ListView.

@frqarshed Feel free to fork & send a pull request!

Anything new about this?

Would like it too


travis: Run tests within our "mysql57" bootstrap Docker image instead of natively.

This will fix the recent test failures and undo the change from https://github.com/youtube/vitess/issues/3203 where we had to disable the tests "unit" and "mysql_server" because they were constantly failing. With this change, the two tests are enabled again.
More importantly, with this change we no longer have to maintain Vitess' dependencies in the Travis CI environment.
Instead, we'll depend on our "bootstrap" Docker images to run the test.
Note that I had to come up with a caching mechanism for "make build". By default, we provide the test within the Docker container with a clean copy of the Git repository and run "make build" before each test i.e. a Travis build with 10 tests in it would have run "make build" 10 times. To avoid this, I added a new option "-use_docker_cache" to test.go which will run "make build" before all tests and use "docker commit" to create a new temporary cache image.
Overall, this change has several consequences:

Travis CI builds will be dependent on an up to date Docker image. For example, if somebody adds a dependency to vendor/vendor.json and forgets to rebuild and push the used Docker image, "make build" will fail. I'll add a test for this in a separate commit.

We'll use MySQL 5.7 (instead of MariaDB) for the Travis test runs.

We can no longer use Travis container infrastructure and have to use the VM infrastructure instead. That means an additional 20 seconds wait time until Travis has started a VM and runs the build.

More overhead per Travis build because we need to pull the Docker image first (takes up to two minutes). Before, we used Travis' caching mechanism to cache dependencies between builds.

Slightly slower tests because the VM infrastructure has less resources than the container one (~2 CPUs (bursted) instead of 2 CPUs, see https://docs.travis-ci.com/user/reference/overview/).

The ".git" directory will be copied into the Docker image as well now because travis/check_make_proto.sh needs it. I'll create a separate commit to integrate this.

Hopefully  the caching of the build will offset some of the loss. The throttler mock is still failing though.

LGTM
Can we also run some MariaDB tests, and MySQL 5.7 ones now? How about etcd? :)

@alainjobart wrote:

Can we also run some MariaDB tests, and MySQL 5.7 ones now? How about etcd? :)

In theory yes :) In practice, the test.go runner doesn't support to run all tests of one flavor + only some select tests from other flavors. Extending that should be easy though. We just have to come up with a good way to specify this :) Maybe specify an optional "testing_flavors" in test/config.json for each test? Other ideas?

Alain, the other thing to keep in mind: Testing another flavor will increase the test duration because you have to download that Docker image as well and create a build cache for this second flavor.
We could work around this by splitting this at the Travis test shard level: 4 shards run mysql57 tests, 1 shard runs MariaDB tests.

I've pushed rebuilt Docker images and the test is passing now. Merging the change now.


Merge branch into master for essential changes to CI and backend config, and maintain branch for ongoing development.

I would like to merge the following essential changes to master to test if the CI workflow I built is working.
Resolves #9

yo, i don't know what's wrong with my .github/workflows/node.js.yaml configuration. It keeps getting stuck at Waiting for a runner to pick up this job...

yo, i don't know what's wrong with my .github/workflows/node.js.yaml configuration. It keeps getting stuck at Waiting for a runner to pick up this job...

Fixed it

LGTM


[DOC] Feedback on /docs/2.4/opensearch/query-dsl/text-analyzers/ page

What do you want to do?

[x] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
Direct user feedback on this page: https://opensearch.org/docs/2.4/opensearch/query-dsl/text-analyzers/
"share examples for pattern analyzer"
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Sounds we go ahead and make an individual page per text analyzer @kolchfa-aws?

We have an overarching issue for analyzers #1483. Closing this one because it is a duplicate.


Fountain has Grievous Aura

Fountain is supposeds to have Grievous Wounds, but somehow grants the aura.
It's possible that it is getting the Grievous Wounds tower ability instead of the fountain one.

Fountain no longer has the aura and applies Grievous Wounds as intended.


[Bug Report] Tokenization utils don't work on LLaMA

Describe the bug
The LLaMA tokenizer is weird. Notably, when encoding it will always prepend a space (to the point of creating an additional prepended space token), while when decoding it will never prepend a space to the first token. And it does not recognise the BOS token (<s>) when inside text to be tokenized.
There's a range of bugs I've noticed:

model.to_tokens with prepend_bos=True maps eg " basketball" to [[529 (<), 29879 (s), 29958 (>), 20305 ( basketball)]] because it adds the string BOS token (<s>) but the tokenizer doesn't recognise this in the input.
prepend_bos=False will implicitly prepend a space, either returning an extra space token prepended or a space token.
Accordingly, model.to_single_token is broken re space prepending
model.to_str_tokens doesn't have spaces prepended even if appropriate, and prepend_bos also behaves badly.

I'm sure there's more!
There's some hacky ways to get round this, notably by prepending a non-BOS dummy token like " |" (891) when encoding or decoding and then removing the resulting token from the output, we can recover sensible behaviour around spaces.
I've written some hacky personal utils that somewhat work. It'd be great to add flags to the tokenization utils in HookedTransformer to use some of these (or, ideally, do something more principled!)
def decode_single_token(integer):
    # To recover whether the tokens begins with a space, we need to prepend a token to avoid weird start of string behaviour
    return tokenizer.decode([891, integer])[1:]
def to_str_tokens(tokens):
    if isinstance(tokens, str):
        tokens = to_tokens(tokens)
    if isinstance(tokens, torch.Tensor):
        if len(tokens.shape)==2:
            assert tokens.shape[0]==1
            tokens = tokens[0]
        tokens = tokens.tolist()
    return [decode_single_token(token) for token in tokens]
def to_string(tokens):
    if isinstance(tokens, torch.Tensor):
        if len(tokens.shape)==2:
            assert tokens.shape[0]==1
            tokens = tokens[0]
        tokens = tokens.tolist()
    return tokenizer.decode([891]+tokens)[1:]
def to_tokens(string, prepend_bos=True):
    string = "|"+string
    # The first two elements are always [BOS (1), " |" (891)]
    tokens = tokenizer.encode(string)
    if prepend_bos:
        return torch.tensor(tokens[:1] + tokens[2:]).cuda()
    else:
        return torch.tensor(tokens[2:]).cuda()

def to_single_token(string):
    assert string[0]==" ", f"Expected string to start with space, got {string}"
    string = string[1:]
    tokens = tokenizer.encode(string)
    assert len(tokens)==2, f"Expected 2 tokens, got {len(tokens)}: {tokens}"
    return tokens[1]

I think some of the issues might be related to https://github.com/huggingface/transformers/pull/24565. Did you find the warning message You are using the legacy behaviour of the <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'>. This means that tokens that come after special tokens will not be properly handled. We recommend you to read the related pull request available at https://github.com/huggingface/transformers/pull/24565 while loading the tokenizer?

Do you still have this issue? I found and fixed the issues with bos prepending in https://github.com/neelnanda-io/TransformerLens/pull/370.

Do you still have this issue? I found and fixed the issues with bos prepending in #370.

After this PR, I found out that there is a simpler way of calling AutoTokeenizer.from_pretrained(..., add_bos_token=False), though. 😂 I'd be happy to change the code that way.

Do you still have this issue? I found and fixed the issues with bos prepending in #370.

After this PR, I found out that there is a simpler way of calling AutoTokeenizer.from_pretrained(..., add_bos_token=False), though. 😂 I'd be happy to change the code that way.

This change cannot be made until the bug https://github.com/huggingface/transformers/issues/25886 in the OPT tokenizers is fixed from the transformers library.

Do you still have this issue? I found and fixed the issues with bos prepending in #370.

Oh, wow, I see the issue now. The double bos prepending issue is fixed with #370, but the problem is that the behavior of LLaMA tokenizer becomes different when bos token is manually added.
print('when bos token is automatically added:')
tokenizer_with_bos= AutoTokenizer.from_pretrained(MODEL_PATH, add_bos_token=True)
print(tokenizer_with_bos.encode('Italy'))
print([tokenizer_with_bos.decode(t) for t in tokenizer_with_bos.encode('Italy')])

print('when bos token is manually added:')
tokenizer_without_bos = AutoTokenizer.from_pretrained(MODEL_PATH, add_bos_token=False)
print(tokenizer_without_bos.encode('<s>Italy'))
print([tokenizer_with_bos.decode(t) for t in tokenizer_without_bos.encode('<s>Italy')])

@ArthurZucker is this another bug of LLaMA tokenizer that should be fixed, or is this behaviour somehow intended?

This is intended. When you manually add a BOS, you change the sentence that is passed to the tokenizer.
>>> tokenizer_with_bos= AutoTokenizer.from_pretrained("huggyllama/llama-7b", add_bos_token=True)
>>> print(tokenizer_with_bos.tokenize('Italy'))
['▁Italy']

>>> tokenizer_without_bos = AutoTokenizer.from_pretrained("huggyllama/llama-7b", add_bos_token=False)
>>> print(tokenizer_without_bos.tokenize('<s>Italy'))
['▁<s>', 'Ital', 'y']

As you can see, the automatic addition adds the bos_tokens_id to the already encoded ids. In this case, the prefix space was thus added to Italy. Thus the encoding is '▁Italy' (which IMO is goos) .

This is intended. When you manually add a BOS, you change the sentence that is passed to the tokenizer.
>>> tokenizer_with_bos= AutoTokenizer.from_pretrained("huggyllama/llama-7b", add_bos_token=True)
>>> print(tokenizer_with_bos.tokenize('Italy'))
['▁Italy']

>>> tokenizer_without_bos = AutoTokenizer.from_pretrained("huggyllama/llama-7b", add_bos_token=False)
>>> print(tokenizer_without_bos.tokenize('<s>Italy'))
['▁<s>', 'Ital', 'y']

As you can see, the automatic addition adds the bos_tokens_id to the already encoded ids. In this case, the prefix space was thus added to Italy. Thus the encoding is '▁Italy' (which IMO is goos) .

I see, thank you so much for the clarification!

별말씀을요!


Why using pgx? not pgxpool?

pgx is single connection
pgxpool is the connection pooling version of pgx (equal to database/sql that have built-in connection pool)
are other benchmarks also only have single connection to database?
https://pkg.go.dev/github.com/jackc/pgx/v4/pgxpool
https://pkg.go.dev/github.com/jackc/pgx/v5/pgxpool

All benchmarks use N connections to the database: each worker "thread" owns a connection.  There is no point in using pgxpool here as connections are not shared across goroutines.


community: compatibility with SQLAlchemy 1.4.x

Description:
Change type hint on QuerySQLDataBaseTool to be compatible with SQLAlchemy v1.4.x.
Issue:
Users locked to SQLAlchemy < 2.x are unable to import QuerySQLDataBaseTool.
closes https://github.com/langchain-ai/langchain/issues/17819
Dependencies:
None

merge when unit tests pass


add etag support with samples and test

Fixes #414 - This adds etag support by allowing consumers to append their own HTTP headers to the request.  It also shows how to read details from the resulting HTTP response.

[x] - npm test succeeds
[x] - Pull request has been squashed into 1 commit
[x] - I did NOT manually make changes to anything in apis/
[x] - Code coverage does not decrease (if any source code was changed)
[x] - Appropriate JSDoc comments were updated in source code (if applicable)
[x] - Appropriate changes to readme/docs are included in PR

@jmdobry @ofrobots please take a look!

LGTM


editor help doc sort with space for Methods and Properties by alphabetical order

Closes https://github.com/godotengine/godot/issues/35347.

Can you take a before/after screenshot so we can see the difference? Reading the description, I'm not sure if grouping by first letter is actually an upgrade.

I like the change, it makes it easier to navigate visually quickly. It's definitely an ergonomic change if nothing else.

Looks good to me as well.

Commits should be squashed into one: https://docs.godotengine.org/en/latest/community/contributing/pr_workflow.html#the-interactive-rebase

Should I close de PR now?

@ChristopheLY No, it will be closed automatically when it's merged.

may fixe, #35347

@ChristopheLY Is this still desired? If so, it needs to be rebased and tested on the latest master branch.

I'm not sure if grouping by first letter is actually an upgrade.

I'm not convinced either. The API is just too varied and grouping by the first letter is bound to introduce a lot of unnecessary splitting in some classes. We could probably do something smarter, and try to separate large groups of methods based on a prefix, while grouping smaller chunks together regardless of their name.
It would be nice to fix the linked issue though. But this PR needs to be reworked against the current master.

This shouldn't be relevant any longer as this was solved in past PRs like:

https://github.com/godotengine/godot/pull/77554


Group cannot be selected when created

To replicate this bug (if it is a bug and not some kind of feature that I don't understand) create a new text object. Then hit CMD-J to create a dynamic button. The button cannot be selected. You can see the button in the left column and select either the text layer or the vector object (not the group folder itself)
To make it selectable again, I have to highlight the text object and hit CMD-J again. This then makes it selectable again.

Is it same as #35?

Yes, exactly the same problem, I downloaded it today though :/ will try again tomorrow and work and see if it's now fixed.

No worries, Let me know how it goes.
Thanks for actively reporting the issue.

@gorillabiscuit Checking in to see if this is working for you.

Yep, seems to be working correctly now. I've uncovered another issue. Will close this and create a new one.


Do not clone as root ...

It is worth mentioning that when the initial clone is made there is no need to run the clone as root and that it should be cloned such that the normal user has write permissions ... sudo is used where and when root operations are performed

I think, “do not run as root” is too much, just a clarification
of the the implications should suffice (like clone as root -> run everything else as root…)

@krono, thanks for the suggestion:)


Add the possibility to use an authentication token when loading the calibration dataset

What does this PR do?

This PR enables to use an authentication token to load the calibration dataset. This is necessary because some datasets (e.g. ImageNet) cannot be downloaded from the Hugging Face Hub without such token.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Dbeaver列数据筛选功能

Dbeaver列数据筛选功能能否做成navicat那样，现在的搜索太难用了，要来回拖动
Can the Dbeaver column data filtering function be made like navicat? The current search is too difficult to use, and it has to be dragged back and forth

@tianlongJ could you provide some examples of the feature you need?

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年4月25日(星期一) 下午4:49
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [dbeaver/dbeaver] Dbeaver列数据筛选功能 (Issue #16289)
@tianlongJ could you provide some examples of the feature you need?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@tianlongJ could you provide some examples of the feature you need?

navicat这种的，筛选会更方便，不用拖动数据列也不用手动输入like这种以及引号

Please use English language.

like navicat
------------------ 原始邮件 ------------------
发件人:                                                                                "dbeaver/dbeaver"                                                                                @.>;
发送时间: 2022年4月26日(星期二) 中午1:55
@.>;
<EMAIL_ADDRESS>主题: Re: [dbeaver/dbeaver] Dbeaver列数据筛选功能 (Issue #16289)
Please use English language.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

It would be beneficial if you could explain what exactly do you want, because DBeaver has data filtering.
Also you can write custom filtering queries here

Or you can set up filter for each column. In this case column name with filter will be bold. And you will see filter expression aggregating all your filters in the top of data.

Maybe it fits your needs? If no, it would be beneficial, if you could explain or even better show what exactly do you mean.

@E1izabeth
I believe what @tianlongJ is requesting is that the filtering be more of a point-and-click, graphical type of functionality. In the attached video, I show an example of how NaviCat's filtering works. Personally, it's too slow for me to filter like this. I'm more of a query writer, but some people may not be able to write queries as well, so they need more of a graphical approach.
Video is slightly over a minute, but wanted to give you a good idea of how it works.
https://user-images.githubusercontent.com/24617679/167912674-7e3c9334-4035-438b-bcec-cb50e6c3a02d.mov

Thank you for explanation, @Xylandor!

DBeaver has data filtering.
You can write custom filtering queries here

Or you can set up filter for each column. In this case column name with filter will be bold. And you will see filter expression aggregating all your filters in the top of data.

Maybe it fits your needs? If no, it would be beneficial, if you could explain or even better show what exactly do you mean.

@tianlongJ, does it cover your needs?

There has been no update for a long time.
If it is still actual - feel free to reopen the issue

navicat这种的，很方便
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年4月25日(星期一) 下午4:49
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [dbeaver/dbeaver] Dbeaver列数据筛选功能 (Issue #16289)
@tianlongJ could you provide some examples of the feature you need?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


TranscriptLoggerMiddleware - how to see and list data

Hi,
I implemented TranscriptLoggerMiddleware using AzureBlobTranscriptStore as you suggest in the documentation.
Logging is working nicely and every single message is stored in Blob container. But there is one problem, I cannot filter or order logs by date. Which is really inconvenient. Imagine the situation, when you want to see logs from only one specific day.
On the image below is logs ordered by key. But there is no option (or maybe I just don't see one) how to order by date. Do you have any solution? Maybe add to key a timestamp?

hi Mironiny, Thanks for your suggestion.
I have encountered this same issue where I wanted to sort based on a date. I've added this as a suggested enhancement for our product.

You can log feature request on the Azure feedback site.


o1-mini/o1-preview not working in v2.0

Which API Provider are you using?
OpenAI Compatible
Which Model are you using?
o1-preview
What happened?
OpenAI doesn't support stream in o1 model yet, so could you please add an option to enable or disable stream
Steps to reproduce

setup openAI Compatible
using o1-preview
got error

Relevant API REQUEST output
No response
Additional context
No response

+1

Having the same issue here, just selected OpenAI as provider, added the key and o1-mini as the model. As soon as a prompt is sent, it returns API request failed.
400 Unsupported value: 'messages[0].role' does not support 'system' with this model.

I have same Issue with all OpenAI Models. How can i change "system" to "user" for example?

Im having the same issue since the Cline update.I am getting the  same error message when I select 01 preview or preview mini - https://github.com/cline/cline/issues/434. This is the best AI coder, far superior to Cursor imho

Fix in v2.0.8, thanks for the patience!

Fix in v2.0.8, thanks for the patience!

no, not yet working

Cline version:  v2.0.16
API Provider: OpenAI Compatible
model ID:  o1-mini

Same for o1-preview


Problems and questions about the  framesync64_example

I tried the framesync64_example and everything worked Ok. So, I tired to actually use it to transmit some data. It says that it has a spectral efficiency of  0.8000 b/s/Hz which seems to mean with a 10,000 hz bandwidth - it should be able to send 9000 bits per second. It is not clear how the data should be packed for transmission - so I just interpolated the data to fill a 40,000 hz sample rate buffer and send it. This ran into some problems. I just started sending blocks of data - it filled up all of the send buffer blocks and then it started timing out and finally it crashed. I got the transmit to work by putting in some sleep statements after each data block transmission. On the receive end, about every ten blocks - it called the callback routine and it said about it had about a 50 percent error rate, but looking at the data it was nearly a 100 percent error rate. It is also very strange that as I lower the sample rate - the actual bandwidth of the signal increased. I also tried encoding the data as a FM signal and that did not works. So, That is what I tried - what should I really be doing ?

Interesting. What is your sample rate? 10 kHz? It should be the same on the transmitter and receiver.

It turns out that 10 KHZ was the last sample rate that I tried, but if I look at the frequency spectrum it is about 20 KHZ wide. The signal is pulsing and it pulses faster as I decrease the band width - that is what I think is increasing the spectrum bandwidth. I have never, before, seem a transmitted signal exceed the transmitted bandwidth ? If, I expand and decimate the data and do everything expect transmit and receive the data - it works. The only thing missing is when you receive a signal you normally mix it with the offset frequency to center it at zero frequency, but that does not seem to be necessary here. It seems that it could be a problem with needing to put the sleep step in to slow it down, but when I do the same thing and broadcast Narrow Band FM - the sound is perfectly OK. The sound is similar to other digital signals that I have heard.

I just remembered that the Transmitter and the Receiver will only run at certain sample rates. I set the sample rates and enquired as to what they were and SoapySDR said everything was Ok, but when I tested it by sending and receiving data it actually was not working. The lowest common working sample rate is 250,000 samples per second - kind of inefficient but what the heck I gave it a try. Now, It is sill almost a 100 percent error rate , but the call back routine is called for every block instead of every 10 blocks.

I been play with it and I started to send the data in 1/10 of a second blocks. It gets any where from one to 40 of the 64 bytes correct. The problem may be that when it gets ten block of data - it calls the call back routine, but is there any guarantee that the ten blocks actually correspond to the same one second data block.

I found part of the problem - I use msresamp_crcf_execute to expand and decimate the data. I tested the expansion and decimation of the data with out transmitting it. After the first pass thru msresamp_crcf_execute, the data is 100 percent correct. For subsequent passes thru msresamp_crcf_execute, there are always two or three errors in the decoded data. If I pass the data once thru msresamp_crcf_execute and send it many times it is always correct.

What are the interpolation and decimation rates you're setting in msresamp?

Normally when transmitting and receiving, you do it in two steps - to a intermediate frequency and the to the final frequency. In this case, no intermediate frequency was required so I did it in one step with ratios of 153.2 and 0.00656. I did some move tests with encode and decoding on the same machine. If I zero fill and shift the data by 2/10 of a second, it gets two or three bytes wrong as with the unshifted data.  If I zero fill and shift the data by 3/10 of a second, it gets them 100 percent wrong. In a real system, with all of the input and output buffering there will be some unknown time shift in the data received.

It's hard to debug your issue from here, but I can suggest a few things. To begin with, the sample rates must be exact to within a fairly small margin. The numbers you gave for resampling ratios were close to matching but weren't exact. In fact, 153.2 * 0.00656 = 1.005. This means that at the receiver if you start on time, after just 100 symbols you'll be off by half a symbol.
I might suggest that you start with an interpolation rate of exactly 100 and a decimation rate of exactly 0.01.

I was actually using<PHONE_NUMBER>90 and 0.00656 and I have tried many different combinations. It works down to a bandwidth of 1000 Hz. At 500 hertz, It starts generating errors with the one machine test. If I do every thing except transmit on the same machine using the HackRF One, it works. It appears that the 20 PPM accuracy of the HackRF One just is not good enough for your algorithm. The SDRplay RSP2 receiver has a 1 PPM accuracy.

Yeah, that's a very low sampling rate. The frame64 length is 1440 samples, so at 500 Hz that's almost 3 seconds per packet, if I understand correctly. The algorithm for carrier recovery assumes a constant frequency offset over the duration of the packet. I'm guessing that if the frequency is non-linear (e.g. it is drifting due to the oscillator's PLL bandwidth) then it might not be able to recover the payload. At a sample rate of 1000 Hz the oscillator is probably not drifting as much over the shorter packet duration.

Any more luck with this?

Actually, I think that I just found a bug in msresamp_crcf_execute that may play into this.
I used msresamp_crcf_execute to cut the sample rate in half. I wanted to double the distance between the lines in the waterfall. The bottom is the original image. The top is the down sampled image. If you look at the top image and compare it to the bottom image everything below 7.060 MHZ looks pretty good. If you look just above 7.060 MHZ  in the origin image there are very few lines, but the top image shows quite a few lines. Those extra lines correspond to the region in the original image just below where the top image ends. It seems to be mapping the wrong region to the region above 7.060 MHZ.
This would like cause problems for the framesync64_example.

writeIQfile.c.zip

Where are the two plotted to the same scale. They are in almost perfect agreement until 7.010 Mhz.
I shifted the center frequency to make things easier to see.

Is this the exact same input just one with and the other without the msresamp? I'm honestly having a hard time determining what the problem is.


ci: Add Conventional Commit Lint

This is an attempt to add conventional commit lint.
It is an alternative to https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/800

@scbjans @kaylareopelle I got something working but it required two different GitHub actions to get what I wanted.

Action checks the PR title
Action that checks individual commit messages

yup... seems like merge commits are ok https://github.com/open-telemetry/opentelemetry-ruby-contrib/actions/runs/7551640637/job/20559186184?pr=821

yup... seems like merge commits are ok https://github.com/open-telemetry/opentelemetry-ruby-contrib/actions/runs/7551640637/job/20559186184?pr=821

Yoohoo! Is there a limit on the number of GH actions we can use?
If so https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/800 seems to be unblocked now; so that would be more favorable then

closed in favor of #800


PEP8

Code should respect PEP8.
Code linter such as flake8 can help
It can be add on Travis side, so when PR is send PEP8 conformance is checked
install:
  - if [ "$TRAVIS_PYTHON_VERSION" = '3.2_with_system_site_packages' ]; then pip install -q 'coverage<4'; fi
  - pip install -q coveralls flake8
  - python setup.py install

...

script:
  - nosetests -v --with-coverage --cover-package gtabview || {
      ret=$?;
      [ "$TRAVIS_PYTHON_VERSION" = '3.2_with_system_site_packages' -a $ret = 134 ] && exit 0;
      exit $ret;
    }
  - flake8 --version
  - flake8 --ignore E501 .

Here is current status:
$ flake8 --ignore E501 .
./setup.py:8:21: W503 line break before binary operator
./gtabview/__init__.py:10:1: F401 'io' imported but unused
./gtabview/__init__.py:15:1: F403 'from .compat import *' used; unable to detect undefined names
./gtabview/__init__.py:75:31: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
./gtabview/__init__.py:112:21: E701 multiple statements on one line (colon)
./gtabview/__init__.py:176:20: E701 multiple statements on one line (colon)
./gtabview/__init__.py:177:23: E701 multiple statements on one line (colon)
./gtabview/__init__.py:178:22: E701 multiple statements on one line (colon)
./gtabview/__init__.py:188:29: F405 'basestring' may be undefined, or defined from star imports: .compat
./gtabview/compat.py:2:10: E401 multiple imports on one line
./gtabview/compat.py:6:11: F821 undefined name 'unicode'
./gtabview/dataio.py:8:1: F403 'from .compat import *' used; unable to detect undefined names
./gtabview/dataio.py:61:1: E303 too many blank lines (3)
./gtabview/dataio.py:62:31: F405 'basestring' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:78:31: F405 'basestring' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:98:45: F405 'basestring' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:127:10: E128 continuation line under-indented for visual indent
./gtabview/dataio.py:129:25: F405 'basestring' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:129:58: F405 'io' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:129:69: F405 'file' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:130:29: F405 'basestring' may be undefined, or defined from star imports: .compat
./gtabview/dataio.py:136:24: E701 multiple statements on one line (colon)
./gtabview/dataio.py:137:24: E701 multiple statements on one line (colon)
./gtabview/models.py:4:1: F403 'from .compat import *' used; unable to detect undefined names
./gtabview/models.py:4:1: F401 '.compat.*' imported but unused
./gtabview/models.py:8:17: E221 multiple spaces before operator
./gtabview/models.py:14:1: E302 expected 2 blank lines, found 1
./gtabview/models.py:74:1: E303 too many blank lines (3)
./gtabview/models.py:179:67: E226 missing whitespace around arithmetic operator
./gtabview/models.py:180:71: E226 missing whitespace around arithmetic operator
./gtabview/models.py:264:14: E127 continuation line over-indented for visual indent
./gtabview/models.py:269:14: E127 continuation line over-indented for visual indent
./gtabview/models.py:272:14: E127 continuation line over-indented for visual indent
./gtabview/models.py:273:14: E127 continuation line over-indented for visual indent
./gtabview/qtpy.py:4:10: E401 multiple imports on one line
./gtabview/qtpy.py:18:9: F401 'PyQt5' imported but unused
./gtabview/qtpy.py:24:9: F401 'PyQt4' imported but unused
./gtabview/qtpy.py:30:9: F401 'PySide' imported but unused
./gtabview/qtpy.py:45:5: F811 redefinition of unused 'QtWidgets' from line 37
./gtabview/viewer.py:3:1: F403 'from .compat import *' used; unable to detect undefined names
./gtabview/viewer.py:5:1: F401 '.models' imported but unused
./gtabview/viewer.py:16:19: E701 multiple statements on one line (colon)
./gtabview/viewer.py:17:50: E701 multiple statements on one line (colon)
./gtabview/viewer.py:20:1: E302 expected 2 blank lines, found 1
./gtabview/viewer.py:21:20: F405 'sys' may be undefined, or defined from star imports: .compat
./gtabview/viewer.py:85:20: E127 continuation line over-indented for visual indent
./gtabview/viewer.py:120:41: E701 multiple statements on one line (colon)
./gtabview/viewer.py:233:5: E303 too many blank lines (2)
./gtabview/viewer.py:234:31: E701 multiple statements on one line (colon)
./gtabview/viewer.py:246:5: E303 too many blank lines (2)
./gtabview/viewer.py:247:31: E701 multiple statements on one line (colon)
./gtabview/viewer.py:259:5: E303 too many blank lines (2)
./gtabview/viewer.py:289:26: E126 continuation line over-indented for hanging indent
./gtabview/viewer.py:299:25: E126 continuation line over-indented for hanging indent
./gtabview/viewer.py:306:5: E303 too many blank lines (2)
./gtabview/viewer.py:313:5: E303 too many blank lines (2)
./gtabview/viewer.py:317:5: E303 too many blank lines (2)
./gtabview/viewer.py:349:20: E701 multiple statements on one line (colon)
./gtabview/viewer.py:352:5: E303 too many blank lines (2)
./gtabview/viewer.py:371:17: F841 local variable 'olm_row' is assigned to but never used
./sample/pandas-example.py:7:11: E127 continuation line over-indented for visual indent
./tests/__init__.py:4:1: F401 'gtabview' imported but unused
./tests/__init__.py:5:1: F401 'gtabview.view' imported but unused
./tests/__init__.py:35:1: E302 expected 2 blank lines, found 1
./tests/__init__.py:41:1: E302 expected 2 blank lines, found 1
./tests/test_dataio.py:4:1: F403 'from . import *' used; unable to detect undefined names
./tests/test_dataio.py:9:26: F405 'os' may be undefined, or defined from star imports: .
./tests/test_dataio.py:9:39: F405 'TDATA_ROOT' may be undefined, or defined from star imports: .
./tests/test_dataio.py:12:1: E302 expected 2 blank lines, found 1
./tests/test_dataio.py:13:26: F405 'os' may be undefined, or defined from star imports: .
./tests/test_dataio.py:13:39: F405 'TDATA_ROOT' may be undefined, or defined from star imports: .
./tests/test_dataio.py:16:1: E302 expected 2 blank lines, found 1
./tests/test_dataio.py:17:26: F405 'os' may be undefined, or defined from star imports: .
./tests/test_dataio.py:17:39: F405 'TDATA_ROOT' may be undefined, or defined from star imports: .
./tests/test_dataio.py:20:1: E302 expected 2 blank lines, found 1
./tests/test_dataio.py:21:26: F405 'os' may be undefined, or defined from star imports: .
./tests/test_dataio.py:21:39: F405 'TDATA_ROOT' may be undefined, or defined from star imports: .
./tests/test_dataio.py:24:1: E302 expected 2 blank lines, found 1
./tests/test_dataio.py:24:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_dataio.py:26:26: F405 'os' may be undefined, or defined from star imports: .
./tests/test_dataio.py:26:39: F405 'TDATA_ROOT' may be undefined, or defined from star imports: .
./tests/test_models.py:4:1: F403 'from . import *' used; unable to detect undefined names
./tests/test_models.py:12:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:16:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:18:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:22:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:24:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:28:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:29:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:30:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:32:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:36:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:37:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:38:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:40:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:44:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:46:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:50:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:51:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:52:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:54:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:58:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:60:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:60:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:68:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:69:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:70:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:72:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:72:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:86:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:87:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:88:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:89:12: F405 'materialize_names' may be undefined, or defined from star imports: .
./tests/test_models.py:90:12: F405 'materialize_names' may be undefined, or defined from star imports: .
./tests/test_models.py:92:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:92:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:107:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:108:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:109:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:110:12: F405 'materialize_names' may be undefined, or defined from star imports: .
./tests/test_models.py:111:12: F405 'materialize_names' may be undefined, or defined from star imports: .
./tests/test_models.py:113:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:113:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:119:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:120:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:121:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_models.py:123:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:123:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:129:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:131:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:131:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:137:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:139:1: E302 expected 2 blank lines, found 1
./tests/test_models.py:139:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_models.py:142:30: F405 'os' may be undefined, or defined from star imports: .
./tests/test_models.py:142:43: F405 'TDATA_ROOT' may be undefined, or defined from star imports: .
./tests/test_models.py:145:12: F405 'materialize' may be undefined, or defined from star imports: .
./tests/test_models.py:146:12: F405 'materialize_header' may be undefined, or defined from star imports: .
./tests/test_view.py:4:1: F403 'from . import *' used; unable to detect undefined names
./tests/test_view.py:5:1: F405 'gtabview' may be undefined, or defined from star imports: .
./tests/test_view.py:5:14: E225 missing whitespace around operator
./tests/test_view.py:6:1: F405 'gtabview' may be undefined, or defined from star imports: .
./tests/test_view.py:6:16: E225 missing whitespace around operator
./tests/test_view.py:10:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:12:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:13:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:15:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:16:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:18:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:19:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:21:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:22:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:24:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:25:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:27:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:28:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:30:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:31:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:31:10: F405 'os' may be undefined, or defined from star imports: .
./tests/test_view.py:31:23: F405 'SAMPLE_ROOT' may be undefined, or defined from star imports: .
./tests/test_view.py:33:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:34:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:34:10: F405 'os' may be undefined, or defined from star imports: .
./tests/test_view.py:34:23: F405 'SAMPLE_ROOT' may be undefined, or defined from star imports: .
./tests/test_view.py:36:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:36:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_view.py:39:5: F405 'view' may be undefined, or defined from star imports: .
./tests/test_view.py:43:1: E302 expected 2 blank lines, found 1
./tests/test_view.py:43:2: F405 'require' may be undefined, or defined from star imports: .
./tests/test_view.py:46:5: F405 'view' may be undefined, or defined from star imports: .

Kind regards
PS: similar issue https://github.com/firecat53/tabview/issues/144

I'm thorn on PEP8. I do follow it generally, but doing it strictly leads to arguably less readable code in my view. I already use pyflakes, but again, as for most linters, I run those occasionally.
from . import *  (used with compat.py) breaks the general idea of the module itself.

in such a case, just add # noqa

Sorry but it won't solve or defined from star imports: .

you can simply put # noqa when required
you can also avoid flake8 to report some kind of error


create user in database

Codecov Report

Merging #379 into master will decrease coverage by 1.38%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
- Coverage   90.77%   89.39%   -1.39%
==========================================
  Files          18       19       +1
  Lines         748      792      +44
==========================================
+ Hits          679      708      +29
- Misses         45       56      +11
- Partials       24       28       +4

Impacted Files
Coverage Δ

src/api/middleware/authgate.go
86.66% <100%> (ø)
:arrow_up:

src/api/models/mockstore.go
65.9% <65.9%> (ø)

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 673540b...3ff6d43. Read the comment docs.


Add waste key/values to waste_basket, waste_disposal

Hey, it would be great if there was a checkmark list to check things for the waste key.
Currently, waste seems unrecognized by ID.
See https://taginfo.openstreetmap.org/keys/?key=waste#values.
I'm one of the few people tagging trash;cigarettes combinations, but I think this is a good idea. Often, waste baskets have one container for trash and another for cigarettes.
So ideally, ID would support more than one value.

Sorry, I couldn't find it in the commit: where are the values defined (trash, cigarettes, etc)?

@carstenhag iD doesn't define values for most fields, but instead uses the top values from taginfo.

Oh I see, thanks! Is there a way to blacklist entries? Having both dog_excrement and dog for example seems wrong.

iD excludes (and offers to upgrade) values from deprecated.json. If some values are clearly wrong we can add them there.

Okay. I'll make sure to update the wiki/post to the tagging list first to get this right and deduplicate tags. Then I'll be back here.


cmake: "dummy-flash" device tree fix

Create aditional variable node_address to store the definition type
for nand flash.
#6365
Signed-off-by: Diego Sueiro<EMAIL_ADDRESS>

Codecov Report

Merging #6366 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6366   +/-   ##
=======================================
  Coverage   53.08%   53.08%
=======================================
  Files         430      430
  Lines       41040    41040
  Branches     7908     7908
=======================================
  Hits        21785    21785
  Misses      16032    16032
  Partials     3223     3223

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 c0985fa...ff6a8f0. Read the comment docs.

@galak,

What actual issue are you trying to fix?

If you look at the issue #6366 you will see the error message when I try to generated_dts_board.h from a dts without the "zephyr,flash" property entry.
I validated this change with and without the "zephyr,flash" property entry it is working properly.

@galak,
Any feedbacks on this?

If you look at the issue #6366 you will see the error message when I try to generated_dts_board.h from a dts without the "zephyr,flash" property entry.

you are referencing this same PR here, what is the correct issue number?

@nashif,

you are referencing this same PR here, what is the correct issue number?

Sorry for the confusion. The issue is #6365

@galak,
Any feedbacks on this?

I need to look into this further and understand what's happening.

@diegosueiro do we still need this?

@galak,
Are we going to address this issue?
I found a solution described here but you haven't given me any feedback.


Instance never provisioned should not invoke broker

Fixes https://github.com/kubernetes-incubator/service-catalog/issues/878
If you create an Instance that references a ServiceClass that does not exist, you were never able to delete the Instance, as the controller error-ed out when the ServiceClass is not resolvable.  In this scenario, the Instance is never able to be provisioned, so there is no need to gate deletion on ability to deprovision.  For this PR, we do not invoke the broker upon deletion if an instance never actually provisioned.

Right now, this is an e2e that demonstrates the problem, working on the fix.

ok, this should be ready for review.

@derekwaynecarr rebase needed, thanks to you!

This is related to https://github.com/kubernetes-incubator/service-catalog/issues/908
@derekwaynecarr let me know when this is rebased, and I'll review.

@arschles -- this is rebased.

Looks like this is haunted by the same ghost or spectre as #917:
[Build & Unit/Integration Tests] --- FAIL: TestReconcileInstanceDelete (0.00s)
[Build & Unit/Integration Tests] 	controller_test.go:1036: []
[Build & Unit/Integration Tests] 	controller_test.go:1006: goroutine 298 [running]:
[Build & Unit/Integration Tests] 		runtime/debug.Stack(0x189957d, 0x8, 0x434601)
[Build & Unit/Integration Tests] 			/usr/local/go/src/runtime/debug/stack.go:24 +0x87
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.fatalf(0xc42024cc30, 0x1b83a3b, 0x33, 0xc42026bb30, 0x3, 0x3)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_test.go:1006 +0x34
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.testNumberOfActions(0xc42024cc30, 0x0, 0x0, 0x1bc1138, 0x25c8cd8, 0x0, 0x0, 0x3, 0xc420223068)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_test.go:1037 +0x31d
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.assertNumberOfActions(0xc42024cc30, 0x25c8cd8, 0x0, 0x0, 0x3)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_test.go:1022 +0x7f
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.TestReconcileInstanceDelete(0xc42024cc30)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance_test.go:629 +0xd9d
[Build & Unit/Integration Tests] 		testing.tRunner(0xc42024cc30, 0x1bc1078)
[Build & Unit/Integration Tests] 			/usr/local/go/src/testing/testing.go:657 +0x108
[Build & Unit/Integration Tests] 		created by testing.(*T).Run
[Build & Unit/Integration Tests] 			/usr/local/go/src/testing/testing.go:697 +0x544
[Build & Unit/Integration Tests]
[Build & Unit/Integration Tests] 	controller_test.go:1007: Unexpected number of actions: expected 3, got 0
[Build & Unit/Integration Tests] --- FAIL: TestReconcileInstanceDeleteDoesNotInvokeBroker (0.01s)
[Build & Unit/Integration Tests] 	controller_test.go:1036: []
[Build & Unit/Integration Tests] 	controller_test.go:1006: goroutine 304 [running]:
[Build & Unit/Integration Tests] 		runtime/debug.Stack(0x189957d, 0x8, 0x434601)
[Build & Unit/Integration Tests] 			/usr/local/go/src/runtime/debug/stack.go:24 +0x87
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.fatalf(0xc42024d450, 0x1b83a3b, 0x33, 0xc420fd8750, 0x3, 0x3)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_test.go:1006 +0x34
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.testNumberOfActions(0xc42024d450, 0x0, 0x0, 0x1bc1138, 0x25c8cd8, 0x0, 0x0, 0x2, 0xc420223338)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_test.go:1037 +0x31d
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.assertNumberOfActions(0xc42024d450, 0x25c8cd8, 0x0, 0x0, 0x2)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_test.go:1022 +0x7f
[Build & Unit/Integration Tests] 		github.com/kubernetes-incubator/service-catalog/pkg/controller.TestReconcileInstanceDeleteDoesNotInvokeBroker(0xc42024d450)
[Build & Unit/Integration Tests] 			/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance_test.go:679 +0xc6d
[Build & Unit/Integration Tests] 		testing.tRunner(0xc42024d450, 0x1bc1070)
[Build & Unit/Integration Tests] 			/usr/local/go/src/testing/testing.go:657 +0x108
[Build & Unit/Integration Tests] 		created by testing.(*T).Run
[Build & Unit/Integration Tests] 			/usr/local/go/src/testing/testing.go:697 +0x544
[Build & Unit/Integration Tests]
[Build & Unit/Integration Tests] 	controller_test.go:1007: Unexpected number of actions: expected 2, got 0
[Build & Unit/Integration Tests] FAIL
[Build & Unit/Integration Tests] FAIL	github.com/kubernetes-incubator/service-catalog/pkg/controller	5.818s

...the difference being that this didn't pass anywhere, so perhaps this is a legit failure

@arschles @pmorie -- fixed up.

LGTM
The two typos that @pmorie found would be fine with me to do in a follow-up


Fix: compilation against OpenSSL 1.1.0

OpenSSL 1.1.0 introduced some breaking changes:

Initialization is now automatically handled (and init/load strings methods removed or renamed);
TLS_method has been added while SSLv23_method was removed.

fixes #4204

After compiling different OpenSSL versions and a session of trial and error, I found out how to make things work:

have a separate lib definition for versions, surrounded by {% begin %} {% end %} so it will be evaluated before a second lib definition, that contains the checks;
make sure the backtick commands returns a success (exit code 0), hence the negative atleast || echo false.

:<3: thank you!