HNHacker News
TopNewBestAskShowJobs

uep

430 karma · joined April 25, 2016

submissionscomments
uep··on CUDA on Windows Subsystem for Linux 2
I'm totally on the opposite side.

A Linux environment is superior for doing development (for everything I care about), and nowadays I've been able to play every game that doesn't have a native Linux port in Proton.

uep··on GitHub isn't fun anymore
I currently use bare repos on my server. It might be fun to give them a web interface, thanks for the links.
uep··on MacOS Catalina: Slow by Design?
I'm on Linux now, very interested in using Wayland+Pipewire, but still stuck on Xorg. What distro are you using?

I was considering building a Wayland/Pipewire Desktop software stack from scratch since my distro doesn't support them yet. I have become partial to experimenting with new software this way because it allows me to switch back to my known-good distro software without rebooting (most things I care about preserving the state of exist in the console anyway).

If it is relatively supported in a specific distro, I'm sort of interested in trying it.

uep··on Unikernels: The Next Stage of Linux’s Dominance (2019)
I'm curious what you think of PipeWire:

https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Per...

It claims to get near Jack latency, while implementing a more generic audio graph with better security than PulseAudio.

In regards to Linux scheduler performance, do you have any experience with SCHED_DEADLINE?

uep··on Feynman: making the extraordinary look easy
I generally agree with you, and I like that it doesn't harp on this aspect when talking about his life, but doesn't pretend it's not there either.

I am not familiar enough with Feynman's life to hold a particularly nuanced opinion, but it seems like just that one line intentionally taken out of context seems to be the issue. A one-line summary of the same chapter in the book could show that he was a womanizer without taking a particularly inflammatory quote out of context.

In an unlikely coincidence, that particular chapter of Surely You're Joking, Mr. Feynman! was one of the few that I had read.

uep··on A Graduate Course in Applied Cryptography
For hands-on learning of applied cryptography, there is also the delightful https://cryptopals.com/.
uep··on Exceptions should be Exceptional (2016)
For those that don't know (I didn't):

    EAFP - Easier to ask for forgiveness than permission
    LBYL - Look before you leap
They are opposite strategies, Python's preferred strategy is to do the first, just try the operation and throw an exception if it doesn't work. The second is to check a pre-condition before attempting an operation.

I've always known the second as exhibiting TOCTOU, otherwise known as a time-of-check vs time-of-use race condition.

uep··on Google's ambitious push into gaming is floundering
Steam does indicate on the store page when games have additional third party DRM.
uep··on Swift: Announcing ArgumentParser
I'm somewhat clueless on this front. How usable is Swift outside of Apple OSes? I recall reading here that the language toolchain is broken all the time for other platforms. Is that still the case?
uep··on Twitter locks WikiLeaks account days before Assange's extradition hearing
I was trying to find out if they were a reputable news organization, so I did a search, which wasn't very helpful. So then I just started clicking around the website. If you go into Top-Storys, it looks like a link aggregation website even.

Finally, using Chromium, I was able to translate some pages and I guess they are a legit news organization, though quite young. Their first publication was in January 2018. From reading the wikipedia, it seems they operate a bit like lwn, in that direct links will give you the articles, but you don't get access to all of the direct links unless you're a subscriber.

https://de.wikipedia.org/wiki/Republik_(Magazin)

uep··on "This community is available in the app"
I share your belief, I think the web is in danger too. Even more than the terrible state of these walled garden social networks and terrible app permissions, is the threat of Google AMP. There has been an uncoordinated but pervasive attempt to capture networks of users, but for profit motives.

I also fear that with the increase in nationalism around the world, and cyber warfare becoming more serious, that even traditionally liberal governments will start exerting more control on their networks. Specifically, not just to protect strategic interests, but to restrict ideas. Particularly since foreign governments have begun to use social networks for propaganda purposes.

uep··on An optimization to help code compilation times on big CPUs
I think this happens a lot with the Linux kernel. Where they struggle to maintain backwards compatibility, in the face of applications relying on undocumented implementation quirks.

I think this case is a bit different, in that the bug already triggers sometimes without this change, the change just makes it happen more often. Which is why the GNU Make bug report predates this improvement.

uep··on An optimization to help code compilation times on big CPUs
I've had similar issues, though it was actually caused by Ninja, and not Make. I was doing a build of clang+llvm itself, and somehow all the link steps ended up happening about the same time. It really exhausted the memory on my system. My system has 32 GiB, of which I rarely go above 10GiB used except for those giant builds.
uep··on Our first patent troll
No matter how detrimental software patents are to the big players, they are far more detrimental to the small players. If it can keep the smaller players from being real competitors, it's in the best interest of the big companies to just pay the patent tax. They stand to lose far more with a lower barrier to entry to their markets.

