Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 19 07:06
    kataras synchronize #1662
  • Oct 19 07:06

    kataras on jwt-new-features

    minor commit. But I am not happ… (compare)

  • Oct 18 18:51
    kataras synchronize #1662
  • Oct 18 18:51

    kataras on jwt-new-features

    jwt: make the Blocklist an inte… (compare)

  • Oct 18 17:32
    kataras synchronize #1662
  • Oct 18 17:32

    kataras on jwt-new-features

    add a very simple example on JW… (compare)

  • Oct 18 16:39
    kataras synchronize #1662
  • Oct 18 16:39

    kataras on jwt-new-features

    minor: godoc: remove invalid co… (compare)

  • Oct 18 16:38
    kataras synchronize #1662
  • Oct 18 16:38

    kataras on jwt-new-features

    minor (compare)

  • Oct 18 16:37
    kataras synchronize #1662
  • Oct 18 16:37

    kataras on jwt-new-features

    add an example for #1659 (compare)

  • Oct 18 16:26
    kataras synchronize #1662
  • Oct 18 16:26

    kataras on jwt-new-features

    Thank you @KevinZhouRafael for … add context.ReadURL - relative … (compare)

  • Oct 18 15:26

    kataras on master

    Thank you @KevinZhouRafael for … (compare)

  • Oct 18 14:15
    kataras synchronize #1662
  • Oct 18 14:15

    kataras on jwt-new-features

    jwt: add the (last) helper: Ver… (compare)

  • Oct 18 11:42
    kataras synchronize #1662
  • Oct 18 11:42

    kataras on jwt-new-features

    add an extra security layer on … (compare)

  • Oct 17 12:22
    kataras synchronize #1662
Gerasimos (Makis) Maropoulos
@kataras
YAML is already supported (yaml, toml, ini, json)
lee
@lihaotian0607
image.png
@kataras why is Body also binary?
image.png
Damon Blais
@AlbinoGeek

YAML is already supported (yaml, toml, ini, json)

This should be mentioned in the examples for I18N ! I would be using yaml already if I knew this

Gerasimos (Makis) Maropoulos
@kataras
Hello @lihaotian0607 It's binary so you can send any type of message you want you are not strict to use strings only, you can use streaming data too (e.g. video/audio binary data) or even a whole file (e.g. image) but primary I think I did it for performance boost when using that kind of data ^ you don't have to convert the incoming string to byte array, it's already byte array
Why you ask, is there a problem there?

@AlbinoGeek Ah on the first example, only INI are used, you are right, but on the second (later added by your comment on the i18n post issue) yaml are used too. Also in the book (you have access to, look the contents/localization.md):

image.png

lee
@lihaotian0607
If so, unmarshal should be changed to
if(this.SetBinary){
return new TextDecoder("utf-8").decode(new Uint8Array(this.Body));
}else{
// json
}
Gerasimos (Makis) Maropoulos
@kataras
You are on neffos.js, let me check that
lee
@lihaotian0607
yes
Gerasimos (Makis) Maropoulos
@kataras
Lee, the unmarshal is not used by the library
it's just a helper for users, feel free to add a PR
But please test all examples subdirectories of kataras/neffos and neffos.js (change the paths that the package.json uses to the local one so you can test before push the PR)
lee
@lihaotian0607
ok
Gerasimos (Makis) Maropoulos
@kataras
If you can't do it or u dont have time, please open an issue and tag to my private chat so I can do that when finish the new i18n iris features
lee
@lihaotian0607
no problem;
I can provide dart neffos client
😁
Gerasimos (Makis) Maropoulos
@kataras
Really? That would be great, let me add you to the neffos-contrib, we have already a repository with dart client I think
lee
@lihaotian0607
ok
Gerasimos (Makis) Maropoulos
@kataras
OK @lihaotian0607, you are invited please accept, you have full write access
lee
@lihaotian0607
OK thank you very much
Gerasimos (Makis) Maropoulos
@kataras
No problem my friend, if you need help on that please ask me, although I have never written dart code*
lee
@lihaotian0607
ok ☕️
Gerasimos (Makis) Maropoulos
@kataras
I assume we both have a lot of work, we need more coffee :P
lee
@lihaotian0607
maybe you can try Red Bull :(
Gerasimos (Makis) Maropoulos
@kataras
I hate Red Bull. Only Coffee and Tea :heart:
lee
@lihaotian0607
😂
Gerasimos (Makis) Maropoulos
@kataras
🤓
lee
@lihaotian0607
can I add vue or react to the _example? neffos.js
Gerasimos (Makis) Maropoulos
@kataras
Of course Lee
lee
@lihaotian0607
ok
Gerasimos (Makis) Maropoulos
@kataras
Do whatever you feel right, you can do that on the neffos.js repo or on the neffos-contrib, (we have a bootstrap-chat example, so I think it will be better there but u know)
And if they are Iris examples, you can open a PR on kataras/iris/_examples instead
lee
@lihaotian0607
ok
Gerasimos (Makis) Maropoulos
@kataras
2020-09-22-16-03-github.com.png
lee
@lihaotian0607
22
Gerasimos (Makis) Maropoulos
@kataras
I am so happy, number 22 of trending developers of all programming languages in GitHub 😻
Gerasimos (Makis) Maropoulos
@kataras

New benchmarks between all supported template parsers:

📖 Fires 1000000 requests with 125 concurrent clients. It receives HTML response. The server handler sets some template data and renders a template file which consists of a layout and a partial footer.

Name Language Reqs/sec Latency Throughput Time To Complete
Amber Go 125698 0.99ms 44.67MB 7.96s
Blocks Go 123974 1.01ms 43.99MB 8.07s
Django Go 118831 1.05ms 42.17MB 8.41s
Handlebars Go 101214 1.23ms 35.91MB 9.88s
Pug Go 89002 1.40ms 31.81MB 11.24s
Ace Go 64782 1.93ms 22.98MB 15.44s
HTML Go 53918 2.32ms 19.13MB 18.55s
Jet Go 4829 25.88ms 1.71MB 207.07s
chart.png
Choose wisely, their features varies.
Gerasimos (Makis) Maropoulos
@kataras
Massimiliano Bertinetti
@maxbertinetti

I am so happy, number 22 of trending developers of all programming languages in GitHub 😻

Congrats!

Gerasimos (Makis) Maropoulos
@kataras
Thanks @maxbertinetti !!!!
Hamid Reza Hassni Yaqoti
@H4midR

I am so happy, number 22 of trending developers of all programming languages in GitHub 😻

Great , Well Deserved more than this ♥ .

Gerasimos (Makis) Maropoulos
@kataras
Thanks @H4midR :heart:
I am sorry for not pushing new commits to Iris, I'm designing a custom JWT parser as the existing solutions do not fit the usage and the minimum performance cost when using JWT in requests we require for Iris.
image.png