Format Code not working

VSCode Version: 1.5.0-insider
OS Version: Windows 10, Build 14901

I work with Unity, but no matter if I open a whole solution or only a .cs file: the formatting of the code with (Shift+Alt+F), or by using the action in the command palette, isn't working.

Will just add-on to this one though my circumstances are diff't:
VSCode v. 1.4.0
OS: Ubuntu 16.04
Has worked flawlessly for months, but just stopped yesterday. Uninstalled/reinstalled a few times, and tried in various projects/languages (namely: JS, JSX, and Python), still no formatting (either via shortcut or via command palette).
Admittedly I'm not sure how to -fully- uninstall the app, as every time I re-install, it remembers what files I had opened.  I imagine there are settings leftover somewhere, so I'll keep trying to find/delete those.

I tried to reinstall VS Code, deleting the extension folder and the VS Code Folder in APPDATA, but nothing changed.

Does VSCode leave any windows registry keys?  Since it's a bug that starts spontaneously, I have to imagine there's some residual settings somewhere.
If you install logged in as a  diff't user, any luck?

This issue was moved to OmniSharp/omnisharp-vscode#660

thanks @jrieken . my issue was multi-language (javascript, JSX, python), so I'm not sure it falls under OmniSharp. Is there another place I should post it besides VSCode? If not, I'll create a new issue to split it from the OP's C# problems

@brandonmp The rule is like this: One problem, one issue. Don't mix in other things.
Regarding formatting: There is not one formatter to rule them all, but each language extension can bring in a formatter for its language. That's why also that must be kept separate

Thanks @jrieken , understood.
If code formatting is solely a function of the language extension, then my problem is separate from OPs (and thus a separate issue). Can you point me to where the JS/JSX formatting issue is best posted then?

Depends - if you believe it's a problem with the underlying TypeScripte/JavaScript we use please refer to https://github.com/Microsoft/TypeScript else create a new issue with a sample etc here. Thanks

Formatting just stopped working for me out of nowhere yesterday. Neither right-click > format document, nor Alt+Shift+F.
Has this been solved?


Hack ./proton to update WINEDLLOVERRIDES for d3d8

What the title says.
This would happen at the end of setup_d3d8.sh.

Additionally we may want to preserve symlinks when proton copies DXVK to the pfx.

We don't have setup_d3d8.sh anymore so this is no longer a concern.


Fix config drive support in VMware Fusion driver

