flat assembler
Message board for the users of flat assembler.

Index > Heap > sleepsleep's vitally important things

Goto page Previous  1, 2, 3 ... 229, 230, 231 ... 233, 234, 235  Next
Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17063
Location: In your JS exploiting you and your system
revolution
sleepsleep wrote:
... waste [time] in courtship ...
That seems like a sad way to view it. Sad
Post 06 Feb 2020, 10:31
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
revolution wrote:
sleepsleep wrote:
... waste [time] in courtship ...
That seems like a sad way to view it. Sad


is like learning something new, it looks cool and awesome, as if you are into uncharted territory, the desire to get familiar is so strong, like going into some unknown place,

is like driving a new route, first time scenery, just realized there are some nice ponds here and there, some fruits tree, etc,

it could be like first time driving a car, the feel of the paddle l, gear box, the windscreen, the signals sounds etc, everything feel so alien,

pattern limit surprise, the way you communicate with your partner, friends etc,

we could choose to act, pretending and producingthe expected output as our natural behavior, natural self, but how long until one gets really tired?

one could get something but that something is causing that one to be a different one,

anything that could bring you happiness is equally powerful to drag you into hell
Post 06 Feb 2020, 12:14
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
SpaceX will now let you book a rocket launch online starting at $1 million
https://techcrunch.com/2020/02/05/spacex-will-now-let-you-book-a-rocket-launch-online-starting-at-1-million/

thanks elon musk, you are our example,
Post 07 Feb 2020, 02:17
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
張紫豪 - 可不可以『不希望我的未來不是你,只願意和你永遠不分離。』
https://www.youtube.com/watch?v=hgIDXTmmgDg

楊梓琪 - 可不可以(抖音女聲版)『愛上了你沒什麼道理,只是剛好情竇初開遇到你。』
https://www.youtube.com/watch?v=nlYqSxHFBkM

王广允 侯锦尧《可不可以》《下一站传奇》第8期 20181209【东方卫视官方HD】
https://www.youtube.com/watch?v=QJszX3kffrQ

the third version is actually better than original, but sort of need some more polishes, i prefer 3rd version, the vocal is cool,

張紫豪 - 可不可以Remix【嘻哈/R&B】改版-Elie苏阳
https://www.youtube.com/watch?v=GpnxOMEYb84

4th, nice too!

https://flif.info/
nice,

~

how to make us addicted, create infinities from boringness,

if we were to reincarnate infinitely into different container, the whole memories dedicated for container auto selection in every cycle,

the spark of tiny direction that somehow arise and tagging the mind to follow,

the persistence of conscious or reluctance than bring up a whole new changes,

a spark of command asking whether the processor wants to process or not,

Quote:
The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare.


https://web.archive.org/web/20130120215600/http://www.vivaria.net/experiments/notes/publication/NOTES_EN.pdf

monkeys sure love the "S" shape,
Post 07 Feb 2020, 03:41
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17063
Location: In your JS exploiting you and your system
revolution
Infinities are great things for getting stuff done.

Given enough time those monkeys would also produce ALL of the great literature, and ALL of the bad literature, and everything in between. And if the typewriters are computer terminals, then those monkeys would also produce all possible software programs, no matter if it is good, bad, buggy, working, bloated, lean, beautiful or ugly, it will all be there.
Post 07 Feb 2020, 03:56
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
a truly random bits generator, maybe random just never exists, glass of half cup water or half cup empty,

Coronavirus: China's death toll rises to 636, total number of cases nationwide exceeds 31,000
https://www.straitstimes.com/asia/east-asia/coronavirus-chinas-hubei-province-reports-69-new-virus-deaths

not good,
Post 07 Feb 2020, 05:35
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
am curious,

why they want to create such function in python?
Code:
x = range(3, 6)
for n in x:
  print(n)
    

it is confusing,
at first, i thought range from 3 to 6 should be 3,4,5 and 6, but the answer is, 3,4 and 5

but how the logic one could include 3 but not 6 to be logical? at least 4,5 looks more logical

range
the area of variation between upper and lower limits on a particular scale.
"the cost will be in the range of $1–5 hundred a day"

