skysight-inc/HackerNews huggingface dataset:
I dunno, I kind of subscribe to software architecture being like, a set of design decisions that guide the implementation. That's what (in my experience) most software architects do; lay down guidance and structure for the software engineers.

> The C4 model was created as a way to help software development teams describe and communicate software architecture, both during up-front design sessions and when retrospectively documenting an existing codebase.

> It's a way to create maps of your code, at various levels of detail, in the same way you would use something like Google Maps to zoom in and out of an area you are interested in.

This seems different.

I have no idea why you would refer to the a code diagram as your software architecture. That's literally the code level. How is that architectural?

It's like saying the circuit diagram in the plug should go on the house blueprint. "You should use automated tools for this" ... so, it's for documenting existing code bases at the per-function level?

How is that useful for architecting / designing / planning software?

That sounds like software structure to me, not software architecture.

Sure, a map of existing software that explains how it's structured sounds cool... but I dunno. Like, if you're talking about design patterns, you're not gonna give someone a function-by-function map of how to implement a singleton. They're not stupid. You'd tell them you think it should have a singleton (or repository, or whatever).

Software design is totally a thing, and this seems entirely reasonable for designing software.

...but software design and implementation and software architecture are not the same thing and they're not done by the same people, in my experience.

This feels more like... systems design, which a software architect would contribute advice to in the way that the systems were designed so they aligned with good software architecture principals.

Maybe I'm just being pedantic. /shrug
They do. Median home value here is $950k. All of my trades friends are house poor and asking family for assistance.
Is there typically a “cold restart” plan to rebuild the whole infra from scratch? I’m thinking of things like circular dependencies when services boot.
sounds like a massive nightmare
Something ironic about this article being behind a paywall
classes have the # prefix for private members and TS has the private keyword.

