skysight-inc/HackerNews huggingface dataset:
How to update your OpenFaaS functions automatically with Argo CD
A physicist can be a good multi-disciplinary, quantitative problem solver. I think the reason is that physics doesn't "own" very many practical techniques, so we are constantly borrowing from other fields. Physicists also tend to keep their math skills after graduation. Most program well enough to be dangerous, and with a bit of guidance can become good developers.

I got a BS in math and physics, then continued for a PhD in physics. Today I work for a company that makes measurement equipment. We have engineers from most of the traditional disciplines, but they tend to be silo'd, and happy to avoid math and theory. Unavoidably, understanding (and proving) how the product works involves a combination of mechanical, electronics, data processing, statistics, and so forth. My long term role is to be the person who understands how the product works, not only acquiring domain knowledge but creating it.

The deal is that physics isn't an exclusive guild, and there are people in other disciplines with similar inclinations, but they're as rare as physicists. So I can't tell you why you need a physicist at the exclusion of any quantitative engineer with 30 years of experience. I can't promise that you'll get rich at it. I just try to help people and learn new things.
No, we use it to clean up after our Terraform integration-tests. It is not always possible to use `terraform destroy`, because it might happen that the state does not allow it (at least that was our experience a couple of years ago).
No snark intended, but doesn't having to constantly pay attention and be ready to take over control negate a lot of the benefit of the self-driving features? It seems like you'd have to apply just as much mental energy to the task as if you were actually driving, so the only real benefit is that you don't have to physically make the motions. In fact in some ways it seems mentally worse, since when you're driving you aren't surprised by sudden turns in front of trams and the like. With self-driving, there's a constant possibility of those kind of surprises, so I would think it would feel a lot like riding in the passenger seat with a new teenage driver.
Is there a video demonstration of what this does? The marketing video provides no context.

Show something before asking users to add to their tool chain YET ANOTHER APP
I think malls commanding $1500/day for ~200 sq. feet is even more unbelievable.
You are unemployed, so I cannot judge your financial means, but I keep seeing this pop up in my feeds and it might be cool for you and your daughter to build together: https://www.kiwico.com/
> by getting rid of shipping fees.

you actually mean "by hiding shipping fees in an annual subscription model carefully tuned to deal with real world customer ordering behavior".

Non-Prime customers still see shipping fees for everything.
There's a great little book "One Good Turn" by Canadian architect, professor and writer Witold Rybczynski where he points out that "A Robertson screw can always be unscrewed".
I've gone this path, and it ultimately depends on your goal.

If you want to broaden your skill set for your personal enjoyment, both are options, although "enjoying" learning Rust has a slightly masochistic trait ;)

I believe Rust is more of a calling, in the sense that it requires a unique motivation - it really is _so_ hard, especially coming from dynamic/high level languages - and those who want to go through this, kinda know it already. But of course, that doesn't mean that it's for an elite only.

In a professional context though, Rust is hardly a productive choice. It has a very narrow market share. You can throw the stats out of the window; they don't match reality; reality is that lots of Rust work is in crypto, and that positions at Big techs seem to be filled internally. In short: you'll find very few available and appealing positions.

The good side is that Rust is sort of in its infancy, so there are fun communities to be part of.

Go... is simply the conservatively good choice. It's easy, and it's everywhere, and it's still a good step towards systems programming (independently of it being classifiable as systems programming language or not), if that's a direction you find desirable.
If you are in the US - public libraries are a wonderful resource for kids to visit.
Sometimes there is no choice, e.g. Prague-Malaga. The alternative routes that go on sane airlines require changing planes. Otherwise I agree with the sentiment :)
Works well with mine. He’s got 3 choices most mornings.
New study shows highly creative people’s brains work differently from others'
Spoiler: I'm the OpenFaaS Founder, so am biased here. This is probably our best tutorial so far on automating OpenFaaS installation and function updates using Argo CD. We've had previous articles, but I'd say this is the most concise and also the only one to cover the Image Updater. Argo's Image Updater watches a container registry and updates your Helm chart's YAML files automatically.

You can apply what we've covered for your own CRDs or Kubernetes objects, so feel free to take a peak even if you're not an OpenFaaS user yet.
Maybe look at building up manual skills if possible. When my daughter was 11 y/o I as doing a lot of DIY plumbing in the house and I taught her to cut and bend (copper) pipes, and solder pipe joints. We used a gas torch, much to the horror of my S.O, but it was a useful skill learned and she got really good at it.
> Deposits USD into ponzi scam

> USD is bad!!11

Does not compute.
> You're subtly conflating "native app" vs "app" by using slightly different terminology. For the purposes of being exact, I'll assume you mean "app" - regardless if it's a hybrid with a webview or pure native apis.

