skysight-inc/HackerNews huggingface dataset:
and

*((char*)mempcpy(dst, src, min(len, dstsize-1))) = 0;

can be replace by

((char*)memcpy(dst, src, min(len, dstsize-1))[min(len, dstsize-1)] = 0;

if you don't have mempcpy
The free market gets distorted under monopoly conditions.

If I'm Disney, and I own millions of works, I can start banning some of them on a whim. My bottom line won't be meaningfully affected.

> They have decided they don't want to facilitate the transaction, which is their right as a free enterprise.

It was the legal right (duty, in fact) of Soviet commissars to vet any book before publication. The net effect was book-banning.

Just because something is legal doesn't mean it won't lead to catastrophic consequences.

Standard Oil's complete monopolistic takeover of the US oil market was also legal at its time. Then we decided we can't live with these results and made laws against them.
It does create a dangerous market pressure, but entirely by accident. Valve has developed an amazing piece of software in Proton and made it freely available, but offered no support for developers. Proton is an enormous library papering over an equally enormous API gap between Windows and Linux. Normally when game developers use such components (like engines) they pay a licensing fee, so that when something breaks, if it’s the licensed component’s fault, they can expect support in fixing issues. Since Valve doesn’t offer a paid support option to devs, they are in a difficult position - Proton is by far the easiest way to get games running on Linux, but can’t be officially supported without incurring the cost and overhead of bringing on a team of Proton specialists to ensure compatibility.

I’m not in this area professionally so maybe I have a few things wrong here.
I found this [1] form that might be a place to submit inaccuracies of their map, maybe.

[1] - https://www.fcc.gov/information-required-when-filing-informa...
I used the PulseAudio simple API only to find out that it didn't work. Only when I changed to the normal API it started working.
Relatively easy to build perhaps, but you still need to have a QA team for it, support it after release etc...

That's also assuming they're using an off the shelf engine that is also bug free on those platforms. Both unreal and unity aren't at the same level on Linux as their windows counterparts, and Lord knows I've tried . There's always one more thing that doesn't work and requires workarounds.
Open network and interface protocols. This was Sun's argument before they opened up Solaris and Java.
The reason sites are adding these CNAME tricks is specifically to enable evil.com to track you across sites to sell ads. So it's not just the CNAME trick, it's specifically what evil.com is doing that links accounts across sites.

The bottom line is that evil.com would not be asking sites to install CNAME tricks in their domains if evil.com cannot leverage those tricks to track users across sites. That should be obvious.
Advice you could give to your younger self regarding coding
The casscading part is what makes CSS devilish, its a bunch of hiddens tate written in a language people dont master (becauses its not really worth it to vs all the other stuff to learn) and this hidden state creates all sorts of headaches. Whats worse is these headaches are so damn visual, you cant ignore it. Visual bugs drop the perceived quality of your brand so it can cost alot to leave that nasty visual bug around.

My approach is to limit cascading as much as possible and try to contain the evil that is css to its respective component.
Www.megabots.com (Feb 2020)
> whoa this is REALLY interesting!

Thank you very much!

> I wonder if you could try some pilot programs with places like https://www.recurse.com/ or other alternative educational institutions.

Yeah, that would really be helpful. Would you like to join the project and/or mentor me? You have fantastic profile and lot of experience in the education domain. You joining the project and/or mentoring me will make a huge difference to the project.
> by using Go's horrible templating minilanguage

Any specifics that stand out to you? I haven’t done a lot with templating, but when I was investigating Hugo a while back it seemed straightforward enough. But that was at a high level.
Doyne Farmer et al have written about the connection between spectra and stability in reaction-diffusion.

http://www.doynefarmer.com/dynamical-systems-and-chaos-paper...
In signal processing on constrained domains (constrained including the lack of an FPU), the usual alternative to floating point is "fixed point" arithmethic.

Basically you use the platform's native types (e.g. uint32) and decide which of the bits are for the integer part and which are for the fractional. uint32 can be interpreted as 20/12 for example. Your register went from representing "units" to representing "2^-12 increments of an unit". The ALU can do sum/comparison/subtractions transparently, but multiplications and (god forbid) divisions require shifting to return to the original representation.

The choice of how to split the bits is a tradeoff between range and precision. It can vary from one routine to another. It's a pain to compose code with it.

Short story: native float types are a blessing for programmer productivity and library interoperability.
The actual facts are that they're not mass produced and commercially available, just like all the other battery advancements that pop up a few times a year.
Centra Co-Founder Sentenced to 8 Years Prison for Fake ICO Scam
This explanation feels off, to me. Aren't all numbers symbols? Pi, e, 10, 0xA, 9.99999...?
Anyone have a recommendation for a reddit clone open source project?

Edit: an open source project where you can quickly roll out your own reddit style, link agg, site.
Perhaps a good time to post this short story “The Road Not Taken”:

https://eyeofmidas.com/scifi/Turtledove_RoadNotTaken.pdf

It’s a fun read. (20 pages)
I'm sure this varies state-to-state. I wouldn't say my driving test was a joke (in the sense of easy), but the hard parts had very little to do with driving safely. the whole thing took place in a parking lot at 5 mph. I failed the test my first two times because it was really difficult to perfectly parallel park my dad's massive truck.

I think it would be okay to make the initial test a little harder, and ideally more focused on real world driving safety. the real problem is if you let someone have a license, they plan their life around it, and then you yank the rug out from under them because they couldn't back up 100 feet in a straight line ten years later.
Remarkable's chrome extension does the same, no? And I have full control in the print dialog to adjust the output.

There's a value if you provide a CLI tool for that, for automation.
Users running a game in proton show up as Linux users, not windows users. Because of this, many games already show a bunch of Linux players even though the game doesn't have a native port.
Good point; I did not know this.

However, as a regular user, I assumed ProtonDB was also Valve, and that will be the main contact point for many.
Exactly. They've done it before and if the SEC starts asking pointed questions or even a bad NY Times article that threatens the IPO, WSB will be gone super fast.
> All in all, I much prefer the "relative poverty" of living in Sweden rather than getting 2-3x take-home pay while living in a stressful society such as the US

I don't get where you get the idea that all Americans are some hamsters spinning the wheel. Lot of IT jobs in USA are high-paying without the kind of stress you are talking about. And no they aren't getting rich to the extent that they are buying yachts or jets. On the opposite, lot of low paying stressful jobs exist in EU.

> The US is the outlier in pay, most of the EU tips into a more collectivist view.

Without much regard to the strength of different kind of economies around EU. A Spanish shouldn't be paying same price as a German has to pay without earning the same salary. This is big downside of EU that the collectivism you are talking about only works when they don't want to pay the salaries but still charge you the same price.
Global Poverty in an Unequal World
What confuses people is the fact that for many things if energy isn’t used it is actually completely lost, hence people believe that this “lost” energy constitutes a possible unlimited potential supply. Sure it can constitute such a thing if you can find a way to utilize this lost energy. Currently there’s no way to utilize hence it’s not a factor.

Ephemeral supply and wasted energy only limits supply even further. Here’s a very simple way to think about it that gets rid of the associated complexities :

The fact that you pay for energy and the fact that energy outages can occur when usage exceeds supply means that energy is limited and therefore zero sum. In fact the attempt to try to reason your way to another conclusion is the silly endeavor.

The economy is zero sum because the actual key measurement of all economic goods is the lowering of entropy which is directly done by energy utilization which is directly limited.
>The result is that these massive copyright holders can decide which ideas are allowed, and which ideas will be banned.

They're not deciding which ideas are allowed or banned.

They're not stopping anyone else from creating, espousing, publishing any other ideas at all. There's thousands of publishers, and even the very biggest only hold a tiny fraction of the publishing market, so this complaint seems quite overblown.

Should a publisher be forced to publish things they choose not to? I'd prefer not. There's plenty of others. And the internet makes it easy to post any ideas you choose, vastly easier than at any point in history for individuals to make their ideas available to billions of people.
Would definitely love to see the numbers, but I suspect Tencent is paying their bills mostly
I live on Lake Erie, and I've seen this effect before. There will be a point between the shore and the horizon at which the water takes on exactly the hue and luminance of the sky, and makes lakers, sailboats, buoys, even a nearby lighthouse, appear to hover. If the point of transition in the color of the water is pretty straight and is parallel with the actual horizon, the effect is convincing.
I agree with what is implied, Reddit is provided quite a bit of cover in this area, they could simply say they did it to prevent possible legal issues that they would be liable for. Of course this does not stop them from using their Discord to effect any action they want.

I am still waiting to see how Congress acts overall to the likes of WSB and trading apps in general. I am betting they will have some wonderful sounding law with all sorts of wording claiming it is to protect the unwitting amateurs while in fact simply protecting their wall street donors from these amateurs upsetting their apple cart.
Yes, 'recur is most commonly used in conjunction with 'loop, thanks for clarifying.
This newfound moral outrage is hilarious. President Obama praised and recommended Dr. Seuss books in an official press release as recently as 2015, his last year as president. Now they are suddenly "outrageous and unacceptable".
WHATWG’s HTML spec is the only thing that matters when considering what HTML is, because it’s what every browser uses, which is the primary target of HTML.
Fascinating that using a 0 (zero) instead of an O let them backdoor this.

function _setAdmin(address newAdmin) internal {
bytes32 slot = ADMIN_SL0T;

assembly {
sstore(slot, newAdmin)
}
}

https://obelisk.medium.com/meerkat-finance-and-the-0-that-wa...
Only in the strictly mathematical sense. To a first approximation, floating-point numbers behave like real numbers, and that's good enough for many use-cases (not all, though).

Similarly, fixed-width integers have a totally different algebra than true integers, and yet they're immensely useful.
If you are British, you will recognise my italics.

It is perfectly acceptable for any member of the public to be ignorant of some unusual phenomenon. It would be fine if this was a blog from the walker who took the photo. But it is not acceptable for a professional 'journalist': either they are a 'science correspondent' and they should know the answer; or they are temp-ing in the science department, and should ask an expert, or at least find 5 minutes from their busy day to google the explanation.

Then again, most 'journalists' these days seem to be employed by the 'social media' department.
The goal of primary education isn't to understand any particular thing, it's to provide the intellectual training to understand anything. Someone doesn't need to leave middle school or even high school "understanding physics", but with a base for future understanding. The Bohr model is more than sufficient to help understand chemical reactions.

People seem to be interpreting "lie-to-children" as meaning "[you must] lie[ ]to[ ]children". I don't think there's anyone who thinks that children should be actively deceived into not knowing about quantum mechanics, just that it's OK to use simplified explanations as one step in the process of learning.
Wow, what a toxic attitude you have towards journalists. This is a fluff piece, not a serious piece of investigative journalism. The bar does not not need to be very high for this kind of article.
I have a recurring data-sync error that I can't seem to diagnose or resolve.
> I have nothing against supporting GPUs (although I think their use is overrated and most people would do fine with CPUs), but Python really needs a general purpose, high performance autodiff.

As someone who works with machine learning models day-to-day (yes, some deep NNs, but also other stuff) - GPUs really seem unbeatable to me for anything gradient-optimization-of-matrices (i.e. like 80% of what I do) related. Even inference in a relatively simple image classification net takes an order of magnitude longer on CPU than GPU on the smallest dataset I'm working with.

Was this a comment about specific models that have a reputation as being more difficult to optimize on the GPU (like tree-based models - although Microsoft is working in this space)? Or am I genuinely missing some optimization techniques that might let me make more use of our CPU compute?
Yeah, but closer to the reals than fixed point or integers. That’s kind of the point of the standard.
Dr Seuss Banned Books Collection [pdf] [Torrent]
Yeah, the U.K. saw what was happening across the pond and made the right call with the BBC Micro.

It's both sweet and sad to me to read this woman's account of her childhood where the best thing to come into her families living room was a $99 Timex Sinclair.

What a fortuitous decision her parents made while the rest of the neighborhood jumped on the cable TV bandwagon with their disposable income. (I suppose I should be sad for her neighbor kids instead.)

I guess what I really want is for every child to have the same access to opportunities that this one (only barely) realized.
This is tentative, but I was thinking of Hyperledger Iroha, Sovrin, Stellar and GNU Taler.
I don't know much about the topic, but I wonder if particles could hypothetically break down to infinity. Can someone comment?
Not exactly that I know of but the automerge project is one of the more active open source CRDT spaces.

https://github.com/automerge/hypermerge for example
How is cash not decentralized? I can pay anyone anywhere for anything and I don’t need any centralized infrastructure.
Without evidence to support these claims, I feel like what you’ve said just sounds like more fear-stoking.

It’s also likely that Reddit has become more international, and the world at large leans more left than the current US. Couple that with mostly-US news stories, and it’s not surprising to me that Reddit is often quite angry.

Without evidence to support accusations to widespread government propaganda, I’m going to have to go with the simpler of the two options.
I think it's a matter of definition. I always thought of framing as understanding your audience and expressing your ideas in a way which puts a "frame" around a viewpoint to highlight the way it matters to them. It's a general technique which is very important to effective communication, but there are ways to make it manipulative, such as preying on people's fear/greed/envy/ other negative emotions. But I think framing is a neutral term which does not exclusively mean negative emotional manipulation. Having said that, I haven't read the articles on the site to know which way the Framing Institute uses the word framing.
Computer Algebra is criminally underused - it has the potential to make math-heavy critical-path code a lot more clear, testable, observable and bug-free by design.

I feel I need to mention "Structure and Interpretation of Classical Mechanics" by Wisdom and Sussman, and the accompanying "scmutils" library, which first implemented in Scheme many of the same features, although this Julia library seems to be more complete.

There's also a great one-to-one port to Clojure by Colin Smith [2] in case you want to use it on a more production-friendly environment. The Strange Loop talk [3] is a good showcase of the power and simplicity of these kind of systems.

[1] https://groups.csail.mit.edu/mac/users/gjs/6946/

[2] https://github.com/sicmutils/sicmutils

[3] https://www.youtube.com/watch?v=7PoajCqNKpg&ab_channel=Cloju...
What does this obfuscation accomplish? Is ADMIN_SLOT some sort of standard constant?
The problem is profiting from spreading misinformation. Tesla short-sellers run large operations that fabricate and spread lies. It's usually easier to spread misinformation than to debunk it.
I've been using Gatsby recently and it's been pretty good, as long as you're not opposed to node and JS.
Lemmy https://github.com/LemmyNet/lemmy
The free version has never limited me in any way for my needs. Theres a cloud, sharing dashboard thing that costs money, but I never needed it since I only need to share static pdf reports.
> wouldn't be completely unheard of

I'd phrase that as "is standard operating procedure", actually.
How Checkers Was Solved (2017)
I for one don't believe a company's politics - public or otherwise - have a significant impact on share prices.

Rich or many people buying and selling though.
From the source:

Dr Seuss Banned Books Collection [PDF] [XannyFamily]

As you may have seen in the news recently, six Dr Seuss classics have not only been discontinued by the publisher, but further, retailers including Barnes & Noble and eBay are removing all listings for existing copies of these books.

While it is the right of a publisher to stop publishing their own works, the pressure put on retailers to remove all listings effectively pushes this through the blurry lines of censorship. If we cannot draw the line at banning the sale of books, how is this any better than book burning?

eBay is removing all listings for those who may wish to purchase these books legitimately because they're supposedly racist. And yet they will happily sell you a copy of Mein Kampf.

I believe history should not be forgotten and works of fiction should be considered as products of their time. There are many many books, movies, TV shows, and other media that could easily be considered offensive today. Should they be forced down people's throats? Absolutely not. But nor should they be banned.

After all, if these books truly are offensive, we should remember the old aphorism: "those who cannot remember the past are condemned to repeat it."

Here is the full collection of all six banned Dr Seuss books. I will let you decide for yourself how offensive you believe them to be. I release them in the spirit of the moral values outlined above and the belief in freedom of information. You can ban stores from selling paper books but you cannot stop a peer-to-peer network.

Seed seed seed.

-- end
Ask HN: What Makes an Infra Monitoring and Alerting System Effective?
Hello HN,

I'm writing up some of my thoughts on what makes a good infrastructure monitoring and alert system. Do you have any thoughts based on your experience?
Nice to see the interest! https://symbolics.juliasymbolics.org/dev/tutorials/symbolic_... is a tutorial that incorporates some nice features like building parallel sparse matrix code from symbolic arithmetic.
> When they do it's often a mistake, like for currency.

The most beautiful FP bug I remember was a denial of service in some webservers where by setting the header "Accepted Language: en-gb;q=0.3 en;q=0.8 ..." to a specific value you could send the official Java floating-point parser in an infinite loop (and this affected several Java webservers).

So at each webpage request, you were sending one CPU core of the webserver basically busy-looping. Hence crashing the webserver in a few requests at most.

Now it'd be heresy if I were to say that maybe, just maybe, had the standards mandated to use 0 to 100 for weighting instead of 0 to 1.0 we could have dodged a whole source of potential issues!?

No, no, I realize this is heresy: let's all keep using numbers that cannot even be represented correctly (except as strings), parse those strings into something approximately representing what's written in the string, then make more approximation errors while doing computation with these numbers, propagation errors, epsilon estimation errors, and keep insisting we all could have authored "What every computer scientist should known about floating-point numbers" (which is 80 pages long and, well, approaching a treaty) ; )

