skysight-inc/HackerNews huggingface dataset:
The close ties to the state department made me uncomfortable while I was there, but I never saw anything that looked like they had any say in anything we did. But I never worked on Perspective.
> Can someone point me to an example where a class is more suitable than a function working on an object like an associative array?

I/O or resources.

Any time you're interacting with a stateful system like an API or a database, there's inevitable setup and maintenance to keep access to that resource sound. Additionally, you rarely care how that resource is kept coherent, you just need to access it at parts of your program. Without a class or some system that keeps some bookkeeping data around with methods, every function has to have that bookkeeping state passed in as a handle, and all of a sudden all functions need to know something about how setup works, as opposed to what it does. This is a rare instance of where namespaces + globals relative to those namespaces reduce complexity; even languages like Clojure have DI "objects" for resource access, and lots of languages that have IO monads are really a data structure over some state + functions.

This setup of objects as things you can't interact with directly--aka not data--is the original one in the literature. Once upon a time you needed to interact with a device driver or a mouse or a screen or a hard drive, and logically encapsulating that device was useful. You'd then interact via "messages" dispatched to the object which are effectively what methods are these days (the term "dispatch" is still used in the literature). It also makes mocking out that physical real-world thing easier.

Notably, objects never were meant as a way to represent data. I'm one of those functional programming weirdos that likes most things to be immutable, and I have simple stateless functions in an enclosing namespace. I pass simple structs (or case classes) of data around in those functions and it works well for me. But the I/O or externally interfacing parts of my program are always in specific places in my program, and they always use dependency injection, and it's always obvious what they are. They look like a sandwich where those objects are at the edges of the program (APIs/ingress and database/egress), but the meat of the program is in the inside and is boring pure functions.
With all due respect to China, licensing on fair terms has never been a requirement for state-sponsored intellectual property theft.
I understand that but I do not think that packaging is such a difficult subject that justifies a DSL as a new language.
Isn't a sector light a type of lighthouse?
>Can someone point me to an example where a class is more suitable than a function working on an object like an associative array? Genuine question from the ingnorant

1) A class is basically a contract known at compile time. If there's a mistake (for example, you're trying to reference a non-existing property), it can be caught before the program is even run, saving time.

2) A class often acts as a namespace/facade, i.e. you encapsulate a piece of logic inside a class, and its users only see a simple-to-use interface, they don't have to know about implementation details (such as what dictionary must have what keys).

3) A class can be made self-validating. For example, there can be a rule "price can't be negative". If we have a proper "Price" object, it can validate this rule itself, whenever it's constructed/updated. Thanks to data encapsulation, we can prevent users from updating the price value directly, only by asking the object to update itself (and it can refuse to do so!) -- making sure it never can be below zero. If you use free-standing functions on associative arrays, you can forget to validate certain rules in some places, leading to data corruption.

3) Classes allow polymorphic behavior. I.e. implementation can be changed dynamically based on the current context.

4) If you follow domain-driven design, it's easier to discuss and model new requirements with "domain experts" (not necessarily programmers) using the concept of "objects", with well established properties and behavior attached to them, rather than some ad hoc associative arrays and functions.

Not all of this is unique to OOP, of course. OOP is just one of the tools.
We purchased a machine from China and it came with malware preinstalled
The result of this is that many of the big companies have their own linux distro.
Finally an NFT I would happily pay for
'Science' writing at its worst -> the tennis-court sized telescope made its way into a parking spot that's about a million miles away from Earth.

It would be better to try to explain concepts in a succinct way and, if it is not possible, to provide links to get the full information about a more detailed description. Also it is a good idea to use metric units for science articles.
The blocks produced by this new software would be rejected by other miners still using the unmodified software, because difficulty(block)<difficulty_enforced_by_bomb_at-that_time.

Hence: the very definition of a fork, that is some blocks seen as valid by some faction and seen as invalid by others.
I do have kids, and I find your solution naive exactly because neither kids nor adults are magic.

