skysight-inc/HackerNews huggingface dataset:
You don’t need all that to emulate objects in C. Instead use this recipe:

- classes <-> compilation units

- objects <-> structs

- methods <-> functions receiving a pointer to a struct as first argument; use name of the class as prefix e.g. Point3D_scale(Point3D *self, double factor)

- constructors are just methods and initialize the struct

- destructors are just methods and free all memory occupied by the struct

Inheritance is a bit more difficult this way but as others pointed out already it is way over used IMHO. But if you really want to do that you could design a child class by using a struct pointing to the parent struct and using that to manually delegate all inherited method calls to the parent. You could probably write a fancy macro automating this delegation for you.
> TBH most ADHD people I know (but not all) seize any chance they can to skip taking their meds.

That would have to be stimulants, because all the other kinds are very unpleasant to quit suddenly.

(This is the opposite of the common belief that stimulants are addictive and everything else is safe.)
Interesting that two of the most powerful techniques which can essentially kill chat GPT : Orca and Textbooks, both come from Microsoft.
> If they are lagging behind: make one monolithic math course that everyone enrolls in. Institute mentoring. The older kids help the younger. Remove any negative consequences of just trying (that is to say no one will fail)- use only positive incentives. Maybe a scholarship fund for kids who help others.

This is called an "integrated classroom" which is part of the "differentiated learning" pedagogy [1].

It has been around for a very long time.

Many schools have incorporated it into their curricula.

It is extremely difficult to build a successfully integrated classroom. The kids who need more help will slow down the kids who need less, which can decrease performance in both groups.

Educators with integrated classrooms need to construct several variations of a single lesson plan to mitigate this.

Given that education is amongst the lowest-paying professions in the US (less well-paying than restaurant work, after tips!), and given that many schools have been stripped of funding and other resources that can help alleviate this potential burden, I hope you can see why implementing this suggestion is easier said than done.

[1] https://en.m.wikipedia.org/wiki/Differentiated_instruction
> modern languages (Rust and Go) intentionally leave out this part of OOP (thankfully, imho).

Why thankfully?

Some solutions are a natural fit for a class hierarchy. Having to hack in workarounds using traits or receivers is, like any band-aid, ugly as hell.
I'm reading this while having my mailbox open on my second screen containing various high priority issues that I should _really_ take care of. Ironically the more I have to do, the less I finish.

Luckiyl my adhd meds should kick in in about an hour making it much easier to focus on taking care of things.
Their mortality outcomes were far better than most of the rest of Europe
Every adult should have a globe which secretly can be opened to find a bottle of whiskey!
From 10 hours ago,

https://news.ycombinator.com/item?id=36423313
Is this any surprise? Of course OpenAI now wants to maintain the status quo, so while they do want regulation to make it more difficult for new players to enter the market, they don’t want regulation to hinder their own business model. So they’re lobbying for exactly that.

They’re a for-profit business doing what for-profit businesses do. All I hope is that the politicians make a sensible choice, and find a balance between innovation and regulation.
With control net guidance it's going to be even easier to maintain the image extracting the idea from the noise
It’s almost like he’s completely full of shit or something…
CompanyKG: A Large-Scale Heterogeneous Graph for Company Similarity Estimation
While LLMs are all the rage right now, knowledge graphs and GNNs offer an incredible advantage in terms of their expressiveness and being able to both model complex relationships between entities, and allow for a suite of efficient algorithms for analyzing and manipulating these relationships.

Included in our submission is a free dataset, https://zenodo.org/record/8010239, the first of its kind at this scale, consisting of 1,169,931 nodes and 50,815,503 undirected edges, with each node representing a real-world company and each edge signifying a relationship between the connected pair of companies.

We also release the full source code for reproducibility, https://github.com/EQTPartners/CompanyKG
No. Growth is important because it means the value in the future will be bigger.
It's definitely a thing in many parts of the Old World too.
Looks cool!

