skysight-inc/HackerNews huggingface dataset:
Hey man a lot of this resonates and has improved greatly after I started focusing on core strength which I had never before. Worth trying but be careful. Wish I had of started in my 30s though. Good luck.
This shouldn't be a choice between risking continued transmission of a pandemic disease and letting small businesses fail. The US collectively produces way more than enough to keep them afloat until the end of the pandemic; the only reason for the dichotomy is Congress's failure to pass enough aid funding to provide that support. As far as I'm concerned, congressional Republicans - and in turn, everyone who voted for them - are ultimately responsible for the failure of every small business that shutters due to the pandemic, due to their absurd insistence on legal indemnity for employers whose employees get COVID due to unsafe working environments.

To be clear, as a lot of other commenters have pointed out, it doesn't seem to be well established how risky activities like outdoor dining are. If it were a question of whether it were worth an additional $X billion in aid to prevent that risk, great, that's a conversation that's worth having. But you can't have that kind of meaningful conversation starting from an ultimatum, as we are today.
> Once the Abbasid Empire fell (the Islamic Golden Age period), none of the successor civilizations pursued such studies further - and none of them were Arabian empires, so that left the Arab world to stagnate.

This might give the misleading impression that Arabs were a large part of the intellectual ferment of the Islamic Golden Age. They got it started by forming an enormous new empire but it was the work of their subjects, not themselves. Same with the Mongols.

> It is notable that most of the intellectuals who were patronized and shone under the Abbassids in the decades after 800 A.D. were not Muslim Arabs. There were even some oddball characters, such as Tabit ibn Qurra, a pagan Syrian from Haran. One reason al-Kindi was the “Philosopher of the Arabs” is that he was a tribal Arab. But more typical were Iranians such as Avicenna and al-Razi. If you accept S. Frederick Starr’s argument in Lost Enlightenment and Christopher Beckwith’s in Warriors of the Cloisters Iranians disproportionately from Turan, modern Central Asia, were particularly influential in shaping the high culture and intellectual tone of the world of Islam after 800 A.D.

https://www.gnxp.com/WordPress/2020/07/05/how-the-arabs-crea...
Clojure is really designed around the sequence abstraction, which is list-like but not a list: Clojure’s various concrete datastructures all implement this abstraction and, consequently, much of clojure.core is more generic than the equivalent functions in the CL package: maps present as sequences of pairs; vectors, sets and lazy sequences all present as sequences of items, etc.
If buying snacks at 3am is considered at risk then that's probably 90% of college students at one point or another.
Moreover, people in the modern world are unlikely to starve to death, but what does happen is that they have to labor at some other purpose in order to make ends meet, and then the public good is not produced.
Agree 100%. More cognitive load, more hassle, more complexity, for absolutely zero benefit. That to me is more than tiebreaker, but I agree not dealbreaker.
Show HN: Diggy – a reactive Python notebook in the browser
Personal attacks are not allowed on HN, so please don't post like this, regardless of how wrong someone is or you feel they are. We're trying to avoid the online shaming culture here.

https://hn.algolia.com/?query=online%20shaming%20by%3Adang&s...

https://news.ycombinator.com/newsguidelines.html
Hi HN, over the last couple of weeks I created a reactive Python notebook that you can run in your browser without relying on the server-side code, everything is a static file.

I wanted to build an experimentation platform that you can bring everywhere the web goes, i.e. a URL that you can share with anyone to start playing with a Python environment. It doesn’t matter whether it’s loaded on desktop or mobile.

My story, simply put, is frustration with Jupyter notebooks. I wanted something much easier to work with, i.e. load a small dataset, run a function and visualize results. An environment where I can manipulate code & data and immediately see feedback.

I was motivated to create an environment that:

* runs a reactive Python, cells are not executed top-to-bottom, but topologically; therefore there’s no hidden state, i.e. whenever you change a variable, all cells that depend on that variable will be automatically recalculated

* runs entirely in the browser: a) there’s zero provisioning & setup b) rich visualization libraries

