skysight-inc/HackerNews huggingface dataset:
I’ve been working on rich text editing ideas for the past month or so, and I have to say, innerText is probably not the solution you’re looking for, for that use-case. Despite what they say about standardization, there are still subtle differences between browsers over how exactly they handle certain elements and styles. The innerText property also does a feeble attempt at representing rich text whitespace, by making table cells tab-separated and adding an extra newline of padding around p elements, which is probably not what you want. Worst of all is that this algorithm relies on layout and styling information like the white-space, display and visibility properties, so it’s likely that it will never be supported in non-browser environments like JSDOM, and even when supported it is likely to cause crushing layout shifts if you’re not careful about when you read it.

If you’re interested in getting the “text” of some DOM, you should know that none of the built-in browser APIs will get you what you want, and moreover you’re gonna want it to be extensible in some ways so that you can, for instance, replace img elements with some equivalent markup, or omit the rendering of off-screen parts of large documents via windowing/virtualization. At the end of the day, there is no canonical representation of some DOM as plain text.
I strongly disagree with this statement. A corporation (despite our current legal definition in the US) is not a person, and therefore shouldn't take sides in political matters, nor should it's representatives make overt political statements as though the company is a monolith. Companies are made up of people, and as individuals on their personal time and without conveying themselves as representatives of the company, should be able to to engage in politics.

If Silicon Valley executives are now going to be the arbiters of all that is good, we are in for a load of trouble. At best it's cringeworthy, at worst it's a load of limousine liberals wagging their fingers at the rest of us from their ivory towers.
Google Reader has been gone so long that I really don't remember all the features that it had.

One thing that I seem to remember it having was a social aspect. Twitter doesn't treat its lists very well but it is possible to find somebody that you want to follow, then see what lists they're on. Maybe that leads you to other people that you want to follow.

The thing about blogs is that typically the signal/noise ratio is higher than Twitter accounts.
Properly diced, and cooked in a heavy pan, you can brown onions in 15 minutes. Most people miss those two important steps though. And recipe authors mistakenly think the general population has the proper technique and equipment. Coarsely chopped onion in a dinky frying pan will take much longer.
If it works for you, then it is okay. It is not ‘a little effort’ for me to worry about someone else might use this pointer mistakenly, so I need to think about that all the time. It shifts my focus from problem solving to preventing future undefined behavior bugs. These bugs in the link, I don’t know C++, it is a big language which does a lot of things automatically, so it is already scary for me :) Maybe that is it, I write C server side code mostly(database) with very well defined ownership rules. Things are a bit more straightforward compared to any c++ project I believe. I just checked again, we don’t have any use-after free bugs in the bug history, probably that is because of %100 branch coverage test suite + fuzzing + sanitizers. So I rather adding another test to the suite than doing defensive programming. It is a personal choice I guess.
I'm in awe after reading that.
> $1m won't change research priorities or have changed the timeline for vaccine development.

From 'drfuchs comment a bit higher,

> “Her work made it possible to expedite the science behind the testing,” Abumrad [inventor], 76, said on Tuesday night. “Without a doubt in my mind, her funding made the research toward the vaccine go 10 times faster than it would be without it.”
I bought the first Tinkerboard for streaming to my TV.

Pretty nice piece of hardware, but I could only get the streaming acceleration working with TinkerOS.

In the end I replaced it with a FireTV stick, because the Silk browser was good enough for my streaming requirements and the update process was nicer.

But I thought of using it with RetroPi again.
> Hormesis has been observed in a number of cases in humans and animals exposed to chronic low doses of ionizing radiation. A-bomb survivors who received high doses exhibited shortened lifespan and increased cancer mortality, but at low-dose radiation the ratios of cancer deaths in A-bomb survivors are smaller than those of Japanese averages

(from Wikipedia)

I had never heard of hormesis before. Fascinating and a bit counter intuitive
Look at daily rates, not permanent positions.
You can pay for YouTube premium and get rid of ads. If you spend a non trivial amount of time on YouTube it's well worth it, especially the family account.

