skysight-inc/HackerNews huggingface dataset:
I think that the opinion of what streaming or cable service is the best is very much a personal preference. You've got Netflix, Hulu (still around I think?), CBC Gem and Acorn as the ones I hear about most often - the price to access any one of those services is a fraction of cable's cost - either half (if you assume you'd otherwise be without internet) or a tenth (if you're part of the vast majority of people that will pay for internet either way). So I think it's more fair to assume that somewhere out there there's a streaming service for you and it's going to be somewhere between 10-15 USD/mo.

> When you stream the lack of ads means the lack of mental breaks. The watcher doesn't have time to take in the last 8-12 minutes and think a.out it without the ads. That causes one show to blend into another and at the end of the binge you can hardly remember the details.

No.

I have ADHD and ads absolutely destroy me. For some people ads might be a nice time to meditate, for me they absolutely destroy the enjoyability of any program because in those few minutes I'm going to start playing a game or reading an article or cleaning something.

Even beside my ADHD - ads don't give you "peaceful time". If you want a snippet of peaceful time then pause the stream every once in a while and go outside and be at true peace - don't come up with excuses to justify advertisements being shoved down your throat. The act of spamming adverts like that disrespects you as a person and your time, it borders on offensive.
Most desktop operating systems offer a print-to-PDF functionality. It's long been an add-on for Microsoft, but that's really a historical accident / deliberate choice of that platform.

PDFs can be trivially created from Markdown or using LaTeX templates if you're looking for a programmatic solution. Pandox and XeLaTex are helpful, the poppler libraries as well. Again, these are generally and widely available at no charge.
> We know it’s bad for people’s brains, especially developing minds

To clarify, we know its bad for developing brains, but I don't think we know the effect on people who start smoking > age 25. There have been studies that show different things, but I don't think we have any consensus about the impact of cannabis usage on brains > 25 y.o.

Also, if we're going to base it as individual vs. society, its important to include the cost of enforcement as a negative on the societal part. For me, that makes the decision pretty easy - in both cases, we have harm caused either by the drug or by the drug + enforcement.
> Arrays used as backing for lists are faster than linked list in almost all cases, assuming they are implemented correctly (as is the case in Java, which I bring as an example).

I think you're overcorrecting here.

There used to be a conventional wisdom that linked lists were always faster than dynamic arrays because you don't have to copy or shift items. But then CPUs got faster while memory didn't and caching effects became so prevalent that that conventional wisdom is no longer true.

Today, in many cases, arrays are faster. And that awareness of caching effects is becoming greater. But I think there's a tendency to over-apply new knowledge that seems counter-intuitive.

The reality is somewhere in the middle. Arrays can be surprisingly fast, even when you need to shift stuff around to insert or copy to grow. But there are still plenty of cases where linked lists are better if you are doing a lot of inserting or rearranging. I don't think the guidance is so much "linked lists bad!" as it is "arrays maybe not bad".
Serious question: Is computing cryptographic hashes, by any measure, actually NP-hard? Computing a single hash seems pretty constant to me. Or is there an alternative way to formulate the problem on a higher level, so that cracking cryptographic hashes is NP-hard?
Yeah, that was it's own system that had a lot of mismatches with how different OSes wanted to conceive of task switching.

Where Intel ended up was the xsave/xrestor family of instructions to save and restore processor state according to a bit flag argument of high level functional units. And that's really only because of how complex all of the extensions to x86 have been over the years; a fresh arch is probably just better off manually writing everything with normal loads and stores until right around the iret equivalent. Dumps between the register file and memory show up on perf traces anyway so it's generally a very optimized path in the CPU for general uses anyway.
Depends on the lead time. We have mapped out most possible asteroids for 100 years which presents something of a reasonable upper limit on lead time. Deflecting a 500 mile wide asteroid ~10,000 miles on those timescales might be vaguely possible. Trying to abandon earth or build some kind of ultra deep bunkers given 100 years seems doomed to fail, but it’s not like a lot of other options exist.
Wouldn’t the missing link actually be a library like pandas? Spreadsheets and data visualization are themselves end-goals for specific tasks already.
>For the most part, the paid consumer software market is dead.