It's not a conflation, it's intentional because it is what the parent poster claimed. I agree that there is more to it.

> My local car wash now has an app and my wife promptly installed it, because of some vague rewards tracking.

Your wife's anecdote doesn't match industry trends

https://techcrunch.com/2017/08/25/majority-of-u-s-consumers-...

I can also match with anecdotes of users intentionally avoiding the app in favor of the mobile site for linked in, Reddit, etc, despite the constant intentionally of crippling the mobile web experience simply because the app is so invasive. Can I have access to your contacts for no good reason? Btw, we also snoop your clipboard. Basically, I want to take over your phone so you can see a message...

App store conversion rates are low. If you do get it installed many users only use it once. Most people just won't pay for apps, various reasons but the race to the bottom and feeding off user data and eyeballs has pretty much had a full cycle now.

If you are a company trying to get off the ground with a software product these are tough trends to fight.
In that case, I'd suggest learning Go first, as a kind of "step up" to learning Rust. If you haven't already, I'd also suggest learning C.

I think there's some linearity to these tasks. Rust (and C++) are an amalgamation of many complex features that are present in simpler predecessors. Learning C for example will not only speed up your ability to learn Rust, but also leave you with a deeper understanding of the core principles.
I think they are quite aware of that.
OK so no advantage with IP6?
controversy sells tickets -- news at 11
Obviously not, I was just pointing out that infra like k8s even under-the-hood for intermediaries (like web agencies) is still not always the norm given the real-world failures. There's this intermediary world between startups and giant corporations, you know. ;-)
Honestly, the cryptography part of it is the least concerning (if it was just that it would be an easy fix). Here's a summary with some screenshots of the code: https://paul.reviews/cyberalarm-an-independent-security-revi...

The entire project is an unsalvageable mess and so is their response - clearly they've outsourced the entire thing to idiots and are trying to cover their ass now that it's been publicized.
(A bit simplified)My understanding is that reference counting is one of the easiest way to deal with memory assignments and it needs GC.

If the ownership rules determine at compile time that your memory assignments are fine (no double free, etc.), you can avoid using reference counting (and the associated GC).
Wait, i thought "Nextdoor" etc were filling that niche with neighborhood vigilance and "my neighbor's sunflower is spying on me" posts. Also recall lots of words about how "filter bubbles" are bad and all forums must be acceptable to all society so that "badthink" doesn't grow.

There's real, local and or interest focus forums still; I'm sure. Those enjoying them aren't gonna wanna talk about them much for fear they get ruined by strangers who "know whats best."
I recently setup Navidrome (https://github.com/navidrome/navidrome) for listening to my music collection, and it’s pretty good. Kodi/Plex work, but their apps are really built for the video use case, music is different enough that I like having the specialized tool.

Navidrome supports the Subsonic API, so there are a number of native clients compatible with it. I chose Substreamer on iOS. It’s not free, but it’s a one-time cost that doesn’t try and drag you into any subscriptions or anything. There are free alternatives like iSub, but I found their UI lacking & decided Substreamer was worth the few bucks.
GCC master C++20 modules keeps improving
Hello everyone,

I was curious about the state of gcc modules since I am eager to use them and took a look at the current status.

I did it via (after a couple checks on the best way to figure out):

git log --author=nathan@acm.org --since=2022-01-01 --reverse

It seems there are a few fixes and some refactorings and improvements/optimizations:

It seems gcc modules are implementing the strong ownership model (not the weak one as planned in principle), in line with what Microsoft is doing, finally:

``` c++: New module mangling ABI

This implements a new module mangling ABI as the original one has a
few issues:

a) it was not demangleable (oops)

b) implemented a weak ownership model.

This implements a strong ownership model, so that exported entities
from named modules are mangled to include their module attachment.
This gives more informative linker diagnostics and better module
isolation. Weak ownership was hoped to allow backwards compatibility
with non-modular code, but in practice was very brittle, and C++20
added new semantics for linkage declarations that cover the needed
functionality.

FAOD Clang is also moving to this ABI and documentation will be added
to the Itanium ABI specification.

```

support for module language-decl semantics:

``` In modules purview, one can attach a declaration to the global module (i.e. not the named module in whence the declaration appears), using a language declaration:

export module Foo;
extern "C++" void *operator new (std::size_t);

```

support for C++ modules in the demangler (I understand that strong ownership model).

local symbols do not get module mangling (no need for it since they are private anyway)

c++: Better module initializer code

Every module interface needs to emit a global initializer, but it might have nothing to init. In those cases, there's no need for any idempotency boolean to be emitted.

c++: Prune unneeded macro locations

``` This implements garbage collection on locations within macro expansions, when streaming out a CMI. When doing the reachability walks, we now note which macro locations we need and then only write those locations. The complication here is that every macro expansion location has an independently calculated offset. This complicates writing, but reading remains the same -- the macro locations of a CMI continue to form a contiguous block.

For std headers this reduced the number of macro maps by 40% and the
number of locations by 16%. For a GMF including iostream, it reduced
it by 80% and 60% respectively.

```

There are also some improvements to mangling: the modules ABI was not demangeable, that was corrected together with the inclusion of the strong ownership model.

There are also std manglings that are not applied if not in the global module, a fix I guess.

Great thanks to Nathan Sdwell for all the hard work!

Really eager to see modules in a usable state in the next Gcc release!
Death, Nothingness, and Subjectivity
> When I ask him what he wants to do he says "I don't know"

I had to reach the age of 22 and get the chance to use computers for the first time in my life to figure that out ... he will be ok :)
Unity was OK once the global menu was disabled. Today I use KDE. It lets me configure it the way I want.
> Does he genuinely prefer my music, or is it something about me?

