HN user

oofabz

1,646 karma
Posts1
Comments394
View on HN

I recently got a Grandstream GWN7615 access point to add coverage on the other side of the house from the main router. It does not meet the minimum spec listed in this article but for more modest requirements I think it's an excellent value. You can get one for well under $100. It is WiFi 5, 3x3 MIMO, and you don't need any cloud account to manage it.

StarFighter 16-Inch 3 months ago

Every generation of CPU has high-power and low-power variants. The i9 is a high power variant that generates a lot of heat but what you want is the low power variant.

I recommend looking for a used laptop with a Core Ultra 7 165U (<$500) or a Core Ultra 7 268V (>$1000). Maybe an HP EliteBook. Either one would be faster than your old i9 and run much cooler.

I see their 60-bit float has the same size exponent (11 bits) as today's doubles. Only the mantissa was smaller, 48 bits instead of 52.

One of the main differences from Linux is BSD's separation between the base system and installed applications.

On Ubuntu, Arch, Mint, etc. there is no such distinction. Everything is made of packages, including the base system. You have packages for the kernel, the init system, logging, networking, firmware, etc. These are all versioned independently and whether or not they are considered "essential" is up to the user to decide.

On BSD, the base system is not composed of packages. It is a separate thing, with the kernel, libc, command line utilities all tightly coupled and versioned together. This allows the components to evolve together, with breaking ABI changes that would not be practical in Linux. This makes BSD better for research, which is why things like IPv6, address space randomization, SSH, jails, capabilities were developed there.

Packages are used for applications and are isolated to /usr/local. Dependency and compatibility problems only exist for packages. The base system is always there, always bootable, and you can count on being able to log in to a command line session and use the standard suite of tools. It is sort of like a Linux rescue image, except you boot off it every time.

I find it interesting that the transform was controversial in the '90s.

Today, it seems like a normal solution to the problem to me, and the controversy seems silly. I have much experience with the map function from Javascript. It is too simple to be objectionable.

But in the '90s, I would also have had trouble understanding the transform. Lambdas/closures were unheard of to everyone except Lisp dweebs. Once I figured out what the code was doing, I would be suspicious of its performance and memory consumption. This was 1994! Kilobytes mattered and optimal algorithmic complexity was necessary for anything to be usable. Much safer to use a well understood for loop. I have plenty of experience making those fast, and that's what map() must be doing under the hood anyway.

But I would have been wrong! map() isn't doing anything superfluous and I can't do it faster myself. The memory consumption of the temporary decorated array is worth it to parse the last word N times instead of N log N times. Lisp is certainly a slow language compared to C, but that's not because of its lambdas!

Very impressive work. For those who aren't familiar with this field, Valve invented SDF text rendering for their games. They published a groundbreaking paper on the subject in 2007. It remains a very popular technique in video games with few changes.

In 2012, Behdad Esfahbod wrote Glyphy, an implementation of SDF that runs on the GPU using OpenGL ES. It has been widely admired for its performance and enabling new capabilities like rapidly transforming text. However it has not been widely used.

Modern operating systems and web browsers do not use either of these techniques, preferring to rely on 1990s-style Truetype rasterization. This is a lightweight and effective approach but it lacks many capabilities. It can't do subpixel alignment or arbitrary subpixel layout, as demonstrated in the article. Zooming carries a heavy performance penalty and more complex transforms like skew, rotation, or 3d transforms can't be done in the text rendering engine. If you must have rotated or transformed text you are stuck resampling bitmaps, which looks terrible as it destroys all the small features that make text legible.

Why the lack of advancement? Maybe it's just too much work and too much risk for too little gain. Can you imagine rewriting a modern web browser engine to use GPU-accelerated text rendering? It would be a daunting task. Rendering glyphs is one thing but how about handling line breaking? Seems like it would require a lot of communication between CPU and GPU, which is slow, and deep integration between the software and the GPU, which is difficult.

Authentically bad is a good way to put it. My favorite part is the 3300 line Game::updatestate() function and its gigantic switch statement.

You can do selection first in Vim by using visual mode. For this particular example (5dd) you would want to use visual line mode by pressing shift-v. Then you can select the lines you wish to cut, and press d to delete them, or apply any other action to that block of text.

I frequently use c (change) on my visual selections, type in new code at the point where it was removed, then use p to paste the old code somewhere else.

The die size of the B580 is 272 mm2, which is a lot of silicon for $249. The performance of the GPU is good for its price but bad for its die size. Manufacturing cost is closely tied to die size.

272 mm2 puts the B580 in the same league as the Radeon 7700XT, a $449 card, and the GeForce 4070 Super, which is $599. The idea that Intel is selling these cards at a loss sounds reasonable to me.

A lot of people, including myself, prefer living in rural areas. They have more natural beauty, more solitude, tighter knit communities, cultures that prioritize family. Not everyone shares your own personal preferences.

It is true that there are fewer economic opportunities in the country. Cities are a labor market, after all. But there are hospitals everywhere, so if you work in medicine, you have the opportunity to work in the country and still earn good pay.

GRC SpinRite 2 years ago

But drug companies do make effective pharmaceutical derivatives of Vitamin D, such as Calcipotriene.

If anyone is interested in lossy PNG compression, please check out my project at https://github.com/foobaz/pngloss

It doesn't compress as well as JPEG or other formats that are designed to be lossy. But if you need PNG for some reason like alpha channel or application requirements, or if your image is particularly well-suited to my compression algorithm, it might be a good choice. For many images it does compare favorably to an 8-bit indexed PNG.

That used to be true, but these days there are many sites selling legal FLAC downloads, like HDtracks, Qobuz, Bandcamp, and Bleep.

I wish employers did not provide health insurance, even though I have a chronic medical condition. The choices of plans offered by companies is far, far smaller than the choices available to me on the open market. I don't want to have to find new health insurance if my employment situation changes, possibly leaving me with a gap in coverage. The expectation that employer-provided benefits are at no cost to the employee is a fallacy - if companies did not offer health care as a perk, they would be able to offer higher salaries instead.

The only reason American employers are in the business of offering health insurance is because they get a federal tax break. This makes health insurance cheaper to the employer than to individuals. Given this, if my employer stopped offering insurance, they couldn't increase my salary enough for me to purchase the same plan myself. I think this is unfair - I would like to get the same tax break myself, or at least eliminate the tax break altogether so I am on an even playing field with businesses. This would allow me to purchase my own health insurance at rates comparable to what I'm offered at work.

Considering the tax situation, it's curious that Intuit would not choose to take this tax break. It seems like a short term move that allows them to cut costs while exploiting the economic stickiness of employment. This move makes them less competitive for employees in the labor market, but that only affects them in the long term. In the short term, the employees they have will be hesistant and slow to find new jobs.