The problem is that unless you observe the behaviour yourself as it happens, with substantial context, the idea that you can reliably know whether the behaviour was unacceptable is fundamentally flawed.

This is exactly what the choice of innocuous terms is for; to create plausible deniability. E.g. the word "camembert" thrown at someone out of the blue might be obvious because it stands out. But that's not the story you're going to get from the person who has used it as an insult. You're going to get a story about how they just talked about what they like to eat, or something like that.

You might see through that, but what quickly happens - what indeed happened with the brothers in my example - was that the person making the insults quickly calibrates to know exactly what results in a reaction and what creates enough plausible deniability that the person deciding if this is sanctionable is unable to determine with any reliability whether what they're hearing genuinely is an insult or the "target" being oversensitive and misinterpreting things. I was bullied at school at times, and saw this first hand as a target myself - the bullies quickly learned which ways they could word themselves to make the insults clear to me while creating enough plausible deniability even when there was no conflicting claims about what exactly they'd said.

Point being being that humans even with context and in the position to interrogate the people involved can't solve this with any kind of reliability. Then the notion that an AI at current state of the art without access to context or the ability to interrogate those involved doesn't stand a chance.
often poor code is a symptom of poor data structure design. having the wrong data structure can make your code heinously complex. conversely designing the data structure correctly can make your code simple and clear, because it’s obvious how to manipulate the structure to your code.

i also see a lot of code where people effectively throw 30 responsibilities into the same class. Really difficult to update. strictly enforcing single responsibility solves a lot of problems.
I fully agree with this. I think we're in the middle of a paradigm shift in regards to programming as more and more people enter the field or use programming as an auxiliary skill.

Like with writing/reading and math there was a time where only experts would do these things. There is still quite a substantial difference between a seasoned literary scholar and the average person, but many have access to this skill now and the fundamentals have become normal.

With programming I assume the same will happen. The fundamentals are simple and there are many ways, technological and cultural, to learn and use this skill.

Here's a list of programming types: Web development, systems programming, game engines, data analysis, application/UI scripting, scientific computing, spreadsheets...

I think we have to acknowledge and welcome this change and the people who will newly access this beautiful craft, while at the same time being mindful about what that means for professional identity and assumptions around that issue.
> Saint Lucia: 88,698 Deaths per million

Wow. Next highest is Somalia (3,261 dpm)
About Citation Files on GitHub
Yeah, Apple, who has more money than god, didn’t invent their own ISA.
Let's be clear about this: the purpose of these models is to cut costs, not to accurately gauge what was said.

Many business models based on user generated content wouldn't be possible if the businesses had to pay minimum wage to people for moderating that content. Using an AI model, no matter how broken, allows them to seem more concerned than if they were just relying on an old-school word filter without doing any actual due diligence.
I’ll never forget that I was sitting outside the hallway before my SATs, and some random girl I just met offered me Adderall - I had 3 thoughts:

1) I’m not taking random pills from a stranger, let alone before the SATs

2) If it is adderall, I have no idea what it would do to me

3) If I need adderall to do well on the SATs that would get me into a better college, I’m going to need it through college