This is a very insightful question. Although I can’t answer for your child, I know mine takes an interest in almost anything that i show love or curiosity for. If I express love for a song (not with words but by singing it, dancing to it, etc), he will ask to hear it again and again.

Does his mother show a love for music and specific songs?
Apple may maintain the lead, but it is done by throwing money at TSMC, not by having better technology by themselves. I'd prefer a situation where the TSMC let all of them have some access to the better node sizes as that would let the company with the better tech sell more.
Ultra-pure silicon is not a pollutant. It is a resource.

You could say the same about nuke waste. But the pollutant threatening us with global collapse is CO2.

Placed elsewhere than desert, lifetime can be rather longer. But prices are still falling. In 20 years, how cheap will replacement be?

The point of renewables is renewal. Lately, this means opex near zero. It will come to be impossible to compete with generation and storage that have near zero opex, and capex less than a few years of your opex. No one will buy your power for the price you have to quote just to stay open, never mind pay down your construction loan.
Theres really no need to for autonomous driving is there>
This is nowhere near the historical truth. The Ubuntu Edge (2013) had no effect on the Unity project or on the OS convergence project. Those were cancelled several years (2017) after the Ubuntu Edge as a result of a business decision to make the company more profitable for investors. There is zero money in desktop, and Canonical continues supporting Ubuntu only as enabling technology for their server and IoT product lines.
Accepting loans from private consumers is a highly regulated thing where you can't (and/or shouldn't, depending on the jurisdiction) choose what rules will apply simply by declaring so in your terms and conditions.

If a platform wants people to lend money to them, they should be a licensed (and FDIC-insured) credit institution.
People still do despite knowing this. Loss of licence is the only cure.

My biggest peeve are idiots pulling in too close in front of a 44 ton truck just so they can turn left.
Why is the US allowing this beta testing of a feature that impacts safety to continue? There have to be at least dozens of documented cases of this being unsafe. Have regulators just given up or are they that incompetent?
What you are describing is fairly trivially accomplished using a combination of vm image provisioning software (e.g packer) and a traditional configuration management system (e.g. ansible).

It will be simpler, more straightforward and most likely use less computing resources. It’s also a decades old technique at this point that is extremely battle hardened.

You don’t say it outright but you imply that you are doing this as a single operator. That removes giant swathes of the advantages K8s brings to the table. Further your implication that there are multiple edge clusters is a case that is fairly new to K8s and the best practice would be to run n K8s clusters.

If you are looking for a more managed/turn key option I’m a huge fly.io fan boy.
> As explained above, you could create a graph where the nodes are the users and submissions. Then you could have bidirectional links between each user and every submission made by that user.

Then you aren't doing the PageRank algo anymore, it's something different. PageRank uses a directed graph, "bidirectional" edges implies an undirected graph
What would you sue for? The time spent listening to the pitch? Your dashed hopes of owning a new car? What are the damages?

This is why there's usually either a criminal fine for false advertising or a class action lawsuit. It's probably better to find someone at the California AG who's interested in shutting down false advertising.
If you're planning on being with your partner during the birth, remember your personal admin as well. 16 hours on your feet in a high adrenaline situation is easy to forget to eat and drink, use the bathroom etc until your body tells you enough is enough.. and that's usually just before your little bundle of joy arrives..
I mean I hate adobe too, but being hated by the procurement team (who are usually incentivised by reducing spend) doesn't always mean that much.

Most procurement teams just love suppliers who will give them big quotes and then provide a 50% 'discount' so they can get a great big bonus for all the savings they achieved. Maybe i'm being too pessimistic.
Relevant if and only if all entities involved fall within a given legal jurisdiction, and many dubious firms "partners" do not for this very reason. One often can't completely solve a fiscally driven technical problem with legislation.

