News for hackers. Stuff that matters.

tn1

Ruby's un/pack is of course heavily inspired by Perl's: https://perldoc.perl.org/functions/pack

However, slicing strings is a little easier syntax-wise than in Perl.

Re:Fooling around with encrypted reasoning blobs on Tuesday June 02, 2026 @03:48AM (#48367234)
And don't forget the venerable .NET Forms with its kilobytes of __VIEWSTATE
Re:Mounting Git commits as folders with NFS on Thursday May 21, 2026 @04:58PM (#48228808)
A couple other people mentioned ClearCase which has something similar if you use their NFS based thing, you could see file or directory history and info by accessing something like `foo.c@@/versions/5` (which isn't ordinarily visible when listing its directory). Pretty nifty.

Your workspaces were also copy-on-write from the base file revisions you were using.

Re:Chess in SQL on Wednesday April 01, 2026 @03:24AM (#47597917)
DuckDB and Microsoft Access (!) have a PIVOT keyword (possibly others too). The latter is of course limited but the former is pretty robust - I've been able to use it for all I've needed.
Re:Everything as Code: How We Manage Our Company in One Monorepo on Wednesday December 31, 2025 @06:05AM (#46443170)
While not talked about on HN as much, the big corps doing monorepo use something like Perforce which has "protects" tables allowing very granular access control
Re:FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service on Wednesday December 31, 2025 @05:31AM (#46442996)
WHMCS is probably the easiest batteries-included tool for the job, giving billing, management, and a customer support portal. These could be unbundled or reinvented but for your average hosting company there's no point in doing so.
Re:Windhawk Windows classic theme mod for Windows 11 on Saturday November 15, 2025 @09:13PM (#45942175)
It's C++ programs in a Userscript format, which are compiled with a bundled instance of clang. Windhawk shows diffs of version changes, and most programs aren't much longer than a couple dozen lines, so pretty easy to visually verify
It happens to me on many sites too, I'm not sure what causes it. Seems to mostly happen in Firefox iOS
Schwab supports Symantec VIP but there's a python package to emulate it, which will give you a regular TOTP setup code.
And it's not even all of the government, plenty of counties and even their departments have random domains leaving you wondering if it's just an elaborate phishing attempt
Re:LINQPad 8 for macOS on Thursday December 19, 2024 @02:57AM (#42459399)
I love LINQPad and happily pay for the license.

My hope is that once he figures out the CLR host for Mac that he'll also come out with a Linux version of LPRun, since I want to automate some of my scripts on a cheap Linux VPS instead of a local windows scheduled task on my PC

Re:Dear sir, you have built a compiler (2022) on Friday November 22, 2024 @10:39PM (#42219040)
Many older .NET applications saved programmers from this by providing "C# scripts". The framework includes the compiler and then it's trivial to use the compiled artifact. You can still do it by including the Roslyn libraries. I don't see it as much anymore, or it's some half-baked Python or Lua interface.
Re:Apple Acquires Pixelmator on Tuesday November 05, 2024 @02:02AM (#42049237)
Shortcuts is pretty hard to use but it is possible to POST. Here's one of my shortcuts https://www.icloud.com/shortcuts/81229c80b3ec4c32bec866e2b8f...
Re:Apple Acquires Pixelmator on Saturday November 02, 2024 @08:37PM (#42030339)
As a fellow 2012 Denon owner (AVR 3313) you can probably remove the RPi and just use HTTP. Just use devtools on your browser to do an action in the web UI and see what request it sends, then replicate it in shortcuts.

And there's a internet radio capability built in - you have to pay $20 or so a year for it but it should be easy enough to set up a competing service since it uses unencrypted HTTP - probably just a matter of reimplementing the protocol and then DNS redirect.

Re:ESP8266 Analog Broadcast Television Interface on Friday October 04, 2024 @10:53PM (#41747385)
I guess you could say this is the modern version of the TV Typewriter: https://www.tinaja.com/ebooks/tvtcb.pdf
I think the archaeology was part of the problem. Through its last days there was a lot of, well, garbage that absolutely nobody would be interested in. Like iPhone 3GS cases c.a. 2018 - who's gonna buy that?
It's still possible, even into places like WordPad. When it's rendered (i.e., when you're not currently editing the embedded item) it becomes a bitmap (at a usually not great resolution). So text in your spreadsheet isn't selectable
Re:Nvidia turns up the AI heat with 1,200W Blackwell GPUs on Thursday March 21, 2024 @03:18AM (#39775632)
In the keynote speech Jensen joked about selling a jacuzzi add-on
Re:Webidx, a client-side search engine for static websites on Wednesday January 24, 2024 @05:27AM (#39115746)
If your data is small and your needs simple, don't forget about the old school scripts like http://www.javascriptkit.com/script/script2/jse/index.shtml
Re:Djgpp on Thursday January 18, 2024 @01:57AM (#39038818)
The title should be all caps. From this page [1]:

> Note: DJGPP is spelled all upper case when it would normally be capitalized, and all lower case otherwise. It is never correct to spell it ``Djgpp''.

[1] https://www.delorie.com/djgpp/history.html

Re:"Smartifying" my Hi-Fi system on Sunday December 03, 2023 @03:05AM (#38505638)
I'm not sure what hifi system OP has, but another way to do this is by emulating the iPod remote mode over USB. It saves a bunch of trouble with emulating files. Denon/Marantz products have supported (and i believe still do) for a very long time
Re:History of Tcl on Saturday October 21, 2023 @10:16PM (#37972264)
Not really. Most of the tcl that gets written is very straightforward and business-logic. The framework you're using is pretty much just the host tool. Trying to integrate other libraries is often difficult if the tcl runtime is missing some features (looking at you, xilinx...)
Re:Foreach Derp with Csh on Friday August 25, 2023 @03:56AM (#37259231)
You'd be surprised. I've worked at 2 large hardware companies you've definitely heard of and both use tcsh. I guess it's a holdover from the early-mid 90s when the shell story was very different from today, especially across unixes (we had some SunOS and AIX) and from what I understand csh was the most portable or consistent.

Old habits die hard

There's tools like Wondershare transfer. It's not free but does a surprisingly good job of converting between android and iOS. Somehow they figured out the secret sauce of Apple's backups and charge only $40 or so for the privilege (no affiliation btw). For me, it was worth it
Re:RWKV.F90: Large Language Model in Fortran on Wednesday July 19, 2023 @04:45AM (#36783595)
> I want to make sure that using your GPU is as easy as pie

For Nvidia they made the PGI compilers free with the HPC SDK: https://developer.nvidia.com/hpc-sdk

I think we'll see more of this in the future. Just like companies are doing RTO as a sort of soft layoff, this will be another way to magically find reasons to get rid of someone
Try to use it as a daily driver. If you encounter a situation where there's a bug/weirdness/missing feature, you can always temporarily launch bash or whatever to do the one thing you need to do, then exit that (sub)shell and continue with the first one
Things like phpBB, MyBB, or even commercial ones like XenForo are extremely customizable and integrate well with almost any auth system
Re:A Tutorial on Portable Makefiles (2017) on Monday August 01, 2022 @04:59AM (#32303563)
My personal favorite: https://makepp.sourceforge.net

It's make, but works in the way you expect. Plus, with some extensions you can add custom functions to really make your life easier. We use it at $dayjob; at first I didn't like it, but eventually I learned to stop worrying and love it.

Re:Logitech MX Products are incompatible with AirPods on Thursday June 30, 2022 @08:44PM (#31940690)
As others have said it's very common. You can even filter phones on GSMArena by it, looks like there's 6000+ in their database, including recent releases: https://m.gsmarena.com/results.php3?chkFMradio=selected

Older »