kill-sticky
.NET Runtime
kill-sticky | .NET Runtime | |
---|---|---|
20 | 671 | |
857 | 15,641 | |
- | 1.3% | |
0.0 | 10.0 | |
almost 2 years ago | 6 days ago | |
JavaScript | C# | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kill-sticky
-
Ask HN: What bookmarklets do you use?
Threw together a bookmarklet that sends a page over to a personal, private subreddit the other day that I've been using a ton. Also a HUGE fan of kill-sticky.
Would love to throw some other good ones up there.
-
javascript:(function()%7Bdocument.querySelectorAll(%22body%20*%22).forEach(function(node)%7Bif(%5B%22fixed%22%2C%22sticky%22%5D.includes(getComputedStyle(node).position))%7Bnode.parentNode.removeChild(node)%7D%7D)%3Bdocument.querySelectorAll(%22html%20*%22).forEach(function(node)%7Bvar%20s%3DgetComputedStyle(node)%3Bif(%22hidden%22%3D%3D%3Ds%5B%22overflow%22%5D)%7Bnode.style%5B%22overflow%22%5D%3D%22visible%22%7Dif(%22hidden%22%3D%3D%3Ds%5B%22overflow-x%22%5D)%7Bnode.style%5B%22overflow-x%22%5D%3D%22visible%22%7Dif(%22hidden%22%3D%3D%3Ds%5B%22overflow-y%22%5D)%7Bnode.style%5B%22overflow-y%22%5D%3D%22visible%22%7D%7D)%3Bvar%20htmlNode%3Ddocument.querySelector(%22html%22)%3BhtmlNode.style%5B%22overflow%22%5D%3D%22visible%22%3BhtmlNode.style%5B%22overflow-x%22%5D%3D%22visible%22%3BhtmlNode.style%5B%22overflow-y%22%5D%3D%22visible%22%7D)()%3B
- How Many Lines of C It Takes to Execute a and B in Python?
-
Eclipse: The Demo that Sold 3D to Nintendo
Kill Sticky bookmarklet[1]. Also works on mobile. Get in the habit of clicking it, you'll start using it a lot to recover that extra inch of vertical space that web devs love to take away from you for some bizarre reason.
https://github.com/t-mart/kill-sticky
- The 8-Bit Era: Eight Iconic Processor Designs – By Babbage
- The novel HTTP/2 'Rapid Reset' DDoS attack
-
The Ideal Viewport Doesn't Exist
I'm going to change your life: https://github.com/t-mart/kill-sticky
Works in every browser (I use it in Safari on iOS and Firefox on desktop). These fucking stupid sticky elements are so common, I almost reflexively go hit this bookmarklet on every website now. It makes the web so much better.
- Remove Headers Stuck To The Top Of Websites You View? Like The menus At the top of websites that take up half the screen and dont go away when you scroll down.
- Things I learned after getting users
-
The <Dialog> Element
In the meantime, NoScript[1] frequently avoids them entirely by just showing the page contents with no JS at all, and Kill Sticky[2] cleans up the ones that require JS to show you the content you actually want.
[1] NoScript for Firefox & Chrome-based browsers: https://noscript.net/getit/
[2] Kill Sticky bookmarklet for all browsers including mobile: https://github.com/t-mart/kill-sticky
Or, a Firefox extension that adds a toolbar button: https://addons.mozilla.org/en-US/firefox/addon/kill-sticky/
-
Pool Rule
kill-sticky just JavaScript so it will work on any browser
.NET Runtime
-
Show HN: LogLayer – Unified Logging for JavaScript (MIT Licensed)
Though today much of the Microsoft.Extensions family is considered BCL by most users, especially in the way it is documented as "Core functionality" (the "Generic Host" model uses a lot of Microsoft.Extensions, up front in .NET documentation today) and also in the way that the majority of it (especially in this case of Microsoft.Extensions.Logging) is source controlled side-by-side with most of the BCL, including almost all of System.**: https://github.com/dotnet/runtime/tree/main/src/libraries
(There are some of Microsoft.Extensions that exist outside of dotnet/runtime in dotnet/extensions: https://github.com/dotnet/extensions/tree/main/src/Libraries)
-
What is GCHandle in C#? (Part 1)
GCHandle.cs
- The Humble for Loop in Rust
- Show HN: SeekStorm – open-source sub-millisecond search in Rust
-
How Much Memory Do You Need in 2024 to Run 1M Concurrent Tasks?
The referencesource repository is only relevant if you are using the legacy .NET Framework. Modern .NET has a special case for passing a List and avoids the allocation:
https://github.com/dotnet/runtime/blob/1f01bee2a41e0df97089f...
-
C++ Calls C#: A Tale of Friendship Across Runtimes
coreclr_delegates.h
-
Golang and Containers Perf Gotcha – Gomaxprocs
Unthinkable crutches in Go land continue.
This is something that needs to be fixed in the runtime itself to be appropriately container-aware and not require the users to write their own libraries to patch this out.
For example: https://github.com/dotnet/runtime/pull/99508
(alternatively, the goroutine runtime could have been made auto-scalable which would have reduced the impact at the cost of implementation complexity, like .net's threadpool is)
-
The Two Factions of C++
If you're interested, here's the overview of planned compiler work for .NET 10: https://github.com/dotnet/runtime/issues/108988
Autovectorization is usually very fragile and in areas where you care about it hand-written implementations always provides much better results that will not randomly break on minor changes to compiler version or the code, that must be carefully guarded against.
It would be still nice to have it eventually, and I was told that JIT team actively discusses this but there are just many more lower hanging fruits that will light up in disproportionately more instances of user code.
- Mark–Scavenge: Waiting for Trash to Take Itself Out
-
What is inside Rate Limiting for .NET
Each limiter, except ConcurrencyLimiter, caps the number of requests in a time period. ConcurrencyLimiter caps only the number of concurrent requests. All limiters are derived from the abstract RateLimiter class and implement the following public API:
What are some alternatives?
dialog-polyfill - Polyfill for the HTML dialog element
Ryujinx - Experimental Nintendo Switch Emulator written in C#
icestation-32 - Compact FPGA game console
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
pagefreeze
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
cpython - Python, but with pluggable malloc
CoreCLR - CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes.
tracker-control-android - TrackerControl Android: monitor and control trackers and ads.
WASI - WebAssembly System Interface
Fenix - ⚠️ Fenix (Firefox for Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android
vgpu_unlock - Unlock vGPU functionality for consumer grade GPUs.