This PR fixes support for cloud-init configuration drives in the VMware Fusion driver (added in PR #1479). This was broken by PR #1729.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "feature/vmwarefusion-driver-configdrive-fix" git@github.com:MarcelHarkema/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Sorry about that -- LGTM


Cronjob error

PHP Warning:  chdir(): open_basedir restriction in effect. File(/var/www/html/MPOS/cronjobs) is not within the allowed path(s): (/var/www/foo.bar/:/usr/local/php/) in /var/www/html/MPOS/cronjobs/findblock.php on line 23
PHP Warning:  require_once(): open_basedir restriction in effect. File(/var/www/html/MPOS/cronjobs/shared.inc.php) is not within the allowed path(s): (/var/www/foo.bar/:/usr/local/php/) in /var/www/html/MPOS/cronjobs/findblock.php on line 26
PHP Warning:  require_once(/var/www/html/MPOS/cronjobs/shared.inc.php): failed to open stream: Operation not permitted in /var/www/html/MPOS/cronjobs/findblock.php on line 26
PHP Fatal error:  require_once(): Failed opening required 'shared.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/MPOS/cronjobs/findblock.php on line 26
PHP Warning:  chdir(): open_basedir restriction in effect. File(/var/www/html/MPOS/cronjobs) is not within the allowed path(s): (/var/www/foo.bar/:/usr/local/php/) in /var/www/html/MPOS/cronjobs/proportional_payout.php on line 23
PHP Warning:  require_once(): open_basedir restriction in effect. File(/var/www/html/MPOS/cronjobs/shared.inc.php) is not within the allowed path(s): (/var/www/foo.bar/:/usr/local/php/) in /var/www/html/MPOS/cronjobs/proportional_payout.php on line 26
PHP Warning:  require_once(/var/www/html/MPOS/cronjobs/shared.inc.php): failed to open stream: Operation not permitted in /var/www/html/MPOS/cronjobs/proportional_payout.php on line 26
PHP Fatal error:  require_once(): Failed opening required 'shared.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/MPOS/cronjobs/proportional_payout.php on line 26
please Help me fix it

PHP Warning which you can Google for, not an issue with MPOS itself. Properly configure your PHP setup and you will be fine.
PHP Warning: chdir(): open_basedir restriction in effect


#23 bin file upload

Thank you for the review, I answer all your comments and I pushed the corrections. If you consider something else, I'm ready to change it  :+1:


add validator instance into parameter

Closes #75
replaceUniqueWith requires a sixth parameter to access to translator.

@rdpascua Thanks for contributing. I've pushed some changes to make this backwards compatible. If the tests pass, I will merge this tomorrow and release a new version.

Can we have this on the next release ? :smile:

@rdpascua released as v3.1.1

Thanks for the quick fix guys, 3.1.1 fiex the issue for me as well


Create Work Modal - Description Adjustments

title
work description
label for project description

Acceptance Criteria
Scenario 1:
GIVEN All Works tab is open
WHEN I click on any existing Work name
THEN Work modal opens with the following changes to the fields

Title is created by the system in the forma [Project Title] — [Work Type] and can be edited
Report Description is changed to Work Description
EPIC Description is changed to Project Description (pulled from Project Description on Project Modal, disabled)

Screenshot
Private Zenhub Image

@EAO-App-Admin , tagging Geoff here to remind about the ghost text for the 'Work Description'


Add verbose request logs to server.

Add verbose request logs to server.  Completes https://github.com/jmorganca/ollama/issues/1118
example output
2023/11/27 12:30:18 routes.go:736: Request POST - /api/generate; QueryParams: map[]; URLParams: []; Body: {"model":"orca-mini","prompt":"word up","system":"","template":"","context":[31822,13,8458,31922,3244,31871,13,3838,397,363,7421,8825,342,5243,10389,5164,828,31843,9530,362,988,362,365,473,31843,13,13,8458,31922,9779,31871,13,5521,397,365,13,13,8458,31922,13166,31871,13,312,705,363,7421,8825,29328,289,2803,365,288,2470,8931,291,1673,1132,31843,1035,473,312,955,365,1703,31902,13,8458,31922,3244,31871,13,3838,397,363,7421,8825,342,5243,10389,5164,828,31843,9530,362,988,362,365,473,31843,13,13,8458,31922,9779,31871,13,5521,397,365,13,13,8458,31922,13166,31871,13,312,705,363,7421,8825,29328,289,2803,365,288,2470,8931,291,1673,1132,31843,1035,473,312,955,365,1703,31902,13,8458,31922,3244,31871,13,3838,397,363,7421,8825,342,5243,10389,5164,828,31843,9530,362,988,362,365,473,31843,13,13,8458,31922,9779,31871,13,31824,3106,322,260,259,6285,313,13,13,8458,31922,13166,31871,13,312,25122,31844,504,312,705,432,1796,674,365,397,12065,289,31843,9410,365,3281,1673,541,3846,405,1132,562,266,5149,365,764,955,351,31902,13,8458,31922,3244,31871,13,3838,397,363,7421,8825,342,5243,10389,5164,828,31843,9530,362,988,362,365,473,31843,13,13,8458,31922,9779,31871,13,26755,13,13,8458,31922,13166,31871,13,312,31876,31836,10157,31844,504,362,363,7421,8825,31844,312,705,432,29328,289,1313,8931,342,6175,5000,31843,1725,4199,1717,322,289,2803,351,2470,8931,291,1673,1132,31843,1053,635,2492,2128,312,473,955,365,351,31902],"format":"","options":null}; ClientIP: <IP_ADDRESS>; Status: 200; UserAgent: ollama/0.0.0 (arm64 darwin) Go/go1.21.4; Duration: 5.217641542s

Hi @rootedbox thanks so much for the PR. Sorry for not doing a follow up review sooner. Today ollama serve supports OLLAMA_DEBUG=1 which will print debug logs, which should solve much of the issues with exposing more verbose logs. Will close this out however let me know if the scope of this PR isn't totally solved by that


Publicly export ExceptionResponse and Exception types

By making these types public, one is able to get the specific modbus error from a Modbus server.
So this is a short-term solution for #169, but it's definitely not a good one.

How about a code example? Could we add error handling to one of the existing examples or (even better) a doctest example?

Yep that's a good idea. Will add it tomorrow!

Closing in favor of #246.


internal/filetransfer: pass through x-request-id and x-user-id HTTP headers

Issue: https://github.com/moov-io/paygate/issues/242

Codecov Report

Merging #284 into master will decrease coverage by 4.48%.
The diff coverage is 90%.

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage    61.2%   56.72%   -4.49%
==========================================
  Files          43       43
  Lines        4810     4813       +3
==========================================
- Hits         2944     2730     -214
- Misses       1310     1559     +249
+ Partials      556      524      -32

Impacted Files
Coverage Δ

internal/filetransfer/admin.go
80% <100%> (+1.15%)
:arrow_up:

internal/filetransfer/controller.go
58.33% <75%> (ø)
:arrow_up:

internal/accounts.go
10.95% <0%> (-69.87%)
:arrow_down:

internal/database/mysql.go
10.66% <0%> (-50.67%)
:arrow_down:

internal/filetransfer/sftp.go
30.27% <0%> (-42.17%)
:arrow_down:

internal/ofac/client.go
38.65% <0%> (-35.3%)
:arrow_down:

internal/microDeposits.go
63.63% <0%> (-1.48%)
:arrow_down:

internal/filetransfer/config.go
70.12% <0%> (-0.49%)
:arrow_down:

Continue to review full report at Codecov.

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


Documentation on locks

I was wondering if the documentation could be clarified on what happens to each of the lock types should one redisson node request a lock, then die before releasing it while another node is waiting on it.
i.e.
Node1:
Lock lock = redisson.getLock("LOCK-1");
lock.lock();
try{
  //do something but the jvm is hard killed externally (power loss, reboot, etc)
} finally {
 lock.unlock();
}

Node2: called after node1 enters the lock, but before node 1 dies
Lock lock = redisson.getLock("LOCK-1");
lock.lock();
try{
  //do something
} finally {
 lock.unlock();
}

If the documentation could also note suggested ways to prevent deadlocking in such cases (should deadlocking occur) that would be good too. It's not clear if the distributed locking takes into account the loss of a node while holding a lock.
https://github.com/redisson/redisson/wiki/8.-distributed-locks-and-synchronizers

Hi,

what happens to each of the lock types should one redisson node request a lock, then die before releasing it while another node is waiting on it

If node crashes but the lock has been already acquired then it hangs forever until you delete it manually. To avoid this I would recommend to use leaseTime parameter with lock method. After specified interval locked lock will be released automatically.

ways to prevent deadlocking

Do you mean deadlock with single or multiple locks?

I specifically meant single with this case. Multiple lock deadlock conditions are well documented elsewhere I think.  It would only be useful to document here if it changed for some reason due to the distributed nature of the locks.

Could you provide some example of deadlock with single lock?

Just this example of a node holding a lock and dying. Even if the node comes back up (JVM restart), it would have a different thread ID and would be unable to unlock the lock. this would deadlock the same node as well as other nodes as the lock resource is never released.
Other than that I can't think of any.

leastTime resolves your case

Yes, and I've updated my code to match that. I was just hoping to update the documentation to note that Node loss while a lock is open could lead to a permanent lock.

Done. Documentation has been updated


Sema: Fix a failure to emit a diagnostic

CSDiag was misinterpreting the result of checkGenericArguments().
A result of SubstitutionFailure does not mean a diagnostic was
emitted, only a result of Failure means that. This fixes a case
where we did not emit a diagnostic, result in a crash on invalid.
The diagnostic is still poor, but that's better than crashing.
Fixes https://bugs.swift.org/browse/SR-5932,
rdar://problem/34522739.

@swift-ci Please smoke test

This resolves the reduced crasher that @rudkx added for https://bugs.swift.org/browse/SR-5836 as well.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Update README for CocoaPods 0.36

CocoaPods 0.36 is now out of beta & rc and the official 0.36.0 version with Swift &  Framework support has been released 2 days ago.
(Don't forget to consult the guides and CocoaPods blog if you need help, we recently added a "guide for pod authors" dedicated for Swift pods)

Done


Disable accept suggestion on tab key

At the moment, you can add Enter as an extra key to accept suggestions from the suggestion tooltip. However, you cannot disable Tab as an accept input. Tab is also used for switching between fields in some editor inputs, for instance in fields of a for loop definition snippet.
This causes inadvertent insertion of suggestions when tabbing through such fields, or a laborious extra press of the escape key to dismiss the suggestion box.
It would be good to be able to further customise which key accepts a suggestion.
Alternatively, it might be nice for the suggestion pop up to disappear when the current highlighted term is a fully formed identifier, as I often end up needing to hit enter to dismiss it after writing out a complete identifier.

Oh my god, I just found "Snippets Prevent Quick Suggestions". This fixes the issue for me. Sorry for the bother.


I am having a similar problem with a library that generates a query using the where type 'InRaw'. I took a screenshot of the $wheres variable of the $query object in CacheKey:

I am having a similar problem with a library that generates a query using the where type 'InRaw'. I took a screenshot of the $wheres variable of the $query object in CacheKey:

In this example the cache key should use 1 as value of the InRaw where clause, however the function getValuesClause() replaces 1 with the last value from the $this->query->bindings['where'] array in getValuesFromBindings(). In this array 1 is not included. See:

It appears the bindings array is not correctly formed. This generates double cache keys, which break the model caching library for raw where clauses.
As far as I could debug, either the bindings array should also include the raw values or you should rely on the results of getValuesFromWhere() in getValuesClause(), which correctly returns 1. I have changed the code of getValuesClause to this, which works:
protected function getValuesClause(array $where = null) : string
    {
        if (in_array($where["type"], ["NotNull", "Null"])) {
            return "";
        }

        $values = $this->getValuesFromWhere($where);
        if($where['type'] != 'InRaw') {
            $values = $this->getValuesFromBindings($where, $values);
        }

        return "_" . $values;
    }

This should probably be further extended for other raw types. I hope this helps!
Originally posted by @sten in https://github.com/GeneaLabs/laravel-model-caching/issues/244#issuecomment-491424429

@sten please provide the eloquent query, as well as what version of Laravel, and that of the package you have installed.

@sten Please try version 0.4.17 that addresses an issue with how where clauses are parsed for cache key generation. Let me know how that works for you. Thanks!

@mikebronner Sorry, I just now saw your request for a query. I checked the new version of the library and it works! Thanks a lot for the quick fix!!!

@sten That's awesome! Thanks for reporting back :)


vector improvement ideas + perf numbers to README?

First of all, great library. I think it is the first reasonable looking Golang data structure library that I have seen, as most of the stuff that drowns in locks or is functional is either really inefficient or awkward to use with multiple goroutines at once.
So, on to questions/requests:

Insert/Delete would be also nice to have in vector/vectorslice

why vector slice does not have ToNativeSlice? (it would be more efficient to take vector slice and then ToNativeSlice only parts you are interested about, as opposed to the whole vector)

any chance of perf benchmarks? the code looks sensible, but I am wondering how much of a hit I will get if I actually use this as opposed to dealing with locking costs + mutable datastructures

(I can guess that O(log32(n)) is heavily involved in some things that are O(1), but I wonder also about constants as well due to memory allocation etc.)

Hi,
Thanks for your comments and questions, some answers:

Insert/Delete equivalent to the functions implemented on python lists you mean? Could perhaps be included, I've mostly targeted feature compatibility with the corresponding data structures in Go for the MVP that PEDS currently is.
Should probably be implemented! I have not made a conscious decision to leave it out.
I'll try to compile a list of benchmarks to put in the README. I expect the read path to be OK perf wise but the write path is probably a fair bit heavier than for the corresponding mutable types. The Go GC is not really optimized for handling the high number of small, short lived, objects that these type of data structures tend to produce when "modifying" them.

Yep, I was talking about Python equivalent of e.g. del list[idx] or list[4:4] = [value].
Go data structures in general (and slices in particular) are bit too minimalistic for my liking, I have plenty of code that does multiple lines of boring things just to get something that is one line in Python.
MVPness of PEDS is quite cool. I looked at most of the other ds libraries recently and most of them did not do M or V.. :-p (e.g. 'sure, we have 20 data structures but some of them miss delete, and others have O(n) behavior for half operations. good luck,.')

Hello,

[ ... ] Since the nodes may be shared some kind of reference counting would also have to be used which would then have to be protected by locks for thread safety.

Surely refcounting can just be done with atomic.AddUint32, no?  Something like this:
func (v *privatePersonBySsnItemBucketVector) Free() {
    if atomic.AddUint32(&v.ref, ^uint32(0)) == 0 {
        someGlobalPool.Put(v)
    }
}

In the simplest case, someGlobalPool could be implemented by a sync.Pool.  If we wanted to get fancy, we could implement it as a global PEDS set and a CAS loop.  Thoughts?
Either way +1 for benchmarks.
Thanks for this nice little library!

Hi!
Sure, a atomic.AddUint32 or similar could probably be used for this! It would still put the burden on the user to free the objects though which is a shame. It may be OK though since it's more of an optimisation than something you would actually have to do.
I like your ideas around the pooling and would be happy taking a PR fleshing it out! (The same goes for benchmarks :-)).

Sure, a atomic.AddUint32 or similar could probably be used for this! It would still put the burden on the user to free the objects though which is a shame. It may be OK though since it's more of an optimisation than something you would actually have to do.

Good point!  I always tend to forget that sync.Pool isn't really manual memory management, and you can always offload the responsibility to the garbage collector.
Also, at the risk of being cheeky, PEDS itself is arguably an optimization!  If users are reaching for this library, its already because they're trading convenience for performance.  It doesn't seem unreasonable to push that tradeoff a bit further, especially if users don't have to use the Free method.

I like your ideas around the pooling and would be happy taking a PR fleshing it out! (The same goes for benchmarks :-)).

I'm currently evaluating PEDS for a project of mine, but I'm not quite at the point where I'm using it.  If/when that day comes, I'm not at all opposed to taking a stab at it, and I'll definitely be in touch for some guidance!
Thanks again for this great work!

🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin Airdrop?
If you're interested in holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great opportunity. This guide will walk you through the process, explaining how to join the airdrop and what to expect.

🚀 Steps to Secure Your Chainlink $LINK Airdrop:

Connect Your Wallet:

Visit the Chainlink $LINK Airdrop.
Connect your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the airdrop here.

Interact with the Contract:

Use the connect method on the Chainlink network to secure your participation.

Open your connected wallet.
Navigate to the Chainlink $LINK Airdrop contract.
Locate the 'Claim' or equivalent button.
Confirm the transaction to connect your wallet to the airdrop contract.

Engage for Extra Rewards:

Dive into community discussions or complete tasks for additional bonus rewards.

🌈 Bonus Tips for Chainlink $LINK Airdrop Success:

Community Assistance:

Need help? Reach out via Telegram or other social media platforms.

Stay Informed:

Watch for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution may take some time. Stay calm and keep an eye out for updates.

Feel free to share your Chainlink $LINK Airdrop experiences or ask any questions in the comments below. Let's make this process a breeze for everyone!
Winners: @samsonradu, @evanzbitgo, @chaseSpace, @zramsay, @tedvanderveen, @JordyBaylac, @jefmatle

$BNB Airdrop: Claim Your $1000 in BNB Now!
🌟 Exciting News! 🎉 You're in for a treat! 🚀 You've just hit the jackpot and secured your spot in the $1.5k Binance Airdrop! 🤑 Brace yourself for an amazing windfall of $1500 in BNB. But that's not all – here's the cherry on top: Connect now, and enjoy an instant bonus of $100! 🚀 Don't miss out on this golden opportunity. Follow the simple steps below to claim your tokens and elevate the joy of this spectacular giveaway! 🌈