Accordingly, what percentage of people actually read those 5 page end-user-agreements before enabling cloud backup on their phone (about 1/3000 on average). ;-)
I think using math terminology is honest, in that it gives an accurate expectation of how the ideas can be communicated and learned. They are simple ideas that can be communicated in their entirety in just a few symbols, but it takes time, exposure, and practice to develop facility in their use and a feeling of "understanding."

That's the math experience. I know people hate that and would much rather it be a matter of reading some a nice explanation and then "aha" but there's no such explanation yet and after years of people trying to develop one there's no point in expecting one right around the corner.
Rationales:

1. Reading is not transactional or remunerative in most cases. There are exceptions (subscription-based content). Those might still be supported without going full-blown shopping, though in general I'd prefer alternate monetisation mechanisms.

2. Shopping involves payment methods and creates tremendous privacy concerns. Both of those are problematic in a generalised browser, to the extent that commerce sites are increasingly limiting which browsers they function with, which is to say, commerce is not a generalised Web capability. Payments functions could be removed from my generalised browser. The commerce-oriented app would have specific attention paid to security and privacy measures.

2a. My uparmoured Web browser using auto-deleting cookies, uMatrix, uBlock Origin, Ghostry, and other features to fight against surveillance and general Web annoyances plays poorly with most shopping sites as is. This means I've got to specifically remove armour to use such sites. This becomes more complicated when having to support others, at work or home, similarly.

2b. Information leakage between non-commercial browsing and commerce-based activity is a major concern and increasing threat. App-separation would provide a further firewall between the two.

3. A hypertext commerce platform could be URI based much as the present Web is. There are non-HTML URIs (ftp:// mail:// news:// doi:// ...). A "shop://" or "httpc://" transport (HTTP Commerce) would clearly distinguish shopping from other Web traffic and invoke the shopping application itself.

4. A possible risk would be that a large and well-resourced commerce provider might decide on delivering its own commerce app, or capture development of that app in much the same way as, hypothetically, a major Internet advertising entity might conceivably optimse a dominant Web browser as an advertising-delivery mechanism. These cases would have to be regulated by a conscientious, empowered, and principled competitions / anti-trust agency.

5. A standardised and capabilities-limited commerce application should reduce the use of dark patterns, or at least make them more difficult and apparent when employed.

Specification of a commerce-oriented application should reflect interests and concerns of vendors, shoppers, competition regulators, finance and payment processors, and advocates for groups of concern (the elderly, disabled, minorities, unbanked, etc.). The limited focus would make this far more tractable than for generalised Web browsers.
No it was not. If you get a green light without a green left arrow this means that you can turn left only if you yield to on coming traffic. This is a pretty basic traffic rule. The tram had a green light. The tesla had a green light but it had to wait for the opposing lane to be clear before it could go.
Comparing currently available CPUs on the market is pretty fair.
Doom and gloom for Apple is a common way to get clicks. The M2 in many workloads looks like ~20% increase which is certainly not a slowdown for YoY performance. Additionally, everyone is alway 2 years out from beating what Apple is selling today, ignoring where Apple will be in 2 years.

With that said, of course competitors can catch up with what Apple is doing. Doing things you link to is how, and it's exactly how competition works. We'll have to wait and see what AMD and Qualcom end up actually releasing.
Start saving for college, on the chance that they'll want to go.
And here's a version I wrote that visualizes it on your terminal https://github.com/radiantly/simplest-sort
GitLab team member here.

The comment [0] provides more insights into the planning and downtime requirements. The epic itself may be helpful too, it is linked from the blog post.

[0] https://gitlab.com/groups/gitlab-org/-/epics/7791#note_94102...
>Modern cpus being able to run dos software is certainly nice, but it’s probably preventing intel/amd from performing some aggressive restyling and optimisation/refactoring to their isa

Not really. Most of the legacy instructions are implemented via microcode anyways, so the amount of resources dedicated to legacy support is minimal.
> I’d like to learn whichever language will make me a “better” coder in the long term.

Install every compilers available under the sun and learn the bases of every language. Then dig deeper in each in what is idiomatic and why.

From prolog, to arc, don't limit yourself to the mainstream languages. You won't be able to eventually avoid them anyway. Some day, Java happens.
But is the base lane keep adaptive cruise control not enough? What additions are worth $6k to you?
I bought them for my father and father in-law for fathers days a few years ago. Huge hit. Love mine but it probably slows me down, as I am always stop my project when I can only find a standard adjustable wrench, and go search for the knipex - it’s such a joy to use.