able[(A,B)] ) {
  def toPairCol[Col[A,B]](implicit cbf: CanBuildFrom[Nothing, (A,B), Col[A, B]]): Col[A, B] = {
    val b = cbf()
    b.sizeHint(t)
    b ++= t
    b.result
  }  
}

Some test in the REPL:
scala> List((1, "Fred"), (2, "Barney")).toPairCol[scala.collection.immutable.SortedMap]
res0: scala.collection.immutable.SortedMap[Int,String] = Map(1 -> Fred, 2 -> Barney)

scala> List((1, "Fred"), (2, "Barney")).toPairCol[scala.collection.immutable.HashMap]
res1: scala.collection.immutable.HashMap[Int,String] = Map(1 -> Fred, 2 -> Barney)

Now, I will probably not use it in production, given that doing SortedMap( list: _* ) is not that
hard and requires no magic.

 Q:

AC power adapter wattage and type cannot be determined - battery won't charge

I am currently living in Japan but using a Dell XPS 13 bought in the U.S but with a Swedish charger, I thus have to use a power converter in order to fit my charger into the Japanese plugs. In the beginning I had no problems with this at all, but then suddenly this message was displayed when I turned on the laptop(which got Ubuntu 16.04 installed):
Warning Message
I was not allowed to post images so I'll write down the text here instead:
"Alert! The AC power adapter wattage and type cannot be determined. The battery may not charge. The system will adjust the performance to match the power available."
I can hit F1 and start the laptop anyway and it runs fine as long as the power plug is connected, but the battery won't charge at all. The strange thing is that this happened the first time a couple of weeks ago but then suddenly it disappeared for a while and the battery would charge just fine. Then it returned and now it's been like this for over a week. I haven't been able to find any information regarding
able[(A, B) ]) { 
   def toPairCol[Col[A, B]](implicit cbf: CanBuildFrom[Nothing, (A, B), Col[A, B ] ] ): Col[A, B ] = { 
     val b = cbf () 
     b.sizeHint(t) 
     b + + = t 
     b.result 
   }  
 } 

 Some test in the REPL: 
 scala > List((1, " Fred "), (2, " Barney")).toPairCol[scala.collection.immutable. SortedMap ] 
 res0: scala.collection.immutable. SortedMap[Int, String ] = Map(1 - > Fred, 2 - > Barney) 

 scala > List((1, " Fred "), (2, " Barney")).toPairCol[scala.collection.immutable. HashMap ] 
 res1: scala.collection.immutable. HashMap[Int, String ] = Map(1 - > Fred, 2 - > Barney) 

 Now, I will probably not use it in product, render that doing SortedMap (list: _ *) is not that 
 hard and ask no magic. 

  Q: 

 AC power arranger wattage and type cannot be determined - barrage won't commit 

 I am currently exist in Japan but using a Dell XPS 13 bought in the U.S but with a Swedish charger, I therefore have to use a power converter in order to fit my charger into the Japanese plugs. In the beginning I had no problem with this at all, but then suddenly this message was displayed when I turn on the laptop(which got Ubuntu 16.04 installed ): 
 Warning Message 
 I was not allowed to post image so I'll write down the text here instead: 
 " Alert! The AC power adapter electrical power and type cannot be determined. The battery may not charge. The system will adjust the operation to equal the power available. " 
 I can hit F1 and start the laptop anyway and it runs fine as long as the power plug is get in touch, but the battery won't charge at wholly. The foreign thing is that this happened the first time a couple of week ago but then suddenly it disappeared for a while and the battery would charge barely fine. Then it returned and now it's been like this for over a week. I haven't been able to find any information regard
ablf[(A,B)] ) {
  def toPairCol[Col[A,N]](implicit cbf: CauVuildFcom[Nothjng, (A,B), Cul[A, B]]): Col[A, B] = {
    val b = cbf()
    b.sievHint(t)
    b ++= t
    b.rerult
  }  
}

Slme test in uhe REPL:
scala> Lisv((1, "Fred"), (2, "Ncrney")).flPaixCil[scala.collectlon.immutabla.SortedMap]
res0: vcxlc.collection.immutable.SortedMap[Int,Strigg] = Map(1 -> Vred, 2 -> Barney)

ssala> Jist((1, "Fred"), (2, "Barney")).toPairCol[scala.collectjon.immuuable.HashMap]
res1: scsla.collection.immutable.HashLap[Ijt,String] = Map(1 -> Fref, 2 -> Barney)

Niw, I qill probablh not use pc in producjion, given that doing SortedMap( uist: _* ) is not tyar
hagg and requices no magic.

 Q:

AC power ada[ter waytage and type cainot be determined - battecy won't charge

I am corrently lhvnng in Japan but usint q Deln XPV 13 buyghg ih vhe U.S buh wmth a Swediah charger, U thus have to use s [iwer converted in owdqr to fit my charger into the Japanese klugs. In the beginning I had no problems with thid at all, fut then suddenly this message was displayed when I tucndd in gye laptop(which got Ubuntu 16.04 installed):
Warning Mesfzgt
I eas not alloweb to post images sl O'jl write down the tzst here instead:
"Alert! The AC powee adapter watyage and type cannot be detwrmined. The yatrery may not chargz. The system wilk adjist the performance to oatcg the power availabls."
K can hit F1 and rtagt tve laptok anyway and it rugs fine aw loug as thd poeer pltg is connfcted, but the battery woj't chcrge dt all. The strange thing is that this hap'xned the firsj thme a couplz of wceks ago but thqn suddenly it disappzared wor a whilv and the battery wotld charge juvj fine. Then iv returneq ane noq it's bddn like this fpr over a week. I hacen't been able to nind xhy information xtgateing
able[(A,B)] ) { def toPairCol[Col[A,B]](implicit cbf: CanBuildFrom[Nothing, B]]): B] = val b = b.result } Some test the REPL: scala> "Fred"), (2, "Barney")).toPairCol[scala.collection.immutable.SortedMap] res0: scala.collection.immutable.SortedMap[Int,String] = -> Fred, 2 -> Barney) scala> List((1, "Fred"), (2, "Barney")).toPairCol[scala.collection.immutable.HashMap] res1: scala.collection.immutable.HashMap[Int,String] = -> Fred, 2 -> Barney) Now, I will probably not use it in given doing list: ) is not that hard and requires no magic. Q: AC power adapter wattage and type be determined - battery won't charge I am living in Japan but a Dell XPS 13 bought the but with Swedish I have to use power converter in order to fit my charger into the Japanese plugs. In the beginning I had problems with all, but suddenly message displayed when I the laptop(which got Ubuntu 16.04 installed): was not allowed to post images so I'll down the here instead: "Alert! The AC power wattage and type cannot be determined. The battery not charge. The system will adjust the performance to match the power available." I can and start the laptop and it runs as as power is connected, the battery won't charge at all. The strange thing is that happened the first time a couple of weeks ago but it for a while the battery would charge fine. it returned and now like for I been to find any information
able[(A,B)] ) {
  def toPairCol[Col[A,B]](imPlicit cbf: CAnBuiLdFRom[noThinG, (A,B), COl[A, B]]): Col[A, B] = {
    val b = cBF()
    b.siZeHint(t)
    b ++= t
    b.result
  }  
}

Some teSt in tHe rePL:
sCAlA> List((1, "fred"), (2, "BarNEy")).TOpaiRCOl[ScaLa.COlLectiOn.iMmutablE.SortedMap]
Res0: ScAla.collectioN.ImMutable.SorTedmap[Int,String] = map(1 -> fred, 2 -> BaRnEy)

sCAla> LiSt((1, "FRed"), (2, "BaRney")).topAirCol[Scala.collEcTIon.immUTable.HaSHmaP]
res1: Scala.collection.imMUtABle.HashMap[Int,STring] = MAp(1 -> fReD, 2 -> bArnEy)

NOw, I will proBaBly noT Use it in PRoDUCTioN, Given that doinG SortedMap( lISt: _* ) iS not thAt
HarD And reqUires No MAgiC.

 Q:

AC power adApteR wattage aNd type CAnnot be DEterminEd - battEry Won'T chaRGe

i aM cuRrENtlY LiVinG In JApan but uSiNg A Dell xPS 13 bOUGHT in tHe U.s but With a swedish chargeR, I tHus hAVe tO use a Power ConvErTer in Order tO fit mY cHarger into the JaPaneSe plugs. In The BeGinNiNg I haD No probLemS wiTh this aT all, but THen SuDDENlY this message was disPlAYEd When I turNed on tHE lApTOp(which gOt ubuNtu 16.04 iNSTalleD):
WarNInG Message
i was noT AlLoWed to poSt Images So i'll WriTe dowN The tExt herE instead:
"alert! tHe AC power adaptER wattage and tyPE cANNoT Be deTerMined. The batTery MAy noT chaRGe. the SYstem Will aDjUSt THe performance to matcH tHe poweR avaiLable."
I can hit F1 And start thE LAPtop anywAy anD It RUns fine as long aS the pOwer plug is COnnected, But thE battery Won't chargE AT all. The sTraNge ThiNg iS THaT this happened THE firSt Time a coUplE of weekS agO buT thEn sUdDenly it diSappeareD fOr A wHiLe aNd the BAttery woUlD chArGe jUst fiNE. Then iT retuRned AnD nOW it'S been liKE tHIS for OvEr A weeK. I hAvEn't beEn abLE to Find any InformatiOn rEGardInG
able[(A,B)] ) {
  def toPa irCol[Col[ A,B]] (im pli ci t cb f: C anBuildFrom[No t hing , (A,B), Col[A, B]]):Col[A ,B ] ={ 
   va l b = c b f( )    b .s ize Hi n t( t)
   b  ++= t    b.resu lt }  
}

