Let's learn Cuis-smalltalk
shnarazk / learn-cuis Goto Github PK
View Code? Open in Web Editor NEWLet's learn Cuis-smalltalk
License: Creative Commons Zero v1.0 Universal
Let's learn Cuis-smalltalk
License: Creative Commons Zero v1.0 Universal
Let's learn Cuis-smalltalk
Theme>>debugger
holds the value (h: 0.0 s: 0.? v: 0.?)
.
0.0 0.4 0.9
is much better. Since it doesn't have setters, we need to redefine the method.
assert: expected equals: actual
^ self
assert: expected = actual
description: [ self comparingStringBetween: expected and: actual ]
But In Squeak 6.0 beta also they are swapped.
assert: expected equals: actual
^ self
assert: expected
equals: actual
description: nil
Only Pharo's implementation makes sense for me.
assert: actual equals: expected
"This method raises an AssertionFailure if actual is different (using #= message) from expected.
Else it does nothing and execution continues.
"
^ self
assert: actual = expected
description: [ self comparingStringBetween: actual and: expected ]
I'm too tired for diversity of smalltalk.
TaskbarMorph >> screenSizeChanged
self morphPosition: 0@0
On Workspace
self runningWorld backgroundImageData: '/PATH/TO/bg.jpg' asFileEntry binaryContents.
'From Cuis 6.0 [latest update: #5202] on 30 May 2022 at 8:44:24 am'!
!TaskbarMorph methodsFor: 'initialization' stamp: 'shnarazk 5/30/2022 08:43:59'!
initialize
super initialize.
viewBox _ LayoutMorph newRow color: self defaultColor.
self
addMorph: (clock _ LabelMorph contents: ' ')
layoutSpec: (LayoutSpec morphWidthProportionalHeight: 0.5).
self
addMorph: (clock _ UpdatingLabelMorph initializedInstance)
layoutSpec: (LayoutSpec morphWidthProportionalHeight: 0.5).
self
addMorph: viewBox
layoutSpec:
(LayoutSpec
proportionalWidth: 1.0
proportionalHeight: 1.0
offAxisEdgeWeight: #rightOrBottom).
viewBox separation: self defaultHeight // 8.! !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.