* stores notebooks as plaintext files, as little metadata as possible, I do want my research to be versioned in the most native format

* empowers the experiments and exploration

* ultimately, has a (subjectively) friendly UI

It’s an early alpha version, but I am happy to answer any questions. Thank you!
A friend referred to this in another context as a “mathematician’s high”. It’s not exactly “flow”, more focused than “musing”, closer to what appeals to puzzle enthusiasts. It fails the test for transcendence because it doesn’t make you a more compassionate person. Saves money on recreational drugs, though.
Yeah, I do agree that this is the best way to go. We'll see!
(I am the author of the original article.) Going to my call history and seeing numbers that my Pixel dialer blocked: heartening. Sure beats the repeated disruptions of the iPhone's nonexistent spam tool!
should we tell em about coffee?
A cool mod for Tetris might be to rotate the board 180 and have the fallen blocks fall back down in the opposite direction, one at a time or all at once.
Ask HN: What's the most effective thing you've done to eliminate bad habits?
If you use Postgresql 13 version you don't need to install `uuid-ossp` extension. There's already built-in function to generate UUID which is `gen_random_uuid ()`.
I think those points are all valid. Additionally I think the fact that this was a survey conducted on reddit results in certain amount of sample bias - the fact that 30% of the population comes from the software industry might not hold true if a survey was conducted more broadly instead.
I think the people who keep pushing on "freedom to choose" and what not do not understand human nature, as if these laws are the only thing stopping restaurants from enjoying economic success. I know business owners want to peg their hopes on that.

Look at other countries where everything is nearly completely open. Dining, theaters, etc are still down revenue wise. There will be ebbs and flows were people get sick of staying in and COVID fatigued and go dine out, then as cases or hospitalizations rise they naturally self distance or stay in.

A restaurant might be able to survive that, but it's punishing and I'm willing to bet most won't. You can't just stop and start a restaurant on a whim. Look at NYC where Broadway made a pre-emptive decision to shut down until May of next year because of crap like that.

I guess leave it up to us Americans to fly in the face of common sense, though.
How freely do large numbers of people move around the country in China?
They want to be able to control the model before the norms become pervasive.

