How to use builder with equality

I am trying to use the result of a subquery in an equality but could not figure out how to do it.
Trying something like below, any ideas how to achieve this?
someId := 1 // this is coming from the function parameter
sub := sqlb.NewSelectBuilder()
sub.Select("module_id").From("fault.alarm").Where(sub.EQ("id", someId)).Limit(1)

sb := sqlb.NewSelectBuilder()
sb.Where(
    sb.EQ("id", sb.Var(sub))
)

Here is a sample for you.
https://go.dev/play/p/QCnytMo9jzl
someId := 1 // this is coming from the function parameter
sub := sqlbuilder.Select("module_id").From("fault.alarm")
sub.Where(sub.E("id", someId)).Limit(1)

sb := sqlbuilder.Select("foo")
sb.Where(sb.In("id", sub))

P.S. MySQL doesn't support sub query with LIMIT clause.

Thanks so much! For the performance implications, and I think the optimizer will convert IN with a single value to = so they are basically the same


Reorder struct fields to decrease memory footprint.

Hi @lukaszraczylo, can you please explain how the reordering of the struct fields would decrease the memory footprint? Apart from that, the build fails because you have not reordered all occurrences of the fields.

Of course, more information - https://en.wikipedia.org/wiki/Data_structure_alignment
As an example - before the alignment

After alignment

serialization/model.pb.go:311:32: struct of size 80 could be 72
serialization/model.pb.go:387:27: struct with 56 pointer bytes could be 40
detector.go:90:23: struct with 112 pointer bytes could be 80
model.go:25:32: struct with 24 pointer bytes could be 16
detector_test.go:222:17: struct with 16 pointer bytes could be 8
detector_test.go:289:17: struct with 32 pointer bytes could be 16
detector_test.go:470:17: struct with 48 pointer bytes could be 40
detector_test.go:510:17: struct with 72 pointer bytes could be 56
model_test.go:201:14: struct with 32 pointer bytes could be 24
model_test.go:229:14: struct with 16 pointer bytes could be 8

Via https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/fieldalignment
You're welcome.


Fix brew cask style.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Closes https://github.com/Homebrew/homebrew-cask/issues/62644.

Thanks @reitermarkus!


fix all graphs missing

When both RRDTool's 'Only create average RRAs' and 'Show max values instead of averages' are changed at once (single to false and max to true), no graphs are rendered after restart due to 'RRAMax true' missing in '/etc/collectd.conf' and 'ERROR: the RRD does not contain an RRA matching the chosen CF' being logged

My bad, that only fixed ping :-(


Fix test names

What does this PR do?
Fix some test names to match the other tests
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.20%. Comparing base (9d82f91) to head (3912c12).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #791   +/-   ##
=======================================
  Coverage   70.19%   70.20%
=======================================
  Files         313      313
  Lines       45352    45352
=======================================
+ Hits        31835    31838    +3
+ Misses      13517    13514    -3

Components
Coverage Δ

crashtracker
38.06% <ø> (ø)

crashtracker-ffi
5.65% <ø> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
91.38% <ø> (ø)

data-pipeline-ffi
86.29% <ø> (ø)

ddcommon
81.60% <ø> (ø)

ddcommon-ffi
64.83% <ø> (ø)

ddtelemetry
59.45% <ø> (ø)

ddtelemetry-ffi
22.13% <ø> (ø)

dogstatsd
89.45% <ø> (ø)

dogstatsd-client
79.77% <ø> (ø)

ipc
82.82% <ø> (+0.06%)
:arrow_up:

profiling
84.30% <ø> (ø)

profiling-ffi
77.46% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
37.96% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
50.36% <ø> (ø)

tinybytes
93.60% <100.00%> (ø)

trace-mini-agent
72.38% <ø> (ø)

trace-normalization
98.23% <ø> (ø)

trace-obfuscation
95.77% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.05% <ø> (ø)


The extension is disabled due to a permission change. Need explanation

The new permission has disabled this extension on my chrome. I wanted to know the reason and impact of this permission change.
It says
 Read and change your data on api.github.com and github.com
Thank you for this helpful extension

@AnwarShah Thanks for your query! api.github.comisn't required. It has been removed in 0.4.1.

@AnwarShah github.com is required because this extension injects a code snippet to display size information on github.com pages.

That's quick. Thank you.


[Bug] auto-install command not working

i'm trying to use the auto install command but whenever i paste it into powershell and press enter nothing happens. i'm on windows 10 if that helps
not really sure where else i could have put this so i just put it here

known, i'm reinstalling my home server so nothing works

FIXED


Prevent recruiters to make cvs public

Recruiters are able to "convert" an application to a cv "Talent-Pool". But for privacy reasons of the applicant, this cv should not be allowed to be public.
We will think of a workflow to allow it somewhere in the future, but as we're working forward to 0.26, we simply disallow it for now.

was done in: https://github.com/cross-solution/YAWIK/commit/916406cc80b52811c17d9e1fcf33502375bb3b70


CommandBox integration

Install the jar.  Run it, make it available on ForgeBox etc.

Commandbox now supports simple jar downloads from maven. Maybe this is now easier to do? Just hosting a jar on forge box seems to be a bit overkill.
Would there be interest in a module for this?

Yes.  Either pull from maven or pull from github releases, either would
work.
On Thu, Aug 3, 2017 at 11:16 PM, Lonnie Ramirez<EMAIL_ADDRESS>wrote:

Commandbox now supports simple jar downloads from maven. Maybe this is now
easier to do? Just hosting a jar on forge box seems to be a bit overkill.
Would there be interest in a module for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cflint/CFLint/issues/310#issuecomment-320145597, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFtZu8Z0Q7mThvdF2ckaHZwTA2vz1nUhks5sUo0bgaJpZM4OGElX
.

I've got a Forgebox integration with another library I've done and I hooked that up to github. It hooks into git tags, so you don't even have to have only official releases but you can grab branches/tags from Forgebox then.

Hey @denuno - you're still keen to look into this for 1.3?

Per #560 this is done.


wss support with SecureServer

see https://github.com/ratchetphp/Ratchet/commit/369227dc1c0e5e016e729d8ab4789a0fd0ba85e4
Is it possible to make support for wss protocol with SecureServer?

We have no plans to add direct wss support to the router at this time.  Consider using nginx or another proxy instead.


Partnered with BreakingPoint Cloud

I plan to use BreakingPoint Cloud in MS Learn content for Azure DDoS protection - Do you have the Terms or Use (TOU) and permissions for the site before I link it to additional content.

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

ID: ad68687a-d309-25e2-dc73-3f25961dd666
Version Independent ID: 0322ed0a-5fe4-7d28-5104-eff892b8c159
Content: Azure DDoS Protection simulation testing
Content Source: articles/ddos-protection/test-through-simulations.md
Service: ddos-protection
GitHub Login: @aletheatoh
Microsoft Alias: yitoh

Thanks for the feedback! We are currently investigating and will update you shortly.

@aletheatoh  Can yo uplease look into this?

#reassign: @AbdullahBell

Hello @jileary23, For BreakingPoint Cloud Terms of Use please connect with BreakingPoint Cloud directly.

#please-close


[Bug][OpenGLES] Sample mip1 and render into mip2 of same texture on mobile, renderdoc can not display texture result correctly

Description
I was doing texture downsampling with opengles on mobile.
I have a texture which mip1 has some valid color in it, then i want to render into mip2 of the same texture with a pixel shader sampling from mip1.
It works fine on my mobile device. But when i capture it with renderdoc, it display nothing on my rendertexture, and sometime it just disconnect with my device when i click the drawcall api in event browser.
Steps to reproduce
miplevel_read_write.zip
This is a demo project using android studio.
You can run this demo with a android mobile device, and capture it with renderdoc to reproduce this bug.
Environment

RenderDoc version: 1.32
Operating System: MI8 - MIUI 12.5.2
Graphics API: OpenGLES 3

I can look into this in more detail soon hopefully but I took a quick look at the code and I think I might know what the problem is.
Does the problem still occur if you reset BASE_LEVEL and MAX_LEVEL to their proper values covering the whole texture after modifying them during the draw function? Something like this:
Java_com_example_myapplication_MyGLRenderer_glDraw(JNIEnv *env, jobject thiz, int width, int height) {
    GLint maxLevel = 0;
    glBindTexture(GL_TEXTURE_2D, texID);
    glGetTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, &maxLevel);

    // ... rest of the code here ...

    glBindTexture(GL_TEXTURE_2D, texID);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, 0);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, maxLevel);
    glCheckError();
}

I tried this, it won't work on my mobile device, nothing can display.
According OpenGLES 3.2 Spec, it will become "Rendering Feedback Loops" when you sample and render same miplevel.
So it must be set by GL_TEXTURE_BASE_LEVEL/GL_TEXTURE_MAX_LEVEL to control which miplevel you can access in pixel shader, so that we do not conflict with render texture mipmap level.

Sorry for the misunderstanding of your suggestion.
I try your reset method at the end of my code, it works correctly now.
Thanks for help!

Aha that's good to know. In this case yes your application is doing nothing wrong and this change I suggested is not necessary for a legal application. But this is a scenario which is too difficult to be worth implementing proper handling for in RenderDoc.
GL is a poorly designed API and this modification of BASE/MAX_LEVEL is quite error prone since it controls both which mips are temporarily used as well as which are part of the texture in the first place - especially when using glTexImage for mutable texture dimensions.
RenderDoc will only work if these values change temporarily during rendering but are then restored to describe the full texture afterwards as with my suggested code. Otherwise it may determine the texture to be a different size or different number of mips than it really is. On proper GL this situation is a little better because you can use immutable texture storage and texture views, but on GLES you are limited to mutable textures only.
I'm going to close this issue since as above I don't think this is worth adding the extra handling for, for an API like GL.