Kysely was inspired by Knex, but took a more predictable route instead of providing generic APIs that produce different SQL for different dialects. We believe that dialect "lock-in" should never be a real concern because migrating from let's say, MySQL to PostgreSQL is extremely rare in the real world.
No C++ compiler for the target architecture?
You can switch any chromebook into "developer mode". Then you get bash within the terminal app, with full sudo access.

At that point, as you poke around, you find that chrome os is actually built on top of gentoo Linux.

And there is a 3rd party pkg manager (chromebrew) which gives you gcc, and thus a whole host of additional pkgs.

Yup, its linux all right. Even without going the crouton (chrome into another distro) or crossing (vm running separate linux distro) route.
I guess technically everyone is a potential terrorist
> It isn’t a thing in a C++

But it is a thing in OOP. That's the point. C++ is multiparadigm. All the OOP gurus will tell you that objects shouldn't expose their internal data, only methods.

That's why the so-called encapsulation is constantly brought up. People telling you C is OOP will say "FILE is an object, the FILE struct + fopen/fclose/fwrite constitute an object, FILE is opaque, we can only interact with its internals through the public methods". "DIR is an object, ...". And so on.

And the problem is that when the Linux C API exposes a function that takes both a FILE and a DIR, and operates on both their internals, your whole idea of OOP-ness shatters because a method can only belong to a single object, by definition.
can it "scan" scan a local codebase, understand all the syntaxes used and their differences and being asked to write code for that particular part of the project?
Well this isn't the first time in recent history the French government was a supporter of genocide:

https://en.wikipedia.org/wiki/France_and_the_Rwandan_genocid...
It's dangerous to be alone, take this:
https://findtreatment.gov/

Maybe also https://www.apa.org/topics/racism-bias-discrimination
Not saying it makes DMCA perfect, just wanted everyone here to know there are some really awesome, clever uses of DMCA that people use for good and if we torch the DMCA we should make sure we don't leave those folks out in the cold.
The son of a friend has an autoimmune syndrome. She also has one as has her mother. The son got his autoimmune from vaccines of course and doctors who say otherwise are paid by the establishment. If I want to end our friendship all I have to do is point out these facts to her. Foundmentals of philosophy will not help at all.
That makes weworking and hotdesking in an office even more useless than it already is. Sitting there with your headset on, disconnected from most of the world.
That's why nobody uses C!
CanLII now provides AI case summaries for court cases
Start your day with a delicious Mexican breakfast at La Fuente and then head to the stunning Playa Delfines for some sun, sand, and sea - 2 hours.

As these spots are 10km apart -- this itinerary definitely is not doable in 2 hours (in any meaningful, enjoyable sense).

Can we just bury the current so-called AI in a giant hole now, and forget about it for another 10 years, please?
Wouldn't a sober study of the universe and history be more effective?

Once upon a time, people painted with oil paints as closely as they could to still life reality. But something was missing. Cue impressionism. After impressionism, an increasingly vanishingly small proportion of the art world tried to paint still life as an arts career and be taken seriously.

The state of the art, quite simply, had moved on.

And as it is with consciousness.
Corrected Version of Maths Where the Pythagorean Triples Don't Exist
This is a corrected version of Maths where the Pythagorean Triples Don’t Exist.
Let A,B,C, and K be elements of the natural numbers.
1. ∀K(K≤1∧∃A,B,C(A^K+B^K=C^K ))
2. ∀K(∃A,B,C(A^K+B^K=C^K )∧K≤1)
3. ∀K(∃A,B,C(A^K+B^K=C^K )→K≤1)
4. ∀K(K>1→∀A,B,C(A^K+B^K≠C^K ))
Premise 1 should read as for all K such that K is less than or equal to 1 there exist A,B,C such that A^K+B^K=C^K. Premise 1 is true because I could find natural numbers that satisfy premise 1. Premise 2 is true because it is equivalent to Premise 1 due to the commutative property. Premise 3 is true due to Premise 2. Premise 4 is true because it is the contrapositive of Premise 3. Therefore, ∀K(K>1→∀A,B,C(A^K+B^K≠C^K )), but this seems to contradict the fact that there are Pythagorean triples. Therefore, either the reasoning is invalid, or at least one premise is wrong, or there are maths where the Pythagorean triples don’t exist.
Standards-based is really the only thing that challenges react these days, i.e. raw JS with es modules, web components, and no build step/bundling. It only works in certain situations though, but when it does work, it's so much better than the giant web of black boxes and indirection that is the React universe.
Do tell me how I can run my own home screen, directly access the filesystem, write my own device driver or tweak the kernel without voiding my warranty and risking bricking my phone using a jailbreak exploit, assuming one is available for my device.

