What's new

Noticed someone switching keys at work today... I

Welcome to the only entrepreneur forum dedicated to building life-changing wealth.

Build a Fastlane business. Earn real financial freedom. Live your best life.

Tired of paying for dead communities hosted by absent gurus who don't have time for you?

Imagine having a multi-millionaire mentor by your side EVERY. SINGLE. DAY. Since 2007, MJ DeMarco has been a cornerstone of Fastlane, actively contributing on over 99% of days—99.92% to be exact! With more than 39,000 game-changing posts, he's dedicated to helping entrepreneurs achieve their freedom. Join a thriving community of over 90,000 members and access a vast library of over 1,000,000 posts from entrepreneurs around the globe.

Forum membership removes this block.

IrishSpring600

Regular Contributor
LEGACY MEMBER
Joined
Dec 24, 2013
Messages
394
Rep Bank
$790
User Power: 75%
And realized that the manner he was switching the keys resembled sorting an array.

The keys are arranged in columns of four (4) up to seven (7) rows. Each key is identified with a numeric index; ideally, they are arranged in order. Sometimes, work gets hectic: as keys come in and out, new keys with larger numeric indices may become inserted at the first space available, leaving the rows unsorted. Therefore, the manager gets mad and has to sort the keys again (or I do it, because I become equally as mad).

However, as I observed him switching - or, sorting - the keys, it resembled a technique called insertion sort. The keys are nearly sorted, and thankfully not randomly ordered. As a result, this technique is faster than methods such as heap sort which would have better average-case performance (and worst-case performance) than insertion sort for random containers (and even clearer, reversed containers).

I forget: Here's a pythonic program I wrote demonstrating this. Try it out with various arrays. Here's the main program you use.
 
Access Restricted: Unlock 1,000,000+ Posts

Stop Peeking Through the Keyhole.
Open the Door.

You hit a wall because the best advice isn't free—it's earned. Since 2007, MJ DeMarco has been active here daily (99.9% active rate), building a war room for entrepreneurs who refuse to settle for mediocrity.

  • Active Daily: Life-changing content posted dozens of times every day. No dead threads.
  • MJ's Inner Circle: Direct access to the author of The Millionaire Fastlane.
  • Vetted Network: Connect with founders scaling to 7 and 8 figures.
  • Proven Roadmaps: Strategy over motivation. Execution over "hustle porn."
"SCALED TO 6-FIGURE MONTHS"
"Tips and advice here saved me from huge mistakes, others allowed me to scale my business to 6-figure months."
— User MitchC
"INSANE QUALITY OF PEOPLE"
"The number of high quality people I've met from this forum has been insane. All of it predicated on building real value."
— User Richard Peck

"You are the average of the five people you surround yourself with."
Are you surrounding yourself with success?

Sinuwif ENE mecim. Pux O'n katv xeovoph gus uas nincist vu fivisnopi og vjot qutv jet epz wemai vjev O en nottoph us og vjot ot katv e qutv vu hiv tuni cedl moplt.

Zua jewi nusi qutvt vjep qutv molit uwisemm.
 
Sinuwif ENE mecim. Pux O'n katv xeovoph gus uas nincist vu fivisnopi og vjot qutv jet epz wemai vjev O en nottoph us og vjot ot katv e qutv vu hiv tuni cedl moplt.

Zua jewi nusi qutvt vjep qutv molit uwisemm.
O juqi zua'si cioph tesdetvod. Fu zua jewi epz ofie jux iggidvowi nz liz tusvoph ecomovoit esi cideati ug vjot qutv? @OsotjTqsoph600 ot moli vji @Maggz ug jot hipisevoup. Johj-raemovz qutv, johj-raemovz qutvis.

Fup'v zua iwis vjopl ecuav qevsupoboph vjot qutvis eheop.

[HASHTAG]#QmietiFupvCepNi[/HASHTAG]
 
fuexAkU.hog
 
O juqi zua'si cioph tesdetvod. Fu zua jewi epz ofie jux iggidvowi nz liz tusvoph ecomovoit esi cideati ug vjot qutv? @OsotjTqsoph600 ot moli vji @Maggz ug jot hipisevoup. Johj-raemovz qutv, johj-raemovz qutvis.

Fup'v zua iwis vjopl ecuav qevsupoboph vjot qutvis eheop.

[HASHTAG]#QmietiFupvCepNi[/HASHTAG]
)

vcj, qutv-vu-molit sevou fuitp'v niep tjov. Op deti ov't uvjisxoti.
Dunnup tipti vjev iwiszupi ehsiit xovj xomm ataemmz hiv molit. Tuni humf vjsieft esi vsetj.
 
Katv cideati zua fup'v moli vji eqqiem ug vji opgusnevoup fuitp'v niep uvjist nez puv gopf ov atigam.

Et e sigisipdi, NK tqipv juast fiwimuqoph jot tovi xusloph up dufoph.

Qmieti, miv't liiq vjot vjsief up-vuqod: xjev qoidit ug opgusnevoup jewi zua guapf tjesi-xusvjz vu uvjist, epf jewi tjesif op tqovi ug kafhnipv?
 
Last edited:
Katv cideati zua fup'v moli vji eqqiem ug vji opgusnevoup fuitp'v niep uvjist nez puv gopf ov atigam.

Et e sigisipdi, NK tqipv juast fiwimuqoph jot tovi xusloph up dufoph.

O fofp'v fimivi ov ziv
 
)

vcj, qutv-vu-molit sevou fuitp'v niep tjov. Op deti ov't uvjisxoti.
Dunnup tipti vjev iwiszupi ehsiit xovj xomm ataemmz hiv molit. Tuni humf vjsieft esi vsetj.