Same object should be in item as was passed in options

item here is the parameter for the event onItemSelect . The properties are lost.

What version of the component are you using?

2.0.0-beta.6

I'm seeing the same problem (v2.0.0-beta.6, Angular 1.6.4), but only when I include dist/angularjs-dropdown-multiselect.min.js.  If I use component/component.js, everything works as expected.

From now on dist/angularjs-dropdown-multiselect.min.js is the only file that should be used, if you use bower or npm you don't have to worry about this. If you don't use bower or npm, you should.


Minor Mistake on Tutorial of Using parameters in a class (Python)

On this tutorial link
In the section 3 Build and Run:
It says:
The terminal should return the following message every 2 seconds:
[INFO] [parameter_node]: Hello world!
But since the callback timer set to 1 second, should this part be:
The terminal should return the following message every seconds:
[INFO] [parameter_node]: Hello world!
(Not only with foxy version, the other version also have the same content)
Please correct me if I am wrong! Thank you!

Yes, you are totally right.  Thanks for reporting.  See #3135 .


Bug in OS <=4.3 in class RecipientSelectView onTouchEvent

The class TokenImageSpan is unkwon to the systems 4.3 and under.
I fixed the bug changin the function onTouchEvent replacing the line :
TokenImageSpan[] links = text.getSpans(offset, offset, RecipientTokenSpan.class);
with :
RecipientTokenSpan[] links = text.getSpans(offset, offset,RecipientTokenSpan.class);

Thanks for the bug report. Can you please create a pull request with your fix?

Okey. I will.

done https://github.com/k9mail/k-9/pull/1640


Cap FormattedLogValues cache

#516
@glennc @davidfowl
I tried a ConcurrentLru cache in the initial commit, but it looked like perf halved in that scenario.
Current thought is to just cap the cache to prevent memory leaks, and if perf is a concern then the LoggerMessage.DefineScope pattern can be used.
Will file an issue in docs to document that pattern: https://github.com/aspnet/Docs/issues/2810

:up: 📅

No tests?

Ping


V1.0.3 版本发布

Codecov Report

Merging #73 (66f16ea) into V1.0.X (451d067) will decrease coverage by 0.24%.
The diff coverage is 46.15%.

:exclamation: Current head 66f16ea differs from pull request most recent head df5f99f. Consider uploading reports for the commit df5f99f to get more accurate results

@@            Coverage Diff             @@
##           V1.0.X      #73      +/-   ##
==========================================
- Coverage   53.28%   53.04%   -0.25%
==========================================
  Files         177      177
  Lines        8758     8777      +19
==========================================
- Hits         4667     4656      -11
- Misses       4091     4121      +30

Impacted Files
Coverage Δ

...eline_plugins/components/collections/configfile.py
25.47% <41.66%> (+1.61%)
:arrow_up:

apps/utils/batch_request.py
64.91% <100.00%> (+1.27%)
:arrow_up:

apps/gsekit/cmdb/handlers/cmdb.py
48.38% <0.00%> (-7.89%)
:arrow_down:

apps/gsekit/cmdb/views/tests.py
83.56% <0.00%> (-1.37%)
: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 451d067...df5f99f. Read the comment docs.


feat(task/website): support render subschemas.all_of

To solve unexpected snapshot update: https://github.com/oxc-project/oxc/pull/4742/files#diff-4c1a03dc03cfd00f9eaecb5c66b61f4e57272c6262253f0dc82ea1b71223bac2

#4800  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mysteryven and the rest of your teammates on  Graphite


Add a few more constructors/conversions

These are a couple of things I noticed while playing with this package in the course of working on https://github.com/JuliaLang/julia/pull/18777. Mostly I just wanted to say thanks for the package, I learned a lot from it and it was very useful as I played with different strategies.
FYI: if we do need to develop a faster pure-software implementation of lerpi that julia PR, then I think the main trick would be a SplitNumber{T} type that has already been passed through splitprec. Seems like the easiest way to develop that would be here in this package, and then possibly move a subset of the machinery to base. If I go that route, want it?

Thanks, I'm glad it's useful, I mostly wrote it while learning about the stuff myself.
It does seem like a good place to test things like that. Another reference is the https://github.com/JuliaMath/Libm.jl/blob/master/src/double.jl, which @musm has been working on.

If you only need a few extra bits of precision  this is good, however it is only inteded for use internally in Libm.Sleef:   https://github.com/JuliaMath/Libm.jl/blob/master/src/double.jl
however the files here are a lot cleaner  and include fma versions of every elementary function, division, multiplication, sqrt, addition
https://github.com/musm/Doubles.jl/blob/master/src/Doubles.jl
and all the results are normalized.

That looks great, @musm. Is this basically a drop-in replacement for DoubleDouble.jl, then?
I went to a talk on double-word arithmetic the other day by a PhD student working with one of the world experts (Jean-Michel Muller). They have proven error bounds and have a couple of new / simplified algorithms:
http://ieeexplore.ieee.org/document/7118139/
This is the state of the art for double-word algorithms as far as I understand.

@dpsanders Interesting paper I'll have to take a closer look later.
My Doubles.jl package, employs several hacks to Julia's promotion machinery (since it's not sophisticated enough to handle this use case) to gain efficiency. The trick is that we do not promote user  values such as   x = 1.1  to   Double(1.1,0.0)   (which is wasteful since you end up doing computations with zero in the low bit field)  You can read the notes in the repo.  But the cool thing is that  1.1*Double(1.0) automatically does the right thing and does not do wasteful operations with the zero bitfield.
At this point it's a prototype, already many things work, but due to do the promotion machinery hack, we do not have many fallbacks, which have to be manually written (This isn't really a disadvantage because for these cases we can write more efficient code to ignore the zero bit field)
In any case, double arithmetic is a little too slow  on non fma systems, so I have to rework libm.jl.


Dropping an HttpClient aborts all transfers associated with it silently

Discovered here: https://github.com/rustasync/surf/issues/36
The title says it all. If you are not careful to keep your HttpClient alive long enough to finish all of your outstanding transfers, then your response Body will report end-of-stream silently without warning.
This is clearly not good behavior, but it brings up a question: what is good behavior? While ResponseFuture explicitly does borrow from HttpClient, the returned Response<Body> does not, and so it is no longer clear that the response body still depends on the client to do its work.
I see three possible correct behaviors:

Add a lifetime to Body that matches the lifetime of the associated HttpClient. This might be the most "correct" solution, but adding a lifetime to the body will make using it a lot more tedious.
When a client is dropped, all associated incomplete streams should return an io::ErrorKind::BrokenPipe error.
Keep the agent thread alive even if the HttpClient is dropped, until all outstanding transfers are either completed or cancelled.

I am currently leaning toward behavior number 3, because it seems like the least surprising one based on the API we present, though the drop behavior of HttpClient would no longer be as intuitive. Currently dropping HttpClient waits for the agent thread to clean up its resources before returning. Should dropping the last outstanding Body also wait until agent resources are cleaned up? Something about asynchronous drops doesn't sit right with me.

If going ahead with 3), I wonder if the IO-operation is stopped if the Response<Body> is dropped, as would be the case if the Response<Body> would keep the HttpClient alive.
Being able to just drop anything related to the future and see all corresponding operations vanish automatically is a fantastic feature.

Regardless of what behavior dropping HttpClient has, yes, dropping either a Response<Body> or a ResponseFuture will make a best-effort to abort the transfer. This behavior does already work, though there's a couple of optimizations we could make still (after dropping Body, curl might do 1 more read before aborting). Communication is done via message passing to avoid slowing transfers down with synchronization, so there's always a chance of one more tick of the event loop before the transfer is aborted.

This fix will be included in the next release.


Compatible Vite versions

I have a Vite Vue app and tryed to use your plugin for IE11 support. However, I cannot get it working. I tried Vite versions 1.0.0-rc.6 to 1.0.0-rc.13, but depending on the Vite version either the *.legacy.js is not written to disk or your loader script is not injected into the index.html file.
I have uploaded a sample project to reproduce the issue here: https://github.com/tonithenhausen/vite-plugin-legacy-sample
I am using your version 0.1.4 since your PR to the vite repo has not been accepted yet.

I'm not sure it works with any official version. I have my own vite fork that works, which is currently based on 1.0.0-rc.13. I'll publish that to @alloc/vite on npm sometime soon.
I'll get it working with the official Vite once v2 is released.

You can now install vite-plugin-legacy@next and vite@next :)

Thanks and Happy New Year! I will give it a try.

Thanks and Happy New Year! I will give it a try.


Crash attempting to build dimlet dimension - Factorization

Hey there.
I received the following crash when attempting to build a blank dimlet dimension. It seems to be an x-mod conflict with Factorization in some form.
I'm not sure if there is anything you can do about this on your end or not so I have also reported it with neptunepink.
http://pastebin.com/phD55KMZ
If you need any further information just let me know.

Hmm, that looks a bit weird but indeed I'd like to hear what the Factorization people think about it

Unfortunately it made it completely impossible to load up the generated dimension. Trying to create a new one didn't work either. I had to go into the world files and delete a couple of dat files to allow a new one to generate.
That of course didn't help either since the issue above simply reoccurred.

Seems like neptunepink has posted an update to Factorization that is meant to resolve this. Closing for now. if the issue persists then I will re-open it.


remove deprecated containerPath property from DriverPreCheckInfo interface

Remove the containerPath property from the DriverPreCheckInfo interface in the following file: common/lib/driver-definitions/src/urlResolver.ts.
To replace its functionality, use Loader.request().url.
Issue: https://github.com/microsoft/FluidFramework/issues/8274

@leeviana, would you be able to give some insight as to why you marked this property as deprecated and if you think it should still be removed? Thanks!