/rant off
Sure but lots of pages won't load without javascript so it's double edged. If the javascript won't load it can't download the page via js only mechanisms.
See also: https://news.ycombinator.com/item?id=25176101.
I miss the reddit of 15 years ago. Such an exciting place. Can we recreate it?
Let's say you have two 4 bits integer to form an 8 bit decimal number:

1111.1111 is (1 + 2 + 4 + 8) + (1/2 + 1/4 + 1/8 + 1/16)
I used C many years ago so I’m quite out of it. What are the replacements for these? I would have thought these were all necessary.
If you are on a project with more than one person having some kind of process is a good thing.

‘Agile’ gives you the flexibility to determine what that process is. Scrum is a different story.
Proton is not a ground-up valve product. It is an implementation of WINE, a project that has been around for a long while. Valve made it pretty and easy to use, integrating wine into their launchers, but it isn't entirely their project.

https://github.com/ValveSoftware/Proton
Taking a mutable slice is extremely common for exactly this reason. Even in the standard library, which can allocate. We added some convenient functions later, but it's a pretty standard practice.
That view seems a little shoehorned because the parent comment specified "protocol", implying that it would be the connection between client and storage, thus not user-facing.

Regardless,

* Blender

* Godot

* Krita

* GitLab

* Olive

* Firefox

* Thunderbird

* NextCloud

* Amarok

* Vital

* and more

The problem isn't an "economic model". The problem is that most open-source projects simply don't attract UI designers, UX researchers, and users because contribution flows are more technical or geared toward developers.

UX research isn't "expensive" when referring to open-source projects because it predominantly requires people: designers, researchers, and users. The whole foundation of open-source is volunteerism.
Internet killed the (ham) radio star....
A bag of words with negative and positive sentiments is shown to a bunch students and the main takeaway is fake news can direct your behaviour?

Were the political students left or right leaning, did they have psychometric profiles of the students?

How is this effect different from priming, and like/unlike priming does it persist?

I'm no psychologist but how does this research shed any light on how 'fake news' affects us when it is starting from hard to define concepts like mis/disinformation and fake news?

If anyone can see the scientific value in this research please elaborate. I ended up having fundamental questions on the research itself rather than what it claims to have illustrated.