Don't want to be the product ? Pay for your services then - the money has to come from somewhere.
I sit on a narrow couch with a firm seat and back. I place the laptop in my lap. I'm 74, and it works for me.

Incidentally Epiphany Workflow works with web sites as well as files.
Nobody is going to risk jail time to just get a slightly better rent on an apartment or something. There are much better ways to make money if you’re willing to go to jail for fraud. The problem you are concerned about is not a problem.
The fact the article doesn’t cover this at all except for a passing mention of USDT as “pegged” (talk about legitimizing!) is really all you need to know about the fluffiness of this article. We are at cotton candy levels of writing here.
Not technically a roguelike. In any case, it looks really good and polished, though definitely not my cup of tea, there's too much going on on the screen and I've never been a fan of Supergiant Games game design, but that's a totally subjective opinion.
Can we can an update to your blog post lamenting the death of science, now that science is only reason we will have a vaccine for a virus that has killed a quarter-million people in the US? Could also expound on your interpretation of the LIGO data while you're at it.
blink

I've never heard of SWIFTNet using FTP at its core, do you have some links I could read?

Wikipedia, for example , while not a fully trusted source, has

> Alliance Access (SAA) and Alliance Messaging Hub (AMH) are the main messaging software applications by SWIFT, which allow message creation for FIN messages, routing and monitoring for FIN and MX messages. The main interfaces are FTA (files transfer automated, not FTP)

https://en.wikipedia.org/wiki/Society_for_Worldwide_Interban...
what glaring flaws?

It continues to function as it set out to be.
That's been the case since 2016, after that everything is soldered in, so you can't change anything.
And even before that in the 2012 iteration you could only change the SSD with the RAM still being soldered in.

So all in all - it's been almost 10 years since they've been aging faster.
Krita can do quite a few basic things, and a few advanced things that Gimp can't, but they're really not in the same league. If you're a serious photo editor, Krita is quite lacking, and will always be - they do not intend to be a photo editor.
Sing it.

The parent has a reasonable question. A million dollars in a world where companies with no revenue get billion dollar valuations seems like nothing, on the face of it.

But a well-targeted million dollars, to a research university, is actual real money, and can carry them through the “oh no we need another grant” stage.
> Bitcoin's stability increases all the time

Does it?

https://www.tradingview.com/symbols/BVOL24H/

The most positive thing I can say about that chart is that volatility was higher when price last was at these levels, but I wouldn't claim a downtrend.
There are always counter examples but what sticks most? Terminator 2 in 1992 was way more successful maybe because in 1984 it was the soviets who were supposed to drop the bomb but in 1991 there were no more soviets so it's was more plausible to fear from the machines?

Robocop did question the technology but also the good guy was a half robot.

Blade Runner is a good example about a tech dystopia but the story is ultimately about the machines quest to be humans, not to destroy them.
That's not how that works. The point was that 10 in 10 Americans in that town had to follow the private company's restrictions because they controlled the entire town.

What you're saying has nothing to do with the analogy GP was making which was that the private company had a monopoly on sidewalks in the town, but Twitter doesn't control all of the sidewalks in town, it controls about 10% of them. And even if the aggregation of Twitter, Facebook, Reddit, and Discord run about 90% of the sidewalks, those companies are all independent of each other and have their own business models and content moderation policies. Plus, new sidewalks are being built all the time. Discord and Reddit have grown in popularity vastly in more recent years, at what point do we add new companies into this tangled analogy, or take them out?
Have you ever actually met anyone who thought black people didn't deserve to be alive?
Streamlit
The concept of performance is interesting, to me it should be more applied to the user's experience of performance. And personally, when I come across a slow, janky SPA where a server-rendered site would have made a lot more sense, I feel immediately annoyed by the lower performance.
why? easy? Just trust me. I track all the socks in the world. Promise I wouldn't fake new socks, or new people with socks. Just trust me.
Only sophists think that way. Nobody is owed ostensible activism.
Aren't all of the RPi's pin compatible with one another to some extent?