Feature: Allow users to change their email address

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?

Changes

Add ChangeEmailAddress modal
Add an API client code for updating the user email address
Send a notification when the email address has been changed

How did you test this code?

Click 'Account' at the top of the application.
Click 'Change Email Address' button.
Set a new email and your current password.
Click 'Save Changes' button.

Added a few comments on specific lines of code. I'm also wondering whether we should include this in the E2E tests? @kyle-ssg what do you think?

Yep discussed with @novakzaballa actually, agreed on an approach and will do this as part of this PR

@matthewelwell the call to logout user has been added after the user changes its email address.

Added a few comments on specific lines of code. I'm also wondering whether we should include this in the E2E tests? @kyle-ssg what do you think?

Yep discussed with @novakzaballa actually, agreed on an approach, and will do this as part of this PR. It'll be added to the end of the invite test so

Invite user
Register with user
Change email
Login with new email
Delete account (upcoming pr)

Hi Kyle, let's do the E2E testing of this in a new ticket please since it will include the delete account feature which is not yet deployed. I created a draft task in our Kanban for this: https://github.com/orgs/Flagsmith/projects/2/views/7?pane=issue&itemId=27359177


[IOTDB-2277] CQ: No warn message when aggregate function and timeseries types do not match

See IOTDB-2277 for more detail.

Coverage decreased (-0.009%) to 67.615% when pulling 1a9f00f25d0745cc7a404345b9d1d49dffcfd31f on iotdb-2277 into d7360bc087dfb04c9a606e14bcf2f1427467b4e1 on master.


nixos-rebuild switch fails on LiveCD 15.09.706.45128de

Running nixos-rebuild switch or nixos-rebuild switch --upgrade at boot-up of a fresh LiveCD gives back:
downloading Nix expressions from ‘https://nixos.org/releases/nixos/15.09/nixos-15.09.706.45128de//nixexprs.tar.xz’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
unpacking channels...
building Nix...
building the system configuration...
these derivations will be built:
  /nix/store/6vi87s24avbaryb46pbwpb9ly6m3rslv-unit-polkit.service.drv
  /nix/store/8yq9sfxbhg25mcg5wncr23pgnnkn6r5d-unit-dbus.service.drv
  /nix/store/2s5hfk5jw4q7lpcja49jvs39khv8vfxa-system-units.drv
  /nix/store/zlq9ipfm40mbpaqrx0x9d2i97207crmw-nixos-15.09.706.45128de.drv
  /nix/store/aggw51mrm37bhm4p1l8ki8s6w4qb4p4k-local-cmds.drv
  /nix/store/5jmgsc5hd87cqixb7n27niza9rrm83af-stage-2-init.sh.drv
  /nix/store/m1wfaa7imnipldswyp1j9yq2k6r82abg-etc.drv
  /nix/store/snnizglbw49p83nlxkkixaigdr9b5b0c-nixos-15.09.706.45128de.drv
building path(s) ‘/nix/store/l7njqrvibrq7ynnx2z7gjfh8lbk1zzmn-unit-dbus.service’
building path(s) ‘/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de’
ln: failed to create symbolic link '/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de/nixos/nixpkgs/.': File exists
builder for ‘/nix/store/zlq9ipfm40mbpaqrx0x9d2i97207crmw-nixos-15.09.706.45128de.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/aggw51mrm37bhm4p1l8ki8s6w4qb4p4k-local-cmds.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/x6bkgp4lxm4dcpmh8igzp362wiq9ny89-unit-polkit.service’
cannot build derivation ‘/nix/store/5jmgsc5hd87cqixb7n27niza9rrm83af-stage-2-init.sh.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/snnizglbw49p83nlxkkixaigdr9b5b0c-nixos-15.09.706.45128de.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/snnizglbw49p83nlxkkixaigdr9b5b0c-nixos-15.09.706.45128de.drv’ failed

This happened a couple weeks back too on a previous LiveCD version.

Sounds like the same underlying issue as #10367