is 100.00 and 500.00 valid?

in the vbscript
Code:
For i = 1 to 4
        fout.Write i & vbCrLf
Next    

you get 1 to 4, imo, make sense because 1 to 4 really means, 1,2,3 and 4
Post 07 Feb 2020, 20:49
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 654
Location: Belarus
DimonSoft
Python? Logic? Not really. Just anoher language with its own quirks that somehow got popular (maybe due to lots of ready-to-use libraries that make a newbie feel like a professional in spite of their lack of knowledge and experience). I won’t be surprised if within the next 10 or 20 years it becomes one of the most hated languages. Just fashion, nothing technical.
Post 07 Feb 2020, 22:15
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
Quote:

(0, 1)
(0, 2)
(0, 3)
(1, 2)
(1, 3)
(2, 3)

(x,y)
we could see y is always bigger than x,
4 numbers 0,1,2,3

is like how many unique pair of number we could produce if we were given lots of card boards printed with number 0 ,1, 2 and 3 that follow the rules y > x

well, i think most people will follow the idea ">" and go and grab card number 3 and top down approach,

3,2
3,1
3,0
2,1
2,0
1,0

if the question is y < x, then we go and grab the card number 0 first
0,1
0,2
0,3
1,2
1,3
2,3

the idea to start from top or bottom is to prevent another search for duplicate,

but what cause us to realize this?

so we somehow realize searching for duplicate is not our human strong feature, because it requires lots of memories to check, compare and decide,

we could use random to fill up all these, but why random instead of non random?
Post 08 Feb 2020, 00:21
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17063
Location: In your JS exploiting you and your system
revolution
Python just likes to start numbering at zero.
Code:
>>> range(3)
[0, 1, 2]    
If it numbered from one then the range would be [1, 2, 3].

If you are using a range as an index into some array then numbering from zero makes your task easier.

In fasm when we use the % value in a loop we often see it needs to have -1 applied because it numbers from 1.
Code:
repeat 6
  load x dword from my_constants + 4 * (% - 1)   ;<---- We need to apply -1 here
end repeat    
Post 08 Feb 2020, 01:20
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
it doesn't makes sense to me to accept the lower range but discard the upper range, when using the word range,

as illustrated by my previous post,
"the cost will be in the range of $1–5 hundred a day"
is 100.00 and 500.00 valid?

~
i don't have issue with starting from 0 or 1, but i prefer the direct idea without assumption,
1 to 13 means exactly 13 elements,

~
regarding working with array, let say we have 4 cubes with width of 1cm each

[ ][ ][ ][ ]
0 to 1 = 1st cube
1 to 2 = 2nd cube
2 to 3 = 3rd cube
3 to 4 = 4th cube

each cube can be identified by the beginning of its width or end of its width, yeah, it sounds like half cup full or half cup empty, Laughing

it seems that everything are related, Laughing
Post 08 Feb 2020, 02:43
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17063
Location: In your JS exploiting you and your system
revolution
sleepsleep wrote:
it doesn't makes sense to me to accept the lower range but discard the upper range, when using the word range,
Hehe, that can apply in the opposite sense also.

If it output [1, 2, 3] then "it doesn't makes sense to me to accept the upper range but discard the lower range, when using the word range,"

Maybe python could solve your dilemma like this:
Code:
>>> range(3)
[0, 1, 2, 3]    
There you have your desired lower and upper range covered. But now you have four numbers!

At some point you have to choose one of:
  • Exclude the upper number
  • Exclude the lower number
  • Include an extra number
Post 08 Feb 2020, 03:25
View user's profile Send private message Visit poster's website Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 654
Location: Belarus
DimonSoft
revolution wrote:
If it output [1, 2, 3] then "it doesn't makes sense to me to accept the upper range but discard the lower range, when using the word range,"

Maybe python could solve your dilemma like this:
Code:
>>> range(3)
[0, 1, 2, 3]    
There you have your desired lower and upper range covered. But now you have four numbers!

At some point you have to choose one of:
  • Exclude the upper number
  • Exclude the lower number
  • Include an extra number