Granted, it depends on what kind of hardware and what you're doing with it, but for my DIY stuff, I've preferred to create peripherals that use a microcontroller and interface via USB. This lets me program and test the peripheral on a desktop PC, and use it in both worlds if I want to. Plus, it's easy to spin up real time functionality on an MCU that's not trying to run a full blown OS. I use one of the many MCU boards that's programmed via the Arduino environment, but that's certainly not obligatory.
> It is also something you call disabled people when you want to be really insulting

Is it? I know some folks will point to a dictionary, but we live in a post truth world. It's odd to me that I've seemingly encountered every other usage of gimp, either personally or in media, but never an offensive usage. A horse with a gimp leg in the wheel of time, gimp the string at summer camp arts and crafts, a gimp suit in the tv show Archer, and gimp the image editing program as a teen. Language fundamentally means what we think it means - if nobody uses gimp as an offensive word, it's not offensive.

Have you ever heard it used offensively? If personally so, can I ask where (what county / cultural context)? If in media, can you name the work?
Maybe they are backed by 3 letter agencies wanting to monitor crypto activity?
Respectfully I'd say you've underscored my point. Your statement that "scientific worldview, which is diametrically opposed to religious culture" is itself a dogma, which is one of the features of religion you claim to have surpassed as a scientific person.

It is true that modern society contains pretty fundamentally opposed religious vs scientific factions. My point isn't to take sides but to point out that what you are calling religion is some kind of oppositional faction defined by rejecting scientific fact. It wasn't always the case. But you should judge the nature of religious culture objectively and scientifically, not by it's worst modern manifestations.

Religious reality was originally and for thousands of years the only reality, and it's proponents would have argued as strongly against any alternating philosophy, just at you proclaim that scientific realism is reality and reject any other.

My argument is that scientific culture resemblance to religious culture isn't coincidence, it's the nature of belief in social systems. Meanwhile science culture could learn worlds from religious culture which in my view was very much a science of authority and social unification. That's to say that religious cultural realism was more effective at generating belief and that's because it was a science of generating belief.
Better then

#define ZFREE(p) do { free(p); p = NULL; } while(0)
[Heartchuckle.gif]
IMO implementing hygienic macros properly is one of the hardest tasks in programming languages, especially since variable capture can cause subtle bugs.
Show HN: VimCharm, Approximating PyCharm on Vim
Is it a joke? (I'm asking in earnest, I don't know who Rob Rhinehart is, is he a comedian? Is this satire?)

Edit: AH! It is a joke. The whole site is a wonderful parody, like "The Onion" but in the form of pitch perfect clueless privileged tech weanie.

- - - -

"Ideas for the Board of Coke"

> There is nothing better, than a Coke. It is the perfect product. It is so many things and all of them are wonderful. Coca-Cola is a beautiful, simple, quality, affordable, durable product that serves a real need, is available all over the world and appeals to pretty much every human alive, as well as many animals and single-celled organisms. It is liquid life.

ROFL! THis is priceless! Cheers!
Yes, I’m hoping everyone realizes that’s part of the point. We don’t actually even have “health” coverage, even those with what most in the US would consider top notch coverage.
I am buying bitcoin as a store of value. Be sparing in your use of "Nobody".
There are exceptions to the ACA mandate. Small/closely held corporations (most startups) can opt out if they have religeous objections. Last time i looked there was no price difference between such plans. So if you are a small business, by not opting out you are taking a side. The system abhores indecision and so will make them for you.
C was practically a portable assembler when it was designed, and it was likely helpful for performance reasoning that all indirections were clearly visible.
My printer.
To Understand How Science Denial Works, Look to History
I can't read this as anything but a persecution complex. Relax, install unlock origin, pay for premium services. No one is going out and making adblock users feel bad.
A podcast about machine learning, AI and technology
Interrupts and exceptions can happen at any point in a program's execution on a microcontroller, and they are free to modify memory and peripheral registers.