What do you mean? Was it anytime alive? Also, don't people buy, for example, games more than ever? And I don't mean the micro-transaction stuff, I mean the more traditional, paying upfront stuff.
And back then there were lot of demos, shareware, freeware and shitty DRMs that were easy to crack. I'm not seeing a healthy consumer software market - at any point of time.
It used to be that you could give employees gift cards up to a certain amount as awards and it would not be considered taxable income (but I believe that's no longer the case).
my boomer-aged mother is a PE teacher for K-6th graders in the US. She had to run Zoom PE classes for about six months...it was interesting to watch her learn a new competency.

There are ways to do it, but the fear that she could potentially not be in control of her classroom at ANY MOMENT was something to behold and says something about our education system's focus and beliefs. There was a lot of information from me and my siblings with her on how to do it and options she could pursue to make online PE class engaging...fun times
Good to note that Pluribus is trained with Counterfactual Regret Minimization rather than deep learning, same as Libratus, the first AI player to beat professional players in Heads up no limit Texas Hold' em.

I'm not sure about the relation between Pluribus and Libratus- I think Pluribus is a newer version of Libratus, essentially?
Oh, of course. Can't believe I forgot the biggest reason.
Beat your kid's ASS By, Evon Latrail
linear time complexity problems are a subset of polynomial time complexity problems, if we're being pedantic.
I don't understand what point you are trying to make. You seem to have made exactly mine. Symbolism is a choice. The Bouba/Kiki thing is not.
I was prepared to say "meh, whatever another JS lib" but this actually looks interesting!

Nice work from what I see so far.
What sucks for HIPAA is that you can get fined for the breach itself, regardless of your backup management.
A kitchen remodel is done once and probably not again until you sell and someone else moves in.

Moving rentals every time something annoys you could be very frequent.
Bell Begins Manufacturing UH-1Y for First International Operator
It could work, until they push a DNS over HTTPS update, or something similar.
> I like this idea. At the same time, I think the agency - or organization, if you prefer - should look something like the National Transportation Safety Board, where incidents are investigated, reported on, and recommendations are made in a way that improves user safety. Maybe the 'National Digital Safety Board'?

I like it too, but I also think it would be needed to be backed by some kind of regulatory agency that could issue the cybersecurity equivalent of an "Airworthiness Directive". Otherwise we'd be in a similar situation we have know: lots of information about vulnerabilities that are often not acted upon.
> I'm in the US, and have one child who repeatedly could not complete math work during school, and would bawl and protest how stupid they were when given math homework at home.

My experience in the US is that the vast majority of math teachers, especially in primary school, don't understand math in the slightest and are abysmal at teaching math outside of rote memorization.

I knew a child that was learning about negative numbers and understood the role of primes in building the number line in 1st/2nd grade. They were learning from pure interest, but were excited by what negative numbers were about conceptually and found primes fascinating. These are the foundations of real mathematical thinking.

Seeing the student was advanced the school put the kid in a 4th grade math classes but then complained that the child didn't know the multiplication tables. Understanding multiplication tables is literally memorization, this child had never been given the task of memorizing them so couldn't possibly have memorized them. Memorizing tables says literally nothing about mathematical proficiency, whereas gaining the intuition that "subtracting a negative number is the same as adding it" requires mathematical reasoning. The teacher was unable to see this because they themselves had no notion that understanding things like inverse function in math are important tools for reasoning. The child was removed from that math class, and quickly started to see mathematics in school as uninteresting.

This is just one example, but I've ran across plenty of curious students where a math professor would be impressed but a 4th grade teacher would find them falling behind. My experience working with adults has been that most adults who think they are bad math, are more often than not ones that are getting caught up on issues with math that are good issues to have if you understand what's going on. People with a solid mathematical intuition will be confused by the rote mechanical explanations regurgitated by most elementary school teachers.

There are far more teachers that struggle at teaching math than students that struggle with learning it, but it's far easier to blame students. It's no wonder that many students grow to hate math in the US, because it feels they are being unfairly punished and they are.

You can't completely blame teachers either since the pay and respect teachers get in the US means that anyone who can do basic math will find a much better paying and rewarding job else where. In many Asian countries teachers are respected, and there is a possibility that you can attract people that understand the subject well enough to teach it.
That's an interesting question. If someone had a smoker running all day, everyday, and it was an annoyance to neighbors - yes, I think there should be recourse.

One person shouldn't be allowed to harm other people's enjoyment of their property.
Ransomware attacks rarely indicate any data leakage; all they usually do is prevent you from accessing your own data (by encrypting your drive with a key you don't have access to).
The question they asked was about its complexity in big-O terms, not so much about its real world performance, at least as I recall.
We're indoctrinated from Kindergarten to trust the folks wearing the white lab coats. This is why the young push the "follow the science" stuff and the older generations are much more skeptical. The older people have been through several cycles of bullshit.

The first "big lie" I experienced is the food pyramid. This was a big government push in the schools that told us all to eat carbs like crazy. Turns out it was just pure corruption, paid for by the grains industry. They have killed literally millions of us with this lie alone. And there were no consequences for this. No one went to prison. At some point you have to ask yourself: "How many millions of people does the government/industry have to kill before we stop believing them?" For me, it was the first million who died of diabetes and other obesity related diseases.
In fact if there was a non-constructive proof, we would already know a polynomial time algorithm for solving any NP problem: just iterate over all program lengths (from 1 to infinity) and then iterate over all programs of that length n, running each for n steps. If one of the guesses produces the correct answer (which it must if P = NP), we have a polynomial time algorithm! Wild, huh?
Nope, not sure it’s ever been installed (not 100% sure, but it’s definitely not installed now). Like I said, clicking any of the MLB games in the bar will ask me to install the app.
Yes, absolutely! I loved listening to the Reith lectures many, many years ago, when Vilayanur Ramachandran gave them. You can still listen to them here, http://www.bbc.co.uk/radio4/reith2003/

In Lecture 4 (Purple Numbers and Sharp Cheese) he talks about the Kiki / Bouba effect. His enunciation is amazing.
Let's Encrypt had an outage - might be related?
>Out-of-the-box multiplayer to me means without writing a line of code, I can start a server and do everything a published video game can and I can do what I actually care about, which isn't serializing data, or figuring out when I should network something because it's not visible anymore.

Well, you don't have to care about serialization or sockets:

https://docs.godotengine.org/en/stable/tutorials/networking/...

Just send the events and sync the variables that you care about.

Here is an example: https://docs.godotengine.org/en/stable/tutorials/networking/...
46% seems way too high. Most C++ programmers just use templates without writing them, so concepts are of no use as the compiler can figure out from the simple types what is wrong with the code and give a good error message. Until you have to write generic code concepts don't have much use, and that seems to be around 10% of C++ programmers.

Unless you mean as in use them to diagnose an error in your use of generic code that you use. Then if you are using a high enough C++ you will use them - though probably without even knowing it.
I linked the PDF itself, but this landing page contains links to their Rust and Coq sources and to benchmarks: http://plv.mpi-sws.org/rustbelt/ghostcell/

Previously discussed on /r/rust with additional elaboration and extension of the concept: https://www.reddit.com/r/rust/comments/mhc20r/ghostcell_sepa...
O(n*1000000) is O(n) isn't it?
Yes. In fact there's almost no "entropy" to remember in 1234 because it perfectly matches a 45 deg slope. I just have to remember it starts at ground and has length 4.

A seq like 1244 has a bit more entropy with the "bump" where the 3 should be, so it's easier to see it as a slope of length 2 starting at 12, or some "busy-beaver" like sequence that starts gradual and curves rapidly up to 44. The bump at 3 seems most natural.

A long sequence of numbers looks like monotonically increasing groups or strings, and the curve is easy to remember. Is it a log-like plot, a hyperbolic curve, parabola, saw tooth, line, etc? I usually end up finding a curve that has fewer deviations and matches the numbers nicely. I just have to remember how long each sequence was.

Like this:

1234567788100

is

1/7, length 7. 77/99, length 3, except +1 where the 99 should be. It's kind of clumsy with text, easier with pictures and dots, like seeing wood grain or stars. All you need is the "origin" coordinate frame. There's still numbers, but the lines help keep the memory of the relationship more natural.

Words are the same. Sounds angle up and down and squiggle back sometimes. It's why my handwriting is so terrible I think. Probably this is how shorthand was developed, so I don't think it's all that unique to me.

From there, numbers->sounds is easy enough but never helped me remember things. What helps is the ridge-lines and parabolas.
An earlier version (2010) of the paper in arXiv:

https://arxiv.org/pdf/1004.3702.pdf
in the case where Y=1 you both agree.
I honestly can not even wrap my head around why they included the word "outdoor" in their original comment since outside use is such a miniscule portion of mask usage that I have no idea how it could meaningfully contribute to the 99% figure. I didn't really take it to be sincere, maybe more of an accidental strawman. So I guess I just ignored it.
Bad at math is OK (and being too good at math means you are weird) attitude is (maybe was?) very prevalent in UK.
Hopefully courts take suo moto on this case and drag Gov through mud. I really cannot believe people who defend this sort of thing. One more reason why a country needs independent media.
...did you not see the Capitol riot/mob on Jan 6?
People keep asking that. Seems like every few weeks for however long it's been, I see a comment like yours.

I haven't seen anyone mention what news source meets the standard of never having published an article with insufficient evidence according to one or more people on the internet.

I mean, obviously not the NY Times, for instance, right?
"follow science" is just another way of saying "do as we say not as we do."
#18 does not have any answer. It's impossible to cover the squares as requested.
The Sounds of Healing
For multifamily housing the price of a building is usually such that if you put around 40% of the purchase price down the building is cash flow break even after mortgage, taxes, expenses. The same is basically true if you buy a house to rent out. This is the case because over long periods of time real estate has appreciated by 8% per year with much less volatility compared to the stock market, and favorable tax rules (particularly depreciation) mean you can "lose" a lot of money on paper and claim those losses to offset other income. Your landlord is not giving you a great deal.
For a start, yes. Also Israel, of course, and anywhere else countries host these kinds of malware companies. A trade ban would inevitably be best implemented via a treaty, but there's no reason unilateral action can't happen first.

I can't tell what your point is, exactly. You're just making a cynical point that this won't work so we shouldn't even try?
There's no hidden dirty magic, but you're right: Complex numbers require `Real` components and Rationals require `Integer` numerators and denominators. Both `Real` and `Integer` are simply abstract types in the numeric type tree, but you're free to make your own. You can see how this works directly in their docstrings — it's that type parameter in curly braces that defines it, and `<:` means subtype:

help?> Complex
search: Complex complex ComplexF64 ComplexF32 ComplexF16 completecases

Complex{T<:Real} <: Number

Complex number type with real and imaginary part of type T.
Why did I choose something else??
Weed is still illegal in FL and NH
Maybe I am just missing it, but I don't see how this factors in the fact that you could invest the same money in the market.
Not sure why downvoted - this is the truth. The only way to maybe stop this is via legislation, because that levels the playing field. Otherwise, the one with the abusive strategy will come out ahead.
Foxit, PocketBook Reader, FBReader. Presumably Adobe Acrobat though I've not touched that in a decade or more.

There are also utlities such as the poppler library's pdftotext which will dump ASCII / bare text from at least some PDFs.
> swapping heavily with less than 8MB.

No kidding! My intro to X was seeing it load bare-bones on my enthusiast friend's 2M (could have been 4) 386.

I think he brought xfontsel up or something and you could see the scanlines being drawn one at a time :)

A couple of years later, I was running fvwm2 and a very serviceable desktop at work in 8M though. (AFAIR, anyhow.)
Not really a problem with HIPPA is it?
Well, maybe you own a waxing salon that does Brazilian waxes and you're Muslim and don't believe you should see or be in contact with male genitalia besides that of your husband.

https://en.m.wikipedia.org/wiki/Jessica_Yaniv

> In 2018, Yaniv filed discrimination complaints with the British Columbia Human Rights Tribunal against multiple waxing salons alleging that they refused to provide genital waxing to her because she is transgender.[15][16] Yaniv's case was the first major case of alleged transgender discrimination in retail in Canada.[17] Yaniv was seeking as much as $15,000 in damages from each beautician.[18] In their defence, estheticians said they lacked training on waxing male genitalia and they were not comfortable doing so for personal or religious reasons.[19] They further argued that being transgender was not the issue for them, rather having male genitalia was.[20] Yaniv rejected the claim that special training in waxing male genitalia was necessary,[21] and during the hearings equated the denial of the service to neo-Nazism.[22][16] Respondents were typically working from home, were non-white,[23] and were immigrants[24] who did not speak English. Two of the businesses were forced to shut down due to the complaints.[25]

Just one example..
> Nations that want to do this will do it, and trade bans won't stop them.

Again, that's experimentally false. Saudi and Mexico didn't develop their own home-grown spyware. They bought an Israeli product instead. This stuff is harder than you think.
Computing any hash isn't, but finding a preimage is NP.
What is it that you don't understand?
It's everyone's responsibility. You do what you can.
Free to play games are forced to make addicts
20 million a year globally? That seems likely to me. These aren't unique instances.
Thanks, that makes a lot more sense. I was surprised to see ACM on there because if they were even close to publishing something like that it would already be making massive waves.
Are you Pizzicato, the famous Russian beat boxer?
That depends on what you mean. Tobacco - bad for lungs, throat, mouth. Alcohol - bad for pretty much all of you. Pot - bad for your brain, and other areas depending on how you take it. Can also trigger psychological disorders like schizophrenia.

I fear that legalization won’t come with the education that’s necessary to counteract the “marijuana is healthy” crowd that make that leap because you can’t die from it. It’s pretty clear it’s terrible for developing brains.
Show HN: Apollo GraphQL Learning Reference
> There used to be a conventional wisdom that linked lists were always faster than dynamic arrays because you don't have to copy or shift items. But then CPUs got faster while memory didn't and caching effects became so prevalent that that conventional wisdom is no longer true.

Nothing to do with caches or conventional wisdom no longer being true.

Think for a second, if you want to insert somewhere inside your shiny linked list, how do you find where to insert?

Unless you have some kind of index to the list (in which case it no longer is a linked list, it is some other data structure), you have three options:

a) at the beginning of the list

b) at the end of the list

c) in the middle of the list, in which case you need to run linear search to find the place.

If you want to do this at the end of the list, then array list has the same amortized cost as linked list.

If you need to do this at the beginning of the list, then array list can be reversed. Unless you have the very special case of having to add at both beginning and end of the list.

So most likely you need to insert somewhere within the list to see the improvement over an array list.

But then you need to do the linear search and the search is so much slower with linked list that it completely offsets the cost of copying of all that data.
I was already writing it when I did this interview! (Though, I hadn't gotten to the chapter on data locality yet.)

One of the main reasons I started writing it was to help my job search. Which, ironically, ended up not being necessary because I left the game industry. What's crazy to think about is that if I hadn't failed this interview, I probably wouldn't have gone to Google.

So this one weird failure to explain the big-O of dynamic arrays may have dramatically changed the course of my career. Or, who knows, maybe they failed me for other reasons.
I don't think we should assume it was an asteroid. It could have been a magnetic pole reversal and shift in the earth's rotation.