Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 7y ago · link · parent

Regardless of whether it is cost effective to do so or not, each and every one of the beneficiaries from such corruption should be investigated and prosecuted to the fullest extent possible under the law, no matter how expensive it gets, to set a precedent so others might think twice in the future.

comment 7y ago · link · parent

It's really not. Google, famous for never giving users control over UX, has a full-blown option to persistently save your preference to always open search results in a new window/tab.

comment 7y ago · link · parent

Thanks for sharing that!

comment 7y ago · link · parent

> Microsoft has done a fine job with VSCode

Microsoft has done a fine job with VS Code considering it is built on Electron, but it's a freaking text editor ffs! It has basically zero need for a UI. If this were 1990 and there were no cross-platform filesystem, i/o, network, async, etc. APIs available for native applications, it might make sense. But a text editor is basically the very simplest cross-platform UI you could ever need to design (proper text metrics and rendering is the only gotcha, but if you just shell out to freetype and DirectX rather than doing it all yourself, it's not really a problem).

VS Code is only fast because people compare it to the likes of Atom (which has thankfully dwindled in usage), GMail, and Slack. It doesn't hold a candle to the responsiveness of, say, basic native text editors like Notepad or Text Edit.app, or even horribly written "native" software like Notepad++ back in its heyday (although they might have cleaned up that mess in the decade and a half since I last used it -- I see Scintilla has switched to C++17!). Sublime Text was originally written by just one person and doesn't use a pre-packaged cross-platform editor widget, yet Skinner managed to do it without bundling in the kitchen sink and it shows.

Microsoft has realized this of course, and since the initial release VS Code has shied away from actually using Electron and many features are not implemented as HTML elements/nodes and instead are written bypassing the abstraction entirely because it's literally not possible to get the sort of responsiveness users (sometimes, incredibly meekly and never if they have to actually pay something for it) demand from a code editor if you have to go through Chrome/Chromium's abstractions to do it.

comment 7y ago · link · parent

This has been my preferred approach for multitargeting since day one (long before there was even a unified interface for creating cross-platform synchronization primitives, let alone filesystem and hardware access), but unfortunately I think we lost that race a long time ago.

comment 7y ago · link · parent

> The standard approach is more robust and predictable - if we are building for X, then xyz.h must be present. It's a stronger invariant.

I'm not sure if you presently maintain any popular cross-platform packages (e.g. source code + build scripts) but that hasn't been the case for a long time. With all the different fringe distributions, bastardized kernels, mix of packages installed via the preferred system package manager vs 3rd party package managers like npm, pip, and homebrew, newer versions of libraries built and installed by hand from a tarball or git checkout, etc. all modern build scripts have switched to feature detection rather than (exclusively) platform detection (which I still favor, when I can get away with it).

autoconf, cmake, meson, etc. all recommend testing the toolchain for a feature (e.g. build a one-liner that tries to call a system API linking first against x, and if that fails, then y, then z) and go with whatever succeeds first (in the order suggested by the developer) leading to horribly complicated messes with infinite permutations.. but generally significantly less user issues when attempting to build a package or library.

However, I do feel that I may have misunderstood you and this is the approach you are suggesting?

comment 7y ago · link · parent

This idea that users need to see all text on your website in a particular font face (which is usually just a poorly packaged riff off of a famous font with minor changes that will largely go unnoticed by the unwashed masses) in order to market your product is absolute BS. Aside from a very few iconic font associations (e.g. IBM), there's no actual evidence that it actually works.

I fully support using a custom font for your visual assets - that's what SVG with text exported as curves/outlines was created for. But why should I use your horribly hinted, terribly rendered, absolutely illegible webfont (and have to download it to boot) just to read the copy on your website? Why should anyone?

Look at Apple. Despite what I'm sure their design team tells them, even they don't have an iconic font. They've bounced around between Helvetica, Myriad, Lucida, and a half-dozen other sans serif fonts that share certain design traits (which people do identify and associate in general), yet each time they introduce a new font they update their website to trigger your browser to download the webfont to render the page. It's a pointless exercise in the name of job security.

Companies have had websites going back 30 years. Web fonts have existed for a long time. This trend of each company having to pay tens of thousands to commission an unrecognizable, undistinguishable typeface that all text on their website must appear in is a brand new phenomenon, and there's zero proof it does anything besides (poorly) accomplish what someone thought was a good idea.

comment 7y ago · link · parent

I fully intended that as hyperbole, but the idea was "use ready-to-use native widgets/controls to represent options/state" with as little "custom" UX as possible. The user-visible Dropbox UI is nothing more than a preferences dialog, the real "app" can be written by experts with 30 years of service and systems software expertise under their belts: it runs as an invisible background service using APIs for which well-supported cross-platform abstractions are readily available for all non-interpreted (and most interpreted) languages (inotify, channels, network io, encryption, compression, database serialization, etc).

The preferences and configuration panel is not what anyone thinks of when you say "Dropbox" and does not need to be "let's use css/html to create a custom UI that does not conform to the system ux guidelines so we can shove our branding down users' throats," in turn necessitating "now we need to use a full-blown browser engine to render the UI and an always-running standalone web server to interface with the background service to get backup status and information."

I've been using Dropbox since its first public (beta?) release on multiple different platforms, both supported and unsupported. I uninstalled the application three or four days ago when I found that background process lurking on my PC (in addition to the other background Dropbox processes which I did expect to see). If their application is turning into a web app, I can already use my main browser for that.

comment 7y ago · link · parent

And now Dropbox runs a background web server so they can serve their web-based UI, at least on Windows. I can’t believe how none of these huge companies that burn through cash like there is no tomorrow can’t afford to pay an intern to write an easy-to-maintain native UI for these simple “dashboard” applications. Ugh.