@dezgeg You're referring to the similarity in:
ln: failed to create symbolic link '/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de/nixos/nixpkgs/.': File exists
```

vs @cstrahan issue

```
ln: failed to create symbolic link '/nix/store/zz0hzi5imrg4927v6f8mv281qs6v6pbq-nixos-16.03pre69762.e916273/nixos/nixpkgs/.': File exists
```

The command above definitely worked in 14.04, so there was some regression that's causing nixos-rebuild not to work.

Does anybody even use the LiveCD ISOs?

It isn't typical to do nixos-rebuild on an ISO. People rather tend to try pre-installed stuff in there and install nixos.

@vcunat In 14.04, I took an CD ISO and ran a nixos-rebuild in order to install change some settings and install things before installing nixos onto the hard disk.
Right now the usecase is to change the hostId and hostName from the default in NixOS so I won't get the same hostId and hostName for all the machines, which is relevant for ZFS. I'm sure there are other usecases too.

I wasn't trying to say it isn't a bug, just that most people don't need it (but I have used it myself).

I just wanted to add my 'me too' to this issue.  In my case it is a NixOS 14.12.885.b373bf9 (Caterpillar) installation into Virtual Box.  I followed the instructions in the manual:
sudo nix-channel --add https://nixos.org/channels/nixos-15.09 nixos
sudo nixos-rebuild switch --upgrade

But I got the 'ln: failed to create symbolic link' issue shown here.  Now, when I do a 'sudo nixos-rebuild build --upgrade' I get the error along with the following (reduced) output:
> sudo nixos-rebuild build --upgrade
downloading Nix expressions from ‘https://nixos.org/releases/nixos/15.09/nixos-15.09.706.45128de//nixexprs.tar.xz’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
unpacking channels...
building Nix...
building the system configuration...
these derivations will be built:
  /nix/store/zlq9ipfm40mbpaqrx0x9d2i97207crmw-nixos-15.09.706.45128de.drv
  /nix/store/i4hscwn4rmwly2bj6xl9p9sb8zv6khdk-local-cmds.drv
  /nix/store/b70bbsaxid3qn5q1000p22m74saqamas-stage-2-init.sh.drv
  /nix/store/33907gdv6y921pq4lrf8z2gqnsprpkb3-nixos-15.09.706.45128de.drv
building path(s) ‘/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de’
ln: failed to create symbolic link '/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de/nixos/nixpkgs/.': File exists
builder for ‘/nix/store/zlq9ipfm40mbpaqrx0x9d2i97207crmw-nixos-15.09.706.45128de.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/i4hscwn4rmwly2bj6xl9p9sb8zv6khdk-local-cmds.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/b70bbsaxid3qn5q1000p22m74saqamas-stage-2-init.sh.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/33907gdv6y921pq4lrf8z2gqnsprpkb3-nixos-15.09.706.45128de.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/33907gdv6y921pq4lrf8z2gqnsprpkb3-nixos-15.09.706.45128de.drv’ failed

After this error I see this *.lock files in /nix/store:
[demo@nixos:/nix/store]$ ls -al *.lock
-rw------- 1 root root 0 Nov 14 15:05 g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de.lock

And I see the following files in '/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de/nixos/nixpkgs':
[demo@nixos:/nix/store/g1xbpwkc7agbfkcvs3fbz8rqwcsn4zk7-nixos-15.09.706.45128de/nixos/nixpkgs]$ ls -al
total 3908
drwxr-xr-x  7 nixbld1 nixbld    4096 Jan  1  1970 .
drwxr-xr-x  3 nixbld1 nixbld    4096 Nov 28 15:21 ..
-rw-r--r--  1 nixbld1 nixbld     599 Jan  1  1970 CONTRIBUTING.md
-rw-r--r--  1 nixbld1 nixbld    1650 Jan  1  1970 COPYING
-rw-r--r--  1 nixbld1 nixbld     352 Jan  1  1970 default.nix
drwxr-xr-x  3 nixbld1 nixbld    4096 Jan  1  1970 doc
-rw-r--r--  1 nixbld1 nixbld      40 Jan  1  1970 .git-revision
drwxr-xr-x  3 nixbld1 nixbld    4096 Jan  1  1970 lib
drwxr-xr-x  4 nixbld1 nixbld    4096 Jan  1  1970 maintainers
drwxr-xr-x  7 nixbld1 nixbld    4096 Jan  1  1970 nixos
lrwxrwxrwx  1 nixbld1 nixbld       1 Jan  1  1970 nixpkgs -> .
drwxr-xr-x 16 nixbld1 nixbld    4096 Jan  1  1970 pkgs
-rw-r--r--  1 nixbld1 nixbld 3935232 Jan  1  1970 programs.sqlite
-rw-r--r--  1 nixbld1 nixbld    2412 Jan  1  1970 README.md
-rw-r--r--  1 nixbld1 nixbld      13 Jan  1  1970 svn-revision
-rw-r--r--  1 nixbld1 nixbld     231 Jan  1  1970 .travis.yml
-rw-r--r--  1 nixbld1 nixbld       5 Jan  1  1970 .version
-rw-r--r--  1 nixbld1 nixbld      12 Jan  1  1970 .version-suffix

If there is any additional info that would help debug this issue, let me know. (note: --show-trace doesn't seem to provide any additional debugging output)

If it happens on 14.12 then this means it's a pretty old bug. Perhaps we can pinpoint which version the bug was introduced?

We also need a test once this is fixed.

(triage) status?

Well we need to try the commands again on the live cd. I suggest to put it in the CI system.

Removed milestone because this is fixed. Needs tests.

Just tested it with a live CD of nixos-18.09-minimal and I was able to nixos-rebuild switch and change env parameters and install packages.


ASSETS-6856 : Files: Share Link - Visual heading text Link Sharing is…

… not marked as a heading

Description
If we follow hierarchical structure of coral dialog, we will find coral-dialog-header, having text as "Link Sharing".
This coral-dialog-header does not have any role and heading level. So role="heading" and aria-level="2" is need to add. Combinedly, it acts as heading tag level 2
Therefore as a solution, I added both of the ARIA properties.
Steps to fix:
coral-dialog-header is a hierarchical component of "/coral/foundation/dialog" and it generated automatically by js file
So adding role and aria-level by js is best solution of it. Moreover, this is suggested by reporter in jira itself.
Jira: https://jira.corp.adobe.com/browse/ASSETS-6856
Related Issue

Motivation and Context
Actual issue:
In AEM 6.6 (cloudready), if we click on "Share Link" option from action toolbar from asset detail page. Then a dialog will open with a form. It has text "Link Sharing" as dialog header. So this dialog header did not have any heading role.
Solution:
Adding role and aria-level to the element.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

@Pareesh Please merge this PR.


Add Solidity language (take 5)

Summary

Conflicts with PR #3559.
Adds Solidity as a language (search result).
Changes current vendor of source.solidity grammar from davidhq/SublimeEthereum to caktux/language-ethereum. The latter includes work on the former, and provides a few more grammar files. Language detection for those can be more easily integrated later on, if needed.
Includes a simple heuristic to differentiate between Eagle soldermask .sol files and Solidity, and a test for that. The new Eagle samples are from storborg/regerberate, which is MIT-licensed.
Provides an example file written by your truly for pygments, which has a BSD license (Lightshow highlight).
In general, makes sure no GPLv3 code makes it into github/linguist, including git history.
Attempts to follow contributing guidelines.

Previous attempts
Sorted chronologically:

PR #2634 - closed as stale, due to possible mis-classification of many non-Solidity files with .sol extension;
PR #3161 - merged manually, proposed davidhq/SublimeEthereum as grammar vendor;
PR #3522 - closed as unheeding to discussion in PR #2634;
PR #3559 - currently open, proposes using .gitattributes as discussed in PR #2634 and builds directly on top of that (rather old HEAD), resulting in merge conflicts. Includes example that's licensed under GPLv3, to the best of my knowledge.

Outstanding issues

[ ] TestGrammars complains that the license for the caktux/language-ethereum vendor needs to be "whitelisted". It is unclear to me whether this action must be performed by a github/linguist maintainer, or can be done by me. The LICENSE.md has a non-standard note on inclusion of prior work from davidhq/SublimeEthereum.
[ ] CI fails due to this (see relevant build log).
[ ] master has drifted since PR opening - will rebase when the above is clarified.
[ ] Heuristic may still mis-classify many files (see next comment, or issue #3589).
[x] Heuristics test missing added.
[x] A way of indicating not-a-language detection is was proposed, but moved to https://github.com/github/linguist/issues/3589#issuecomment-298168908 due to its hackish nature.

Heuristic
As commit d852415204baaa94d53ac9fd98d7dbe1c873e230 notes, and as is discussed in PR #2634, there are many files with the .sol extension.
Many seem to fall into these categories:

Solidity.
1.1. Modern uses can be recognised by use of pragma solidity.
1.2. Older files (written before the introduction of pragma) can be rec-d by use of contract keyword, but this is incomplete. Different from discussion in PR #2634, contract may not be present for libraries (they will have library instead).
Eagle (electronics CAD) solder mask (or similar), rec-d by ending in M02*.
Solution files to UVa Online Judge problems, e.g. this one. The site seems to be a library of computational problems with means for automated solution submission. The files in question mostly contain space-separated numbers. This extension/format is not official: their submission specification page states that no file read/writes are to be performed, so the .sol is most likely a user convention to present results more easily.
Other? Drawing CAD solids? Solar flare measurements? SoLame scripts?..

(1.1) and (2) are detected by the simple heuristic included in this PR. The others are not. It is unclear to me whether proposed heuristic would skip classification for files not matching either regex.

Contribution guidelines suggest pinging @bkeepers for help with performance testing the classifier. So - ping! :)

I have found out that it is possible to indicate not-a-language with a one-line change (different branch to this PR's).
However, I'm very unexperienced with Ruby, and this approach may be too hackish.
I can cherry-pick that change to a separate PR if desired, or merge that branch into this PR's.

Did a rebase on top of master to fix .gitmodules conflict. Will force-push this rebased branch after running tests locally.

Any way I can help get this merged? What's the primary issue?

@onbjerg unfortunately, no.  The primary issue here is Linguist doesn't currently have a concept of "not-a-language" or an "unknown" option when multiple languages reach to the very end of the classifier and neither is correct. https://github.com/github/linguist/issues/3589 goes into a lot of detail on the limitation.

@lildude My understanding is that it's perfectly possible to merge the Solidity grammar files without an associated extension. The not-a-language feature (which looks to be quite off the roadmap for now) is not needed for that part. Am I correct?
Syntax highlighting would then be possible via .gitattributes. The Solidity community is growing and we would love to have better support for the language on GitHub.

@lildude My understanding is that it's perfectly possible to merge the Solidity grammar files without an associated extension. The not-a-language feature (which looks to be quite off the roadmap for now) is not needed for that part. Am I correct?

Wait a second. Is this a limitation of Linguist's mechanics, or a limitation of its' maintainer's motivational constraints? Because if an alternative solution is to simply fish 368,704 .sol files from search results, and manually go through each one identifying each one individually... well, yeah. Only I'd be insane enough to actually attempt that. =)
Challenge accepted.

OH WAIT, I completely forgot about GitHub's inexplicable and sadistic search limitations:

So much for the idea of not:username[1,2,3…]-ing my way through the site's contents... sigh Man..

Okay, I managed to scrape together a [selection of 8,529 .sol files] out of 368,706 total. =) .sol files of literally every format encountered in-the-wild can be found in the files directory of Alhadis/Linguist-Silo's sol branch.
 Which naturally led to -bash: Argument list too long error of an 8,000+ strong ARGV list. xargs is of no help here because of the ridiculous way I authored the deduping script.

Concerning the grammar change:

It is unclear to me whether this action must be performed by a github/linguist maintainer, or can be done by me. The LICENSE.md has a non-standard note on inclusion of prior work from davidhq/SublimeEthereum.

You can add the hash for the grammar license. As you guessed, this is caused by the non-standard note on prior work. We have this hash mechanism to ensure we don't miss changes and to ease the whitelisting of some non-standard licenses.

Changes current vendor of source.solidity grammar from davidhq/SublimeEthereum to caktux/language-ethereum. The latter includes work on the former, and provides a few more grammar files. Language detection for those can be more easily integrated later on, if needed.

Could you illustrate the improvements on syntax highlighting with a few Lightshow examples? Looking at the repository, the current grammar was updated more recently than the one you propose (which doesn't mean it's better, but at least it's still maintained).

I honestly think having a signature strategy would be more helpful in the long-term. Think of it as a fallback to match whatever hasn't been caught by anything else: a good example would be an XML doctype, or a PHP template which starts with <?php, but uses an unrecognised file extension.
I already employ this strategy for Atom's file-icons package, and it actually works like a charm. Since file extensions have higher precedence over last-resort, arbitrary pattern-matches, it's only when a blank is drawn you notice the improvement.

@pchaigno I now tend to agree, changing my mind since submitting the PR, based on the discussion above. Most importantly:

I'm firmly against merging this pull request as-is. If we did, then all .sol files would be classified as either Solidity or Eagle, which would be incorrect for most of them.

Taking into account that the "Eagle language" by itself is a misnomer, as highlighted by @Alhadis in https://github.com/github/linguist/pull/3560#discussion_r130211803, and nearly-guaranteed mis-classification, it's IMO best to scrap the heuristic.

Looking at the repository, the current grammar was updated more recently than the one you propose (which doesn't mean it's better, but at least it's still maintained).

Indeed. The seemingly unmaintained repo proposed in this PR now also lacks a few important keywords (e.g. assert) that have been introduced fairly recently, but are likely to see much use.

Salvaging this PR seems more involving than starting from scratch.
A "cleaner" approach might be to open a yet another PR, a-la @frangio's #3559 .gitattributes approach, but with a BSD-licensed example.

P.S. I've tried proposing Solidity's extension be changed to .solidity on gitter (ethereum/solidity-dev) a few months ago, but that "scrolled off" too fast. Will open an issue instead, linking here.

I'd use .sold, personally. Guaranteed to sell well.
Plus, you'd only be competing with a scant 7 in-the-wild usages.
But hey, I still don't even know what Solidity is, so... take my words with a grain of SaltStack. =) Whatever that is, too.

@lildude / @pchaigno Concerning the devious not-a-language conundrum, and my suggestion of matching files based on signatures as a last resort... such a solution would essentially be the same thing as what the heuristics are doing, only with the lowest/last priority, rather than the highest priority.
Would a potential (if not drastic) solution be to define a priority for each heuristic that governs at which point in classification Linguist invokes its logic? Just throwing random ideas out on the table, since I'm in the middle of poking through Ruby code, wondering where/how such a thing would be added...

IMO OK to close.
@frangio, please go ahead with the .gitattributes approach, as discussed in PR https://github.com/github/linguist/pull/3559.


Proposal for subcommand structure

I'm silently following the aurae project for a while now, and I'm really looking forward to what it will be!
I recently did some research on how different golang projects structure their subcommands. During this process, I came across perses and liked how they do it. So instead of saying "look ma how they did it!", I'm saying "look ma, this is how it could look like for ae, if we'd follow this approach".
⚠ Disclaimer: I'm fully aware that there is no ticket asking for such a PR, and by no means I'm expecting a merge!
But hear me out :)
The advantage is a clear interface for each subcommand, expecting:

a check for completeness (e.g. check for complete parameters, extract form args, etc.)
a step for validation (are all values of attributes coherent?)
an entry point into execution
a clear place for registering subcommands or subcommand-specific flags
every subcommand to be its own self-contained and composable package (nice for requirements like ae stop container # Note this has an alias: 'ae oci kill')

For demonstration, I added a version subcommand (I hope it's useful). This btw. addresses 50% of #3.
./bin/ae version
buildTime: "2023-01-06"
version: 0.0.1
commit: 3d1e6acf2590f58ba25b811c636be116be749701

Version allows output in JSON
./bin/ae version --output json
{"buildTime":"2023-01-06","version":"0.0.1","commit":"3d1e6acf2590f58ba25b811c636be116be749701"}
./bin/ae version -ojson
{"buildTime":"2023-01-06","version":"0.0.1","commit":"3d1e6acf2590f58ba25b811c636be116be749701"}

And an optional shorthand
./bin/ae version --output json --short
{"version":"0.0.1"}

As I said, I'm not expecting anything, but maybe it is at least some nice inspiration.
Thank you for your time and attention! ✌

Great PR. Yes these types of PRs are helpful, especially this early on.
I would encourage you (and anyone reading this) to do MORE of this! This is great 🎉
I think there is always going to be a chance we revert/undo some things as the project is obviously very volatile while its this early on. However I see only improvements in your work as it was.
Did you want to open up a 2nd PR and update the docs some for us as well? Maybe a small bit of documentation on "how to add a command" or similar?


Color documentation

Pretty long / hopefully comprehensive document about all the ways to use color in react-vis.
When I started really embracing react-vis getting colors right was my main pain point. Let's hope that this will help others gain full control of color.
This also highlights a few quirks / inconsistencies of react-vis when it comes to color, so there's more to do on that front.
Chosen bits -

This is great work, nice job @jckr 👍

Thanks @mcnuttandrew and @samhogg . The code does work - the document embeds live examples, not screenshots. However, the live examples are slightly different from the code displayed on the page - the data is being randomly generated, not stored in variables called series1 or series2 for instance. There are also extra props passed to XYPlot for aesthetic reasons.
my question to you @mcnuttandrew is if I merge this will the gh-pages branch / the .io page be automatically updated or how does that work?

The code does work - the document embeds live examples, not screenshots.

I'm not doubting that the code currently works, I want to make sure that it always works! That said, this PR is so 🔥🔥🔥  that if writing tests for it blocks you, I can write you some (maybe make a task for it?).

my question to you @mcnuttandrew is if I merge this will the gh-pages branch / the .io page be automatically updated or how does that work?

no it will not, there is one more step in between. you can either follow this tutorial, or i can cut a new copy for you https://github.com/uber/react-vis/wiki/Deploying-Documentation
Finally, it looks like you need to run the remove-unpm script to beat the travis errors.


Is it possible to load a local file into an iframe using file protocol in karma?

Expected behaviour
Be able to create an iframe in the karma browser and then set the src attribute of the iframe to a local file with the file protocal.
Actual behaviour
Does not load anything or does not throw any kind of error for loading.
Environment Details

Karma version (output of karma --version):
Relevant part of your karma.config.js file

karma version 1.3.0
Steps to reproduce the behaviour

Currently this is a question if this is something possible, or limitation to karma.
I will create a sample project for this, if needed for further investigation

Karma already runs tests in an iframe by default - you could do whatever you like, but if you want to nest an iframe with the test runner, you will have to create an eventing system where the tests in the iframe are able to notify the parent window, and then you would need an adapter for converting that data into test result reporting in Karma.
This is not really a karma problem, but more of an architecture problem is sounds like in structuring the test execution.

In addition to @wesleycho's comment, Karma uses http:// for communication. I'm pretty sure most browsers restrict accessing file:// from http:// pages for security reasons (e.g. otherwise sites could access /etc/passwd (file:///etc/passwd) without permission).
Karma does support hosting files from its server via the files configuration option as well as serving proxies:
http://karma-runner.github.io/1.0/config/files.html
Can you explain why you want file:// so we can understand your use case further?

@wesleycho @twolfson I will create a sample project and send it your way.


Manager - Server (PHP) Validation of Job Poster Fields

Description
Ensure all fields that a manager could fill out are being validated by the server.
Required for Completion

[ ] Create pull request to dev
[ ] Address issues found during peer review
[ ] Have someone else accept pull request into dev

Job poster builder makes this obsolete.


Exclude value of 0 in trusted tokens tests not testing value

The untrusted token tests that do not reference a value of 0 have been adjusted to exclude a value of 0, hence fixing their flakiness and isolating the test cases. The tests updated are:

Untrusted token transfers are ignored by default
Should return an empty array with no date labels if all the token transfers are untrusted
Should not return a date label if all the token transfers for that date are untrusted

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 93.319%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
5630

Relevant Lines:
5852

💛  - Coveralls


Fix k8s chaining

I broke next middleware chaining from k8s in my last commit.
Fixed here, and added chain test to appropriate integration tests.

One still nit.
LGTM

Codecov Report

Merging #510 into master will not impact coverage by -0.06%.

@@            Coverage Diff             @@
##           master     #510      +/-   ##
==========================================
- Coverage   38.21%   38.15%   -0.06%
==========================================
  Files         117      117
  Lines        5802     5810       +8
==========================================
  Hits         2217     2217
- Misses       3404     3412       +8
  Partials      181      181

Impacted Files
Coverage Δ

middleware/kubernetes/handler.go
0% <ø> (ø)
:white_check_mark:

middleware/rewrite/setup.go
14.28% <ø> (-2.96%)
:x:

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 fa1c90a...5f30d00. Read the comment docs.


ftpd windows version , the ftp server will crash if input 'dir'

E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/disk_file_system.rb:311:i
n gid_name': undefined method name' for nil:NilClass (NoMethodError)
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/disk_file_sy
stem.rb:257:in file_info'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/translate_ex ceptions.rb:45:in call'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/translate_ex
ceptions.rb:45:in block (2 levels) in translate_exceptions'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/exception_tr anslator.rb:24:in translate_exceptions'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/translate_ex
ceptions.rb:44:in block in translate_exceptions'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/file_system_ error_translator.rb:19:in method_missing'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:4
04:in block in format_list'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:4 03:in map'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:4
03:in format_list'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:3 99:in list'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/cmd_list.rb:
12:in block in cmd_list'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:3 14:in close_data_server_socket_when_done'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/cmd_list.rb:
6:in cmd_list'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/command_hand lers.rb:41:in execute'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:1
14:in execute_command'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:5 1:in block (2 levels) in run'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:4
1:in loop'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:4 1:in block in run'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:3
8:in catch'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/session.rb:3 8:in run'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/ftp_server.r
b:185:in run_session'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/ftp_server.r b:166:in block in session'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/connection_t
racker.rb:36:in track'         from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/ftp_server.r b:165:in session'
from E:/Ruby22/lib/ruby/gems/2.2.0/gems/ftpd-2.0.0/lib/ftpd/server.rb:10
5:in `block in start_session_thread'

