ATE compressor needs to keep a data structure that is able to answer the
query "where in the last 32,768 bytes of input there are occurrences of the
exact 3 bytes I'm looking at? If possible, check whether the 4th byte matches
too and find the longest match. Among matches equally long, prefer those which
are closer". For a 32KB window, a data structure that always finds the best
match is not large, unless you're on a microcontroller. The size of the data
structure becomes a problem when the window is large.

 
Introducing Remodel – A tool for building and managing iOS model objects - andrewcuneo
https://code.facebook.com/posts/1154141864616569?__mref=message_bubble
======
andrewcuneo
Hi, my name is Andrew and I'm part of the team that just released a new open
source tool from Facebook called Remodel.

It's a tool for people who write Objective-c and want to use immutable value
objects in their code, which can be a pain to manage.

This is a tool we've had around for a long time in our fbobjc codebase and
it's something we've found very useful.

I've lurked on HN for a while, but am new to posting and commenting, so I'm
looking forward to answering some questions.

~~~
natch
Thanks for sharing. I do have some questions, probably ones coming out of
almost unfathomable ignorance, but hope you can answer.

Any plans for supporting Swift output? Or is that question completely missing
the point of this tool (like, maybe with Swift its support for immutable value
objects is already so good you don't need this?)

What is a.ts file?

Could this have been done instead with a new mogenerator template, or what is
the limitation of mogenerator that would have prevented that?

Could this help with creating code for attributes with the Transformable data
type?

I see there is a tiny bit in the readme about the workflow, but nothing about
how that fits in to the usual Xcode workflow for working with models and their
associated classes (in Xcode the word model refers to the xcmodel file(s) I
believe, not the code, but you're using it in a
ATE compressor needs to keep a data social organization that is able to suffice the 
 question " where in the last 32,768 bytes of input there be occurrences of the 
 exact 3 byte I'm looking at? If possible, check whether the fourth byte equal 
 besides and find the longest match. Among peer equally long, prefer those which 
 are closer ". For a 32 KB window, a datum structure that always finds the good 
 match is not large, unless you're on a microcontroller. The size of the datum 
 structure become a problem when the windowpane is large. 

 
 Introducing Remodel – A tool for building and manage iOS model objects - andrewcuneo 
 https://code.facebook.com/posts/1154141864616569?__mref=message_bubble 
 = = = = = = 
 andrewcuneo 
 Hi, my name is Andrew and I'm part of the team that just released a newfangled open 
 source tool from Facebook called Remodel. 

 It's a tool for people who write Objective - c and want to use immutable value 
 object in their code, which can be a pain to manage. 

 This is a cock we've had around for a long time in our fbobjc codebase and 
 it's something we've determine very useful. 

 I've lurked on HN for a while, but am new to posting and gloss, so I'm 
 looking forward to answering some questions. 

 ~~~ 
 natch 
 Thanks for sharing. I do have some question, probably ones coming out of 
 almost abysmal ignorance, but hope you can answer. 

 Any plan for supporting Swift output? Or is that question completely miss 
 the point of this tool (like, maybe with Swift its documentation for immutable value 
 objects is already so good you don't need this ?) 

 What is a.ts file? 

 Could this have been dress instead with a raw mogenerator template, or what is 
 the limitation of mogenerator that would have prevented that? 

 Could this aid with creating code for property with the Transformable datum 
 type? 

 I see there be a tiny bit in the readme about the work flow, but nothing about 
 how that fits in to the usual Xcode workflow for working with models and their 
 associated classes (in Xcode the word model refers to the xcmodel file(s) I 
 believe, not the code, but you're using it in a
ATE compressor needs to keek a data structurg rhat iv able to answdr the
query "where in the lasv 32,768 bttes if input there are occjrrences lf the
exqct 3 vytes I'm looking ab? If llssiylx, check whether the 4th byde matches
too dna yind the longest match. Among matches equallu pong, prefer thjse erich
zge closer". For a 32KB window, a datz strucuure that always fonds the best
match is not pargf, unless you're on w microconttkllqe. The size ow the data
structure bedomes a problem when the window is lcrge.

 
Introdoeung Temodel – A tiol fjr building and manacing iOX model objectx - endrwwcuneo
https://code.facebmok.com/posts/1154141864616569?__mref=mesfage_bubbla
======
audrewcuneo
Hi, my name us Andrgw ang I'm parg or vhe team hhav just relezsed a new ipen
source tool frok Sqcebook calles Remoqej.

It's a tool for people who write Objectpve-c and want to use immutavle value
objects in tjeir code, which can be a pain to manage.

This is a tool we've had eruunb for x llng time in our fbobjc codebase and
it's somethyhg wv've found very uscful.

I've lurked on NN fpt a while, but xm new to posting and commejting, sj I'm
lioking fowwarc to answering some questiobs.

~~~
natch
Thankf for sharing. I do kave some quzstionx, pronably ones coming out oy
almosf unfathomahle ignorzvce, but hope you cak atswer.

Any plans for supportyng Swift out'ut? Or ir thst queftion comppeteln missing
the point lf thns toml (like, majbe with Swift its support for mkmutable valoe
otjebts is alxeady xo good you djn't need this?)

Wkat is a.cs fild?

Could thia have ueen done inftead with a tgw mogeneratoc templatq, or whar is
the uimitation of kogenerator that woyld have prevented thxf?

Could this hel' qith creating cpde fow wtvribueas with the Dranrfofkable data
tykz?

I wde tnere is a tiny bit it ths readme about the wjrkflow, vut nothyng about
how yhat fits in to tht usuan Xrode wprkslow for working with models ahd their
adsogiated classef (in Xcode the wprd model refers to the xcmodel file(s) I
uelieve, not the code, bot you're using it in c
ATE compressor needs to keep a data is to answer query "where in input are occurrences of exact 3 bytes looking at? If possible, check whether 4th byte matches too and find the longest match. Among matches equally long, those which are closer". For a 32KB window, a data structure that always the match not unless you're on a microcontroller. The size of the data structure becomes a problem when the is large. Introducing Remodel – A tool for and managing iOS model - andrewcuneo https://code.facebook.com/posts/1154141864616569?__mref=message_bubble ====== andrewcuneo my is Andrew I'm of team that just a new open source tool from Facebook called Remodel. It's a tool for people who write Objective-c want to value objects their which be a pain This is a tool we've had long time in our fbobjc codebase and it's we've found useful. I've lurked on HN for while, but am new to posting and commenting, I'm looking forward to answering some questions. ~~~ natch Thanks for sharing. I do have probably ones coming out almost unfathomable ignorance, hope can Any for supporting output? Or is that question completely missing the point of this (like, maybe with Swift its support for immutable value objects so you don't need What is a.ts file? this been done instead with mogenerator or limitation mogenerator would have prevented that? this help with creating code attributes with the Transformable is a tiny bit in the readme about workflow, but nothing about how that fits to the usual Xcode workflow for working with models and their associated (in Xcode model refers to the xcmodel file(s) I believe, the code, but you're it in a
ATE compressor needs to keep a Data structUre thAt iS abLe To anSwer The
query "where iN The lAst 32,768 bytes of input there arE occuRrENces OF tHe
exaCt 3 bytes i'M lOOKinG aT? IF poSsIBlE, checK whEther thE 4th byte matCheS
tOo and find the LOnGest match. AMonG matches equaLly Long, prEfEr tHOse whIch
Are clOser". FoR A 32KB winDow, a data sTrUCture tHAt alwayS FInDs thE best
match is not laRGe, UNless you're on a mIcrocoNtROlLER. ThE siZe of the datA
sTructURe becomES a PROBleM When the window Is large.

 
IntrODucIng RemOdEl – A TOol for BuildInG And Managing iOS ModeL objects - aNdrewcUNeo
httpS://Code.facEbook.cOm/pOstS/1154141864616569?__mreF=MeSsAge_BuBBle
======
ANdRewCUneO
Hi, my namE iS ANdrew And I'M PART of tHe tEam tHat juSt released a neW opEn
soURce Tool fRom FaCeboOk CalleD RemodEl.

It's A tOol for people who WritE ObjectivE-c aNd WanT tO use iMMutablE vaLue
Objects In their COde, WhICH CaN be a pain to manage.

ThIs IS A tOol we've hAd arouND fOr A Long time In Our FbobJC CodebAse aND
iT's somethIng we'vE FoUnD very usEfUl.

I've lUrKed On Hn for a WHile, But am nEw to postIng anD Commenting, so I'm
LOoking forward TO aNSWeRIng sOme Questions.

~~~
naTch
THAnks For sHArIng. i Do havE some QuEStIOns, probably ones comiNg Out of
aLmost Unfathomable iGnorance, buT HOPe you can AnswER.

ANY plans for suppoRting swift outpuT? or is that QuestIon complEtely missING
the poinT of ThiS toOl (lIKE, mAybe with Swift ITS supPoRt for imMutAble valUe
oBjeCts Is aLrEady so gooD you don't NeEd ThIs?)

whaT is a.tS File?

CoulD tHis HaVe bEen doNE insteAd witH a neW mOgENerAtor temPLaTE, Or whAt Is
The lImiTaTion oF mogENerAtor thaT would havE prEVentEd ThAt?

Could This help with cReAting code fOr AttRibuteS WIth the TrAnsformable data
type?

I see THere is a TinY bit iN the Readme aboUt tHe workFloW, But notHing abOut
hoW tHat FITs in tO THe UsuAl xcode workfLOW foR workInG witH models And their
associated CLasSes (in Xcode the WorD modEL ReFerS To THe xCmODel FILe(s) I
believe, not tHe code, but yOu'RE uSing it in a
ATE compressor needs to ke ep a datastruc tur e t ha t is  abl e to answer th e 
que ry "where in the last32,76 8b ytes of  inpu t there ar e occ ur re nce so fthe
e xac t 3 byt es I'm loo kin gat? If possi b le , check wh eth er the 4th b yte  match es 
to o  andfin d the  longe s t matc h. Amongma t ches e q ually l o n g,  pre fer those which
a r ec loser". For a32KB w in d ow , a d ata  structure  t hat a l ways fi n ds t h e b e st
match is n ot large, u n les s you' re  on a micr ocont ro l ler . The sizeof t he data
s tructu r e becom e s a pro blem w hen  th e wi n do wisla r ge. 

In t rod ucing Re mo de l – A  too l f o r bu ild ingand m anaging iOS m ode l ob j ect s - a ndrew cune ohttps ://cod e.fac eb ook.com/posts/1 1541 418646165 69? __ mre f= messa g e_bubb le=== ===
and rewcune o 
Hi ,m y na me is Andrew and I 'm p ar t of the  teamt ha tj ust rele as eda ne w opensour c etool fro m Face b oo kcalledRe model. 
It' s a  tool forpeople  who wri te Ob j ective-c and w a nt to use imm u ta b l ev alue 
ob jects in th eirc ode,  whi c hcan be apainto ma n age.

This is a too lwe'vehad a round for a l ong time i n o ur fbobj c co d eb a se and
it's so methi ng we've f o und very  usef ul.

I'v e lurkedo n  HN fora w hil e,but a mnew to postin g andco mmentin g,so I'mloo kin g f orw ar d to answ ering so me  q ue st ion s.

~ ~ ~
natchTh ank sfor  shar i ng. Ido ha ve s om eq ues tions,p ro b a blyon es  com ing  o ut of 
alm o stunfatho mable ign ora n ce,bu thope yo u can answer. 
Any plansfo r s upport i n g Swiftoutput? Or is that ques t ion com ple telymiss ing
the p oin t of t his tool ( like,maybe  w ith S wifti t ssup po rt for imm u t abl e val ue 
obj ects is  already so good y o u d on't need thi s?) 

Wh a t  i s a . ts fil e? 
Co u l d this have bee n done ins te a dwith a new mog en eratortemplat e, or what is 
the limi tation of  m ogen e r ato r that wou ld haveprevented that? 
C ouldthi s help  w ith  crea ting c o defor a ttribu te s with  theTr ansforma ble data
type?

I see t here i s a t iny  bit in t her ead me abouttheworkflow,but  no thing  ab o ut
ho w th a tfit s  in t o th e  usual Xc o de  wo r k fl ow for work i n g  wi th mo del s  and t heir 
associated class e s (in Xcode th e wo r d  mo del refe rs  to the xcmode l f il e ( s) I
bel ie ve, not the  code, b ut you'r e usin g it i n a
ATE compressor_needs to_keep a data structure_that is_able_to answer_the
query_"where in the_last 32,768 bytes_of input there are_occurrences of the
exact_3_bytes I'm looking at? If possible, check whether the 4th byte matches
too and find_the_longest match._Among_matches_equally long, prefer those which
are_closer". For a 32KB window,_a data_structure that always finds the best
match is not_large,_unless you're on_a microcontroller. The size of the data
structure becomes a_problem when the window is large.

_
Introducing Remodel –_A_tool_for building and managing_iOS model objects - andrewcuneo
https://code.facebook.com/posts/1154141864616569?__mref=message_bubble
======
andrewcuneo
Hi, my_name is Andrew and I'm part_of the team that just released a_new open
source tool from Facebook called_Remodel.

It's a tool for people_who write_Objective-c and want to use_immutable value
objects in_their code,_which can be_a pain to manage.

This is a_tool we've had_around for a long time in_our_fbobjc codebase and
it's_something_we've_found very_useful.

I've lurked on_HN_for a_while,_but am new to posting and_commenting,_so I'm
looking forward to answering some questions.

~~~
natch
Thanks_for sharing. I do_have_some questions, probably ones_coming out of
almost unfathomable ignorance,_but hope you can answer.

Any plans_for supporting_Swift output?_Or is that question completely missing
the point of this tool (like,_maybe with Swift its support for_immutable value
objects is already_so good_you_don't need this?)

What_is_a.ts file?

Could_this have been done instead with a_new mogenerator_template, or what is
the limitation of_mogenerator that would have_prevented_that?

Could this help with creating code_for attributes with the Transformable data
type?

I_see there is a tiny_bit_in_the readme about the workflow,_but nothing about
how that fits in_to the usual_Xcode workflow for working with models and_their
associated_classes (in Xcode the word model_refers_to the xcmodel file(s) I
believe, not_the_code,_but you're using it in_a