Seeing this story makes me think that, yeah, some people probably do make it through hard programs with medication…
Well then, by all means, feel free to use [[ and function.

What you write will not run in Almquist or other POSIX shells, but don't let that stop you... until it does.

For the practical concern of portability, none of these are compliant, no matter our protests otherwise. They fail.

"The following words may be recognized as reserved words on some implementations (when none of the characters are quoted), causing unspecified results: [[, ]], function, select."
The article is based on a UNICEF report [1], which from a cursory glance seems to suggest that while the problem is present to some degree everywhere, it's by far the most pronounced in East and South Asia (but caused health care costs in relation to GDP is worst in Africa)

"One of the most concerning sources of lead exposure is the unsound recycling of used lead-acid batteries (ULABs), most of which are found in cars, trucks and other vehicles. Recycling activities are often conducted in informal, unlicensed, and frequently illegal open-air operations close to homes and schools." In general page 2 goes into common sources, most of which shouldn't affect Western Europe but are apparently quite common in poorer countries.

1: https://www.unicef.org/media/109361/file/The%20toxic%20truth...
> Also it is a good idea to use metric units for science articles.

It's not if you're writing for an American audience that's more familar with imperial units.
Huzzah! Good. Keep ARM free to sell its IP to all.
Take every one of those numbers with a grain of salt. For instance Hiroshima. By total energy released, the burning city after the explosion released more energy than the bomb. My point: the devestation yield of a nuclear weapon depends far more on where it is detonated than its physical power.

And remember the physics of spheres. Twice the energy in a 3d explosion does not mean twice the damage on the 2d ground. They very biggest bombs are not of much military utility. Far more damage can be done via multiple smaller bombs.
Since when do I care what China thinks? Frankly, it wouldn't kill for global trade (where the west is concerned) to swing back 15-20 deg to more autonomy. To zero? Madness; just a correction.

The salad years of buying almost anything at Walmart, Tesco, Amazon for 15% less than what it'd cost from the west and taking that to the hoop as success are long gone.

The low fruit is increasingly picked for them too. They can't do cheap labor 24/7/365 forever just like we can't do cheap prices for ever. Eventually we'll both need to rebalance price, jobs, security, and so on.
These properties can be inherited from model/organization itself except "difficult to understand for wrong reasons" and "doesn't work" perhaps. So that's why I point to "respecting to model", a more generic take imho.
> The problem with the example of Rex the Dog is that classes are not about being able to represent your dog. It's about something completely different. Encapsulation, modularization, abstraction - let's not pick nits about the precise meaning of these terms, they are all about the same thing, really: Managing complexity of your own code.

Author is also missing a big part of explanation here.

Real problem is that you won't have one dog, you will have hundreds of dogs with different attributes and you want to make them bark at each other.

When you have to implement bunch of running dogs - then you hit encapsulation, modularization and abstraction. Those properties are not some kind of given especially in example presented, but for me question "how can I make 100s of dogs" comes naturally.

So in the end author really misses Object vs Class distinction and I can see it in the writing. Author equates Object and Class where in reality Object is an instance of a Class in run-time, so you make "Rex" and "Lassie" dogs which are Objects in your program and can bark at each other. Classes cannot do anything as those are simply templates for creating Objects, you cannot do operations on a Class.

So below sentence is simply wrong:

> You have now defined a Dog class and can do operations with your dog by simply writing
> Existence of such value introduces three value logic because expression "NULL = <anything>" is neither true nor false.

Could you elaborate on that? I'm thought that in SQL `NULL=NULL` returns FALSE, much like the floats `NAN==NAN` returns false:

> select if(null=null, "Yes", "No")
> +----------------------------+
> | No |
> +----------------------------+

What does it mean that this is neither TRUE or FALSE? I very much appreciate the lesson!
But goods infringing IP can presumably be prevented from import into western markets?
The way to get a correct answer on the internet:

1) Post the wrong answer.
2) Get corrected.
3) Profit
With all due respect to the USA, never been a requirement for United States state-sponsored intellectual property theft either.
Creatingstuff.io hackathon – Music quiz (heybop.com)
You never know if you'll have adverse reactions, even if it's safe for most people.

I have a good friend (who is otherwise reacting normally to stimulants) who took IIRC ~50mg of Modafinil for the first time for an exam in uni. They ended up having to go to the ER in the middle of the exam, got diagnosed with some form of allergic reaction. Doc said it can happen for many medications.

Whenever trying a new substance for the first time, do so in a way and context that minimizes impact of unexpected effects or adverse reactions.

So I agree OP was irresponsible and should at the minimum have taken one dose off work before their first work-day on it.
Then you can use football fields as measurement unit, following that argument. Or bananas.
>All the market needs to do is provide the environment for that.

