skysight-inc/HackerNews huggingface dataset:
> But DockerFiles have a really terse, self-evident, trivial to read language. It is obvious what a given DockerFile means even if it's the first one you see.

Is it, though? It's obvious what commands it runs, yes, but that doesn't translate to actually understanding what the end state is, and that's precisely the bit that matters.

Yet that's something you have to infer from a pile of operations that mutate global state, which is precisely the sort of thing that's very difficult to do reliably.

Sure, the result is that a Dockerfile is less code - because you're outsourcing a lot of the "understanding what this does" work to the reader's brain rather than to the code. That's not a good thing.

> Can anybody point me to good examples of beautiful, single-file, complete, self-contained terse nix examples that describe a few simple systems?

It's not completely self-contained (eg. the hardware configuration is in separate files for infrastructure migration reasons and some custom abstractions are used), but here's an example of the actual configuration of two of my servers, warts and all: https://git.cryto.net/joepie91/morph-rc/src/master/configura...

In practice, "self-contained" is something you're not likely to see in real-world usages of Nix.

Sure, people start out with a self-contained configuration, but they tend to discover pretty quickly that configuration is code, and that means that you can abstract out the repetitive and messy bits to separate modules, and now it is no longer self-contained.

Basically, asking for a self-contained Nix configuration is going to yield similar results to asking for a self-contained source file for a piece of software. You'll either get a) non-real-world code, b) a big mess of stuff dumped into a single file, or c) multiple files.
They dropped out of JEDI because they weren't going to win it. "Ethical concerns" was what they got to tell the vocal minority.
When is OpenAI planning to actually solve a hard problem? They have spent a huge amount of money and time creating useless demos so far.

Creating flashy AI demos relatively easy. Creating important AI products that actually operate in the real world is the difficulty.
> If you are putting off having a child on account of money you are doing life wrong. Plenty of large families have non-software incomes and do just fine. They may not be able to eat out but it's a sacrifice worth making.

This varies a lot on where you live and the income. Not everyone in software is making $400k+/yr in the bay area.

Plenty of large families continue a streak of poverty for generations. Poverty and trauma are very generational. If you don't want to continue that streak then you need to get yourself out first.
This needs to be upvoted more. It’s a great view into how internet media is so polarized to one side. Politically, ideologically, and now with the Google Covid scandals.
Wait but what about EmptyMessage and Any? Yes they're both terrible choices for any circumstance, but also widely seen.
I'm more interested in DB's that store protocol buffers, and can expose their innards (like spanner, bigtable, etc.). What's good to use/try on the outside?
I've built a combined python2/3,c,c++,javascript (VueJS) deployment along with hardware-in-the-loop integration testing and compiling for ARM on an Raspberry Pi with Nix. Should not take hours.

Something else is wrong. Perhaps binary cache is not being used? Something is invalidating the builds like a "src = ./.;" which telling the build system to include every single file in the directory in the build rather than using a .gitignore or git-hash for reproducibility. Or someone was using npm2nix (deprecated)?
> Say I happen to install package X via apt and Y via nix, and both of them depend on Z (in apt and nix respectively)

That actually is impossible, Nix will only depend on packages in nix, and nothing else. So whatever you have installed won't affect it.

The important part of Nix on Linux is patchelf[1] basically binaries generated are processed by it, this rewrites elfs to link to libraries in the /nix/store

Regarding syscalls, if you use NixOS then you're tied to specific state of nixpkgs, which also dictates the kernel installed. So you shouldn't run into it. You probably might run if you install Nix on Ubuntu. I don't remember running into it, and I think it should be rare since linux ABI supposed to not break compatibility.

[1] https://github.com/NixOS/patchelf
One of the unappreciated facets of visual languages is precisely the dichotomy between easy dataflow vs easy control flow. Everyone can agree that

--> [A] --> [B] --> ------>