This "you can build and directly deploy an app to a limited number of devices if you're on the developer program and have a mac, therefore you can 'hack iOS all you want'" meme is borderline dishonest.

Also, the fact that you "fail to see the fascination" is of little significance to those who do want to develop on-device. You don't get to make "you can hack iOS all you want" work by restricting what people are allowed to want.
It's not really a slippery slope, we've already arrived at the bad thing
How is this not huge news?
Doesn't seem so, you could visit the home page, click load more a couple of times, then use browser search on page.
TFA talks about untested fears, not lazy/tired procrastination. Advises to test them, because you may see it the wrong way and it’s okay or good.
It won't even work for copyright, that is a legal process not a technical one, for which rights and limitations exists independently of the medium.
Further reduced...

The article encourages questioning ideas deemed bad, sharing a story about Jimmy Fallon appreciating thoroughness. It suggests asking simple questions, seeking social information, and taking risks to gain experiences. It concludes with a reference to a previous newsletter on focusing on strengths.
Microsoft has been the main driver in the movement of cross-play between platforms (Xbox, PS, Nintendo), which can only be described as a huge good for gamers of all types.

Sony on the other hand, has been trying to keep their platform closed.

https://www.forbes.com/sites/paultassi/2022/03/14/playstatio...

>Sony's public rationale of being skeptical of crossplay was stated to be about the “risks” of exposing Sony players to non-PSN markets, but really, it seems to just have been about trying to throw its big sales lead around.
> by wrapping a vanilla lib to a component or an action, you’ve essentially created basic Svelte version of that lib

This is the key to making framework churn go away. The DX of using vanilla JavaScript is getting better every day. And is a much better experience than it was a decade ago.

> Islands architecture and partial hydration can help you render static HTML with just a small portion of JavaScript for those components who need it

I'm doing this with Hugo for rendering the static parts, and htmx for loading hydrated partials. The HATEOAS approach simplifies state management in the application. There is no client side "routing", just links and the back button.

In addition to vanilla libs, I include one "app.js" bundle. This file is created with esbuild and linted with deno. My "business logic" can be written in TypeScript in VSCode with the Deno extension and LSP server.
ADHD is one of those "invisible disabilities". It is the same problems other people have: everyone gets frustrated, is averse to unpleasant tasks, gets bored, has to put in effort for executive function, seeks pleasure, et cetera.

I think of it like a mixing desk in a music studio. Where these sliders have all been pushed to varying levels of extremity.

This is why, when you explain it to a more neurotypical person, they will most often say, "oh yeah me too!". But it's like an Olympic sprinter saying that they can sprint, and an average joe saying, "oh yeah me too!". It's a matter of degrees.
There is notting in Jeff Geerling's project list[1] that warrant hundred's of rhel machines and containers at any given time.

Containers are mostly ephemerals when used for build and test purpose.

[1] https://www.jeffgeerling.com/projects
Yup! That covers it!
I got prime a few times, just to get the free shipping, then cancelled right after.
Now when I click prime, it just says something went wrong. Looks to me like u can get on a list.
> Imagine sending bulk emails to the police reporting all people you don’t like for all crimes you can think of, without any risk. Or if you could call mayday on the sea, get other ships to reroute and risk their lives, with no consequences.

I love this analogy because we find it wouldn’t work because it would likely raise some flags: 1) sudden influx of reports, 2) the person reporting leaves no reliable way to reach them back, 3) the people are already not on the police’s radar, so that in itself becomes suspicious.

