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

It’s still Mercator on mobile (iOS at least). How hard is it to push this change?

comment 7y ago · link · parent

There aren’t enough qualified candidates because they literally are not interested in hiring people that can think for themselves rather than blindly follow orders and protocol. I know how petty this statement sounds, and you’re probably thinking “ok there, someone has an axe to grind or needs to learn some nuance,” but read this news article about what (legally!) disqualifies a candidate from being hired as an officer:

https://abcnews.go.com/US/court-oks-barring-high-iqs-cops/st...

comment 7y ago · link · parent

Call me when the Fraternal Order of Police stops defending bad cops that were found guilty in a court of law, declaiming the “injustice“ that took place.

These guys are supposed to uphold the law, instead they prop up murderers and accuse the justice department of railroading “innocent” cops. See “Police union blasts ‘sham trial and shameful’ Van Dyke guilty verdict” [0]

0: https://chicago.suntimes.com/2018/10/5/18460941/police-union...

comment 7y ago · link · parent

Interesting, thanks for sharing that info! I imagine that is restricted to running code that doesn't really make any calls against the hardware layer much?

Presumably it must also include some sort of compatibility layer rather than merely translating machine instructions, as the syscall payloads vary considerably. But qemu is certainly small and (when used correctly) fast enough that depending on that should not be a dealbreaker if you really have no better options.

comment 7y ago · link · parent

Hey, pretty sure I recognize your name from other FreeBSD-related comments you've made on here in the past that I found worthy of saving!