Thank you for the bug report.  I have Windows now, so if I get a chance I'll set it up for Ruby development and see if ftpd can be made to work in Windows without too much trouble.
Windows support for ftpd is a low priority issue for me, behind other issues like getting the tests to pass in Ruby 2.4, so don't expect progress soon unless it comes from pull requests by others.


Missing Font?

When I'm looking through the console, it seems that there is a font missing from the module which is causing an error.  I don't notice any effect on the overall functionality, but it seemed like it might be worth mentioning.

When are you getting the error message? You are correct, it's a minor oversight - I'm importing a font (Halant) but it's not used by any of my dice configurations thus it is not selectable. I need to check whether I'll delete the import entry or properly introduce the font to the module.

Hi,
I shared reports of this with other devs and it sounds like there's a bug in how DsN and Custom Fonts interact with each other, which happens to affect your module as well.  I see the errors and warnings in the console when Foundry is first loading.

I think I fixed this.


Cursed recursive inscription has different number on ord.io compared to ordinals.hiro.so

Describe the bug
The short inscription number of this inscription is different between ord.io and ordinals.hiro.so
https://ordinals.hiro.so/inscription/81433a25e784366a7db917af98393be6eba232a03646e1fc072904fc3b8803b2i2

https://www.ord.io/81433a25e784366a7db917af98393be6eba232a03646e1fc072904fc3b8803b2i2

I expect the short numbers to be the same between the explorers.

Addressed in v2.0.0


Why no mention of Azure Virtual WAN?

I'm curious why there is no mention of Azure Virtual WAN. My understanding is that Azure Virtual WAN is pivotal in the hub/spoke design, going forward. Is this not the case?
Thanks,
Ahmet

Hi Ahmet, we work with proven practices. Artifacts that have actually been deployed to production in a customer environment. With that in mind, keep an eye out, since a vWAN reference architecture is in our backlog.


duplicate pages with www and non www &( http and https)

Dear Mr. Pascal Essiembre,
I have few websites where redirection is not enabled from NON-WWW to WWW and http to https. This is resulting in duplicate content.
Scenario 1
for Example both the below URLs are getting crawled and stored in the database resulting in duplicate pages.
http://www.example.com/home.html
http://example.com/home.html

Scenario 2
In this scenario both the URL page contents are same. one url is secure(https) and another non secure(http).
https://xyz.com/aboutus.html
http://xyz.com/aboutus.html

How do I enable  the collectors to crawl only WWW in scenario 1 and https in scenario 2
I will be loading 100's of URLs from a file and from all the URLs I will be removing www and sending as http://<domain>/. if the redirection is enabled to https or www then it fetches the unique pages else the collector is fetching both www and non www URLs resulting in duplicate page content
Canonical Link detector Ignore is Set to False
<canonicalLinkDetector ignore="false" />
Thank You

Gentle Reminder. Can I get a solution for this question?
Thank You

