2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions
comment 1y ago · link · parent
It does solve some real problems that I'd love to have available in a library. The discussion on the previous article links to some libraries, but my recollection is that the calculator code is more accessible to an innumerate person like myself.
Edit: the previous article under discussion doesn't seem to be available, but it's on archive.org[2].
[1] https://news.ycombinator.com/item?id=24700705
[2] https://web.archive.org/web/20250126130328/https://blog.acol...
comment 1y ago · link · parent
I appreciate the shout outs to some packages and libraries to play with, although I still often find it a pain to incorporate other libraries into my projects. (Single-file headers, anyone?) I'm intrigued by FTXUI.
And boy, howdy, he's right: cppreference.com is amazing. Python's documentation is pretty good, but I've never seen anything as good as cppreference.com.
comment 2y ago · link · parent
> Researchers at eEye used a standard process of code auditing in discovering the vulnerabilities, [eEye CEO Ross] Brown added. He noted that Microsoft either did not do a 'good job' with its code auditing, or it may not have had enough people working on such a task.
I don't really get this culture of racing to find a bug in another company's product, then strutting about finding one (in Microsoft Publisher of all things) and throwing shade. I guess we should all be so lucky to have a company whose "standard process" is to pull a week of all nighters testing our product.
[1] https://www.cnet.com/news/privacy/flaw-found-in-office-2007/
comment 2y ago · link · parent
Regarding this potassium paper, it's interesting that it primarily concerns itself with sodium and potassium intake. I don't know that any reasonable change to my intake could have overcome the effects of aldosterone overproduction, but wouldn't the recommended changes to your diet depend on measuring your current balance?
comment 2y ago · link · parent
There was a really bad performance regression in Linux a couple of years ago that killed performance with large memory regions like this (can't find a useful link at the moment), and the short-term mitigation was to increase the huge page size from 2MB to 1GB.
[1] https://blogs.oracle.com/exadata/post/huge-pages-in-the-cont...
[2] https://www.postgresql.org/docs/current/kernel-resources.htm...
[3] https://dev.mysql.com/doc/refman/8.4/en/large-page-support.h...
[4] https://www.percona.com/blog/benchmark-postgresql-with-linux...
comment 2y ago · link · parent
For the person who was having trouble getting this to work on an M1 Mac (flagged, really?), try this (after installing Java 8 and Maven using Homebrew):
% git clone https://github.com/dougdonohoe/ddpoker.git
...
% cd ddpoker
% export OSNAME=darwin
% source ddpoker.rc
JAVA_HOME changed, version now openjdk version "1.8.0_422"
% mvn-package-no-tests
...
% poker
I built this before figuring out the OSNAME thing, so I can't actually vouch for the build step working out of the box.Anyway, thank you very much, Doug. This looks really cool.
comment 2y ago · link · parent
I occasionally acquire half-decent hardware for stress testing. If I add a pair of Dell servers to the lab (or, heaven help me, anything from IBM), I don't feel like I'm hoarding. What I do feel, after spending $50-500K of someone else's money, is a responsibility to get their money's worth out of it.
I can understand, then, Tesla shareholder frustration with 12,000 of these being diverted to a different neighborhood in Muskville. Talk about other people's money.
comment 2y ago · link · parent
It took me a few tries to get this to run. I tried passing -model_path, but it complained that it couldn't find config.json. I then made a config.json in the pwd (which contained the executable), but it couldn't expand "~". I then tried searching *.txt, but it couldn't find anything unless I specified just one file.
In terms of offering an experience similar to grep, it's a lot slower. It's not quite as slow with the SLIM file, but I wonder if there's some low-hanging fruit for optimization. Perhaps caching similarity for input tokens?
comment 2y ago · link · parent
One thing I've been experimenting with lately is sorting vs. showing. If I'm pulling data from Jira, and an issue is blocked, do I need a separate boolean column to sort or filter, or is it enough to style another column (say, age)? In a table with a hundred or more rows, will an orange, red, or bold red value in a single cell stand out enough for me to recognize something I need to address now?
Looking at the table view of this experiment, the things I like are:
* live updating
* stable sorting for multiple columns
* row highlight on hover
* dimming the trailing zeros
* colors aren't overdone; basically just three pairs of colors
* graph in the 24H Low/High column, kind of like a sparkline
The things that don't land as well with me:
* horizontal scroll bar is almost invisible
* the wide vertical scroll bar with the graph
* how does 24H Low/High actually sort?
* no filtering (although it may not be essential for this data source)
The other thing I notice, comparing this to some of my own reports, is that there isn't much variance in the width of the values. It's harder to manage column widths with text than a bunch of numbers.
comment 2y ago · link · parent
comment 2y ago · link · parent
I then did an experiment with the Azure Stack Development Kit. It was limited to a weird ghetto of outdated VM images, and had to be rebooted every few weeks. I did not proceed with Stack Hub.
If GCP wasn't a distant third place, I might give this thing a try, but it's probably really expensive just for testing.
The long term solution is going to be chipping away at our policies, but I was disappointed that I couldn't find a usable on-prem cloud solution.
comment 2y ago · link · parent
StorageReview's server is a different beast, but it's kind of amazing that it gets similar capacity in only 2U.
comment 2y ago · link · parent
It's been several years since my last cycle (my longest break yet), but it's heartening to know that research continues, leading to more treatment options.
comment 2y ago · link · parent
$ echo abcdef |tr abc ghi
ghidef
For an eight-bit character set, I found that building an array to map every character improved on linear search, even for short replacement strings and relatively short input strings.There isn't as easy a win for Unicode, so I played with some simple hash tables. Although the conventional wisdom is to use the high-order bits of a hash function's output, FNV-1a is not so good for short inputs of one or two bytes. (I used the 32-bit variant.) It was better just to use the low-order bits.
comment 2y ago · link · parent
> a recently growing pattern involves newbie security enthusiasts and bug bounty hunters ostensibly "collecting" CVEs to enrich their resume
Naturally, such a reporter would value higher severity reports.
I haven't really thought that much about the CVE process. It's kind of strange to me that Github, Snyk, and the NVD may all have different evaluations of a report. I guess decentralization is a feature, but one not without bugs.
comment 2y ago · link · parent
comment 2y ago · link · parent
Then again, the idea of a testing framework that is so tightly coupled that it breaks every version is foreign to me, so I probably don't know what I'm talking about.
comment 2y ago · link · parent
https://intersystems-community.github.io/iris-driver-distrib...
Example connection strings:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook...
Instructions for starting a container:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook...
comment 2y ago · link · parent
I don't know how to translate that Pulse FAQ to qStudio. FWIW, I'm using Java 11 on macOS 14. I have a single qstudio.jar file.
comment 2y ago · link · parent
This thing isn't going to be cheap, so you'd probably want a more frequent transfer to justify it. Maybe sneaker net database journals or backups every week?
comment 2y ago · link · parent
As for Linus's complaint that compilers aren't perfect, I've seen many bugs over the years with this style of code. A missing memory barrier doesn't exactly stand out. Maybe Linux has a better track record, but I would love to push as much of this as possible into the hands of a "pre-reliable" compiler, where a bug can be fixed once.
It seems like they're taking a reasonable and measured approach to start with a small surface area, which bodes well for the future of Rust in Linux.
comment 2y ago · link · parent
> OWASP collected resumes as part of the early membership process, whereby members were required in the 2006 to 2014 era to show a connection to the OWASP community. OWASP no longer collects resumes as part of the membership process.
Why did OWASP retain this information ten years after they stopped the practice?
comment 2y ago · link · parent
comment 2y ago · link · parent
As someone testing concurrent/distributed software, Antithesis is potentially useful to me. It would be a substantial investment to build test infrastructure around it, with a very big opportunity cost if it wasn't successful, or disappeared after an acquisition. If this exotic technology is more than a toy, I wouldn't be so cavalier about its long term prospects.