How can we replicate these checks on the web?
Did you do any builds for homes or studios? Or was it all churches?
> After photography, an increasingly vanishingly small proportion of the art world tried to paint still life as an arts career and be taken seriously.

FTFY
It's crazy how populists and misinformation agents have successfully convinced people that any mention of a potential bias is an "woke" attack on their whole personality and world view.
Pardon my ignorance, but I did not get this part "when the preview shows a vulnerable alert", how is this happening?
From the blog you linked, I see that the preview is basically generated from the opengraph tags for a given link, not really sure how a phishing/vulnerable links can be caught beforehand via these previews?
i'm in more or less exactly the same boat, only i got diagnosed officially with adhd yesterday and wont receive any medication for a few weeks. hoping it's not a misdiagnosis and life becomes a little easier.
It was a replacement for an existing website (requirements are well known), so a custom CMS being part of what they were hired to build and an MVP of that CMS being what they're talking about isn't so irrational.
Why does the age of the movie have any bearing on this? We aren't born with all knowledge of previous movies. There will only be more and more of them released as the years go on. For most of us it isn't possible to watch and know all of them. I don't think it's too much to ask for a heads up when a spoiler is coming.

If this was a community based on the movie I'd say all is fair, but since it isn't I don't think it is fair to dismiss the concern just because the movie is old.
TL;DR a number of different parties are stating pretty unequivocally that there is fraud here in her work; however, no evidence is presented for our inspection, so while I don't doubt it, it's just a lot of "he says/she also says". I'm not entirely clear on this but I don't think it's too wrong to say: the fraud concerns, for example, papers based on trials where people are asked to fill out questionnaires where some pledge honesty before and others pledge honesty after and these results are compared against actual insurance company data, and conclusions are drawn as to what makes people be honest.
stores are nice (i’ve found the transitions especially useful) but very much optional. i’ve used redux with svelte with good results and as the article says, it’s easy to get svelte to work with any pure js libraries
Quoting Peter-Waterman1 from the article comment section:

This article barely touches the surface of Microsoft's licencing restrictions on its customers who don't want to use Azure.

1. Putting up SPLA licencing costs (Cloud providers must use SPLA) more than Enterprise licence costs.

2. Preventing Windows BYOL on other Cloud Providers but allowing it on Azure, making their customers have to purchase new Windows licences if they don't want to run on Azure.

3. Preventing Customers from running Office in other Cloud Providers.

4, Changing PaaS SQL licencing so that their customers cant use Passive licencing on secondary nodes, except in Azure

5. Preventing customers from bringing their SQL licences to PaaS Services, other than in Azure.

6. Stopping customers using Terminal Services, except in Azure

7. Charging customers exorbitant fees for supporting the end-of-life software anywhere except in Azure.

8. Stopping Customers using MSDN developer edition copies of Windows etc in any place except Azure

If these allegations are true, Microsoft is being anti-competitive and should be investigated irregardless who filed the complaint them.
You can cancel it right away, it's just intentionally obfuscated.

The many layers of cancellation buttons with different layouts strongly suggest that they a/b test for maximum difficulty.
Bessemer Venture Partners Reveals Top Emerging Technology Companies In
A globe is not a map projection.

