skysight-inc/HackerNews huggingface dataset:
When I say in principle, I don't mean according to a strict interpretation of the standard in a vacuum. I mean that even if I were to extend to you a great deal of liberties and operate at the level of what you're attempting to accomplish, your approach is fundamentally invalid and results in buggy code that will break and is entirely unneccessary.

The way you accomplish dynamically loading member functions is by exporting a plain C function using extern "C" that takes an opaque handle to the object you wish to operate on, and whose implementation wraps the member function whose operation you wish to expose.

Pointers to member functions are fundamentally not compatible with void* and hence may not reliably be returned using dlsym. Only once the member function is bound to an object (using the .* operator, ie. object.*member) is the resulting pointer compatible with a void* (in C++11 it's implementation defined). Until then, they not only have different sizes, their size may even be different within different translation units of the same application!

In practice you are right that DLLs and shared objects communicate through C++ APIs all the time, and the reliable way that they do so is by using extern "C". The article you linked to is exactly the kind of pain, undefined behavior, and buggy problems you will encounter when you try to use any other mechanism than the plain and straight forward mechanism that exists precisely for the purpose of facilitating this kind of communication.

The reason my point is worth making, as opposed to just being a pedantic technicality, is because this approach is precisely what allows compilers to make various optimizations that continue to work safely even in situations where objects, functions, and member functions are used across dynamic boundaries. If you don't follow this approach, then the compiler will make certain optimizations that will result in disastrous behavior.

If you don't want to take my word for it, hopefully you'll take the advice of the ISO CPP [1]:

"do not attempt to “cast” a pointer-to-member-function into a pointer-to-function; the result is undefined and probably disastrous. E.g., a pointer-to-member-function is not required to contain the machine address of the appropriate function."

[1] https://isocpp.org/wiki/faq/pointers-to-members#addr-of-memf...
> The issue is causing mounting concern as a number of electric-vehicle makers have warned owners not to leave the cars charging unattended in certain circumstances, or sitting fully charged in garages.

Wow.

* Don't leave your car fully charged? Stop and think about the UX there. That's a completely new paradigm: don't completely fill you car with energy? Why not just stop the charging at 90% and call that 100%? What should you leave it at? (Drone batteries should be left at 50% if not going to be used soon.)

* Don't leave your car unattended while charging? So I'm supposed to sit there and watch it charge?

That's sort of an unacceptable usage model, IMHO.
The part that irks me about a vaccine mandate is it being imposed before FDA approval. The FDA isn't confident enough to approve the vaccine yet, yet other parts of the government are (effectively) saying they know better than the FDA? Is it really surprising that people hesitate when they see this? Isn't it kind of alarming to hear a government say, hey, our own scientists haven't approved this, but we want to inject it into your body anyway?
Gasoline cars probably, rarely or never, literally spontaneously combust while sitting parked in a garage. This is a serious problem and I am not sure what citing that fact adds to the discussion.
A Case Study on Approximating Turing Machines with Transformers
You are talking about Microsoft and Google - two of the largest computing companies on the planet.

By the same logic, you could say that game streaming is like a search engine, because some of the companies that do the latter are also doing the former.

The idea of provisioning remote cloud VMs is far older than Stadia or Xbox Cloud anyway.
I play video games about 8 hours per month. At 40c per hour, it would cost me less than $40/year to rent a gaming computer in the cloud. Even $400/year seems pretty reasonable. It’s only not cost effective if you use it a lot (which is the case for most pay-per-use commodities).
I believe Tesla pitches the Powerwall as being suitable for indoor and outdoor installation, but I was speaking recently with a solar professional who expressed horror at huge banks of batteries being installed anywhere other than the exterior of houses.
Last time I checked there was no equivalent to these, or any sort of actual tiling manager in MacOS; is this still the case? (For anyone to answer, if you know.)
It’s really adorable to watch people embarrass themselves by not reading/comprehending the entire comment.

As I said: lesser of evils. I don’t care if Apple truly cares about privacy. I just care whether they will trample on it less than the others will, which I do believe, not because they care but because it might be profitable for them.

But good attempt, kiddo. You’ll get em next time.
Users should decide who gets to use their data, not Facebook.

And there's no guarantees with any data. Facebook itself can't be trusted to not have leaks. Two years ago, data from 500m profiles was leaked, Zuckerberg's own Facebook id, mobile phone number, and other information.
yeah, you might be right
Maybe with hardware decoding, but software decoding is often done in browsers when hardware support is not available.

I suppose Apple doesn't want to include a software fallback for platforms where hardware isn't available to discourage developers from using the format. It's not like Apple would need to write any complicated decoding algorithms when there's already an open source implementation that's free to use.
I never said that you can't make good code in PHP.

> perhaps you’re just wrong about what’s good design?

It does not follow from people making good code in PHP that PHP itself is good (or that it couldn't better than it is), just like it does not follow from people making bad code in any language X that language X is bad. So that would be a "no" on that front.

> implying that Lisp is so much better than what the unwashed masses use is not persuasive

I think you completely missed my point. It's not supposed to be "persuasive". It's the basis for my own personal decisions. I don't need to "persuade" myself. Some people may make this a basis for their own decisions, but whether they do that or not is their business, not mine.

In fact I wouldn't have even mentioned my opinion of Clojure had you not pushed Clojure on me, so there's that. If you don't like that I prefer Clojure over CL, simply don't bring it up the next time.
In many states, it’s a crime to have unprotected sex while knowingly having HIV and not informing your partner. That covers things right there.

Do you have any other examples to demonstrate your ability to make absurd analogies?
Incentive to drink under 21 (procuring a fake ID) is somehow greater than the incentive to participate in everyday life?

These cards have zero security features.
> Maybe you think his real purpose is what you described rather than his stated purpose, but if he were hiding the ball I'd expect it in the other direction. It's rather jarring, really. But I suppose authoritarianism and paternalism are becoming more normalized these days.

I don't think de Blasio has a real purpose. I think he's doing what his advisors and experts are recommending he do and he's trying to make it sound purposeful because the political like sounding purposeful.
This title seems misleading, the actual quote is:

> Malbolge is a public domain esoteric programming language. It was specifically designed to be almost impossible to use, via a counter-intuitive 'crazy operation', trinary arithmetic, and self-modifying code.
FYI here is Ray Tracing Gems I, also freely available:
http://www.realtimerendering.com/raytracinggems/rtg/index.ht...
Some people are obsessed with diets and risk factors that amount to pretty much nothing over the course of one's life.

There's heavy alcoholics and smokers living to 90, then there's the poor sods doing everything "right" and dying of cancer at 50. Nutrition is just a very small, imo insignificant, part of it - assuming you're not starving or eating the exact same thing every day for years.
From time to time I write a quick & dirty hooker.py. A flask based server just for this purpose. I'm sure I'm not alone to name like that.
SpaceX Preps 'Ruggedized' Starlink Dish for Cars, Boats, and Planes – PCMag
Could you be a little bit less condescending? Simply don't upvote if you think this is trivial or crap content.

In any case this definitely feeds my intellectual curiosity. Even if it's indeed trivial to transpile between languages, I have zero idea how to go about that... and besides, I for one always love reading about Malbolge.
That's a great example! Thanks, I'm going to use this.
Lithium Ion batteries are dangerous in general. I think they are more dangerous than gasoline: if I puncture my gas tank with an awl it doesn't explode in a 2000degC fire for 4 hours. It is scary, but necessary to adopt new tech IMHO, kinda like how the first Model T's could break your arm when you started them (by turning the crank).
"In recent years, experts have wondered if leaky vaccines were to blame for the emergence of these hot strains. The 1970s introduction of the Marek’s disease immunizations for baby chicks kept the poultry industry from collapse, but people soon learned that vaccinated birds were catching 'the bug' without subsequently dying. Then, over the last half century, symptoms for Marek’s worsened. Paralysis was more permanent; brains more quickly turned to mush.

'People suspected the vaccine, but the problem was that it was never shown before experimentally,' said virologist Klaus Osterrieder of the Free University of Berlin, who wasn’t involved in the study. 'The field has talked about these types of experiments for a very long time, and I’m really glad to see the work finally done.' "

https://www.pbs.org/newshour/science/tthis-chicken-vaccine-m...

Not trying to raise alarm here or say that this necessarily will happen with SARS-CoV-2, there are tons of big differences. In general, we should expect it to become less lethal over time, but the vaccines may have introduced a confounding factor to the usual selection for milder disease.
Yeah, and from what I understand, it was a tax on revenue, not profit. If you harvested 10 carrots and had to give 3 or 8 carrots to your horses, you were still tithed 1 carrot.
Yeah, I had a hard time believing that. Surely there's no way you could publish a paper purporting to be about health affects of what people ate if you only asked them once what they ate and used that to evaluate a multi-decade time frame. That hardly seems better than basing your findings on intuition.
If I may elaborate, the comparison to IEEE floats is apt because they addition is not associative there either:

julia> (1e16 + 1) + 1
1.0e16

julia> 1e16 + (1 + 1)
1.0000000000000002e16

I think the fundamental issue with dates, however, is deeper than "addition is non-associative". It is that "1 month" is a context-sensitive duration (so is a "1 day", due to leap seconds).

I am curious about using intervals. If "{Year} January (no day)" had a representation as "Jan. 1 - Jan. 31", then "Jan. 1 -- Jan. 31" + "1 month" = "{Year} Feb. 1 -- Feb. 28" (or 29 if the {Year} is a leap year".
Very cool! I really appreciate this list. I'm currently evaluating what spreadsheet functions to add to my spreadsheet product [1], and I'm gonna add these to the roadmap.

We currently support the functions listed here [2] - and allow you to write spreadsheet formulas that get transpiled directly to Python code!

If y'all have any other reccomendations for functions we should add - let me know!

[1] https://trymito.io/hn
[2] https://docs.trymito.io/how-to/interacting-with-your-data/mi...
Recent reports indicate that the reason it's getting FDA approval so soon is not because of any specific scientific evidence or the standard FDA process, but instead it's being approved early as a deliberate political tactic to undermine this argument used by people who don't trust the vaccines: https://www.politico.com/news/2021/08/04/fda-approval-pfizer...

I don't think it's the "anti-vax camp" who's behind the major shifting of the goalposts here.
I don't think the ultimate goal should be saving lives. It should be avoiding the spread of COVID. Saving lives would just be a side effect of lower COVID cases (and vaccination).

I'm all for re-opening businesses and promoting vaccinations. We have to get back to living our lives. I'm just tired of the idea people seem to have that it's entirely about lives.
No I mean it.

I always passed so I never had any issues.

I think we just need to do our best and get through this for the betterment of society.
Robinhood spikes 65%, halted for volatility
You can't even imagine, just wait until you run across C++.
That's an appeal to authority and we know there's a big problem with censorship right now. (Medical) doctors and professors who ask questions about the effectiveness of vaccination policy have a high chance of getting fired. In my country a researcher got fired a few months ago after publicly saying there's no guarantee that getting vaccinated means you will no longer spread the virus. By now he's been proven right of course, but meanwhile he did lose his job, his income, his reputation, and his voice in the media.

So how is it possible to have an honest, open discussion (not to mention conduct proper science) in such a highly censored environment?

(For the record, I'm not antivax and not against these new vaccines, and I think it's also worrying in and of itself that many people like me feel this needs to be said every time in these discussions in order to minimize the chance of name-calling and personal attacks.)
Microsoft Edge Experimenting with a Super Duper Secure Mode
Good point on herd immunity. Also good point on the devastation to the economy and costs of pandemic. It's that "dark and brutal" logic that leads me to argue mandatory vaccination should be on the table as an option to bring down human and economic costs.
That's not what the original commenter is talking about.

The "decision" to build a road from A to C was not really a top-down decision from the medieval periods. Rome built roads in a top-down manner that sometimes benefited the Empire as a whole... but Feudal Lords built roads in a smaller and more selfish scale.

The growth of roads at that time was more akin to animal paths (animals deciding to travel the same path as other animals: because the well-trodden areas are flatter and easier to walk). Its an organic growth, rather than a top-down planned growth.

I seem to recall playing a few games where roads grew naturally like this, but I've forgotten their names by now. Feudal lords built Roads more akin to Death Stranding (where the player builds a road to try to connect to the online community. Once the road exists, you gain the benefits of the entire community's efforts)

So people are talking about that kind of "locally selfish but community building" behavior. And also in a management simulator and... not whatever Death Stranding is (First person Post-apocalyptic UPS simulator?)

----------

Different mechanics for different eras of history. Again: Civ6 probably is akin to some Emperor declaring a road should be built between two major cities. But Medieval / Feudal society didn't have top-down edicts from an emperor (at best: maybe from the Pope but... the Pope didn't have that much power). Having a simulator for the medieval time-period could be an interesting gameplay mechanic.
It's also something valuable to learn that naivety is something you can possess and be abused. Some of my friends in high school shared the awful jobs they had, and I realized very early on (thanks to runescape), there is a predatory force that could leave someone worse of than they started. Luckily there were no real established MLM or such, the worst was an eldery lady recruiting teenagers to "bulk buy" merchandise and sell it themselves in some god forsaken way to cut out the middle man and strike gold. Our friend group tried to dissuade him to the obvious scam, but he took his uncle's advice to heart rather than ours, the same uncle who professed the largest provincial university in our province was a scam. The company you keep is important for sure.
Awesome video and thanks for the list, I was just going to write that down and you saved me a job.
> compulsory vaccination is a thing

You said this, and we are referring to a vaccine that is not FDA approved.

‘Well defined’ doesn’t mean anything. The vaccines have not been approved according to normal medical standards.
Keyboard is faster when instructing the computer for actions that you execute all the time. For situations where it’s practical to learn a keyboard input, it’s great.

Where this interface paradigm breaks down are in contexts where the input is novel. Keyboard shortcuts and commands have a discoverability problem that has not been commonly solved in way that makes them faster than the mouse for new/rare users.
They haven't passed any meaningful legislation since The New Deal.
"CIA bad!" is pretty common trope around here. I think many would consider the CIA, in part or whole, to be a subset of the bad guys.
Here's an interview I came across with the creator (Davis King) of dlib:

https://www.pyimagesearch.com/2017/03/13/an-interview-with-d...

Goes into some interesting details, and is a library that I'm definitely going to check out.
oooooo.....the scary "privilege" claim. I guess that is used as the general end-all word. I guess because you used the word "privilege", that's the end of the discussion.
Nah, advertising and click-bait far outclass those.
Exactly something everyone should try. It can give you a lot of insight if those future plans are really all that interesting and rewarding if you start doing it now while you are alive and young.
The UI is already there. Tesla doesn't charge to 100% unless you configure it for a road trip
Again, people go for the Tesla story. What about this list?

https://allev.info/2021/07/list-of-known-chevy-bolt-fires/

Edit: It get it, here come the hate replies and down votes.

Yes I know the article "mentions" others, but the title is again about Tesla and not EVs.

I get it. The Tesla articles always get the talk though. I honestly hear "Oh, Teslas light on fire. Electric vehicles are bad." Ask about the Bolt "Those are electric? I thought they used gas."

Let's see how many comments this article gets about this fire compared to the Bolt. The original Bolt talk here from 9 months ago had 106 comments. Heck even the latest post where GM had to recall the Bolt, again, had like 2 comments. Let's see how fast this one grows due to branding.

It's so rare, but they (Tesla) get the real headlines.
It's possible to put the fire out by cooling the battery below ignition temperature, and depriving the fire of atmospheric oxygen certainly reduces the combustion rate, but the result for firefighters is that an enormous amount of water is required.

Typical petroleum fires (gasoline, diesel) can be smothered with foam to put them out. No amount of heat will ignite these fuels without oxygen.

Smother a self-oxidizing fire does not extinguish the fire. To remove heat, firefighters spray cold water on the fire, which is incompatible with smothering it (the water and steam push foam away), so the fire has atmospheric oxygen as well as oxidant from the fuel. Dropping the car into a tank of water accomplishes both - the water tank is a heat sink, cooling the car, and it also smothers the fire and removes atmospheric oxygen.
"Precious resources" - the narrative was that the resources _were_ precious and we needed "two weeks to slow the spread."

Why are these resources somehow "precious" two years later? Where was the ventilator production? Staffing?

If this were such a serious issue, what have we been doing?
For reference Pluto is just 39.5 AU from the Sun and the Oort cloud starts at 2000 AU.
Government is always abstracted in games, rather than being material. If a game had a tax collector, it would have to figure out what would happen if you killed the tax collector. What if the tax collector is actually a tax farmer[1]? Would his gang go after you? If the gang was too afraid of you, would they raise taxes on your neighbors to compensate?

[1] https://en.wikipedia.org/wiki/Farm_(revenue_leasing)
In Japan, the chance of working for a Yakuza front company are extremely high, unless it's really a multi-billion big corporation, organised crime is involved everywhere.
>Certainly if the US hadn't racistly enslaved, imported, and then continued to commit violence towards Africans for centuries, we wouldn't have as many people living now in such violence-fostering situations.

You may find the words of Keith B. Richburg (<https://en.wikipedia.org/wiki/Keith_Richburg>) of The Washington Post in 1995 (<http://www.washingtonpost.com/wp-srv/inatl/longterm/richburg...>) interesting:

>Somewhere, sometime, maybe 400 years ago, an ancestor of mine whose name I'll never know was shackled in leg irons, kept in a dark pit, possibly at Goree Island off the coast of Senegal, and then put with thousands of other Africans into the crowded, filthy cargo hold of a ship for the long and treacherous journey across the Atlantic. Many of them died along the way, of disease, of hunger. But my ancestor survived, maybe because he was strong, maybe stubborn enough to want to live, or maybe just lucky. He was ripped away from his country and his family, forced into slavery somewhere in the Caribbean. Then one of his descendants somehow made it up to South Carolina, and one of those descendants, my father, made it to Detroit during the Second World War, and there I was born, 36 years ago. And if that original ancestor hadn't been forced to make that horrific voyage, I would not have been standing there that day on the Rusumo Falls bridge, a journalist -- a mere spectator -- watching the bodies glide past me like river logs. No, I might have instead been one of them -- or have met some similarly anonymous fate in any one of the countless ongoing civil wars or tribal clashes on this brutal continent. And so I thank God my ancestor made that voyage.

Also:

>So the US hit the bad-outcome jackpot of being racist AND having forced immigration (or, in other parts of the country, conquest)!

Ah yes, the United States that is so uniquely and irredeemably racist that Africans have not over the past 50 years sought to voluntarily migrate to it in large numbers. The Nigerians (who have been notably successful among all migrant groups in the US), and those from all over Africa who go to the trouble of flying to Brazil and then making the arduous trip to sneak across the Mexico border, do not exist. Not at all.
Would you have a reference? I have been speculating the same for a while, but by now I wish we had some proof rather than speculation.
this just isn't remotely true. There is a long history in the US of cities and sub national governments requiring vaccination, limiting the things the unvaccinated can participate in, and fining people who refuse to be vaccinated. https://www.history.com/news/smallpox-vaccine-supreme-court There is a long history of case law establishing the rights of subnational US governments to act in the interests of their citizens in protecting public health.
You can look at a few of the sheets people link to here and just fiddle around with changing things too to see what happens
> to the point where we suspected he'd 'developed a taste for them' and was secretly snacking on these keycards.

Perhaps the UK Office show was a documentary after all.
One quick google search [0]. There are more.

[0] https://www.abcactionnews.com/money/consumer/taking-action-f...
oh boy. I'm happy to send the OP a mouse from Amazon if they DM me their address