skysight-inc/HackerNews huggingface dataset:
Ask HN: ALGPL-Like License?
We have a couple of internal libraries we would like to open source.

* We'd like to receive patches back if you modify it to: distribute it (LGPL-like) or offer it as part of a service (AGPL-like)

* We don't care about the rest of the app you use it in (LGPL-like, unAGPL-like)

* We want businesses to use/compile verbatim binaries/source without fear they need to open source their proprietary bits

* We want businesses to have the right-to-repair and run modified copies internally without fear they need to open source their proprietary bits, but they do need to publish the modifications to the library

Is there an OSI Approved license, or a license from a commonly used project we could adopt?
Twitter's inscrutable, baffling UI strikes again. Direct links to the images are easier to read:

https://pbs.twimg.com/media/FBRaTBWVUAIIE8G?format=png&name=...

https://pbs.twimg.com/media/FBRacxMVQAMMj6S?format=png&name=...

https://pbs.twimg.com/media/FBRagQtVkAE6CvG?format=png&name=...

https://pbs.twimg.com/media/FBRakT8VQAI-pJu?format=png&name=...

EDIT: Also, this page has it in text form, though you need to scroll down a way (past several embedded tweets, ironically) to get to it: https://gothamist.com/arts-entertainment/heres-norm-macdonal...
No, it is actually good feedback. Any project should have a good background page why they sre being build, by who and with what expertise.
Use less nesting and more modules.
- PLA as a material is at least food safe (though food safe and body safe aren't the same). But! The material passes through nozzles which probably have lead in them etc. even if that's of negligible consequence though the main issue with making something body safe is the layer lines, which retain moisture and breed bacteria.

- yes, concave surfaces are dang near impossible to smooth.

- plenty of household release agents don't work in a silicone to silicone mould, or impede the cure of platinum cure silicone (the body safe kind), and if you bugger it up you're just wasted the mould and the dildo's worth of silicone which is $$$.

- I just used PLA. the beeswax doesn't touch it for long, you literally pour it in and immediately back out. Because the print is hollow on the inside and because beeswax has such a low specific heat capacity it cools instantly, and this all works, my pics are proof.

- silicone doesn't bond to PLA, no, but you need to smooth the layer lines, which brings us back to point 1....
I don't think it should be a method at all. It's just a function: join(iterable, separator). It can also be implemented with reduce naturally: `reduce(lambda x, y: x + separator + y, iterable)`.
People pay you for your product, not what's running under the hood. As long as you can sustain feature development and/or enough pull, code quality is absolutely irrelevant.

Also, any large codebase will develop some wharts due to circumstances you can't see when simply reading the code.
"Customers aren't paying you for beautiful code" was how this was phrased to me to a manager.

If the Twitch codebase hadn't leaked, how many people would have known that their naughty-word-blocker was implemented in a less than perfect fashion?
Why do you strongly dislike Python? Language design, standard library, community, leadership?
I suppose it's akin to a fidget toy but I think my cognition would halve if I didn't have my squeeze ball.
this is the reason.
Yes, I checked some weeks ago and v.16 was the last one, so I guess it was too soon.

However, you don't need a special repo for getting OpenJDK 17. Yours is for getting Oracle JDK 17, right?
Warning: self promotion ahead, but you've asked for it.

I built a company around this [0], but it's not open source, and I haven't exposed the dev platform to the public yet, and might only expose it to licensed partners.

It is a platform to create online 3d configurators for consumers and sales, driven by scripted templates that generate 3d components according to some configuration... Currently I'm leveraging webpack hot reloading, but an online IDE is on the roadmap for next year.

There are a lot of caveats in designing such a system, especially if you want to keep the performance top notch on mobile, and you want to have a modern dev experience.

The biggest value however is in the 3d components itself: simple components that compose well and allow you to build basically anything in a few days if you know what you need...

If I'd need to build it from scratch now (almost a decade later), I could probably build a cleaner, better performing platform in a couple of months in deep crunch mode.

However, if you have never done this before, it might take quite a few mistakes and a lot of refactoring before you get it right. (During the first 2 years I rebuilt the core 5 times because I had yet another use case that didn't fit in the models customers were asking for.)

If you are serious and have lots of houses to design, I might be able to help.

TBH the current website and the configurators on it are old and need some love, but if you want to see a good example of a client leveraging this tool, check this link [1], and click on 3d design.

Upfront: it's not cheap.

[0] https://virtualsaleslab.com

[1] https://brustor.com/en
Sony Music was warned about the toxic regime of Denis Handlin
I mean, yes, there were fewer major features, but there were feature releases in those minor updates; there's nothing wrong with having stable software. Are you also one of those people who complain that stable Debian and RHEL releases include old software? Not everyone wants to live on the bleeding edge, and Java was a heavily enterprise ecosystem (for better and worse:]).
CNN is not "the left".

Nor did Kamala Harris throw doubt on an existing and proven vaccine. No vaccine had been approved at that point, whereas Trump was blundering through the pandemic response in search of any way to save his political hide. There was a lot of evidence Trump put pressure on public health officials to downplay the pandemic and put people at more risk than necessary.

Trump had already been known to be conman before he was elected. Everything we learned since only put more details on that fact.
I was thinking that too, in fact I wondered whether in some way the writing style was intended to be humorous ? Probably not. I don't know who Norm Macdonald is except for some reason in the last few weeks YouTube thinks I might be interested in him. Just another YT puzzle.

Oh, OK, I'm sorry, he's died recently, hence the YT prompts. 61 doesn't seem very old.
Very well said! You might find this talk interesting, it’s about “democracy at work” as a new-ish flavor of socialism. https://m.youtube.com/watch?v=ynbgMKclWWc
Culinarily, it's hard to be mad at less White, Asian, Hispanic and Black food?
So it's the No Agenda Phone, except they don't provide instructions on installing GrapheneOS, they want you to buy it from them?
mean.
Don’t forget this gem:

> almost half of the COVID-19 cases in hospitals are mild or asymptomatic

Why on earth would asymptomatic people be hospitalized?

And “mild” just means “you are not at immediate risk of death,” not “it’s going to be an easy illness.”
‘Who Killed the KLF?’: Film Review
As always, all languages, especially the new one, should have a "why" section. Small caveat: maybe it's still under construction and the person that posted it just found it too early. But once you're ready to show it to the world, please include the why! Note that anything is valid in the "why", even "just for fun" or "because I could". For now there is:

> Senegal is a powerful, small-but-fast, concurrent, class-based, and dynamically-typed programming language with a modern syntax.

I think the closest thing to it is Wren? https://wren.io/. The difference being that Senegal is compiled and Wren is interpreted.

A few things of interest:

- there are exceptions

- you can call some C code: https://lang-senegal.web.app/docs/cimport

- you can "enhance" (monkey patch?) classes: https://lang-senegal.web.app/docs/enhance

- classic C-style for, while, switch keywords

- there's a pipeline operator, but it's <| https://lang-senegal.web.app/docs/pipeline

- the reference to "switch statements" probably means that switch and if are statements, not expressions
The reasons are included in the article.
I bet a Clojure-style ‘threading’ arrow function can be easily done in Python.

arrow(my_list [map args] [filter args] [filter args] [map args] [sum])

For cases when function argument positions differ, you'll need some special var in your module to signal where to inject the list.

arrow(my_list [map map_func arrow.list_here])

Won't be surprised if something like this already exists, but I can't think of keywords to search for that aren't too generic.
Please provide a list of all the false statements and sources that prove them to be false statements.
I believe vast majority of them don't hit Earth.
It doesn't come off as simply pointing out. How does he know it's obviously dishonest? The author likely felt otherwise. It just comes off as an entitlement that wasn't necessary.
There's a Discord where you can probably get the answer to your question: https://discord.gg/9dq6YB2
That's blatant and shameless fear mongering. And your description of -

> the government has given itself vast power to perform warrantless search, confiscate property and conscript any person

Is entirely misleading if not outright false. The "emergency powers" are written to support fighting natural emergencies (primarily). Read the entire thing for context (warning:PDF) https://www.saskpublicsafety.ca/-/media/project/spsa/documen...

Besides, this act does not supersede Charter Rights.
Worth reading about what personal and professional challenges Ryan Caldbeck faced before leaping in to criticize. He wrote an excellent tear down of a destructive board member appointed by the VC backer.
Maybe we'll have a re-release that fits GOG business model at some point.
From the article:

> “Part of it is to make sure if you’re a young girl that you can find a police car, fire truck, a periodic table or a dinosaur,” Low said. “And then similarly, if you’re a boy, if you’re more artistic and want to play with glitter, why not? Why should you feel the stigma of saying, ‘Oh, this should be shamed’ and going to a different location?”

> Low said the daughter of one of his staff members inspired the bill when the girl questioned why she had to go to the boys section to find certain toys.

Actually most of the article is dedicated to answering this question.

You can also look at the bill: https://leginfo.legislature.ca.gov/faces/billNavClient.xhtml...

> The Legislature finds and declares both of the following:

> (a) Unjustified differences in similar products that are traditionally marketed either for girls or for boys can be more easily identified by the consumer if similar items are displayed closer to one another in one, undivided area of the retail sales floor.

> (b) Keeping similar items that are traditionally marketed either for girls or for boys separated makes it more difficult for the consumer to compare the products and incorrectly implies that their use by one gender is inappropriate.
Well, internet use -> computer use -> better economics + indoors more often.

Contrived but not ridiculous
Alas, when presented with a problem many of us search for a solution. Afterall, that's what we do. But sometimes people don't come to us for a solution. And for me, and many like me, it's really difficult to not look for a solution to help them. There's nothing logical in that, and the search for solutions it's driven by your own emotions and desire to help. But it's what we are or what we have become, and it's not easy to overcome.
I'm not sure I'm a fan of the 'Enhance' concept[0]. It seems to be similar to prototype Pollution in JavaScript[1] which is generally considered bad practice. I can't tell, is `Enhance` scoped to the current context? Or does it affect all of that type throughout the rest of the program?

[0] https://lang-senegal.web.app/docs/enhance
[1] https://portswigger.net/daily-swig/prototype-pollution-the-d...
What counts as a "section"? Is one shelf section with some token toys (eg. legos, magnets) enough?
Why not just forbid the use of store imposed gender labels? Wouldn't that be easier, and more in keeping with thr historical interpretation of civil rights law?
Pretty much every drug that lowers your T or DHT to the point where you can‘t get an erection anymore can permanently ruin your (sex) life.
Support for Windows, MacOS, and Linux is also a plus.
I don’t think this should surprise anyone. Hollywood has no ideological anything beyond “make more money,” and for some franchises China is not just a market - it’s the market.

The Transformers series especially wound up being money printing machines in China.

Even overlooking the pressure China doubtlessly applies to Hollywood, the execs greenlighting scripts would have to start hating money to approve anything that jeopardizes revenue from Chinese theaters.
I still don't think anyone would think 2.5 billion years ago would be recent, on a body that is only 4.5 billion years old. 2.5 billion in the past is less than mid-point in the moon's age, closer to the beginning than the end.
We have North and South Korea because of a US invasion, the massacre of tens of thousands of people in the South with any sort of left/social-liberal sympathies, and a fully fascist government propped up by the US that lasted until the 80s. https://en.wikipedia.org/wiki/Ilminism

It's nothing to respect. The US is something to respect, because it's got a lot more economic and military power than poor backwards NK. Through the US, South Korea became a country. That's the mechanism of state formation.

China doesn't bow to the US, so it's an entirely different dynamic. I say entirely different but the creation of Taiwan was a forceful takeover of an inhabited island by a retreating army who ruled with an iron fist. It was under martial law for 40 years. The nicest thing I hear people say about Taiwan is that it's 1) not China, and 2) not that oppressive anymore.

The idea that China would suddenly respect that is weird. Plenty of people in Taiwan support unification.

It also isn't like people who also wish to deal with China don't deal with Taiwan as if it were a country, they just don't call it one. It's like when they tried to call gay marriage "civil unions" in order to maintain the letter of homophobic policies while abandoning the substance.
> Is that all there is to it? A txt to database solution?

> This whole check should not even be in SQL.

> Similarly, for our original problem we should have a function or class which purpose is to check whether a word matches against many regex phrases.

Interesting conclusion. A Very confusingly-worded article.
I think it's because anyone can research for themselves today that there is very little scarcity value to the majority of what journalism does. Therefore journalism has morphed into media, trying to attract eyeballs with opinion pieces and outrage.

Yes, I know that deep investigative work is not something people can do as well as dedicated journalists with large budgets. But that's such a tiny minority of what journalism was before the internet, and it was being subsidized by the rest. It's an unfortunate victim of the business model collapse.
No, my opinion that people should resign from Facebook is not a forwards looking opinion but a backwards looking one. But if you agree with my position on what you're contributing to, it is an additional reason to do so.
Finally. The over-gendering of simple toys has always perplexed me. I'm not sure government is the right place for such a move, but it's a long-overdue move regardless.
I agree. There are much bigger issues the government is causing: proliferous waste of public funds, water crisis, incarceration rates, extremely homeless/vagrant populations among many others.
> Kids learn spatial skills from construction toys, for example, which can help later on when they learn math in school.

But wait, don't girls do better at maths in school, despite construction toys being a "boy's toy"?
Wow, if it really was a sentence per tweet, that would've been really obnoxious.
It's kind of stunning that starting with fully open technologies we build another closed mainframe on top of it.

All that's old is new again.
> Individuals are not the collective. Not only is it inaccurate as a generalization, but it personifies the collective. A nation state is an abstract concept.

A nation state (which is a political organization) is the way that populations interact on the political stage. A nation state presents representatives which uniformly have a manner of control over the population and the forces (eg economic and/or social and/or military) that population can wield. So this "abstract concept" is not relevant in any way to the discussion. China is whatever the CCP says it is, because they can do all the things a nation state might want to do (imprison, slaughter, wage war, nationalize industry, etc).

> This is most apparent for me in the false narrative of, "China lifted a billion people out of poverty".

It's a misrepresentation of history by omission, but it's not false by any stretch. I don't think it's impressive given the historical context, but all sorts of governments use information without context as slogans. I'm not surprised the slogan is so limited. It lifted multiple billions out of poverty by putting them in the ground.

> China, the nation advanced economically. Business people worked together to develop an economy. These individuals are the real heroes, not the state.

They aren't China. They operate there at the CCPs whims. I am confident these individuals operate there because the CCP allows it and doesn't want what they have (yet).

> Going back to the propaganda narrative, how much better off would the people of China be if they were not under the yoke of the CCP?

We are talking about the China of today. Telling someone to make a distinction because you want to discuss about China's future or even alternate past is a derail. GL with whatever.
She wouldn't have needed to politicize health policy at all if Trump and his administration had shown a basic level of competence and honesty around that topic.

The fear that Trump might push an unproven, unsatisfactory vaccine, was legitimate. Doing so would have damaged the actual vaccination campaign immensely.
The "enhance" seem to be monkey patching, which is a common practice in dynamic languages. Prototype pollution is when malicious people use monkey patching to introduce vulnerabilities.
W T F ?
The law is pretty vague on this point.

"in which a reasonable selection of the items and toys for children that it sells shall be displayed"

I'd expect a single tiny shelf to be deemed unreasonable, but where exactly the line lies doesn't seem to be defined.
All 7 ways boil down to "hype", as hard as you can.
So far, the verdict is more towards not working.

https://gidmk.medium.com/
> But I also would like to be able to call .sum() on my iterable at the end of a chain

Yeah, one thing I like about Ruby over Python is the fluent code th former allows of that style.

People talk about Guido not liking functional style, but that explains comprehensions over map/filter, but not function-sum() over method .sum().
Absolutely - CDK under the covers generates CloudFormation templates, which deploy natively on LocalStack. Certainly a great use case for local dev&test - especially if you want quick feedback cycles, ability to destroy the stack immediately, etc.

There's also a "cdklocal" command line which should make it fairly easy to get started with local CDK development: https://github.com/localstack/aws-cdk-local
The West really, really wants to shut its eyes on China very tight. We need to deny the West this comfort.

That's a paradoxal reaction. It's like somebody being raped tries to cover her face to not to see her rapist.

Not seeing a rapist doesn't change the ground reality of you still being raped. The correct action is not to use hands to cover your face, but to punch back the assailant.
Show HN: Temple – Fast commandline template renderer written in Rust
OBS Studio Virtual Camera on FreeBSD
In Python, a function that makes and returns a copy would be idiomatically named shuffled(). Consider sorting:

xs.sort() # in-place
ys = sorted(xs) # copy

As for functions returning the object - I think it's a hack around the absence of direct support for such repetition in the language itself. E.g. in Object Pascal, you'd write:

with array do
begin
append(A);
append(B);
sort;
end;

Or better yet, in Smalltalk:

array append(A); append(B); sort.

https://en.wikipedia.org/wiki/Method_cascading
My attempts on this:

https://github.com/vlisivka/rust-arduino-blink - just minimal blink

https://github.com/vlisivka/rust-arduino-hello-world - just print "Hello, world" to serial port.

https://github.com/vlisivka/rapt - little shell for pin testing (turning them on/off via serial port).
> In my view, norms have to be actively upheld, even especially if you are on "Team 'rule of law'".

What norm or law makes Taiwan a state other than that it claims itself to be? If you're team "rule of law" I think you have to insist that the KMT still run China.
Well, obviously. Their current system offers enough value for users to keep using it. The question of if working on something is an ethical pursuit is only partially connected to it's demand. Examples abound of things which people happily buy en masse but the question of if they are the right thing to push forward as a contributor is unclear.
Consider what'd happen whenever a new builtin gets added.
Unfortunatly you often can't use -o because of the 3rd party libs that didnt' get the memo and use assert for error checking.

We still have -X dev and sys.flags but it's runtime only.
You go to the shop and ask so you get the right product because silicones that are safe for this are rare and rarely advertised as such.

Because 3D builder is legit better than tinkercad in many ways, but you're free to use tinkercad, it's totally a matter of preference. I actually list it as an option in the article, so not sure what prompted this comment.

Tinkercad won't give you volume info and nor will most organic sculpting software.

Are you talking about "magic numbers" with regard to the layer height? If so, I'm printing on a delta so it basically doesn't matter.

Yes, because it removes the layer lines, which is the main health risk in printed toys (and without smoothing those layer lines just get transferred to the toy, silicone picks up microscopic details)
How about judging by blood reactivity to virus protein in an ELISA test? [1]

Why is it riskier and to whom?

[1] https://www.fda.gov/media/141777/download
Some prior art, from the 90s: https://en.wikipedia.org/wiki/AutoLISP
A storm is categorized by intensity when it hits Earth.

It is common, but not an everyday occurrence
I believe it is intended as humor -- the whole joke is that the story is fabricated, and he himself is deceiving you with fiction as a typist himself.

Of course, like you, I'm not 100% sure I'm right as with many of Norm's gags.
The existence of people who are anti-immigration would prevent you from visiting the UK, the USA, Italy, Germany, France, Japan ... so yes in this context it is a weird place to draw the line and is pretty small in the context. I'd be curious what country passes this particular purity test ...
There are non-malicious issues related to prototype pollution. The most recent that comes to mind are packages overwriting each other. How do you handle two enhances that add the same function name? In JavaScript the second overwrites the first, which can cause issues if the functions do different things.