skysight-inc/HackerNews huggingface dataset:
Before there was Helm, I wrote my own tool and framework in Ruby (called Matsuri) to generate and manage manifests. I still use it. However, the source of truth is still on the kube api server. I did write in functionality to diff what is in the git repo and what is in the source of truth. There is an additional abstraction that bundles together resources so that a single command can converge them all together. The underlying mechanism is still kubectl, and the code merely generates the manifests to send it to kubectl via stdin.

I did not think about a “delete”, and I usually don’t want it to be automatically deleted. But that’s a great idea for that convergence mechanism if I have something that explicitly adds a deleted resource line to make sure it stays deleted until otherwise specified.

The Ruby code can access anything Ruby to generate the manifests, so I have a Turing-complete language and I can use class inheritance, mixins, method overrides. I was also able to write a suite of helpers to take a raw yaml manifest from an upstream project, and use a functional programming style to transform the manifest to something else. If I ever have time, I’d write the ability to import templates from
Helm.

This was written for a one-person devops role, intended to be able to manage almost-similar things across different environments (dev, staging, prod), which works great for small, early stage startups, for our level of complexity. At this level, I don’t need it to track state.

When our team size grows, I’ll have to think up of some other patterns to make it easier for multiple people to work on this.

The other thing is that for much more complex things, I would just write operator code using Elixir, and bootstrap that into k8s with the Ruby framework.
Shouldn't more treatment options be a good thing? I can never understand this logic.
It's not the Pine organization's fault that you have a different definition of "toy" and "phone" than they do - and it's definitely your fault that you didn't read the numerous prominent disclaimers spread all across their site that the PinePhone is not a finished product.
The counterpoint to this is that they're not going to be deradicalized at this point, and that the only other option is to prevent the ideology from spreading
Go: Don't Add Generics to Go's Core Libraries in 1.18
Death threats are stupid, but is it any wonder people have started to trust research less, after studies like this had to be retracted? https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
I think Crystal is underrated as a language that can be used for teaching programming. The syntax is clear and has very few confusing aspects for beginners.
Meh, I think you can get 98% of the way there. Look at the explosion of these "server side SPA" frameworks popping up. Hotwire for Rails, Livewire for Laravel, LiveView for Phoenix, etc etc.

I think Elixir is a super interesting case given how insanely fast it is. If your request to fetch new data and patch the DOM takes 5ms, who cares if it's slower than React? It's plenty fast for a ton of use cases and lowers complexity.

And then, if you do need the super slick interactive element, you bust out React and code up a nice little inline thing that writes it's value to a hidden input field that you can send along with a the submission of a normal form.

Webdev swung heavy to building entirely frontend solutions and I think the past year or so has been the potential beginning of the pendulum swinging back as teams are now feeling the pains of maintaining these huge frontend applications, on top of already needing to maintain the complexity of their backend.

Time will tell!
You're right on the technicals, but the GP is right in spirit.

It seems like society needs a term for the concept of a company accumulating far too much power, and that we need laws similar to anti-trust laws, that apply to these companies. This is an incredibly difficult problem to address specifically because FB is not a classic monopoly. I'm not even sure what it would mean to "break them up".

Amazon, MS, Apple, and Google are all far easier to split up. Each company has logical seams to split at (i.e., aws/retail, gcp/search/android, itunes/devices, etc). You could split FB and insta, but that doesn't really curb FB's power and influence at all.
Also, as someone without ADHD, I can also say this model is predatory. Nobody should have to remember to put in a request to not be charged after a trial.
Great style of writing.