It shouldn’t have used one-parameter version in the first place, since range implies having two bounds. A single number naturally goes as the number of items but doesn’t make sense without any position information.
Post 08 Feb 2020, 09:15
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17063
Location: In your JS exploiting you and your system
revolution
Let's compromise.

1:
Code:
>>> range(3)
[0, 1.5, 3]    
2:
Code:
>>> range(3)
[0.5, 1.5, 2.5]    
Post 08 Feb 2020, 10:29
View user's profile Send private message Visit poster's website Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 654
Location: Belarus
DimonSoft
revolution wrote:
Let's compromise.

1:
Code:
>>> range(3)
[0, 1.5, 3]    
2:
Code:
>>> range(3)
[0.5, 1.5, 2.5]    

Compromise Python? Great idea Smile
Post 08 Feb 2020, 12:39
View user's profile Send private message Visit poster's website Reply with quote
Furs



Joined: 04 Mar 2016
Posts: 1454
Furs
revolution wrote:
Infinities are great things for getting stuff done.

Given enough time those monkeys would also produce ALL of the great literature, and ALL of the bad literature, and everything in between. And if the typewriters are computer terminals, then those monkeys would also produce all possible software programs, no matter if it is good, bad, buggy, working, bloated, lean, beautiful or ugly, it will all be there.
https://libraryofbabel.info/
Post 08 Feb 2020, 15:30
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
DimonSoft wrote:

It shouldn’t have used one-parameter version in the first place, since range implies having two bounds.

agreed

when it is between 0 and 1, what is the best way to identify this block?

can we call it 0.1
2.3 is block between 2 and 3

15.16, 18.99,

or it could be 18.5, (x.y) if y is smaller than x, it would be treated as range,
18,19,20,21,22

it should be a choice for programmer to identify the block at start or end,
3. should automatically means 3.4

and .4 should automatically means 3.4
Post 08 Feb 2020, 23:53
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
One Hundred Ideas for Computing
https://samsquire.github.io/ideas/

Coronavirus: Did a Chinese Scientist Steal the Virus from a Canadian National Microbiology Lab?
http://www.abovetopsecret.com/forum/thread1256148/pg1

Canadian government scientist under investigation trained staff at Level 4 lab in China
https://www.cbc.ca/news/canada/manitoba/national-microbiology-lab-scientist-investigation-china-1.5307424

Dr. Xiangguo Qiu – Chinese Biological Warfare Agent
https://greatgameindia.com/dr-xiangguo-qiu-chinese-biological-warfare-agent/

Quote:
My thoughts on this whole Wu Flu is that it's possibly been released by another government. Talk about a great starting place to release it... In the city where they opened their first real bio chemical lab and where they have a know food market with very sketchy sanitary standards. It's a perfect place to make it seem perfectly legit.
Ask why? This could shake the foundation of the government if enough people die. They will blame their own government no matter the outcome. It can set the Chinese economy back years as many countries are fully isolating themselves from China. I'm personally sitting back eating popcorn and watching the outcome


Coronavirus Deaths Hit 806, Surpassing Total From 2003 SARS Outbreak
https://www.zerohedge.com/geopolitical/first-american-citizen-dies-coronavirus-wuhan-5-britons-diagnosed-french-ski-town
Post 09 Feb 2020, 01:10
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
why we doesn't have a lego stick based type metal or hard plastic that could be assembled and reuse to build all kinds of cases or etc container, all kinds of design,

can someone give me a few millions to kick start this, it looks so stupid we can't recycle and reuse lots of things,

the apple mac book soldered memory and ssd is a big damn it, damn it apple,
Post 09 Feb 2020, 02:21
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8706
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
why macos changes its menu according to switched active application?

sort of enforced application must be viewed full screen, since the menu bar is located top left across top screen,

i just thought of, what if we could access menu bar of any application instead of running or bringing application into focus?

~

what the rich and riches should do now is actually distributing free mask, yah, distribute them free,

what is the fun when everybody die and you still alive on earth? you end up required to do EVERYTHING by yourself,
Post 09 Feb 2020, 02:55
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3 ... 229, 230, 231 ... 233, 234, 235  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.