text:
move GeometryBasics to Makie requires block

I looked at the load times and latency issues with Julia v1.9 beta. Using the branch https://github.com/JuliaLang/julia/pull/48075, this reduces the time of using Trixi for me from
julia> @time @eval using Trixi
  9.252053 seconds (19.39 M allocations: 1.462 GiB, 5.46% gc time, 28.00% compilation time: 36% of which was recompilation)

on main to
julia> @time @eval using Trixi
  8.004904 seconds (17.29 M allocations: 1.301 GiB, 5.61% gc time, 24.59% compilation time: 24% of which was recompilation)

on this branch.
As far as I can tell, the functions I moved are not called outside of the Makie recipes stuff. We lose the ability to use specify compat bounds on GeometryBasics.jl in this way, but I hope this is no problem. This could be solved/improved in the future with conditional dependencies introduced in Julia v1.9, see https://pkgdocs.julialang.org/dev/creating-packages/#Conditional-loading-of-code-in-packages-(Extensions)
What's your take on this, @jlchan ?

Great work! Will there be similar opportunities for other packages?

I'm looking into it

@sloede: Here you are https://github.com/jlchan/StartUpDG.jl/pull/73 (but is is not as pronounced as the result here)

authors: ranocha sloede


text:
Throw out callbacks...

....because we have way to many. The goal would be to make transitions lean again.
The following callbacks:

enter
event_fired
on_transition

should go away.

on_transition is my favorite, please mercy ;-).
Useful to build associated model instances after guards have run but before the owner model is saved.

Useful to build associated model instances after guards have run but before the owner model is saved.

Thanks for the feedback - I'll take that into account, promised.
What do you think about "enter" and "event_fired"?

never used enter, using event_fired to easily catch the current event on each transition.
For example if an instance is versioned with papertrail, you can override the version name doing something like that :
def event_fired(current_state, new_state, event)
  self.paper_trail_event = event.name
end

... leading to have versions named : 'create', 'activate', 'unactivate', (instead of 'create', 'update', 'update')
Generally speaking i think i would keep callbacks :-)

We have complicated states to keep track of, and we use all those events, removing them would force us to change things that we don't want to change, as they are hard to develop and test because of the external resources involved. Probably would have to drop Transitions or fork it.

@duskhacker yep ;)
I'm not actively developing features for this gem anymore (only bugfixes / dependency and version updates) so the chances that we're throwing those out are zero. I also respect your needs as a user so the change as I initially had thought about it wouldn't happen anyways. Closing this one.

source: gharchive/issue

authors: duskhacker itkin troessner

repo: troessner/transitions

license: mit

license_type: permissive

license_source: bigquery


text:
Failed to convert to std::vectorstd::string]

124 lines of code：
auto rv = std::vector<std::string>(worksheet.row(2).values());

Reading the first row of data was successful, but an error was reported when reading the second row of data. I think all data should be able to be converted into string, but my program is not working.

The .values() function from the XLRow class does not return a std::vector of strings, but XLCellValue objects. An XLCellValue object can be implicitly converted to a the type corresponding to the value type of the cell. That is the reason that your program can read the first row (all values are strings), but the following lines are mixed types.
I suggest that you use the following code instead:
auto rv = std::vector<XLCellValue>(worksheet.row(2).values());

For each element in the std::vector, you can then use the .get<>() function to get the underlying data. To check which data type is contained in the XLCellValue object, use the .type() member function.

Yes, I got it. This is my code bellow, but I think it is not the best solution.

std::string GetValue(const OpenXLSX::XLCellValue& value)
{
    switch (value.type())
    {
    case OpenXLSX::XLValueType::Empty:
        return std::string("");
    case OpenXLSX::XLValueType::Boolean:
       return std::to_string(value.get<bool>());
    case OpenXLSX::XLValueType::Integer:
        return std::to_string(value.get<int32_t>());
    case OpenXLSX::XLValueType::Float:
        return std::to_string(value.get<double>());
    case OpenXLSX::XLValueType::Error:
       return "";
    case OpenXLSX::XLValueType::String:
        return value.get<std::string>();
    default:
        return "";
    }
}

// ... (A function, but some code has been omitted here)

   uint32_t startRow = 2;
   uint32_t endRow = worksheet.rowCount();
   for (const OpenXLSX::XLRow &row : worksheet.rows(startRow, endRow))
   {
       DotField dotField;
       //auto rowValues = std::vector<std::string>(row.values());    // 对于小数，会报错
       auto rowValues = std::vector<OpenXLSX::XLCellValue>(row.values());

       for (const std::pair<std::string, uint16_t> &item : fieldLoc)
       {
           //
           auto value = GetValue(rowValues[item.second - 1]);
           if (item.first == "id")
           {
               if (value.size() == 0) break; // ID不能为空，因此，遇到空行，则跳过该行
               dotField.id = value;
           }
           else if (item.first == "x")
               dotField.x = std::stof(value);
           else if (item.first == "y")
               dotField.y = std::stof(value);
           else if (item.first == "height")
               dotField.height = std::stof(value);
           else
               std::cerr << "Failed read valur for \"" << item.first << "\" field." << std::endl;
       }

       // ID不能为空，因此，遇到空行，则跳过该行
       if (dotField.id.size() == 0) continue;

       // 保存当前读取的一行数据
       //data.insert({ dotField.id, dotField });
       data[dotField.id] = dotField;
   }

// ... (A function, but some code has been omitted here)

repo: troldal/OpenXLSX

license_source: github-api


text:
🛑 Gitea is down

In 9cbfedb, Gitea (https://gitea.tronflix.app) was down:

HTTP code: 521
Response time: 180 ms

Resolved: Gitea is back up in 973bebd.

repo: tronyx/upptime

license: MIT


text:
🛑 Plex is down

In 36835cf, Plex (https://tronflix.app/plex/web/index.html) was down:

HTTP code: 520
Response time: 90 ms

Resolved: Plex is back up in 151a6f8.


text:
🛑 qBit is down

In 465df13, qBit (https://tronflix.app/qbit/) was down:

HTTP code: 302
Response time: 123 ms

Resolved: qBit is back up in 7fdcd57 after 4 hours, 34 minutes.


text:
Account Balances and Nonces are not updating in real time

Seems strange, the data is being sent up in batches from the TestRPC service...

Fixed in cb6337c

repo: trufflesuite/zircon


text:
Typo on the function names

It seems to be a type in the function names for the callback events where you check for:
onTransitionDidStartLeave
and then call
onTransitionDidStartLeave
https://github.com/trungdq88/react-router-page-transition/blob/266283fbb0bbbd5614490efd230b1d00bf1e0533/src/PageTransition.jsx#L138-L139

Thank you, that should be prevChild.onTransitionLeaveDidStart in the condition. This will be fixed in the next release.

Awesome.


text:
dicynodontidae

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d]

/trunk merge

source: gharchive/pull-request

repo: trunk-io/mergequeue-staging


text:
correctress

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c]

/trunk merge


text:
dolesomely, brawlingly

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,d]

/trunk merge


text:
balancement, duping

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,d]

/trunk merge


text:
gravitating

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[g]

/trunk merge


text:
cerographer, festooned

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,f]

/trunk merge


text:
doctrinist

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d]

/trunk merge


text:
equivoque, cantel

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,e]

/trunk merge


text:
chandelles, airest

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,c]

/trunk merge


text:
gracioso, ecad

This pull request was generated by the 'mq' tool

/trunk merge


text:
acichlorid, disparager

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,d]

/trunk merge


text:
frivolous, disappearing

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,f]

/trunk merge


text:
expilator, alcali

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,e]

/trunk merge


text:
additional, dird

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,d]

/trunk merge


text:
descendant, bonaght

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,d]

/trunk merge


text:
cartesianism, bania

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,c]

/trunk merge


text:
fills, consternated

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,f]

/trunk merge


text:
dysthymic, faradised

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,f]

/trunk merge


text:
bluenesses, exfodiate

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,e]

/trunk merge

repo: trunk-io/mergequeue


text:
disjuncture, foredays

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[d,f]

/trunk merge


text:
barbu, daffodil

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,d]

/trunk merge


text:
grallic, abraum

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,g]

/trunk merge


text:
diamin, allosaur

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,d]

/trunk merge


text:
groundly, fulmar

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[f,g]

/trunk merge


text:
busby, exciples

This pull request was generated by the 'mq' tool

/trunk merge


text:
bantin, devolatilising

This pull request was generated by the 'mq' tool

/trunk merge


text:
bantamweight, forgiver

This pull request was generated by the 'mq' tool

/trunk merge


text:
fiddlestick, grubstreet

This pull request was generated by the 'mq' tool

/trunk merge


text:
enantiomorphism

This pull request was generated by the 'mq' tool

/trunk merge


text:
apathia, fenestellae

This pull request was generated by the 'mq' tool

/trunk merge


text:
anarcestean, euphoniously

This pull request was generated by the 'mq' tool

/trunk merge


text:
efik, aubin

This pull request was generated by the 'mq' tool

/trunk merge


text:
doney, ensuing

This pull request was generated by the 'mq' tool

/trunk merge


text:
falasha, assyriologist

This pull request was generated by the 'mq' tool

/trunk merge


text:
brazera, extraconstitutional

This pull request was generated by the 'mq' tool

/trunk merge


text:
geologist, administerial

This pull request was generated by the 'mq' tool

/trunk merge


text:
cruciform, gonidia

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,g]

/trunk merge


text:
cerebrin, fetlow

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,f]

/trunk merge


text:
foreside, advocatory

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,f]

/trunk merge


text:
dukeling, fences

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[d,f]

/trunk merge


text:
acquiescing, forficated

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,f]

/trunk merge


text:
fruiting

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[f]

/trunk merge


text:
blueings, courtiery

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[b,c]

/trunk merge


text:
blazon, deliriant

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[b,d]

/trunk merge