represents (1) a simple pipeline (function composition) and (2) a sort of local no-op, but what about more complex representations? Does parallel composition of arrows and boxes represent multiple data inputs/outputs/computations occurring concurrently, or entry/exit points and alternative choices in a sequential process? Is there a natural "split" of flowlines to represent duplication of data, or instead a natural "merge" for converging control flows after a choice? Do looping diagrams represent variable unification and inference of a fixpoint, or the simpler case of a computation recursing on itself, with control jumping back to an earlier point in the program with updated data?

Either of these is a consistent choice in itself, but they don't play well together as part of the same diagram unless rigorously separated.

A different point is that some high-level abstractions do have a fairly natural visual representation. This even includes the "functors" and "monads" that are well-known in FP. In general, one should not be surprised if category-theoretical abstractions turn out to be representable in this way. (Many visual languages actually turn this into a source of confusion, by conflating operations on an atomic piece of data with operations on a stream or sequence of singular data points. A stream is a kind of functor, which is why it (with its peculiar operations) is endowed with a simple representation in dataflow. But there are other functors of interest.)
Bear is a gay "trope" or whatever it's called, so I would never make that query as is! Might have had better luck with "naked bear -gay -man"?
Annecdote: My dad collects plastic model kits. A major model kit company asked him if he could scan the lid of one of their products they made decades ago, so that they could have the artwork to re-release the same model.

I think LEGO Group is good about this; they have a vault containing a copy of every product they ever made.
You meet Bill. Bill wants to work for you. Bill is a nice guy and is qualified to do the job.

You run a background check on Bill. It turns out that Bill has a criminal history including charges of assaulting an officer and cyber-stalking an ex. Is your opinion of Bill affected in any way? Of course it is. Bill has a history of making terrible decisions. You would be remiss if you didn't question his temperament and fitness for employment.

Point being, Rebecca has a history of making bad decisions. How does that not affect your take on whether on whether she is a credible accuser?

This isn't a '2020' thing, it's a 'having all the data' thing.
I dunno. I'm simply recalling what I remember as best-practices by memory, could've been wrong about some of them, but for my own protobufs that I use I keep the same practice.
exactly. I left the US, and there are just way more young couples with kids here. People generally live near their family and have support and won't drop everything chasing jobs thousands of miles away. During lockdown we're staying with my in-laws w/ our 12 onth old, and don't know how this will not continue especially with two kids. Restaurants, long haul travel, bingeing TV, all that stuff are just superficial luxuries of modern life and not the norm and highly overrated IMO. It's time to return to a simpler life. Focus on family, free outdoor activities, vacations are simple road trips to nearby locations, camping and so on.
useful fix :)
I remember my friend borrowing the soviet disc and never giving it back... Til this day I've never played the soviet campaign.
The article is an interesting read as far as the history of the plane and various anecdotes about it are concerned but it doesn't really say why it's still so "badass" nowadays, after 60+ years: is it primarily (1) popular because it's so good (technologically superior, perfectly fit for purpose), or (2) good because it's so popular (i.e. attained a critical mass of people familiar with it)?

Then, as it turns out, this is actually a series of articles on different planes, and Cessna 172 is only #21 out of 25 in their "badass" ranking: https://www.popularmechanics.com/military/aviation/g28612977...

The ranking includes all kinds of planes lumped together, some of which are obviously listed because of their technological ingenuity (SR-71 or the Concorde), while others were "workhorses" that outlived the original expectations towards them (like the C-130 and DC-3). Which of the two categories does the Cessna 172 belong to?
I don't think people understand how large of a funnel VS Code is. Half the keystrokes I type in a day end up in a Microsoft product, as I dev on a mac and deploy to Linux. Crazy times.
> What "platform" of theirs has MSFT open sourced? Which of those were an important platform of MSFT?

