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 5y ago · link · parent

I agree on MySQL but hard disagree on SQLite because the API makes it rather obvious very quickly to any developer that there is a benefit to preparing beforehand.

comment 5y ago · link · parent

Random write latency can be hidden behind large caches: regardless of where the data should go, it can all be put in the same fast (persisted) cache. But reads could come from anywhere and you can’t cache that. Reads were always traditionally faster than writes but large SLC and DRAM caches have turned that on its head.

comment 5y ago · link · parent

It’s not just endurance. I wouldn’t use anything other than an older Samsung Pro (not an 850 Pro, before they went TLC), a Samsung Z, or an Intel Optane for something like a ZFS slog or a hardware RAID write accelerator cache - they have unmatched latency for these applications which cruet came by via their technical choices and is independent of write throughout.

comment 5y ago · link · parent

The 905p in 480 GB is supposed to be around $600 making it only 3x the price, but good look finding it. Intel doesn’t even MSRP it any more, although it’s still an active product.

comment 5y ago · link · parent

I had high hopes for Samsung Z SSD, which was supposed to be their competitor to Intel’s Optane. It hasn’t really gone anywhere and hasn’t placed Optane under any price pressure.

comment 5y ago · link · parent

This isn’t the right drive for that, though. Outside of provisioned storage for VMs, these SSDs are simply too small to have much use in a network setting.

comment 5y ago · link · parent

It’s hard to suggest with a straight face that the Sisi junta is more democratic or less autocratic than Morsi’s legitimately elected government had been, regardless of the latter’s shortcomings (not that he was there long enough to even really pass judgement). Or that Morsi was not strictly an improvement from a due democratic process perspective as compared to Mubarak’s monarch-like status.

comment 5y ago · link · parent

Failed revolution. The military then immediately seized control in a coup d’état and threw the new and popular president in jail planning to execute him before he died of a heart attack.

comment 5y ago · link · parent

To the contrary, I find my session tokens get reset left and right by websites that don’t even care about how much of an inconvenience it is for the customers.

comment 5y ago · link · parent

You don’t need to scale your application vertically even with media processing, you just need to distribute that chunk of the work, which is a lot easier (no state).

comment 5y ago · link · parent

I didn't link to that because it's unfortunately not something that I can share a download to like I could with wincycle: https://neosmart.net/blog/2018/imessage-for-windows/

comment 5y ago · link · parent

Shameless plug: wincycle makes win/cmd+backtick to cycle between Windows of the same app work. This and iMessage were the two things I missed leaving macOS for Windows and so I solved them both for myself :)

https://neosmart.net/blog/2017/easy-window-switcher/

comment 5y ago · link · parent

They added the option but it was disabled by default. I actually don’t know if that is still the case.

comment 5y ago · link · parent

That’s the same as Windows, but Windows enables making directories case sensitive on a directory by directory basis.

comment 5y ago · link · parent

I had a hell of a hard time sourcing them a few years back at anything remotely resembling decent prices.

Their cost exceeded that of using wristwatch lcd displays (the kind with fixed patterns) and the results there were far superior. The complexity of a 16-segment display is probably slightly lower, but the runtime power savings made the LCD option more lucrative.

comment 5y ago · link · parent

Until I open my Lyft to their Uber and Dorsey sells the same tweet on my NFT marketplace.

comment 5y ago · link · parent

Indeed, but with some exceptions. .NET SWF shipped with extremely kludgy drawn clones of toolbars and menu bars instead of using the native ones (although the native ones were later exposed) and the result is that those particular controls on SWF apps did not age gracefully (DPI problems, system theme mismatch, scroll acceleration issues, etc). That’s the kind of thing Qt would also face with drawn components skinned to look like the real deal.

comment 5y ago · link · parent

WinUI 3 improves the ability to embed fluent UI “xaml islands” in Win32 apps (like Qt processes) but it’s extremely convoluted and requires a lot of boilerplate (that I believe Qt could theoretically abstract over being at a high-enough level).

comment 5y ago · link · parent

I saw Qt and immediately understood what you were trying to say, but for the record: That’s not what native means. Native means “uses the platform widgets and drawing/theming api” and Qt is not native: it actually draws its own widgets (for the most part with certain exceptions on certain platforms) that are drawn to mimic the system UI with subtle differences. If the system UI implementation suddenly changes (say with an OS release) the Qt UI wouldn’t magically change with it.

An example of native UI is libui or WxWidgets.

comment 5y ago · link · parent

It already effectively does by having well-known identifiers for acceptable values for the license field (eg “MIT”) while these off-the-beaten track licenses require a path to a license. On crates.io, the license would be displayed as “other” instead of Apache, MIT, etc.

comment 5y ago · link · parent

Really not fair to compare against flash in this way when wasm wasn’t available and npapi was the only option. That is additionally an implementation detail, Adobe could (theoretically) revive and port flash to wasm today without breaking the majority of applications.

comment 5y ago · link · parent

The web application was deleted. That means there is no feature parity to factor into consideration.

comment 5y ago · link · parent

They “improved” the UI in iOS 13 and stopped showing that link. Now it only appears if some variables align when you delete the entire conversation.

comment 5y ago · link · parent

> This is, from the warranty's point of view, the same as manipulating the odometer on an ICE car to make it appear to have driven fewer miles than it actually has.

Your first paragraph is spot-on, but your second claim couldn’t be more wrong. It’s akin to powering your home off your ICE car’s alternator and an inverter which wouldn’t register as miles driven on the odometer.

comment 5y ago · link · parent

I’m a die-hard vim user and a fish developer but (gasp!) I don’t use vi mode in fish or any other shell. Alt-V will open $EDITOR with the command line contents preloaded into the buffer and update the prompt on exit, I find that to be good enough without the frustration of trying to convert the prompt into a text editor when it’s not.

comment 5y ago · link · parent

Fish made me write better bash scripts because it gave me a proper understanding of IFS, test, and other shell “basics” since it removes a layer of automagic by simplifying the syntax. Eg fish discourages the use of `if [` and it makes you realize that the bracket isn’t a grammatical construct but rather a terribly named command.

comment 5y ago · link · parent

Fwiw fish_add_path doesn’t fundamentally change anything, users do get confused between global and universal variables and how they interact with exported variables like PATH, so this just makes it friendlier.

comment 5y ago · link · parent

I switched to fish a very long time ago (2009 maybe?) because it started up so much faster than zsh w/ all the plugins that it took to get the fancy features fish had out of the box. Since then, fish has only become a lot faster as we have focused on performance and optimizations considerably.
1
103104105
277