On Wednesday, May 26, 2021 at 11:00:24 AM UTC-5, Jon Ribbens wrote:
On 2021-05-26, Michael Haufe (TNO) <t...@thenewobjective.com> wrote:
Paper has predefined standard sizes, as do viewports. Web developersThat's not right. Viewports don't come in standard sizes. But some
generally use media queries to target those sizes and act accordingly.
frameworks have specific cut-off points at which you can make things
switch layouts because changing the layout for smaller screens is
often a good idea and testing your site on every width between 100px
and 4,000 px is impractical ;-)
Screen resolutions definitely do have standard sizes. That's what
VGA, SGA, XGA, HD, 4K UHD, and others are:
I don't think that's what the name means. It means the layout can
change shape, like a liquid can change shape. There's no implication
that the layout always fills 100% of the container like a liquid does.
Given that layouts are and have been primarily boxes I don't think
changing shape is relevant here for the definition unless you are
referring to multiple independent boxes moving their positions
dynamically.
Since we disagree on the definition, do you have a reference for your usage?
'vw' is a relative measurement, so yes it will change.That's *why* the text layout won't change. Try it.
It resizes based on the viewport size. Just resize the webpage to see
the behavior. What does "text layout" have to do with it? Are you
referring to wrapping behavior?
It's mostly that the viewport has to be very wide indeed before the
icon labels appear.
No longer. I've updated the styling to use a menu on the medium size
screens as well.
Same holds for this website:
https://www.defprogramming.com/authors/
Its rather a horrible website, can read anything
unless you have your browser page occupying the
whole screen. It does some rescaling
but I guess it needs some fine tuning. At
least on an MacBook Air 2019 with Safari
browser its not usable.
On 2021-05-25, Mostowski Collapse <janburse@fastmail.fm> wrote:
Maybe the younger generation doesn't know
the concept of announcement? I have no
clue whats wrong with you? I am not toxic.
You seem pretty toxic to be honest. The announcement wasn't very helpful
as it contained no clue whatsoever as to what it was announcing.
I surmised it might be something to do with crypto coins and ignored it.
Nothing wrong with the name Dogelog,
Jon Ribbens doesn't like it, so what.
On Wednesday, May 26, 2021 at 8:56:59 AM UTC-5, Jon Ribbens wrote:
[...]
Those articles seem deeply confused, especially the first, which says:
This might be because typography is so deeply rooted in the
centuries-old history of typesetting. The concept of having “fluid”
anything is often at odds with this tradition. In print, dimensions
have always been fixed, but they don’t need to be on the web. That’s
why I think fluid typography is a perfect match for the web. It’s a
different approach for a completely different medium.
Using 'viewport width' for the font size *isn't* fluid, it's the
exact opposite. It's paper-based thinking in a paperless world.
It means the content doesn't format itself appropriately for the
page, it just shrinks and expands like a photocopier on 'enlarge'
mode.
Given that the common practice is to use breakpoints, are those not the web equivalent of paper based thinking?
On Wednesday, May 26, 2021 at 8:21:10 AM UTC-5, Jon Ribbens wrote:
On 2021-05-26, Michael Haufe (TNO) <t...@thenewobjective.com> wrote:
On Wednesday, May 26, 2021 at 1:33:27 AM UTC-5, Mostowski Collapse wrote: >>>> Hint, if you want to make websites that workThat's a pretty weird thing to do, to be fair.
on mobile and desktop, there are other
approaches than just having elephant font size.
The font size is relative to the viewport size.
Uncommon yes, but not that weird:
<https://www.smashingmagazine.com/2016/05/fluid-typography/> <https://web.archive.org/web/20200926083516/https://www.csshero.org/css-viewport-units-css-hero/>
<https://css-tricks.com/viewport-sized-typography/>
On Wednesday, May 26, 2021 at 9:15:12 AM UTC-5, Jon Ribbens wrote:
On 2021-05-26, Michael Haufe (TNO) <t...@thenewobjective.com> wrote:
On Wednesday, May 26, 2021 at 8:56:59 AM UTC-5, Jon Ribbens wrote:Why would they be?
[...]
Using 'viewport width' for the font size *isn't* fluid, it's the
exact opposite. It's paper-based thinking in a paperless world.
It means the content doesn't format itself appropriately for the
page, it just shrinks and expands like a photocopier on 'enlarge'
mode.
Given that the common practice is to use breakpoints, are those not
the web equivalent of paper based thinking?
Paper has predefined standard sizes, as do viewports. Web developers generally use media queries to target those sizes and act accordingly.
Mostowski Collapse:
Nothing wrong with the name Dogelog,Well - design is matter of taste (except when violating accessibility guidelines). But there are also technical errors:
Jon Ribbens doesn't like it, so what.
<https://validator.w3.org/nu/?doc=https%3A%2F%2Fthenewobjective.com%2F>
Mostowski Collapse:
Nothing wrong with the name Dogelog,Well - design is matter of taste (except when violating accessibility guidelines). But there are also technical errors:
Jon Ribbens doesn't like it, so what.
<https://validator.w3.org/nu/?doc=https%3A%2F%2Fthenewobjective.com%2F>
--
Arno Welzel
https://arnowelzel.de
Frankly I also dont like this website: http://pointedears.de/scripts/faq/cljs/
It has a background color from Netscape default 25
years ago, neither dark mode nor light mode.
Just joking.
Here is the original charter of comp.lang.javascript
[...]
"The proposed comp.lang.javascript will be open to discussion on all
aspects of JavaScript, as it relates to HTML, Java, Perl, the World
Wide Web in general, and **other related languages**. The scope of
discussion will specifically exclude matters which are *solely*
related to Sun Microsystems, Inc.'s Java language, which should be
discussed in comp.lang.java."
[...]
http://pointedears.de/scripts/faq/cljs/faq_notes/cljs_charter.html
**other related languages** can mean a lot. Java saw the
evolution of JVM language, means the JVM became used
for languages such as Groovy, Kotlin, etc..
I am not sure whether JavaScript does also see such a
trend. There is an interesting technology bundled with
JavaScript, namely WebAssembly.
There was an old prototype of SWI-Prolog ported to
WebAssembly but it didn't have bignum. I tried myself using
CheerpJ to run a Java based Prolog, but the results
werent very satisficing. This is a new try on directly
using the JavaScript platform.
Arno Welzel schrieb am Sonntag, 13. Juni 2021 um 17:55:34 UTC+2:
Mostowski Collapse:
Nothing wrong with the name Dogelog,Well - design is matter of taste (except when violating accessibility guidelines). But there are also technical errors:
Jon Ribbens doesn't like it, so what.
<https://validator.w3.org/nu/?doc=https%3A%2F%2Fthenewobjective.com%2F>
--
Arno Welzel
https://arnowelzel.de
The proof of concept already has Prolog bignum support
via primitive JavaScript bignums. You can try and paste the
following into the Dogelog textarea at http://www.dogelog.ch/
and then press the Dogelog "Try it" button:
fact(0, 1) :- !.
fact(N, X) :-
M is N-1, fact(M, Y),
X is N*Y.
:- fact(100, X), write(X), nl.
It will happily show:
93326215443944152681699238856266700490
71596826438162146859296389521759999322
99156089414639761565182862536979208272
23758251185210916864000000000000000000
000000
Enjoy!
Mostowski Collapse schrieb am Sonntag, 13. Juni 2021 um 19:07:57 UTC+2:
Frankly I also dont like this website: http://pointedears.de/scripts/faq/cljs/
It has a background color from Netscape default 25
years ago, neither dark mode nor light mode.
Just joking.
Here is the original charter of comp.lang.javascript
[...]
"The proposed comp.lang.javascript will be open to discussion on all aspects of JavaScript, as it relates to HTML, Java, Perl, the World
Wide Web in general, and **other related languages**. The scope of discussion will specifically exclude matters which are *solely*
related to Sun Microsystems, Inc.'s Java language, which should be discussed in comp.lang.java."
[...]
http://pointedears.de/scripts/faq/cljs/faq_notes/cljs_charter.html
**other related languages** can mean a lot. Java saw the
evolution of JVM language, means the JVM became used
for languages such as Groovy, Kotlin, etc..
I am not sure whether JavaScript does also see such a
trend. There is an interesting technology bundled with
JavaScript, namely WebAssembly.
There was an old prototype of SWI-Prolog ported to
WebAssembly but it didn't have bignum. I tried myself using
CheerpJ to run a Java based Prolog, but the results
werent very satisficing. This is a new try on directly
using the JavaScript platform.
Arno Welzel schrieb am Sonntag, 13. Juni 2021 um 17:55:34 UTC+2:
Mostowski Collapse:
Nothing wrong with the name Dogelog,Well - design is matter of taste (except when violating accessibility guidelines). But there are also technical errors:
Jon Ribbens doesn't like it, so what.
<https://validator.w3.org/nu/?doc=https%3A%2F%2Fthenewobjective.com%2F> --
Arno Welzel
https://arnowelzel.de
Woa! The JavaScript JIT compiler is quite impressive. I now
ported Dogelog runtime to Python as well, so that I can compare
JavaScript and Python, and tested without clause indexing:
between(L,H,L) :- L =< H.
between(L,H,X) :- L < H, Y is L+1, between(Y,H,X).
setup :- between(1,255,N), M is N//2, assertz(edge(M,N)), fail.
setup :- edge(M,N), assertz(edge2(N,M)), fail.
setup.
anc(X,Y) :- edge(X, Y).
anc(X,Y) :- edge(X, Z), anc(Z, Y).
anc2(X,Y) :- edge2(Y, X).
anc2(X,Y) :- edge2(Y, Z), anc2(X, Z).
:- setup.
:- time((between(1,10,_), anc2(0,255), fail; true)).
:- time((between(1,10,_), anc(0,255), fail; true)).
The results are:
/* Python 3.10.0rc1 */
% Wall 188 ms, trim 0 ms
% Wall 5537 ms, trim 0 ms
/* JavaScript Chrome 92.0.4515.159 */
% Wall 5 ms, trim 0 ms
% Wall 147 ms, trim 0 ms
Mostowski Collapse schrieb:
Dear All,
Needs a decent browser, JavaScript >2015
http://www.dogelog.ch/
Currently swallows errors silently. Everything written
in Prolog itself, read/1, consult/1, etc.. and then cross
compiled into JavaScript. Not sure whether it can already
compile itself. But it has a text field and can add the
clauses in the text field and execute the directives in the
text field, and it has write/1 and nl/0 into the HTML document.
More care for the good boy upcoming.
Have Fun!
Jan Burse, 24.05.2021 #StaySafe
http://www.jekejeke.ch/
Dear All,
Needs a decent browser, JavaScript >2015
http://www.dogelog.ch/
Currently swallows errors silently. Everything written
in Prolog itself, read/1, consult/1, etc.. and then cross
compiled into JavaScript. Not sure whether it can already
compile itself. But it has a text field and can add the
clauses in the text field and execute the directives in the
text field, and it has write/1 and nl/0 into the HTML document.
More care for the good boy upcoming.
Have Fun!
Jan Burse, 24.05.2021 #StaySafe
http://www.jekejeke.ch/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (2 / 14) |
Uptime: | 03:51:05 |
Calls: | 5,540 |
Calls today: | 6 |
Files: | 11,675 |
Messages: | 5,105,933 |
Posted today: | 1 |