Software is kind of unique (and even moreso now with the prevalence of cloud providers) with its otherwise low barrier to entry; as capital expenses are extremely low compared to other industries.

uep··on EA's Tetris games will no longer be playable on iPhones and iPads
Current expectations are that copyright won't be extended again.

https://arstechnica.com/tech-policy/2018/01/hollywood-says-i...

uep··on Master of Orion
I also enjoyed playing as the Psilons. It's probably nostalgia, but there is still stuff I miss from more modern games like Stellaris, that I think MOO2 did right. It was really only the late game that became tedious.

There were tons of way to get cheap wins in the game. I vaguely recall there being tech (possibly from the Orions), that allowed you to cloak your ship. Enemies could not even target you while cloaked. There was another tech that allowed you to get two turns (for each the enemy had). With a single ship, you could attack, then cloak, and avoid all damage.

uep··on I2C in a Nutshell
For exactly that reason, I've encountered peripherals getting stuck during i2c transactions far too many times. At least a handful of times I've had to add boot (and sometimes runtime) logic to clear stuck transactions, due to the lack of a dedicated way to reset said peripheral.

It's quite annoying because one stuck device can block all other communication on the bus. Let's hope your reset pin (if you have it), isn't on an i2c expander on the same i2c bus.

uep··on Majority of Americans favor wealth tax on very rich: poll
This is grossly simplified, but I feel like I'm responding in kind.

The fundamental nature of a non-co-op business is that the company gets more value per person than it costs to employ that person. Companies have been "stealing" wealth from employees since they've existed.

uep··on Linus: Don't Use ZFS
I've been looking forward to using bcachefs as I had a few bad experiences with btrfs.

Is bcachefs more-or-less ready for some use cases now? Does it still support caching layers like bcache did?

uep··on BPF at Facebook and beyond
I'm a novice at it, but I have written a few small eBPF programs in assembler.

To elaborate on what aey said in the sister comment, since eBPF allows user applications to generate code that runs in the kernel, the language is kept pretty simple so that it's easier for the kernel to verify that the generated code isn't doing something bad. If you look at the documentation, there are only two registers:

https://www.kernel.org/doc/Documentation/networking/filter.t...

There are also limitations on the size of eBPF programs the kernel will allow, and looping and such, so that a single user is less likely to DOS the entire system with a bad program (whether purposefully or accidentally). It's not really that similar, but I had the amusing thought that writing eBPF assembly vaguely reminded me a little of writing TIS-100 code.

http://www.zachtronics.com/tis-100/

uep··on AMD lands Google, Twitter as customers with newest server chip
I feel like this is a safe assumption, but I assume you do most of your performance work on Windows? Since you would even focus on OpenGL at all, I have to assume that you at least spend some of your time developing on Linux.

Have you tried the AMD mesa drivers? The open source driver performance doesn't look terrible, and in my own experience, it tends to work far better for OpenGL than AMD's proprietary GPU drivers.

https://www.phoronix.com/scan.php?page=article&item=rx-5700-...

uep··on Hackers ship their exploits directly to their target’s mailroom
You also don't even need to use RF. You can also use high-frequency audio to communicate to other devices, though I guess I'm not sure how you get it out of the building.

It has been said that covert agencies have monitored conversations through windows by measuring the acoustic vibrations with a laser. So maybe that will work, but I have no idea how well that works with higher frequencies outside of human perception.

uep··on Hackers breach FSB contractor, expose Tor deanonymization project
I read a few reviews of the author's (Yasha Levine) other work[1], and it makes me think he has credibility problems.

[1] https://www.amazon.com/Corruption-Malcolm-Gladwell-Yasha-Lev...

uep··on Intel’s Xeon Platinum 8284 CPU: When 300 MHz Cost $5,500
In my experience, most companies don't think this way, but definitely should think more like this.

That said, companies that need more speed often don't need that extra speed on just one node. So that's really $5K x N nodes. When you consider that just the CPU costs $15K, and not the complete cost of a system, I think it's a lot harder to justify. You better have that next lower tier $10K CPU and know that you need just that little bit more. And then... you probably ought to be investing in scaling out horizontally while that $5K x N buys you time.

uep··on Epic Games Supports Blender Foundation with $1.2M
I'm curious too. I have only used Blender, I only do this as a hobby.

Ten years is a really long time though. Google's Go programming language didn't exist ten years ago.

