skysight-inc/HackerNews huggingface dataset:
Mouse models are just that. Models. A lot of the results in mice don't carry over to humans. A positive result in mice is only weakly indicative of potential efficacy in humans. [1,2]
Pop-sci articles seldom acknowledge this or draw attention to this.

Re reservatol, the jury is really out on that one too. [3,4]

[1] https://theconversation.com/of-mice-and-men-why-animal-trial...

[2] https://www.nature.com/news/chilly-lab-mice-skew-cancer-stud...

[3] https://www.bostonmagazine.com/health/2019/10/29/david-sincl...

[4] https://www.health.harvard.edu/blog/diet-rich-resveratrol-of...
"it's not hard to add a hash to the messages that will be a commitment scheme to ensure that you have all horcruxes and they haven't been tampered with"

Oh dear god. No, hashes aren't to provide authenticity and integrity for messages under hostile conditions, look into Message Authentication Codes (effectively keyed hashes) like HMAC-SHA256, or use modern hash function (SHA3-256 or BLAKE2) in H(key+message), or since you're going for information theoretic security, look into unconditionally secure MACs like one-time MAC and Carter-Wegman MAC. Also, make sure to compare the purported tag to the evaluated one with a constant time function. This is so low level I'm not at all confident at your ability to implement this stuff so please take a course in cryptography before implementing anything and if you do, make sure to put a huge banner "This is a hobby project intended to learn about cryptography, do not use it in production". This is to protect you and others.
>"Using industrial Induction-Heat and Water-Quench equipment configured and tuned for Flash® processing parameters, the steel is rapidly heated (2-3 seconds) to temperatures of about 1070C to 1200C. Within a few seconds, the heated steel is quenched with a water spray or bath.

By limiting heating time, the natural heterogeneity of the steel is preserved to create a highly complex, multi-phase, multi-chemistry steel that combines the ductility of bainite and the strength of martensite."

This process (creating strength in the steel) might be the opposite of annealing; that is, the opposite of allowing a magnetic substance long amounts of time for a slow, very gradual, incremental cool-down (which also apparently increases ductility -- but reduces hardness...)

Also:

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

(But, the URL in that old HN article is dead;
a copy of it is here:

"Detroit DIYer cooks up stronger, lighter steel, shames scientists":

https://web.archive.org/web/20160103085323/http://www.engadg...

)
Case sensitivity is actually a powerful feature of Unix systems as it allows for multiple valid string variants of a single word.

For example, common Unix convention in the 1980s-1990s was to name user-created directories with a capital to make them easier to see in a regular directory listing without color (e.g. Poems is a directory, while poems is just a file).

I've used it heavily with content revision (e.g. CATHENA02.yaml is the second cathena configuration file in testing while cathena02.yaml is the production version of it).

Plus, making a filename case-insensitive for processing purposes in a scripting language is very easy.

Consequently, I can't imagine a reason why I'd use case-insensitivity in ext4.
I think we might be talking past each other. When I say that Epic and the founder have leverage, I do not mean against Apple in a lawsuit. I mean that they have leverage in the community because they make great products and have been making them for a long time, they are reputable and liked in their community and in the tech and business world.

When you say "escalating to mom," it isn't clear to me if you're criticizing Epic's lawsuit, in which case I am in agreement with you and criticizing the same thing - or if you're criticizing my suggestion to go on strike, which I think would be the opposite of "escalating to mom." It would instead be gathering your friends in unison against a bully and stating plainly, without appeal to law or to force, that there is no mutual agreement in your interactions and that you want new terms to your relationship.

I also disagree that there is no moral argument to be made here. The point is that it should not matter what Epic's particular motivations are, because they're borne from the same frustrations and feeling of unfairness that all other developers here are in a position to one day find themselves. If Epic is acting strictly selfishly, a win for them is still a win for everyone else. To interpret these events in good faith is to put yourself in their shoes - not to require them to fight for you for it to be just.

As far as I've heard, Epic is not asking to be able to charge developers, they want to sell their own things in their own game at their own prices. There aren't any third parties involved in that so I'm not sure where you got that part from.

It's one thing to say that you think a strike would fail, it's another to say that it shouldn't be attempted. For someone so rigorously defending Apple on ostensibly free-market grounds, you're stopping short of going all the way and accepting a free-market response to their high prices. Your defense is selective, and my interpretation of such selectivity is that you yourself do not have conviction when it comes to how markets should operate or what are just actions inside a free market, but simply an emotional defense of a trillion dollar corporation who makes nice products that you like.
Set the termination protection flag on critical instances (like databases), then they cannot be deleted programmatically. This works really really well.
Are you the VAX assembly expert I've been looking for? Can you explain some things (specifically the code after the PDP section)? If so e-mail me, I'd love to ask some questions. (The e-mail addr is easily found on my website)
This post reeks of elitist/holier-than-thou attitude that the whole industry has unfortunately been feeding into. I also suspect that it is why there's so little diversity in tech and why there's this absurd notion that there's not enough "qualified" candidates to fill positions.

