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

iPhones randomize the MAC address when connecting to hotspots (on a per-ssid basis, I think?). Other platforms do too (Windows 10 now has an option to do that automatically as well, but I can’t recall if it is enabled by default).

comment 7y ago · link · parent

Text editors don’t need all the widgets and controls. They basically need a context menu (and Electron’s menus are horrible as they provide none of the native OS accelerators and integrations), a open/save dialog (pretty please don’t use a custom UI here!), and maybe a menu/toolbar. The editor itself is custom code (whether html/css/js or native), and that’s where the performance benefits of native code shine best anyway.

comment 7y ago · link · parent

23 megabytes does not seem, by any metric, “tiny” to anyone that I work with.

comment 7y ago · link · parent

Good. It’s time app developers began to treat Electron like the Goliath of a dependency that it is rather than a cost-free shortcut to launching a cross-platform GUI product.

It’s no different than any other library or toolkit you would link against normally. You wouldn’t be hearing these complaints from a “native” app developer that intentionally picked any other library or runtime that (ab)used private frameworks.

comment 7y ago · link · parent

But that’s not accounting for gzip.

comment 7y ago · link · parent

Probably a prior owner of the domain? One can easily imagine Karma as a racy name for a risqué service.

comment 7y ago · link · parent

I'm seeing a lot more love for ansible than any of the other competitors in the cluster/pool management sphere. I didn't know HN had reached a (rough) consensus on this, is ansible well-enough-accepted as the configuration management tool of choice when not integrating into a larger cluster management system (e.g. Kubernetes)?

comment 7y ago · link · parent

No need for any proprietary tech: as mentioned in other comments, tmux can do this out of the box.

comment 7y ago · link · parent

> I would strongly recommend keeping the typing to a bare minimum

Agreed.

> and do all your work inside a well tested script

At a minimum, with `set -ex` at the top. But I've stopped using (ba|fi||t?c)?sh scripts and switched to standard Makefiles for all my deployments. It requires changing the way you would normally code/script actions or interactions, but you get deterministic results.

comment 7y ago · link · parent

This implements the WPF-esque grid model, as mentioned. Does anyone know of a performant grid-based ncurses library?

comment 7y ago · link · parent

Nope. Some manufacturers exclude “turbo” power usage from the TDP, others don’t.

comment 7y ago · link · parent

wtf is wrong with the f?

comment 7y ago · link · parent

Where I am, it seems it could be off hundreds of miles in any direction and I’d still be far away from any volcano whatsoever.

comment 7y ago · link · parent

SQLite does this too out of the box, though many GUI tools struggle to cope with tables created in that fashion.

comment 7y ago · link · parent

I have the same complaint about meson and python 3. You purposely use a low-level language to write dependency-free code, then your users need to install a bloated runtime just to build the damn thing.

comment 7y ago · link · parent

That’s funny. I wrote a utility to bring macOS-style window switching for Windows 10 a few years ago: https://neosmart.net/blog/2017/easy-window-switcher/

(Don’t worry, it’s still updated and maintained.)

Also submitted as another Show HN, somewhat tongue-in-cheek, because why not? https://news.ycombinator.com/item?id=21255305

comment 7y ago · link · parent

Just saw the macOS window switcher mimicking Windows 10 on the homepage and was reminded of this utility I wrote a whole back to bring macOS-like same-app Window switching to Windows 10!

4278.

Show HN: Windows 10 window switching (macOS style)(neosmart.net ↗)

8 points · by ComputerGuru · 7y ago · 1 comment

comment 7y ago · link · parent

CI is not run on EC2, MSFT is covering that on Azure.

comment 7y ago · link · parent

Microsoft is providing Azure pipelines to the Rust project free of charge. Switching CI is not trivial, in all cases.

comment 7y ago · link · parent

Yes, a consistent ordering exists but that ordering isn’t necessarily what you think or want it to be. The consistency is present based off the order the reads and writes were executed in; you’ll never read back a value that wasn’t at some point stored there. Which can happen with non-atomic reads/writes, where you’ll read part of one write and part of the next. Reads can still be reordered before writes, as no memory barriers are issued.

comment 7y ago · link · parent

Ordering::Relaxed guarantees atomicity (but not coherence). On 32-bit or 64-bit platforms, a (aligned) 32-bit read or write will always be atomic anyway.

comment 7y ago · link · parent

The 72 hour clause is to qualify for the special WinPE licensing (vs having to license as regular Windows), it does not mean Windows PE itself doesn’t need to be licensed.

comment 7y ago · link · parent

Nope. I worked in this industry for a long time (still do) and we had to report to Microsoft every month how many copies we sold and pay them for it.

Then towards the end of the Ballmer days it was decided that program would be ended entirely and it would be illegal to ever redistribute WinPE, and that is still the case today.

Maybe I’ll write about the crazy stories I have from when that decision was made someday. Two weeks to port a WinPE application to Linux, getting approached by ISVs worldwide who had the rug pulled out from under them for some sort of transition help.. fun times!

comment 7y ago · link · parent

What would you think about the whole thing if the missing money announcement came on the 9th of September ("can you believe it came less than 48 hours after Rumsfeld came public with this info!?)? The 8th? The 4th? The 1st?

The 10th of September, 2001 was a Monday. What percentage of announcements are delayed until the start of the business week? How close did this particular announcement come to being delayed to Tuesday (in which case it wouldn't have even happened)? There are so many factors that pivot on the most tenuous or whimsical of things that it actually is borderline ridiculous to read too much into any one single aspect of it.

comment 7y ago · link · parent

It’s not really $21T in cash but rather $21T worth of book-cooking “adjustments” to make the numbers align. This article gives a good overview: https://www.nytimes.com/2018/12/03/us/politics/fact-check-pe...

The NYT article claims that’s the absolute value of cooked assets and liabilities rather than the net amount but in truth it’s misappropriation so many levels deep (and recursive in parts) that you can’t even tell whether dollars are being made or lost. Purposely, I can only presume.

comment 7y ago · link · parent

Money continued to disappear and in fact keeps disappearing and the Pentagon just says “oops, e we don’t know where it went, we’ll just permanently offset the books to balance them,” with no further accountability than that (across three administrations). They are basically untouchable even with records physically around; they do not need to resort to destruction of physical evidence so long as the military industrial complex is alive and well.

comment 7y ago · link · parent

It’s a lot easier on your sanity to just accept that (insanely) crazy coincidences happen. If it helps, that number jumped to 6.5T a few years later and now stands at 21T and the military and Pentagon have simply stalled all attempts at enforcing audits. They have the gall to simply refuse to account for the discrepancies and believe they cannot be taken to task for misappropriated funds; they don’t need to blow up records when no one does anything if they simply refuse to make them available.

comment 7y ago · link · parent

Remember that time.. a few minutes ago when Verizon configured BGP correctly and nothing happened? And yesterday and the day before and the day before that, too? No? I didn’t think so.

comment 7y ago · link · parent

Some of the biggest employers of US “native” workers are immigrants. Some markets/industries wouldn’t exist entirely without immigrants. You can’t turn it into a black-and-white “immigration bad” summary.

Then again, it seems clear you’re not against immigration that happened decades to a century or two ago; only immigration happening after a certain class of people benefited from it for themselves, right?

Also, you do know that western countries have a birth rate less than that required for replacement, right? Without immigrants, who will pay for the “proudly native” aged populace’s social security and Medicare benefits?

Anyway, your entire rant is completely off topic and irrelevant to the court case at hand.

1
142143144
277