MinekPo1 [it/she]

nya !!! :3333 gay uwu

I’m in a bad place rn so if I’m getting into an argument please tell me to disconnect for a bit as I dont deal with shit like that well :3

  • 0 Posts
  • 62 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle


  • I was originally going to comment that differences in performance between JS and TS appear to be most significant in one challenge

    ascii table about that, not screen reader friendly
     ___________________________________________________________________________________________________________________ 
    |lang|_binary_trees___________|_fannkuch-redux_____________|_fasta_____________________|_normalized_________________|
    | JS | 312.14 : 21.349 :  916 |    413.90 :    33.663 : 26 |  64.84 :  5.098 :      30 |     4.45 :    6.52 :  4.59 |
    |_TS_|_315.10_:_21.686_:__915_|__6 898.48_:___516.541_:_26_|__82.72_:__6.909_:_____271_|____21.50_:___46.20_:__4.69_|
    |diff|___+.9%_:__+1.6%_:_+.1%_|_+15_66.7%_:_+14_34.4%_:_0%_|_+21.6%_:_+35.5%_:_+803.3%_|_+3_83.1%_:_+6_08.5_:_+8.1%_|
    

    however, trying to look to see the typescript code, wanting to translate that to type hinted python code, I’ve been unable to find typescript on CLBG, so I’m confused on how they got that data,











  • actually they would be correct :

    USB began as a protocol where one side (USB-A) takes the leading role and the other (USB-B) the following role . this was mandated by hardware with differently shaped plugs and ports . this made sense for the time as USB was ment to connect computers to peripherals .

    however some devices don’t fit this binary that well : one might want to connect their phone to their computer to pull data off it , but they also might want to connect a keyboard to it , with the small form factor not allowing for both a USB-A and USB-B port. the solution was USB On-The-Go : USB Mini-A/B/AB and USB Micro-A/B/AB connectors have an additional pin which allows both modes of operations

    with USB-C , aside from adding more pins and making the connector rotationally symmetric , a very similar yet differently named feature was included , since USB-C - USB-C connections were planed for

    so yeah USB-A to USB-A connections are explicitly not allowed , for a similar reason as you only see CEE 7 (fine , or the objectively worse NEMA) plugs on both ends of a cable only in joke made cables . USB-C has additional hardware to support both sides using USB-C which USB-A , neither in the original or 3.0 revision , has .