text:
disframe, commentate

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,d]

/trunk merge


text:
cachot, frosteds

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,f]

/trunk merge


text:
antagonizable, colonialise

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,c]

/trunk merge


text:
glossological, cubbies

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,g]

/trunk merge


text:
ecartes, farcialize

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[e,f]

/trunk merge


text:
guardiancy, fribby

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[f,g]

/trunk merge


text:
fermentate, archdapifer

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,f]

/trunk merge


text:
anticorrosion, capparidaceae

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,c]

/trunk merge


text:
cenozoic, gushiness

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,g]

/trunk merge


text:
graduals, colossuswise

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,g]

/trunk merge


text:
apocopation, gaslight

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,g]

/trunk merge


text:
emeerate, glycogenolysis

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[e,g]

/trunk merge


text:
germanyl, frugivorous

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[f,g]

/trunk merge


text:
docs: add landing page and documentation page template stories

Fixes #88
Adds Storybook stories for two USWDS page templates

Landing page
Documentation page

This demonstrates how to use our existing header, footer, grid, etc. components in a real-life page.

Warnings

:warning:
This PR does not include changes to tests, even though it affects source code.

  Generated by :no_entry_sign: dangerJS against 3cfb77423960d4f8e4204e88a0f3f9db83c8fd6d

authors: suzubara trussworks-infra

repo: trussworks/react-uswds


text:
CI configure circleci

Relates OR Closes #0000
Description

hey @superus8r , as discussed, I have created a new PR - https://github.com/trustedshops-public/etrusted-ios-trustbadge-library/pull/10 for merging feature/opensource-guild-compliance branch changes with the develop branch.
After review/merge of PR #10 , please create a new PR with changes related to CircleCI and SonarCloud. Thank you!

The changes related to circleci, codecov, and sonar-scanner are in #12


text:
feat: Send organization_id to segment.io

The organization id is a claim coming in the form:
"organization": {
    "id": "123456"
},

It needs to be sent to segment.io for better tracking of data

@ctron I removed all personal data being sent to segment. As I recall, Heiko mentioned not to send names and usernames (feel free to correct my memory though). So now we are sending only the "locale" and "organization_id".
It means that on upstream, we won't send any data and all tracking will be on Anonymous mode.
Only on Downstream we will send "organization_id"

It means that on upstream, we won't send any data and all tracking will be on Anonymous mode.
Only on Downstream we will send "organization_id"

What about hashing the e-mail?

It means that on upstream, we won't send any data and all tracking will be on Anonymous mode.
Only on Downstream we will send "organization_id"

What about hashing the e-mail?

Hashing the email might not bring value, as it won't help to identify the user anyway. The primary way of identifying a user as of now is using the sub claim and it should serve as way of replacing the HASH-EMAIL.
I'll merge this PR as it would be good to have some feedback from Heiko in the upcoming days.
https://github.com/trustification/trustification/blob/6f7c5481a90e4ac83747fb5180a49cc621386f0c/spog/ui/crates/utils/src/analytics/mod.rs#L210

repo: trustification/trustification


text:
ci: Continuously create image

Fix: https://github.com/trustification/trustify/issues/637

Tested in my local fork here https://github.com/carlosthe19916/trustify/actions/runs/10250287369 . The tested container image was also generated correctly in my local fork https://github.com/carlosthe19916/trustify/pkgs/container/trustd
Adding a workflow to continuously create container images of the server. It takes the code available in the branch and merges it with the latest available UI in the trustify-ui repository

I was trying to address 2 problems:

Generation of images for each commit
Stop relying on Cargo.lock for the trustify-ui dependency

I would avoid to touch the current gh actions as I wouldn't like to break anything. This PR was just an option. I think we can come up with proper solution in another PR. Closing this PR

repo: trustification/trustify


text:
when user disconnect using dapp, app side can not receive disconnect event

when user disconnect using dapp, app side can not receive disconnect event:
https://github.com/trustwallet/wallet-connect-swift/blob/master/WalletConnect/WCInteractor.swift#L205
in this line, I think it is necessary to add a callback to the App side.
can u help me to resolve this?

DisconnectClosure should work for you

Thank u for your reply.
I have already use the DisconnectClosure.
But the callback was not called!

when user disconnect using dapp. I found that the socket is still connected, it is just update the session approve state.
https://github.com/trustwallet/wallet-connect-swift/blob/master/WalletConnect/WCInteractor.swift#L205

in the disconnect function:
https://github.com/trustwallet/wallet-connect-swift/blob/master/WalletConnect/WCInteractor.swift#L100
it is not call the DisconnectClosure

Is there something wrong with that?

authors: Andy-Bin-Crypto hewigovens

repo: trustwallet/wallet-connect-swift


text:
I want all my assets in trust wallet I'm hungry 😞😞😭😭💔💔

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Approve assets

repo: trustwallet/wallet-core


text:
[Tezos]: FA1.2/FA2 support

Description
fix #2141

[x] Tezos forging op for entrypoint
[x] Tezos forging Michelson
[x] Tezos forging a whole fa12 transaction
[x] Tezos forging a whole fa2 transaction
[x] Kotlin Test
[x] Swift test

How to test
run C++ unit tests
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