Uhh, .NET?
I don't agree with it being automatic there either.
The GP would be terminating the wireguard tunnel, so they could have access to the traffic inside the tunnel.
Done! I made a fixed button that changes between the themes ^^
Small claims court - sure it is. Depending on your state lawyers may not be allowed. Which I would argue that in small claims truth would be much easier to obtain without lawyers on either side.
Does it matter? OpenAI is run as a research lab, not a startup. If they run out of money, the investors will eat the loss.
Implemented that and more improvements in the v1.1 release https://asvvvad.github.io/mono-color/
As far as I know, it supports all the awk features specified in POSIX, but doesn’t include the extensions added in gawk or mawk.
Here's a link to the source comment: https://www.reddit.com/r/programming/comments/gnazif/ray_tra...
I suspect that someone being the auditors who are suspicious of opaque binary caches and insist on building everything from scratch.
But mainly for that reason, I would like to keep as much as backward compatibility, and if I have need to add a field, I can do it without changing some other function. (If need to, I'll add it in both places). Hard to tell really, for some things it might not make sense at all.
Have you looked at phalcon at all for PHP? Since it’s written in C it’s much faster than even compiled PHP.

https://phalcon.io/en-us
The idea that this much money is “a rainy day fund”
is a bit fatuous, in my opinion. In my mind, a rainy day
fund is one that might be enough money to cover the
finances of the church for a year or two in the case of a
massive financial downturn or even a full-on depression.
Let’s say it’s for five years, even.

- The Article, January 2020

Aged like milk...in less than half a year.
In the “old days,” ICs used to be dually sourced. For example, Intel created and manufactured the 8086, but AMD also manufactured them. Not a perfect solution, but better than one single manufacturer. Sadly, one can’t really do that now because of how small the features on chips are getting.
what's it like living above a yogurt shop?
It's totally possible to introduce mutable, non-reproducible state on a system that uses Nix, even if that system is NixOS. However, you can't do so in your Nix store, which is where all the Nix-installed things live (at least, not without a lot of hackery - Nix tries very hard to make the entire store immutable).

Basically this works out to: anything you install or configure with Nix, is immutable and reproducible. Anything you don't is at your own risk. Unfortunately there are still some "pockets of state" that haven't been solved yet, most notably applications storing state in ~.

For most every language dependency management system, there's a Nix equivalent of some sort that allows you to manage those dependencies without invoking the non-reproducible mutable tooling.
Part of the removed code:

test("guy", function() {
assert.equal(typeof babel.guy, "string");
});

Facepalming so hard right now
That's what I did with my website. Still tweak it every now and then, but it's nice because 99% of the code is mine.
There is a way to deal with the latest round of developer-hostile changes from Apple:

https://github.com/NixOS/nix/issues/2925#issuecomment-604501... documents the workaround but if you don't have a direct link it's almost impossible to find because GitHub's UI is terrible.
No, a1369209993 is correct - 亻is the combining form of 人 (the "单人旁"); 倉 uses the more basic 人 form.
It's was great but then we improved our work flow patterns. Make is really limited and ugly by today's standards. I mean you have to use tabs for Pete's sake and if you include a single space the program will break. It's dated software that should be abandoned with either evolution or revolution.
Still waiting for Apache dril.
I made a section for this on the site[0] and gave man examples on how to switch themes including automatic CSS-only, JS, and server side. It's still a CSS-only framework those are just tips and the toggle button is for showcase ^^

0: https://asvvvad.github.io/mono-color/#usage
It is in the sense that the author did specify AFAIK the bounds within it should run, no?
I hope you can come back in a day or so, and re-read this conversation. You're not being very nice, or fair, and it doesn't portray you in a good light.
https://en.wikipedia.org/wiki/Crash-only_software
Pick silly axioms, get silly conclusions.

If it were genuinely the case that human life should be maximized, we should lower everyone's standard of living as much as possible (it consumes resources), and then force everyone to have as many children as possible.

Of course, that would also maximize human suffering, but apparently human life is intrinsically good regardless of suffering, so not a problem.
You say that capitalism is broken, but the capitalists are all doing very well, even as everyone else feels the pain.

If the capitalists are doing very well, then how can you say that capitalism is not doing very well?

To answer this question may require you to undergo a paradigm shift.

Think about it.
"Same execution environment everywhere" is one way which developers use Docker. Docker gets this by copying the layers of a built image. Unlike nix, the image building itself doesn't need to be reproducible. So you can have a Dockerfile which works now but will fail to build in however many months.

"Reproducible builds" do get you "same execution environment everywhere". But they have the stronger guarantee that for the same inputs, outputs will be the same.

IMO/IME, I don't think that aspect of nix is a strong selling point for use of nix on developer workstations. Probably thanks to less-elegant solutions like "<language> Version Manager" etc..

But I think the nix language makes for a nicer way of describing a package of software you're developing in terms of dependencies and outputs than Dockerfile.
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or THE RIGHT OF THE PEOPLE TO PEACEABLY ASSEMBLE."

-The First Amendment to the United States Constitution
>> Say I happen to install package X via apt and Y via nix, and both of them depend on Z (in apt and nix respectively)

> That actually is impossible, Nix will only depend on packages in nix, and nothing else. So whatever you have installed won't affect it.

You misunderstood the scenario. X, Y, Z are package names here. Like Z might be openssh, and it might have dependent X in apt, and Y in nix. You'd get an apt installation of Z and a nix installation of Z.
If you google with define knows lesbianism. This dork makes a dictionary of your search result :

noun
sexual attraction or sexual activity between women

https://www.google.com/search?q=define+lesbianism
> I am not sure if native speakers are involved in Unicode standardization at all.

Definitely. For Georgian alphabets that were one of the original scripts included in Unicode 1.0, as an example, the reference fonts were designed by Georgian type designers Anton Dumbadze and Irakli Garibashvili. If something was very off they must have noticed that.
I don't know. If that were the case, I'd imagine they would know why their build was taking hours and that it wasn't a Nix problem.
I also know a handful of people who can pull this off while not messing everything up in the process.

But most people do, I can't count how many bad reinvented wheels I met in my PHP time. It was rather refreshing to use Node.js with NPM, where I could simply install all I need.
Buried in that issue is a workaround, although GitHub's UI hides it from you: https://github.com/NixOS/nix/issues/2925#issuecomment-604501...
The 206 is great load hauling beast, not had the chance to fly one myself. Plenty of time in the 172 and 182, had a 172 for awhile.

Mostly agree about the DA-40, but I'd actually put it ahead of the current 172. It's a bit faster, great vis, and super sweet to fly.
> "We don't throw people into psych hospitals unless they're at imminent risk of successfully committing suicide - we don't do admits just for suicidal ideation."

Right, which still means that the patient has to very carefully manage what they say. If they are prone to exaggeration, colorful metaphors, or are feeling just absolutely miserable enough to say something they don't really mean out of pain or anger, they may spook the clinician into putting them into an "psychiatric hold" (e.g for California: https://en.wikipedia.org/wiki/5150_(involuntary_psychiatric_...) which can last 72 hours or more. Remember, just like half of developers are below average, so are half of clinicians and you won't know which is which until it's too late.

All of this is not to say that people suffering from mental illness shouldn't seek treatment. Just know what you're getting in to and how to get out of it if need be.
Well, that's true, but the Swiss Franc is not available in enough volume to be a reserve currency.
I’ve got a top-spec Octane2 with all the development tools that’s languishing and needs to be put to work.

I’m sure I’m not the only one (though the number is vanishingly small). It’s difficult to know how large the community is without nekochan.

Hope springs eternal. :)
Antivirgule, of course.
Seems like the 172/182 planes would fall under the 'workhorse' category. Still being produced new 60 years later without being phased out for something newer is a pretty impressive testament to the design.
Thanks!

