Simon Willison’s Weblog

Subscribe
Atom feed for windows

39 items tagged “windows”

2024

Everything I’ve learned so far about running local LLMs (via) Chris Wellons shares detailed notes on his experience running local LLMs on Windows - though most of these tips apply to other operating systems as well.

This is great, there's a ton of detail here and the root recommendations are very solid: Use llama-server from llama.cpp and try ~8B models first (Chris likes Llama 3.1 8B Instruct at Q4_K_M as a first model), anything over 10B probably won't run well on a CPU so you'll need to consider your available GPU VRAM.

This is neat:

Just for fun, I ported llama.cpp to Windows XP and ran a 360M model on a 2008-era laptop. It was magical to load that old laptop with technology that, at the time it was new, would have been worth billions of dollars.

I need to spend more time with Chris's favourite models, Mistral-Nemo-2407 (12B) and Qwen2.5-14B/72B.

Chris also built illume, a Go CLI tool for interacting with models that looks similar to my own LLM project.

# 10th November 2024, 6:01 pm / windows, generative-ai, go, ai, edge-llms, llms

No More Blue Fridays (via) Brendan Gregg: "In the future, computers will not crash due to bad software updates, even those updates that involve kernel code. In the future, these updates will push eBPF code."

New-to-me things I picked up from this:

  1. eBPF - a technology I had thought was unique to the a Linux kernel - is coming Windows!
  2. A useful mental model to have for eBPF is that it provides a WebAssembly-style sandbox for kernel code.
  3. eBPF doesn't stand for "extended Berkeley Packet Filter" any more - that name greatly understates its capabilities and has been retired. More on that in the eBPF FAQ.
  4. From this Hacker News thread eBPF programs can be analyzed before running despite the halting problem because eBPF only allows verifiably-halting programs to run.

# 22nd July 2024, 6:33 pm / windows, security, linux, webassembly, brendan-gregg

Update on the Recall preview feature for Copilot+ PCs (via) This feels like a very good call to me: in response to widespread criticism Microsoft are making Recall an opt-in feature (during system onboarding), adding encryption to the database and search index beyond just disk encryption and requiring Windows Hello face scanning to access the search feature.

# 7th June 2024, 5:30 pm / trust, windows, security, privacy, ai, microsoft, recall

In fact, Microsoft goes so far as to promise that it cannot see the data collected by Windows Recall, that it can't train any of its AI models on your data, and that it definitely can't sell that data to advertisers. All of this is true, but that doesn't mean people believe Microsoft when it says these things. In fact, many have jumped to the conclusion that even if it's true today, it won't be true in the future.

Zac Bowden

# 7th June 2024, 5:23 pm / windows, trust, ai, microsoft, recall, privacy

Python packaging must be getting better—a datapoint (via) Luke Plant reports on a recent project he developed on Linux using a requirements.txt file and some complex binary dependencies—Qt5 and VTK—and when he tried to run it on Windows... it worked! No modifications required.

I think Python’s packaging system has never been more effective... provided you know how to use it. The learning curve is still too high, which I think accounts for the bulk of complaints about it today.

# 22nd January 2024, 6:06 pm / lukeplant, windows, packaging, python

2020

98.css (via) This is pretty beautiful: a CSS library that meticulously styles HTML form elements to look like the Windows 98 interface.

# 22nd April 2020, 4:22 am / css, windows

2013

What is the difference between Windows and Linux for web hosting, in other words, what are the pros and cons of each, each’s limitations, performance development environment and deployment between Windows and Linux?

Any and every operation you perform on a Linux server can be trivially automated by copying the commands you ran in to a text file. I haven’t managed a Windows server in years and I hear PowerShell is pretty great these days but an OS based around a GUI is always going to be harder to automate than one based around a command line.

[... 156 words]

2012

Is Microsoft’s platform prohibitively expensive for large scale web deployment? Would licensing costs have killed Twitter/Facebook early?

I would argue that the cost of the Microsoft stack is a lot more than just the license fees.

[... 546 words]

2010

Symbian Operating System, Now Open Source and Free. With Symbian now open source, are there any widely used operating systems left (besides Windows) that don’t have an open source core?

# 4th February 2010, 8:38 am / open-source, operatingsystems, windows, symbian

2009

Imminent Death of the Net Predicted. Well, maybe not, but the way Windows Vista deals with round-robin DNS A records (using a new IPv6 algorithm from RFC3484 backported to IPv4) means that domains that serve up multiple A records to load balance between data centres will find that the IP nearest to the 192.168.* range will get the vast majority of Vista traffic.

# 5th March 2009, 9:50 am / vista, dns, windows, microsoft, networking

Load Windows ICO files. Apparently PIL has trouble with the most recent versions of the windows .ico format (Vista now embeds PNG images in them)—this clever function deals with the differences and gives back a PIL Image object.

# 17th January 2009, 9:48 pm / pil, python, vista, windows, ico, images, png

2008

