Recent submissions

Comment · 1 year ago
His top students were capable of entirely understanding Scheme within a day or so (but not capable of entirely understanding all of Python and all of PyPI). He wanted students to be even better than that. He wanted them to lead productive and resilient collaborations even when they didn't or couldn't entirely understand the small parts.
Comment · 1 year ago
Reformulating this slightly:

Yesterday, you saw the first 30-minute segment. Today, you arrive at the multiplex, and are informed that the three 30-minute segments (1, 2, 3) are starting shortly on screens A, B, and C. However, you are not told the mapping of segment to screen. You are asked to select a screen, and choose screen B. You are then informed about the status of either screen A or screen C: that status may be that it will play segment 1 (from your perspective: a duplicate) or that it will play segment 3 (from your perspective: out of order). Finally, you are asked whether you will be watching screen B, or the other, unrevealed screen. (If you don't actually watch your final choice, you're banned from the multiplex forever.)

Is this harder (e.g., not solvable at all) compared to the Monty Hall problem, because segment 1 is merely an annoyance, but segment 3 is a spoiler (permanently impacting your enjoyment of the movie)?

Comment · 1 year ago
In my experience, things you can ask include:

What's the history of this first project I've been assigned to?

Who are the most important customers, or types of customers?

What's the risk tolerance (unless you've been told Move Fast Break Things)?

Things you usually can't ask directly, but need to learn quickly:

Is this a meritocracy? If not, what other factors matter?

What types of actions are perceived as throwing a co-worker under the bus?

Is most of my job to figure out what my job is (i.e., exploring how I can contribute most effectively)?

Comment · 1 year ago
For "With your threat model in mind, they should identify opportunities to add new test cases," one common reason is that security engineers are shared across a large company and it may be very expensive for them to learn the different testing frameworks used on many different projects. Also, independent review (without any exposure to developers' conceptions about what should be tested, or why, or how) may be economically justified because outcomes of security bugs are sometimes much worse than outcomes of many categories of ordinary bugs. Other reasons may include that the security engineers want to run a test that can't be expressed in your testing framework without a huge change to the framework, they may want to develop their test cases adaptively such that most of the tests turn out to be useless and the cost of capturing every test under version contol may be very high, they may want to run tests from a commercial testing product for which the license does not allow bulk copying of the tests into a customer's testing framework, or (if they aren't in-house engineers) their business model is that they won't tell you every test that was run unless there's an associated defect finding.
Comment · 1 year ago
We added ChatGPT Operator to UI testing, starting soon after it launched. It's only used as an extra testing step on top of everything we had previously used. A quick summary is: on the plus side, it sometimes gives us a much faster feedback cycle. On the minus side, it sometimes dives headfirst into advanced UI features, and can't find a way to backtrack when it makes a mistake there.
Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
The TOCTOU is relevant (without suid) if someone can quickly make the right prediction of the tmpname2 value that's generated by the PRNG used by mkstemp, and create a symlink with that value before gunzip is executed. After calling mkstemp, the code should use the returned file descriptor, and thereby eliminate all TOCTOU risk. However, on (perhaps?) most devices that would realistically use atop, the PRNG works well enough that that prediction would fail.
Comment · 1 year ago
https://newscience.org/nih/ suggests that the higher indirect rates at private research institutions may occur because "universities do subsidize research out of their own pockets."
Comment · 1 year ago
Comment · 1 year ago
This may have unintended consequences on chances of a successful application. Now, as a high school senior, you have to compete against an additional pool of strong students who aren't especially interested in MIT's offerings, but have parents pushing them toward the least expensive of all top universities.
Comment · 2 years ago
Comment · 2 years ago
I thought "the Copilot coding assistant was trained on open source software hosted on GitHub and as such would suggest snippets from those public projects to other programmers without care for licenses" was explicitly allowed by the GitHub Terms of Service: https://docs.github.com/en/site-policy/github-terms/github-t... "If you set your pages and repositories to be viewed publicly, you grant each User of GitHub a nonexclusive, worldwide license to use, display, and perform Your Content through the GitHub Service." In other words, in addition to what's allowed by the LICENSE file in your repo, you are also separately licensing your code "to use ... through the GitHub Service" and this would (in my interpretation) include use by Copilot for training, and use by Copilot to deliver snippets to any other GitHub user.
Comment · 2 years ago
I think "Block if :card_count_for_ip_address_daily: > 4" might translate to "As a customer using Stripe, obtain an IPv6 address from your mobile network operator. Do not share Wi-Fi with a group, such as by renting a house with four college buddies or by having more than two teenage children."

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton