skysight-inc/HackerNews huggingface dataset:
Yeah, I would really like to see `nix-env -i` recommended far less often, or at least with the caveat that this should only be for testing packages at the most. I still haven't found a good use case for it personally.

One of the big wins for Nix is its declarative nature (especially for reproducibility) and installing packages in an imperative manner like this just seems to put folks back in the same position as using pacman or apt-get. Please correct me if I'm wrong Nix-ers.

Having used NixOS as the main OS on my personal laptop for the past year or two (and loving it), I've only used `nix-env -i` to install a package once, and immediately regretted it after trying to add a different version of the same package to my main configuration files. This resulted in a conflict, which from memory required me to force reinstall the package again via `nix-env` but specify a lower priority so that it could be replaced automatically when enabling the package via my configuration files... A really strange experience that re-affirmed that nix-env is at least not for me.

For testing packages, I would always recommend `nix-shell -p <package>` as a preferred option. Just type `exit` and then you've left the shell, it's no longer in your PATH and there's no risk of conflicts.

It sucks that you ran into this, but also totally understandable. I think generally the community would consider the nix-env approach of installing and updating packakges an anti-pattern these days, but this certainly isn't obvious when reading through the docs.
The degree of premature hair graying as a predictor of biological age
Boeing warns of 737 Max electrical problems
You can force it to use a web app by declining permission to run locally.

The web-app has fewer capabilities (no gallery view, last I used it), but works great.

Also, Meet is fully-featured and runs entirely in-browser.
Useful Idiots
But increased CO2 is strongly linked to the greening effect.

>Studies have shown that increased concentrations of carbon dioxide increase photosynthesis, spurring plant growth.

>Results showed that carbon dioxide fertilization explains 70 percent of the greening effect, said co-author Ranga Myneni, a professor in the Department of Earth and Environment at Boston University. “The second most important driver is nitrogen, at 9 percent. So we see what an outsized role CO2 plays in this process.”

https://climate.nasa.gov/news/2436/co2-is-making-earth-green...
I find it shallow to science just for the results. There is no truth without a process. I am offended that someone could actually take offense of said statement.
Respond to individual points.

I don't have a main account due to social media addiction.
All I have that I'm not seeing elsewhere in the replies is:

ffmpeg -r 1 -loop 1 -i 1.png -i 1.wav -c:v libvpx -c:a libvorbis -b:a 64k -shortest out.webm (clearly this is old)

-max_muxing_queue_size 2048 (magically fixes some errors and microscopically increases quality, a no-brainer on machines with more than token amounts of RAM)
Looks like a great tool. I know people who have built similar things in Java for example... You are competing with Jupiter notebooks and R in some sense here. Is your market
business analyst? Data scientist or something else?

How expressive is your DSL and how easy is it to learn?

A few other things, can I export one of the models I develop to a web server so that I could deploy it to my internal network for someone else to manage?

Can I export it to Powerpoint?

Do you have connectivity to spark, snowflake or a hosted database?
The Space Shuttle Decision
Well, she is dead. I would suggest that both Andrew and Megan (for very different reasons!) are treated worse in the media than Charles, and that’s just within the royal family. Does even one British newspaper like Theresa May?
There have been controls in GitHub to prevent this for a few years now.

It’s also been awful practice to do this for as long.

While I have no skin in this game, my recommendation would be to immediately block all pushes to master from everyone.
Like who?

Anyplace to read up on it? Obviously their ceremonies are full of masonic and other esoteric pagan ritual. THey are a pagan Germanic-druid hybrid after-all.
> The main design motivation of absl::Flags is that the flag definitions can appear in any module, not just main.

Well that's kind of horrifying. That means that command-line arguments are a form of global state, and can silently alter the behavior of the program without the calling scope noticing.

I'm kind of vary of these mechanisms, because I've been bitten by them before. There was a python library I used that read its configuration from sys.argv the first time an object from the library was constructed. I had a rather painful time debugging to find that my script accepting a -b argument resulted in the library switching to batch mode and suppressing all graphics. Dang it, those were my arguments, and the library had no right to go behind my back and look at arguments that hadn't been directly provided to it!
> Either way, expect no HyperCard (or work-alikes) from Apple. But how about other vendors? What about open-source projects? Nothing there, either. Oh, there is no shortage of attempts. And all of them are failures for the same reason: they insist on being more capable, more complexity-laden than HyperCard. And thus, none of them can readily substitute for it.

Eh. Making a calculator in LiveCode is a similar complexity to doing it in HyperCard:

https://subscription.packtpub.com/book/application_developme...

HyperCard and its successors are an accessible way to make very simple, fun little apps. You can use them to make more complex apps, but it's not significantly easier to use HyperCard than more conventional tools to do that. I think the reason HyperCard-like tools are not popular today is simply that there is little demand for such apps.
All members of the Royal family have Bridge names or landmarks in the UK as their codenames for their death.

