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

Yeah, debugging LaTeX absolutely sucks. I always fantasize about some strongly-typed variant and even wonder if XML would make a nicer Tex language.

comment 6y ago · link · parent

It’s possible if people are using company-provided devices at home in lieu of their own, and the company is providing Windows devices while theirs were Apple. I don’t know the likelihood of this explanation, though.

comment 6y ago · link · parent

Interchange fee pricing is set based on how much MasterCard charges the bank

That’s not true though, or at least is a massive oversimplification. In the US, interchange fees are extremely inflated to allow banks to recuperate the rewards they give out to distinguish their card offerings from one another. The 2% cashback has to come from somewhere.

comment 6y ago · link · parent

> That is only an issue on the web

After championing it and spending 13 years adding it to the OS and getting it supported everywhere, Microsoft removed ClearType subpixel rendering from Windows 8’s UI framework for those same reasons, went on to ship Windows 10 without it, and only went back on that decision with the Creator’s Update and are still working to correct that mistake and its fallout.

comment 6y ago · link · parent

For posterity’s sake, I believe the commenter is referring to thedonald.win, which I’m purposely leaving un-linkified.

comment 6y ago · link · parent

I don’t see anything wrong with that, tbh. While it’s apples and oranges to compare atom to sublime, I think in an extremely fair and objective head-to-head comparison between VS Code and Atom, the latter is just a worse choice on all fronts. It came first, it filled a need, and now there’s something better.

(And it and that something better is now both owned/maintained by the same organization, making it even more of a no-brainer to slowly phase the inferior option out.)

comment 6y ago · link · parent

It’s really sad how much typesetting and font rendering has taken a backseat since the 80s and 90s. It seems like just yesterday the race was about finding the optimal algorithms for typesetting text to avoid rivers, have aesthetically pleasing ragged or justified text, tweak word breaking heuristics to avoid local optima that give poor overall results, etc and coming up with fonts that were hand-hinted and carefully designed to display as correctly as possible on the output devices of the time.

Now, we’re lucky if we get an option to manually specify hyphenation points for line wrapping, we have horribly thin and broken “web fonts” that supersede even locally installed versions with correct hinting of the same typeface, have disabled subpixel rendering so we can play nicer with animations, transitions, and useless effects, and consider ourselves incredibly lucky if we get real italics rather than oblique versions of the Roman typeface *for fonts with italic versions around since the early ‘90s.

comment 6y ago · link · parent

It’s very interesting from a psychological standpoint: the current front page headline (for me?) is “Planets and dwarf planets to scale in size, rotation speed, axial tilt and oblateness (numbered in distance order from Sun)”

If I were reading this on /r/dataisbeautiful, I’d immediately parse and grok the headline just fine. But with this, my mindset was on the reporting of actions or events and I read “to scale” as an infinitive (verb/action), almost like the intro to a sci-fi novel that starts with a stunning declaration that in x days, all planets will actively shrink by y% in some never before seen cosmic event.

If you’ll allow me to use a programming analog, it wasn’t until my tokenizer hit the first parenthesis that my lexer switched to the correct track.

comment 6y ago · link · parent

The doesn’t have anything to do with the language code was written in. Ultimately all software is assembly. This is about hardware specific registers that control the underlying hardware and can be used for things like controlling oem functionality (brightness, backlight, etc), changing CPU frequency and voltage, etc.

comment 6y ago · link · parent

They do this every six to twelve months:

https://news.ycombinator.com/item?id=22106305

https://news.ycombinator.com/item?id=19091852

It’s just platitudes so long as their interests are served by pretending the problem doesn’t exist.

comment 6y ago · link · parent

I believe so. The 32-bit variant, at least doesn’t even use SSE2 acceleration, iirc.

https://www.microsoft.com/en-us/windows/windows-10-specifica...

1 GHz CPU, 1GB ram, 800x600 display, 32GB drive. Those are not 2005 specs, those were easily around in 2000.

comment 6y ago · link · parent

It’s crazy to think supporting a five year old device is now considered ground-breaking. Windows did (does?) officially support devices fifteen years old. Desktop developers are only now starting to release apps that don’t support Windows XP, released twenty years ago.

From a consumer perspective, it’s crazy how often we’re expected to replace mobile devices (even though the story now isn’t as crazy as it was five years ago) and how much we shell out for them (even putting aside the monthly bills associated with them). Not to mention a PC was shared by the family and now every kid needs their own phone. Great for the economy but oh so wasteful.

comment 6y ago · link · parent

Point 1 was temporarily obviated by .NET Native, but that has now been abandoned with no explicit replacement, leaving a hole only somewhat filled by a combination of Mono and CoreRT.

comment 6y ago · link · parent

The whole point is the decoupling of userland from the kernel. Windows doesn’t really have syscalls in the Linux sense, but has an even more stable interface in the various core dlls (kernel32, user32, shell32, etc) (and of course the Nt* “syscalls” for speaking with the kernel directly).

