News for hackers. Stuff that matters.

profquail

Re:Meta’s Renewed Commitment to jemalloc on Monday March 16, 2026 @10:14PM (#47407769)
SIG is hiring for some roles in Sydney: https://careers.sig.com/global-experienced
Re:The almost lost art of rosin potatoes on Saturday November 02, 2024 @11:56AM (#42027136)
Pennsylvania has oil and was formerly a British colony: https://en.wikipedia.org/wiki/Pennsylvania_oil_rush
Another option is to build your own. You could buy a small ARM board like a NanoPi R6S (<$100) with 2.5GbE ports and run pfSense on it.
Are you using Windows’ built-in Powershell? If so, are you allowed to install the newer Powershell Core (based on .NET Core)? The latter has a lot of fixes and improvements compared to the built-in Powershell.
WinFsp (FUSE for Windows) has an NFS driver: https://github.com/winfsp/nfs-win
Re:Computing Adler32 Checksums at 41 GB/s on Sunday August 07, 2022 @09:53PM (#32381726)
zlib-ng also has adler32 implementations optimized for various architectures: https://github.com/zlib-ng/zlib-ng

Might be interesting to benchmark their implementation too to see how it compares.

The complicated number encoding scheme you mentioned is a hexfloat: C has them too.

Hexfloat can be really useful when you need precise/exact floating-point constants for numerical methods. Without them, you end up having to do more-complicated hacks to preserve exact constant values when code gets compiled, or you have to live with compilers (sometimes) subtly altering constants.

I wish more languages supported hexfloats.

Re:Open DNS resolvers, from bad to worse on Friday May 13, 2022 @07:22PM (#31373580)
Your idea for the secret to prevent spoofing is interesting and reminiscent of the verification secret in the SCTP packet header: https://en.m.wikipedia.org/wiki/SCTP_packet_structure
Re:Vectorization in OLAP Databases on Wednesday April 27, 2022 @11:03AM (#31180770)
I think it’s more like Gandiva or DataFusion (both from the Apache Arrow project).
M-DISC: https://en.m.wikipedia.org/wiki/M-DISC

They’re special DVD and Blu-ray discs designed for long-term storage. DVD and Blu-ray are so widely used, it seems likely you’d be able to find some equipment in 30 years that could still read them.

Re:DIY Split Flap Display on Friday February 25, 2022 @11:34PM (#30475231)
There’s also a company here in Philadelphia that makes custom split-flap displays: https://www.oatfoundry.com/
Re:Failing to reach DDR4 bandwidth on Wednesday February 02, 2022 @09:50PM (#30187893)
If you want to do set thread-core affinity in a cross-platform way, hwloc is a good approach: https://www.open-mpi.org/projects/hwloc/doc/v2.7.0/a00166.ph...
Re:Improving GitHub Code Search on Wednesday December 08, 2021 @01:21PM (#29488356)
Hoogle is pretty neat — you can search by type signature and it’ll find matching APIs from hackage packages: https://hoogle.haskell.org/

Source: https://github.com/ndmitchell/hoogle

Re:A viable solution for Python concurrency on Saturday October 16, 2021 @09:48AM (#28887854)
Now could be a good time to make this change, in coordination with HPy: https://github.com/hpyproject/hpy

I agree though — it’s tempting to keep extending and stretching the language to be something it was never designed for; but at some point it’s been stretched so far it loses the properties that made it attractive to start with. I like Python, but some of the things people are using it for now, they should really consider another language instead, and write a Python wrapper on top of that if they must use it from Python.

Re:Opal Camera on Wednesday September 08, 2021 @06:30PM (#28463849)
The Opal webcam ($300) looks fairly similar in specification to the new(ish) Dell UltraSharp webcam ($200): https://www.dell.com/en-us/shop/dell-ultrasharp-webcam/apd/3...

What is Opal offering over the Dell webcam for the extra $100?

Re:C# for Systems Programming on Wednesday September 01, 2021 @08:41AM (#28379104)
Lisp machines had hardware/OS-based garbage collection ~40 years ago: https://en.m.wikipedia.org/wiki/Lisp_machine
Re:Open-sourcing a more precise time appliance on Thursday August 12, 2021 @10:44PM (#28164776)
This was standardized as the L1 Sync feature of IEEE1588:2019, as described here: https://blog.meinbergglobal.com/2020/09/17/whats-new-in-ieee...
Kats looks like a useful library, but I’m a bit surprised to see they’re not enabling parallel execution for the numba kernels. Surely FB must have time-series data large-enough they’d see some performance benefits from parallelism in these functions?
Re:Preparing Rustls for Wider Adoption on Tuesday April 20, 2021 @11:46PM (#26885216)
The original code was written in F#, then re-written later in F7 then F* (FStar).
Re:Preparing Rustls for Wider Adoption on Tuesday April 20, 2021 @07:42PM (#26883470)
MiTLS is written in FStar, not F#. FStar has some tools (like Kremlin [1]) for extracting C code from the verified FStar, so in theory it wouldn’t be too hard to also extract Rust code too.

[1] https://github.com/FStarLang/kremlin

Maybe more like: next time there’s a downturn, keep the orders if they can afford to. Having the chips on hand when the market picks up again could be a great investment, since they’ll be able to produce vehicles when their competitors can’t. Or they can sell some of the chips they’re holding to their competitors (at the going market rate).
Re:OpenSSL will release a high-severity issue fix on 25th on Monday March 22, 2021 @08:55PM (#26549598)
Sure, it’s important for a library to have C source code for portability. That doesn’t exclude implementing the code in another language (such as F*/FStar or Dafny) that has stronger out-of-the-box safety guarantees, then compiling it to portable C source code for distribution.
Re:Phrack Magazine on Wednesday March 17, 2021 @03:29PM (#26495790)
The 2600 Magazine community is still alive and well:

https://www.2600.com/

Re:Best practices for REST API design (2020) on Monday February 22, 2021 @12:34PM (#26227368)
You can also use SQL:2011 "System-Version Tables" (a.k.a. temporal databases) supported in most of the major RDBMSs now. You'd just need to keep track of a timestamp when you started querying/paginating and include it as part of the SQL query, which'll give clients a consistent view even if the database is being concurrently modified.
Re:Dual-port 100GbE PCI-E 4.0 network cards are now under $1300 on Tuesday February 02, 2021 @08:06PM (#26009374)
You could use something based on DPDK, like pktgen-dpdk: https://git.dpdk.org/apps/pktgen-dpdk/
oneAPI uses DPC++ (Data-Parallel C++), which is pretty much just SYCL, which itself is a C++ library on top of OpenCL.

From my understanding, the Khronos group realized OpenCL 2.x was much too complicated so vendors just weren’t implementing it, or only implementing parts of it, so they came up with OpenCL 3.0 which is slimmed-down and much more modular. It’s hard to say how much adoption it’ll get, but with Intel focused on DPC++ and oneAPI now, there will definitely be more numerical software coming out in the next few years that compiles down to and runs on OpenCL.

For example, Intel engineers are building a numpy clone on top of DPC++, so unlike regular numpy it’ll take advantage of multiple CPU cores: https://github.com/IntelPython/dpnp

Older »