Like how, with activism, you can pressure the NYT into using jargon like “Latinx” when no one outside small progressive circles uses them.
I worked as an intern at DEC for two summers. During the 2nd summer between Jr and Sr year, my roommate and I got a small apartment in Marlboro within walking distance of our jobs. That summer, I wrote the spooler for the KL-10 (not yet released), and my roommate write the microcode for the KL-10. I am still in touch with him, he is still awesome like that. Anyway, I got intrigued by a hush-hush project in Maynard where a guy had taken some pdp-8 boards and with a small monitor stuffed them into a salesman's suitcase. DEC did, in fact, have a Portable Computer. At this time, the 8008 had been released, and it was 'obvious' to me that microcomputers would 'take over'. This was 1975. I invited Ken Olsen over one Sunday afternoon to chat with us co-op students and a few employees, and he came over! He must have been there a couple of hours, chatting us all up. I told him that he should put the LSI-11 into a nice small box and sell it at a competitive price, to stop all these crappy chips like the 8080, 6502, etc from gaining traction. Ken didn't seem to understand why anybody would want to have his own computer. Frustrated by not communicating the urgency properly, back in the pdp-10 group, I sent a note to Gordon Bell that DEC should forget about these crappy little 8- and 16-bit chips, and should put a pdp-10 onto a board -- and that could command a larger price, and could establish the pdp-10's instruction set as a standard. Gordon wrote back to me with a short phrase written at the top of my memo: "Do it!" Now of course I was going back to school in September, and could not do it. I have wondered whether I should have just chucked school, and stayed at DEC to "do it". If so, the trajectory of the Computing Industry may well have been substantially altered. I guess this sort of thing is called "Life". Sigh.
I really liked Practical Common Lisp by Peter Seibel ( https://gigamonkeys.com/book/ ) however, ignore the environment setup: the recommendations it makes are no longer maintained, these days Portacle is the best way to get started.

One thing I really like about this book is it assumes you know basic programming ideas, so it gets into distinctively “lispy” features relatively quickly. The chapters on exception handling and Common Lisp’s object system, in particular, really sort of blew my mind and had a fairly profound influence on the way I think about programming languages.
I am creating tons of Common Lisp community resources that definitely help attract a more diverse audience to Common Lisp, incidentally. (Not everyone is comfortable with the "pop up in chat and ask experts" model.)

My CV offers a lot of pertinent details about my work: https://cv.hexstream.expert/
This is probably an unpopular opinion, but if you want to learn about philosophy, it's better to learn about law.

IMO, law is essentially applied philosophy, whereas philosophy proper is unconstrained by reality. Which is why you run into situations described here:

https://web.maths.unsw.edu.au/~jim/wrongthoughts.html
Do you think random internet users would purchase accounts, when they get no value from it? They can still consume all the content for free, paying only gives them the right to put free labor into curation.

I can see some users pay the fee so they can downvote opponents, but otherwise why would they? And of course they can still pay a higher fee to downvote multiple times, if they are angry enough, which is exactly what you wanted to prevent in the first place...
yep, the people who use that term are trying to convince you of something.
PysonDB – A JSON based lightweight Database for Python
Hmm, maybe this isn’t the best for PLT: for that, I’d recommend the Art of the Metaobject Protocol which is a really interesting case study in the design of the implementation of a fairly complex part of the CL standard.
No duplicated logic at all? Does that mean a high-quality program should never contain more than one "for" loop?
I find it somewhat interesting that the Marine Corps Gazette has just taken a chart from The Economist without any attribution
i'm torn. I'd like to agree with the sentiment of the OP, but then when I surmise that the 1rst author will use this article as the basis for their job talk, and probably get something somewhere sunny and warm, I have second thoughts.
getting a dumb phone...

And I guess the principle in this to make good habits easier and bad habits harder, thus by getting a dumb phone wasting 3 hours a day looking memes became harder and picking up my guitar or ham radio easier.
Yeah, that's disappointing. lit-html is only meant for templating, not components, and while you can kind of shoehorn components into directives. that's not ideal either.

lit-html is entirely intended to be used with web components, which is can only create HTML and has no special support or syntax for components. As you note, LitElement is what you should use if you like lit-html and want components. We'll be making this more clear soon by bringing lit-html and LitElement closer together in documentation.
> and people are gathering with friends and relatives inside private homes more frequently than before

We didn't learn our lesson from the war on drugs. When you make something completely off limits people will find a way to engage, but without any standards.

Meeting people in secret (mask free) is the new drugs.
> On the other hand, we don't want hospitals filling up past their limits and putting tremendous strain on health care workers.

This seems like it's the only thing which matters. Having a working health care system is one of the pillars of modern society?
Java is a Lisp-2; method names exist in a separate namespace from values (although, there may be semi-arbitrary restriction of name collisions): foo.toString doesn’t give you a “function object”.
None of those is derived from a math concept. Math was applied to them after they were developed.
caffeine can be bad for you. There's direct issues it causes like heartburn which will wear down your esophagus.
>When you open an HDR video you can see the highlights getting brighter as the backlight gets pushed.

but what about blacks? If you have a dark scene with bright highlights (eg. campfire at night), does the black parts of the scene get blown out because backlight bleed?
Oh, we tried that.

Then I had to learn how to write memory resident keyloggers, and even that didn't help us catch the sysop password.

What did eventually help us cause a lot of trouble by mistakenly tearing down the entire school's Novell network and forcing them to rebuild from backups, was sneaking up behind the sysop while he was logging in and looking over his shoulder. I would have preferred one of the other solutions.

In return, the sysop used a similar technique to catch the guilty ones, by putting a PC speaker buzzer in his own login script and patiently waiting next door until we logged in to see the result.
Have you tried newLISP ? http://www.newlisp.org/ I am having a lot of fun with it. I'd call it a 'practical' LISP.
What do you mean quietly beat it? Whenever they had a small outbreak, they would test the entire city. Symptomatic, asymtomatic, everyone in the span of a week. They spent a ton of money on shutdowns, testing, and contact tracing.
The coffee is always free.
I had the same reaction, and was pleased to see Never Alone featured in the article as well. I remember playing through it in one sitting constantly amazed at how well it handled scrolling across multiple characters.
> All this tasty fruit exists above the nut, but--as far as I can tell--no effort is make to export the fruit. It might the problem of creating a market for a new product, or maybe the fruit doesn't travel well.

From Wikipedia: "Cashew nuts are more widely traded than cashew fruits, because the fruit, unlike the nut, is easily bruised and has a very limited shelf life." -- https://en.wikipedia.org/wiki/Cashew
What are the requirements for it? The section is there but I can't see the toggle, on both SDR screens.
apple no longer makes general purpose computers. they make iphones, and iphones with keyboards. unfortunately, the processor tech seems spectacular from all accounts.
The IFR would be worse if medical care wasn't available because of hospitals being over-capacity and health care workers burning out (or dying themselves). Fatalities from other causes would increase too (as they're already doing due to people avoiding medical care due to fear of infection at hospitals). The absolute number of dead would also rise were the lockdowns not in place. Just how many people do we want to sacrifice to keep restaurants open?