>Load <register>

>Modify register in memory

>>Interrupt happens and changes <register>

>Write incorrect value back to <register>.

These sorts of bugs can be pernicious to debug, and they are easy for novice developers to create.
Me: Liberal Democrat

Looks in my closet: Variety of legal assault rifles that would shock a European.

Looks in my Garage: 4x4 Pickup truck and a plated dirtbike.

America is packed to the brim with contrarian troublemakers.

But we make some damn good beers.
For instance, no one really uses it to buy things because it does not really function as a currency?
Cool! I'm having a flashback to the time a friend and I decoded the "300 BPS N, 8, 1 (Terminal Mode Or ASCII Download)" track from Information Society's Peace and Love, Inc. album.

https://genius.com/Information-society-300-bps-n-8-1-termina...
An effects system like this is more about controlling your own code and allowing for switching off implementations easily versus declaring what effects it has. Your declaration of effects on your function is saying, for example, "I need to output some text," and then in the caller of that function you have to do some action to "consume" that effect. For instance, your example might be an effect called "WriteState" and then you could call that function in a small unit test with a thin layer over a Map, in dev you could call it with a local sqlite db, and in prod you'd call it with your postgres or whatever. Each implementation shares a common interface, but does something different with the data. If you were writing a library, you'd give your public API as the base monad of your library, or as IO maybe, or even give a pure API. You should be dealing with the possible failures under that base context and then the user doesn't need to know about the inner failures.

The effects system effectively acts as an abstraction for some side effect, like an interface, and gets ride of a lot of the boilerplate code needed for mtl or custom transformer stacks.

Also, in strict typing it's pretty easy to refactor with modern linters and such, it actually makes refactoring an API change delightfully simple, just get rid of the red squiggle lines telling you you types are wrong.
It would make sense if the tip were reduced when the minimum wage goes up, but it doesn't work that way, in at least two states I am familiar with (Washington and Oregon). Both of those states have minimum hourly cash wages for wait staff significantly above most states, yet the customary tipped amount is still ~20%.

https://www.dol.gov/agencies/whd/state/minimum-wage/tipped
The current that can be drawn by a fully loaded machine can overcome what's reasonable via a mainstream USB cable. Even on the RPi, I've had to bring power in via the GPIO in order to run a USB powered hard drive on the other side.

An amusing but possibly obscure benefit of higher voltage is being able to run a mainstream audio amplifier from the same power supply. My "home stereo" presently requires two power supplies for this reason.
The most disturbing thing is how many people have become ad apologists now. We gave up the fight, we lost. Massively successful channels now bait people into watching in video ads and people actually defend this practice. Many people I know actually find these things smart and clever. Most people actually defend ads now.
Backtesting a WallStreetBets Trading Strategy
Word. People won't pay so ads happen.
Wwll, same for religion. What I'm saying is, what's wrong with a circus? I think they are pretty interesting.
if push comes to shove, i will contribute for this guys legal defense. who else is in?
Vanity (in my experience). Though I don't know why web server logs aren't enough for that.

Engagement duration tracking is probably the most important thing client-side analytics brings for a site that's trying to make money, but for a personal site, seems unnecessary.
Refusing to work with people encouraging genocide is a bit different from refusing to work with a person who wants to reduce social benefits to the poor.
Good thread to remind everyone who may have rarely-used Google accounts they want to keep: set up regular calendar reminders to login to the accounts.

I've recently been locked out of a couple of accounts I hadn't used in more than a year. I didn't forget the password or anything, Google just prevents access to the accounts with no recourse.
People can wish for things within creations that the creators never imagined or considered inappropriate. Which is why mod-ability is a nice escape hatch. Sadly Apple has rarely supported or encouraged that in their hardware.
YNAB bank integration isn't anything to write home about. Barely works in Canada.
I'd rather see them coming up with a better matching metric of nutritional/energetic value to humans than burning food and measuring how long it burns.
I hesitate to support HN's obsession with random Alzheimer's theories, but there's been a lot of research lately on the glymphatic system, vessels that clean waste protein out of the brain during sleep. This study is in line with that research.