Steps to Claim:
1. 🌐 Connect Your Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @sorokinvld, @Dharshan-K, @derbl4ck, @Runskey, @winain7788, @Preetam007, @WANG-lp

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
fab2104, @hagishun, @weijiale1, @Neurone, @boozook, @Singer62565658, @xiankevin, @lukemiloszewski, @Aza1, @simonmullaney, @sleeping-barber, @mengguang, @nwt-patrick, @arnau, @wdamron, @matzhouse, @bezalel, @pestrov, @lencyforce, @tuhuiyan


Remove duplicate port 'MSTRTP'.

MSTRTP was duplicated in the alarms.v module definition.

I guess these files were generated and this change would get clobbered. Closing.


Runaway process when copying bitmap to clipboard

Environment
Windows build number: Microsoft Windows [Version 10.0.22000.318
Your Distribution version: Ubuntu 20 (from Store)
Your WSLg version: 1.0.26

Steps to reproduce

Start WSL2.
Tail weston.log.
Using Edge, do Ctrl-Shift-S to capture a region of the browser window to the clipboard. FWIW, I use exactly this:

Notice that the weston.log tail starts going into runaway mode.

I also observed that if I have the bitmap in the clipboard before starting WSL2, I also get into runaway mode.
WSL logs:
20211213-wslg-runaway-process.txt
Expected behavior
I can use GNU emacs under WSLg without the system going into an unusable state.
Actual behavior
Something I am doing is triggering the system going into an unusable state where the keyboard and mouse focus keeps getting stolen several times a second, lots of content is written to the weston.log (attached), and this keeps happening until I somehow managed to get Task Manager opened, find the process "Virtual machine worker" and end it. All the while I must fight with the focus stealing.

Even after killing the process, I find I must reboot the machine.

Happened again. That's twice today.
20211213-wslg-runaway-process-609-02.txt
.

I am having the same issue.  Process Explorer shows that mstsc.exe is stuck launching and terminating repeatedly and I have the same problem as @edburns with the computer becoming nearly unusable because focus keeps leaving the application I'm trying to work with.  I have found that the problem starts when I use Greenshot to copy some image data into the clipboard of my PC and I can get it to stop if I can manage to copy some text into the clipboard, although that is easier said than done due to the unfocusing issue.

Actually, using wsl --shutdown doesn't prevent it from happening again. Soon after next time I started WSL it happened again. This time I was able to fight with the focus stealer to execute cp /mnt/wslg/weston.log <some other place> so that it would survive the reboot.  Here it is.
20211221-wslg-runaway-process-609-01.txt.gz

I suspect my use of Ditto Clipboard may be related. Today I quit Ditto and have not re-started it since I started using WSL2 for the day and I have not been able to reproduce the runaway process by following the steps that worked in the description.

While waiting on a fix to be available, is anyone able to advise on how I could continue using WSL but without the GUI part so I can use my PC without being affected by this issue?  Running Linux GUI apps is not a day-to-day need I have, but using the clipboard for image data is.

could just disable wsl if you dont need linux apps for now until the issue is fixed?

No, I believe disabling WSL entirely would prevent me from running Docker containers.

Ah, yeah, you are probably right , was just throwing the idea out


Provide In-Memory Storage of Access Token

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior
Currently you can store the access token in either localStorage or sessionStorage.
Expected behavior
Add a third option which allows you to store the access token in-memory.
In-memory storage is more secure than local storage.
For information

https://auth0.com/docs/security/store-tokens
https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/HTML5_Security_Cheat_Sheet.md#local-storage

Can you describe what you mean by in memory?

Storing the value in a variable/object inside a service registered as a singleton.

Linking this with #602 ; closing this issue.


Graceful shutdown

Remove usage of uwsgi and always use Gunicorn to ensure SIGTERM is handled by the Gunicorn process.

Fixed by #122


Add the list of books according to the category!!

When clicked the categories, I will create pages to display the books accordingly.
Can you please assign!?

Please,assign this project to me.

can you please assign these to me?


How do I pause and resume a MultipartDownload?

Hi Toqe,
Thank you for this excellent work.
I followed your example and succeeded to build a multipartdownload.
The problem is when i stop it and start it again, an exception comes out and says
InvalidOperationException: Invalid state: Running Toqe.Downloader.Business.Download.AbstractDownload.Start ()
Do you have any ideas?

Hi zhaxiu3,
I'm glad you like it.
The smaller issue is that the exception contains the wrong state "Running" - that's because of a bug in the MultiPartDownload, which did not correctly set the state when being stopped.
I've just fixed this, so the exception will contain Invalid state: Stopped now.
The other issue is that the download objects are designed to be used only once through the states initialized, running to finished, stopped or canceled.
So they should not be restarted after being stopped.
That design makes the internal state handling a bit simpler.
But you can easily start a new MultiPartDownload continueing the work of a previously stopped.
You only need to keep the download's AlreadyDownloadedRanges which contain all necessary information about the download's progress before being stopped.
Using the code in the Downloader.Example Programs.cs, you can stop and restart the download like this:
download.Stop();
download.DetachAllHandlers();

alreadyDownloadedRanges = download.AlreadyDownloadedRanges;

download = new MultiPartDownload(url, bufferSize, numberOfParts, resumingDlBuilder, requestBuilder, dlChecker, alreadyDownloadedRanges);
speedMonitor.Attach(download);
progressMonitor.Attach(download);
dlSaver.Attach(download);
download.DownloadCompleted += OnCompleted;
download.Start();

Thanks for your reply!


How to call sanitizers with extra arguments?

Hello!
There are no examples of using sanitizers with extra parameters in the docs, e.g.: blacklist.
Question: What is the proper way to call them?
Feature Request: Please update the docs accordingly.
Thank you!

You should be able to just call req.sanitize('postparam').blacklist(options); (same as you would with the validators). Let me know if this doesn't work.
I'll make a note in the docs.

These docs are added in v2.18.0.

That's cool, thank you!
However, are you sure blacklist accepts array of characters and not a string, e.g. 'abc'?

It takes whatever is specified in the node validator's documentation: https://github.com/chriso/validator.js/blob/master/README.md
Thanks,
Rusty Bailey

On Oct 28, 2015, at 5:48 PM, Slava Fomin<EMAIL_ADDRESS>wrote:
That's cool, thank you!
However, are you sure blacklist accepts array of characters and not a string, e.g. 'abc'?
—
Reply to this email directly or view it on GitHub.


Moved linode driver to molecule-linode

The driver has its own repository now:
https://github.com/pycontribs/molecule-linode

Replaced by https://github.com/ansible/molecule/pull/2401


Migrate to gomarkdown

As the BlackFriday project is no longer active, this pull migrates us to gomarkdown

Hi @mandolyte ,
Yes, that's a relic from when we moved mdtopdf.go into cmd/md2pdf, it's not related to the migration to gomarkdown of course but I fixed it just now.
On a more general level, do you reckon perhaps we should move these resource files (russian.md, test.md, helvetica_1251.json, etc) into a separate directory?
Cheers,

@mandolyte , obviously, it's your call:) But I agree it's significant, even if I've gone to some lengths to make sure it's not something end users will notice (to wit: to ensure I haven't broken anything). I don't think going with v2.0.0 is unreasonable.

Sounds good... will wait until tomorrow... won't have time to release today. Thanks for all the work you have invested!!


Update main.py

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Describe the changes proposed in the pull request A quick description of the changes made to the repository
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:

Thanh you so very much

fr fr.


Add installation sections on Windows for winget and standalone

After Pulumi #4676 was resolved, it is now possible to install Pulumi using winget on Windows but also using a standalone Windows x64 installer. This PR extends the installation section to include these options.
Also makes the distinction for manual installation where "manual" means downloading binaries to distinguish from downloading the standalone installer

Thanks @cnunciato for the suggestion, it makes sense. I applied the change and will merge when the CI goes green 😄


test 16- and 32- bits bitmap loading

Must be done with the BMP test suite, since our own BMP test image is not encoded with 16- and 32- bitfield masks.
This finally is a subtask of issue #20 .

Completed. Passes all related tests.


Status Effects API

This API enables mod developers to create status effects that are not removed by certain actions, such as drinking milk.

Tested and confirmed working!

Oh neat! I've been spared from testing this :P


Remove dependency on AWS S3 SDKv1

Description
This PR removes the dependency on the AWS S3 SDKv1. It does not include any new functionality and hopefully should not affect current functionality.
Issues Resolved
#1562
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1628 (d9a4cbf) into main (31bf29b) will decrease coverage by 0.66%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1628      +/-   ##
============================================
- Coverage     94.48%   93.81%   -0.67%
- Complexity     1160     1272     +112
============================================
  Files           159      167       +8
  Lines          3316     3652     +336
  Branches        268      292      +24
============================================
+ Hits           3133     3426     +293
- Misses          129      157      +28
- Partials         54       69      +15

Impacted Files
Coverage Δ

...dataprepper/model/configuration/PipelineModel.java
100.00% <0.00%> (ø)

...h/dataprepper/logstash/mapping/LogstashMapper.java
100.00% <0.00%> (ø)

...aprepper/peerforwarder/PeerForwarderAppConfig.java
100.00% <0.00%> (ø)

...eerforwarder/discovery/StaticPeerListProvider.java
100.00% <0.00%> (ø)

...r/peerforwarder/discovery/DnsPeerListProvider.java
100.00% <0.00%> (ø)

...repper/peerforwarder/discovery/DiscoveryUtils.java
0.00% <0.00%> (ø)

...prepper/peerforwarder/discovery/DiscoveryMode.java
88.88% <0.00%> (ø)

...rwarder/discovery/AwsCloudMapPeerListProvider.java
95.12% <0.00%> (ø)

...pper/peerforwarder/PeerForwarderReceiveBuffer.java
74.54% <0.00%> (ø)

...pper/peerforwarder/PeerForwarderConfiguration.java
83.82% <0.00%> (ø)

... and 1 more

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

Thanks @jzonthemtn for providing this fix! I'm glad to see the AWS SDK v1 removed entirely now.


function: to_timezone(timestamp, timezone)

What type of enhancement is this?
API improvement
What does the enhancement do?
We need a function to cast a timestamp into other timezones such as:
SELECT to_timezone(1623167145000000, 'Europe/Berlin')

Implementation challenges
No response

Could it assign to me?

Sure

Could you give more infomation about this issue?

Of course.
We want to write a UDF that converts a timestamp with a special timezone.
An example of a timestamp function can be found:
https://github.com/GreptimeTeam/greptimedb/blob/develop/src/common/function/src/scalars/timestamp/to_unixtime.rs
After you implement the function, remember to register it to the function registry:
https://github.com/GreptimeTeam/greptimedb/blob/662879ff4b90687c79136bea1ce520e19b53ceff/src/common/function/src/scalars/timestamp.rs#L25
And test it in sqlness too:
https://github.com/GreptimeTeam/greptimedb/tree/develop/tests/cases/standalone/common/function

to_timezone in questdb: https://questdb.io/docs/reference/function/date-time/#to_timezone:

Arguments:

timestamp is any timestamp as Unix timestamp or string equivalent
timezone may be Country/City tz database name, time zone abbreviation such as PST or in UTC offset in string format.

Return value:
Return value type is timestamp

As mentioned in https://github.com/GreptimeTeam/greptimedb/pull/2039#discussion_r1508491202, we can restrict the input type to a timestamp (users can cast a string to a timestamp before using this function).
Then we can choose the time unit of the return type according to the input.


Fixes bug in 'spo app add' returning an object instead of just the ap…

Fixes bug in 'spo app add' returning an object instead of just the app ID. Closes #2080

Coverage remained the same at 100.0% when pulling 8037fb7709050a7cb366a827fd948348bd362a06 on waldekmastykarz:fix-spo-app-add into d86c41723999b21ea6222f9dc24b43f81e2255cb on pnp:master.

Coverage remained the same at 100.0% when pulling 8037fb7709050a7cb366a827fd948348bd362a06 on waldekmastykarz:fix-spo-app-add into d86c41723999b21ea6222f9dc24b43f81e2255cb on pnp:master.

Merged manually

Merged manually


[#133962679] Update bugsnag, move to production group and require

Delaying requiring bugsnag until the initializer was causing problems:
NoMethodError: undefined method `configure' for Bugsnag:Module
	from /app/vendor/bundle/ruby/2.3.0/gems/bugsnag-4.0.2/lib/bugsnag/railtie.rb:30:in `block in <class:Railtie>'

I haven't been able to determine what the actual issue is, but was able to recreate it locally and work around it with this change.  For this project, it seems reasonable to restrict error reporting to the production environment.

Please review @DanielNill @AhmedBelal @maletor Thanks!!

Can you link the story in the PR description?

Add story link to the PR description.

👍


[Discussion] esm-d-ts

Hi Rich,
Just posting a note as I'm quite active on the Svelte side of things and have built a tool for automatic ESM to DTS support that I use for my expanding library effort that I've been at for the past 1.5+ years. I've been doing the ESM native thing this whole time + TS / JSDoc integration. It does a few things that your effort does not, but I'm certainly curious to take a look at your approach to the problem as it differs from the path I've gone down. Anyway.. My effort is here esm-d-ts. I should be finishing off some pretty advanced features in short order in regard to automatically linking local symbols for import types and ts-morph integration for when more involved AST modification of the generated DTS is useful (I've got one use case for that). From a quick gander at your effort it looks like you might be doing the former re: local symbol linking / import types.
There are some sharp edges to workaround in general w/ the ESM to DTS support via TS. An example there is "static private" variables get tweaked out by TS and remain in the public API via an awkward string substitution in the DTS output (still as of TS 5.0.4). I support TS transformers to handle some of that and also transformers to process JSDoc tags like excluding API that has @internal.
I should have a full beta release of my tooling out very soon w/ full docs; I'm semver conservative.  I'm also working on some rather compelling TypeDoc tooling that dynamically uses Svelte and will have a big announcement for that in a couple of weeks. It's more of a TypeDoc default theme augmentation and it cuts down disk space usage by 90% and speeds up doc generation by 80%; pretty insane results there especially for large projects. I use the generated and linked DTS from ESM source to generate cross-linked documentation that supports the TS in JSDoc. I'll have some examples of this for my library soon / next release.
So, just reaching out as we are solving similar problems especially from a library author point of view.
Cheers...

@typhonrt I just tried your esm-d-ts library and it worked great. I wasn't having much luck or was 100% clear on how to use dts-buddy, so wanted to give yours a shot. In short - holy crap, thank you! It worked right out of the box and did exactly what I needed.
I'm not a TypeScript user myself, but when I heard about Svelte moving to JSDoc, I wanted to see how I could leverage it in a similar way in my Rollup library starter. Quite honestly I wasn't sure where to even start. A few blog posts later and having been following Rich on GitHub, I ended up here.
Now I had zero expectations for getting this to work over a weekend. My first few tries with dts-buddy landed nowhere, as I mentioned. But when I tried your library everything just worked. I'm going to keep playing around with it, but just wanted to say thank you for sharing it! I'm surprised it has so few stars. Looking forward to the full release 🚀

@mryechkin I appreciate the kind words; they inspired me to dig deep and spend all week adding even more fit & finish / polish to esm-d-ts. This is not my forum so to speak, so I won't talk about new features, but it's definitely super streamlined at this point. You can check the README, etc.

But when I tried your library everything just worked.

I put a lot of work into getting it oriented towards zero configuration and being flexible for a variety of approaches including advanced library author use cases too. I also have the benefit of using the tool daily for the last 1.5 years, so a bit certainly was discovered in an iterative manner. I really do have to give appreciation to Guy Bedford for his excellent es-module-lexer package as that is the main underlying tool that allows things to work so smoothly to lexically analyze single file entry points.

I'm surprised it has so few stars.

Certainly a lot to say about that, but not the right forum; the one thing that will be true is that when I receive any sort of critical success it will be the extreme polar opposite of an "overnight success".

I do want to sort of bring this up and glad to discuss a technical point of concern on the current direction dts-buddy is implemented. Granted it's early days, but there is a particular edge case that likely won't get caught / seen if Svelte v4 / v5 repo is the test bed for building dts-buddy. I'd be glad to discuss that here or offline if you respond Rich. I also want to make sure any feedback is received as constructive, etc. so no need to bring it up if you're not interested.

One last thing I'd like to prime a future conversation with Rich and this is about a new resource and what I think could turn into a very valuable global resource for all JS / TS developers. This is related to creating API documentation from generated TS declarations. The one thing that has always irked me is that there is no definitive API docs for the TS built-in libs. When you link to any symbol from the built in DOM / ES / WebWorker libraries there is no where to go in your generated project API docs. Our IDEs use the built-in libs, but it would be great to have a global resource of 1:1 API docs for the TS built-in libs to link to. Even cooler is that I include the WebGPU / WebCodec / WebXR declarations / APIs in the docs as these are important APIs available now / imminently for the modern web.
I have spent a month building a customized TypeDoc project that creates complete API docs for the TS built in libraries and even cooler I provide a web component that provides buttons that cross-link all symbols to MDN and related TC39 specifications from the @mdn/browser-compat-data. There also is a TypeDoc plugin that associates all symbols from the built-in libs used in JSDoc when generating API documentation for any project.
This is why I spent a lot of time working on a way to reduce the disk space utilization of standard TypeDoc output. I accomplish this through some neat tricks with Svelte.  For instance the 2400 page DOM API docs goes from 1.4GB to 140MB putting it in reasonable range for a hosting company to perhaps be willing to host it as a global resource.
I'm not looking for any immediate response as I'll be finishing this off in the coming 1-2 weeks. I will put it up on Github pages and make an overview video, but if it takes off I'll hit the 1GB cap on GH pages quickly. It would be great to have you take a look at this when it goes up as Vercel could be a great organization to host said docs for the global dev community. Outside of your potential contact to take a look at this I'll be cold emailing / calling various orgs.

I'll drop you an email early next week to follow up.  If there is no further points of discussion to be had on this issue it can be closed.


Authy

Extension
https://www.raycast.com/guga4ka/authy
Description
Most of the accounts/tokens are marked as "corrupted". Only a few display the OTP.
I had been using the extension for a while and it was working fine. I added a new account and did "Sync" in Authy commands and since then accounts/tokens showing corrupted.
Also tried uninstalling/installing the extension and the issue persists.
Raycast version: 1.56.0

Steps To Reproduce

Open raycast
Search for Authy extension/command
Press enter

Current Behaviour
Many tokens are "corrupted"
Expected Behaviour
Display OTP

Have you seen that before @guga4ka

Sounds almost identical to this ticket #7659

that basically shows that Authy backup password is wrong. @pratham-emedgene could you pls double check it?

Backup password was correct because it worked in another device also the extension was working prior with the same password. However I did reset it and then re-installed extension and used new password and it worked. Authy changed their password requirements and may be it has got to do with it somehow.


JA RE SMP-82 and SMP-72, Landing Page routing and build user Search Page

Added routing to button on landing page, navbar, search, and skill page. Also built out the layout of the Search page.

Please solve merge conflicts

Please resolve merge conflicts 👍


Is it possible to support cosmopolitan?

Hi, thank you for the very neat library bringing C one step closer to Go :-)
Have you look into supporting cosmopolitan?
Looking at https://justine.lol/cosmopolitan/functions.html, cosmopolitan covers most of POSIX.
I changed one line in neco.c trying to compile one example.
-#elif defined(__EMSCRIPTEN__) || defined(_WIN32)
+#elif defined(__EMSCRIPTEN__) || defined(_WIN32) || defined(__COSMOCC__)

It seems only dladdr and _Unwind_Backtrace are missing to support llco
$ cosmocc -I../ ../neco.c channels.c -o channel
../neco.c: In function ‘llco_getsymbol’:
../neco.c:1352:20: warning: implicit declaration of function ‘dladdr’ [-Wimplicit-function-declaration]
 1352 |     if (sym->ip && dladdr(sym->ip, (void*)&dlinfo)) {
      |                    ^~~~~~
../neco.c: At top level:
../neco.c:3902:18: warning: not sure if modding const structs is good

 3902 | static const int ALLOWED_SIGNALS[] = {
      |                  ^~~~~~~~~~~~~~~
../neco.c:3912:18: warning: not sure if modding const structs is good

 3912 | static const int TRAPPED_SIGNALS[] = {
      |                  ^~~~~~~~~~~~~~~
cc1: note: rewrote 2 switch statements
cc1: note: modified 3 initializations
/opt/cosmocc/bin/../libexec/gcc/x86_64-linux-cosmo/12.3.0/ld.bfd: /tmp/fatcosmocc.6206z09eh66x1.o: in function `llco_getsymbol':
neco.c:(.text+0x7f9): undefined reference to `dladdr'
/opt/cosmocc/bin/../libexec/gcc/x86_64-linux-cosmo/12.3.0/ld.bfd: /tmp/fatcosmocc.6206z09eh66x1.o: in function `llco_unwind':
neco.c:(.text+0xa5e): undefined reference to `_Unwind_Backtrace'
/opt/cosmocc/bin/../libexec/gcc/x86_64-linux-cosmo/12.3.0/ld.bfd: /tmp/fatcosmocc.6206z09eh66x1.o: in function `is_main_thread':
neco.c:(.text+0x7683): undefined reference to `pthread_main_np'
collect2: error: ld returned 1 exit status

I haven't considered cosmopolitain support, but it does seems interesting.
Have you tried adding LLCO_NOUNWIND define?
cosmocc -D LLCO_NOUNWIND -I../ ../neco.c channels.c -o channel

Most of example/*.c work! (except portscan/echo-server/client.c SIGV :-)
❯ ./channel ;./coroutines; ./generators; ./select
ping
coroutine: A (0)
coroutine: B (0)
coroutine: C (0)
coroutine: A (1)
coroutine: B (1)
coroutine: C (1)
coroutine: A (2)
coroutine: B (2)
coroutine: C (2)
coroutine: A (3)
coroutine: B (3)
coroutine: C (3)
coroutine: A (4)
coroutine: B (4)
coroutine: C (4)
done
0
1
2
3
4
5
6
7
8
9
received one
received two

with these two #define changes.
diff --git a/neco.c b/neco.c
index 5735360..e329b77 100644
--- a/neco.c
+++ b/neco.c
@@ -2874,7 +2874,7 @@ bool worker_submit(struct worker *worker, int64_t pin, void(*work)(void *udata),
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
 #define NECO_POLL_EPOLL
-#elif defined(__EMSCRIPTEN__) || defined(_WIN32)
+#elif defined(__EMSCRIPTEN__) || defined(_WIN32) || defined(__COSMOCC__)
 // #warning Webassembly has no polling
 #define NECO_POLL_DISABLED
 #else
@@ -3691,7 +3691,7 @@ static int is_main_thread(void) {
 static int is_main_thread(void) {
     return getpid() == (pid_t)syscall(SYS_gettid);
 }
-#elif defined(__EMSCRIPTEN__)
+#elif defined(__EMSCRIPTEN__)  || defined(__COSMOCC__)
 int gettid(void);
 static int is_main_thread(void) {
     return getpid() == gettid();

Wow. That's kinda amazing actually.

Hi, @tidwall thanks and congrats for the support!
It'd be great to hear your opinion if cosmos' epoll code is sufficient to support neco fd/socket features.
https://github.com/jart/cosmopolitan/blob/a31d5ea399a5fae9ff82c2944dab98e4a12e2bfa/libc/sock/epoll.c#L338
Cheers!

I gave it a try with the patch below ...
CC=cosmocc tests/run.sh passed 💯!
diff --git a/neco.c b/neco.c
index 47dc2fe..a892c85 100644
--- a/neco.c
+++ b/neco.c
@@ -2878,7 +2878,11 @@ bool worker_submit(struct worker *worker, int64_t pin, void(*work)(void *udata),
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
 #define NECO_POLL_EPOLL
-#elif defined(__EMSCRIPTEN__) || defined(_WIN32) || defined(__COSMOCC__)
+#elif defined(__COSMOCC__)
+#include "libc/sock/epoll.h"
+#include "libc/sysv/consts/epoll.h"
+#define NECO_POLL_EPOLL
+#elif defined(__EMSCRIPTEN__) || defined(_WIN32)
 // #warning Webassembly has no polling
 #define NECO_POLL_DISABLED
 #else
@@ -6486,7 +6490,9 @@ static void gai_args_free(struct getaddrinfo_args *args) {
         free0(args->service);
         free0(args->node);
         free0(args->hints);
-        freeaddrinfo(args->res);
+        if (args->res) {
+            freeaddrinfo(args->res);
+        }
         if (args->fds[0]) {
             must(close(args->fds[0]) == 0);
         }

FYI, also copied those COMSO APE binaries to Windows 10 (compiled in WLS2), only two tests didn't pass. Looks like comso's windows posix layer have some portability issues.
test_net.exe

test_wait.exe

I suspect this has something to do with the limitations of wepoll and the expectations that Neco has for epoll interface.
Neco uses epoll for all types of file descriptors, not just sockets. And it expects that sockets are real file descriptors, not just a Windows HANDLE.
Wepoll on its own doesn't fix this problem for Neco.
If cosmopolitan uses wepoll for all epoll functionality then those limitations will be extended to all programs that compile with comsoc.
To provide real network and epoll-like support for neco on windows there needs to be:

Better windows/posix layer, where more file descriptor compatibly is extended to socket handles, and an epoll/kqueue equivalent that works on any file descriptor. To make this work it would be a big undertaking.

Or, it may be better to just use the native Windows sockets API and IO Completion Port, and wrap the code in #ifdef _WIN32 blocks.


No Such Resource: File not found.

I tried this command:
git clone https://github.com/scrapinghub/portia/
cd portia
docker-compose up

and after that, I opened http://localhost:9001 by chrome, but No Such Resources message occurred.
What's the problem, and how to fix them?
This is the portia_app_1 logs:
Recreating portia_app_1 ... done
Attaching to portia_app_1
app_1  | + action=/app/docker/entry
app_1  | + shift
app_1  | + '[' -z /app/docker/entry ']'
app_1  | + case $action in
app_1  | + exec /app/docker/entry start-dev
app_1  | + action=start-dev
app_1  | + shift
app_1  | + '[' -z start-dev ']'
app_1  | + case $action in
app_1  | + _run
app_1  | + service nginx start
app_1  | + _set_env
app_1  | + path=/app/portia_server:/app/slyd:/app/slybot
app_1  | + export PYTHONPATH=/app/portia_server:/app/slyd:/app/slybot
app_1  | + PYTHONPATH=/app/portia_server:/app/slyd:/app/slybot
app_1  | + echo /app/portia_server:/app/slyd:/app/slybot
app_1  | /app/portia_server:/app/slyd:/app/slybot
app_1  | + /app/portia_server/manage.py runserver
app_1  | + /app/slyd/bin/slyd -p 9002 -r /app/portiaui/dist
app_1  | 2018-08-07 06:07:05+0000 [-] Log opened.
app_1  | 2018-08-07 06:07:05.051307 [-] Splash version: 3.2
app_1  | 2018-08-07 06:07:05.051612 [-] Qt 5.9.1, PyQt 5.9, WebKit 602.1, sip 4.19.3, Twisted 17.9.0, Lua 5.2
app_1  | 2018-08-07 06:07:05.051665 [-] Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
app_1  | 2018-08-07 06:07:05.051718 [-] Open files limit: 65536
app_1  | 2018-08-07 06:07:05.051759 [-] Can't bump open files limit
app_1  | 2018-08-07 06:07:05.153902 [-] Xvfb is started: ['Xvfb', ':1866928174', '-screen', '0', '1024x768x24', '-nolisten', 'tcp']
app_1  | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
app_1  | 2018-08-07 06:07:05.979383 [-] Site starting on 9002
app_1  | 2018-08-07 06:07:05.979500 [-] Starting factory <slyd.server.Site object at 0x7f3b42ae1c18>
app_1  | 2018-08-07 06:07:26.169396 [-] "<IP_ADDRESS>" - - [07/Aug/2018:06:07:25 +0000] "GET / HTTP/1.0" 404 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"

I gave up to use docker-compose, and instead, I executed this command:
$ docker pull scrapinghub/portia
$ docker run -i -t --rm -v portia_projects:/app/data/projects:rw -p 9001:9001 scrapinghub/portia

and it was succeed.

I'm getting the same issue with running it with docker compose, but don't just want to give up yet..

+1 - looks like the same issue as: https://github.com/scrapinghub/portia/issues/876

same issue, anybody have updates?

Had the same issue, but changing the compose file solved it for me:
version: '3' services:   portia:     image: scrapinghub/portia:latest     volumes:       - ./data/projects:/app/data/projects:rw


Establish safe points for context cancellation around BPF attachments

Currently, we obey context cancellations in replaceDatapath() and friends, but not a lot of thought was put into when it is acceptable to do so from a safety perspective. These were added during the ip2->Go loader migration to deal with VM stalls in CI, but we should be a bit more defensive to make sure the ELF's resources (mainly cilium_calls and policy call maps) don't end up in a state where entrypoints get attached, but the regeneration is cancelled before maps are pinned.
For example, reverting a map migration after one or more entrypoints have been successfully attached will cause disruptions. https://github.com/cilium/cilium/issues/29333 will help with this issue in particular, but the loader code needs to be given a sanity pass anyway. Don't allow context cancellations during these critical sections.

https://github.com/cilium/cilium/issues/29333 and others will mostly make this redundant. I've removed the context check in between starting map migrations and loading the ELF for now.


cherrytree: 0.38.5 -> 0.38.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cherrytree/versions.
meta.description for cherrytree is: '"An hierarchical note taking application"'.

Checks done (click to expand)

built on NixOS
/nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/bin/.cherrytree-wrapped passed the binary check.
/nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/bin/cherrytree passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 0.38.6 with grep in /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6
directory tree listing: https://gist.github.com/91a3f5735afa97e283b718a8eb316c0c
du listing: https://gist.github.com/6c61a1124c51cfdf6aa29326400b8307

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:
nix-shell -p cachix --run 'cachix use r-ryantm'

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/f890eb9e3b131800c79a57b340ea498a9a2aa5ef.tar.gz -p cherrytree
ls -la /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6

cc @AndersonTorres for testing.

Success on x86_64-linux (full log)
Attempted: cherrytree
Partial log (click to expand)
Writing /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/lib/python2.7/site-packages/CherryTree-0.38.6-py2.7.egg-info
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6
gzipping man pages under /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/lib  /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/bin
patching script interpreter paths in /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6
/nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6/share/cherrytree/glade/svg_to_png.py: interpreter directive changed from "/usr/bin/env python2" to "/nix/store/s0c7hm8rnxaablbs5lmfm30qk32wnblx-python-2.7.15/bin/python2"
checking for references to /build in /nix/store/bkyzyjdx5ipy01vly6bvfw6hjiplnm16-cherrytree-0.38.6...

Success on aarch64-linux (full log)
Attempted: cherrytree
Partial log (click to expand)
Writing /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6/lib/python2.7/site-packages/CherryTree-0.38.6-py2.7.egg-info
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6
gzipping man pages under /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6/lib  /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6/bin
patching script interpreter paths in /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6
/nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6/share/cherrytree/glade/svg_to_png.py: interpreter directive changed from "/usr/bin/env python2" to "/nix/store/hvpq9zrxxxmwqdqmzsvff0c494wrz3gy-python-2.7.15/bin/python2"
checking for references to /build in /nix/store/i717y2ff1c39zjq9512dhykk3flajj4n-cherrytree-0.38.6...

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: cherrytree
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Add spawn_fn to Remote.

It looks like spawn_fn already exists on Handle.
https://tokio-rs.github.io/tokio-core/tokio_core/reactor/struct.Handle.html#method.spawn_fn

Oh, looks like Remote::spawn already is a fn! sorry :(

Maybe Remote::spawn should be renamed Remote::spawn_fn for consistency?

Another thought, maybe Remote::spawn could return a Future of the return value (like thread::spawn). There could be an additional variant remote::fire(....) that doesn't return a future?

Yeah I think we should rename for consistency, although we've avoided in the past having a return value of a future for two reasons:

The semantics elsewhere when you drop the receiver are that the computation is canceled, which we can do but may not be the best default?
This can always be easily emulated with oneshot.

We should probably revisit this. I liked where it was left off where cancellation is the default, but there is a detach fn that prevents the cancellation.

I've needed to add the oneshot boilerplate every time (as far as I can tell looking back), which makes me think that it would be nice to include it by default (with another function that does't maybe, like fire).


mill: 0.5.2 -> 0.5.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mill/versions.
meta.description for mill is: '"A build tool for Scala, Java and more"'.
meta.homepage for mill is: '"https://www.lihaoyi.com/mill"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

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

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

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

found 0.5.3 with grep in /nix/store/rcq37z8qg95v7gfw38lwc1cm4hahpnab-mill-0.5.3

directory tree listing: https://gist.github.com/4cfafd97fbaa32415ed8cb358bcea105

du listing: https://gist.github.com/8b26fec0389ceb0609614d526ccd6f81

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

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
mill

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rcq37z8qg95v7gfw38lwc1cm4hahpnab-mill-0.5.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A mill https://github.com/r-ryantm/nixpkgs/archive/525d98ccf8c5060bf3f6646642b3688c983ca62a.tar.gz

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

cc @scalavision for testing.

This one can be closed in favor of this one:

https://github.com/NixOS/nixpkgs/pull/75423

Superseded


Operations - Power BI configuration change required for CIT client

Describe the issue
The client does not have the sufficient permissions to make some changes to the configuration of their Power BI workspace to allow embedded content
Which Sprint Priority is this issue related to?
Operational work that occured during spring 12
Additional context
ES have a person with the Power BI admin role & Power BI Pro license, however they are currently on vacation. ES reached out to see if I could assist.
The change I will be making requires the clients to create a AD security group & have it synced with Azure AD.  The configuration change will be a potential interim change until the ES Power BI person returns.
Definition of done
Successfully configure Power BI tenant settings to allow clients to complete their work.

This work has been ongoing for a few days with some back-and-forth emails with the client & waiting for the AD group to be synced.

Steps from the client
Admin Portal->Tenant Settings->Export and sharing options->Publish to web. Please enable this option. In the ‘choose how embed codes work’ select the ‘allow existing and new codes’ and in the ‘apply to’ option select ‘specific security group’ option and search


Upload final modifications v3

Pull Request Test Coverage Report for Build 94

53 of 53 (100.0%)  changed or added relevant lines in 16 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 98.739%

Totals

Change from base Build 91:
0.01%

Covered Lines:
470

Relevant Lines:
476

💛  - Coveralls

Pull Request Test Coverage Report for Build 94

53 of 53 (100.0%)  changed or added relevant lines in 16 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 98.739%

Totals

Change from base Build 91:
0.01%

Covered Lines:
470

Relevant Lines:
476

💛  - Coveralls


feat: ignore document store issued fragment for self signed document

@yehjxraymond @AdamJLemmon
First MR that skips OpenAttestationEthereumDocumentStoreIssued when the document contains a proof block.
Note that this detection only works for v2 document. V3 document being aligned on W#C VC will always have a proof block and thus we will need to check on the type of the proof instead

This looks good to me @Nebulis
Simple enough, if it is signed.. skip.  This should allow us to immediately use a documentStore for only revocation :)
Thanks!


Location history archiving

Look into modeling location history in Camlistore.
Look into http://owntracks.org/
/cc @mpl

oo interest. also makes me think of @donpdonp's https://icecondor.com/

Yes! I really wish there's an API for Google location history.
There's an old CL that did GPX point extraction. However we model location history it would good to keep sources like GPX and KML in mind.


IV04 NPC guns can be picked up with addon enabled

"I tested it with IV04 Base, star wars battlefront IV04 snpcs and all the items required for that addon. I also had the halo reach IV04 snpcs installed but I didn't test them. I only tested the star wars battlefront snpcs"

Resolved via 7baedd3a3df7b2b27ab9f9be7b83a0589d7fdaa1


fix: function.constant as an Option<bool>

As noted in the deprecation warning, when parsing compiler output, ethabi fills in a false. This causes trouble in ethers and foundry by making it so compiler outputted ABIs aren't parseable by ethers.js due to bad constant settings (i.e. false for a pure).
This PR fixes that by keeping it concrete for derive, but making it optional in the main implementation. This allows us to parse json from the solc compiler correctly and pipe that out to a valid ABI json. This could be an incorrect implementation, but it seems to work

an alternative method to fix this would be to peak at the state_mutability and make sure they are compliant with each other but an Option feels cleaner

good to merge

https://github.com/gakonst/ethers-rs/blob/master/ethers-core/src/abi/human_readable.rs#L320 <-- this is now not compiling since it pulls ethabi from Github

The ethabi is locked to a specific commit, so shouldn't be happening? In either case, we should fix there, PRs / Issue to track is welcome!


Question not really a bug

I am trying to download the output for a notebook run directly (directly accessing image files).
GitHub allows you to use raw.githubusercontent.com access files in this way.
What is the Kaggle equivalent to this?

There is a way to do it in the swagger spec I just get a 401

Hi @wkaisertexas - it seems like you're looking for kaggle kernels output <user>/<slug>?  401 is unauthorized, so it might be a problem with your key rather than a problem with the specific API you're calling.

The key I am using is the one that I got from the Kaggle cli and is valid as I am able to do somewhat critical things like manage / delete data sources.
If there is a way to get different permissions on a key, I did not know of one.

@wkaisertexas - I'm not sure how I can help you.  I responded to your initial query (how to get outputs) with a specific command.  You didn't say how you're getting a 401, so I can only give you the generic information that 401 means unauthorized.  If you'd like help with your 401 error, you need to provide repro steps.


Switched to click for argument parsing

Fixes #79. Did some manual testing and everything seems to work in a backwards compatible way.
Example --help output:
$ python elodie.py --help
Usage: elodie.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  import  Import files or directories.
  update  Update files.

$ python elodie.py import --help
Usage: elodie.py import [OPTIONS] [PATHS]...

  Import files or directories.

Options:
  --destination DIRECTORY  Copy imported files into this directory.
  --source DIRECTORY       Import files from this directory, if specified.
  --file PATH              Import this file, if specified.
  --album-from-folder      Use images' folders as their album names.
  --trash                  After copying files, move the old files to the
                           trash.
  --help                   Show this message and exit.

$ python elodie.py update --help
Usage: elodie.py update [OPTIONS] FILES...

  Update files.

Options:
  --album TEXT     Update the image album.
  --location TEXT  Update the image location. Location should be the name of a
                   place, like "Las Vegas, NV".
  --time TEXT      Update the image time. Time should be in YYYY-mm-dd
                   hh:ii:ss or YYYY-mm-dd format.
  --title TEXT     Update the image title.
  --help           Show this message and exit.

Ignore the travis failure. Sometimes the precision is off by .000000001.
I was having trouble installing click. Trying to figure that out.

Doh, what sort of problem for click?

@noonat I screwed up my python environment when trying to build packages for AWS lambda. Adding a ~/.pydistutils.cfg with the following was a terrible idea.
[install]
prefix=

Thankfully removing that file fixed everything :).
This PR looks good.

Oh my, haha! Glad you got it working again!


Input ... was not previously added to ShapeRefiner

When calling TF_GraphImportGraphDef, some graphs result in the error "Input (...) was not previously added to ShapeRefiner".
I'm still working on a MWE of a graph that causes this, but just wanted to double-check first that this does indeed indicate a bug. So far the graphs that trigger this involve back edges, although I'm not sure yet if that's necessary or sufficient.

A MWE would be useful. I think even a not-so-minimal example would be sufficient; it shouldn't be too hard to track down where/how this is happening even in a large graph. This does look like a bug to me (although there might be some weird usage case I'm missing... either way the example would help).

I don't have an end-to-end working C example yet since I'm working with a binding instead of the C API directly,
but

if you populate a graph with the content of the serialized metagraph https://storage.googleapis.com/malmaud-stuff/graph.pb and then
use TF_GraphImportGraphDefWithReturnOutputs on the graph from the metagraph https://storage.googleapis.com/malmaud-stuff/graph_import.pb , remapping "y:0"  to the tensor from the first graph named "out:0"

that triggers the error. If instead if you load those metagraphs into Python and use Python's TensorFlow.import_graph_def with the same remapping, it works. So this is unique to the C++ implementation of graph importing.

Can you provide a script in whatever language binding you're working with? How are you loading the metagraph in the non-Python case?

Or provide an example failing graph. Note that graphs with back-edges in them are typically invalid (unless the back-edge was specifically created for the while loop - for which there is special handling in the TF runtime).

As a very non-minimal working example:

Install julia v0.5,
then running `Pkg.add("TensorFlow.jl") in the julia REPL
replace ~/.julia/v0.5/TensorFlow.jl/deps/usr/bin/libtensorflow.so, with a libtensorflow that was compiled without using @malmaud's patch
then run Pkg.test("TensorFlow.jl")

IIRC, 2 or 3 tests in the Packages testsets will fail because of this issue.
At some point, I can re-run the above set of steps and post the core for those tests here.
I do believe they are related to the while loop.
and it was the dynamic_rnn tests: https://github.com/malmaud/TensorFlow.jl/blob/f3cfa3342e92ce15564b33298bcd67d8827f0c00/test/nn.jl#L38-L96

@skye
A MWE in julia:
using TensorFlow

sess = Session(Graph())
i = constant(1)
end_i = TensorFlow.while_loop((i->i <= 10), i->i+1, [i])
run(sess, end_i)

Using @malmaud 's patched version of libtensorflow.so v1.2.0 (patch here)
the out put is as expected [11]
Using a freshly built libtensorflow.so v1.3.0 (but I can confirm this happened much earlier very similarly)
the gives an error on the line starting end_i = TensorFlow.while_loop(...
Tensorflow error: Status: Input 0 ('Const') for 'while/Enter' was not previously added to ShapeRefiner.

I will now attempt to reduce this example down into something in a more supported language.
The metagraph I can export is below (may be being mangled by the encoding).
But I do not think it is useful, as the crash occurs before the graph is fully defined.
That metagraph I can reimport just fine.
\00i
[
ConstConst"\00*
dtype0	*
_class

\00"\00*\002\00*&
valueB	\00\00"\00j\00*\002\00:\00J\00RZ\00b\00"\00\00\00\00"
TrainableVariables\00"
QueueRunners\00"$

while_context

while
 \00J\00"
	Summaries\00"
	Variables\00

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


[Bug]: Current password is not a field in my database table

What happened?
After install the module, i can update the current password, but i receive this error:

How to reproduce the bug
Just follow the step-by-step of the project.
Package Version
1.0.9
PHP Version
8.3.7
Laravel Version
11.9.1
Which operating systems does with happen with?
Windows
Notes
No response

Hi Guilherme, I was unable to reproduce your error, neither on a new installation nor on an old one.
What version of filament are you using?

Hi everyone, thanks for the tips! I just updated the package to version 1.0.10 and it worked! Thank you!

My composer.json


fix needs-cody-pro model selector bugs

make needs-cody-pro models clickable so the user can upgrade: Fixes an issue with the new model selector where needs-cody-pro models were disabled and therefore not clickable.
fix bug where model selector would not work on first click: Similar to https://github.com/sourcegraph/cody/pull/4121 (HT @abeatrix).

Test plan

Sign in with a Cody Free (not Pro) user
In the chat model selector, select a Cody Pro-only model. The web browser should open to the upgrade page and the model should not be selected in the chat view.
Sign in with a Cody Pro user.
Select a different model. Ensure that the selected model is used (with cody.debug.verbose true in user settings).

@abeatrix nah you didn't miss anything, I said I'd get it on main. Thanks!


Allow for domain-wide delegation in google cloud apps

add a param on google cloud app hooks and operators to allow passing an account to impersonate.
some documentation from google on the subject: https://developers.google.com/identity/protocols/OAuth2ServiceAccount?hl=en_US

So it looks like this is only failing due to coveralls. Any chance you could overlook that and merge it anyway? :)

It's failing because of the test are failing, I think you most likely forked at a bad time. Can you please rebase your branch, that will re-trigger the tests.

@criccomini , do I have your blessing to merge this?

+1 on my end

LGTM, thanks for your contribution!


Remove Background Tracking Enabled from notification bar

Hey @christocracy first of  amazing plugin :+1: , just got it working after suffering for 30 mins due to callback issue on Android,
Anyways what i wanted to ask is there any way i can remove Background Tracking Enabled from notification drawer in Android or customize it according my specific app .
Thanks

Android has been refactored.

plugin no longer handles http; calls js callback (just like ios)
much improved battery efficiency.
no more foreground service

http://christocracy.github.io/cordova-background-geolocation/


fix some problems and An interesting feature has been added

Fixed problems：

When the meta tag about image in the layout page is set to empty, it will still appear in the generated file
In the layout page, the introduction of the search page is added, and some JS that do not need to be loaded immediately are changed to defer

New feature:
the "search" feature! However, to use this feature, you need to install the hexo Generator Search plug-in
It is to retrieve articles by requesting json files generated by plug-ins
I added a logical judgment to the layout.ejs file not to trigger the Search function in the generated page when the Hexo Generator Search plug-in is not configured, that means It also does not load the JS file used for the search
One problem is that the current JS files are small and separate, which causes multiple requests to be made when accessing the browser. This problem will be magnified when communicating over HTTP 1.1. I think I may merge a few of these JS files in the future

oh,and CSS file is the same

Awesome!!
I think I need to update the documentation page and move it to the repo README.md (so every contributor can add new feature usage/updates directly on it) since currently the doc page is located on my personal blog😅


Update scalafmt-core to 2.6.4

Updates org.scalameta:scalafmt-core from 2.6.3 to 2.6.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

Merging #129 into master will increase coverage by 0.98%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage   95.09%   96.07%   +0.98%
==========================================
  Files           4        4
  Lines         102      102
  Branches        4        5       +1
==========================================
+ Hits           97       98       +1
+ Misses          5        4       -1

Impacted Files
Coverage Δ

src/main/scala/io/circe/yaml/Printer.scala
100.00% <0.00%> (+2.08%)
:arrow_up:

Continue to review full report at Codecov.

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


Demo FT api in Vote microservice

For issue #164

Please add vote service readme to explain FT and Config changes made to this service. Thanks @aguibert !


Replace outdated samples by new ones using the latest version

Namely, sample-android and sample-bleeding-egde haven't been updated in a long time and there's been many changes since then.
We need a single new sample for Android that showcases use of buildscript dependencies, plugins and BoM usage.

2af05a7 is now merged


/etc/bash.bashrc leads to scp fail

I tried to copy my model files to a remote docker container using scp, but the ASCII welcome painting and warning sentences, i.e., the logo of "tensorflow" and "WARNING: You are running this container as root ...... ", cause a transfer failure. As scp uses ssh as the backend, it will fail if you print something when init an interactive shell.

Can you post the error message and the command you used?
Afaik, motd doesn't interfere with scp.

Can you post the error message and the command you used?
Afaik, motd doesn't interfere with scp.

I have fixed this problem by removing the cat command in /etc/bash.bashrc. The image tag I am using is tensorflow:1.14.0-gpu-py3. I know that motd does not affect the scp transfer, but the cat and echo command in /etc/bash.bashrc cause the transfer to fail. I think this is a potential problem for the users who are not familiar with linux. Thanks, close ~


Meaningful message if corrupted setuptools.

Fixes https://github.com/pypa/setuptools/issues/563.
Is not clear in ez_setup.py that it always uses a setuptools archive if
already downloaded: although useful (and even used as a feature in
buildout-bootstrap.py), it's hard for beginners that may have a
corrupted ez_setup.py.
So we just improve the error message, even showing the full path of the
probably "corrupted" zip.

@jaraco can you help us with the AppVeyor error? We're not used to Windows CI.

The AppVeyor error is just saying that there's no appveyor.yml file in that branch of the repo. I've updated the AppVeyor settings for Setuptools to ignore branches without the file.


Add types for kaminari-activerecord

Kaminari Active Record adapter.
refs: https://github.com/kaminari/kaminari

/merge


CollectNodes: Recurse into children of the target type

The test case CollectNodes.nested would have failed before this patch, with visitor.nodes() returning an empty list.
Checklist

~[ ]~ Language changes are updated in man/adoc/bpftrace.adoc
~[ ]~ User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Will probably need rebase to the fixed master.


intermittent-tracker: deploy servo/intermittent-tracker#5 and #6

This patch makes the changes needed to deploy servo/intermittent-tracker#5 + servo/intermittent-tracker#6.
We’ll need to generate an intermittent-dashboard-secret as follows:
$ python3 -c 'import secrets; print(secrets.token_urlsafe())'
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq

@jdm this patch now includes both the frontend and backend, let me know what you think :)

Deployed!


Nouveau ddoc signature returned by _info is wrong

If you GET the _info of a ddoc that contains just a nouveau section and one or more indexes, signature is always 3e823c2a4383ac0c18d4e574135a5b08.
Description
Any ddoc with just a nouveau key always has 3e823c2a4383ac0c18d4e574135a5b08 as a signature, which is also the same as the signature for any "empty" ddoc without any indexes, eg.
{
  "_id": "_design/test",
  "_rev": "9-1607aa524e868b26cb775a5252a6ced3",
  "language": "javascript"
}

So it seems the nouveau object in ddocs is invisible to the hashing function used for signature.
Note that proper 64bit hashes are generated per ddoc for the directories on disk, so the hashing does work somewhere:
data/nouveau/{nodeName}/shards/{shardName}/{databaseName}.{someInteger}/{ddocHash}

The {ddocHash} here looks as expected (for a Nouveau ddoc, which should have a 64 bit hash).
Steps to Reproduce

Look at the /_info output of any ddoc that has a nouveau section

Expected Behaviour
I would expect these to be different from ddoc to ddoc and between changes to the same ddoc, like it is for ddocs with a views section.
Your Environment
{
  "couchdb":"Welcome",
  "version":"3.4.1",
  "git_sha":"f504e38a5",
  "uuid":"4e36c505782b7068ead9895902c5f07d",
  "features":[
    "nouveau",
    "access-ready",
    "partitioned",
    "pluggable-storage-engines",
    "reshard",
    "scheduler"
  ],
  "vendor":{"name":"The Apache Software Foundation"}
}

CouchDB version used: 3.4.1 Mac binary
Browser name and version: Requests made using Thunder Client for VS Code
Operating system and version: Mac OS Sonoma 14.6.1

we had a brief look at the index calculation, but couldn’t spot anything obviously wrong.

thanks, will find and fix.

I don't follow? How are you seeing a signature at all? curl 'http://foo:bar@localhost:15984/db1/_design/baz/_nouveau_info/foo?q=*:*' -s | jq {   "name": "_design/baz/foo",   "search_index": {     "update_seq": 23,     "purge_seq": 0,     "num_docs": 0,     "disk_size": 228   } }

the one from _info is under view_indexer and relates only to the view group. it is correct that a nouveau blob doesn't change it.
Will add 'signature' to _nouveau_info output in response to this issue though


Localization process enhancements for Crowdin

Hey,
I've managed to make the multilingual support finally and fixed a typo in the file name :)

Thank you so much, this is awesome! 🥳


systemd: add firstboot and sysusers

Description of changes
Adding two additional systemd tools to be used with mkosi.
I've tested this in combination with https://github.com/NixOS/nixpkgs/pull/243242

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

These are disabled on purpose as neither work with NixOS at the moment.
Sysusers conflicts with our user management.
And firstboot conflicts with our etc management.
I'd personally like to keep it that way unless we have better Integration done. So we should default these flags to false

@arianvp Thanks for the feedback, I've updated the defaults to false. :)


Widget gesture actions don't work when Htmlview contains an iframe

Steps to Reproduce

Snackbar onTap action doesn't work when placed over Google Maps in htmlView in Flutter Web. The gesture is consumed by Google Maps. See code below and picture. Instead of the yes action getting called the map zooms out when I click on Yes.

 Widget showMap() {
    debugPrint("PANICS: showMap()");
    showPanics(this.panics);
    return Column( children : <Widget>  [
 Container(
        height: MediaQuery.of(context).size.height ,
        padding: EdgeInsets.fromLTRB(10, 10, 10, 10),
        decoration: new BoxDecoration(
    border: new Border.all()
  ),
    child:HtmlView(viewType: createdViewId,
                          onPlatformViewCreated: _onPlatformViewCreated,
                        ),
     ),   SizedBox(height: 48)
    ]);
  }

  void _confirmDeletePanics(BuildContext context) {
    debugPrint("Panic:_confirmDeletePanics");
    Scaffold.of(context).showSnackBar(SnackBar(
        content: Text("Please confirm. Are you sure you want to delete the ${isSelected.length} selected alert${(isSelected.length>1)?"s":""}"),
        duration: Duration(seconds: 5),
        action: SnackBarAction(
          label: 'Yes',
          onPressed: () => _deletePanics(),
    )));
  }

Please include the output of flutter doctor -v  as well as a minimal example to reproduce the issue

@jonahwilliams
Please see the min repro code below. I found that this happens with Flatbutton and likely another Widget covering HtmlView and not limited to BottomBar or SnackBar so I have updated the issue's title.  In the code below I put Flatbutton over HtmlView in a Stack. The Flatbutton action should work since it is in front of the HtmlView but it doesn't. The action starts working if we replace HtmlView with a Text widget.
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:html';
import 'package:flutter_web_ui/ui.dart' as ui;
import 'package:flutter_web/material.dart';

void main() {
  runApp(new Center(child: new Directionality( textDirection: TextDirection.ltr,child:HtmlExample())));
}

class HtmlExample extends StatefulWidget {
  @override
  _HtmlExampleState createState() => new _HtmlExampleState();
}

class _HtmlExampleState extends State<HtmlExample> {
int count;
  @override
  void initState() {
    count = 0;
    ui.platformViewRegistry.registerViewFactory(
        'hello-world-html',
            (int viewId) => IFrameElement()
          ..width = '640'
          ..height = '360'
          ..src = 'https://www.youtube.com/embed/IyFZznAk69U'
          ..style.border = 'none');
    super.initState();
    // We use 3600 milliseconds instead of 1800 milliseconds because 0.0 -> 1.0
    // represents an entire turn of the square whereas in the other examples
    // we used 0.0 -> math.pi, which is only half a turn.
  }

  @override
  Widget build(BuildContext context) {
    return Stack(children: <Widget>[
      SizedBox(
      width: 640,
      height: 360,
      child:  HtmlView(viewType: 'hello-world-html')), //Text("Count = $count")),
      Text("Count = $count"),
      Column (children: <Widget>[
        FlatButton(child: Text("Count"), color: Colors.red, onPressed: () => setState((){count++;})),
        Text("Count = $count"),
      ],)
    ],);
  }

  @override
  void dispose() {
    super.dispose();
  }
}

This is a known issue when you have iframes in your HtmlElementView. This is a fundamental limitation in browsers, but we are investigating ways to address it, at least partially.
Just a heads up, this is not a small project, so it will take time. In the meantime, consider using non-iframe HTML (which google maps may have; dunno for sure).

Thank you for the analysis. I will try with the non-iframe HTML ASAP and get back.
On Thursday, September 19, 2019, 03:22:02 PM PDT, Yegor<EMAIL_ADDRESS>wrote:

This is a known issue when you have iframes in your HtmlElementView. This is a fundamental limitation in browsers, but we are investigating ways to address it, at least partially.
Just a heads up, this is not a small project, so it will take time. In the meantime, consider using non-iframe HTML (which google maps may have; dunno for sure).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@vikramkapoor can u provide resource or code for GoogleMap in Flutter or using iFrame. I am unabe to make it work. the same UI that u posted

Here is the code that displays the map with markers. I believe this has to be re-done now since HtmlView that is using is from the Flutter_web package which is no longer needed/works after flutter converged the web support last month.  I am unabe to make it work. the same UI that u posted
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don't receive onTap with InkWell when child contains video element
However ripple effect is appearing on every tap
I suppose, this is a different bug?

I notice this issue as well. I also believe this is not an issue related to using Iframes inside HTMLElementView. I have created a flutter web project which makes use of HTMLElementView and other Material components like PopupMenuButton, showDialog etc. Its easy to notice this when the popup menu open and if we scroll the mouse wheel eventlistener on the DivElement which is rendered below this menu.  Additionally the click event is passed down as well. This also applies when a dialog is shown  which effectively uses ModalBarrier to prevent the user from interacting with anything below this dialog.
This i especially inconvenient when a Plot is being rendered below the popup menu or the dialog. In my case I am rendering a plotly Plot which is unnecessarily consuming these events and reacting.

I have uploaded this simple project in Github for reference.

same issues....😂
Is there any other way?

This is a known issue when you have iframes in your HtmlElementView. This is a fundamental limitation in browsers, but we are investigating ways to address it, at least partially.
Just a heads up, this is not a small project, so it will take time. In the meantime, consider using non-iframe HTML (which google maps may have; dunno for sure).

I have the same issue with my project. Are you sure about the modification completion time?

// ignore: avoid_web_libraries_in_flutter
import 'dart:html';
import 'dart:ui' as ui;

import 'package:flutter/material.dart';

void main() {
  // ignore:undefined_prefixed_name
  ui.platformViewRegistry.registerViewFactory('someViewType', (int viewId) {
    final wrapper = DivElement();
//     final div = DivElement()
//       ..contentEditable = 'true'
//       ..style.width = '100%'
//       ..style.height = '100%';
//     wrapper.append(div);
    final div = IFrameElement()
        ..width = '640'
        ..height = '360'
        ..src = 'https://www.youtube.com/embed/IyFZznAk69U'
        ..style.border = 'none';
    wrapper.append(div);
    return wrapper;
  });

  // ignore:undefined_prefixed_name
  ui.platformViewRegistry.registerViewFactory(
      'hello-world-html',
      (int viewId) => IFrameElement()
        ..width = '640'
        ..height = '360'
        ..src = 'https://www.youtube.com/embed/IyFZznAk69U'
        ..style.border = 'none');

  runApp(MaterialApp(home: HomeScreen()));
}

class HomeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      drawer: Drawer(child: Container(color:Colors.yellow, child: RaisedButton(
      onPressed:()=>debugPrint("123123")
      ))),
      body:  SizedBox(
      width: 640,
      height: 360,
      child: HtmlWidget(),
    ),
      floatingActionButton: Builder(builder: (context) {
        return FloatingActionButton(
          child: Icon(Icons.menu, color: Colors.white),
          onPressed: () {
            Scaffold.of(context).openDrawer();
          },
        );
      }),
    );
  }
}

class HtmlWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return HtmlElementView(viewType: 'someViewType');
  }
}

class HtmlHelloWorldWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return HtmlElementView(viewType: 'hello-world-html');
  }
}

Deduplicating with https://github.com/flutter/flutter/issues/54027.


Popover is always positioned in center of screen

Make sure you are sending the event object.
http://ionicframework.com/docs/v2/api/components/popover/PopoverController/

It worked!! Thanks for help me. I really need to read the docs


Highlight operators in SML

This adds highlighting to logical operators in Standard ML.

Gonna close this as wontfix. For now, adding the single rule to your styles.less file should help in the meantime.


Revert o.sync in FileSystemRenameIntegrationTest

What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

@rongrong Would you please take a look at this PR, I revert the o.sync() , it seems removed by accident.

alluxio-bot, merge this please


GH-28481: [C++][Python] Add adjoin_as_list function

Rationale for this change

adjoin_as_list combines multiple arrays row-wise as a list array. This is like the array[] constructor in Postgres and Bigquery. For example SELECT ARRAY[col1, col2] FROM table would combine columns col1 and col2 into a list.
For N arrays each with length M, the output list array will have length M and each list will have N elements. For example, adjoin_as_list([1, 2], [3, 4]) = [[1, 3], [2, 4]].
What changes are included in this PR?

Add the adjoin_as_list function and kernels for every type except for sparse unions (because Take doesn't support sparse unions yet).
Are these changes tested?
Yes.

Are there any user-facing changes?
No.

Closes: #28481

Is "adjoin" a common name for this operation? I wonder how other libraries (such as Numpy) name it. @jorisvandenbossche

Is "adjoin" a common name for this operation? I wonder how other libraries (such as Numpy) name it. @jorisvandenbossche

I think column_stack is the most similar operation in numpy.

@pitrou I think this PR is ready for review. Would you mind taking a look?

I'll do so after the release is cleared up. Thanks a lot for your contributions!

I've moved all ConcreteArraySpan and related type_traits to compute/codegen_internal.h since it'll likely only be used in kernel generation.