COM was always the real api for interacting with the desktop environment/shell, even from cli applications. The problem is that COM is strictly object oriented (unlike the user32 api and co) but both C and C++ used the same bindings to interface with it, which were written at the lowest common denominator giving us C++ com wrappers were ugly as hell when they could have been so much nicer. Microsoft finally fixed that in the past couple of years with the new winrt api for C++ but the world would have been different if such COM bindings for C++ had existed twenty years ago.

comment 6y ago · link · parent

I don’t think Musk was on an H1B visa when he came from Canada? I don’t think Page and Brin were H-1Bs either, as they were PhD students at the time.

comment 6y ago · link · parent

That looks really nice - great job! There’s been a great amount of innovation in GUI libraries in the past two years. What’s the ffi story here? Can it be used as the frontend for a rust or C# application?

comment 6y ago · link · parent

FPGAs are cheap compared to the initial run costs for comparable custom ASICs, though.

comment 6y ago · link · parent

Budget AWS sells you slices of CPU performance rather than leasing you hours of access to a physical chip. They gain/lose on efficiency in that context.

comment 6y ago · link · parent

You missed my point. I have no problem with the machine he’s benchmarking, my point is rather that if performance or efficiency were the be all for Apple, they’d never have shipped a non Pareto choice/behind the curve. Clearly there are other factors that lead to their choices.

comment 6y ago · link · parent

There is no point in benchmarking anything: Macs have long shipped with CPUs one to two generations behind. If performance or efficiency (they’re interchangeable In this regard) on the desktop/notebook fronts mattered to Apple as a company, that would never have happened. Clearly there are other factors beyond the performance/efficiency curve at play and so it’s not a matter of benchmarking anything.

comment 6y ago · link · parent

That was my initial thought but my point is that it actually shouldn’t be necessary. 16 miles of non-conductive water should be fine for a single point-to-point em transmission at low bitrates.

comment 6y ago · link · parent

Objectively, pinterest broke Google Image Search so I can’t see how another player could make it worse. If you posit that a single link is shared on both platforms, the chances of getting to the original source are at least greater than 1x.

comment 6y ago · link · parent

RSS has nothing to do with notifications. In many ways it is actually the antithesis to them.

comment 6y ago · link · parent

I like this idea! As it would take quite a while to melt its way down, you'd basically have to sink the entire rover or a submodule down with the radioactive heat source (not melting a hole then exploring it). If it's a one-way, single-purpose trip then it's not clear to me that the ice would necessarily pose any sort of issue with non-line-of-sight (aka radio) communications.

Water in and of itself isn't a great communications barrier, but the conductivity of sea/salt water causes it to act like a Faraday cage and kills/significantly dampens any radio waves attempting to pass through it.

Under the assumption that Europa's oceans are in fact salty, the frozen sea ice isn't actually all that salty. Ice in general isn't a good conductor as it's actually almost entirely the pure water that freezes leaving the salt behind (I'm not clear on whether it would precipitate but remain suspended between the the H2O molecules or if - given the lower density of Ice I - the water would freeze from the top down leaving the liquid seawater beneath it ever so slightly saltier while forming a layer of pure frozen ice on the top).

In all cases, keeping a base station while sinking a second module with the radioactive heat source then proxying all communication via the base station would be possible even if the ice did form some form of a Faraday cage that severely limited communication from beneath.

comment 6y ago · link · parent

I'm not sure how, but GTK3 applications violate the layers and are not affected by the nVidia setting. I think it's because nVidia sets a fake Xorg resolution (e.g. twice your actual) but GTK3 sees through that and uses its own internal dpi setting. I also presume this would be the case regardless of whether Gnome 3 is your DE/WM or not.

comment 6y ago · link · parent

It’s the default under both Windows 10 and Gnome 3 for hi-dpi displays. In fact, it’s near impossible to get fractional dpi working across the board on Gnome 3.

comment 6y ago · link · parent

Also https://www.france24.com/en/20170906-french-fashion-giants-b...

comment 6y ago · link · parent

Regarding your second link, I cannot comment on the linked item as it has been archived by HN but as an additional reference for others and possibly a fun read for you: https://bugzilla.gnome.org/show_bug.cgi?id=754596

I like your TerminalCapabilities project.

comment 6y ago · link · parent

Fantastic rabbit hole to dive into, thanks for linking!

The "good news" is that you can't even use tput rev under fish because it saves and restores attributes each time it regains control of the tty with very few exceptions , rev not being one of them. You can't break what you don't even support!

(Seriously though, we should add rev support.)

EDIT: I just saw that you're the same person that answered that post, which very much deserved the upvote. Your knowledge of tty behavior is impressive. It is also rare to find another person that cares about the kvt - a lot of apps that manipulate terminal attributes or use any vte codes are completely broken under even the well-written kernel virtual terminals.

1
120121122
277