Seeing that this was merged I wonder if Trust wallet eventually will support Tezos FA2 and FA1.2 tokens (because currently it's not)

authors: Milerius mlaeng


text:
Add Bootstrap Label

Make a Label object that represents span with label class.

Support severity through label-default, -primary, -success, -info, -warning, -danger

Look #68

authors: jigarmistry tryexceptpass

repo: tryexceptpass/sofi


text:
pathPrefix is totally ignored on the parent contract

Hi! I'm using ts-rest with nest.js and I just noticed that pathPrefix is totally ignored on the parent contract, Can you advise?
Here is an example
const nestedContract = c.router(
  {
    getPost: {
      path: '/mypath',
      //... Your Contract
    },
  },
  {
    pathPrefix: '/posts',
  }
);

const parentContract = c.router(
  {
    posts: nestedContract,
  },
  {
    pathPrefix: '/v1',
  }
);

in the example above /v1/mypath will return 404 while /mypath works fine

@msalahz I wouldn't expect /v1/mypath to work the way you've set this up... you've got the /postspath prefix to contend with as well.  Is/v1/posts/pathPrefix` working for you?

authors: msalahz uooq

repo: ts-rest/ts-rest


text:
Can't use with subdomains

Hey @tsaaristo I found that you can't use this with subdomains. I noticed there's a pull request #2 for this same issue. Would you mind reviewing that PR and/or implement a way to enable subdomain support?

Hello @tsaaristo
There is a need for integrating this plugin into nginx-proxy-manager. See https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2153
But with this issue the functionality inside nginx-proxy-manager is very limited and causes unexpected errors for its users.
Would it be possible for you to take the time and release a new version with the PR mentioned above?

Hello again @tsaaristo ! Seems that you don't have too much time for this project at the moment. Maybe you want to give someone else permissions for this project? Also for the entry in pip repo if required for a release?

Hello @tsaaristo ! May you check the PR request for this project or May you want to give someone else permissions for this project? We are urgently need for this api for who is in use of dns-he.

Hi @tsaaristo, it would be great if you could review this PR.  It’s a real pain to work around this.  Thanks!!

Hi @tsaaristo, as others have expressed already, this would be greatly appreciated if you could review this PR.

authors: Evsio0n alanlaird benhubert mlanner studioeng

repo: tsaaristo/certbot-dns-he


text:
NPE (Ant-CCFinder)

Clone # 5 (Group 113, Pair 1-2): org.apache.tools.ant.taskdefs.optional.javacc.JJTree#execute (row 46) and org.apache.tools.ant.taskdefs.optional.javacc.JJDoc#execute (row 47)
java.lang.NullPointerException
	at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.replaceExpression(ExtractCloneRefactoring.java:3697)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.processASTNodeWithDifferences(ExtractCloneRefactoring.java:3322)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.processCloneStructureNode(ExtractCloneRefactoring.java:2582)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.extractClone(ExtractCloneRefactoring.java:1160)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.apply(ExtractCloneRefactoring.java:327)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.checkFinalConditions(ExtractCloneRefactoring.java:4484)
	at ca.concordia.jdeodorant.eclipse.commandline.Application.testRefactoring(Application.java:626)
	at ca.concordia.jdeodorant.eclipse.commandline.Application.start(Application.java:180)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Fixed in commits
8ff6f77233594bfabe978d6827d700a95b397deb
and
fcb4db6c62ef4742fc1c40974eedab3e0ad32a2a

authors: dmazinanian tsantalis

repo: tsantalis/JDeodorant


text:
Text Component

Would you be open to a PR that adds a component for https://github.com/jscad-community/jscad-text?

Hey @r-bt, yes absolutely!

authors: r-bt seveibar

repo: tscircuit/jscad-fiber


text:
[Q] Detailed Python binding documentation

Hi @lelegard ,
This issue is not a negative comment on any fault, as the TSDuck is one of the best documented opensource projects. But I need some help regarding how to implement the side processing with TSDuck (discussed in #730):

In order to set the TSP chain with the parameters initial_input_packets, max_flushed_packets and max_input_packetsset to 1, I see in the source of the tsp.py class that these members are defined in the class. However, I don't found in the documentation any reference to them (https://tsduck.io/doxy/jpbindings.html).
A second comment is about how to use the class TSProcessorArgs with the Python binding. I can't found any example using it. However, it seems to be necessary to set the --realtime option in the ts::TSProcessor class.

So, can you help me please? Perhaps one additional example will be sufficient.
Thank you for a fair and well done job!

However, I don't found in the documentation any reference to them (https://tsduck.io/doxy/jpbindings.html).

The section you mention is just an introduction to Java and Python bindings. All Java and Python classes are documented by Doxygen, just like C++ classes. The class Python TSProcessor is documented here: https://tsduck.io/doxy/classts_1_1tsp_1_1_t_s_processor.html
For other Python classes, you may use the search field in the upper right corner or browse in the left pane: Modules > Other languages > Python bindings.

A second comment is about how to use the class TSProcessorArgs with the Python binding.

There is none. The TS processor args are directly set in the TSProcessor instance in Python.

However, it seems to be necessary to set the --realtime option in the ts::TSProcessor class.

The --realtime option is just a command line convenience. It only modifies the default values of various parameters. Each plugin is free to check this option to select different default values. What is useful on the command line is maybe not so important in an application. In programming code I feel it is more important to explicitly set all parameters to understand what is done. This is vital for the maintainability of the application.

Hi @lelegard ,
OK. As everything is well explained I close this issue.
Thanks again!

repo: tsduck/tsduck


text:
Can you please update to CKEditor 4.5.1?

If not, can you please update to CKEditor 4.4.8?
The team addressed a vulnerability.
Thank you

Thanks for your remind.
I just release ckeditor_rails v4.5.1.
Have fun.

authors: akluew tsechingho

repo: tsechingho/ckeditor-rails


text:
Dev platypus/hangmanbot

hangman

これは単なるわがままなんですが、ゲームが始まると「答えてね〜」って言ってスレッドを開いてくれると、時間が1秒くらい節約されて嬉しいです (は?)

一旦これで merge したいと思います (test は、もっと jest の動作を理解してから書きたいと思います)

repo: tsg-ut/slackbot


text:
numpy/arrayobject.h missing

I feel like I can't add much more information than the log spat out. Here it is:
python3 setup.py build
running build
running build_ext
building 'utils.box_overlaps' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -I /usr/local/lib/python2.7/dist-packages/numpy/core/include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c ./utils/box_overlaps.c -o build/temp.linux-x86_64-3.8/./utils/box_overlaps.o
./utils/box_overlaps.c:623:10: fatal error: numpy/arrayobject.h: No such file or directory
623 | #include "numpy/arrayobject.h"
|          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Helle, you can refer to the tutorial on this website as follows: https://blog.csdn.net/s996786536/article/details/127515836

repo: tsinghua-rll/VoxelNet-tensorflow


text:
Config View is frozen and disturbing

Can't hit the save button because it doesn't exist and can't scroll.
The view should be a tab so it won't inturopt the rest of the UI as shown in the image. (using nuclide).
SOLUTION FOR SCROLL: add overflow: scroll to <atom-ternjs-config>

magically resolved

repo: tststs/atom-ternjs


text:
Vimeo Pro Settings blank

Hi @ttillberg!
Again thank you for this amazing work.
I updated your plugin (1.1.3) then my WordPress (5.1) and ACF (5.7.12). After that I notice that my Vimeo Pro Settings under the Settings menu was "blank".

I check my console, no error was shown. Nevertheless, the plugin still works. Any idea where this might come from?
Cheers.

Hello! Do you have the ability to fetch or refresh new videos? Also which version of ACF are you using? Thanks for your feedback!

@ttillberg thanks for your reply.
To answer your questions:
Do you have the ability to fetch or refresh new videos?
Yes
Also which version of ACF are you using?
ACF Pro Version 5.7.12
Here is what I see when inspecting the settings menu.

Also my Vimeo token is wrapped inside a script tag:

@psntr thanks for the debugging info - I think it's fixed now (1.1.5), however now I'm having trouble to update the plugin through Github Updater, I've only been trying on one instance for now...

@ttillberg Thank you for the really quick fix. About the Github Updater, sorry I wasn't able to use it. Since the very beginning, the Github Updater kept on returning an error so I couldn't use it.

@psntr All good!

@ttillberg Thank you so much!

I spoke a bit too fast, with the lastest version although the original issu is fixed, now the output (frontend) seems not to work anymore. Is is the same on your side?

Oh sorry! It's working fine for me. How do you use the data? Via PHP or JSON-API ? (or other...)

No worries, I should have double checked.
That's my method:
<?php // Vimeo ACF  $video_vimeo = get_field('video_vimeo', $last_id); // Vimeo metadata $array_vimeo = json_decode(json_encode($video_vimeo), true); ?>

Thanks. Do you get an error or just emptiness ?

Could you try just doing a var_dump / print_r( $video_vimeo) without the decode part

It gave me error, it seems like the $video_vimeo is not existent, therefore returning me an error when trying to get anything related to the $array_vimeo

Our comment came across, so it doesn't give me error when i var_dump or print_r the $video_vimeo. It just doesn't return anything.

Hi @psntr ! I tested the new version here and it seems to be working just fine, which doesn't really help for the debugging.
First, can you still refresh, load a new video, save without any problem?
Second, one hint for me is your usage of json_encode json_decode which seems a bit redundant but there might be a reason for you to do so (database encoding, PHP version,... ).
There's one line of code that changed in the latest update which refers to this here and I wonder if it could be the problem. Would you mind going in and trying out adding an extra json_encode / true or removing the decoding all together ?
line 421 of wp-content/plugins/acf-vimeo-pro-data/fields/acf-vimeo_pro_data-v5.php

@ttillberg Hi sorry for the late reply.
I've tried with a local version, it worked once I "re-updated" the post. Didn't need to change the json_encode nor json_decode. Strangely the same manipulations didn't work on the live version. I will need to make further tests. I keep you on the loop.

Thanks for checking. Let me know if you find something. If you could give me access I'm happy to help out too.

@ttillberg it's finally solved, sorry for going replying earlier, been pretty busy. So to summarize, for I don't know what reason, we needed to update all links again after updating the plugin.
But now it's working like before with the newest version.
Thank you for much for you considerable time!

@ttillberg Hi again, after my message on 21 March, we haven't uploaded any videos, but recently we added a video on Vimeo that contains special characters like double quote. For instance:
Artist name, "my title", 2019
When title of the video are like that, nothing shows up with:
<?php // Vimeo ACF  $video_vimeo = get_field('video_vimeo', $last_id); var_dump($video_vimeo); ?>
In the backend, everything seems fine.

I did another quick test, if your video description also contains that character, it's not fetching properly on the front-end.

authors: psntr ttillberg

repo: ttillberg/acf-vimeo-pro-data


text:
Page layout  varies much with monitor resolution

Add clue in FAQ:
Zoom in
Add clue in footer for best resolution.

The output layout is so damaged. why so? how to solve?
ANS: please use the browser zooming feature.

faq added.

repo: tttor/csipb-jamu-prj


text:
请问3.9.8.25-v2注入结果：0 ，是什么原因

用的https://github.com/ttttupup/wxhelper/releases 编译好的dll，之前用的3.9.2.23今天心血来潮试试新版发现注入不成功，请问有大佬知道是什么原因吗？

x64用的注入工具不一样

x64 使用的注入工具不一样

能麻烦给我一个吗？

x64 使用的注入工具不一样

能麻烦给我一个吗？

这里
https://github.com/nefarius/Injector/releases/download/v1.3.0/Injector_x86_amd64_arm64.zip

x64 使用的注入工具不一样

能给我一个麻烦吗？

这里 https://github.com/nefarius/Injector/releases/download/v1.3.0/Injector_x86_amd64_arm64.zip

大佬 请问这是什么问题？

@leiyong711
Injector.exe --process-name WeChat.exe --inject E:\WeChat\wxbot.dll

@leiyong711 Injector.exe --process-name WeChat.exe --inject E:\WeChat\wxbot.dll

好的 谢谢

@leiyong711 解决了吗？我遇到了和你一样的问题。我怀疑是系统原因

请问最后您是怎么解决的，我从老版本升级到开发板，换了所有issue里提到的注入器，全部注入失败

仓库提供的界面版打不开直接闪退，安装了vs2022，并且下了一堆修复工具修复系统环境
3.9.3几的老版本是可用的，新版本不管是正常版本还是非正常版本全部无法使用

你这个解决了吗

authors: douyadaydayup flyfe leiyong711 lngwu11 magic-flower the-best-richer timersun

repo: ttttupup/wxhelper


text:
It doesn't work

I've been waiting for this mod for along time, but it doesn't work!
When I open the menu, pick the bench and the bin and click "Add" it just freezes for a second and nothing happens.

I'm using version 0.3.0-20-g8d141fa on develop.

Interesting. Works for me on the tagged v0.3.0 release made 5 days ago, maybe try that instead of a Git branch? Typically the develop branch is a moving target, and might contain code that breaks the JS APIs I'm using here in the plugin.

The plugin works on the macOS build of the latest commit, try using that build for your platform?

I'm using the launcher on Windows 10 64-bit.
I did further research and found out, that it doesn't work on RCT1 maps.
On RCT2 maps it just works with a specific choice of benches.
When I choose Bench rct2.bench1 it does not work with Litter Bin rct2.litter1, Litter Bin rct2.littermm,  Litter Bin rct2.litterww.
If I pick Bench rct2.benchlog, it works with every litter bin.

And I don't know if this is a bug of 0.3.0, but I can't remove benches and bins with the clear scenery tool.

Ah ok, that might have to do with the RCT data/scenario. I only have the data for RCT2 so I can't test it against RCT1 or anything, but I would imagine that if you pick the right components it will work. Unfortunately, the order these items appear in the list is non-deterministic so I'm kinda depending on the .index of the list of footpath additions being the same as the numerical value I have to set in order to place the bench/bin on the path. I'm not sure if I can know which benches/bins would be "correct" for RCT1.
I tried it on Amity Airfield from RCT2 and it seems to work with the space-themed ones:

@nepumax I just released v0.2.0 of this plugin which looked like it included some fixes that might have fixed things for you? It seems like non-English and some non-RCT2 scenarios suffered from bins/benches not getting built properly in their parks.

It works now! Tested it on Forest Frontiers. Thanks, mate!

authors: nepumax tubbo


text:
UE instrumentation & block review

Review the implemented blocks (used in the landing page) against the tech design of the generic block component (and fix if needed)

[x] cards
[x] carousel
[x] columns
[x] footer
[x] header
[x] hero-video
[x] hero

Markup reviewed, follows the Franklin specs for block design

repo: tuckerelliott/lovesac


text:
Request: element_conversion.spherical_to_cartesian_elementwise missing

The element_conversion.spherical_to_cartesian_elementwise() function is missing from the API documentation (but is in my opinion quite a useful function).

Added in this commit:
https://github.com/tudat-team/tudat-multidoc/commit/74c20c75051a69d7137839bae54298ead634e131

authors: DominicDirkx gaffarelj

repo: tudat-team/tudat-multidoc


text:
Change of simulated observations depending on origin

When simulating DSN Doppler observations, the behavior of the residuals changes depending on the origin used for the ephemerides origin. Tested for MGS, when in orbit around Mars, considering the origin of the ephemerides to be SSB, Mars or Earth:

If (1) SSB as origin for planets, (2) planet or SSB as origin for spacecraft: "normal" residuals
If (1) planet as origin for planets,  (2) planet or SSB as origin for spacecraft: noticeably larger residuals

EDIT: The global origin is set to coincide with the ephemerides origin of the planets (via getDefaultBodySettings).
Plots for the 4 cases, when considering Mars to be the origin planet: plots.zip
In the case of Earth as origin planet, the same results are obtained (just small differences that appear to be a result of numerical errors).
This data was generated via: https://github.com/MiguelAvillez/tudat/blob/cc788aa90d4972bce45e465f1ca76f784ef14955/tests/src/astro/observation_models/unitTestDsnOdfObservationModels.cpp
While looking for a source of this difference, I believe I found a bug in the templates when creating the system of bodies. Following the order of the function calls:

createSystemOfBodies( )
processBodyFrameDefinitions( )
setGlobalFrameBodyEphemerides( ): called without specifying the templates, hence having StateScalarType = double, TimeType = double. Thus when calling setEphemerisFrameToBaseFrame( ), the function to convert between the two frames is always set to double (double).

However, this bug doesn't explain the different behaviors of the residuals: it shouldn't cause any difference for the situations where the global and ephemerides origins coincide, i.e. where they're either both the SSB or both one of the planets, but as mentioned above the error in the residuals does occur when both origins are set to a planet.

This issue is based in a misunderstanding. The observable should be different for different frame origins. If the Earth is the origin, the frame origin will be accelerating, which will induce a modification of the observable, due to relativistic effects (e.g. change of relativistic reference frame and length/time scale)

authors: DominicDirkx MiguelAvillez

repo: tudat-team/tudat


text:
Exception during start

The following error occurs during start jirastopwatch:

22.07.2021 08:17:59: Unhandled UI Exception
22.07.2021 08:17:59: DPAPI was unable to decrypt data.
22.07.2021 08:17:59:    bei StopWatch.DPAPI.Decrypt(Byte[] cipherTextBytes, Byte[] entropyBytes, String& description)
bei StopWatch.DPAPI.Decrypt(String cipherText, String entropy, String& description)
bei StopWatch.Settings.ReadSettings()
bei StopWatch.Settings.Load()
bei StopWatch.MainForm..ctor()
bei StopWatch.Program.Main()

We have the same problem, any ideas?

Unfortunately not.

authors: gruessung mwoffenden

repo: tulleuchen/jirastopwatch


text:
Will fix symbolic hash logging

@byxorna @defect @maddalab

lgtm again

repo: tumblr/collins


text:
Enable asset distance test

Moved the test to SolrSpec (which is where it belongs) and reenabled it.

LGTM

authors: byxorna maddalab


text:
turms-plugin-minio

按文档在本地跑，还是通过admin上传插件都报
Failed to load the plugin class im.turms.plugin.impl.MinioStorageServiceProvider

是因为是im.turms.的包名通过getParent().loadClass(name)应该是加载不到的？
请问turms-plugin-minio要怎么部署？

@itmagus I will give a big update on turms-plugin-minio and write a doc on it today or tommorrow, so don't try to use it currently.
And I will @at you once the updated is released.

好的

@itmagus The new storage implementation has been released on the branch develop and master.
You can use it currently, or wait for the docs that will be published later.

@JamesChenX 请问下turms-plugin-minio插件的文档发布了吗

Error creating bean with name 'pluginManager': Requested bean is currently in creation: Is there an unresolvable circular reference?

@JamesChenX 按文档说明操作，跑不起来哈

@JamesChenX 请问下turms-plugin-minio插件的文档发布了吗

Done. https://turms-im.github.io/docs/for-developers/storage.html

按文档说明操作，跑不起来哈

Thanks for reporting. It has been fixed (e054c37), and you can try it in the develop branch.

请问下turms-plugin-minio插件的文档发布了吗

It will be published tonight or tomorrow.

谢谢，更新代码后正常启动

authors: JamesChenX itmagus

repo: turms-im/turms


text:
feat(product): implement category create in combobox

Summary by CodeRabbit

New Features

Introduced an interactive category selection mechanism with a search feature and the ability to create new categories.
Enhanced the ProductForm layout for better usability and clarity.

Bug Fixes

Improved organization of inventory fields for clearer user input.

Refactor

Streamlined the JSX structure for better readability and maintainability.

Preview


text:
15 show search field for entries in drop down menu

I implemented the part of the frontend based on the queries I received as part of the output: https://github.com/tuwien-csd/damap-backend/issues/44
The user should be able to choose to search the ORCID database by name or ORCID ID or DMP list in the search box for their individual database.
I am including two images showing the queries I received in the search box.

@ZenoLC @clarascu branch is rebased with the next and tested within the solution of David's changes:: de/44-enable-adding-contributors-sourced-from-orcid

repo: tuwien-csd/damap-frontend


text:
STITCH 42266 Support

STITCH 42266 RGBW bulb support. Thanks @MoogleTroupe for the back and forth and heavy lifting!

lgtm

authors: MoogleTroupe tony-fav

repo: tuya-cloudcutter/tuya-cloudcutter


text:
zsh: exec format error: tuya-panel-cli

MAC m1 issue
zsh: exec format error: tuya-panel-cli

m1需要手动安装， 参考链接重新安装下
https://github.com/tuya/tuya-panel-cli/releases/tag/v0.5.0
https://github.com/tuya/tuya-panel-cli/blob/main/README-zh_CN.md#maclinux-手动安装

authors: KunkkaQI songmenglong

repo: tuya/tuya-panel-cli


text:
🛑 KKK is down

In 31a5eac, KKK (https://www.kkk.tsk.tr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KKK is back up in f520fed after 6 minutes.

repo: tuz-z/upp


text:
feat: SOF-1179 add endpoint for uploading shelf layouts by blueprint ID

Makes it possible to upload shelf layouts for Show Styles associated with the given blueprint id so that we don't have to query Core for the id of the Show Style when automating this process. The first matching Show Style is chosen - a limitation due to the layouts having unique ids that wouldn't let the layout to be uploaded to more than one Show Style anyway (not a problem for us).
Also fixes use of an incorrect content type in the existing endpoint.

Codecov Report

Merging #241 (72bd19e) into develop (b66ccbb) will decrease coverage by 0.08%.
The diff coverage is 44.96%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           develop     #241      +/-   ##
===========================================
- Coverage    68.24%   68.17%   -0.08%
===========================================
  Files          277      280       +3
  Lines        34009    34103      +94
  Branches      4560     4570      +10
===========================================
+ Hits         23211    23249      +38
- Misses       10342    10390      +48
- Partials       456      464       +8

Impacted Files
Coverage Δ

meteor/lib/Settings.ts
100.00% <ø> (ø)

meteor/lib/collections/optimizations.ts
83.33% <ø> (ø)

meteor/server/migration/X_X_X.ts
100.00% <ø> (+52.00%)
:arrow_up:

...ver/migration/addMissingIdsForSelectFromColumns.ts
10.76% <10.76%> (ø)

meteor/server/migration/46_1.ts
45.83% <45.83%> (ø)

meteor/server/api/rundownLayouts.ts
97.00% <100.00%> (+0.75%)
:arrow_up:

meteor/server/migration/46_2.ts
100.00% <100.00%> (ø)

meteor/server/migration/currentSystemVersion.ts
100.00% <100.00%> (ø)

meteor/server/migration/migrations.ts
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

authors: codecov-commenter ianshade


text:
Unhandled Julia exception: LoadError

Hi,
I'm running Matlab 2015b 64-Bit on Windows 7 with MinGW64 gcc and Julia 0.5.0
Jl.build builds mexjulia.mexw64 as expected
But boot.jl is not loaded.

Jl.eval('2+2')
Error using mexjulia
Unhandled Julia exception: LoadError

Error in Jl.check_init (line 55)
mexjulia(0, ['include("' boot_file '")']);
...

Jl.eval('2+2')
Error using mexjulia
Function not found.

Errors loading the boot file are inherently opaque, unfortnately, as all of the nice error reporting rely on it having completed successfully.
The thing I would typically do in this case is to open up a julia prompt and and include("boot.jl") there. I would hope you might get some more meaningful error in that case.

Yes, the problem seems to come from MATLAB.jl
Uint vs. UInt etc
julia> include("boot.jl")
...
WARNING: Base.OS_NAME is deprecated.
likely near C:\Users\Arnold\HOME.julia\v0.5\MATLAB\src\mxbase.jl:66
in get_paths at C:\Users\Arnold\HOME.julia\v0.5\MATLAB\src\mxbase.jl
ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: Uint32 not def
ined
in include_from_node1(::String) at .\loading.jl:488 (repeats 2 times)
in eval(::Module, ::Any) at .\boot.jl:234
in require(::Symbol) at .\loading.jl:415
in include_from_node1(::String) at .\loading.jl:488 (repeats 2 times)
while loading C:\Users\Arnold\HOME.julia\v0.5\MATLAB\src\mxarray.jl, in express
ion starting on line 41
while loading C:\Users\Arnold\HOME.julia\v0.5\MATLAB\src\MATLAB.jl, in expressi
on starting on line 37
while loading C:\Users\Arnold\HOME\Julia\mexjulia-rebranding\jl\Mex.jl, in expre
ssion starting on line 5
while loading C:\Users\Arnold\HOME\Julia\mexjulia-rebranding\jl\boot.jl, in expr
ession starting on line 2

Oh, I forgot. It currently only works with MATLAB.jl master. The workaround is to execute:
julia> Pkg.checkout("MATLAB")

The short term fix is to add this command to the build script. The longer term fix, I think, is to steal the data marshaling code that mexjulia depends on from MATLAB.jl and bring it in locally.

Everything works fine with MATLAB.jl master. Thank you very much.

@e-arnold thanks for testing!

authors: e-arnold twadleigh

repo: twadleigh/mexjulia


text:
Bootstrap 3 missing .form-inline .form-group {display:inline-block;} part

The css doesn't consist this portion .form-inline .form-group {display:inline-block;}. how do i add it, its is there in original bootstrap source.

Hi, I'm using 'Bootstrap-sass' and I just want the grid and some other more characteristic.
I'm adding:
import "vendor / bootstrap-sass / variables";
import "vendor / bootstrap-sass / mixins";
import "vendor / bootstrap-sass / normalize";
import "vendor / bootstrap-sass / scaffolding";
import "vendor / bootstrap-sass / grid";
import "vendor / bootstrap-sass / responsive-utilities";
import "vendor / bootstrap-sass / modals";
import "vendor / bootstrap-sass / dropdowns";
import "vendor / bootstrap-sass / navs";
import "vendor / bootstrap-sass / navbar";
But it is forcing me to add:
import "vendor / bootstrap-sass / forms";
If I do not add that .scss not compiled by the css is missing:
"Error: not mixin named form-inline".
The problem is that the file "_forms.scss" applies more styles of necessary (for me). It would be necessary to move the mixin "mixin form-inline" to "Mixins" folder?

authors: Hugoer iamsolankiamit

repo: twbs/bootstrap-sass


text:
Add JS to set class on  based on viewport width

Hi, the below script, make more easy fine responsive adjusts, what do you think about implement  something like this by default?
jQuery(function($) {

    $.fn.isBreakPoint = function(device) {
        return $().getBreakPointClass() == 'device-' + device;
    };

    $.fn.setBreakPointClass = function() {
        var bodyClasses  = [];

        if ($('body').attr('class') != undefined) {
            bodyClasses = $('body').attr('class').split(' ');
        }

        var classBlackList = ['device-xs', 'device-sm', 'device-md', 'device-lg'];

        jQuery.grep(bodyClasses, function(bClass) {
            if (jQuery.inArray(bClass, classBlackList) != -1) {
                $('body').removeClass(bClass);
            }

        });

        $('body').addClass($().getBreakPointClass());
    };

    $.fn.getBreakPointClass = function() {
        var deviceClasses = $($('.device:visible')[0]).attr('class').split(' ');
        var classBlackList = ['device', 'visible-xs', 'visible-sm', 'visible-md', 'visible-lg'];

        var actualDeviceClasses = '';

        jQuery.grep(deviceClasses, function(el) {
            if (jQuery.inArray(el, classBlackList) == -1) actualDeviceClasses = el;
        });

        return actualDeviceClasses;
    };

    $(document).ready(function () {

        $(document).ready(function () {

            $('body').append('

');
            $('body').append('

');
            $('body').append('

');
            $('body').append('

');

            $().setBreakPointClass();

            $(window).resize(function () {
                $().setBreakPointClass();
            });
        });
    });
});

Can't say I really see the point of this. The proper way is to use media queries in your CSS instead. Bootstrap even already provides some Sass mixins to make writing them easier.
And there are already responsive display and text-align classes in Bootstrap, which cover some of the use-cases that this class toggling code might have.

@brunoguirado Care to give a rebuttal?

for example, i have an image and I need change this image when screen is resized (xs, sm, md or lg), I think more easy if body target comes setted with device. Some times I don't know use this resource from bootstrap.
Today bootstrap have the Media queries for this, all right, but the code get dirty and with this class setted in the body, get more easy and css code, for divs for example, gets grouped and easy to read and fix/adjust.

Example:  and
...
/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm-min) {
div.img-x { background-image: url('path-to-image-x-sm.jpg'); }
div.img-y { background-image: url('path-to-image-y-sm.jpg'); }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md-min) {
div.img-x { background-image: url('path-to-image-x-md.jpg'); }
div.img-y { background-image: url('path-to-image-y-md.jpg'); }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) {
div.img-x { background-image: url('path-to-image-x-lg.jpg'); }
div.img-y { background-image: url('path-to-image-y-lg.jpg'); }
}
...
With my suggestion:
...
body.device-sm div.img-x { background-image: url('path-to-image-x-sm.jpg'); }
body.device-md div.img-x { background-image: url('path-to-image-x-md.jpg'); }
body.device-lg div.img-x { background-image: url('path-to-image-x-lg.jpg'); }
body.device-sm div.img-y { background-image: url('path-to-image-y-sm.jpg'); }
body.device-md div.img-y { background-image: url('path-to-image-y-md.jpg'); }
body.device-lg div.img-y { background-image: url('path-to-image-y-lg.jpg'); }
...

CC: @mdo for opinion

FWIW my opinion: this approach creates a JavaScript dependency. And while it's true that it would make writing new styles less verbose, it basically advocates abandoning media queries for old-school JS similar to this from 2006 http://www.themaninblue.com/writing/perspective/2004/09/21/ ...

@brunoguirado to me it looks like you are looking for sizing utilities similar to:
https://github.com/suitcss/utils-size
See the responsive utilities section.  I believe SUIT generates these using @custom-media variables.  You could do it fairly easily using something like:
postcss-custom-media.
You may need to use postcss-each as well to generate the responsive utitlies for each breakpoint.  I'm still figuring out the exact process.  Once you have the utilties, you would apply all of them to the image, and then the correct class is triggered by the media breakpoint.

Thanks, but we'll pass.

Might be helpful for Bootstrap 4 Beta 2
`jQuery(function($) {
	    $.fn.isBreakPoint = function(device) {
	        return $().getBreakPointClass() == 'device-' + device;
	    };

	    $.fn.setBreakPointClass = function() {
	        var bodyClasses  = [];

	        if ($('body').attr('class') != undefined) {
	            bodyClasses = $('body').attr('class').split(' ');
	        }

	        var classBlackList = ['device-xs', 'device-sm', 'device-md', 'device-lg', 'device-xl'];

	        jQuery.grep(bodyClasses, function(bClass) {
	            if (jQuery.inArray(bClass, classBlackList) != -1) {
	                $('body').removeClass(bClass);
	            }

	        });

	        $('body').addClass($().getBreakPointClass());

	    };

	    $.fn.getBreakPointClass = function() {
	        var deviceClasses = $($('.device:visible')[0]).attr('class').split(' ');
	        var classBlackList = ['device', 'd-xs-none', 'd-xs-block', 'd-sm-none', 'd-sm-block', 'd-md-none', 'd-md-block', 'd-lg-none', 'd-lg-block', 'd-xl-none', 'd-xl-block'];

	        var actualDeviceClasses = '';

	        jQuery.grep(deviceClasses, function(el) {
	            if (jQuery.inArray(el, classBlackList) == -1) actualDeviceClasses = el;
	        });

	        return actualDeviceClasses;
	    };

	    $(document).ready(function () {

	        $(document).ready(function () {

	            $('body').append('

');
	            $('body').append('

');
	            $('body').append('

');
	            $('body').append('

');
	            $('body').append('

');

	            $().setBreakPointClass();

	            $(window).resize(function () {
	                $().setBreakPointClass();
	            });
	        });
	    });
	});`

authors: brunoguirado cvrebert mdo oleersoy patrickhlauke plinus

repo: twbs/bootstrap


text:
Support - is this possible with boostrap ?

Hi I'm starting to make some interest in boostrap. Fast question to see it is worth the time to start :)
Is this - http://i65.tinypic.com/29eoy2a.png possible with boostrap grid system ? Thanks!

This question would be better off on StackOverflow, since the issues aren't for personal help requests.
But, yes it could be possible

As noted, the bug tracker is not the right venue for personal help requests.
See https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker for links to proper venues for such requests. Thanks.

Ohhh, got it. Ok pls remove this topic.


text:
[v4] Navbar toogler ontop of brand when screen size is 575 or below in width

Windows 10
Chrome 58.0.3029.96
Using bootstrap 4 (modified an existing ASP.NET MVC template for Bootstrap 3)

On small screens (phone) the container class in navbar lose its width: 100% casuing the navbar toogler to be aligned above the brand. Its flex-end is not honored.
Adding the below fixes the issue.
@media (max-width: 991px)
.navbar-toggleable-md > .container {
    width: 100%;
}

Edit ~I'll sneak in an unrelated question I can't find the answer to: How do I set a custom checkbox selected on page load? Is this only possible by JavaScript and if so - do I target the input?~
Just cause I couldn't find any class changes I assumed I had to resolve to other means, but just setting checked worked. No big surprise - but silly me missed it!
Update 2: Sorry for not posting the JSBin!

@joacar can you send a reduced test case using JSBin

@cr101 Sorry not posting the JSBin!

@joacar this is a duplicate of #22028 which has been fixed in #21722

@cr101 Perfect, thanks! Sorry taking your time when there already was an open issue - I were to specific in my search so didn't found it.


text:
Add a local jQuery fallback.

Shouldn't really happen, but China for example has blocked Google so this should help.
Fixes #16886.
/CC @cvrebert
PS. I skipped template.html on purpose.

Please find another reviewer for this.

Not sure what you mean. The patch is pretty straightforward, isn't it?

Yes, but I DGAF about the underlying issue, so I'm not a good person to review this.

I know for sure GitHub pages set the cache to like 10 min for CSS and JS files so it's OK (for now at least).
Generally, it's always preferable to use a distinct filename for caching issues.

I know for sure GitHub pages set the cache to like 10 min for CSS and JS files so it's OK (for now at least).

Right, it's just that having to modify 15 files to upgrade the jQuery version in the future seems potentially annoying.

True but it'd just a search and replace.
I'll make a new patch tomorrow with this change.
On Jul 26, 2015 12:52 AM, "Chris Rebert" notifications@github.com wrote:

I know for sure GitHub pages set the cache to like 10 min for CSS and JS
files so it's OK (for now at least).
Right, it's just that having to modify 15 files to upgrade the jQuery
version in the future seems potentially annoying.
—
Reply to this email directly or view it on GitHub
https://github.com/twbs/bootstrap/pull/16888#issuecomment-124901510.

Used jquery.min.js as the filename.

@XhmikosR Has this been ported to v4's docs?

I think it has, yes. And I added the missing fallback in https://github.com/twbs/bootstrap/commit/85ab83136ea4276f762cdbbb1fb598fd09201820.

Superb

authors: XhmikosR cvrebert


text:
Add disabled styling for .custom-select

Addresses #19365

CC: @mdo

Oh hell yeah.

authors: MatthewRayfield cvrebert mdo


text:
Colors rewrite

Purpose of this PR is to use a uniform approach on using colors:

Use tint-color() to replace lighten()
Use shade-color() to replace darken()
Use scale-color() to replace color-level() (since we don't work with levels anymore)
Get rid of $theme-color-interval, the 8% levels are hard to calculate with.
Table variants, list item variants & alerts variants used to have different colors:

https://twbs-bootstrap.netlify.app/docs/5.0/content/tables/#variants
https://twbs-bootstrap.netlify.app/docs/5.0/components/alerts/#examples
https://twbs-bootstrap.netlify.app/docs/5.0/components/list-group/#contextual-classes
vs
https://deploy-preview-30622--twbs-bootstrap.netlify.app/docs/5.0/content/tables/#variants
https://deploy-preview-30622--twbs-bootstrap.netlify.app/docs/5.0/components/alerts/#examples
https://deploy-preview-30622--twbs-bootstrap.netlify.app/docs/5.0/components/list-group/#contextual-classes
(color contrast on the light variants is still an issue, but can be tackled later on to prevent this PR from being too overwhelming)

I really prefer the percentage values you're suggesting to remove $theme-color-interval, it's much clearer!

Is this safe to bring back and set to ready for review for Alpha 3?

Yeah, fine by me. Worked a bit on this today, but it seemed to be a bit more complex than I initially thought. I'll keep you posted

Any reason to implement this change using black and white (essentially working in HWB) rather than using Sass's scale-color($color, $lightness: 12%) ?

A little more guidance in the migration documentation would be helpful when 5.0 is released. Through some experimentation I found that shift-color($color, $level * 8) is similar to color-level($color, $level).

authors: MartijnCuppens ffoodd mdo miken32 stof


text:
Update sources.nix and sources.json

A simple update of Niv and sources.json

Nixpkgs is now updated with https://github.com/tweag/webauthn/pull/182

authors: ErinvanderVeen infinisil

repo: tweag/webauthn


text:
This App has violated Twitter Rules and policies, while i use filter.

`
class IDPrinter(tweepy.Stream):
def on_status(self, status):
   print(status)
def on_request_error(self, status_code):
    print(status_code)
    if status_code == 420:
        print(status_code)
        return False
def on_connection_error (self, status_code):
    print(status_code)
    if status_code == 420:
        print(status_code)
        return False

def main():
printer = IDPrinter(
        consumer_key, consumer_secret,
        access_token, access_token_secret
        )
while True:
    try:
        printer.filter(follow=following_id_list, stall_warnings=True)
        time.sleep(5)
    except Exception as e:
        print(e)
        time.sleep(60)

if name == 'main':
main()

`
after i run this code for about an hour, i get 403 error and twitter send me an email said 'This App has violated Twitter Rules and policies. As a result, certain functions will be limited'.

I don't know how to solve it. Can anyone help?

I am trying to regenerate the token info and see what happens.

This isn't an issue with Tweepy. You should contact Twitter API Policy Support instead.
For code block usage, see https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.

repo: tweepy/tweepy


text:
Installation from github failed

sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 17, in
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
TypeError: parse_requirements() got an unexpected keyword argument 'session'
do i need to login as root?

Looks like someone messed up here.


text:
Hacktoberfest

Might be good to have this repo in hacktoberfest to encourage new contributers (https://hacktoberfest.com/participation/#maintainers). Would just need to add the 'hacktoberfest' topic to the repo.

That's a good idea, I added the topic. Thank you!

repo: twibiral/obsidian-execute-code


text:
Remove ANSI escape codes from stdout

This removes ANSI escape codes from the stdout output.
This closes #169

At a later point, I would love to truly support ANSI codes by changing them into <span style="...">s. However, at the current juncture I think it makes more sense to fix the existing bug & possibly add that feature later. I've made an issue to track that (#176)

Thank you @chlohal !

authors: chlohal twibiral


text:
Make x-scala-type work with number types

We're using x-scala-type with Shapeless Tags in order to give meanings to our values.
This works very well for strings.
It would be very useful for us to also have it for numbers.

Thanks a lot @blast-hardcheese !

repo: twilio/guardrail


text:
CONVERSATIONCLIENT.getSubscribedConversation doesn't update instantly

When a user leaves a conversation, the CONVERSATIONCLIENT.getSubscribedConversation method still shows that chat.

Could you provide logs where this issue is reproduced please?

@furqansays  - can you please provide the logs requested by @rusmonster? Thank you!

Closing giving lack of input from user. Thank you, and please open a new ticket in case you get back to this @furqansays!

repo: twilio/twilio-conversations-demo-react


text:
zsh: command not found: twint

┌──(kali㉿kali)-[~/twint]
└─$ twint  -h
zsh: command not found: twint

i have same problem so pls kindly tell me that why is twint not working in terminal and in cloud shell , and also twint is buggy

⚙Install & Usage:
$ sudo apt update
$ git clone --depth=1 https://github.com/twintproject/twint.git
$ ls
$ cd twint
$ ls
$ pip3 install . -r requirements.txt
$ sudo python3 setup.py install
$ sudo twint -h
$ sudo -i
$ twint -u Andela
https://youtu.be/Jk5TF-yEZZ4

repo: twintproject/twint


text:
[Request] Add Tweet.photos when adding Tweets in ElasticSearch

Request
Hi,
I think adding the list of photos scrapped by the tool in ElasticSearch can be a good idea.
This info can be retrieve when exporting to JSON, CSV and in DB but not in ElasticSearch.
Thanks,

Added it, I tested and it works


text:
[QUESTION] what are the differences between mention and reply_to in tweet search result?

I used twint for a while and experienced some major updates. I have several different sets of twint tweet search results obtained using difference twint versions, and would like to know the difference between versions.
There is one version of tweet search including the following attributes
mentions,user_rt_id,near,geo

A later version of tweet search of the following attributes
mentions,near,geo,source,user_rt_id,user_rt,retweet_id,reply_to

A third version of tweet search result:
mentions,near,geo,source,user_rt_id,user_rt,retweet_id,reply_to,retweet_date

Here are two examples

The above url

The above url
I am interested in the mentions field and the reply_to field. Do all the three versions have the same meaning of mentions field and the reply_to ? Do the above examples correspond to mention and reply to?
The first example I got 48 mentions in the search result and this match the reply to username count on the webpage.
The second example mentions user count is 48 and does not match with 49 on the webpage.
Why do the reply to @username all appear in the mention field? What does mention refer to?

@hongtaicao
In a couple of test I got always len(reply_to) = len(mentions) + 1

And I don't know why you got a different count than me

The difference between mentions and reply_to is that when Twint extracts reply_to usernames, it extracts reply_to IDs as well which have more value than just usernames. Because you might have and old tweet that's mentioning an user, but that handle does not exist anymore and so you don't know if that user changed the handle or got deleted.
The reason why I'm keeping both is for compatibility, reply_to is not fully implemented yet, especially on the Elasticsearch side
Sorry for the late reply
Francesco


text:
Add return types and override modifiers

This makes things a little bit more consistent; For now I only did it for algebird-core

How did you do this BTW? Was this a scalafix?

can we do this without making mima unhappy?

I tried to use scalafix ... but it didn't work out well enough. There's a rule for it, but is a bit buggy; I took the easy way out and used IntelliJ for a bit 😄
RE: MiMa ... yeah it should be possible

Codecov Report

Merging #717 into develop will decrease coverage by 0.04%.
The diff coverage is 79.53%.

@@             Coverage Diff             @@
##           develop     #717      +/-   ##
===========================================
- Coverage    89.67%   89.62%   -0.05%
===========================================
  Files          112      112
  Lines         8938     8938
  Branches       325      325
===========================================
- Hits          8015     8011       -4
- Misses         923      927       +4

Impacted Files
Coverage Δ

.../main/scala/com/twitter/algebird/VectorSpace.scala
75% <ø> (ø)
:arrow_up:

...rc/main/scala/com/twitter/algebird/SGDMonoid.scala
53.33% <ø> (ø)
:arrow_up:

.../main/scala/com/twitter/algebird/RightFolded.scala
100% <ø> (ø)
:arrow_up:

...ain/scala/com/twitter/algebird/DecayedVector.scala
76.47% <ø> (ø)
:arrow_up:

.../src/main/scala/com/twitter/algebird/MinPlus.scala
100% <ø> (ø)
:arrow_up:

.../src/main/scala/com/twitter/algebird/Functor.scala
0% <ø> (ø)
:arrow_up:

...a/com/twitter/algebird/statistics/Statistics.scala
70.83% <ø> (ø)
:arrow_up:

...main/scala/com/twitter/algebird/HashingTrick.scala
0% <0%> (ø)
:arrow_up:

...cala/com/twitter/algebird/matrix/DenseMatrix.scala
0% <0%> (ø)
:arrow_up:

...in/scala/com/twitter/algebird/StatefulSummer.scala
0% <0%> (ø)
:arrow_up:

... and 66 more

Continue to review full report at Codecov.

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

authors: codecov-io johnynek regadas

repo: twitter/algebird


text:
Update sbt-ci-release to 1.6.1

About this PR
📦 Updates com.github.sbt:sbt-ci-release from 1.5.10 to 1.6.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "sbt-ci-release" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.sbt", artifactId = "sbt-ci-release" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #694.

repo: twitter/bijection


text:
[2.0-wip] Checkboxes styling

Great work on wip-2 guys!! :-)
Please consider including styling for checkboxes, they look really plain in windows machines (on firefox), and there arent many jquery plugins to make them look better. (tip: check the checkbox styling that jquery mobile has)
Thanks!

We won't be adding any javascript driven custom checkboxes—those, like many other form elements, will remain as is.

any chance of changing them with some css?

repo: twitter/bootstrap


text:
label inside inline-form should also have display:inline-block

Please evaluate if there is any side-effect to apply inline-block to labels inside horizontal-form and search-form, in addition to inline-form.

I asked github to delete this request, so I can do it the right way, using a separate branch. Sorry for the noise.

redoing the pull request


text:
Rust cc log support

Add a binding layer between rust's log crate and cc_log's logging facilities. This is intended to allow rust to log using its own facilities, but have the messages routed through cc_log.
Included are integration tests from both the rust and C sides, plus a backport of the bstring wiring from the pelikan repo.

Gonna close this, as I'm working on breaking it into single and multithreaded implementations

repo: twitter/ccommon


text:
autograd initialization error

When trying to load autograd (require 'autograd'), the following error raises:
...ser/torch-workspace/install/share/lua/5.1/trepl/init.lua:363: ...ser/torch-workspace/install/share/lua/5.1/trepl/init.lua:363: ...-workspace/install/share/lua/5.1/autograd/optim/init.lua:27: bad argument #1 to 'pairs' (table expected, got boolean) stack traceback: 	[C]: in function 'error' 	...ser/torch-workspace/install/share/lua/5.1/trepl/init.lua:363: in function 'require' 	[string "_RESULT={require 'autograd'}"]:1: in main chunk 	[C]: in function 'xpcall' 	...ser/torch-workspace/install/share/lua/5.1/trepl/init.lua:630: in function 'repl' 	...-workspace/install/lib/luarocks/rocks/trepl/scm-1/bin/th:185: in main chunk 	[C]: at 0x00406240
I'm successfully working with autograd on a different machine (really awesome project!), so my guess is that I have some other package is out of date, or has changed.

you should prob update your optim package luarocks install optim

Yep, that was it

authors: eladrich szagoruyko

repo: twitter/torch-autograd


text:
Update OAuth20GetAccessToken.java

Problem
Explain the context and why you're making that change.  What is the
problem you're trying to solve? In some cases there is not a problem
and this can be thought of being the motivation for your change.
Solution
Describe the modifications you've done.
Result
What will change as a result of your pull request? Note that sometimes
this section is unnecessary because it is self-explanatory based on
the solution.

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

repo: twitterdev/twitter-api-java-sdk


text:
ACL support in Admin client

We want to manage ACLs in our Crossplane provider, similar to terraform Kafka provider but looks like there is no support (yet) in kadm to do so.
Are there any plans for adding that support?

I've added more helpers to the ACLBuilder, and have used the Create/Describe/Delete functions now (which is where the more helpers came from). Also, Ops has been renamed to Operations.
Overall I think the API is in a better place now but please lmk if you have suggestions!

This is excellent! Thanks for being so responsive and committed to making this API feature complete. We'll try this out this week

authors: jograca turkenh twmb

repo: twmb/franz-go


text:
Add alt-text for cells on talks grid

Ed mentioned that it would be nice if alt-text for each grid cell has room and time information attached to each talk.

Fixed in 25dbc59b676ecb0f902835d297282994f3f33bf5

repo: twodarek/barcampgr-teams-bot


text:
node plugin needs

output should go into the cell not into the tray
variables should be accessible from one cell to another
autotranslation
autocompletion

https://github.com/twosigma/beaker-notebook/issues/1145

autotranslation done: https://github.com/twosigma/beaker-notebook/issues/4267

variables should be accessible from one cell to another

already done - https://github.com/twosigma/beaker-notebook/commit/80e412b48a9d65cf441ff0785809e809a5014965

authors: scottdraves sshkalikov

repo: twosigma/beaker-notebook


text:
#3044. Time series autotranslation bug

I found that autotranslation in JS ruins DataTable with complex(object) key.
Here: o[v.values[r][0]] =  index is an object with type=Date and timestamp field. As it converted to string as [object object] all values will be mapped to this key and we can see:
[object object] 0.1234123123
Confirm if that's what we need, please.

this is a step in the right direction but more is needed to fix it for R.

:+1:

I've fixed this in R now. But as now values are put under integer key(timestamp) in javascript - it changes original value.
You can add python3 cell with code: beaker.ts and see that value in the first column differs from initial value.

:+1:

authors: maxyeg scottdraves


text:
Any plans for JDK17 support?

Is there a timeline for updating to the latest JDK17? Thanks!

Supported using conda install -c beakerx beakerx_all.

authors: martindoublem pdeitel

repo: twosigma/beakerx


text:
Some improvements for MacOS

NSVisualEffectView.state is now always active, so blur is rendered even if the app is not active.
Blending mode changed to .behindWindow for such a fix:

Before:

After:

Now there is a problem with corner radius for blurred materials (.windowBackground works nice for example, but blurred .underWindowBackground doesn't 😢)

Awesome – thank you! Quick question: are you saying the blurring is now always active and wasn't always active before? My understanding was that blur state is used to signal a window's active state.

Here is the example without visualEffectView.state = .active

Sorry to sound dim, but is that picture showing what happens right now, or what happens with your change?

No problem. The picture is showing what happens right now, and this PR makes blur consistently active (due to visualEffectView.state = .active).

Ah, I see. So, the behavior you're seeing right now is the default, recommended behavior in macOS – it's the same thing you'll see in the visual effect views in Finder and Xcode, for example. I'm happy to add an override, but I don't think it should be the default.

Okay, so what do you think about adding an initializer with blending mode & state with default values to support both behaviors (with the old ones as default)

If you can extend the existing initializer to provide these as an option, while retaining the current default behavior, that would be perfect 👌

Done 🙂

Also, I made the initializer public to solve that issue

Thank you!

authors: maximkrouk twostraws

repo: twostraws/VisualEffects


text:
hashKernel method allocates on every invocation

we should use bitwise operations instead, this will improve performance

Fixed in https://github.com/tylertreat/BoomFilters/pull/33

repo: tylertreat/BoomFilters


text:
Cherrypick injective type families

The issue describes desired future midterm development of ghcvm.
https://downloads.haskell.org/~ghc/8.0.1/docs/html/users_guide/glasgow_exts.html#injective-ty-fams

Closing as this is a language change, this should follow the Eta Proposal Process:
https://github.com/typelead/eta-proposals

authors: NCrashed rahulmutt

repo: typelead/eta


text:
New "Code" form component to allow editing code in a form.

Would be good to use manaco editor. https://github.com/microsoft/monaco-editor

Completed

authors: Harikarthyk wildone

repo: typerefinery-ai/typerefinery-websight


text:
Discord or Slack?

Is there a community for support and connection who are building with typesense?

Yes, we've a Slack community.

repo: typesense/typesense-python


text:
Stack too deep when before callback or cache for hydra is used.

I'm facing this problem with latest (0.6.9) version:
# hydrocephalus.rb

require 'typhoeus'

hydra = Typhoeus::Hydra.new

urls = ["http://google.com"] * 6000

::Typhoeus.before do |request|
  request.finish(Typhoeus::Response.new) # simualting cache
end

requests = urls.map do |url|
  Typhoeus::Request.new(url).tap do |request|
    request.on_success do |response|
      # callback
    end
  end
end

requests.each {|req| hydra.queue(req)}
hydra.run

$ ruby hydrocephalus.rb
/home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/request/cacheable.rb:5: stack level too deep (SystemStackError)
```

I think it is because `add` is called from `dequeue` method on `Typhoeus::Hydra` instance.

Better stacktrace (`raise "exception" if caller.length > 30` added before `request.finish` line):

```
[ryba@retro  prezo (master *#%)]❤ ruby hydrocephalus.rb
hydrocephalus.rb:8:in `block in <main>': exception (RuntimeError)
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:21:in `call'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:21:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:63:in `dequeue'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:23:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:63:in `dequeue'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:23:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:63:in `dequeue'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:23:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:63:in `dequeue'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:23:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:63:in `dequeue'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:23:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:63:in `dequeue'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:23:in `block in add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `each'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/before.rb:20:in `add'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/queueable.rb:77:in `dequeue_many'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/runnable.rb:14:in `run'
        from /home/ryba/.rvm/gems/ruby-2.0.0-p481/gems/typhoeus-0.6.9/lib/typhoeus/hydra/memoizable.rb:51:in `run'
        from hydrocephalus.rb:21:in `<main>'
```

Is that real issue or am I just using hydra in bad way?

Any update on this one ?
I have a similar issue, but with on_complete:
.rvm/gems/ruby-2.2.0/gems/typhoeus-0.7.1/lib/typhoeus/request.rb:204:in `map': stack level too deep (SystemStackError)
I currently set the cache_ttl to 0 to avoid it when checking large number of URLs

@erwanlr thanks for reporting. This is not an easy problem. I will take some time next week to look at it.

Thanks !
Yep, I know it's not an easy one, I tried to monkey patch things to get this fixed before posting but huuuuuuu :/
If it can help, the exception is raised around the 1840th requests (exactly the 1840th with the script given by @simi , and the 1837th in my real case scenario)

Also worth mentioning that if at least one request is not already cached and is done before the 1840th, the error will not appear.
In my case, I did 2k requests which were cached (persistent with a 10min TTL), then added a new url at the 1836th place, re-ran the check w/o any error, but then if run again (w/o any new URL, so they are all retrieved from the cache), the error was raised

Modified the original script to reproduce the behaviour I am talking in the post above:
require 'typhoeus'

class Cache
  def initialize
    @memory = {}
  end

  def get(request)
    @memory[request]
  end

  def set(request, response)
    @memory[request] = response
  end
end

Typhoeus::Config.cache = Cache.new
@hydra = Typhoeus::Hydra.new

def run_hydra(urls)
  urls.each do |url|
    request = Typhoeus::Request.new(url)

    request.on_complete do |response|
      # p response.request.url
    end
    @hydra.queue(request)
  end

  @hydra.run
end

urls = 2000.times.map { |i| "http://google.com/#{i}" }

puts 'Populating Cache'

run_hydra(urls)

puts 'Cache Populated'

# Uncomment the line below to add an uncached request
# urls.insert(1830, 'http://uncached.com')

run_hydra(urls)

Yipeyeaaaaa, found a fix I think ^_^
Background: The problem is that the Hydra#add and Hydra#dequeue call each other when requests are cached, resulting in recursion and filling the caller until it can't handle anymore and blow up :o.
My fix is to remove calls to the Hydra#dequeue from Hydra#add and do the recursion in the Hydra#run until queued_requests is empty.
Script & Monkey Patching (tested with 2k and 50k requests):
require 'typhoeus'

module Typhoeus
  class Hydra
    module Cacheable
      def add(request)
        if request.cacheable? && response = Typhoeus::Config.cache.get(request)
          response.cached = true
          request.finish(response)
        else
          super
        end
      end
    end

    module Memoizable
      def add(request)
        if request.memoizable? && response = memory[request]
          request.finish(response, true)
        else
          super
        end
      end
    end

    module Runnable
      def run
        dequeue_many
        multi.perform
        run unless queued_requests.empty?
      end
    end
  end
end

class Cache
  def initialize
    @memory = {}
  end

  def get(request)
    @memory[request]
  end

  def set(request, response)
    @memory[request] = response
  end
end

Typhoeus::Config.cache = Cache.new
@hydra = Typhoeus::Hydra.new

def run_hydra(urls)
  urls.each do |url|
    request = Typhoeus::Request.new(url)

    request.on_complete do |response|
      #p response.request.url
    end
    @hydra.queue(request)
  end

  @hydra.run
end

urls = 50000.times.map { |i| "http://google.com/#{i}" }

puts 'Populating Cache'

run_hydra(urls)

puts 'Cache Populated'

# Uncomment the line below to add an uncached request
# urls.insert(1830, 'http://uncached.com')

run_hydra(urls)

However, I have no idea if it will affect the performance :/, I will let you be the judge of that :P

@erwanlr thanks for your work! Your solution changes the problem, but there is still recursion. I think I found another solution: https://github.com/typhoeus/typhoeus/commit/fc65a8ae02f1756b47af1ad95d37f2690f19ea66. dequeue_many won't trigger the recursion anymore. That should fix the problem since that should be the only place where it can run into stacklevertoodeep.
I also unrolled the magic even more. What do you think?

Yea that also do :). However, I have noticed a huge performance drop in the unroll branch (which is at 0.6.9) compared to the master. I first thought it was your fix but no :P
e.g: 20k requests with my fix in the master are done in 46s, whereas in the unroll (with either your fix or mine), it's performed in 5m30s.
With 2k requests it increases from 20s to 1m40s

Any ETA for the changes ?

Apparently, this issue still is not fixed.

authors: Ryan-Factual erwanlr i0rek simi

repo: typhoeus/typhoeus


text:
Random Thread Creation

Hi,
I'm using typhoeus (1.3.1) on ruby 2.5.3 and came across a (presumably random) thread being created (but not killed) by typhoeus. Consider the following:
root@2b885cef4144:/# irb -r typhoeus
irb(main):001:0> Thread.list
=> [#<Thread:0x0000563e19b24b68 run>]
irb(main):002:0> Typhoeus.get 'http://txti.es'; nil
=> nil
irb(main):003:0> Thread.list
=> [#<Thread:0x0000563e19b24b68 run>, #<Thread:0x0000563e1a333408 sleep>]

I believe the 2nd thread in Thread.list is erroneous and shouldn't be alive/sleeping. It's fine for libraries to create additional threads, but only if they're properly handled after use.
What's interesting is that the thread is only created on the first get request. If you run subsequent gets etc. no additional threads are created; but the erroneous thread lingers.
Has anybody got any ideas on what's going on here? Should typhoeus be creating threads under the hood? Why is this one still alive? What does it do?
Thanks in advance!

Bump! ^^^

Bump! ^^^

Bump! ^^^


text:
chore: Add pkg-pr-new

Testing new tool pkg.pr.new. Should come in handy when doing prs.

Seems to be working well, merged.

repo: typicalninja/google-sr


text:
Question: how to return TRUE instead of content

I want to return true when this is insert in the db

While json-server doesn't have a built-in way to return a simple "true" value, but this is one of the way you can do is
Customize Response in Middleware:
Create a middleware function to intercept the response after a successful insert:
for example  something like this :
jsonServer.use((req, res, next) => {
if (req.method === 'POST' && req.url.startsWith('/db') && res.statusCode === 201) {
res.json({ success: true }); // Replace with your desired response
} else {
next();
}
});

repo: typicode/json-server


text:
options to filter acronyms that are used only a single time

Sometimes you need more control over when the first entry is printed.
For example, you use an acronym in a figure in short form, but still want the next appearance to be the long form. The Latex package solves this by providing a macro. I think something similar to that by adding another optional argument ignore-use could be useful.
I think an option for make-glossary to make the long form print for the first appearance optional would be great, too.
And last, I think options should be provided to filter acronyms that are used only a single time. I'm not sure on the details of this one yet though.
I can try to implement these myself, but I first wanted to hear your thoughts.

Hello @indicatelovelace,
thanks for sharing your thoughts!

For example, you use an acronym in a figure in short form, but still want the next appearance to be the long form.
if you want to force the short-form you should be able to use

#gls(key, long: false) // short+suffix

I think an option for make-glossary to make the long form print for the first appearance optional would be great, too.

I actually have a working version of this in my fork, but I haven't had the time to discuss this (I'll create an issue).

And last, I think options should be provided to filter acronyms that are used only a single time.

If by that, you mean counting the back-references to each acronym, then it is already possible using the internal API. Something like this maybe:
#import "@preview/glossarium:0.4.0": count-refs, __glossary_entries
#context {
    // All entries counts
    let entries = __glossary_entries.get()
    for (key, e) in entries {
      str(e.key) + " " + str(count-refs(e))
      linebreak()
    }
    linebreak()

    // Single-use
    let single_use_entries = entries.values().filter(e => count-refs(e) == 1)
    for e in single_use_entries {
      str(e.key) + " " + str(count-refs(e))
      linebreak()
    }
 }

If you have time, I think @slashformotion wouldn't refuse any contribution to the documentation or the user API!

@indicatelovelace I will divert the issue of user control over first time usage or single usage to #57

authors: indicatelovelace quachpas

repo: typst-community/glossarium


text:
numty:0.0.2

I am submitting

[ ] a new package
[x] an update for a package

Description: Explain what the package does and why it's useful.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

Thank you.

authors: PabloRuizCuevas elegaanz

repo: typst/packages


text:
chordish:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: Chordish is a simple template for creating guitar and ukulele chord sheets. It detects chords written inline with lyrics, formats them, and generates chord diagrams for the chords used in each song.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks!


text:
Use Java 8 Annotations

Check the new java 8 annotations (https://blogs.oracle.com/java-platform-group/java-8s-new-type-annotations)
Like the @NotNull

Closed wrong issue on PR #80

repo: tzulberti/archery-training


text:
Compile Error for ndk build

Hi
I want to build dlib android library.
My operating system is windows 7.
I can build ndk library successfully.
I can build dlib on Ubuntu too.
But when I want to build it on windows 7. The result is as follows:

can any one help me to solve it.

OK I have solved my issue.
I run ndk-build in jni folder while it should execute in dlib-android folder.

How can you solved this problem exactly ? Can you explain more ? Cause, I have get same error. But I can't solve this problem. Thanks.

I execute ndk-build in jni folder...it is not correct
execute ndk-build command before jni folder

authors: CananGungor brainstormapps

repo: tzutalin/dlib-android


text:
.ffu font need help

I am working on porting Superdimension Neptune VS to Chinese, and there is a new version .ffu file, is there a tool for editing it?Thx.
.ffu file is here, https://mega.nz/#!rYFFALqY!27s57xftPzRNfgoZMBj4ebq5gY5VbILBkygIzcMm-zQ

I don't know. I don't even have a PS Vita to begin with. Plus Neptools has no support for .ffu files at the moment. See #1 for some discussion.

license: WTFPL


text:
style: prettier html

Prettier can now format html files and inline html code blocks.
https://prettier.io/blog/2018/11/07/1.15.0.html

I like this new feature !

authors: ChristianMurphy jgribonvald

repo: uPortal-contrib/uPortal-web-components


text:
Make admin password label actually show up.

I swear I fixed this before, but maybe it was a different element.

:+1:

authors: blueandgold xwsxethan

repo: uProxy/ufo-management-server-flask