1) is something that I abhor because it allows the interviewer to assume very little of the responsibility for communication, which is an exercise for both people to come to a consensus of what the task is at hand. Instead of saying "did I communicate this effectively", it's saying "it's the listener's fault for not understanding me."

2) is very similar to 1) in that it also absolves the interviewer of any responsibility for communicate. It's also an absurd proposition because it's saying it is the interviewee's job to keep me, the interviewer, entertained. This is absurd because the purpose of interviews is to vet a candidate, if that's not the purpose, then the interviewer should make it more clear that an hour's worth of a jester's time is being requested.

3) is specifying a criteria that might make sense for recent college graduates or if the candidate knows what to prepare for. In my experience, no such guidance is typically given, the most I've seen is "prepare for questions that might be relevant to the role/job posting." The interviewer fails to consider does he/she have a full time job? Did the interviewer actually provide materials for he/she to study? If the questions the OP cited were not actually provided, how do they know to prepare for those types of questions.
Are you willing to give me the difference in price? Probably not... I guess it isn’t a problem for you.
I disagree. The error is to consider paths as a high level information, that the user has to know about, rather of what they really are, a low level information, that potentially the user never sees (for example consider mobile operating systems like Android/iOS).

In practice the case insensitive thing if we want to call it should be implemented more high level, in the file manager, rather than in the filesystem itself. That is even what newer versions of Windows/NTFS do! Recent versions of NTFS are in fact case sensitive, and if you mount a NTFS volume with Linux in fact you can create two file with the name differing only by the case: the whole case-insensitive thing is handled at an higher level in the Windows APIs.
Closer is an interface in go that you can test for, the issue here is interfaces are implicit in go.
Most blocking syscalls in Go cannot be terminated by any means. [1]

It seems unlikely that the stdlib os API will add dozens of variants taking context.Context. The new FS API proposal makes no mention of deadlines or contexts. [2]

[1] https://github.com/golang/go/issues/41054

[2] https://github.com/golang/go/issues/5636#issuecomment-661926...
Phhhh, 6 months... I'd still have access to my first company's Google local directory console almost 14 years after I've left it (this is despite numerous messages on my part to remove my access) if Google were not to remove the listing altogether
> Sometimes it's not 100% clear if you're just coming in that a function returns a boolean

I'd argue the function isn't named appropriately, then.

> Sometimes you just want to remind yourself and it sneaks past a code review

Remind yourself what, exactly?

> dozen plus languages, and some just handle truthiness differently and it's easier to just make sure (looking at you, Javascript)

I'd argue that it's on the developer to know and work with the language's semantics (and I say this as someone who's not a fan of JS). Trying to write code that is nearly language agnostic in semantics will leave out a whole lot of language-specific value.
I love this! As a colemak-dh user, is there a way to easily re-kebind hjkl?
Wow, thanks for the detail.

> Re-wrote entire stack from python to C++ threadpool async grpc

Incredible. Presumably this is for latency/performance on the inference side?
Be sure to tell them that is why people like myself don't even bother visiting such sites.
Here is a more extreme example how legislation works against the best interest of people.

https://www.dailymail.co.uk/news/article-7678955/Black-Satur...
For sure. Join our slack and we can help you set everything up. We support snowflake as a Data warehouse.
I'm into technical writing, too! What are you working on?
It's pretty close. The idea that profits and social good are opposites was tested to destruction by communism. Profits mean that at least some people, somewhere, find your work more than worth the effort in a very real sense (they gave up some money to get it).

Social good is undefined, so it ends up meaning whatever the speaker wants it to mean. Lots of university professors think critical theory is socially good, and lots more people strongly disagree. There's no actual way to resolve that dispute because academia is disconnected from any kind of reality check.
The Isle of Man TT takes things up another notch, too: “Between 1907 and 2019 there have been 151 fatalities during official practices or races on the Snaefell Mountain Course, and 260 total fatalities (this number includes the riders killed during the Manx Grand Prix, and Clubman TT race series of the late 1940s/1950s).”
> anyone know if such an employer actually exists in US?

Yes. I’ve personally seen it happen multiple times at different employers, each with unique factors.

There are way to many factors at play here to make broad assumptions that no employer does it...

- first and foremost, Covid changed everything when it comes to remote salary norms

- Duration of move (some employers would be more lenient for 6-12mo vs permanent move)

- level of seniority (which correlates somewhat with how hard it is to replace said employee if employer says no)

- how long as the employee worked for employer (another factor in how much it impacts employer if employee moves anyway and goes to work for another company)