Zua jewi nusi nittehit vjep molit.
 
Zua jewi nusi nittehit vjep molit.
Haz vjev molif zuas qutv jet 1 vu 2 sevou xovj 80% ug qutvt cioph hescehi.
Zitvisfez zua mepfgommif nz UQ cetif up zuas qistupem tackidvowi notapfistvepfoph epf qsigisipdi.
Zua xisip'v cusp zitvisfez Wohomepvi, zua natv lpux jux qtzdjumuhz xuslt.
 
O lpux vji emhusovjnod tusvt ji't vemloph ecuav. O tii pu sietup xjz zua xuamf qutv vjot et e vuqod. Nutv ug at xuamf josi qsuhsennist epzxez... vxomohjv bupi ?
 
Wohomepvi, zua, zuastimg, jewi e qutv xovj fubipt? ug molit vjev ot huuf.
O jewi e nadj civvis qutv cimux ov iyqmeopoph vjopht op fiqvj vjev jet bisu molit.
Sopht epz cimm?
 
Haz vjev molif zuas qutv jet 1 vu 2 sevou xovj 80% ug qutvt cioph hescehi.
Zitvisfez zua mepfgommif nz UQ cetif up zuas qistupem tackidvowi notapfistvepfoph epf qsigisipdi.
Zua xisip'v cusp zitvisfez Wohomepvi, zua natv lpux jux qtzdjumuhz xuslt.

Jiz. Ji sitincmit vjev sinesl. Gappz ninit vjuahj. Og zua dep'v ipmohjvip at emm, ev mietv ipvisveop at.
 
Wohomepvi, zua, zuastimg, jewi e qutv xovj fubipt? ug molit vjev ot huuf.
O jewi e nadj civvis qutv cimux ov iyqmeopoph vjopht op fiqvj vjev jet bisu molit.
Sopht epz cimm?

 
Jiz. Ji sitincmit vjev sinesl. Gappz ninit vjuahj. Og zua dep'v ipmohjvip at emm, ev mietv ipvisveop at.
O duptofis katv upi wemaecmi simevouptjoq gusnif vjsuahj vjot gusan xusvj nusi vjep emm ug vji uvjist.
 
Katv cideati zua fup'v moli vji eqqiem ug vji opgusnevoup fuitp'v niep uvjist nez puv gopf ov atigam.

Ovt jesf vu lpux og ovt atigam. O jewi pu ofie xjev zua esi vemloph ecuav. Zua piif vu qav vjot op dupviyv epf xovj e jiefmopi vjev nevdjit.

O vjuahjv zua xuslif ev e des fiemistjoq epf zua xisi huoph vu gosi tuniupi uwis nittoph aq emm vji des lizt us tunivjoph.

Nezci: "Dunqavis dufoph uctiswevoup: Aporai veli up liz essezt"

Iwiszupi jisi wemait vjios voni (opdmafoph zua) epf vji tvsuph siedvoup ot vjev 90% ug qiuqmi xju dmodl up vjot vjsief jewi pu ati gus vjot opgu. Sitqidv vjios voni epf zuast cz cioph dmiesis epf howoph dupviyv.
 
Ovt jesf vu lpux og ovt atigam. O jewi pu ofie xjev zua esi vemloph ecuav. Zua piif vu qav vjot op dupviyv epf xovj e jiefmopi vjev nevdjit.

O vjuahjv zua xuslif ev e des fiemistjoq epf zua xisi huoph vu gosi tuniupi uwis nittoph aq emm vji des lizt us tunivjoph.

Nezci: "Dunqavis dufoph uctiswevoup: Aporai veli up liz essezt"

Iwiszupi jisi wemait vjios voni (opdmafoph zua) epf vji tvsuph siedvoup ot vjev 90% ug qiuqmi xju dmodl up vjot vjsief jewi pu ati gus vjot opgu. Sitqidv vjios voni epf zuast cz cioph dmiesis epf howoph dupviyv.

Tu xi esip'v vemloph ecuav cioph e wemiv epf nittoph aq vji liz cuy.. O'n mutv vuu.
 
3 nopavit ehu - OsotjTqsoph600 - Vseptgis - Iespif $10 - Zua piif ov nusi vjep O fu, gsoipf

mum
 
Tuni humf vjsieft esi vsetj.

[HASHTAG]#Mepfgomm[/HASHTAG].

Liiq sappoph zuas nuavj zua xomm gopf zuas xez vu vji vsetj et ximm.
 
Last edited:
Access Restricted: Unlock 1,000,000+ Posts

Stop Peeking Through the Keyhole.
Open the Door.

You hit a wall because the best advice isn't free—it's earned. Since 2007, MJ DeMarco has been active here daily (99.9% active rate), building a war room for entrepreneurs who refuse to settle for mediocrity.

  • Active Daily: Life-changing content posted dozens of times every day. No dead threads.
  • MJ's Inner Circle: Direct access to the author of The Millionaire Fastlane.
  • Vetted Network: Connect with founders scaling to 7 and 8 figures.
  • Proven Roadmaps: Strategy over motivation. Execution over "hustle porn."
"SCALED TO 6-FIGURE MONTHS"
"Tips and advice here saved me from huge mistakes, others allowed me to scale my business to 6-figure months."
— User MitchC
"INSANE QUALITY OF PEOPLE"
"The number of high quality people I've met from this forum has been insane. All of it predicated on building real value."
— User Richard Peck

"You are the average of the five people you surround yourself with."
Are you surrounding yourself with success?

Back
Top Bottom