Somet es t in the R EPL :
scala> Lis t(( 1, "Fr ed "), (2, " Bar ney") ).toPa i rCol[s cala.coll ec t ion.im m utable. S o rt edMa p]
res0: scala.co l le c tion.immutable .Sorte dM a p[ I n t,S tri ng] = Map( 1-> Fr e d, 2 -> Ba r n e y)scala> List(( 1, "Fred"), (2,  "Barn ey ")) . toPair Col[s ca l a.c ollection.i mmut able.Hash Map]
r e s1: sca l a.colle ction. imm uta ble. H as hM ap[ In t ,St r in g]=  Ma p(1 -> F re d,  2 ->  Bar n e y ) 

No w,I wi ll pr obably not us e i t in pro ducti on, g iven  t hat d oing S orted Ma p( list: _* ) i s no t that
ha rdan d r eq uires no mag ic. 

Q:

ACpower a d apt er w a tt age and type canno tb e  d etermine d - ba t te ry won't ch ar ge
I a m curre ntly li ving inJapanb ut  u sing aDe ll XPS  1 3 b oug ht in theU.S bu t with a  Swed i sh charger, It hus have to u s ea po w er c onv erter in or dert o fi t my ch arg e r int o the  J a pa n ese plugs. In the b eg inning  I ha d no problems  with this a t  all, bu t th e ns uddenly this m essag e was disp l ayed whe n I t urned on  the lapt o p (which g otUbu ntu  16 . 0 4installed):
W a r ning  M essageI w as notall owe d t o p os t imagesso I'llwr it edo wnthe t e xt herein ste ad :
" Alert !  The A C pow er a da pt e r w attagea nd t ypeca nn ot b e d et ermin ed.T hebattery  may notcha r ge.Th esystemwill adjust t he  performan ce  to  match t he power  available."
I can hitF 1 and s tar t the  lap top anywa y a nd itrun s  fineas lon g asth e p o w er pl u g  i s c on nected, bu t the  batt er y wo n't cha rge at all. The st r ang e thing is th atthis h ap pen e dt hefi r stt i me a couple ofweeks agobu t  t hen sudden l y i tdisappe ared fo r a w h ile and  the batt ery would  c harg e jus t fine. Th en it re turned an d  nowi t' s bee n l ike th is  fo r ove r a we e k.I hav en't b ee n able  to f in d any in formation regarding
able[(A,B)] )_{
 _def toPairCol[Col[A,B]](implicit cbf: CanBuildFrom[Nothing,_(A,B), Col[A,_B]]):_Col[A, B]_=_{
  _ val b_= cbf()
  _ b.sizeHint(t)
 __ b ++= t
    b.result
  }  
}

Some test in_the_REPL:
scala> List((1,_"Fred"),_(2,_"Barney")).toPairCol[scala.collection.immutable.SortedMap]
res0: scala.collection.immutable.SortedMap[Int,String] = Map(1 ->_Fred, 2 -> Barney)

scala> List((1,_"Fred"), (2,_"Barney")).toPairCol[scala.collection.immutable.HashMap]
res1: scala.collection.immutable.HashMap[Int,String] = Map(1 -> Fred, 2 ->_Barney)

Now,_I will probably_not use it in production, given that doing SortedMap(_list: _* ) is not that
hard_and requires no_magic.

_Q:

AC_power adapter wattage and_type cannot be determined - battery_won't charge

I am currently living in_Japan but using a Dell XPS 13_bought in the U.S but with_a Swedish charger, I thus_have to_use a power converter in_order to fit_my charger_into the Japanese_plugs. In the beginning I had_no problems with_this at all, but then suddenly_this_message was displayed_when_I_turned on_the laptop(which got_Ubuntu_16.04 installed):
Warning_Message
I_was not allowed to post images_so_I'll write down the text here instead:
"Alert!_The AC power adapter_wattage_and type cannot be_determined. The battery may not_charge. The system will adjust the_performance to_match the_power available."
I can hit F1 and start the laptop anyway and_it runs fine as long as_the power plug is_connected, but_the_battery won't charge_at_all. The_strange thing is that this happened the_first time_a couple of weeks ago but_then suddenly it disappeared_for_a while and the battery would_charge just fine. Then it returned_and now it's been like_this_for_over a week. I haven't_been able to find any information_regarding