It's already been here and Dell/HP is still an X86 shop. Intel will survive, they've been doing this for 50+ years. With far, far fiercer competition in the past.
Deaths per pop statistics are often distorted for tiny countries since a few extra deaths can pull the stat by a lot.
Survey Says Developers Are Definitely Not Interested in NFTs
Apparently it's been renamed "spotted richard" in parliament[1].

[1]: https://news.sky.com/story/spotted-dick-renamed-spotted-rich...
It's the best place to be - it will be over quickly.
Totally agree. Working on it as we speak. I will post on my Twitter (quantavenue) once its live.
That’s fine until your entire planet runs on ARM IP made in china. China pulls the plug then we’re all in trouble.

What would happen is another mutually assured destruction stalemate.
Creatingstuff.io January Project – Beer recommendation application
Ariane 5 was cool in 1995
ARM has serious issues with investment their operating margins under SoftBank dropped form 50% to below 10% they can barely afford their current R&D investment.

And the market now is more dependent on their reference designs and core IP than ever.

ARM as a company isn’t in a good position, they need a parent that can actual drive them forward or go public and get the investment they need and honestly deserve.
> 5. This means, the after ARM gets owned by a US company, the US can possibly just cut-off ARM supply to China

China has already hijacked the ARM branch in China[1] and taken over ARM's IP.

[1] https://semianalysis.com/the-semiconductor-heist-of-the-cent...
> just fly over to the nearest “catch”?

No? (The stack unwinding is a whole process in and of itself.)
Except that the response would be that any product with that IP will be banned from EU/USA. That is a huge hit to take.
Visualisation of Related Subreddits
Though maybe being on ground zero counts as 'lucky' compared to being, say, 20 miles away in the fallout zone. One goes quickly, in the flash itself. Either that or on a Pacific Island somewhere (with a mountain, not sea level) with 10 years of supplies.
Webb: “The Trappist-1 system is the top of everyone's list.“ Knicole Colòn, NASA
Wisk Aero raises $450mm from Boeing
> This means, the after ARM gets owned by a US company, the US can possibly just cut-off ARM supply to China

Good thing ARM China already decided to go its own way [0].