uep··on Ross Perot Has Died
As the sibling comment from anderkaseorg says, IRV is one of the worst single-winner voting systems that isn't plurality voting.

Third parties would greatly benefit from range-voting[1]. I used to favor Condorcet voting methods as an improvement over plurality, but now I favor range-voting. Mostly for how much more straightforward the vote outcomes are, and the simplicity of explaining it. The no-show paradox inherent in Condorcet systems also bothers me[2].

There is a good summary of the properties of different voting systems on wikipedia[3].

[1] https://www.rangevoting.org/

[2] https://en.wikipedia.org/wiki/Participation_criterion

[3] https://en.wikipedia.org/wiki/Comparison_of_electoral_system...

uep··on The most effective way to tackle climate change? Plant a trillion trees
I almost think you're joking, since this already exists.

https://www.trilliontrees.org/

uep··on ‘Pre-bunk’ game reduces susceptibility to disinformation
There is a dramatic difference between the two presidents. At least as far as I know, left-leaning vs right-leaning isn't supposed to be support-blue-team-at-all-costs vs support-red-team-at-all-costs.

It's supposed to mean, would you treat blue-team or the red-team better for the same behavior?

> drone strikes

This was heavily covered. This was probably the number one thing that Obama was criticized for. I think most people agree that this is bad (for various reasons), though technically it is protecting American soldiers lives. Oddly, we don't hear much about the fact that Trump administration has relaxed rules and is performing more drone strikes [1][2].

> tear gas at the border

I also remember his immigration policies being heavily criticized. Yet, if you look at the policies of the current administration, they are objectively far worse. If the policies are far worse, it is consistent with a neutral position to be more critical of the current administration's policies than the previous administration's.

> gunwalker scandals

While they tried to pin Gunwalker on Obama, Gunwalker was really a Bush administration scandal that wasn't discovered until Obama [3][4]. That was an attempted political hit during an election year, equivalent to Benghazi. Despite that, it was covered even by the crazy "leftist" CNN [5][6].

If Obama had been meeting secretly with the Kenyan government to gather dirt on his political opponents, defending them every chance he got when it was discovered that they spent significant effort to influence our elections, and trying to remove sanctions against them, there is absolutely no doubt in my mind that this would be heavily criticized and covered by both CNN and MSNBC. I do believe MSNBC leans left.

[1] https://www.nbcnews.com/news/us-news/trump-admin-ups-drone-s...

[2] https://www.washingtontimes.com/news/2018/jun/7/donald-trump...

[3] https://www.foxnews.com/us/ap-exclusive-second-bush-era-gun-...

[4] https://www.npr.org/sections/thetwo-way/2012/01/05/144761413...

[5] https://www.cnn.com/2012/06/28/politics/holder-contempt/inde...

[6] https://www.cnn.com/2013/08/27/world/americas/operation-fast...

uep··on Red Hat Expecting X.org to “Go into Hard Maintenance Mode Fairly Quickly”
Do they though?

Everything as a file is an abstraction, an enormously useful abstraction. The point isn't that it has to behave like a file in every way. At the C level, the fact that open(), read(), write(), or e/poll() behave the similarly is extremely helpful.

I can have a whole suite of functions that do not care what type of file descriptor they hold, but just that those functions behave in a predictable way. Maybe only 10% of my code has to care about the differences between them, instead of 70%.

uep··on Nobel Prize Winner William Nordhaus vs. the IPCC on Climate Change
I kind of agree, but there's no doubt that there is an agenda, and it's worth considering that if you don't have the background to assess the objectivity of the article purely on its content. Knowing who profits is an enormously important data point. Every advertisement in existence is going to extol the virtue of their product. It's naive to think that someone who stands to benefit from you "buying" something is going to try to convince you not to.

I'm not an expert on this subject, but here are some thoughts I have.

> Both fans and critics of William Nordhaus’s computer model of the global economy and climate acknowledge that it is a crude approach that omits many crucial real-world considerations.

Does it factor in the famine and wars that will result from global warming?

> As Table 1 indicates, Nordhaus’s model—at least as of its 2007 calibration—estimated that such a policy goal would make humanity $14 trillion poorer compared to doing nothing at all about climate change.

I find this claim the most interesting, because the estimate is that humanity will be much poorer if we do something about climate change. The question is, what will be the distribution of these new riches? Who will be more poor, and who will be more rich? Do the poor starve and die (in say South America and Africa) while the rich make more money?

Do ten oil companies throughout the world get richer while everyone else gets poorer, or maybe even no change? This seems like a plausible outcome too. If the cost of producing food goes up dramatically, only those who are making dramatically more money will be richer.

← PreviousPage 3 of 6Next →