You can use stayOnDomain and stayOnProtocol or add/or reference filters to make sure it stays on URLs with https and www.  If your website sometimes switches from one to the other and you are afraid it may exclude otherwise valid links, you can use the GenericURLNormalizer if you know all pages are available with the www and https.
For example, adding addWWW, and secureScheme to the default set of normalization rules would do it:
  <urlNormalizer class="com.norconex.collector.http.url.impl.GenericURLNormalizer">
    <normalizations>
        removeFragment, lowerCaseSchemeHost, upperCaseEscapeSequence,
        decodeUnreservedCharacters, removeDefaultPort,
        encodeNonURICharacters, addWWW, secureScheme
    </normalizations>
  </urlNormalizer>

Thanks for the advise. I have quick question.
The Scenario is as follows:
I load 100 URLs from a file by removing www and all the urls will be  http only due to sub-domain issue. 563.
The input URLs for all the website will be in the below format
http://xyz.com
There may be four possible scenarios for each URLs

http://xyz.com
http://www.xyz.com
https://xyz.com
https://www.xyz.com

if the server has proper re-directions, then the collector will extract the content from only one set of content from these 4 URLs combination. if the server is not configured properly then the collector is extracting more than one set, resulting in duplicate website content.
Adding stayOnDomain and stayOnProtocol  will result in some URLs being excluded.
what is the impact on website which does not have www nor https
when l add addWWW, and secureScheme ? will the collector crawl or exclude these websites??
Thank you

If the same site has links that go from one format to the other but each page do not always exist in both formats, then yes, you could miss some.  Often sites will redirect all pages to a single format, or always offer both (the same site just served up differently).
If you need more control, you may have to use reference filters instead.  I invite you to try it first and see if you get the problem you describe.  There might be no such problems or only a handful that reference filters can handle.


feat: add the GrapQL endpoint support

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 72.34043% with 13 lines in your changes missing coverage. Please review.

Project coverage is 97.77%. Comparing base (a653f40) to head (6450f6e).

Files with missing lines
Patch %
Lines

crowdin/model/errors.go
0.00%
10 Missing :warning:

crowdin/crowdin.go
76.93%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   98.01%   97.77%   -0.23%
==========================================
  Files          66       67       +1
  Lines        3815     3856      +41
==========================================
+ Hits         3739     3770      +31
- Misses         52       63      +11
+ Partials       24       23       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add the bitwidth XML attribute for parity with the Vulkan XML specification

Vulkan, where there are enums/bitmasks that occupy more or less than 64 bits, defines a bitwidth attribute like so:
<enums name="VkPipelineStageFlagBits2KHR" type="bitmask" bitwidth="64">
    <!-- ... -->
</enums>

For Silk.NET's OpenXR bindings, we reuse the our Vulkan XML parser which depends on this attribute to treat an enum as not 32-bit. Because this attribute isn't present in OpenXR, any usage of XrFlags64 currently is treated as 32-bit.
This is partially our fault and we're working on fixing this in our bindings, but this issue is to once again make OpenXR's XML spec consistent with that of Vulkan.

Our schema is based on the Vulkan one when the WG started, but it's not exactly the same. As you noticed, all our flags are 64 bit, but there are additional differences (see the schema in the repo for details). I'm not sure specifying this would help much, but if e.g. @oddhack  thinks it's a good idea I'm not opposed.

So our flags are 64 bit, perhaps, but our enums are 32, which I didn't realize...

OK, I have submitted a merge request internally. It won't make it in time for the next release, but should be in the following one if the WG has no opposition. The patch includes updating the OpenXR relax-ng schema to require bitwidth="64" so it will stay up to date.


Ship a 64 bit VS Code build on Windows

Electron now ships a 64 bit version for Windows and Chrome has moved to 64 bit by default on Windows.

#507

Sorry for the dup, somehow github cannot match a search for "64 bit" with "64bit" :)


Simple way to bypass China-mainland regional restrictions

Hi,
I searched pull-requests history on youtube-dl and found that it turned out you were the active maintainer of BiliBiliIE. Thus I decided to send this pull-request to you. It is up to you to merge, improve and then create a new-pull request to the upstream, or not.
Regards,

you should send these pull request directly to the main project.

I searched pull-requests history on youtube-dl and found that it turned out you were the active maintainer of BiliBiliIE.

the extractor is made and changed by multiple contributers. i only fixed the extraction the last time. PR can be checked by any one of the maintainers, it depends on how much time we have.


Start glossary of terms

email Helen to get docs so far, and bring her into GitHub

#TeachOSM Dictionary#
##Entry	Term	Definition	Source &	Links/Resources##
1	TeachOSM 	is an online resource to assist educators at all levels to introduce open source mapping, on the OpenStreetMap platform to the classroom. Individual instructors can use the materials provided to develop assignments for their particular discipline and curricular needs.	TOSM
2	OpenStreetMap	is the free and open web map of the world. Anyone can edit OpenStreetMap and it supports a level of granularity not common maps produced by official agencies. Because of that, OpenStreetMap is an ideal platform for teaching the fundamentals of geography, such as place, space, and location.	TOSM
3	Open Source 	means accessibility for everyone, and updates and corrections are easily made online. The vast majority of mapping on the open platform comes from individuals, or small groups of individuals, such as community groups.	TOSM
4	Mapping Platform	a toolkit that helps you build a web mapping application.	OSGEO
5	OSM Foundation	an international not-for-profit organization supporting, but not controlling, the OpenStreetMap Project.	OSMF
6	Scale
7	Survey
8	Mapping
9	Geography
10	Humanitarian OpenStreetMap Team (HOT)
11	Field Papers
12	Resolution
13	Case Study
14	Tasking Manager (OSM TM)
15	Job
16	Administrative Rights
17	GeoJSON
18	KML
19	Cell Size


Listers with unviewable assets need a better UI

Currently - they look fairly normal except you can't click on them.
I'm not sure these are visible unless they are your assets? Suggested behaviour:

For assets owned by the current user - show a "broken" icon of some kind (I can make one if you want?) and have some clear text saying "This asset is not viewable" (and ideally give some actionable way to fix it)

If there is any way that people see these for assets they don't own then modify the wording accordingly

Do we need to discuss if and when non-displayable assets should appear? My initial thinking is that they should only appear in case 1 above - but I might have overlooked something.

Just realised in this case specifically - shouldn't they be clickable to allow me to fix them or delete them?

Also "nothing uploaded yet"?


[Automation] Generate Fluent Lite from maintenance#package-2021-05

[Automation] Generate Fluent Lite from maintenance#package-2021-05

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-maintenance


Default digest and signing algorithms are weak and considered no longer secure

SHA1 is broken, both in theory and in practice. Earlier this year, a team of researchers demonstrated a practical collision attack, producing two different files that hash to the same value: https://shattered.io/
On the current master branch:

pysaml2 uses SHA1 as its default digest algorithm:
https://github.com/rohe/pysaml2/blob/9cbbd9bd9f6bfa5e9ceace064dd1af4e2ff2f68c/src/saml2/xmldsig/__init__.py#L23
pysaml2 uses RSA-SHA1 as its default signing algorithm: https://github.com/rohe/pysaml2/blob/9cbbd9bd9f6bfa5e9ceace064dd1af4e2ff2f68c/src/saml2/xmldsig/init.py#L46

To fix this, SHA256 should be the default digest algorithm, and RSA-SHA256 the default signing algorithm.
Additionally, SHA1 is used for HMAC purposes, as HMAC-SHA1: https://github.com/rohe/pysaml2/blob/9cbbd9bd9f6bfa5e9ceace064dd1af4e2ff2f68c/src/saml2/xmldsig/init.py#L54
While the HMAC construction isn't obviously broken by the SHA1 developments above, it's probably a good idea to switch this to HMAC-SHA256 since there's no downside to simply using a stronger algorithm.

Practical for a state sponsored adversary, and the ability to create an XML document which will have the same signature with a SAML Response that you want to forge is still a couple of years away, but definitely LGTM. Would you care to send us a PR with the default algorithms replaced ?

The file has a comment saying Generated Mon May  2 14:23:33 2011 by parse_xsd.py version 0.4.
Is there a process I should use to generate a new file, or should I simply edit the existing file in-place?

See https://github.com/IdentityPython/pysaml2/pull/597

Move this issue here:
https://github.com/IdentityPython/pysaml2/issues/421
thank you, it's still in progress ...


Improve protect_future

Add a label
Add a timeout
Display a warning when the future takes too long to complete
Call record_progress after the future completes

Call record_progress after the future completes


Backup

ISSUE
The backup only save once. Any other changes are not saved.
The first backup create a private gist. If I add a project and backup again, the changes are not backed up. The gist has a new revision but whitout change.
Environment

OS: Mac OSX 10.11.5;
Atom: 1.8.0;
project-viewer: 0.3.10;

Steps
Please try to describe step by step how to get to the issue.

Open Atom
Create a backup with project-viewer
Project viewer message: Successfully backed up the DB
The gist is created in github
Add a project to a group
Create a backup with project-viewer
Project viewer message: Successfully backed up the DB
A revision is created for the gist. This revision indicate "No change"
Import file with project-viewer
Project viewer message: Retrieved DB from Github successfully
The created project is gone and the restored db is the one cretaed in step 2

Just did several others tests and found a way to make it work.
If I restart Atom before doing a backup, the changes are uploaded correctly.

hi @reverdin. so this option for saving to gist is trigged manually. the question is if the db is saving on creation.
it saves to db (not gist) on every action like collapse/expand. If you could be so kind and test this would be great.
will also investigate this as well as you are welcome to contribute!
It will not fetch from gist on reload open atom or leaving it

it will of course read from the db on reload.

Thanks for your help and first of all thanks for this really useful plugin.
Tried the following steps:

Add a project.
collapse/expand some groups
Toggle the project-viewer sidebar
Change the current project
File - Backup
The backed up revision is created in the gist but with no change
Quit Atom
Launch Atom
File - Backup
The backed up revision is created in the gist with the new project

I do not know how the db and saving is done but it is like if there is a working db which is saved on Atome exit and that it is the saved version which is sent to Github.

I am the one thabking you for liking and using this :)
i can only look at this in a few hours :/

Am totally happy like that now. Just have to restart Atom before backing up.
I mainly use the backup to import sync my desktop and laptop projects....
Thanks again

just updated the project. can you please validate if this issue is solved?

Hello,
Just did a test and the gist is created with the changes which is perfect.
Thanks for your quick release and have a nice week-end....

glad it's fixed xD. have a nice weekend too! take care


create a pipeline

by Aioli, we can run a single software at once, So it's possible to create a pipeline of multiple softwares in Aioli ? That mean  Aioli can run single software + pipeline both~

Aioli doesn't support piping tools together. You can initialize Aioli with multiple tools, but if you need a pipeline, you would not to run one tool, collect its output (usually by outputting to a file) and pass the data to the next tool

ok, if write a bash shell script to wrap multiple tools then run this shell script in Aioli  will work ?

It will not, unless you compile bash to WebAssembly then execute the shell script, which would be a very large effort


add playable demo to gh-pages

in order to help demo the project that will be built, we should add a new gh-pages branch with a build of the game that players can play. this will help in testing new features as added, and could be a good way to get people to checkout tutorial series
we could also add a banner to the source code, and maybe some type of graphic if they want to see how to build the game on youtube

I added a playable demo to Itchio here: https://galemius.itch.io/monster-tamer. Both the page and the game has links to youtube and the source code

Since I am not using gh pages, I should add in a gh action to deploy the game to itchio automatically when new code is pushed to the main branch


Feature request:  Repeating Alarm

Hi,
I  really like the app but the one thing that always bothered me is that the alarm sound just plays once.
It would be nice if there could be a repeating alarm that needs to be acknowledged or maybe just an option to replay the sound x-times once the timer has finished.
Thank You,

Thanks for the suggestion. I like this idea!
While a repeating alarm sound is not possible at all on iOS, we do have some options on Android devices. I have found two options so far. First, I did a quick experiment with an "insistent" notification sound and it is very annoying -- the sound plays in a continuous loop, without pausing, until you dismiss the notification. This is definitely not what I want. So, my idea is to go with the second option I've identified, which is to use a vibration pattern that repeats a couple of times over a few seconds. Do you agree this might be a good compromise?

I think a vibration pattern is a good idea, it is not as annoying as the alarm sound and still gives a good reminder.

Sounds good. This will be in the next version of Cuppa (to be released in a couple of weeks), so let me know what you think.

Cuppa 2.0.0 includes the new vibration pattern, but please note: you will likely need to reinstall the app to get the new notification config. This is because of Google's enforced limits that prevent apps from changing notification settings after the user has already approved them. The only way to "reset" notification settings for an app is to uninstall the app, install it again, and then re-approve it to send notifications. Luckily this to be a painless process as long as you have allowed Google to back up your apps -- you won't lose any of your custom teas.


Can I get file extension of the specific format code?

I have code like below:
youtube-dl.exe "https://xxxxxxx.xxxxx/xxxxx" -f 140 -g --get-title
With this code I can get the title along with the download address. But I need to know the video file extension of the format code (i.e. 140) like mp4 or 3gp or mkv.
How can I achieve this?

--get-filename or parse --dump-json.

Thank you


boards: remove CONFIG_PINCTRL toradex board