A great example of a 'forced perspective'. The entire ecosystem of browsers, standards, devices, business imperatives is being forcefully turned into a spa/mpa comparison.
What companies are exiting within 2-3 years of raising a Series A, B, or even C? Strongly disagree that companies are going public sooner, if you compare when eg msft / goog went public vs airbnb / uber the market cap is radically larger and the companies are much older.
It's by design, not a side effect.
Ask HN: What's a book you wish had a good summary available, but doesn't?
What's a book you haven't read (for whatever reason), but would like to read a good summary of?
(This is a good thing, to be clear.)
I like the templating languages that remain valid HTML. It makes it much easier to integrate with other tools like HTML formatters or HTML plugins for JavaScript bundlers.
Is there anyone here who has more than 3 months of using their [[Pinephone|https://philosopher.life/#Pinephone]] as a daily driver (a solid habit) or who knows someone who does? I'd like to speak with you (or them) because I'm in need of patient guidance. I'm willing to live off a commandline if I'm forced to do that.
The domain you see here on HN is nomadproject.io and the blog doesn't hide who the blogpost is from, it's very apparent already it's from the perspective of the people that maintain Nomad.
FTA:
"The authors found that participation in Bitcoin is skewed toward the elite. Their research showed that at the end of 2020, there were 1,000 “clusters” controlling 2 million bitcoins." (and 4 million among the top 10,000 accounts)

This claim doesn't distinguish between wealthy people who acquired bitcoin and people who are now wealthy because they acquired bitcoin.
While that's certainly a long list of things, I'd be surprised if they added up to the six-orders-of-magnitude difference one would need to make these two costs remotely close to one another on a per-transaction basis. Bitcoin has its uses, but its comparative advantage does not lie in its superior energy efficiency as a medium for licit transactions.

(And surely "money trucks" here can only be meant metaphorically? The vast majority of US dollars only ever exist as entries in electronic ledgers anyway.)
Yep it’s not an interesting idea, the hard problem. We can never see outside our universe. We can’t know all states of matter ever. We can’t peek beyond the speed of light. We can solve a lot of problems we actually have without an answer (42, but what…)

Humans have a willingness to see truth in metaphor and analogy, and invent them to avoid accepting we’re just meat bags.

That’s what the hard problem of consciousness is to me; biological ideation run amok.

It has useful political effects, it can be used to disabuse the self righteous because it’s a purposeful thought ending monolith, nothing more.

We’ll keep iterating on our theories of the interaction of fields and matter and stop caring about the hard problem like we quit discussing luminiferous aether. We’ll stop seeing the literal edge of reality as a boundary on experience in the first place.
But that's just it: there aren't very many influencers telling people to take ivermectin. There were some official endorsements for HCQ, but ivermectin has largely been a grassroots response to people feeling as though they're not being included in the political process. Figures on the right have been telling people to take "Donald Trump's vaccine". The influencers who have discussed ivermectin, like Joe Rogan, only did so after it was already popularized.
Probably less calculated and more "that's what's available to offer stably right now that we can feasibly deliver, so that's what we'll do." Distributed RDBMS were not exactly cheap or common in open source a couple decades back. I don't think there was much of a choice to make.
The so called whales in the article are crypto exchanges holding btc, and not actual individual holders. The only person to hold more than a mill is Satoshi.
We definitely have some areas to improve with the onboarding. Many people with ADHD have found our app super helpful and we also have done a study with a university in the US assessing pre/post symptom/impairment change which has been super promising and submitted to a prominent journal.
I was just thinking last night about what I'd coin as "Apple Driven Development". If you look at the wave of tech business trends in the past 15 years they're largely driven by what Apple allowed to happen on the iPhone. It started with the launch of the iPhone, which forced a lot of businesses to move from an open web to mobile apps, then we got a wave of social apps that aimed for growth and ignored revenue because there was no easy way to charge users money, then at some point Tim Cook figured out that subscriptions are the ultimate business model and apple nudged the whole industry over to subscriptions, now apple is deciding that targeted advertising is bad and is in the process of killing the whole industry.

They get to do all of it because they managed to capture the upper class of consumers.
Agreed.

To survive in orbit around a WD is not a remarkable achievement - you just carry on orbiting forever (roughly). Orbiting a red giant would be pretty interesting, though - the RG has an indistinct surface, its diameter and luminosity varies, and it emits a lot of material as wind.

To survive in orbit around a neutron star would be another thing again. Neutron stars have intense magnetic fields, and spin rather quickly, resulting in a rotating field that is wrapped around on itself. That in effect creates a particle accelerator, driving electron flows (the electrons were all expelled when the NS collapsed) with extreme energies.

Short of hanging around near an exploding supernova, I can't imagine a more hostile environment.
Personally speaking, I despise both of our parties, and their worst constituents. That said, as an independent I have to deal with both of the parties. If I know I'm going to vote a certain way in an election then I'd like to have a voice in who the devil-that-I-choose is without affirming that I'm okay with the party. Maybe that makes better sense.
For an app that _for_ folks who aren't neurootypical, accessibility should be priority #1. That it's not does not inspire confidence and suggests that you're going for an "exit" strategy, which might be great for VCs, but not for users, and without users, I wouldn't expect a lot of VC backing.
Short-term, certainly. Long-term - negative ROI's would drive away the real customers, who are paying for those ads.

Or at least that's the "Optimism set to 11" plan.
Modem is a heatsink for pretty much all the other heat producing stuff in that phone. It gets hot when whatever else gets hot (PMIC when charging, or SoC when doing soc stuff).
I recall discussing this in an integer programming class many years ago, and being told that binary variables were the better option. This Stack Exchange post seems to confirm:

https://or.stackexchange.com/questions/3209/how-to-choose-be...

The answer, which sounds reasonable to me, is that branching on a binary variable fixes its value, which effectively reduces the dimensionality of the model in subsequent evaluations. Branching on an integer variable restricts its range, but keeps it in the model. It may be easier to add cuts to the binary model.

I also have a copy of Wolsey's Integer Programming that I flipped through, but couldn't find anything clearly relevant to the question.

From a modeling perspective, if you care about the selection of individual items, then individual binary variables seem to be the natural choice. Trying to "compress" ten binary selection variables into an integer from 0 to 10 will be indirect and you'll probably have to add a bunch of extra constraints to encode that a variable assignment like x_c = 2 corresponds to selecting item #2 from category c.

(I have done some OR in the past but I'm not an expert on MIPs, so I defer to anyone with better knowledge.)
>You mean smart cameras? These exist in the western sphere as well.

What exactly is "smart cameras"? Today, every widget that has existed for the last 50+ years is prefixed with the word "smart" when it's been added internet access or wi-fi control (smart power plugs, smart lights, smart doorbells, etc). But from that to being able to host and run a real-time NN based image recognition is a long way.

>Your city traffic dept is probably prototyping or rolling out this tech already.

LOL, yeah, if only. I think my city is still running the trafic control on some Siemens SCADA system from the '80s.
Assuming that the military/industrial complex would disappear if bitcoin prevailed over the dollar seems very questionable.
Sounds like a security researcher could have some fun comparing old nginx patches to whatever got pulled into the node codebase.
It's not like the need for military protection goes away with Bitcoin. People will attack each other to get what other people have, justly or unjustly, the same as they always have done.
Yes, I mean hindsight is 20/20 and no one could have really predicted the fallout from and during the great recession. It generally sounds like you are doing fairly well now, and that is a fantastic accomplishment. Realistically speaking there are few times in our lives where we have 'almost no choice'. The truth is that you didn't see a choice that was appealing to you, but that's just my 2c, and with inflation nowadays the 2c is worth even less hahaha.
Of course, have you never heard of credit card fraud?
Sounds like what you're describing is essentially typosquatting[0] without the malicious intent (hopefully). As a result, what you describe will probably very difficult as many of those domains will be specifically taken to avoid what you're proposing.

https://en.wikipedia.org/wiki/Typosquatting
Gravitational lensing, most likely.

Possibly through gravitational interactions with non-dwarf stars in the same system.

There not being any yet makes either method somewhat more challenging.
It doesn't take long working with Nomad to hit the cases where you need to augment it. Now I know some of people enjoy being able to plug and play the various layers that you get in the complicated kitchen sink Kubernetes.

We already had something that just ran containers and that was Mesos. They had the opinion that all the stuff like service discovery could be implemented and handled by other services like Marathon. But it did not work well. Most people that was to deploy containers in an orchestrated manner want service discovery.

At least these parts are being provided by the same company (Hashicorp) so it probably won't suffer the same lack of coordination between separate projects that Mesos did.

The benefit to the kitchen sink opinionated framework that K8s does is that your deployments and descriptors are not very difficult to understand and can be shared widely. I do not think the comparison of massively sharded NoSQL to Postgres is the same because most people will not need massive sharding, but almost everyone is going to need the service discovery and other things like secrets management that K8s provides.
The entire banking system (credit card terminals, support offices, credit agencies, money trucks, bank servers etc.) does much much more than bitcoin. Transactions are a tiny subset of banking, but they are the only thing that Bitcoin addresses.

Bitcoin doesn't do loans; it doesn't do fraud protection (as in, you payed for this item, but the seller is not sending it to you); it doesn't address mistaken transactions; it doesn't address insurance; it doesn't address financial advice; it doesn't address day-to-day payments (the entire bitcoin network couldn't handle the day-to-day payments in a village). I could go on.

Not to mention, the US military-industrial complex wouldn't lose 1 satoshi if the entire world moved to Bitcoin. So it's absurd on the face of it to attribute US military energy to the dollar.
The feeling of persecution is literally what's driving it though, and they're not entirely wrong if the focus is "containment".
I believe the financial incentive is not in selling the drug itself, but more in the social media clout and general influencer money.
This comment does not seem at all relevant to the article
They already do that to a disturbing degree.
like talking loud (translates to ALL-CAPS) is considered humorous

the louder – the funnier
One thing I will note is how absolutely essential smart phones have become to our daily existence. A colleague's phone recently broke and her life shutdown because she could not 2fa anywhere, including for reporting her time card, etc. As a result, I cannot take any risks when purchasing a phone. I have to have the most reliable option possible.
You beat me to this exact reply: as "dead" frameworks go, getting real work done for real tangible value rocks, with Django, with Plone. I can't wait for the follow-up post explaining why FastAPI is dying, make tiangolo proud! ;-)
Congress vs. “The Algorithm”
The monopoly is not on the consumer side, it is on the advertising side. Google and Facebook are the only companies that have access to data on basically every sale on the internet (almost every site that uses their ad tools reports back their sales). This data gives them a defensible duopoly on digital advertising.
Over the course of 20 years $368k isn't a whole ton of money for a local government budget. $1,533/mo. That's NZ$0.004/mo per resident.

Besides, he was providing somewhat of a public good in terms of tourism. It wasn't like he was just collecting a paycheck doing absolutely nothing. It doesn't appear he has any family or other business connections with that local government from a quick glance, so honestly his position seems about the same as any other local government employee. Is hiring a gardener giving an appearance of corruption as well?
>and 4 million among the top 10,000 accounts

How are they defining "accounts"? Bitcoin addresses? It's hard to take them seriously if that's the case, because many people can be sharing one bitcoin address (custodial wallets, exchanges) and a single person can have many bitcoin addresses (most wallet software generate fresh addresses for each transaction). Drawing any conclusion from such flawed methods seems highly irresponsible.
Now include a future discounted transaction flow of a growing sidechain (Lightning network) that also "settles" transactions off the main chain.

1 main chain transaction != 1 transaction

In the same way Visa uses a centralized database to "handle" millions of transactions, Coinbase/Paypal/Square can offer inter-user transfers that occur off the main chain too, scaling to the millions.

These are apples and oranges, if you want to compare transactions, you should first define what a "transaction" is. A bicycle is more energy efficient than a car, but that doesn't mean they solve the same problem.
> I'd imagine that people living in areas more prone to gun violence are also more likely to arm themselves.

I'm all for skepticism, but at some point people's willingness to assume that peer reviewed research is flawed in _the most obvious possible way_ and that the researchers made no attempt whatsoever to correct for _the most obvious possible failure mode of their study_ borders on insane.

Do you really think that nobody thought of that before just now?
Do Drivers Purposefully Swerve to Hit Animals on the Road?
It's more accurate to say it was a travesty of law, but probably not of justice.
Big business probally loves it. It's hard to unionize a workforce that needs constant education, and retraining.
We use Elasticsearch and Kibana to store, search and visualize tranzactions, microservice calls and logs. We don't replicate anything from databases to Elasticsearch.

I was just curious of the performance delta, if any.
Yes, that's one of the most bizarre positions I've seen from proponents of crypto. It's somehow oddly optimistic?
Intel Codename Alder Lake (ADL) Developer Guide
I sortof exaggerated, they did have an Android app but basically invested nothing in it. I remember that just before FB cloned them (in literally every place they could) they were talking about how iOS was all that mattered, as those users are richer.

They didn't seem to get that you either need to show user growth or revenue growth, and failed at both.
as a nuero non typical myself, g….f…..y
I'm found of "a democratically elected government is the least bad monopoly". If you must have a monopoly, it should be a government. But if you can avoid a monopoly, do that instead.
I get the feeling, but it's worth noting that it's not just 140 characters of tweet. It's also delivering all the analytics, the content surrounding the tweet (replies, likes, etc), and is a teaser to the rest of the app.

The business driver isn't just delivering the content, it's increasing engagement, and the SPA application provides a significantly better and scalable way to make that happen. Everyone seems to think they could do better, and we end up with yet another "modern" JS framework.
That's the crux of the friction here. The old monopoly (gov) is being overrun by the new "monopoly" (tech). While it might not be a battle for the known universe, controlling the spice (i.e., attention, information, nudges, etc.) is definitely in play.
> But I also need a phone that does video calls, has a working browser, messenger etc

The current Pinephone has almost all of that right now (desktop firefox run very well, messaging works - MMS too -, video calls works in the browser).

> One that works with at least a good bunch of most common apps.

That's on the "most common apps" devs to do the work, and they are very unlikely to do so.

You could use something like Waydroid on the Pinephone to run some Android apps in a stable-ish way (SailfishOS has a similar feature).
Are you talking about an API reference? Django has that: https://docs.djangoproject.com/en/3.2/ref/

They have an entire set of tutorial/getting started type docs that are definitely very wordy and based around getting you comfortable with Django's paradigm, but they do have a rather well done API/Module reference that does a good job getting to the meat of the topic imo.
I love the idea of data portability and data dividends. I love it dearly. It gets at what are by far the most critical principles here - data sovereignty and data value.

So it is with a heavy heart that I similarly always find myself deeply concerned by the security implications of such a world. As soon as you create data import and export functions, we will collectively realize that most people both have absolutely no idea how to handle it and are incredibly resistant to education on the subject. A lot of well-meaning ordinary people are going to get hurt when they get tricked into mishandling their data. There's already a sizable black market for personal data, and increasing transparency and access is going to grow that by both providing more ways to access data and more ways to use it.

I don't know a good way to reconcile these two. The tension hurts my heart.
Open As App – Automatic app creation for everyone
> I'd recommend giving a bit more weight to the experiences of other developers. Static typing in Python has become fairly widespread and even idiomatic in some circles, even if you haven't experienced that yet.

You should really refrain from filling in the void in your understanding or knowledge of anyone else's experience with output from your imagination.

Also, I'm not sure you noticed the absurdity of trying to sell Python's type hints as being "idiomatic in some circles" when you're discussing a specific circle of Python which is renowned for not using type hints at all.