If you don’t want to go with classes, not exporting a value or a function from a module is almost the same. The rest can be done with closures.
The kinds of people who would benefit from UBI in this way are often the people least qualified or capable of engaging in politics. (Though in general, the credentialed class is full of people who don't understand the philosophical presuppositions either. The failure of education.)
I'm not sure what exactly you're after, but much of firmware's responsibility is system initialization -- to be interested in open source firmware but be disinterested in booting is to not understand firmware's role in a system. And certainly there is nothing at OSFC about "preventing" closed firmware -- the only way to do that is to not purchase devices that have compute elements in them. (Good luck!)

And finally, if there's something different you would like to see at OSFC, submit a talk for OSFC 2024!
Private properties don't work with Proxy.

https://lea.verou.me/blog/2023/04/private-fields-considered-...

Quote:

> Private fields, proxies, pick one, you can’t have both.
That Python library looks great! Thanks for sharing it.
I'm sorry. I think my question was not clear. I want to watch the show, preferable using oculus so i can look around inside the sphere. That's why i asked on the topic about the camera they use.
It's not a great article, as some of the clarification comments and discussions are surfacing. It is an import topic. Often reading the database documentation directly around Transaction Isolation and Locking sections will be more precise, complete and be specific for the database/version you are using.
Yet another "news" article riddled with ads and based on a TikTok
I like the thinking and dependencies are a weight that make at least personal projects more maintenance long term, even if they help in the short term.

This doesn't fly at clients/customers usually but what you control needs to be highly maintainable and simple. Whatever works for you to achieve this is good. In regards to personal projects or internal products, in that case a framework with massive dependencies just isn't easier to maintain long term over simple web standards and market standard formats like HTML/CSS/JSON/Markdown/etc.

My only complaint is the lack of capitalization on the content, so many tech/devs do this, just don't. Even Sam Altman...

How dare you not capitalize in a capitalist system. /s

Seriously though, just capitalize your sentences.
Were I a millionaire, I wouldn't be upset about progressive wealth taxes, I would be pleased. Why? Because in the philosophical justification for personal wealth and private capital, being a millionaire is a reflection of your worth to others in society. If your millions go to help others through taxes, you get double the social standing: once for earning the millions, once again for giving them back!
we do need more family values, but religious conservatism is not that. we also need equality between women and men, and that is where conservatism gets in the way. i suspect that lack of equality is what's driving most divorces in those conservative areas because women no longer allow themselves to be treated as being lesser than men, so they stand up for themselves and the conservative men can't handle that.
I worked at a SV startup (series A) for a while and an EM once mentioned struggling to keep the number of microservices under the number of engineers.
Excellent phrase, "attention engineering".

Related, somebody referred recently to the device that plays YouTube as the "depression box", because that's what it creates in short order: "I am incapable of anything but scrolling". Yup: "Depression box."
It is more like the mainstream world is finally catching up with the world promised by functional programming since Lisp and parallel computing exists.

Only now I can enjoy in modern hardware what I had to imagine when reading papers about Star Lisp and the Connection Machine, alongside other similar approaches.
Also, these buses stop in many towns along the way in Costa Rica.

There, migrants decide to get off and spend some time in these towns. Primarily to recuperate after crossing the Darien Gap, but also to panhandle, and sometimes commit various petty crimes.

These small towns do not have the resources nor infrastructure to handle ~5k people per day passing through. There aren’t enough public toilets, police officers, ambulances, nor shelters to handle this volume of people.

I happen to live in one of these small towns, size ~2k people. It’s been very difficult to deal with. The government does nothing, so the townspeople are left trying to add some order to this chaos.

The level of human suffering is high. These people went through some serious shit in the Darien. This isn’t a humane process for anyone involved.
There is little difference between “no citations” of the original text, and the assortment of links to Guardian, Jacobin, and a purchase page for a Neo-Marxist economics book (referred to as “empirical evidence”) that this rebuttal article references.

Almost every paragraph has some questionable claims, but one of the more laughable ones is the claim that the free market “killed millions” when rich countries didn’t share Covid vaccines worldwide. Or that markets are ineffective for lifting people out of poverty because global inequality exists.
Nope read what I said again, we can discriminate by putting people who live here longer or first ahead of the line. First in First out a simple queue system based on your government id.
The previous government before Trudeau got in trouble by saying "old stock Canadians"
> It's always to the detriment of the listener.

Not always.

If the listener has a functioning brain, he can quickly infer the kind of weasel the speaker is simply for stooping down to using that type of language.
There are several points in the article which are just plain wrong:

- no private properties (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...)

- no readonly properties: You can use a getter. Or define the property as non-writable, the syntax isn't nice but in my opinion it's still much nicer than what the article proposes.

Some of the points are just a matter of taste ("this" is awkward)

There's the implementation itself which forces you to use non-idiomatic code for no good reason or benefit (Class.init instead of new, just why? You can absolutely return a constructor function there while preserving everything else)

Doing what the article proposes also destroys the ability to do instanceof checks because the prototype of instances is not set (can be fixed), and inheritance is severely limited if you want to preserve any of the purported benefits. You might say that inheritance is actually not a good thing and so it's a feature, not a bug, but if that's your opinion why are you trying to mimic a class?
You are agreeing in a weird way. Yes, in America if you live somewhere that other people want to live, then you have to move or take on two incomes. That was my point, that because US real estate has become an attractive investment over the past decades and the growth and current size foreign capital outweighs the average American family’s purchasing power which results in: people resort to two incomes, wait to start families, have fewer children when they do have children, etc…
> Uber has a lot of teams, a lot of engineers, and so it makes sense that there are a lot of API boundaries to allow them to work together more efficiently.

Isn’t that the premise of the question? Does Uber need so many engineers?
In 3 years… “Uber saved cost by migrating their micro service to their own colo.” followed by “Uber simplified operations by migrating their micro service platform to a monolith”.
Add it to reach the average-smart kids, those without internal knowledge of where to look or internal motivation to learn (but still will take the advanced classes for a grade).
Agreed. Sometimes the project is small enough and the debt large enough that a rewrite is in order. However, a project of any size and complexity only reaches tech bankruptcy when the advice given in the book isn't followed; when tech debt is ignored for the benefit of shipping features, which become increasinly hard to release and increasingly prone to bugs.
Thoughts on techno-optimism: What it means to me, and why I support it
https://archive.ph/WWQ0K
Yes, because either parent could have menial issues. Especially when you include things like gambling addiction which are also linked to divorce.

~2.8% of the population has bipolar disorder. The odds that one partner at the start of a relationship is bipolar should be ~5.6%. 1% of the population is schizophrenic so ~2% of the population. We aren’t quite up to 7.6% of relationships just from those 2 groups because there’s overlap but it does stack.

Granted I haven’t done the research to pin down exact numbers but higher rates of divorce operates in both directions. So stable couples are healthier than average and divorced couples are worse than average.
Is there a “canonical” example of a module that is written well and uses what most would consider best practices?

When looking through npm modules, there still seems to be a variety of approaches.
Although drinking too much of Bifrost Winter Ale could make one see Asgard and Midgard for real.
don't be obtuse. it isn't in the dataset and it isn't returned in the results.

> code is data, so it's data

dude, don't. this is the weakest and most grasping argument I think I've ever heard.
There's a plugin for VSCode that brings draw.io editor for local .drawio files. IMO it's the best of both worlds: nice editor and git version control.

Also this plugin works fine in github.dev so it's like a better version of draw.io official site.
Yes! Anything that required recording as part of job function would be illegal, which I highly doubt is the case -- part of why I'm interested to get to specifics here...
Honestly Pornhub's stack is genuinely impressive. More start-ups should just use PHP and get shit done
Time spent in pre-trial detention almost always counts in the USA.
Good idea in principle. I suspect it might lead to unintended consequences: there is suddenly an advantage to being a disabled single parent with many children.
Clearly not, or I doubt we would be reading this blog post.

I assume that for several years though, that was exactly what Microsoft thought too.
Back then it wasn't even sure its adoption would take off.

My HPC programming lectures were done on PVM, and I bet only grey beards know what it stands for.
Oh… uh well sorry then? I guess it wasn’t self evident to me.
Unfortunately the term UBI has negative connotations towards it for a large percentage of the population still so it’s going to be a huge fight to ever get UBI as it stands implemented.

But what I’m guessing will happen in the long run, Employment Insurance will relax it rules enough that almost everyone will qualify for it, therefore giving the guaranteed income through the EI program. It will be easier to refactor the rules in the EI program than it will be to create a whole new program from a political point to view.
Fair point! I guess similar to CERB which makes a lot of sense!
I'd say you might need to be more specific with your phrasing.

If you want replicate more class-like behavior (but without actual class/inheritance information):

- Some type of exported constructor function

- The function instantiates an instance of data internally that is possibly mutable (let vs const)

- That function returns an object/interface of functions that have access to that data by virtue of it being defined in a higher but accessible function scope

- All other private functions are simply not exported

Or you might mean singleton data:

- let or const data at the file/module scope level

- export functions to operate on the data

- Don't export functions you want to be private

The first is sort of reinventing a class instance, but if you are anti-inheritance for the most part (likely a good idea), then you can use a "kind" or "type" property on the returned constructed plain object if needed (TypeScript generics make this quite ergonomic to represent as well). So, you don't really need classes, but they have their uses and have familiar and comfortable syntax to programmers from other languages. You can use either and they are both accepted as idiomatic.

I usually still allow classes in codebases that I have some control over, but add a custom ESLint rule to ban extension unless with an ignore comment. This sort of encourages you to compose more like the functional/data approach, but allows you to still use instanceof since it's an actual class. It also means you're not creating a copy of all the method functions if you don't need to between instances.

There is a caveat that there is a class syntax:

method = () => {}

That auto-binds the method to this, creating that method copy for all. In this case you're encroaching on the plain object behaviour, again with a more familiar syntax.

So, I guess it's more messy than I thought reflecting on it. But you have some choices depending on what properties you'd like to encourage in your codebase.
I don’t own lunch money so it’s just a user’s opinion. But your cynicism has added real value to this thread. Thanks!
It's not clear to me that being completely unaware of your infrastructure is a good thing. I don't think it's too much trouble to ask an engineer to understand k8s and think about where their service will live, even if it's a ci system that actually deploys. Furthermore, many layers of abstraction, especially in-house abstraction, just mean you have more code to maintain, another system for people to learn, and existing knowledge that you can't leverage anymore.
It says the average weight is 100 kg so these are some pretty big dogs. I’d expect each foot to be a kg.
Which part of that is grounds for assault?
I've long argued that Nietzsche is actually a comedian. Agree or not with his ideas, he is hysterically funny, in this smart and subtle way, a lot like George Carlin.
In my experience using CKeditor in Moodle, CKeditor generates invalid HTML (especially around lists) and sometimes bad HTML that does weird things like insert random spans and hardcode font sizes. I still prefer it over TinyMCE, another Moodle option, but I can't trust it to do the right thing.
The Complete Guide to Crafting Effective Product Requirements Documents

As a product manager, one of your most critical responsibilities is defining comprehensive product requirements. However, doing so in a way that clearly aligns stakeholders takes thoughtful planning and communication. This is where creating a detailed product requirements document (PRD) becomes invaluable.

In this comprehensive, we'll dive deep into everything you need to know as a PM to create stellar PRDs that drive product development.

A Brief History of PRDs
PRDs have evolved over time along with product management best practices. In the early 2000s, PRDs were often long, tedious Word documents. But today's PRDs are more streamlined, visual, and collaborative.
I currently use 1blocker(paid version) and it seems to be working pretty well compared to Firefox with ublock. I use it both on iOS and macOS.

https://apps.apple.com/us/app/1blocker-ad-blocker/id13655310...
Here in California, SB20 was supposed to address this, 15 years ago.. but without explanation, the bill disappeared into closed session run personally by CA Senator Byron Sher of Palo Alto, and they re-wrote it completely to simpley make a "bottle deposit" on new displays sold retail, with the funds applied to recycle old CRT TVs (edit). The State of California is the fund manager. The entire system worked about as well as you might think. Many, many small recyclers tried to participate and went out of business due to costs with insufficient reimbursement.

It is a painful and drawn-out process to fail as a small business. Unless you have lived it, you probably dont know. That whole opportunity in E*Waste was bungled IMHO, and now much larger, much more impactful ecological processes are the priority. Your fresh water ways and heavy metals accumulation in the food chain, are ugly sores from the consumer electronics fiesta.
Vercel really are the skid mark of web development part 37.
> Eggs from chickens and milk from cows seem like the corresponding thing for the animal realm.

Both of those animals are raped, have their children separated from them, and are ultimately killed early in their life when their economic commodification is concluded, so no, the level of violence and negative side effects is not anywhere close to comparable.
I dont think he is necessary feeling in power, losing out or chasing more wealth. Especially for product entrepreneur.

If you watch the video he actually answered that question. Infinite ambitions. They started a journey, a mission, a goal and it is still not reached.
Nobody needs to if they can't possibly.
>People need food but they don't have to eat factory produced meat that requires huge amounts of CO2 footprint and antibiotics that make our own human populations less resistant to bacteria.
Biologically we are carnivores but factory farming is leaving evidence for modern society to determine whether or not it's okay and it definitely gives me pause. People care. I think maybe you're just not caring.

Why do you write this? I don't control the food policy of the world and I wasn't arguing that people should be vegans.

Why people provide unsolicited arguments for eating meat? Why just don't you order a burger instead so we can stay on topic? I don't care who eats what.
Resetting the ECU will also cause the vehicle to fail inspection unless it's driven long enough beforehand. (Here in Upstate NY, anyway)
Possibly if that last mile delivery was carried out by people who were also practiced in logistics. This is never the case. It’s better for you to find a means of transportation to get your staples of living than to pay someone else to use any means of transportation to provide you your bananas.

The planet can’t take any more “conveniences” on our behalf. We need to find a more efficient way of delivering goods and getting our goods. Throwing your hands up and saying “I’ll just get everything delivered” is about the worst option you can do from a logistics perspective to reduce carbon.
Question for you: how does performance measurement and optimization work in that environment? Is the key some sort of meta tooling that understands relationships between microservices? How would you express such relationships in the first place?

Q2: How do you ensure the stubbed deps behave like the real thing?

Q3: how do you handle logging and metrics in an unified way across the stack? And related to this: how do you ever get to upgrade services crosscutting concerns that ideally are not invented in every service?
For a company that is basically a taxi service, they seem to invest an awful lot in constant rebuilds of their extremely complex infrastructure, which raises the question of whether that is even remotely necessary or just an exercise in pretending that they are a tech company.
Doesn't solve the problem for anyone who doesn't park in a private garage.
> Shockingly the government in power who implemented it is the Conservative Party.

It's not that shocking.

Political parties in Canada with the word "Conservative" in their name, and especially the ones with the oxymoronic term "Progressive Conservative", tend to be quite left-wing/socialist in practice.

Despite their names, such parties usually favor big and intrusive government, high taxation, high immigration rates, socialist education and health care systems, and other policies that are inherently contradictory with anything resembling conservative ideology.

Canada's general lack of truly centrist, conservative, and right-of-centre parties gives the illusion that the least-left-leaning parties are "conservative", when they really aren't.

When comparing platforms and policies, the Conservative and Progressive Conservative parties tend to be more similar to those of the far-left Liberal parties, and the even-farther-left NDP and Green parties to some extent, than they are to the platforms and policies of the more centrist People's Party of Canada or New Blue Party of Ontario, for example.
https://archive.ph/OCcJF

Summary:

> The collaboration of the LAPD with Amazon’s Ring network and its Neighbors platform (designed for community members to share information about alleged crimes) inundates officers with information, much of which does not pertain to actual crimes, and it brings up issues about consumer privacy and the over-collection of data. The efficacy of this data in improving policing outcomes remains unclear.
Agreed. I spent a small epoch of my career trying to make js have "classes" in the heady days of OOP. It took a bit to realize that idiomatic js didn't need them. Besides being sold so hard on OOP as a concept, failing to understand prototypes was one of my biggest mistakes. By the time they landed, I was actually pretty disappointed to see the language get classes.
You pay for their next AI service that helps you debug and refactor the code ;)

Jokes aside, I think it’s an interesting use of generative AI.
This is not just post 9/11. Airlines have been cramming more seats onto planes[1], the quality of the seats has been going down. There didn’t used to be a single airline that had no-recline seats, now there are many. Charging for carry on or forgoing drink service to save money also wasn’t a thing until a few years ago, now it’s everywhere.

Airlines are pushing people as far as they can in order to maximize cash extraction. It’s no surprise more people are snapping.

[1] https://www.latimes.com/business/story/2022-08-11/airlines-h...