We are stuck with needing to support x86 and prefer to do so as seamlessly as possible for the end user (call us old school like that); to that end we have a single bootable ISO image containing our appliance that needs to run on generic x86 hardware ranging from cutting edge to 15+ years old (I've posted about that with tons of accolades plus patches maximizing compatibility to the FreeBSD dev ML [some|a long] time ago but never heard back). We ported the software over from a very messy Linux-based implementation to a much cleaner architecture under FreeBSD 9 what I now realize can be considered a pretty long time ago.

With that background out of the way, we had written a custom scfb-powered "guaranteed compatible" X display driver (back before there was an upstream scfb driver, although I am sorry to see even with FreeBSD 12.0 that xf86-video-scfb does not work on quite a number of hardware profiles) that would work so long as the framebuffer did (and it usually does). I remember running into an issue (under 10.0) where even basic FBIO_* ioctl defines had different values when compiled for AMD64 vs i686, so although our x86 Xorg module would run under x64 (with the i386 compatibility module loaded, iirc?), it would fail to work as the wrong driver routine was being called into. I was honestly surprised it didn't work oob, as these were very basic ioctl calls.

Of course today with UEFI, signed drivers, and everything else, it's a miracle we haven't already been forced to distribute separate ISOs, but that's really only because we gave up on signed booting and simply require a legacy CSM for UEFI hardware, which is more steps but generally universally available; I don't think there's any real impetus behind getting UEFI support for x86, so we still boot the old-fashioned way.

Getting completely off topic, honestly both Linux and FreeBSD are quite literally decades behind when it comes to being able to guarantee unaccelerated video output at {,e,s,x}vga resolutions without requiring hardware-specific drivers; I don't think I have ever seen a MS-DOS/Windows PC that wouldn't at least boot in VGA mode going back at least all the way to early 90s. We certainly spent no time agonizing over getting video to work when Microsoft used to allow us to license WinPE to power our appliance images. I have an unfinished patch somewhere for the vt VGA driver that adds support for the various ioctls, but it seems the world has unfortunately decided that going with hardware-specific (k)drm drivers is the way forward. We decided to bite the bullet and now ship with those too, but it's about the farthest thing from bulletproof compatibility and neither the vendors nor the reverse-engineered community driver devs really bother formally testing these modules and it unfortunately very much shows. And now nVidia has discontinued providing proprietary x86 drivers for FreeBSD and Linux (although they notably still do for Solaris, almost certainly because of the aforementioned ABI compatibility guarantees there), so we're probably going to need to split our legacy/i686 and the uefi/x64 images soon enough.

comment 7y ago · link · parent

جبر, in transliteration, jabr, is the root of the word and the closest meaning is to bring (with a possible connotation of doing so against the entities natural inclination or state) back together parts (in healing).

To my mind, mathematically it would be closest to the literal concept of integration, but that is calculus and not what is generally considered to be algebra.

comment 7y ago · link · parent

I only ditched the Solaris train for FreeBSD when all hope was gone after Schwartz’s reign came to an end. Solaris got so many things right architecturally that are damn hard to shoehorn in after the fact. Until today, I don’t know if any other *nix has sorted out ABI compatibility across architectures, which allowed running applications cross-compiled for another target to run against the memory-resident kernel without virtualization (only instruction emulation when needed). In practice, it meant that you could run “universal” x86 binaries against both the x86 and x86_64 kernels, even calling into drivers (!!), with guaranteed compatibility. The last I had checked, FreeBSD had made it a goal to unify all numeric values of IOCTLs across architectures, but I don’t believe they are there yet.

4388.

thistothat: Because people have a need to glue things to other things(thistothat.com ↗)

3 points · by ComputerGuru · 7y ago · discuss

comment 7y ago · link · parent

I just disassembled (and didn't bother putting back together) a Sony 16-50mm f/3.5-5.6, the build quality here seems to be better. That was a lot of plastic and parts didn't really "click" in place so much as "mashed in there." I've had to replace this lens twice already (and it's only a very, very part-time camera for me); I am significantly less careful with my Nikkor equipment and never had any issues there.

comment 7y ago · link · parent

One can dream of extracting sufficient electricity to someday run a dependency-free dehumidifier, which can put a damper on the need to run HVAC in much of the world (damp air feels significantly warmer). One can dream.

comment 7y ago · link · parent

Am I missing something? It seems it's just a "cute" octopus.

comment 7y ago · link · parent

You’re making it seem like it’s a super risky and tenuous approach, but it’s long been understood that discussing “why suicide is a bad idea” with certain populations increases the odds of suicide in the group.

comment 7y ago · link · parent

I know it was mostly nonsense, but Jules Vernes’ Journey to the Center of the Earth enchanted me to no end and sent my mind imagining such undiscovered wonders, including, yes, oceans within massive caverns miles below the crust. That man was such an incredible, creative storyteller.

comment 7y ago · link · parent

It’s not about implementing it more efficiently in a universal sense, it’s about making fewer unnecessary trips to the kernel and back. Context switches probably introduce more jitter than your userspace hashed timer wheel.

comment 7y ago · link · parent

Letting me know I’m almost out of free articles before even letting me see my first one is rather pointless. How I hate overlays!

(I love “behind the overlay” on desktop browsers. Overlays are so much more annoying on mobile.)

comment 7y ago · link · parent

Maybe, but only if you are doing it wrong. Pro-tip: look up hashed wheel timers.

comment 7y ago · link · parent

I think you first need to switch to transistors/nm^3 rather than thinking only in 2d.

comment 7y ago · link · parent

EasyBCD can give you that, but you must run it to update the boot code each time you add an ISO (ie no dynamic detection).

comment 7y ago · link · parent

Yeah, if the environment is tightly controlled with known configurations and not too much congestion, it’ll work alright. But try with a spotty connection, differing MTUs, irregular latencies, etc.

I am much more intrigued by the attempts at breaking out of networks by tunneling over DNS (where that flavor of UDP traffic is let through) and ICMP (when not blocked).

comment 7y ago · link · parent

I automatically cringe and walk away when I see tcp over tcp. I’ve been bitten by it too many times. Someone correct me if I’m wrong, but it’s fundamentally incorrect and is pretty much guaranteed to devolve into pathological cases.

comment 7y ago · link · parent

I don’t care that my previous comment post has been downvoted, but I do want to clarify that I wasn’t being facetious; C++17 removes a number of old features and constructs that had been previously deprecated and there exist programs that compiled under C++14 that need non-trivial changes to compile under C++17.

comment 7y ago · link · parent

I agree that metric is better but this is ridiculous. Miles should be abbreviated mi.

comment 7y ago · link · parent

C++17 already made backward compatibility a non-goal (within reason, obviously) and broke previously valid programs.

comment 7y ago · link · parent

Assume again. It’s probably safe to assume (I know, right?) people are more cautious with websites used to arrange cheating for married individuals than with the typical porn site, and yet as the Ashley Madison disaster revealed, people are just plain stupid when it comes to online privacy.

comment 7y ago · link · parent

How long do you think GDPR has been around for? Why do you think it was passed?

comment 7y ago · link · parent

Highly doubtful. They were (mainly) “just” a telecommunications hardware/electronics company up until their purchase of Columbia Pictures in 1989; they wouldn’t have had an incentive to defend the entertainment sector in 1975 when Betamax was introduced.

comment 7y ago · link · parent

27 years old, actually, according to the Guinness Book of World Records. See “Bramble” at [0].

[0]: https://en.m.wikipedia.org/wiki/List_of_oldest_dogs

comment 7y ago · link · parent

Border Collies were supposedly bred for intelligence and obedience.

comment 7y ago · link · parent

Not even remotely. It’s good legal sensibility to avoid opening yourself up to unnecessary liability and investigation.
1
146147148
277