skysight-inc/HackerNews huggingface dataset:
> If this is correct, then I would correct my wording

You should want to correct it regardless of the outcome of that "if".

The fact is, (a) you are carelessly speculating about details when we are right in the middle of a mess that was caused by rampant speculation—the fact that contradictory testimony and video happens to exist is not what made the claim unkosher—and (b) even if you weren't wrong and were recounting pure facts, you are derailing the discussion.
This was 10+ years ago, but I remember something like the installed Python package had a caching bug that was affecting production. The update wasn't compatible with some OS scripts so the machine would no longer boot using the updated package. Problems like that came up fairly often, but I remember that was the most egregious.

Another scenario is that the OS shipped with Python 2.5 (supported until May 2011), but we had third-party tools that required Python 2.7 (shipped July 2010). Switching OSes (where things like monitor or hardware drivers weren't yet supported) was a ridiculous pain to test and certify. Decoupling OS and Python+package versioning was a huge relief for everyone, but won't make sense for everyone.

> Absolutely not. I expect a serious user of that library on an apt based system to package it and submit the package to their distro.

I try my best to personally do this and push for a work culture that does this, but even if this was done I can't fathom waiting on an OS update for existing code to percolate down. The risk tolerance, scope of concern, and agility between an OS and whatever project pays the bills are very different.
And they've been delaying this for months. Last time on April they've said on Github that 5700XT support should be roughly available in 2~4 months, and its already November.
Swapping in a multi-vendor world also implies standardization. It’s too early in this technology to standardize - that would stifle progress.

Swap stations would also be far more expensive to build and manage inventory for, and would carry higher liability for whatever automated mechanism moved the thousand pound pack packs around when it e.g. went out of alignment and crushed somebody’s car frame.
Bay Area Home Purchase vs. S&P 500 (2014)
A positive case for how we might succeed at prosaic AI alignment
> I just ask in the very first appointment before I consider hiring that doctor to help me.

Ask what?
Ask HN: What's the minimum resolution my app should work on?
Hey HN,

I am building the app for iOS and Android and I want to ensure it works well for most of the people. This includes people with smaller phones such as iPhone SE (1st gen) and Android equivalent.

But I cannot figure out what is the Android equivalent? (just spent 2 hrs researching without good answer) What is the minimum resolution I should be designing for if let's say we want to support almost all the phones released in last 5 years (SE 1st gen was released in 2016).

Android studio still gives you the option to select Nexus One (320 x 533), but that was released in 2010, ideally I don't want to limit myself as much.

What is you recommendation?
The Prepared is weekly newsletter which has had some great engineering content. Last week there was an interview about the trials of making a folding bicycle wheel.

I've been a follower for a long time but haven't been able to allocate funds for their paid Slack channel.

Site: https://theprepared.org
Further research needed probably. But it doesn't seem to be far fetched to guess that what you do influences how you work.

I think you can notice high frame rates. Difference between 60 and 120 fps is striking. Even between 90 and 120. And everyone I was showing my phone that does 60, 90 or 120Hz could see it.

Conversely I don't see much difference between 120 and 240 fps.
I hate password rules
It is because of the cookie banner. It makes the rest of the page grayer to highlight the banner. Once you close it, it is black on light-gray, which is actually the most palatable combination for me (reasonable contrast between text and background).

Yet another reason why cookie banners suck. I'd say this site's cookie banner is less sucky than others, actually.
> Again, if all python package were up to date as in "working together at this point in time" then `pip upgrade` would work.

That is impossible, it will never happen. Packages will have different maintenance cycles, some will get deprecated, others abandoned... You can't base your upgrade policy on an impossible situation.

> Are you sure you checked in the `*.dist-info` directories? There should be one per package, containing: a METADATA file, with all dependency versions, a RECORD file, with every installed file and their hash, and much more! see for yourself ;)

I know, but pip doesn't track all of those all the time. An example that has happened to me multiple times: install package X that depends on Y <= 1.0. Good, pip installs the proper version. Now, on another command, install package Z that depends on Y >= 2.0. Pip will install Y >= 2.0 and won't care that package X is now broken.

> - in my point of view: this is a maintenance problem in the python packages themselves, caused by the general practice of pinning

Regardless on your views on pinning, it's a problem in pip. A version conflict should be reported as an installation failure, not allow you to continue.

And again, version restrictions will always be there. The "live at master" philosophy only works for small groups of similar output capacity. It won't work for an ecosystem as wide as Python. Even without version pinning, you'll still have packages breaking because another one was updated. Sometimes it will be necessary, such as for example a package dropping support for a feature that another one needs.
Government Scientists Recover Hypothesized Crystal from Deep Within Earth
The PSF won't fix it, its members are the problem. Dozens of people profit from useless churn that results in billable hours, and they actively purge anyone who opposes.

Switch languages, this is a lost cause.
We could use a bit less wildly inaccurate stereotypes than "extremely puritanical USA". Please consider updating your views of our country from the 18th Century. Imagine if I went around ranting about "extremely Catholic France".
Sheffield Uni's classic IT disaster in abandoned £30m student project
Hackerrank DMCA Notice
it's almost black (#0b0c0c) on almost white (#f3f2f1), you can this by inspecting the CSS
The real propeller was the friends we made along the way
How do you feel about immigrants? All nations indoctrinate their citizens for decades: you must be loyal, patriotic, etc. Yet we see immigrants. At what point is it ok to do business with an immigrant? After they get their citizenship (2 decades)?

What about American citizens with dual citizenship? Is it ok to do business with them?

People who start their job search before quitting their current job? Should they be considered at all for employment.

People who convert from their religion at birth? Can they be trusted?

Is it ok to be unfaithful before marriage (dating/cohabiting), before you met the person you are supposed to be with the rest of your life? Is it ok to be unfaithful after marriage has ended (dating/marriage)?
Rands in Repose is great. https://randsinrepose.com/
> It's holding JavaScript to its own higher standard: <script src="..."></script> is dead simple, and trivial to understand and get working.

The most simple example is almost never a representative example that can be used as a standard to hold the whole language to.

In the same vein, one could say: "See how easy it is to build a C program with `gcc main.c`? Why should I have to figure out how to use make?". And the answer is simple: Most projects that go beyond a toy example have much more elaborate requirements(/whishes), like "I'd like to reuse code that another person has written in the past so I don't have to do it".
The ISS would have fallen out a window if it wasn't in orbit.
> Python packaging needs to better serve the needs of python developers, not those of sysadmins.

Please substitute s/sysadmins/users/, and realise your developers are users too.

I've been doing Python for almost 15 years; and I'm getting really fed up with some things. Packaging is a mess. Distribution is a mess (for servers/IoT - Docker saves the day; for desktop - I feel like giving up). Managing the installations is a mess; upgrades can be impossible - I'm hard-stuck on Python3.6 on one project!

I find myself rewriting many smaller tools in Go or Rust, just because I can upgrade the toolchain at any time, and/or ship a static binary. But Rust has a very high barrier to entry, and Go tends to be simplistic.

I'd fully jump ship today, but Python has just too much momentum behind it.
There is an extension to set the new tab page to whatever you want...

https://chrome.google.com/webstore/detail/new-tab-redirect/i...
OAS Application
Vimium C – Extension to navigate website by keyboard shortcuts
Once I tried to use them, but forgot what was the issue... first of all - couldn't easily google on how to use it and then I think some legacy stuff was there that couldn't be used in .NET 4.7

> Code contracts aren't supported in .NET 5+ (including .NET Core versions). Consider using Nullable reference types instead.

https://docs.microsoft.com/en-us/dotnet/framework/debug-trac...

I didn't work any .NET Core version, but... could someone maybe provide some material/blogs/examples on how Contracts are to be used?

Statically verifiable arguments (where possible) are a dream that hasn't yet come true for me...
RISC-V Handles All Traps in Machine Mode by Default
Cars of the past: 1962 corvette convertible
> I have a couple of files, one for local one for production. About 50-70 lines each

I don't think you realize how hellish this sounds. I haven't had >100 lines of build configuration in any other environment since my configure.in/Makefile.am days, and even that was more transferable to other tools than Webpack, which is only good for Webpacking.
> Python packaging needs to better serve the needs of python developers, not those of sysadmins.

Use Fedora, or Arch, or another developer-oriented distro.
As part of project Loom, these green threads were called Fibers, not VirtualTheads. Did they change the name?
Ohio sues Facebook alleging it misled public about its effect on children
Ask HN: Where can I find agencies that work on promoting crypto projects?
Agencies or freelancers that work on promoting cryptocurrency/blokchain projects.
For the downvoter: Stephenson used to be an advisor for Bezos-owned Blue Origin for 7 years; supposedly he developed at least some of these far-out space launch and orbital mechanics ideas during that time. It's just a facetious comment and I'm not seriously saying Bezos owns the thoughts in Stephenson's head. However, I wouldn't be very surprised if there were some BO-affiliated patents or research papers along similar lines that bore Stephenson's name as well on them.
You don't grow until you explode so i don't see why other things shall always grow.
Number of databases vs. number of records (1979-1997)
That looks very cool, and very wise to use git as the actual storage system. Means you have a chance of people actually using it.

I have one question: how do changes to files in the working copy automatically update the current commit hash? Do you just calculate it on demand, and then actually make the commit when some command would move to different commit (`jj switch someotherbranch` or whatever)?
yes I agree, but the transparency between the people involved may be compromised.
> It's not always possible to get certificates from Let's Encrypt for local network only services. In a big corporate environment jumping through the hoops necessary to deploy keys or get things into a DMZ can be near impossible.

You're not wrong, but if you can go through the paperwork to add a CNAME to external DNS, your team can use DNS validation to verify host record ownership for LE/ACME:

* https://github.com/acmesh-official/acme.sh/wiki/DNS-alias-mo...

* https://www.eff.org/deeplinks/2018/02/technical-deep-dive-se...

* https://dan.langille.org/2019/02/01/acme-domain-alias-mode/

Seems not many people know about using dns-01 for internal-only hosts.
French flag changes colour – but no one notices
Why do people overload common nouns so much when naming a project? A name should confer its essence.
>>>Other comments have responded robustly to your depopulation comment.

Were you refering to yourself when created this new account?
Head Over Heels was just this big, contiguous, charming world full of puzzles, all contained in my tiny Spectrum. It was a pretty rare feat in the 80s to conjure a huge world so effectively. The whole game just shone. And so few pixels!
Download Panda Game Booster APK 2021 for Free
It's not the 90s any more, but it could be still the 1920s (the Polish-Soviet war), or the 1930s (the Ribbentrop-Molotov Pact and the subsequent attack on Poland), or the 1940s (the communist regime being installed, with all decisions controlled from Moscow), or the 1970s (Poland being prepared to become a nuclear wasteland in case of a large NATO-Soviet confrontation, presumably against our national interest), or the 1980s (the Polish state of national emergency, imposed thanks to Soviet pressure), or the present day (where Russia and their satellites can threaten to turn off our natural gas taps for political reasons).

In short, at least one country has legitimate reasons to never trust Russia. Since around 2011, Russia has not given a single reliable signal that it's about to change its colours, or that they got rid of the old military attitudes. Instead, they've been provoking as much as they want.

IMO, economics are important, but national survival is also at stake here.
Worse than password rules, are when sites disable the ability to paste in the password in the 'confirm your password' field. Forces users to reduce the 50 chars crazy password they wanted to set using their preferred password manager with a less secure version.
There actually exists a solution to unite the distros packages with the developer ones: Nix (or GNU Guix, if you prefer that).

And yes, both 'are' a Linux distribution too.

https://nixos.org/
https://guix.gnu.org/
Nix solves a lot of Python packaging problems and I'm a happy user. But you lose some of the convenience of plain pip. For example, with Nix, it's no longer easy to mix and match versions of different packages. You just get the package versions that happen to live in the snapshot of nixpkgs you're using. If I want to use an older version of a package than the one in nixpkgs, I now have to add an override for that package and pray that changing the version/hash is enough.
In my view skipping boat every ~2 years on average is the result of a bad situation. Maybe people feel they have to do that to increase their comp or advance in their career, but I'd much rather stay in one place for 5-10 years growing it and growing with it.

I'd also wager that a good workplace that provides autonomy, fair compensation, strong peers and a good atmosphere will not see 2-year average attrition.
Is this moronically awful website meant to be funny? Maybe this guy has something good to say but I’ll never know as the site is unreadable
Your example showcases a relationship that is perfect in all aspects other than sexual. Many relationships are not that. In many relationships emotions may go sour, trust may fade, etc. before sex becomes dysfunctional (think about the existence of makeup sex), all while both partners choose to remain in the relationship for entirely rational reasons. And as time passes, making the choice of divorce becomes harder and harder. But indeed, the topic of is so very nuanced even in cases like the example. From an outside viewpoint, there theoretically might be better alternatives but people are complicated.

A divorce, at least in the short term, is a lose-lose proposition, except:

- cases where either one is in a life threatening situation (most usually women due to domestic violence - a death-lose situation)

- cases where the law allows one to have net gains at the expense of the other and do so repeatedly (in this case marriage and divorce become a wealth transfer strategy - a win-lose situation)

In the above example, theoretically, transitioning to an open relationship would be a better alternative, allowing both partners to compartmentalize the dysfunctional parts of the relationship. But this solution is not always plausible. Proposing such a solution is not plausible in many cases. Even pondering such a solution may not be plausible in many situations. Because, in many cases, simply having it known, that such an idea was given though, is enough to unravel relationships. See all the comments that vilify "emotional cheating".
> I would have one package manager that installs everything into a global package cache, and then pick the correct version of libraries at run time

Essentially what Bundler has done for Ruby since pretty much forever.

I would love to see this pattern elsewhere.
Well, Google paid for my employer to migrate to GCP from AWS.
>Building High Integrity Applications with SPARK

What did you think of this book? I'm thinking of picking it up, coming from a non-Ada background.

>I typically enjoy conciseness, and at first I was put off by Ada's verbosity, but then I think my old memory of Pascal clicked and I am enjoying the experience.

Ada is verbose, though is it complex? I've been reading some Ada looking to use it for some projects and I like what I see (SPARK and the type system especially). I just worry about complexity... I use C++ for my work and I hate the language for it's messiness and complexity and the myriad of footguns. So I was just curious what you thought of Ada's complexity coming from a far simpler C (well, I guess the complexity in C is hidden... but I digress).
Thanks for the update. I'll be sure to keep an eye on this thread. https://www.advancedmd.ltd/
You don't have to do anything; you don't even have to use the software in the first place. All I'm saying is that often the choices do make some sense when taken together, or at least more sense than combining some of them with patterns that weren't considered in the design, and thus will work better for you. But if that's not the case for you, or if you don't believe that to be the case, then don't - nobody's forcing you.
I don't think there's anything wrong with running a conference in a language other than English. It just won't be accessible to me (and most others in the HN community), and that's OK.

My comment was a regrettably rude way of asking if an English translation is available elsewhere, and fortunately it worked :)
I can relate to the article so much! Even though I'm familiar with node.js and npm, my approach to frontend is also index.html and script.js with no build tools. This way I can at least know how it all works and fix it when something breaks.
I realize this is just for prototyping but it looks like it just spits sprintf SQL strings into the database.

While not a security risk if done locally, why not just use a where string builder to generate the $ values and a variadic as the input? It's about the same amount of work.
> They even create a fake venv command that tells you to please install python-venv.

???

$ apt-file search /usr/bin/venv | wc -l
0

I do agree with you however that python3.9 should be moved into libpython3.9-stdlib, and hence be available to all installations.
some technical papers, not all.
You know, naming is one of the two really hard problems in CS. But there is apparently a hack which is to open dictionary on random page and point your finger on random word.

My next application is going to be called Toreutics which is going to break this word for every person that actually uses it.

Kinda like breaking the word Meta. Which I suppose is actually aimed at making things difficult to search for.
Yes. As ideas were prototyped it became clear that Fibers needed to be Threads or there would be too many rough edges regarding compatibility and concepts that developers would need to keep in their heads.
Your comment is not updated for 20 minutes, so it's effectively dead. Please, write a new one.
I understand.

Is there any reason you don't (or perhaps you're not aware that you can) use the branch upstream info for this?

Whenever I work on a branch called "topic" I do the equivalent of "git branch --set-upstream-to origin/master" on it. That means that all of:

git log @{u}..
git diff @{u}
git diff @{u}...

Will use that upstream point (@{u} or @{upstream}). What does this have to do with rebase? If you do:

git rebase -i

It's the same as doing:

git rebase -i @{u}

That's probably not exactly what you're asking for, i.e. if you've got a history since master of:

A foo
B bar
C !fixup bar
D !fixup bar

You'd open an editor with A..D with that, whereas you perhaps only want B..D?
I tend to enjoy the topics that Dan Luu discusses, but his "wall o' text" presentation can be somewhat intimidating. It's better on a computer, than on an iPad.

He's absolutely correct. I'm not sure that anyone in the industry (that can do something about it) cares, though.

Nothing will change, until C-suite pocketbooks start getting impacted. As long as people are willing to pay for the type of software generated by organizations that treat ICs as "LEGO blocks," then it will continue.

For myself, I care -deeply- about the Quality of my work. I. Simply. Cannot. Bring. Myself. To. Write. Crap.

Since no one is interested in paying me to do it, I write for free. I'm very fortunate that I am able to do this.
Nope, just a long-time listener, first-time caller kinda deal... was just surprised that everyone seemed to agree with your first comment, but took such issue on depopulation.
For local-only access, you could run your own CA. I found gnoMint to be quite easy to use to generate and manage certificates. It does everything in an SQLite database. I do this for OpenVPN, but you could do it for web services just the same.
They could have a separate environment for "system" python which excludes pip and is deliberately obscure (i.e. not /usr/bin/python).
> All nations indoctrinate their citizens for decades

What has this got to do with anything? Being told by your country you should feel a certain way is a one-sided arrangement. It's totally unrelated to voluntarily deciding to make a promise to someone, and arranging for all your friends and relatives (and god, if that makes sense to you) to be present while you make that promise.
A relationship or marriage is something personally that you decide to commit to. You are making a promise to them, a commitment to that person, on the very deepest level.

You are implying that the national indoctrination is the same, but it's obviously not. Lots of people have to listen to that indoctrination but doesn't agree with it. Loyalty cannot be broken when it was not given in the first place.
> Are ROCm and HIP considered any good?

I don't even care - yet. AMD hardware support has been criminal. Maybe in a few years we can talk about a parole hearing, then another year of probation, then we can talk about reintegration into society.
In DMZ, it still has an IP from private range, ergo, still treated as internal -- it doesn't matter whether it is in the same subnet as your users, only whether it falls into the range that the browser considers private.

So it doesn't solve anything here.
No, I’m not. I already showed you that Amazon isn’t the majority in the USA. Prior to Covid, when everything was shut down, Amazon was only like 20ish percent.
Npm is absolute hell.

One thing that people do like about JavaScript is that you can import multiple versions of the same package. This solves that depA requires 1.0 and depB requires 2.0.

However this makes auditing nearly impossible. Small projects can end up with well over a thousand dependencies that is just unmanageable.