nym's avatar
nym
nym@primal.net
npub1hn4z...htl5
nym's avatar
nym 1 year ago
Not every user owns an iPhone As software engineers and technologists its common to have access to some powerful devices and super fast bandwidths. It’s highly likely that you will be developing/testing on a high end Mac (or similar) or pulling out an expensive mobile device such as an iPhone from your pocket. But we need to be careful that this doesn’t lull us into a false sense of reality. We need to take care that we don’t end up sitting in ivory towers thinking performance of our applications is rosy, when in the wild our users are facing a different reality. I’m going to utilise Rum Archive’s fantastic dataset to hopefully paint a picture of why this is important. The following measurements were narrowed to beacons collected from the United Kingdom. Important to highlight that the Rum Archive data is sampled. I will lean on Core Web Vitals a little, but because of the comparison I want to highlight I will also use metrics that are collected from Safari users. Throughout we’ll look at the 75th percentile of users for each metric and we’ll zero in on mobile devices. **First Contentful Paint (FCP)** Let’s start at the beginning of a users experience. The point at which the user can see a change on screen. “Is it happening”*. Contrasting the FCP seen from iOS and Android users. ![](https://m.stacker.news/72179) The 75th percentile for Android users is 400ms slower than that of iOS users, a significant 34% slower. **Time To Interactive (TTI)** Next to look at is Time To Interactive. mPulse describes this as > “The time when the page looks ready to use and is responsive to user input.” I’ve chosen to consider this metric as INP is unavailable for Safari users and I’m seeking a comparative measure of the time it takes for a page to become interactive, i.e. the point at which a page could reliably respond to user interaction such as a click. This metric could provide a good understanding of how our split of users are handling the resources that are delivered as part of the page, i.e. the JavaScript! We see a significant performance gap contrasting iOS and Android users. ![](https://m.stacker.news/72180) The 75th percentile for Android users is 66% percent slower than the iOS equivalent, more than 2 seconds slower! Alex Russell’s Performance equality gap highlights that the Android user base typically will be on lower powered devices compared to those with an iPhone. Devices with less hardware capability, more prone to being overwhelmed by heavy JavaScript execution. **Interaction to Next Paint** So what does the impact of low end devices look like on user interaction? At this point it would be really great if Safari could support Core Web Vitals and in particular INP, but it’s not quite Christmas yet! Instead lets take a closer look at INP measurements for Android users by device model, to see how device capability can impact INP. To give a sense of device capability I’m going to utilise GeekBench’s scores for each device model. GeekBench focuses on the devices CPU performance, so we’ll use this as a measurement for the devices capability. We’ll use GeekBench’s single core score as this is relevant for running applications that are lightly threaded such as web applications. We then plot this data to visualise if there is any correlation between INP times and the devices CPU performance. I’ve taken the top 100(ish) Android devices by beacon count during the period. ![](https://m.stacker.news/72181) Probably not a huge surprise to this audience, we see a correlation. As CPU performance decreases we see an increase in INP times. What is interesting to see is the size of the gap between the high powered and lower end devices, as well as some of the startling measurements! The user experience ranges significantly. **How might an iPhone compare?** How might an iPhone compare to this? Although we haven’t got access to a useful set of INP scores we can contrast the scores collected by GeekBench for CPU performance. The highest score for a Samsung Android device is for the Galaxy S24 Ultra, scoring 2135. ![](https://m.stacker.news/72182) In contrast the highest scoring iOS device currently is the iPhone 16 Pro, clocking up an impressive score of 3423. Thats a 60% increase on CPU performance score compared to the S24 Ultra! ![](https://m.stacker.news/72183) In fact, your looking at the iPhone 12 until you find a previous version of the iPhone that scores less than todays fastest Samsung Android device. To add a little more perspective, this device was first sold over 4 years ago! ![](https://m.stacker.news/72184) Using the correlation from above, we can make an extremely strong assumption that INP performance experienced on our latest iPhone is going to be faster than even the latest, greatest Android device on the market. In fact in many cases even our old iPhone stuck in a drawer somewhere would give the best Android devices a run for their money! **So why should we care about this?** Well, because Android users make up a huge slice of the mobile web audience. In the UK, its the greatest slice, with 52% of the market share according to statcounter. If your working in online retail thats a lot of potential customers. ![](https://m.stacker.news/72185) From the sample of data I looked at, only 43.6% of Android page loads came from device models that score 1000 or above on GeekBench (remember an iPhone purchased within the last 4 years is scoring > 2000). So thats ~29% of overall web users that could at best (and most likely worse) have a mobile device 3x times less powerful than the latest high powered iPhone. How does the experience look to them? Are we considering these users whilst developing and testing the applications we’re responsible for? **What can we do?** First thing we can do is understand the conditions that our users are accessing our web applications from. Have you got Real User Monitoring implemented? Do you have granular insight into your users conditions? - Visibility of attributes such as device type, OS and device model. Something like Akamai’s Device Characteristic header is super useful for this. - Usage of the Navigator API to provide insight into things such as device memory (where supported) and hardware concurrency - Network conditions. Through the Network Information API we can gain insight into areas such as the connection type (4g, 3g etc), the connections round trip time (RTT) and user downlink speeds. Again where supported. What is the CrUX data showing for your application? If you haven’t got RUM running this might be a good place to start. Are you proactively monitoring and utilising this data to understand real user experience and typical user conditions? Are you going beyond measuring a high level p75 and looking at the detail beneath? Using this data you can get an insightful picture of the profiles of your users and have visibility of which of these profiles are common and important. With this knowledge we can ensure our development and testing cycles cover real user conditions. We need to dog food our work in these conditions. Sometimes we need to feel the pain to enact positive change. If an engineer is frustrated at the responsiveness of an ‘Add to cart’ button click during development, then they’re probably more likely to investigate why and resolve it. Chrome allows us to easily throttle CPU and network capability via its Performance tab in developer tools. Low powered devices that match your user profiles can be purchased (cheaply!) or services such as BrowserStack used to test the experience on real devices. Other approaches exist, the important thing is there are ways to achieve this. **Wrapping up** Through the data, we’ve seen the gap in user experience between high powered and low end mobile devices. The population of mobile users on these low spec devices is significant and they should not be ignored. They stand as a group we could be (and probably currently are) alienating and lead to missed opportunities if we continue to provide a poor user experience. As online teams we should proactively be understanding the profiles of our users and what conditions they operate within. Looking beyond what sits on our desk and the comfort of expensive tech. Not everyone is lucky enough to own an iPhone. We need to experience our users reality and build this into our software development processes. This way we can build inclusive web applications, improve for the many and open up missed opportunities. originally posted at
nym's avatar
nym 1 year ago
More Countries to Establish Bitcoin Reserves in 2025, Fidelity Says Financial services giant Fidelity predicts several countries will begin stockpiling Bitcoin this year, bringing about broader adoption of the world's oldest crypto. Several nations could establish strategic Bitcoin reserves in 2025 to hedge against “debilitating inflation, currency debasement, and increasingly crushing financial deficits,” Fidelity wrote in a report on Monday. That’s because global leaders are warming up to the crypto following the U.S.’s touted plans to embrace Bitcoin amid growing institutional investor interest, according to Fidelity Digital Assets analyst Matt Hogan. “We anticipate more nation-states, central banks, sovereign wealth funds, and government treasuries will look to establish strategic positions in Bitcoin,” Hogan said in the report. Crypto-curious countries might model their plans for creating Bitcoin reserves after policies from pro-Bitcoin nations such as Bhutan and El Salvador, where government officials have already notched significant returns. El Salvador's Bitcoin holdings are valued at more than $570 million, while Bhutan holds north of $1.1 billion, on-chain analytics platform Arkham Intelligence's data shows. The U.S. has the most significant Bitcoin stockpile of any world nation, valued at roughly $19.3 billion. It’s followed by China, the UK, and Ukraine, which hold $19.2 billion, $6.2 billion and $4.7 billion of the cryptocurrency, respectively. Those massive holdings do not necessarily translate into massive returns, however. Some countries, such as the U.S., have certain requirements for handling or auctioning off Bitcoin, limiting their ability to count the assets as part of their treasuries. Still, there are plenty of incentives for countries to begin holding Bitcoin, particularly as the asset’s price continues to hover around its all-time-high price of $108,000, the report shows. “We may be entering the dawn of a new era for digital assets, one poised to span multiple years — if not decades,” Hogan said in the report. originally posted at
nym's avatar
nym 1 year ago
Just made it out of #LA. It was crazy to say the least.
nym's avatar
nym 1 year ago
Bitcoin Investor Ordered to Reveal Access Codes to $124 Million An early Bitcoin investor sentenced last month to two years in prison for tax fraud related to cryptocurrency sales has been ordered to disclose his secret pass codes so US officials can unlock digital assets now valued at about $124 million. Frank Richard Ahlgren III, who owes the government about $1 million in restitution from the criminal case, must hand over the pass codes and identify any devices used to store them, along with disclosing all his cryptocurrency accounts, US District Judge Robert Pitman ruled Monday in federal court in Austin, Texas. Prosecutors had asked the judge in December to force Ahlgren to disclose the location of at least 1,287 Bitcoin he moved in 2020 through a “mixing” service that jumbled crypto tokens and made them harder to trace. Those tokens, which have more than doubled in value over the past year, are now worth more than $124 million. Ahlgren, who lives in Austin, was the first American convicted of tax crimes tied solely to the sale of cryptoassets. He’s agreed to pay $1 million in restitution to the US to cover tax losses from underreporting capital gains on the sale of $3.7 million in Bitcoin. Prosecutors said he used some of the proceeds to buy a house in Park City, Utah. In their request, prosecutors said Ahlgren’s property “cannot be attached by ordinary physical means.” The government asked “not only to restrain any virtual currency by order of this court, but to obtain the private keys to enable it access so that it cannot be moved by others. Should the private keys be lost or destroyed, the virtual currency is irretrievable.” The judge’s order said that Ahlgren cannot “dissipate,” transfer or sell any property without prior approval of the court, but he can spend on “normal monthly living expenses.” Ahlgren, who pleaded guilty on Sept. 12, was sentenced on Dec. 12. His attorney, Dennis Kainen, said his client will comply with the order. “We will comply with a court directive, or to the extent that we have a question, we will direct it to the court,” Kainen said. “We appreciate the care that Judge Pitman has taken throughout this case.” The case is US v. Ahlgren, 24-cr-00031, US District Court, Western District of Texas (Austin). originally posted at
nym's avatar
nym 1 year ago
A Fool's Errand? The Case Against Holding Bitcoin in a Corporate Treasury https://download.ssrn.com/2025/1/2/5080327.pdf?response-content-disposition=inline&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEH0aCXVzLWVhc3QtMSJHMEUCIAdFXSYq9CB4GUJkpFlqQudHzYDuqJO25QBVNANygNSIAiEA6zrc9f30IH3TPau6hQsRX3f63cZwc30r%2BsAqLlGJmmYqvgUIZRAEGgwzMDg0NzUzMDEyNTciDMzuQZoSe4xwBdp54SqbBc6k%2F2qWafNCLnJ59NZ6m5bzMLEqtDL8BdTt62XU35%2BFaYpHeo3IeaDDEm6WWzjjIOuNlunsDkMedVRlct69U8yThxGALAwQNzDAllW8S%2FiTN7L61e8dG0UwgZPYC0fud7tE23K0gCNTVjhRweCVydJTi4R83XVstxKe7Eo9Ez0kZq6woIN03r%2BErUWrQPY4sFjz7eROi%2FkMTk9nFPUFn2Ori%2B5yv0qd8Jk0UITsU3h%2B6JPdSTU9jGBq0i%2B2eldNKz8usBHHdC8MKwtI5DmuTkJ1Ee%2BrPdmZk5qUEMGwXkKFuZ3xhHnrSomzdFxYDdN1bamjpy%2FmoH9bWdAnUHg51%2Fuofh0xgmWtVKuSWpttoHodyEbAqIWjQXXzlYzZdfFgP05wK0n%2BR%2Ffx36%2FQzxxF03Wjw1BzMfMiAWdohjzwRgz4xweqG0l1isVs9YHzozHjj04Og4baJBUq5WjxIRe2vHImsmMTSi3ymyq2lDxcdBxUWBFJNl4UepmLqs3AcyHtK3Z4jJKkDMXgdQoLWVK99wNYC7teEE8xGuCtHEowwOfjqWO6fFOeOdemZ8c1Hh5Fug5zfWL%2B3uCWMAYusV2dQFyO%2FPu9%2FggIYr%2FIyljX1YFfd4UHiNpQkdAL%2BfyyBVcBkOgjnAXZ81zTVXLJAGsGV1U%2F4z7pbbxKA1G6045y%2B8CsBE6YM%2F9iB092UsmUoLlH5CvbbrqDxSI2LBJHINrKgOPvWJwtxPVBbXrySeaMo2PJ1m6%2BElThbEib8bqZipxIKKlUagKRLOw8oSefLgvJzhDDg1S%2BtBA4V2dblt83C5cIjHytgLedapUeMIXs5yf2XVo%2BsYTbzemXmL0ZpinavAPgy6pv3M1epcJGQcGM9QdBinQ%2Fotw6KiHfig0wqZP2uwY6sQHPyg6w9a9AdyUTL8Xqn4rmw9VVcgm76PpdujQmIGTIBOgzELJQpJ0CsyZ7CNavLywcML0klYSWbUNmXe8m88GnuQ80wUdcIdEe47ydUw2NdPq9YOIu9ze3u6n2HZdnujSq44TX5%2Bp7LNLyyqsaG6RSa2ZWeqTJjmWyT9a%2FWJvMtUP6VBm4UZ92dvtJK4EV0mq3ug6kOm%2FxXvazX7zkL%2F8zd0KPsGXJx4zTkBiaTkPCK0U%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250107T212521Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Credential=ASIAUPUUPRWETXXQTPX7%2F20250107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=bcda5b5d81d2eb262ef29376e57d0c076993b4a88c8bb333ee48cd51c4204377&abstractId=5080327 Abstract: This paper evaluates the feasibility of using cryptocurrencies, such as Bitcoin, as corporate treasury reserve assets. Through an analysis of price volatility, liquidity constraints, and regulatory uncertainty, the study highlights the significant risks these assets pose. Cryptocurrencies' high volatility and uncertain regulatory landscape are misaligned with the fundamental goals of treasury managementstability, liquidity, and capital preservation. While they may hold potential for speculative investments or strategic ecosystem participation, cryptocurrencies are unsuitable as primary treasury reserves. The findings reaffirm the critical role of traditional instruments, such as Treasury securities, in safeguarding financial stability and supporting corporate operations. VII. Conclusion: This paper demonstrates that incorporating cryptocurrencies into a corporate treasury portfolio introduces significant and unacceptable levels of risk. The extreme volatility of cryptocurrencies, as evidenced by their high Value at Risk (VaR), contradicts the core principles of treasury management, which prioritize stability, liquidity, and risk mitigation. While cryptocurrencies may offer potential benefits as speculative investments or for aligning with specific business strategies, their inclusion in the treasury reserve asset pool is ill-advised. Traditional treasury instruments, such as U.S. Treasury securities, continue to offer adequate risk-adjusted returns and unparalleled liquidity, aligning perfectly with the objectives of capital preservation and operational stability. Corporate treasurers should prioritize these time-tested assets and risk management techniques while carefully evaluating the potential benefits and risks of engaging with cryptocurrencies through alternative strategies, such as blockchain investments or ecosystem participation. originally posted at
nym's avatar
nym 1 year ago
Great summary, thanks.
nym's avatar
nym 1 year ago
</> htmx ~ The future of htmx htmx began life as intercooler.js, a library built around jQuery that added behavior based on HTML attributes. For developers who are not familiar with it, jQuery is a venerable JavaScript library that made writing cross-platform JavaScript a lot easier during a time when browser implementations were very inconsistent, and JavaScript didn’t have many of the convenient APIs and features that it does now. Today many web developers consider jQuery to be “legacy software.” With all due respect to this perspective, jQuery is currently used on 75% of all public websites, a number that dwarfs all other JavaScript tools. We are going to work to ensure that htmx is extremely stable in both API & implementation. This means accepting and documenting the quirks of the current implementation. Someone upgrading htmx (even from 1.x to 2.x) should expect things to continue working as before. here appropriate, we may add better configuration options, but we won’t change defaults. We are going to be increasingly inclined to not accept new proposed features in the library core. People shouldn’t feel pressure to upgrade htmx over time unless there are specific bugs that they want fixed, and they should feel comfortable that the htmx that they write in 2025 will look very similar to htmx they write in 2035 and beyond. We will consider new core features when new browser features become available, for example we are already using the experimental moveBefore() API on supported browsers. However, we expect most new functionality to be explored and delivered via the htmx extensions API, and will work to make the extensions API more capable where appropriate. htmx does not aim to be a total solution for building web applications and services: it generalizes hypermedia controls, and that’s roughly about it. This means that a very important way to improve htmx — and one with lots of work remaining — is by helping improve the tools and techniques that people use in conjunction with htmx. Doing so makes htmx dramatically more useful without any changes to htmx itself. originally posted at
nym's avatar
nym 1 year ago
Federal Reserve Bank of NY "Doomsday Book" 2022 via FOIA https://www.crisesnotes.com/content/files/2023/12/NYFRB-2006.--Doomsday-Book--Searchable.pdf The "Doomsday Book" is a collection of emergency documentation and memo-randa compiled by the Legal Department of the Federal Reserve Bank of New York. It has two purposes in mind. First, it is a ready reference source, containing template documents that must be prepared quickly, and background material that is likely to be particularly relevant to an emergency situation. Second, because all of its documents are on CD-ROMs, it is an operational mitigant against the risk of lost power or connectivity. The Doomsday Book, however, assumes working computers and printers. originally posted at
nym's avatar
nym 1 year ago
End-to-end encrypted, peer-to-peer VPN tunnels for hackers We are a community driven service for the hackers and the truely paranoid that want to establish multiple peer-to-peer and end-to-end encrypted VPN tunnels between their devices to faciliate secure communication between these, no matter where they are located. We only provide the encrypted transport between your devices, you bring everything else yourself. originally posted at
nym's avatar
nym 1 year ago
Why I'm quitting the Washington Post I’ve worked for the Washington Post since 2008 as an editorial cartoonist. I have had editorial feedback and productive conversations—and some differences—about cartoons I have submitted for publication, but in all that time I’ve never had a cartoon killed because of who or what I chose to aim my pen at. Until now. The cartoon that was killed criticizes the billionaire tech and media chief executives who have been doing their best to curry favor with incoming President-elect Trump. There have been multiple articles recently about these men with lucrative government contracts and an interest in eliminating regulations making their way to Mar-a-lago. The group in the cartoon included Mark Zuckerberg/Facebook & Meta founder and CEO, Sam Altman/AI CEO, Patrick Soon-Shiong/LA Times publisher, the Walt Disney Company/ABC News, and Jeff Bezos/Washington Post owner. While it isn’t uncommon for editorial page editors to object to visual metaphors within a cartoon if it strikes that editor as unclear or isn’t correctly conveying the message intended by the cartoonist, such editorial criticism was not the case regarding this cartoon. To be clear, there have been instances where sketches have been rejected or revisions requested, but never because of the point of view inherent in the cartoon’s commentary. That’s a game changer…and dangerous for a free press. Over the years I have watched my overseas colleagues risk their livelihoods and sometimes even their lives to expose injustices and hold their countries’ leaders accountable. As a member of the Advisory board for the Geneva based Freedom Cartoonists Foundation and a former board member of Cartoonists Rights, I believe that editorial cartoonists are vital for civic debate and have an essential role in journalism. There will be people who say, “Hey, you work for a company and that company has the right to expect employees to adhere to what’s good for the company”. That’s true except we’re talking about news organizations that have public obligations and who are obliged to nurture a free press in a democracy. Owners of such press organizations are responsible for safeguarding that free press— and trying to get in the good graces of an autocrat-in-waiting will only result in undermining that free press. As an editorial cartoonist, my job is to hold powerful people and institutions accountable. For the first time, my editor prevented me from doing that critical job. So I have decided to leave the Post. I doubt my decision will cause much of a stir and that it will be dismissed because I’m just a cartoonist. But I will not stop holding truth to power through my cartooning, because as they say, “Democracy dies in darkness”. originally posted at
nym's avatar
nym 1 year ago
Linux Context Switching Internals: Part 1 - Process State and Memory Context switching is necessary for a high-throughput and responsive system where all processes make progress despite limited execution resources. But, as we discussed in the previous article, it also has performance costs which cascade through various indirect mechanisms, such as cache and TLB eviction. When building performance-critical systems or debugging performance issues due to context switching, it becomes important to understand the internal implementation details to be able to reason through the performance issues and possibly mitigate them. Not only that, it leads you to learn many low-level details about the hardware architecture, and makes you realize why the kernel is so special. At first glance, context switching seems straightforward—save the current process's registers, switch page tables and stacks, and restore the new process's registers. However, the reality is much more complex, involving multiple data structures, hardware state management, and memory organization. To fully grasp context switching, we need to understand few key foundational concepts about the Linux kernel and X86-64 architecture. originally posted at
nym's avatar
nym 1 year ago
Let's Encrypt to end OCSP support in 2025 Well, the writing has been on the wall for some years now, arguably over a decade, but the time has finally come where the largest CA in the World is going to drop support for the Online Certificate Status Protocol. originally posted at
nym's avatar
nym 1 year ago
Rules for Writing Software Tutorials Most software tutorials are tragically flawed. Tutorials often forget to mention some key detail, preventing readers from replicating the author’s process. Other times, the author brings in hidden assumptions that don’t match their readers’ expectations. The good news is that it’s easier than you think to write an exceptional software tutorial. You can stand out in a sea of mediocre guides by following a few simple rules. originally posted at