This pr is for fix / removed CONFIG_PINCTRL from toradex boards defconfig files ref (#78619).

I am closing this PR as it may conflict with another PR Request.


Bored man

Hiya @albertopoljak and thanks for your work and pull request. I mainly created this repository to learn more about how to use Git and GitHub, but also to improve my Java coding skills using a professional IDE with git integration. I didn't expect somebody to jump on board this soon, but I'm very happy you did! I like what you are proposing, but unfortunately you cloned my repository right before I restructured the directory layout. My idea was to follow the Standard Directory Layout as suggested by Apache Maven. I see your pull request, but cannot merge it, unless I do it manually and what's involved is still a bit confusing for me. May I ask you to please commit your changes to the new project structure again, so I can merge your fine code? Cheers!

Sure no problem.
Tbh I wasn't expecting much but I was bored and found your repo by searching latest java projects. It didn't seem complicated so I jumped in, mainly because I too want to learn more about github and don't want to mess with complicated code while doing so (like projects that already have 10k lines of code or 20 members)


refactor: project wide clean up

This PR:

Adds linting and formatting to workflow.
Fixes linting errors.
Fixes some inconsistencies and duplicated or unused code (still some left).
Deletes unused files.
Organizes files.
Adds coverage reports.
Removes unused dependencies.
Streamlines Webpack config.

For linting, can't we use an automatic program to save time?

@clesaege
Yes, you should use your editor's eslint plugin with formatOnSave turned on.
You can also run yarn run lint --fix.


Adds rotation test

It works as a unit test, it's a bit weird that it's located in the TasksScreenTest class rather than AddEditScreenTest though. It's not hermetic since a bug in the Tasks screen can make it fail.
I don't have any experience with Espresso, but could the strategy used in TaskDetailScreenTest.orientationChange_menuAndTaskPersist be reused? To launch straight to the AddEditTaskActivity with the task id in the intent? Except we would need to be able to make assertions on the state of the TasksRepository afterwards, since we don't have the Tasks screen to make those assertions on.

The TasksScreenTest tests flows. AddEditScreenTest tests the UI features hermetically (a UI unit test if you will), so we can't use that.
It would make sense to have another flow test that starts in AddEdit, yes.
UI tests shouldn't be making assertions on implementation details if possible.

Ok, cool that makes sense.


Dependencies are not installed for clj-refactor

Here's a minimal init.el:
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
	(url-retrieve-synchronously
	 "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
	 'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(setq package-enable-at-startup nil)

(straight-use-package 'clj-refactor)

(require 'clj-refactor)

When running emacs -Q -l init.el I get the following messages:
Bootstrapping straight.el...done
Rebuilding all packages due to build cache schema change
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for emacsmirror-mirror recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...done
Cloning clj-refactor.el...done
Building clj-refactor...done
eval-buffer: Cannot open load file: No such file or directory, yasnippet

This pulls straight.el checked out to this commit af5437f2afd00936c883124d6d3098721c2d306c, then mirrors, and finally just clones clj-refactor without dependencies. All dependencies are specified in clj-refactor.el package:
;; Package-Requires: ((emacs "26.1") (seq "2.19") (yasnippet "0.6.1") (paredit "24") (multiple-cursors "1.2.2") (clojure-mode "5.9") (cider "1.0") (parseedn "1.0.46) (inflections "2.3") (hydra "0.13.2"))

I haven't found this package in https://github.com/emacs-straight, or on NonGNU Elpa, so I assume the recipe comes from Melpa? And AFAIK MELPA lists dependencies correctly: https://melpa.org/#/clj-refactor.

Looks like the package metadata is corrupt.
I've submitted a pull upstream:
https://github.com/clojure-emacs/clj-refactor.el/compare/master...progfolio:patch-1
FYI, the package throws 552 other issues via package-lint, so it may be worth it talking to the package authors about those if you plan on relying on this package.


Enforce Rotation On Specific Grid Item

I not highly skilled in C#, but i think this can be solved including encapsulation {} on nodeName
Miqo Documentation:

{} – perform a skill rotation only for this item.
For example, if you focus on gathering ‘Dark Chestnut’, you may want to use Blessed Harvest 2 only when it is present in the node.
In this case, ‘{dark chestnut}’ will prevent Miqobot from wasting GP on anything else.

MiqoCraftCore.cs on LINE 107:
nodeName = "{"+nodeName +"}\",\"Crystal\",\"Shard";
Also instead using rotationifgp , i think is more effective setting the rotation using gatherrotation
For farming Crystal and Shard, i think a default rotation should be active instead using selected
Thx for good work, amazing tool

Hi !
Good idea!
I think you have some code on your side, do you want to integrate it in the master ?

I will open a pull request so you can check the diff.


Why do custom read op only works on test_session

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
NO

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16.04

TensorFlow installed from (source or binary):
pip install tensorflow

TensorFlow version (use command below):
('v1.3.0-rc2-20-g0787eee', '1.3.0')

Python version:
Python 2.7.12 from anaconda

Bazel version (if compiling from source):

CUDA/cuDNN version:

GPU model and memory:

Exact command to reproduce:
I'm using a cpu only tensorflow.

Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
I wrote an custom kernel op in tensorflow for reading csv format data.
It works just fine in the TestCase with the sess object return by test_session() function.
When I turn to normal codes, the reader op returns the same result every time. Then I put some debug printing at the beginning of the MyOp:Compute function. It seems like after the first run, the sess.run(myop) never calls the MyOp:Compute function at all.
Then I return to my test cases, if I replace the session object with an tf.Session() instead of self.test_session(), it failed the same way.
Source code / logs
to share more details, here's my mini demo codes: https://github.com/littleDing/mini_csv_reader
major codes in test cases
def testSimple(self):
  input_data_schema, feas, batch_size = self.get_simple_format()
  iter_op = ops.csv_iter('./sample_data.txt', input_data_schema, feas, batch_size=batch_size, label='label2')
  with self.test_session() as sess:
    label,sign = sess.run(iter_op)
    print label

    self.assertAllEqual(label.shape, [batch_size])
    self.assertAllEqual(sign.shape, [batch_size, len(feas)])
    self.assertAllEqual(sum(label), 2)
    self.assertAllEqual(sign[0,:], [7,0,4,1,1,1,5,9,8])

    label,sign = sess.run(iter_op)
    self.assertAllEqual(label.shape, [batch_size])
    self.assertAllEqual(sign.shape, [batch_size, len(feas)])
    self.assertAllEqual(sum(label), 1)
    self.assertAllEqual(sign[0,:], [9,9,3,1,1,1,5,4,8])

major codes in normal session call:
def testing_tf():
    path = './sample_data.txt'
    input_data_schema, feas, batch_size = get_simple_format()
    with tf.device('/cpu:0'):
        n_data_op = tf.placeholder(dtype=tf.float32)
        iter_op = ops.csv_iter(path, input_data_schema, feas, batch_size=batch_size, label='label2')
        init_op = [tf.global_variables_initializer(), tf.local_variables_initializer() ]

    with tf.Session() as sess:
      sess.run(init_op)
      n_data = 0
      for batch_idx in range(3):
        print '>>>>>>>>>>>>>> before run batch', batch_idx
        ## it should be some debug printing here, but nothing come out when batch_idx>0
        label,sign = sess.run(iter_op)
        print '>>>>>>>>>>>>>> after run batch', batch_idx
        ## the content of sign remain the same every time
        print sign
        if len(label) == 0:
          break

Can I encourage you to use the tf.data interface and the built-in CSV op?

The build-in interfaces(both tf.data and csv op) are to slow for large scale data.
Early tests (at about 2016-11 with tensorflow 1.0 or earlier version) shows that use cython + pandas + feeddict to load csv data would be 2~5x speed up than the build-in ops.
A problem using pandas + feeddict is that it blocks with the python GIL and python codes is still slow, thus the speed up would scale when number of threads is over 5.
So I'm wondering if it is possible to translate the codes into pure cpp so that it could benefit from the tf.queue ops.

Cc @mrry
I'm surprised that the data interface would be slow. Can you publish how
you treated that?
On Sat, Oct 21, 2017, 7:15 PM littleDing<EMAIL_ADDRESS>wrote:

The build-in interfaces(both tf.data and csv op) are to slow for large
scale data.
Early tests (at about 2016-11 with tensorflow 1.0 or earlier version)
shows that use cython + pandas + feeddict to load csv data would be 2~5x
speed up than the build-in ops.
A problem using pandas + feeddict is that it blocks with the python GIL
and python codes is still slow, thus the speed up would scale when number
of threads is over 5.
So I'm wondering if it is possible to translate the codes into pure cpp so
that it could benefit from the tf.queue ops.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/13883#issuecomment-338445604,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbQEklezj6kjSp60LRQ7WTEDwWywjks5suqVDgaJpZM4QBpDI
.

Are you feeding example by example?
On Sat, Oct 21, 2017, 7:17 PM Patrick Nguyen<EMAIL_ADDRESS>wrote:

Cc @mrry
I'm surprised that the data interface would be slow. Can you publish how
you treated that?
On Sat, Oct 21, 2017, 7:15 PM littleDing<EMAIL_ADDRESS>wrote:

The build-in interfaces(both tf.data and csv op) are to slow for large
scale data.
Early tests (at about 2016-11 with tensorflow 1.0 or earlier version)
shows that use cython + pandas + feeddict to load csv data would be 2~5x
speed up than the build-in ops.
A problem using pandas + feeddict is that it blocks with the python GIL
and python codes is still slow, thus the speed up would scale when number
of threads is over 5.
So I'm wondering if it is possible to translate the codes into pure cpp
so that it could benefit from the tf.queue ops.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/13883#issuecomment-338445604,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbQEklezj6kjSp60LRQ7WTEDwWywjks5suqVDgaJpZM4QBpDI
.

Wow~ Thanks for replying so fast :-)
Well, I am not sure if I am using the build-in ops in the right way. I just follow the documents on the official website. Example by example, or using a multi-thread queue with batch. The pb interfaces was also tested then, but it seems like converting raw data to pb format is also a great cost.
Is there any official speed benchmarks for this data reading ops? I could reproduce my own again and check if the speed up still exists.

I answered the question on Stack Overflow: https://stackoverflow.com/a/46892223/3574081
Please open a new issue if you see performance problems with the tf.data ops (note that they were first added in May 2017 in TensorFlow 1.2, so you might want to update your experiments).


feat(config): Implement std::default::Default

Hey! I'm hoping to use this library for a project of mine, and wanted to instantiate a Config using the Default trait. Thought I'd put up a PR for it! Lmk what you think!

(Here not the project lead, some random Joe)
I see only lines moved, I don't see any improvement.
Most likely due me not understanding the "I'd like to use Config::default in my own code when constructing a Config. Let's implement the Default trait so that others can use it without wrapping our struct due to ownership rules." commit message.

Most likely due me not understanding the "I'd like to use Config::default in my own code when constructing a Config. Let's implement the Default trait so that others can use it without wrapping our struct due to ownership rules." commit message.

Ah. @stappersg, no worries! Happy to explain :)
It's fairly common in Rust for types to implement certain Traits, (or interfaces in other languages), for standard behaviors. One of those behaviors is constructing a default representation of a type. Check out the docs on the trait here: https://doc.rust-lang.org/std/default/trait.Default.html
I typically do this when I'd like to create a config with specific values, but I don't really care about the other values.
Let's take for example someone wanting to run their TFTP server on the IPV6 localhost (::1), but they want to just spin up the rest of the config to the default values. (Say for example, they don't know that the port should be 69, or don't want to duplicate that constant in their own code.) They can use the following syntax
let config = Config {
  ip_address: IpAddr::V6(Ipv6Addr::LOCALHOST),
  ..Config::default()
};

And rely on the default implementation to do the rest.
It's possible to do something similar to the above with the existing Config::new method, but a little awkward, and unexpected compared to the rest of the ecosystem, which relies on the standard libraries trait.
    let config = Config {
        ip_address: std::net::IpAddr::V6(Ipv6Addr::LOCALHOST),
	..Config::new([].into_iter()).expect("Config building with no args should be fine, and my application depends on that")
    };

Looks great initially, I’ll take a closer look when I get home. Thank you for your addition!


add docs for meta atrribute in Code component

Description (required)
Documentation for https://github.com/withastro/astro/pull/11605
Related issues & labels (optional)
For Astro version: 4.14.0. See astro PR 11605
First-time contributor to Astro Docs?
Discord: @jcayzac

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
reference/api-reference.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Oops, I see from the original PR that you're describing meta completely independent of the transformer usage. I think I need more context about how you see this feature used, as your examples are probably showing specific use cases without painting a general picture first. (Which is why I inferred incorrectly what the option was in general).
I asked for clarification in the PR there, or you can reply here!
If meta is a standalone attribute that has use outside of transformers, then it shouldn't be explained within transformers. I'll need a more general introduction to what meta is and is used for first, and then we can show examples. This will help me figure out where the documentation goes.

I'm thinking maybe something like:
[Shiki transformers](https://shiki.style/packages/transformers#shikijs-transformers) can optionally be applied to code by passing them in through the `transformers` property as an array. Since Astro v4.14.0, you can also provide a string for [Shiki's `meta` attribute](https://shiki.style/guide/transformers#meta) to pass options to transformers.

And then update the code sample to include both transformers in the array, plus the meta option, highlighting the two lines relevant to transformers

LGTM!

(we use Expressive Code to do that in Docs 😉)
astro title="src/pages/index.astro" {12-13}

I did not understand that part. Expressive Code is not relevant to that documentation.

Expressive Code is not a part of what we are documenting here, but it's how we have to format our code samples of your example here! I'm just pointing out that I find it coincidental that you have provided an example about line highlighting showing how to do it one way, but in order for us to actually document that, we have to use Expressive Code to do the highlighting of your example!  :smile:

Thanks @jcayzac ! Can you please take a look over my changes and make sure they're correct? Anything else you notice or want to see different here?

Thanks @sarah11918, I commented on the issues I found.


Support for ltm.virtual-address #311

@zancas @jlongstaf
Issues:
Fixes #311
Problem:
Need to support virtual-address configuration for LBaaSv2
development.
Analysis:

Added the new collection and resource
Added tests
Added the json files used to autogenerate the objects
Added docs

Tests:

Flake8
Functional
Unit

It looks like accepting the other PR (that resolved #309 ) caused this to have a merge conflict, so feature.virtual-address should be rebased on top of the new version of 0.1, and during that process the merge conflicts (in ltm/init.py and apidoc/f5.bigip.ltm.rst) must be resolved.
Since I don't want to (and can't) push to @swormke 's fork, I can't (trivially) take care of this myself.


Artifact Fragment's recipe only using one piece of the fragment to a full artifact.

Description
as the title above says, you can craft a artifact with only ONE artifact fragment despite the recipe calling for four.
Reproduction
get one artifact fragment, craft the alien artifact via g menu, congrats you have a artifact.
Screenshots
https://github.com/space-wizards/space-station-14/assets/122707721/0c765e38-fc45-4ae3-bc08-cf403171600f

i think this might be a construction issue? The single item might be fulfilling the requirements of all 4 of the steps.


update hessian1.9.4 integration test failed

fix dubbo-go upgrade hessian 1.9.4 fail

@sanxun0325 hessian v1.9.5 released, u can upgrade to the new version.


blob file upload, admin page photo column thumbnail image not load

blob file upload, admin page photo column thumbnail image not load
os ubuntu 22.04
db version pocketbase_0.3.2_linux_amd64
use quasar
store file

vue file

chrome debugger

admin page thumbnail image

I think this is because the filename is missing an extension.
In order to minimize the number of requests the UI file preview is determined based from the filename and its extension. The only workaround I can think of at the moment without making an extra API call would be to normalize the filename on upload and always add an extension based on the mimetype for the common media types.

It work's thank you.