[In Mali...] The outcome of this rampant illegal software copying is that Windows is seen as "the first world standard" and any attempt to push a cheaper alternative is strongly resisted. They consider it trying to cheat local people out of getting the same quality of software that is used in the developed world, even though it's a legal way of getting quality software for free.

Jeremy Allison

# 9th December 2008, 8:03 am / mali, africa, linux, open-source, windows, piracy, jeremy-allison

Trying out Windows on EC2. Phillip Pearson provides the missing documentation.

# 24th October 2008, 9:57 am / windows, ec2, phillip-pearson, amazonaws, cloud-computing

Windows Server and SQL Server on EC2 (via) Launched today, the pricing includes rental of the Windows license. Regular Windows is 25% to 50% more expensive than Linux, but SQL Server comes in at a hefty $1.10 per hour, which is $9636 per year (nearly three times as much as a Linux server running an open source database).

# 23rd October 2008, 3:54 pm / open-source, cloud-computing, ec2, pricing, sqlserver, windows

Coming Soon: Amazon EC2 With Windows. It’s not instantly clear if you need to source your own Windows licenses or if the license comes as part of the hourly VM charge. If it’s the latter, I can see this being fantastically useful for both automated and manual cross-browser testing—throw up a Windows VM for just as long as you need to run your tests, running them through rdesktop.

# 1st October 2008, 9:16 am / amazon, ec2, browsertesting, rdesktop, windows

Unfortunately, we're not cool enough to run on your OS yet. We really wish we had a version of Photosynth that worked cross platform, but for now it only runs on Windows.

Install Photosynth page

# 21st August 2008, 10:07 am / copywriting, microsoft, photosynth, windows

Velocity: A Distributed In-Memory Cache from Microsoft. I’d been wondering what Microsoft ecosystem developers were using in the absence of memcached. Is Velocity the first Windows platform implementation of this idea?

# 6th June 2008, 9:52 pm / velocity, windows, microsoft, memcached, caching, dare-obasanjo

The strain due to the fact that most business desktops are locked into the Microsoft platform, at a time when both the Apple and GNU/Linux alternatives are qualitatively safer, better, and cheaper to operate, will start to become impossible to ignore.

Tim Bray

# 3rd January 2008, 1:08 pm / tim-bray, predictions, microsoft, windows, linux, apple, osx

2007

Silly MS-DOS 5 Promo Video. I can’t decide if this is better or worse than the Windows 386 rap.

# 13th September 2007, 10:10 am / microsoft, funny, msdos, windows, youtube

I've been using Vista on my home laptop since it shipped, and can say with some conviction that nobody should be using it as their primary operating system - it simply has no redeeming merits to overcome the compatibility headaches it causes.

Joel Spolsky

# 20th August 2007, 3:58 pm / joel-spolsky, windows, vista, microsoft

Skype: What happened on August 16. Windows Update caused a massive global reboot, which destabilised Skype’s peer to peer network due to the flood of log-in requests.

# 20th August 2007, 2:11 pm / skype, peertopeer, windows

Windows Live ID Web Authentication Released! Passport lives again! Who’s going to be first to build an idproxy.net for it?

# 17th August 2007, 10:20 am / passport, openid, microsoft, idproxy, windows, windowsliveid

Instant Django. Portable Django environment for Windows, no installation required. Can also be run from a USB thumb drive.

# 24th July 2007, 6:49 pm / instantdjango, django, usb, windows, python

Safari for Windows, 0day exploit in 2 hours (via) Once again, down to handling of alternative URL protocol schemes.

# 12th June 2007, 1:30 pm / 0day, security, windows, safari, apple

Enabling the debug menu on Safari for Windows. “Turn off site-specific hacks” is one of the menu options.

# 12th June 2007, 1:18 pm / safari3, safari, apple, windows, browsers

Safari 3 Public Beta. Safari for Windows. Unfortunately this kills the best excuse corporate Web developers had for getting Macs (“we need to run all our supported browsers on one machine”).

# 11th June 2007, 11:06 pm / safari, windows, apple

Deploying a Django app on the desktop. Silver Stripe used cx_freeze to package their commercial agile project management Django application as an easy to run Windows executable.

# 1st June 2007, 9:45 pm / desktop, django, silverstripe, windows

Just because Java was once aimed at a set-top box OS that didn't support multiple address spaces, and just because process creation in Windows used to be slow as a dog, doesn't mean that multiple processes (with judicious use of IPC) aren't a much better approach to writing apps for multi-CPU boxes than threads.

Guido van Rossum

# 8th May 2007, 9:21 pm / guido-van-rossum, threads, python, ipc, java, windows

Migrating Microsoft Hotmail from FreeBSD to Microsoft Windows 2000. I’d like to see them try that with Yahoo!’s 100+ properties.

# 4th May 2007, 5:54 pm / yahoo, microsoft, freebsd, hotmail, windows, open-source

The problem is a lack of respect for the consumer. The manufacturers don't act as if the computer belongs to you. They act as if it is a billboard for restricted trial versions of software and ads for Web sites and services that they can sell to third-party companies who want you to buy these products.

Walt Mossberg

# 6th April 2007, 10:46 pm / waltmossberg, windows