I've used jadx once before to decompile a steamship line app, but it was just curiosity with no end goal in mind. Didn't try it with the chipotle app.

Next project!
Perhaps they hardcode full paths into whatever Nix calls its formula files (which are then, if I understand correctly, referred to by their cryptographic hashes, meaning that a file with a different path would have a different hash, and so break the whole hierarchy of formula-to-formula dependency references above it.)
A messy pile of unnecessary, redundant abstractions which "solves" nonexistent problem.

Stable interfaces (the main principle behind literally everything in nature) and semantic versioning will do the job.

systemd-like cancer. And, of course, look, ma, I am so smart.
Those busybodies are merely ensuring that cheaper food becomes less accessible.
Please take your badly-informed language bashing elsewhere.

I actually audit dependencies for a living, and the dependency model that JS uses is far, far preferable for auditability over the "monolithic tightly-coupled framework and a mountain of custom badly-maintained copy-pasted business logic" approach that is widely used elsewhere.
Ask HN: Paid code review as a service?
Howdy!

I'm looking for a Vue.js developer to review some of my work and help me with a few environment questions.

During a search I found [1] and [2], but except for one, the sites mentioned in these threads are dead.

Any other recommendations?

[1] - https://news.ycombinator.com/item?id=15842816
[2] - https://news.ycombinator.com/item?id=4581810
So much misinformation and FUD in this article. It's immediately suspect that the author had to lookup what websockets even WERE. No mention of the permissions system? This is a super low-quality article to make it to the front page.
...also, the existing frameworks are either unmaintained or god-awful (I'm lookin' at you, web development community).
Unreal engine has a visual scripting system called blueprints. It’s very strange to follow the logic, the work is mouse heavy, code review and merging is hard, and it feels very convoluted compared to actual programming. However, the visual scripting for materials/shaders, particles in unity, and ai with behaviour trees is quite nice.