The wikipedia page gives a good background on the glymphatic system: https://en.wikipedia.org/wiki/Glymphatic_system

https://science.sciencemag.org/content/370/6512/50.abstract
https://science.sciencemag.org/content/342/6156/373
Then you'll have to withstand at least one party: twitter mobs, editorials, maybe employee protests or resignations. Both you personally, and your company. It's not surprising that many companies give in. They want to make a product and make money, not to make a political or moral stand.
The white haired ones are for data storage not reproduction.
For me it's clearly Vim. Changed my life for the better.
Right yeah the middle with char b[1]. I was fighting with the asterisks being deleted to notice the mis-type. This method is used a lot in OS programming.
“ You need to enable JavaScript to run this app.”

Why? What does JavaScript have to do with a personal firewall?
To be fair to TWDNE, just generating random faces is among the least interesting use-cases, and one could do better than TWDNE with some more work.

For example, here is a demonstration of how the new model averaging/transfer tricks let you convert a face from human to anime to fox to pony to furry in any direction by any percentage (summing to 100%): https://twitter.com/arfafax/status/1296084902928986113
(And since you can encode any pre-existing photograph into the human face model, you can do things like "what if Barack Obama but only 60% human and 20% fox and 10% anime and 10% My Little Pony?" Impossible-sounding, yet, there you have it.)

The pony/furry models are the same ones used for http://thisfursonadoesnotexist.com/ and https://thisponydoesnotexist.net/ , incidentally. (TFDNE/TPDNE came out much nicer than TWDNE because of better cropping/aligning, longer training runs on entire TPU pods rather than a few GPUs, and transfer learning.)

We're also still working on BigGAN for generating entire anime images. An older model: https://www.gwern.net/Faces#danbooru2019e621-256px-biggan Samples from a current training run: https://cdn.discordapp.com/attachments/693736350561861633/78... https://cdn.discordapp.com/attachments/693736350561861633/78... We had mostly given up, but recently discovered that random cropping was the reason our runs were taking forever and were pretty bad; fixed cropping like top cropping works much better.
The PDF is encrypted.
FDA authorizes emergency use of the antibody cocktail REGN-COV2
Dogs are incredibly intelligent when it comes to zeroeth, first-order and second-order effects.

0-order: Pavlovian: Stimulus leads to unconscious reaction. No causal awareness.

1-order: Skinnerian: behavior X leads to good/bad outcome Y, I do more X to get Y. Causal inference without indirection.

These are pretty uncontroversial. Higher order reasoning sees much more debate, but I see evidence all over the animal kingdom.

This is the domain of cognition and eventually theory of mind, and arguably extends behavioral logic with recursion and reasoning about causality indirection.

Audrey knows several tricks. When we are trying to get her to do something hard, she knows we want her to do something. So she "rotates" through her repetoir, spinning, jumping, hi-fiving, searching for the correct behavior. One could argue that it's just extended Skinnerian conditioning, but I don't think so, I think this is the roots of 2nd order reasoning and creativity - "a solution exists and I need to try differnt approaches" - and it's cool to watch. She's 1.5 years old so she's still learning about the world.

But the best dog story comes from another owner who taught her poodle to drop toys before going outside (she couldn't leave hollow toys outside lest scorpions nest in them). So one day the dog brings two toys and drops one at the threshold, as if to say, "there, I paid your dues! Let me out!"

This higher reasoning is clearly harder for them though. I think this manifests most obviously in "no take, only throw!" They want to _have_ the ball (immediate minor reward) but also fetch (delayed large reward). She rarely drops the ball immediately, rather she almost drops it a few times, only to bite down at the last second, before relinquishing.
Sure

but we're talking about 20% overrun, which I could call a good upfront guess