QE is - Operation London Bridge

https://en.wikipedia.org/wiki/Operation_London_Bridge
NixOS – How Nix Works
also:

tar xvf foo.tar
Wow I am so so so happy this evil fucker is dead! Literally the best news I’ve heard in a while. Now do the Queen.
AWS has been moving in that direction:

https://aws.amazon.com/blogs/containers/deploy-applications-...

(See also https://aws.amazon.com/containers/copilot/)

The catch is that this doesn’t replace a tool like Terraform unless your projects are extremely simple and you don’t have much in the way of security requirements. Once you need anything more, Compose doesn’t have the information you’d need and you’d lose the veneer of simplicity and portability trying to add it in.
"A new survey by MNP Ltd. has found that 53 per cent of respondents said they are $200"

pretty sure the only number that is different from pre-pandemic statistics is $200, used to be $1000. People in Canada have really low net cashflows and believe in real estate as the only form of saving/investment. It is common for people to spend more than 50% of income on mortgages, even after government introduced benchmarking.
https://techcommunity.microsoft.com/t5/windows-hardware-cert...
No, but I understand the rationale. A button click is an input much like typing. Plus, when I want to give a window focus, I'd rather not look for a non-button to click.

But, having clicks work on hover instead of after focus is fine, and simply has a different set of trade offs.
i think prince william has potential. I'm actually quite excited to see what he will get up to
When I run `nixos-rebuild switch --verbose`, it does seem to go through the entirety of nixpkgs. Especially noticeable on a RPi with its slow I/O.
Should've just picked two or more random words that would never ever overlap with anything else. Like "Blind Forest", maybe.
I just handed you the ELI5 version. Would you have been any happier if I had said nothing more than my second paragraph?

I can go out and find somebody else saying the same thing, if that would help. But I'm trying to locate the source of the issue here. I gave you the thing you wanted and you don't appear to have acknowledge its existence. So I'm trying to figure out the actual issue here.
#3 is interesting if you can include some automation from Excel to your tool and possibly RPA.
The quest to make genuinely cheesy dairy-free cheese
> World Wide Web accomplished basically the same thing,

This is incorrect and I'm convinced that you agree after you think it little more. HyperCard was tool for non-programmers. Like spreadsheet.
Web is not alternative to HyperCard. You have to learn web programming to do anything.

We should not get over it, but create replacement or recreate it.
They worshiped Philip because he visited and made a real impact on their life. To my knowledge, Charles hasn't done that, their only connection to him is through the journalists worshipping Philip has attracted. Logically, someone like Karl Pilkington should be the replacement.
SumatraPDF supports it.
We did Celts (Bronze and Iron age), some on ancient Greece, Romans, Vikings, Tudors (briefly, we didn't do Henry VIIIs wives, more about Shakespear), Spanish Armada, colonialism, slave trade, and then loads on WW1 and WW2.

I do agree that more should be taught about the details of colonialism but the idea that British history started with Henry VIII and skipped to WW1 is nonsense.
Not yet, we want to make sure `fly launch` does a good job with Elixir apps first. We're close.
One of the neuralink innovations is having the electrodes installed very precisely via a robot surgeon, which supposedly allows them to make things easier/better/more precise -

https://www.dezeen.com/2020/09/02/neuralink-elon-musk-brain-...

Previous discussion of surgical robot https://news.ycombinator.com/item?id=24311152
There were also the Amiga style guides that were published with 2.0 that detailed how developers should build application user interfaces. The fragmentation in Linux/Unix distributions means that this kind of consistency is pretty much impossible, although FreeBSD does a much better job of being consistent than $majorlinuxdistros.
"safer" until the next zero-day is uncovered
Don't I know it. Even now I can see a headline and know it will have a quote from the founder of the company I used to work for without even opening the article. Most likely the whole article was written by their PR firm, maybe with a couple of stats dragged out of the DB to add authenticity.
>Why not own your opinions and post from your main account?

because anti-union rhetoric tends to get downvoted to hell and is received negatively for some (see for instance, the first sentence of your comment). With how cancel culture is going these days there's also the concern that 10 years from now someone will dig up your anti-union post and use that against you.
‘Bro Culture’ at Camera Maker Verkada Pushed Profits, Parties
As long as whatever crap software people come up with keeps making money, they will keep doing it that way. The sooner something starts generating profit, the better. History of civilization in a nutshell.
Unfortunately the / vs \ (and correspondnig - vs /) war was not resolved.
The 'Forth Bridge' is a bridge in Scotland.

Usually when there are preperations for a future event to hide the markers of what it is there are code names.

Operations for preparing the necessary for the deaths of heads of state are typically named bridges.

The Queens death is (or was) Operation London Bridge.
I built an API for a single-page app – quickly
Microaggression
RIP but how's this Hacker News related?
>"Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell — they are built by functions that don’t have side-effects, and they never change after they have been built. Nix stores packages in the Nix store, usually the directory /nix/store, where each package has its own unique subdirectory such as

/nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-33.1/
where b6gvzjyb2pg0… is a unique identifier for the package that captures all its dependencies (it’s a cryptographic hash of the package’s build dependency graph). This enables many powerful features.

Multiple versions

You can have multiple versions or variants of a package installed at the same time. This is especially important when different applications have dependencies on different versions of the same package —

it prevents the “DLL hell”.

Because of the hashing scheme, different versions of a package end up in different paths in the Nix store, so they don’t interfere with each other.

An important consequence is that operations like

upgrading or uninstalling an application cannot break other applications, since these operations never “destructively” update or delete files that are used by other packages."
Doubtful, he was neither American nor Soviet.
i understand victoria did the same. She was a pretty powerful monarch. Maybe even more so than her predecessors.
Right? It's ridiculous.
"Black power" being blocked but "white power" not is pretty grim.
He was surprised that dolphin bycatch was a big problem in fishing operations labeled "dolphin safe." That probably surprises a lot of people.
Hacker News is a forum for anything of interest to nerds. It doesn't have to be technical or scientific or academic.

The death of a royal may be of interest to nerds.
I read the whole article and still don't know what they discovered. Highly abused and unlikely to profitable or legit search terms are banned...? What was the discovery?
> [T]he oath is made directly to Queen Elizabeth by name, not to the crown in general.

So when a monarch dies does everyone in the armed forces take a new oath?
Anecdotally I know a number of Canadians who have gone vegetarian recently. Financially induced, but ethically reasoned, vegetarianism.
What alternative are you proposing? A planned economy that tries to grow exactly the right amount of food, and results in widespread famine if crop yields are lower than expected? Millions of people would die. "Wasting" some amount of food every year is a far preferable option.
Coming from C++ I doubt Go and Rust would be fun to you so I recommend Clojure.
This is cool. Is there an option to have the heatmap adjusted for population density? Else it will just be a population map.
Ah, thanks. I was fooled by the presence of an Electron SDK from Zoom.
I believe this was docker's (the company) direction for a while, but it was spread across multiple tools. docker-machine does provisioning and docker-swarm runs the compose file on remote hosts.
In the pre internet days, when communication went through various manual means like telephone exchanges, there were codewords known by various people to announce royal deaths without it leaking. The death of the Queen for example has to be announced to all commonwealth country leaders at the exact same time, which means coordination, which means following certain plans, but limiting the information to make sure it's not leaked.

Of course with the internet means they code words are widely known (they were also named on The Crown) - and indeed trending on twitter, which is amusing given how some documentation still says they are super secret. The information can't be easily kept underwraps now as the chance of someone scooping it on twitter increases with the number of people aware of it and the time taken, I suspect there's only a few minutes between the palace announcing it to bbc/sky/itn and the embargo time - certainly BBC didn't have enough time to get Huw Edwards in for example (he's in now)

Other bridges includ(ed)

Menai (Charles - Price of Wales, Menai Bridge is from Bangor to Anglesey)

Tay (Queen Mother, near balmoral which I think was her ancestral home)

London (Queen, London being the captial)

Forth being the bridge at Edinburgh, so makes sense for the Duke of Edinburh)