Also, fatalities aren't the only thing we have to worry about. People who survive can have very serious complications.

Finally, why should we only look at the effects on people younger than 70?
If you look at the plots of the data sources from the meta-survey of literature that is [0] you'll notice the IFR positively correlated with high population and infrastructure. These places get a better idea of the actual IFR and are diluted out by places that falsify data (China) and aren't capable of taking real population level data (smaller and undeveloped countries).

The first part of the paper is justifying this choice as to not dilute out the measurements from the small regions. I guess if you hang a lampshade on it like that it almost makes sense this paper was approved. But it's easily misinterpreted.
The method described in the article does not produce a spherically symmetric distribution since each value of z is equally likely. This means that a small circle near the north pole will contain as many points as the equator. Instead the different values for z should be selected with a probability that scales like 1/r where r is the radius of that circle (i.e. r = sin(theta)).

Alternatively you can generate random x, y, and z coordinates between -1 and 1 and toss it if it falls outside of the sphere (i.e. if x^2+y^2+z^2 > 1). Then just renormalized the coordinates so that they fall on the sphere.

The benefit of this is that the method easily generalizes to arbitrary dimension.
The logic seems a bit circular to me. I cannot imagine you would have even discovered those libraries if not for the fact that you specifically wanted to use C++ libraries. Neither game engines nor immutable data structures is anything special about C++.

You could have used Godot, Unity3D and a whole host of other game engines if you wanted to make a game. If immutable data structures is your thing, wouldn't a functional language be a better fit, such as Haskell?

But I do know the problem you talk about. I have mostly used C++ in the past because you could not get any good GUI libraries in other languages.

I have played around with Zig a bit. Tried Rust earlier, but it seems to me to duplicate many of the things I didn't like about C++: slow compile times, complexity, verbose syntax.

Zig I am still making up my mind about. It looks to be on the right track. But for now I think Swift and Go are pretty good alternatives to C++, a bit depending on what you are making.

