HNHacker News
TopNewBestAskShowJobs

SloopJon

2,602 karma · joined November 15, 2013

submissionscomments
SloopJon··on Won’t Subscribe
It's not the point of the article, but where did he find the Wall Street Journal for $120 / year? I'm seeing an introductory rate of $20 / month for a year, and $40 / month thereafter.
SloopJon··on W64devkit – Portable C and C++ Development Kit for x64 Windows
Whereas some of the previous packages were freely available, the build tools now require a Visual C++ license, as I understand it. If you aren't eligible for Visual C++ Community, and you don't have Visual C++ Professional (or equivalent), you can't use them.
SloopJon··on W64devkit – Portable C and C++ Development Kit for x64 Windows
There are two interesting aspects to this. The first, which I initially thought was the point, is cross compiling programs for Windows using Mingw-w64 (a fork of MinGW) in a container. Actually, this is just used as a dependable way to build the second, which is a portable archive of a Mingw-w64 development environment; portable in the sense that you extract, add to PATH, and use without any other installation required.

Reading through the previous discussion, I think the biggest consideration for something like this is whether Mingw-w64 suffices for your needs.

https://news.ycombinator.com/item?id=23292161

The issue isn't whether the tools are capable enough, but whether they integrate well enough with the platform and any other dependencies your project may have. I'd be interested to hear from people who are using MinGW or Mingw-w64 on purpose. What works well, and what doesn't?

With Visual Studio Community, Microsoft has made its tools broadly accessible. However, if all you want is a compatible linker, this is in a lot of ways a regression from Visual C++ Express, which is no longer offered. Indeed, the compiler and linker used to be bundled in the freely available platform SDK. As someone responsible for testing C and C++ APIs, the licensing and packaging in Visual C++ 2019 will be a much bigger hassle than in previous versions.

SloopJon··on Show HN: Mono Icons – A simple, consistent open-source icon set
> material icons are overused

This is kind of a funny sentiment to me. I get that styles change, and that an interface can look dated with an old theme or old icons. Aqua looks out of place on a current Mac (although I kind of miss it), Aero looks out of place on Windows 10, etc.

Personally, I get a little annoyed when icons change. KeePassXC changed their icons a couple of months ago, and I still feel like I need to hover for a tooltip to confirm what this cryptic outline signifies.

I guess I just like the idea of a consistent design language, so overuse away!

SloopJon··on Firefox 81.0
I spend most of my time on the following computers:

* "retina" Macs at 16" and 27"

* Windows laptop at 13"-ish and 3000x2000

* Mac and Windows at 24" and 1920x1200

All of these look fine to me, except for Windows at 1920x1200. I don't know if Firefox is especially bad, but that's my primary browser.

I wish I could better articulate what's wrong with it, but I don't think it's fixable with the ClearType tuner. It may just come down to preference--I use Macs more, so I prefer their font rendering.

SloopJon··on The future of .NET Standard
Speaking of "how to name things," how is target framework name abbreviated to TFM?

Edit: found it--the "M" is for moniker.

SloopJon··on Ruth Bader Ginsburg has died
One possible strategy for Trump (which would be very much out of character) would be to wait out of respect for RBG and/or the Garland precedent. Meanwhile, he uses the empty seat as a campaign issue to keep reluctant conservatives from jumping ship.
SloopJon··on RTX3080 TensorFlow and NAMD Performance on Linux
From the GeForce software license:

"The SOFTWARE is not licensed for datacenter deployment, except that blockchain processing in a datacenter is permitted."

https://www.nvidia.com/en-us/drivers/geforce-license/

This doesn't preclude use in a workstation, but they don't want you building a DGX A100 competitor using RTX 3080 or 3090 cards.

SloopJon··on RTX3080 TensorFlow and NAMD Performance on Linux
Interesting to see that an RTX 3080 is faster than a dual RTX 2080, and more than twice as fast a single RTX 2080, which is consistent with one of NVIDIA's claims.
SloopJon··on Challenging LR Parsing
This post is a next-level look at parsing interactively in an editor or IDE. Not only do you want it to be fast, but you want it to be resilient enough to provide useful output given incomplete input.

Most of my poor attempts at parsing have been in the context of an offline tool. I find error handling hard enough using Yacc or Bison.