0: https://semianalysis.substack.com/p/the-semiconductor-heist-...
Btw, if you are worried about your email being resold, what I do in those cases is to use an alias or hidden email.
You could easily call this thought experiment Chesterton's Cage. At least that is more honest about the philosophical implications. It's like Plato's allegory of the cave, except the argument is that you should never leave the cave because you don't (and can't) know what's outside.
I mean, the essence of the Cold War was each side trying to find any advantage they could, while pretending everything they tried worked.

Maybe the dolphins don't work well, maybe the enemy knows it, maybe they don't. Maybe the risk it works dissuades them from trying. Maybe the anti-dolphin countermeasures they carry are cumbersome and lead to their discovery. Maybe the dolphins work for once; I'm sure not every trial failed.

When you're throwing unlimited piles of other people's money at a problem, why not try some long shots?
The thing is, I'm aware about how voting is done outside of the US, at least to some extent.

That doesn't explain how readthenotes1's comment is relevant.

The amount of fraud in mail-in-voting is astoundingly low.

Mandatory voter id doesn't seem to provide any benefits except for calming an artificial fear that was hyped just to pass mandatory id laws.

I don't know why you say "focus on race" when the history shows that voter id requirements are there to elect Republicans, of which race is one correlated factor.

Why can a gun license be used as valid id, but a state college id cannot? College students tend to vote for Democrats. Gun owners tend to vote Republican.

Why do DMV offices (where you get ids) tend to close down in poor areas when there are cutbacks? Poor people tend to vote for Democrats.

Now, if we really do look to other countries, we can ask why the DMV is in charge of issuing id. In at least some of those other countries, it is the police which are in charge of ids.

So if we follow readthenotes1's suggestion see what other countries do, my point is that perhaps doing that correctly requires certain prerequisites that don't exist in the US.

> so long as I need to show my ID and vaccine card to get seated at a restaurant in SF

I didn't realize that getting seated at a restaurant was a constitutional right.
It's like complaining about C++. It will always be there. Ignore it, it's just people venting about the fact that solving hard problems is hard.
Please don't start a blog this way
ADRs FTW
They only asked if they are interested in crypto as a payment tool. Not sure if that qualifies as 'devs are not interested in crypto'
Because the demand is low. If developing countries wants multi seat on Linux, they can develop it.
I remain shocked how we in the United States knowingly poisoned generations with leaded gasoline.

https://www.smithsonianmag.com/smart-news/leaded-gas-poison-...

In searching for a substance that made gasoline less flammable (and hence stopped it from igniting outside of a cylinder, i.e. "knocking") we tried everything including adding melted butter! Lead along with a lot of other things worked well but we went with lead and poisoned generations of people.

Many blame it for the rise in violent crime from the 1960s to 1990s:

https://www.forbes.com/sites/alexknapp/2013/01/03/how-lead-c...

Nobody seems to care about any of this.
With regard to your first problem, it may be hard but should result in a more thoroughly decentralized system, no? And on the second, I thought PoS is orders of magnitude less compute-intensive?
There's probably an internal memo saying they'll embrace open source iff it benefits them. So forget about OSS drivers.
Unsafe recycling of electronic equipment mainly lead-adic batteries.
Is anyone even surprised by these anymore?
2022: The Year of the Thought Police
Limits have been proposed for how many of these stable relationships it's possible to maintain: https://en.wikipedia.org/wiki/Dunbar%27s_number
Even some on the Danube - in the middle of Europe...
CRPGs, also known as RPGs in computer circles :-)
I use kdiff3 or bc4. I find those tools more powerful for fixing complicated merges and just as easy for simple ones (eg manual alignment for when the merge algorithm can’t recognize what is supposed to be aligned)
Youtube has many extremly scary videos showing battery recycling operations, for example https://www.youtube.com/watch?v=VEvPjOKkPyE
The submarine might burrow itself down into the Mariana Trench and then set them all off at the same time. This would open a crack in the ocean floor, draining the ocean. I’m studying how these things work where this guy went to school: https://www.youtube.com/watch?v=cesSRfXqS1Q
I had that exact idea!
There are security checks for detecting userChrome.js. My understanding is that Firefox is going to let people customize as before but just not enable some security enhancements for those users. https://searchfox.org/mozilla-central/rev/02bd3e02b72d431f2c...
> Writing complex programs in BASIC was so cumbersome, it made me appreciate programming in C with local variables and data structures

My language trajectory was approximately from BASIC to Pascal to C to Common Lisp, but I had a very similar reaction. My move from C to Common Lisp probably had the greatest increase in appreciation because a task I semi-failed to complete in three years of C programming took me six months in CL, which was perfectly suited to the task in hand.

(the C task was postgraduate work in AI, in the late 1980s. As well as the importance of choosing the right language for the task, I also learned a lot about the importance of clearly agreed requirements, integration tests and software project management, none of which really existed on the four-person project I was working on).
You say they play a role in cancer therapy, yet the paper states, "this molecule is the first reported CDK20 inhibitor".
How could they have played a role before they existed?
> You'll always find people who'll say that Android and ChromeOS are Linux distributions and MacOS is based on FreeBSD. I guess it makes them feel good.

A "linux distribution" just requires the kernel, and the version they use isn't that modified.

If you want a wrong statement, it would have to be more like saying they're the same distribution as the internal builds used by Android Inc. in 2005.
>The study scales ended up being skewed because one subject had paradoxical response and felt relaxed instead on amphetamines, lol.

That happens to me and I want to research what it means but your link doesnt seem to work
Rocket Lab Catches Booster with a Helicopter in a Mock Drop Test