Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Ьλ∂λ

@pygy@mamot.fr
mastodon 4.7.2
  • Open on mamot.fr
24 Followers
29 Following
10 Posts
Joined December 26, 2020
github:
https://github.com/pygy
twitter:
https://twitter.com/pygy
Open post
Ьλ∂λ @pygy@mamot.fr
· 13mo ago

@rauschma@fosstodon.org Yup, this is very surprising... On my machine the threshold is `setTimeout(..., 9)`. Safari 18.5, M1 MacBook Air

From the JS side, it works as expected (logging .textContent shows "blocking").

Even if you trigger a sync layout in JS (with .getBoundingClientRect()), the UI isn't updated until after the blocking code returns.

It looks like they over-optimized the rendering scheduler.

1
1
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 13mo ago

@rauschma@fosstodon.org setTimeout schedules a (macro)task.

Assuming setStatus is synchronous (or scheduled for the upcoming microtask queue which is drained immediately after synchronous code is done), the UI should be updated and this would be a Safari bug...

1
1
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 44mo ago
Replying to
@L_howes@mastodon.social Once it suggested I use plausible but non-existing functions in the JavaScript standard library...
7
1
1
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 16mo ago

Playing around with color space representation, when suddenly...

cc/ @leaverou@front-end.social

1
1
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 18mo ago

@rauschma@fosstodon.org Up until Snow Leopard, every OS X update was a little Christmas, with a cohesive experience and attention to detail. Every change felt like a well thought out improvement. It felt lie people cared.

The Jobs put his focus on iOS, and it's been downhill ever since.

1
0
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 17mo ago

@senficon@ohai.social In France, most of the political spectrum is trying to do as much with muslim women.

0
0
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 17mo ago

@regehr@mastodon.social

*putting on my tinfoil hat*

If I were a governement agency tasked with planting software exploits, I'd have several full time agents employed at major compiler vendors and/or on relevant technical committees, all pushing for all kind of exotic UBs that can be subtly exploited down the line.

Just saying....

0
2
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 18mo ago

@webreflection@mastodon.social Yes, many of us framework writers came upon the abstraction independently. Claudia Meadows had, unbeknown to me, petition for this too (before your own proposal).

An abstraction like this is needed if you want to create a declarative framework that supports dynamic fragments without vdom (I had it subbed as a `DOMRange` in my own framework, but it was not a fully fledged quasi-DOM node as you're proposing).

It would be better to have make it native.

0
1
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 18mo ago

@webreflection@mastodon.social You can memoize it of course

0
1
0
0
Open post
Ьλ∂λ @pygy@mamot.fr
· 18mo ago

@webreflection@mastodon.social I like this method:

export function detectEngine() {
try{
function loop(n=1000000){;if(n)return loop(n-1)}
loop()
}catch(e){
if (e instanceof RangeError) return "V8"
else return "SpiderMonkey"
}
return "JavaScriptCore"
}
console.log(detectEngine())

0
2
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 19:35:38 UTC