Not sure if William has one, maybe it would be the River Cam.
>OCaml type system is more powerful than F#

In some ways, on the other hand F# has active patterns and type providers, which are quite magical.
The latest version of something failing to build. Like when the Tor project removes a Tor Browser package from its servers and `tor-browser-bin` hasn't yet been updated in nixpkgs.
I really don't think that world does still exist, at least not quite in the same way. Even on today's Linux systems, there's a huge barrier between using the system and changing something about it. I wrote a little bit about this a while back: https://jfred.dreamwidth.org/479.html

Suffice to say, I think many more people would make small changes that make their lives easier if if were easy and straightforward to do so as a user. Right now, it's not.
Elon Musk unveils updated Neuralink implant design and surgical robot (2020)
Yes, history is a figment of our imagination, every person's misery is due to their own actions. /s
Lol, I forgot that it could even be run in a web browser!
As much as I dislike Google, I don't think there's anything to see here.
Yeah I’ve been running Nix on a home server for a couple years and using home manager on my MBP for just as long. The biggest challenge to learning has been all the examples that use nix-env -i.
> either those file names mean something and you don't have to look at the thumbnail or you should use a better naming convention...

I mean, they certainly mean something, but I just downloaded them and I have no idea what (and definitely not the time to rename them to put human readable information in their name)
Ask HN: Google Requiring Birthday
This week my phone received a couple of notifications from Google stating birthday required. I dismissed them. Today signing in on desktop browser Google won't let me proceed without adding a birthday. A message states it's required by law.