- how bad the employer wants to retain said employee (Multiple previous emplayers, big and small, have made exceptions for specific coworkers)

- it’s important enough to mention again, Covid changed everything.
XSS? Outside of a social network, where it can propagate itself? For a non-FAANG-scale company? Probably between $250 and $500, if it's a clean and effective XSS. Less if you have to interact with an obscure feature of the application.
Depends on what you mean by machine learning. In deep learning applications optimizations and getting the thing to train effectively is 90% of the job.

My team manages a platform / framework we built similar to FloydHub (we wrote a django app that integrates with AWS, but any cloud provider would do) and another similar to SigOpts (we built a server-client system that utilizes the first systems APIs to deploy nodes)[1]. This lets us effectively develop and then hyperparameter tune our models. Finally, we deploy them within a library and flask app. This makes them easily digestible across the enterprise.

We are a team of three that leverage other teams to make improvements (aka “inner sourcing” development). It’s a busy job, but managing the whole stack gives us the ability to develop models much faster and effectively. With multiple teams utilizing our frameworks we have a kind of critical mass to keep everything running quite well.

[1] https://medium.com/capital-one-tech/system-language-agnostic...
My recalled experiences approaching age zero closely resemble an asymptote. I can accept that the subjective time between 0.0 seconds (when is time zero, anyway?) and 0.1 seconds was infinitely longer than the last 40 years. Recall of things since I was five only gets moderately difficult, while recall of experiences from one year old or earlier is almost completely inaccessible.

One could say that's because I lacked the experience to interpret and store my sensations at the time, and that those were gradually gained, but to my view that's not a refutation but actually reenforcement of the argument. I'm still learning higher level abstractions every day; the tools to more efficiently store sensation are gathered as new sensations are gathered.

When I was 14, every day at work was radically different than the last. At 44, they're pretty much the same. When I was 14, 8 hours was like forever. These days, if you asked me at 9PM, there might be a 2-3 second delay for me to remember if I worked at all that day.
My point was more it is just a different problem.

Another "clarifying question" in this vein would be "if there is a valid answer, will they be in index 0 and 1 of the list?"

I'm obviously being somewhat facetious here but there's a difference between clearing up an ambiguous part of the question versus asking something that the interviewer gave no indication would be part of the problem.
Why is that so horrible? I prefer it because I am prone to missing the ! when tired (which is a problem as my project has complex conditionals).

Functions are not always consistent about returning a Boolean either. Bad design/naming, but you work with what you have got.
Yes, I would think so.

The US is the only country I know of that demands income taxes from its citizens when they are non-resident. Citizens of most countries would expect to pay local income taxes only when they emigrate.
Using MinIO and Veeam for Encrypted Backups in Defense of Ransomware
> Use battle tested frameworks. For crypto, for sites, for everything.

In other words, don't roll your own… anything?

Just, no. Down that path is lost knowledge and the decline of our civilization. Enough of us must know the fundamentals. https://www.youtube.com/watch?v=pW-SOdj4Kkk
> for the compiler to warn if a type requires a method to be called on defer?

This seems a bigger ask than what's upthread and than what's necessary in most cases. You just need to make sure the return value is not implicitly discarded. Go linters already do this for `error`.

I have used both __checkReturn and __attribute__ ((warn_unused_result)) in C projects before and both were helpful, easy to reason about when the warning occurred, easy to work-around in the rare cases I really truly did want to drop the result (in Go `_ = ...` is already idiomatic), and useful in semantically varied cases (resource allocation, error handling, pure functions).
I think op meant "salary on the range of the ones paid to US residents" as in working remotely to a US company and getting paid appropriate salary to do so.
Yep. Because you're not a permanent resident of that country.
Ask HN: What feeds do you follow every day?
I love HN and HN community, learned and explored lots of things here with these amazing community, and continuing.

I want to ask HN community to what feeds do you follow every day? Beside HN. Thanks.
> They import the secret sauce from France.

Do you mean virgin sauce (sauce vierge)?

It's olive oil / butter, mustard, parsley / thyme, capers, olives, often anchovies, and some other aromatic herbs.
Not at a FAANG company but I will ask stuff that might show up as “easy” on leet code.

Examples: run length encoding problem or a bit extracting/setting question. I want to see if the candidate can formulate a simple state machine and they understand bit manipulation. I target the bit manipulation questions for firmware/embedded software roles, which very much involves reading and setting bits from hardware registers all day long.
If you're familiar with Matplot on Python, you might find this useful. I've been using it lately
https://github.com/lava/matplotlib-cpp

The posted library does look nicer though.
It's ambiguous, for example.
How do you know they were bad candidates?

That's the entire point, you don't, you only think you do.
my bad, the forum is definitely the place to go: https://forum.leasehackr.com/
I prefer to join the rebels on this one: http://loup-vaillant.fr/articles/crypto-is-not-magic
But why even have any of it? In what other private sector field is there any sort of requirement to continuously re-prove your qualifications beyond your education and prior work experience? The answer is none.

There are fieldS with more complicated knowledge than tech/CS that don’t put their candidates through this type of interview process. Not doctors, nor lawyers, nor scientists and engineers (electrical/mechanical/civil).

The technical interview process is absurd on its very premise, and should be outlawed.
For me personally, if I can't view it without JS, then I'll try the Web Archive version. If that fails, then I just move on to the next article.
Brand Personalities: do you think it's something startups should care about?
Is macOS Becoming Unmaintainable?
And if you had a magical oracle that spat out the two numbers if a solution exists, and otherwise told you no solution exists, you would have an O(1) solution.

Just because you can ask a question whose answer makes a drastic difference between the best algorithm involved, doesn't mean it is a good question.

(and note I said "_almost_ make me dock points...". And if the answer to the question was "yes, the list is sorted", I would _certainly_ dock points off of the interviewer/company if I were the interviewee for not giving that context).
It's not enough to have similar matching at the fs level, applications need to have
the same functionality around, otherwise anything that indexes the fs will have
false negatives before reading the files.

Now, if this needs to be taken care of at the application level, then why have
this misfeature? It'd be better to have a good library for matching this that
could be aware of the language and locale (or maybe multiple lang,locale pairs)
instead of throwing this feature into the fs and call it a day.

Also, if some applications benefit from having insensitive matching, like things
built to run on Windows/Mac, then having a wrapper that fixed the fs access with
this matching library would be enough, no need to force other applications to use
insensitive matching because a single one needs it.
You can look at my GH ID to see the organizations I work in: https://github.com/ChrisMarshallNY

Also, you can look at my SO Story, for a fuller (and longer) picture: https://stackoverflow.com/story/chrismarshall

TL;DR. I stay busy.
Yes, the post focuses around just an on-site interview. At that point HR had already read the CV.
Regarding not reading the CV, that is just what works for me, I discover what candidates worked on while asking questions and follow-ups if I want to go more in depth.
Chinese Mythological Geography
Windows Terminal adds advanced tab switcher, command palette
Writing a shared app shared database tenant isolation database middleware for Django was one of the most interesting challenges I’ve had over the years. The library was 100% tested with Hypothesis to randomise the data, and used ULIDs to allow for better long term tenant sharding and since ULIDs are compatible with UUIDs they can be dumped/propagated into other systems for analysis/analytical queries. It was quite a lesson in what 100% test coverage does not actually prove since I still had bugs at 100% coverage that took work to chase down, side effects, false positive/negatives, etc.
Why not argue for better battery certification and quality control or more tolerant phone designs? You could probably detect low quality batteries with software and sensors and notify the user.
> Bell Labs may not have been able to commercialize all of its discoveries, but humanity certainly got a lot more than Unix and the transistor.

This point illustrates that human benefits and profit do not always align. If we want to focus more on making things that benefit humanity, we have change our system that runs off of profit.
Yes, you can do so!
agreed.

The lack of self-awareness displayed by that comment is kind of impressive. Especially the bit about being so keen on identifying "bad" candidates, not realizing that the entire point is that interviewers are actively bad at determining good vs bad candidates.
Yes accuracy, latency & throughput are the 3 poles we try to achieve, c++ helps with latency & throughput and helps keep the cost low.
> Set the termination protection flag on critical instances (like databases), then they cannot be deleted programmatically.

Well, not accidentally, but the flag itself can be cleared programmatically, so protected instances can definitely still be maliciously deleted programmatically, if the actor has sufficient access.
AES has been a major target of cryptanalysis, and it has held up pretty well. Publicly known key recovery attacks are only slightly faster than brute force, like [1]. There are some efficient related-key attacks, which might be a concern in certain applications, but not if keys are chosen randomly.

It's always possible that the NSA has found better attacks, but I don't think there's anything particularly suspicious about AES compared to other primitives. (For an example of a highly suspicious primitive, see Dual_EC_DRBG.)

[1] https://eprint.iacr.org/2011/449
I do always wonder what the basis of such machine learning rendering is. There's various traits that we, in modern times, associate with good-looking, successful people, and those traits often come back in face databases because those are commonly based on celebrities.

I can imagine that celebrities in Roman times would look quite different and therefore would produce completely different renders for the same pictures and statues.
It is about immutability, at least in the visible API. The stdlib context functions all only expose the `context.Context` interface which has no methods to mutate it. Any "changes" to a context can only be done by making a child context, which also ensures the caller's desired deadline/timeout semantics are enforced as each layer can only add cancellation conditions; similarly you cannot remove values, only replace them.

(Though internally there are some nasty optimizations to chain cancellation with minimal channel waits.)