Visual scripting is growing but it’s better for some things than others
>Without the mongols, we don't have the italian renaissance and modern europe and without modern europe we don't have modern civilization. The empire created by the mongols is why marco polo went east. It's also why christopher columbus set sail. Without the mongols, we don't have the new world.

I'll take whig historiography for $500, Alex.
Art 4.7 Released: ASCII Art Library for Python (+ Font Typo-Tolerance)
Seems like now there should be a universal map format and then a compiler to target different backends. I know each engine has its own capabilities and bugs, but it would be sweet to be able create a level using a universal format and run on unreal, unity, quake3, etc.
https://github.com/Microsoft/service-fabric
Fun fact: In the some countries (for example the US) you can fly solo passenger ultralight helicopters & airplanes with no training or legal requirements as long as it’s in unregulated airspace. Warning: Doing so likely end up resulting in serious bodily harm, if not death.
Jalopnik has at least two odes to the Camry

https://jalopnik.com/apologize-for-nothing-when-you-own-the-...

https://jalopnik.com/this-near-mint-20-year-old-toyota-camry...
I probably will. It may have come across harsh, but wasn't intended as such. IMO i outlined the reasons why sufficiently in my post and edit.
Unfortunately, voting people out doesn’t really work when a good chunk of people actually side with the person you’re trying to remove.
> And after a while, I was wanting a way to have the keyboard and all its layers in front of me, as text, and to just simply say in a consistent way: "I want this key to switch buffers, that is, call `other-window` when I press it" or, "Have this key jump to previous position, that is, simulate a `C-u C-space` when I press it".

I feel like there's an entire subgroup of EMACS users rediscovering why vim is so popular.

Of course, this doesn't account for the motion/verb aspect (where you map commands to verbs, like `dw` (delete word) or `d}` (delete paragraph)), but what you're essentially talking about is a form of modality, albeit universal modality for your keyboard.
I stopped using Roll20 but switched to Zoom chat. Zoom chat has much better video chat support, also has a private chat function, and for our game, we could do without the "whiteboard" and the computerized dice rolling. It also would kill my network connection. It was a horrible experience.
If I’m a minority in my area, does that count? Who is the minority in Southern California, Atlanta, Miami, or how about Queens where 48% of people are foreign born. Or are we just talking about black populations?

This is a serious question. If you are offering up loans based upon race, is this racism? What if the minority in the area is white? Or the minority in the field is white? If he said “$100M to only white people” would it then be racist?

It’s his money and he can do as he pleases, I’m mostly talking about societal ideology in general.
Targets of T cell responses to SARS-CoV-2 in humans w Covid-19 and unexposed