What law? I've used this account since gmail started, now they need to know more personal details? Seems if I don't enter it I will be locked out of my phone and all google services.
Really awesome, simple example.
All well and good until you try one of these commands only to be told you don't have permission. Uh oh, now you're down the rabbit hole when all you really wanted to do was copy a file :)
This isn’t necessarily a vendor-led phenomenon as it is a mutual conspiracy between customers and vendors.

It is a pendulum swing between different members of the industry, some that prefer complexity as the source of their job security, and those that prefer simplicity and beauty (even if there are limitations).

Arguably NeXT IB and Objective C tried to straddle both worlds (and slid into complexity over time with iOS And MacOS)

Also See: Heroku vs Kubernetes
The crown is just a rubber stamp, until it’s not, like in the Australian constitutional crisis
HStreamDB – Open Source Streaming Database
Are explosive bolt more dangerous than a vehicle traveling, say, 60mph ?
> and against people who push their preferences on me.

> The sensible default is to follow user preferences.

> W3C best practice is to let user agent render text as appropriate.

But nothing about including CSS goes against this. CSS is clientside rendering, it has nothing to do with forcing preferences on anyone. Your browser has the ability to override provided styles and either modify or ignore CSS. If it doesn't then I suggest, in your words, "changing the user agent to the one that does, or submiting an RFE to your user agent vendor."

This is why we use CSS. So that we can separate style from content and lay out a page with nice defaults that can still be overridden by the user.

And not only is CSS customizable and overridable, because it's completely separate from content it is also optional. Any of your users can choose not to download your CSS file and they'll get served the exact same HTML content that they're getting now. So when I say that there's no cost or inconvenience for users who don't like your styles, I literally mean that. There is no cost to them because they don't have to download the file. They can disable all 3rd-party CSS in their user agent if they don't want it, and then they don't even need to waste time making an extra network request.

Imagine taking this attitude with other applications as well. Should we be upset that Emacs ships with default keybindings? Is that as an undecidable problem? When I install a MELPA package, should I get mad that the author is pushing their default config on me? There's no downside to having optional defaults that users can partially override or fully ignore at their own convenience.

> W3C best practice is to let user agent render text as appropriate.

If this is genuinely GNU's attitude, then why does this page include style resets?

You're heavily misreading the W3C's position here. Letting the user agent render text as appropriate does not contradict providing CSS, and I've never heard of the W3C advising authors to avoid CSS.
We're all thinking it, but holy cow is FFmpeg one of the craziest pieces of software I have on my computer. The amount of neat things I've been able to do with it and toss them into a bash loop and go to bed is incredible. I'm sure a lot of us get a kick out of automating our tasks, and FFmpeg is king when it comes to that.
Not even just "some" clients for us, but nearly all. Any major "traditional" corporation or public body is not going to let you market or promote generally without giving a huge amount away. Very occasionally they won't argue our default terms for software but will prevent it in a separate NDA.

In my experience almost all references to big corporations are being done according to the "ask for forgiveness not permission" principle. So in GP's comment these companies you could also argue are flying closer to the sun according to law.
Ah, thank you very much!
Indeed, MNP makes this proclamation about once per quarter. I don't doubt that Canadian consumer debt is at an all-time high, and I agree that's concerning.

However, MNP's survey methodology makes the 52% number misleading: they basically ask a sample of the population if a $200 increase in monthly spending would make them unable to pay bills and meet debt obligations, and people self-report if that is the case or not. Most people don't have firm monthly budgets, so this is probably more a psychological excercise than a personal finance one.

Realistically, most people have more "give" in their monthly spending than they realize: if they get stuck with a $200 per month increase from somewhere, they can probably compensate by reducing bills (eg: cutting cable, changing phone/internet providers, shopping at the discount grocery store) and adjusting spending habits.

A better, more informative metric would be to sit down with a representative sample of the population and analyze their monthly bills to find the gap between inflexible expenditures (eg: rent/mortage, debt service, utilities, basic internet + phone packages, reasonable food expenditures) and monthly income. Knowing what the statistics are for that number is a better proxy for how close Canadians are to insolvency than self-reporting. But that's an awful lot of work.
.class for java; .jar is just a zip file with some metadata.
Note that many Western European bike thieves no longer use bolt cutters but battery-powered angle grinders.
While none of these numbers seem all that outlandish, having relied exclusively on savings for quite a while myself, it's worth noting that MNP is a huge staffing agency and it's not clear how their survey was conducted, so might as well ignore it entirely.
I don't know what to tell you. Like I said, that hasn't been my experience for minor edits (I don't have time for larger edits, and the few times I argued on controversial topics it was of course a mess, but that's to be expected: it happens here on HN as well).
but she can't actually use her root privileges too much, like start/stop too many processes (or say anything about brexit)