With a globe you can only see part of Earth at once.
Smell Detectives: An Olfactory History of Nineteenth-Century Urban America
For this reason we use Zeplin, where designs are easily shared and versioned. For both developers and clients.
Or course the French government doesn't support ISIS, they also monitored everyone who fought for them. The problem is that these people are (supposedly) radicalised, and with active military experience (and probable related PTSD), not who they fought against.
Vim is not a very good diff tool (e.g. no word diff, tho there's a plugin) but it's good enough for most cases and it's nice to never have to switch the way you work.
> Yes, yes they could. That's not and shouldn't be Apple's problem. That's your workplace's problem to regulate how the device is used on-site

Considering the vast majority of exploits on Windows are not the fault of Windows and are the fault of 3rd party applications. The fault is always put on Microsoft.

If Apple gives you free rein, and shit hits the fan. People won’t blame the company for allowing a piece of software to go rogue. People will blame Apple.
A legal context like a “cease and desist” letter?
> This phenomenon goes far beyond drugs. Contemporary society has explicit or implicit taboos on anything related to expanding or altering human consciousness, to the extent that such topics have essentially vanished from both the mainstream press and academia.

I think you need an edit. Here:

> This phenomenon goes far beyond drugs. Contemporary society has explicit or implicit taboos on anything related to expanding or altering the human condition.
> “What do you do? Ah, a software engineer. I guarantee you most people in your industry are on it all the time.”

No, most people aren't on it all the time. And those who are aren't "highly functional". They think they are, but they aren't and it shows. Most of those who are are ridden by mental health issues, and stuck in an endless loop, living a rather boring and average life, with delusions of performance and greatness. Thinking that somehow being a drug addict is hip and goes with the software industry is a little bit daft.
This was an exaggeration, I admit.

Nevertheless community of NixOS developers is many magnitudes smaller than the amount of developers churning out new software, hence once you get off the golden path of the widely or somewhat widely software, the probability of a random thing working without additional elbow grease from the one who tries to use it is indistinguishable from 0, due to NixOS' dialect of Linux not being perfectly compatible with other dialects.

At the very least, documentation for the random thing will never tell you what to do under NixOS, and documentation is very much the part of the software product.
I started hating narratives. They create their own realities that often don't align with the available data or often don't even intersect with available data. Whole swaths of made up "realities" that are not even wrong.
I'm not sure if your second paragraph is still about furniture. But Amazon is objectively better than a brick and mortar experience by many metrics. With Amazon I can find exactly what I need in a few clicks. To find one item in a big box store would take 10x more time. This is probably the one metric that matters. Saving time.
I’ll care when Tim stops being a lying douche. He’s a terrible person and I’m happy Apple won’t support him.
Only one person has said they run in the negatives and they’ve said it alongside a host of other lies, so please forgive the less trusting of us for not believing the serial liar.
That's spot on.

That was what I meant initially: in HN there's a strong opinion against copyleft, not necessarily free software.
I did indeed!

Clearly more tired than I realised!
The Awakening of Faith in the Mahayana, attributed to Aśvaghoṣa but probably composed much later in China.
You can absolutely translate object oriented C++ to vanilla C. As a young teenager I would routinely convert C++ from books I got from my parents/library to C, because I didn't have access to a C++ compiler. The process isn't that difficult....

Take the members of the C++ object and create a struct to hold the data then create a 'constructor' function for populating that data. Afterwards you just call the member functions of the original class, as simple C functions, and pass the struct as the first argument.

This in fact is what the actually happens at the assembly level when using a C++ compiler! The idea of an 'object' is purely an abstraction!
1- Languages other than English exist, deal with it

2- Grow up

3- Say "cee-oh-queue"
Ronin is doing some interesting stuff, been following it for a while
It absolutely does. The difference between these two movements is purely philosophical; practically they describe the same things, they just do it in a different way and for different reasons.

(that doesn't mean the difference isn't important though)
I draw some comfort from knowing that there is a stable source of funding to the security and bug fix efforts. And a persistent incentive to not abandon this software.

I hate coffee, keyboard and software "subscriptions" which are just overpriced purchases but to me, this ain't it.
It's a storied tradition.

(I know that at least Django was written for a news site)
Americans mostly as they think the entire world is America.
> Wouldn't a sober study of the universe and history be more effective?

Our experience of consciousness is entirely our own. If we don’t vary it against a constant background, how do we know what sobriety even is?

Put another way: is the “sober” view of a person with schizophrenic hallucinations truer than that after they’ve taken an antipsychotic?
Tangentially related: https://scribe.rip/view-a-sku-32721d623aee

"... what if buying local was as easy as shopping at Amazon? What if you could buy local while shopping on Amazon?"