News for hackers. Stuff that matters.

mambodog

my workaround for this was to make a wrapper mcp server which uses claude haiku to summarize the page snapshot returned in the response of each playwright mcp call, and that has worked pretty well for me: https://github.com/jsdf/playwright-slim-mcp
Re:Moving on from 18F on Tuesday February 18, 2025 @02:54PM (#43094224)
he doesn’t want experts, he wants people who will be subservient to him. expertise would get in the way of that, because experts would likely understand that he has no idea what he’s talking about, and not respect his dictates. see: everyone who knew how things worked at twitter.
Re:TikTok preparing for U.S. shut-off on Sunday on Wednesday January 15, 2025 @06:17PM (#42718600)
'authenticity' in the sense of content made by normal people without any strong goals other than 'some other people might like that' (and for some, maybe eventually getting some income from monetization) rather than highly produced content with the goal of reaching the largest possible audience and extracting the largest possible amount of money from that, which is what reels feels like. if you want to see that type of 'more authentic' content, tiktok's approach to populating your feed will be much more responsive to that than instagram's. there also seem to be a lot more people creating content on tiktok aimed at that level.
Re:DOOM CAPTCHA on Wednesday January 01, 2025 @06:05PM (#42570046)
just to be that guy

          Module.onEnemyKilled();Module.onEnemyKilled();Module.onEnemyKilled()
probably should run part of the game on the server if you want to prevent bypassing the captcha easily
Re:SunVox: Powerful Modular Synthesizer and DAW on Saturday September 28, 2024 @03:19PM (#41682395)
modular synthesis isn't named 'modular' in reference to 'modulation', it's in reference to synth 'modules', which are units of functionality from which you can build a synthesizer. for example with an oscillator module, a couple of envelope modules, a gain module and a filter module you can build a typical monophonic subtractive synthesizer.
the ‘search box’ is not good at finding stations so i can check when the next train is coming. i typed in ‘34th st’ and it returned a bunch of addresses, none of which are in manhattan. this is probably because you require me to type ‘34 st’ exactly (no ‘th’) instead. if you can’t fuzzy match this, this search box is just unusable.

i also tried looking at ‘nearby stations’ and while standing on the 34th st A platform it didn’t list the 34th st subway station at all, just a bunch of bus stops.

please let me just look at a station list instead.

Re:Ray Tracing in Notepad.exe at 30 FPS on Tuesday October 11, 2022 @12:30AM (#33159550)
well as long as we're posting them: https://github.com/jsdf/applescript-raytracer
I did the browser port of BasiliskII which this wraps (https://jamesfriend.com.au/projects/basiliskii) as well as the port of PCE (another Macintosh emulator) used on archive.org.

I see a lot of people asking why someone would distribute an Electron-wrapped version of a program you could run natively, and I see it as an extension of the the same reason why I ported these emulators to the browser in the first place: accessibility. While you can install BasiliskII natively, it's a bit of a pain, especially if you are not super technical. If you find a binary floating around online it may not work for your OS version. Wrapping it in Electron is one way to ameliorate the OS compatibility issue; Chromium has been battle-tested across many OS versions. Ideally BasiliskII would have a better OS compatibility story (as well as being more portably distributable with data files) but, like many open source projects, it doesn't have a lot of maintainer-time to make this happen.

Re:68k.news: A Netscape 1.1 makeover of Google News on Monday March 29, 2021 @01:41PM (#26625440)
You can experience this on an (emulated) 68k Mac in your browser using Oldweb.Today: https://oldweb.today/?browser=ns3-mac#http://68k.news/
Re:Zero-Bundle-Size React Server Components on Monday December 21, 2020 @03:08PM (#25498948)
If you're using SSR (or static generation) for the initial pageload, you can continue to do so. The payloads can just be used to update the page when the user performs subsequent interactions.

Additionally, you can always fall back to clickable links if you really want to support subsequent interactions for users with no JS, if you've built the routing infrastructure for that

Re:The JavaScript Self-Profiling API on Tuesday November 10, 2020 @03:29PM (#25051458)
can you describe the threat vector here? how exactly could it be used to do that? keeping in mind the cross origin limitations mentioned in the spec, and that the timing resolution is no different to JS timestamp methods already available to code run in this context
Re:The Psychedelic Inspiration for Hypercard (2018) on Saturday August 08, 2020 @01:27PM (#24093399)
If you want to try out the HyperCard application for yourself (for example, to see its editing tools) you can do so in the browser here:

https://jamesfriend.com.au/projects/tryhypercard/

For Mac users, you can also easily run it on your local machine: https://jamesfriend.com.au/running-hypercard-stack-2014

Also, if you're taken by the HyperCard aesthetic, you be interested in this interactive artwork created in HyperCard (which I contributed technical assistance to): https://www.upprojects.com/projects/commissions/formality/

if electron is not to your taste, you can run the emulator in your browser here: https://jamesfriend.com.au/projects/basiliskii/

coincidently today firefox 79 was released, which brings back support for SharedArrayBuffer, which is a key part of the browser port of this emulator

Re:Rose-8 on Mac OS 9 on Monday May 25, 2020 @02:21PM (#23303419)
The author mentions that they didn't have a debugger and couldn't get MacsBug to work inside the emulator. A useful technique here is to use the emulator itself as the debugger: most emulators have features for setting breakpoints and single stepping through emulation and directly reading memory values from the emulated system's memory (by absolute memory address). For example, here is the documentation for 'hardware'-level debugging in the PCE emulator: https://github.com/jsdf/pce/blob/pcejs/doc/monitor.txt

One 'nice' thing about working with old architectures like classic Macintosh is that there is basically no abstraction between the software and the hardware, so manipulating the behavior of the emulated hardware becomes a powerful debugging tool.

You might be interested in this GDC talk about the PS4 Spiderman game, which dives into the performance optimizations they used, which are in a similar spirit (though at a higher level of abstraction): https://www.youtube.com/watch?v=KDhKyIZd3O8
Your link seems to be broken, here's a working version: http://web.archive.org/web/20040313034855/http://www.gamasut...
Interestingly the N64's RSP has some instructions specifically intended for implementing MPEG decoding (ctrl+f for "MPEG"in http://ultra64.ca/files/documentation/silicon-graphics/SGI_N...)
Re:Little Snitch and the deprecation of kernel extensions on Tuesday March 24, 2020 @05:11PM (#22679044)
You're right, Scottish English does seem like a foreign language sometimes...

https://en.wikipedia.org/wiki/FTDI

Re:Building all of our new mobile apps using React Native on Wednesday January 29, 2020 @11:46AM (#22182589)
it's almost like different companies make different tradeoffs based on different organisational needs and priorities
Re:Trends in the San Francisco (mostly dog?) poop crisis on Saturday November 23, 2019 @12:16AM (#21612613)
San Francisco needs more public restrooms. I think any map of SF's poop should also show how few city-provided restrooms there are, so I made one: https://sf-restrooms-and-poop.glitch.me/

Compare with Australia's National Public Toilet Map: https://toiletmap.gov.au/Find/20547

Re:Making Instagram.com faster: Part 3 – cache first on Friday October 11, 2019 @02:36PM (#21227105)
This article is about the instagram.com website, not the mobile app. Are you talking about the website or the mobile app?
It's actually the PCE emulator, not vMac: https://github.com/jsdf/pce
I was surprised to see all the people on this site (who should know better) trying to evaluate someone based on lines of code.

Also, it seems like this article is falling surprisingly fast down the front page. dang can you confirm whether this is getting aggressively flagged?

Older »