comment 7y ago · link · parent

Yeah, but you force me to stare at blank spaces while your webfont downloads [0]. I guess I should be thankful you’re not using that font for the body text, too (most sites do!).

[0]: https://imgur.com/a/FAX6BDW

comment 7y ago · link · parent

This kind of glosses over the actual boot loading part, imho.

We published a very similar article a few years ago, but as we (NeoSmart Technologies) are bootloader people, there’s a lot more emphasis on that part of things.

If you care to read it (and have the time): https://neosmart.net/wiki/mbr-boot-process/

comment 7y ago · link · parent

> What is wrong with that reply? It _is_ hard to do it correct _and_ quick.

If it were anyone other than Google/Microsoft/Apple, I might accept that. Closing the bug (rather than assigning it to a future unknown release) because it’s “too hard” is ridiculous. It’s a valid concern, the results are noticeable even on hi-dpi displays, and it should be fixed (if not now, later).

comment 7y ago · link · parent

They turned off subpixel antialiasing, not all antialiasing. And I’m saying on Windows the results were atrocious on hi-dpi displays, not just legacy ones.

comment 7y ago · link · parent

No, this is wrong. Microsoft tried it with Windows 8, getting rid of subpixel antialiasing for hardware accelerated rendering and the results were so bad that a recent update to Windows 10 began switching back. Unfortunately, Google did the same thing in Chrome and they still don’t get it and continue to insist that “it’s too hard to do it right” every time I file a bug about UI régressions that came about as a result.

macOS gets around this be aliasing the hell out of all fonts regardless of manual type hinting (or lack thereof).

comment 7y ago · link · parent

You have the option to intercept web page errors on (perhaps by default). Microsoft was famous for doing that in IE.

comment 7y ago · link · parent

I don’t know go, but it almost certainly lets you write non-idiomatic go code that doesn’t use GC allocated memory? Usually languages not designed for systems programming have these features for interop purposes (ffi, p/invoke, etc).

Although if that’s the case, I personally don’t get the draw. Typically these managed/higher-level/interpreted languages are harder to use than the embedded-friendly alternatives if you’re not using their automatic memory management. But a lot of times people just want to stick to (really weird and distant) versions of languages they already know/use (D is probably the only exception here for obvious reasons).

comment 7y ago · link · parent

They can tell if you opened links in new tabs rather than by clicking on them sequentially, and can tell that you kept the search results live in its own tab for at least n seconds after opening tabs (x, y, z) in quick succession. Voodoo, err I mean ML, can deduce a lot from that.

comment 7y ago · link · parent

No, Google also tracks backwards navigation back to the results pages.

comment 7y ago · link · parent

> Keep your expensive stuff away from brown people

Why drag race into this? I’m sure the discussion was then same for concentrations of certain socioeconomic classes of people of any and all colors.

4430.

Colorful, fantastical and divine: animal drawings reveal Middle Age Christianity(washingtonpost.com ↗)

1 points · by ComputerGuru · 7y ago · discuss

comment 7y ago · link · parent

FreeBSD’s pkg does that, but they’re recompiled in the package server and you just download the updated binaries built against those releases. It is very fast.

comment 7y ago · link · parent

Thanks for writing that so candidly, I learned a lot (I shoot full frame almost exclusively these days).

comment 7y ago · link · parent

I actually wrote up about this back in 2017 [0]; the general feeling in the community at the time was that it would be “right around the corner” from Intel, but that hasn’t really happened.

[0]: https://neosmart.net/blog/2017/will-amds-ryzen-finally-bring...

comment 7y ago · link · parent

Yeah, I wrote about it a few years ago and it was discussed here on HN too, I think: https://neosmart.net/blog/2016/on-the-growing-intentional-us...

comment 7y ago · link · parent

Yeah, that’s actually the one I was referring to. The rebuttal to it left me unsure: http://x265.org/beamr-hevc-encoder-comparison/ (it is also from a while ago, before 3.x I believe)

comment 7y ago · link · parent

> Because "A substantial majority of API requests during these windows failed. " implying that there was not a complete outage.

The fact that you needed to qualify “outage” with “complete” clearly means the word on its own is not incorrect for cases where a system was “only” mostly unavailable rather than completely so.

> I don't understand why people demand the usage of incorrect language.

The irony.

comment 7y ago · link · parent

Here in in Illinois we have ComEd which has a RRTP program with “real-time” pricing for residential customers based on supply and demand. I’m not sure if it’s true real-time but current price in 5-minute resolutions.

comment 7y ago · link · parent

> There are certainly much better commercial HEVC encoder out there.

The x265 team has repeatedly attempted to refute this claim, but it’s a lot of throwing numbers and lots of mud back and forth between the different implementors. Do you have anything solid to back that statement?

comment 7y ago · link · parent

That issue was not handled in a way that makes it an open source project I’d want to contribute to.

comment 7y ago · link · parent

> But it's easier to do correctly the way managed languages do. They don't usually create threads, they use thread pool and post messages to each other.

C# certainly never worked like that. `System.Threading.Thread` was the backbone of its concurrency model, together with everyone’s favorite auto/manual reset events, mutexes, and semaphores. While with .NET Core there are some libraries providing channels seeing adoption, the majority of the decline of threads in both legacy and Core .NET is from the move to async everything, which really obviates most of the need the casual developer has for dealing with concurrency primitives (at the cost of being absolutely dumbstruck when the abstraction leaks, obviously).

Redmond did an incredible job updating basically every single API in the BCL for async (contrast to the pathetically slow going in the world of nodejs).

1
147148149
277