I missed the post that this one responds to, so I'm going back and reading that discussion too:

https://news.ycombinator.com/item?id=24480504

SloopJon··on Home Studio Setup Costs Compared – 1980s And Now
The similar quote I've heard is, "Form is liberating." I feel like I heard this in the context of poetry in high school, but Google turns up a bunch of references to The Mythical Man Month.
SloopJon··on AMD Announces Ryzen “Zen 3” and Radeon “RDNA2” Presentations for October
Would an AMD event like this usually be an announcement about future products, a paper launch, or could one expect to buy one of these processors soon like? I'm looking to build a new system around an RTX 30-something. I would even consider a pre-built system if I can't get my hands on retail parts.
SloopJon··on C++ was the fastest growing programming language in Sept according to TIOBE
The FAQ says that their dataset only goes back until June of 2001, so I imagine the methodology for the prior years in the Very Long Term History section was somewhat different.

The claim at the top of the page is that "The ratings are based on the number of skilled engineers world-wide, courses and third party vendors." However, the details show that it really is just a single search term across a variety of search engines. Maybe they used to have an intern read the classifieds at the back of the Communications of the ACM or something.

SloopJon··on Why is there a normal galaxy sitting at the edge of the Universe?
I find it funny when scientific articles (esp. pop astronomy) describe something as weird, bizarre, or extremely unlikely. We're reversing the effects of gravitational lensing on a galaxy at a distance that's a significant fraction of the radius of the observable universe.

Are astronomers that confident in their models that the inferred shape of this galaxy is bizarre? I'd love to have that level confidence in software.

SloopJon··on C++ was the fastest growing programming language in Sept according to TIOBE
Right, but TIOBE doesn't measure usage. It measures popularity by way of search engines. As people blog about their favorite new feature of C++20, it drives interest.
SloopJon··on Which GPUs to get for deep learning
One thing I did after the RTX 30-series announcement was a back-of-the-envelope comparison of performance per dollar and performance per watt, taking NVIDIA's numbers at face value. The 3070 and 3080 are surprisingly close on both metrics. You pay a substantial premium for the 3090, but it does have the best performance per watt.
SloopJon··on C++20 has been approved
I consciously avoided C++ since the late 90s, lest its litany of accidental complexities crowd other more important things out of my brain. I was drawn into it recently by a work assignment, and have been pleasantly surprised by modern C++.

I find it much more pleasant to write, e.g., ODBC client code in C++ than in C, and templates have a lot to do with that. I'm not an expert with Lisp macros or other reportedly superior meta-languages, but I will say that when I write generic code in C# or Java, I really miss the power of C++ templates.

Template syntax is pretty awful, and accomplishing what I want can involve some really strange idioms, like SFINAE. The ergonomics are slowly improving with type deduction, constexpr, and now concepts.

SloopJon··on AIX or Linux on POWER (2010)
This post, which talks about AIX 7.1 on POWER7, was published in August of 2010.
SloopJon··on We didn't encrypt your password, we hashed it
I'm not sure what you mean by a seed. If you mean a salt, that's no more secret than the hash. It has the effect of requiring you to crack each hash separately, but doesn't make it any harder to crack an individual hash.
SloopJon··on Show HN: Mys – an attempt to create a statically typed Python-like language
For those downvoting aidenn0's comments, I was surprised to find that "untyped" is indeed a common term that includes what many people (myself included) call dynamically typed. See the three top-voted answers to this Stack Overflow question, one of which includes a citation from TaPL, a standard text (emphasis added):

"A type system is a tractable syntactic method ... Terms like 'dynamically typed' are arguably misnomers."

https://stackoverflow.com/questions/9154388/does-untyped-als...

I still prefer the term dynamically typed, because there are useful distinctions about value types to be made among such languages, such as those described in striking's link.

SloopJon··on Ice Lake AVX-512 Downclocking
The three links in the third paragraph of the article describe the meaning of license in this context:

https://stackoverflow.com/a/56861355

https://travisdowns.github.io/blog/2020/01/17/avxfreq1.html

https://lemire.me/blog/2018/09/07/avx-512-when-and-how-to-us...

Excerpted from the Stack Overflow answer:

There are three frequency levels, so-called licenses, from fastest to slowest: L0, L1 and L2. L0 is the "nominal" speed you'll see written on the box: when the chip says "3.5 GHz turbo", they are referring to the single-core L0 turbo. L1 is a lower speed sometimes called AVX turbo or AVX2 turbo, originally associated with AVX and AVX2 instructions. L2 is a lower speed than L1, sometimes called "AVX-512 turbo".

SloopJon··on SQLite 3.33
I'm intrigued by the decimal extension. I thought SQLite was IEEE double only, but it handles 64-bit integers, and now decimals. They don't seem to be fully incorporated into the documentation yet, and decimal.c leaves me with questions, so I guess I'll just have to play around with it.
SloopJon··on Intel’s 11th Gen Core Tiger Lake SoC Detailed
If I build a new computer to replace my Ivy Bridge hackintosh, the only thing that would keep me on Intel at this point is the desire to build one last hackintosh before Apple goes full ARM. At the middle level, say Ryzen 3700X vs i7-9700, they're pretty close.
SloopJon··on ZSA Moonlander: A next-generation ergonomic keyboard
I used a Kinesis Advantage for a few years before switching to the Kinesis Freestyle Edge RGB.

My main complaint about the Advantage is that I kept hitting the arrow buttons in the bottom row unintentionally. Partly poor typing form, I'm sure, and of course I could have remapped them.

The other thing is that the Advantage is tall, so it's not great up on a desk, and it's not that comfortable on your lap. I think it's best in a tray, although some trays may not be tall enough for it.

As for the Freestyle, I like the split design, the customizable layout, and the customizable lighting (I have a different color for QWERTY and Dvorak). Add a couple of USB ports, and it would be nearly perfect. The "6" key is on the wrong half, and I might experiment with a layout that isn't staggered typewriter style.

I do tend to fidget with the position of the Freestyle throughout the day. This is another keyboard that might work better in a tray.

I don't know if I'd call this Moonlander "next generation," but it's an intriguing combination of what I like in the Advantage and Freestyle.

SloopJon··on Bump Emacs Version to 27.1
This commit is for the release candidate, so no, I don't think 27.1 is released yet.
SloopJon··on Random Strings and Integers That Aren’t
This post is in the context of a PostgreSQL stored procedure. If you have ready access to a block cipher, you could use one with an appropriate block size; e.g., 32-bit RC5 for coupon codes, 128-bit AES for activation keys, or 64-bit Blowfish for something in between.
SloopJon··on Building a $5k ML Workstation with Tiitan RTX and Ryzen ThreadRipper [video]
If NVIDIA gave me a Titan RTX for free, I would use it too.
SloopJon··on Improving performance with SIMD intrinsics in three use cases
It's great to see tables comparing the different approaches, but it's also a bit discouraging to think that you might have to solve the problem a dozen different ways. Fortunately, it does seem that naive vectorization, for lack of a better term, is pretty effective. For grayscale, "vector floats SSE2" and "vector floats AVX2" aren't far behind the winner. Similarly, for dot product, I might call it a day after AvxDpPs dropped my time from 193 to 34.
SloopJon··on KeePassXC 2.6.0 Released
This seems to be a supported feature of KeePass 2:

"When invoking the 'Save' command, KeePass checks whether the file on disk/server has been modified while you were editing it. If it has been modified, KeePass prompts whether you want to overwrite or synchronize with the file."

https://keepass.info/help/v2/sync.html

KeePassXC, on the other hand, does not seem to have been designed for shared synchronization:

"Cloud synchronization ... can be easily accomplished by simply storing your KeePassXC database inside your shared cloud folder and letting your desktop synchronization client do the rest. We prefer this approach, because it is simple, not tied to a specific cloud provider and keeps the complexity of our code low."

https://keepassxc.org/docs/#faq-cloudsync

SloopJon··on Mini-LED, Micro-LED and OLED displays: present status and future perspectives
Here is one of those tests:

https://www.rtings.com/tv/learn/real-life-oled-burn-in-test

Is it extreme? Sure, but it's not contrived--five hours on, one hour off. If the TV in the office break room was an OLED, it would absolutely exhibit this level of burn in.

← PreviousPage 11 of 26Next →