Personally I prefer Julia, but that is not exactly a drop in replacement for C++. You don't get fine grained control over memory usage and it is not suited for real time systems or small memory footprint. Zig is great at all those things though. Julia does replace C++ however in most case where you simply need raw number crunching performance, such as simulations, scientific computing, machine learning etc.
Thanks. Very much appreciate it. I’m 34. Was diagnosed with ADHD in 1st grade. Have been on it since and have done very well in life. Much of it, I give credit to medication. Though it hasn’t been the cure-all. I’ve had many peaks and valleys in life. Medication doesn’t prevent that. I’d attribute my positive results due to inner work, personal-development (hundreds of books), countless podcasts (Tim Ferriss, Naval Ravikant, Farnam St), and Mindfulness/meditation, and intense periods of obsessive hard work, and deep work processing and learning from missteps. Medication has been a helping hand in this. Yet, I come across those who espouse getting off everything. I’ve found myself curious to stop for a week as an experiment, but haven’t mustered up the courage because of the comedown fears. That said, the only right answer is to run an experiment. But stopping momentum, I’ve found, is a challenging and courageous hurdle. Plan on doing it soon.
Its ok to work sobee
Difference Arithmatic Shift and Logical Shift
Serious question: I'm not a lawyer, but isn't attacks on diplomatic officials considered an act of aggression? Thus can lead to international denouncement and potential UN actions?
'Havana Syndrome' likely caused by pulsed microwave energy
They removed it because the screens were getting too thin, and in bright conditions you could start to see through it - leaving a brighter blob in the middle.
The history of psychedelics include a ton of irresponsible use in the 60s which lead to reactionary banning before there was clear medical uses. Research was happening but nothing conclusive. Meth has established medical uses. There's no conspiracy to prevent people from questioning wars, we do that without drugs anyway.
C# suffers from that too. I've personally seen a prod instance experience OOM with something like 40% free virtual memory. There's a reason why ArrayPool is part of mscorlib.

All of that said, x64 greatly reduces the effects of memory fragmentation: there's always more virtual memory.
The fault is not with Congress. The federal government hasn't forced any businesses to close. All of the lockdown measures have been imposed by state and local governments so they are the ones that should subsidize impacted businesses.

The Florida state government allows restaurants in that state to remain open so why should Floridians pay to keep California restaurants running? There's nothing stopping the California legislature from raising taxes on the wealthy to fund pandemic relief in our state.
Two-prong approach: Make it easy to avoid them, and easy to do something else.

Don't bring any refined sugar foods into the house. Make fruits available easily.

Don't have tobacco around. Make it so I'm always ready to go on a walk.

Disable/delete accounts on unhelpful services. Replace their quickmarks with my own websites.
The key words missing from the title is "without _connection to_ apple". From the original title I assumed that you had to take it to the apple store to reset it or something.
I headed to Townsend the other morning to grab breakfast and was surprised to see the sign. That's the fourth(!) "spot" that I used to visit regularly that has now permanently closed in my area.

Does anyone know where the state/city legislature is hosted online? I'm genuinely curious on what the laws are that give officials authority to close businesses like they have over the past 9 months.
Meanwhile ..

https://www.gov.ca.gov/wp-content/uploads/2020/12/12.3.20-St... : what the regional order says..

It’s really weird. We can’t eat outdoors but can congregate indoors. We can worship together and participate in protests, but can’t use outdoor playgrounds.
Founder depression is real, and can be brutal
All good writing is swimming underwater and holding your breath
Whenever threads mention caffeine I am compelled to share that caffeine has no effect whatsoever on me.

To my sadness, it feels like I'm excluded from a common universal community and performance advantage
It feels like we are living through a second Great Depression. A number of my favorite San Francisco businesses have permanently closed and it's an incredibly sad time to live through such a thing.

This is a small list of a few of my personal favorite places that are gone:

* The San Francisco Hound Lounge
* Walzwerk East German Restaurant
* Old Jerusalem Restaurant
* Lucky 13

I can't see how any business can operate in these conditions. It certainly feels like Government is playing favorites, dubbing big box stores as safe - while small businesses that made San Francisco a great place to live are falling on the knife.
> The next step will be hard-coded DoH server IPs.

1^4 exposes an endpoint on the regular IPs (1.1.1.1/dns-query) and dns.google is just pointing to the 2 IPs, so you could hardcode those as well. Not that you can redirect it:

> Sly owners will NAT those to a transparent MiTM proxy.

And do what about the pinned certificate/CA?