skysight-inc/HackerNews huggingface dataset:
Ask HN: How does USB PD 3.0 determine voltage?
I understand there's a protocol for the device to request the voltage, but how does that work?

I'm wondering if it can be hacked to be used as a power supply for homebrew projects. It would be really convenient give it can supply a couple amps at a variety of common voltages.
They have a habit of doing it(for years/decades) and it would really help them if people couldn't rely on other sources of energy than what they're selling.

So, who else?Who has a motive and the capabilities to do this?
The F-350 starts at a 5,677 lbs curb weight. [0]

Which is ~2.8 US tons, or ~2.6 metric tons.

The heaviest possible configuration is 8,587 lbs, which is still "only" 3895 kg, or 3.9 metric tons.

[0]: https://www.ford.com/trucks/super-duty/models/f350-xlt/
But it doesn't need to be a protocol, just some API. And VSCode actually does that - I think it doesn't even have LSP builtin (but I may be wrong).
It's a way for him to essentially flip off the SEC while his fan base cheers along, for doing something that's effectively impossible for the SEC to challenge legally. It's probably worth a lot more than $150mm, as obnoxious as it is imo.
Stop being a consumer and opt yourself in to developing & advancing new frontiers. Taking advice for current alternatives, just moving your trust, is insufficient to help the world out of this noospheric log jam we are caught in. Not everyone can be, we know, but we all need a lot more active agents helping suss out where to go now. You should consider trying to help figure out not only where now, but where next.
Would be interesting to see if they fall into the same Myer-Briggs personality type bucket
Espionage is also not considered war. Testing another country by provocative overflights or the like are also not war.

I think as long as people are not killed it's not war.
@rektide you can view it however you want, but reality has no obligation to align with the fantasy you're presenting. It's unfortunate, as I vastly prefer your fantasy to the observed reality.
The number one thing Elon Musk does well is deploying the right people who will get the job done.

He solves very few problems himself, personally, with ideas from his own mind. He just recognizes the people who will be able to solve the problems and brings problem and problem solver together.

There's no reason that should be less effective with Twitter than anything else.
I'm not sure about when the Vestas happened, but Russia likely took more than a year to plan an invasion of this size. After some sanctions following the 2014 Crimea invasion, Russia built up its foreign currency reserves to ride out sanctions, apparently Gazprom reduced natural gas holdings in Germany right before this invasion, and Russia made other preparations to stave off sanctions and/or reduce their impact. It's not unthinkable that Russia did some preliminary attacks on renewables in preparation/practice runs in the year leading up to the invasion.
The worst-case scenario for Elon Musk’s Twitter
Thank you for the most concise, accurate, and unbiased answer I've seen.
I see "Sorry but this is utter nonsense" as ad hominem, a put down, with overtones of a dismissive "wiser" person dismissing out of hand what is said. That effect of this psychological slight outweighs the fact that they did back up their argument afterwards and didn't leave it as just an unsubstantial comment.

Kind of like a microagression: https://en.wikipedia.org/wiki/Microaggression, I think...

Human language and idioms are hard to create rulesets for. Probably "name-calling" is too specific, but "microagression" may not be understood by all. However it is sad if we need to lawyer the guidelines.
I still fail to see the problem.
Genuine question: how do you teach beginners about python's value and reference semantics if they don't know what a pointer is?

When I learned python, I knew a but of C, but was certainly no expert. I remember finding it incredibly confusing that I could pass a list or instance of a class to a function, mutate it, and the caller would see that mutation, but the same did not hold for say a float. The only way I could make sense of it was to mentally classify certain types of objects as "getting secretly passed by pointer", and others as getting evidently passed by value. Without at least a familiarity with C, I think that would have been much harder to understand.
It's not that bizarre. It's called lying.
Boxing having multiple world championships is not really a good thing.

You have the WBC, WBO, WBA (Super), WBA (Regular), IBF, The Ring and Lineal world champions. Having SEVEN possible different world champions at the same time doesn't seem like a great thing to me.

The only thing it does is increase marketability of more boxers and allow for more fights to be world title fights.

In Chess it might be good if we get some other "World Championship" that is more watchable than the FIDE version that can increase viewership. But I'm skeptical.
I feel I would want that too even though I got used to reading on screens.

Maybe it could be pdf, I think it may be about some finite amount of content to consume. I guess for me some every 3-12 months ebook with articles that are still relevant and will likely stay relevant for at least a few years would be awesome.
This is a great idea. You could draw in a casual nerdy audience willing to pay a reasonable price for access to high quality OpenAI style explainer pages with access to the raw data and papers.
Forcing everyone to be verified, and the problem will be mostly solved.

As long as it doesn't violate the laws, conspiracies and extremists should be allowed.

If anything is wrong, court should be the one who decides that, not a random twitter employee.
There are stipulations that come with buying shares. In fact when you buy shares, they’re never even actually in your name. They’re like 3 steps removed from you via various holding companies that are basically a bunch of various crap.

One of the stipulations of being a shareholder is that you may be forced to sell your shares under certain circumstances. Nothing illegal about it, even if you don’t like it.
What makes you think academia is any different?
Correct. I was looking at a source that put it just under 6000 pounds and did a goofball swap to tons. I do know that a ton is 2000 pounds but somehow it came out wrong.
> What is the scalability of dang?

I guess the real question is: are dang's parents still alive or do we have to clone him? Hopefully Twitter can wait for the minimum 18.75 years it'll take to scale out.
Not if you force people to verify themselves.
It's flat out impossible to buy a house or even condo on that kind of salary in southern Ontario without significant outside financial assistance. I bought my condo in Oct 2021. Six months later it has appreciated in value by $200,000 judging by what other units in this building are going for. You simply can't save money fast enough. Housing prices in general have more than doubled around here.

You got lucky and bought when it was cheap. Don't act like anyone can do what you did.
Why does the board get to sell my shares?
They never officially rejected it.
It looks like they made a good attempt to answer your question. They are saying that the board's fiduciary duty is what lets them be trusted by the government to sell the company. They are not saying the board decides what a decentralized market would pay each individual shareholder (the stock market does that), but that the board has an obligation to evaluate an offer against the likely future value of the company if it proceeds on its current path. Reading between the lines, the market is essentially a) the current stock price, b) the offer price, c) what the board/SEC/shareholder lawsuit judge thinks is a reasonable difference between A and B.
Twitter does in fact still reset it all the time, at least on my account. I'll notice it when I run into a bunch of those recommended tweets/follows, which don't appear in the chronological feed. edit but it has been much better recently than it was when the new UI was first released.
Doubled if you're lucky. I checked the price history on the condo I bought last year. It has doubled in price since the pandemic started and more like tripled since 2014. Of course I'm living in a booming area but my salary sure hasn't increased that quickly.
Political parties in the US aren't very strong; instead of having more names of parties, we just replace the insides of the current ones in primary elections. It's not like the UK where you actually have to do what they tell you or can literally get fired.

Replacing FPTP with RCV would elect more centrists, but without proportional representation there'd still be two parties I think.
> The problem is when using Docker, you can't tell what the dependencies are for your app.

That's all in the Dockerfile though... it's a simple and standard way to show how to install something. It's just like a makefile, but it's one that always works whatever the environment you are in, whatever the dependencies that you already got in your system and in most case, whether it has been maintained or not.

> ports opened publically

... and that wouldn't have happened if you used something else? How so? Unlike any other solution where each application choose how ports are configured, on Docker you actually need to be aware of the port to open and specify it. I means sure you could have not known that by default it does it over 0.0.0.0 but that would be true for almost any applications (and that's when you are even aware of the ports, that's a basic CTF challenge to have an unknown port open).

> rampant disk use

That's a good point, I agree that the storage can be quite annoying, but at the same time, you handle that the same way you would handle that with any other software, simply by knowing where the storage goes and why.

> poor log files management

I love how log is handled with Docker, there's a single log output and that's it. It's the source of truth for logging, easy peasy. You want your logs to be pushed to another system? Well connect it to the Docker logging system and that's it.

> lack of security updates

Could you develop that one? You are responsible to keep updating whatever you use, whether it's a docker container or an application. One or the other doesn't change that. Maybe you means that it's so easy to make a Docker image that it's just as easy to stop updating it thus making it less secure for whoever use it? I means sure... that would make it less secure but it's still possible for any application to be abandoned, it is your responsibility to make sure whatever you use will be maintained.

> Seriously, I wish devs would at least list the tech stacks they're using in their apps in the readme.

I haven't seen many Docker images that doesn't do that. I do have seen a few that doesn't go into depth on how to setup the environment, but the tech stack, that's mostly a given.

Any good examples of that?
Everyone who thought that's how this would go was hopelessly naive.

Welcome to the new normal. Enjoy your cookie pop-ups.
I think you're confusing two different things. Here's a New York Magazine article that goes over what happened[1]. After Shor tweeted this:

> Post-MLK-assasination race riots reduced Democratic vote share in surrounding counties by 2%, which was enough to tip the 1968 election to Nixon. Non-violent protests increase Dem vote, mainly by encouraging warm elite discourse and media coverage.

A twitter mob went after Shor, including people tagging the CEO of his company (who _is_ on Twitter, not sure what the confusion is there) and asking them to "Come get your boy." A few days later, he was fired. Four days after that[2], he was kicked off the Progressphiles list for being "racist."

If you don't like New York Magazine, here's a Vox article that goes over what happened[3].

[1] https://nymag.com/intelligencer/2020/06/case-for-liberalism-...
[2] https://nymag.com/intelligencer/2020/06/white-fragility-raci...
[3] https://www.vox.com/2020/7/29/21340308/david-shor-omar-wasow...
Elon would not have the right to purchase the discounted shares. Only shareholders other than the one with > 15% can buy the shares for half off (till they hit the open market, of course).
Going one step further, you can strongly disagree with a statement without attaching a value judgement to the other person's argument.

In spirit, this rule should hold even if you aren't attacking the author directly but are disparaging the value of their perspective.

That is simply unnecessary and you can just refute the point directly.
>If anybody makes them sell at any price that's less than what they want — it's a robbery.

No, this incorrect. Pending a shareholder vote, the board of a company can force you to accept an amount they determine to revoke the validity of your shares. If the value per share (which they decide) of a specific class of shares is not so low as to illicit concern from regulators then it's all above board.
FastAPI is the new hotness. Would only use Django Rest Framework if you need the other things from Django like ORM, Admin, Auth, etc.
Looking at who has most to gain from an action is an excellent starting point. What should we do, just assume everyone is equally likely until proof appears?
The California Condor is the key to ending the 2073 pandemic. Their extinction due to wind farms in 2065 is about to lead to extinction of the human race. They discover a time travel mechanism that only works for energy, not matter. They can't travel back in time and just grab some condors or open a time portal underneath an unsuspecting condor, since the portals don't work with matter. They open a time portal for radio waves and use a 5G modem to sabotage wind farms in 2022.

It turns out that all of the hysteria against 5G was an attempt by a psychopathic dictator in the future to end humanity by taking down all of the 5G towers to prevent the sabotage of the wind farms.
What if you want to live in an area with employment opportunities? I grew up in a small town in British Columbia. You can't even get a bachelor condo for $50-$80k there. There is nothing available for that price. There's also no industry at all outside of mining. You have to go where the jobs are and for a lot of people that means larger centres.
Big Oil, North Korea (under the Kim regimes), and Russia (under Putin) are all bad actors with a history of near-total disregard for human life. I'm not sure you're making the point you think you're making.
Simplicity, speed, responsibility, authority. A lot of reasons why having a clear hierarchy makes sense. How do you assign blame in a co-op that makes bad decisions?
Kanye West is an emotionally disturbed individual. What does friendship even mean for a seriously mentally ill person?

Anyhoo, looking at your comment history, I noticed you are frequently all-in on defending Mr. Musk, regardless of what he might've done. Given the entrenchment, progress in this conversation seems unlikely, so I'm going to close this thread by wishing you all the best alephnan. Take care.
I'm using Vite for a small greenfield project. Perhaps it's the selection of packages I use, but setting up was rather painful.

Vite Vue + Typescript template run fine in dev mode but could not be built for production, thanks to a combination of an Vue issue and a tsconfig flag.

Node polyfills work on `yarn dev`, but throw "kn.nextTick is not a function" for production build. Apparently I have to use package `rollup-plugin-polyfill-node` instead of `rollup-plugin-node-polyfills`.

Now with all the setting up out of the way, it does feels good to have a dev server starting almost instantly, hot reload and full page reload stay constantly fast. Sometime though hot reload just fails and I had to manually reload the page, or manually remount the component I'm working on (by navigating back and forth) to see the changes.

It also feels like I'm not even using typescript but plain javascript. Vite would happily serve broken code and some errors will only be shown on `yarn build`. I lost a watch compiler essentially.
No calling an argument "utter nonsense" doesn't imply anything about the person making the argument. You may think it is ad hominem but technically it simply isn't since it isn't directed to a person but rather their argument.

However, in this context, calling their argument "utter nonsense" is utterly unnecessary and only serves to up the ante.
The board of directors has a fiduciary duty to represent the shareholders. That also includes the minority shareholders in your scenario. I think the comment above was just making a general statement of what could happen and in that hypothetical scenario, or even if you make it more extreme, say Elon and co acquire 51% of twitter for $50, and install new board with their majority and then the board decides to go private, selling the full company to Elon for $0.01 per share. Could they do this? Technically, I would say yes. But in reality, they would be sued by the 49% of shareholders and the SEC would probably launch an investigation (which is what OP meant by govt would get involved). On the open market, the board doesn't really have much control over the price, but when it comes to complete buy-outs or mergers, they can set a price and as long as most of the shareholders are happy, it is what it is. I'm sure with this Twitter buyout at $54.20, some people are holding shares that they bought at $60+ last year, and they'll be forced to liquidate those and get the payout, so they won't be too happy, but considering the current price of twitter and it's road map it may be a good price.
Surely not _any_ property? From the article I understood that it’s only those that are monotonic under adding edges?
That is for stationary, grid-scale batteries. Hydro Quebec is developing it. https://electrek.co/2020/04/23/work-on-goodenoughs-breakthro... They're also commercializing something with Mercedes-Benz, but I can't tell if it's the same tech. https://news.hydroquebec.com/en/press-releases/hq/1580/hydro...
> whipping boy

A whipping boy is innocent. Russia is largely not.

> Remember when Russia was our "friend"?

No.
As we're discussing freedom of speech then I will ignore the content of the speech and focus on whether it can be expressed and/or what limits should be put on it.

Hence, those facts, as you assert, are moot. Additionally, as Mill wrote:

> Strange it is, that men should admit the validity of the arguments for free discussion, but object to their being "pushed to an extreme;" not seeing that unless the reasons are good for an extreme case, they are not good for any case. Strange that they should imagine that they are not assuming infallibility, when they acknowledge that there should be free discussion on all subjects which can possibly be doubtful, but think that some particular principle or doctrine should be forbidden to be questioned because it is so certain, that is, because they are certain that it is certain. To call any proposition certain, while there is any one who would deny its certainty if permitted, but who is not permitted, is to assume that we ourselves, and those who agree with us, are the judges of certainty, and judges without hearing the other side.

Hence, the veracity of those facts is irrelevant.

> That can not be supported and is a clear exception to free speech that is grossly & intentionally harmful.

Here we find a limit - should speech that is knowingly wrong and malicious be allowed? We're back to infallibility. Are you going to prove to me that Trump committed mens rea, or do you think he'd be able to claim he really believes the election was stolen from him? You don't have the ability to read minds.
I'm hoping that gradually over a very short period of time folks will realize the contradiction in terms that is called "punctuated equilibrium". It has no feasible molecular basis. Without such, it might as well be fairy dust for its explanatory power. But gradual fairy dust, that operates over very short periods of time.

The pertinent question remains: at the molecular level, how?
It is easy to justify banning this kind of accounts. It is borderline stalking.

Would you like it if there is a twitter account that tweets everywhere you visit?

Elon can totally hire private investigators to follow the family members of a journalist just to prove that nobody would like this kind of accounts when they are the targets.
Interesting. Sort of like a facebook apple store I guess.

Side note: How long can people typically stand staying in those VR headsets? I get terrible motion sickness within minutes.
"And there are certain issues where Twitter has stated that you simply aren't allowed to take an opposing view or you'll be kicked off their platform." such as?
Conal Elliott: Why is imperative programming so complex?
Whenever I go in it's typically to take out large sums of coins and constantly see local business owners dropping off large amounts of cash or elderly people who are uncomfortable using ATMs or the Internet doing their banking. I definitely wouldn't call them useless.

Their saving accounts on the other hand...
French hospital group disconnects Internet after hackers steal data
The General Belgrano was sunk by a nuclear-powered submarine during the Falklands War (1982). Tomahawk cruise missiles were launched from submarines against Iraq in the Gulf War (1991) and against Yugoslavia in the Kosovo War (1999).
Get off your high horse; people have only ever followed the hype gripping the masses

You might try and show you’re not possessed by an entitled high schooler view of the world and avoid peddling the notion you are possessed of a special meta view

The mechanism for consensus is a gridlocked political system. Everyone seems to think grinding in their deep work thought bubble and unique mental model puts them beyond the edge of human discovery. What a joke
C as an ABI is basically its own thing. And can be implementated in C++ anyway just with 'extern "C"' slapped onto the function.

But it definitely doesn't make sense to start teaching anything at this level with "here's how you design a stable API/ABI". That's a skill set that relatively few need to know
Elon will definitely consider this as an option.
Khan Academy. It has courses for all levels of difficulty. It has both theory and exercises. The exercises are even gamified (you get all sorts of badges, and encouragements). Pick one level, and see how it feels. If it feels a bit hard, don't try to grind it out. Pick a lower level. It's better to find thing a bit on the easy side, this way you build up some momentum. Obviously, you don't need to start with addition and multiplication. Start with something that feels very easy, but still puts a smile on your face when you solve problem after problem.

3Blue1Brown is unparalleled in terms of making math fun. But it's just entertainment. It does not stick. It is fantastic for people who already have a degree in math, for them watching a 3Blue1Brown beats watching a Netlix movie every time. For other people too. But for both advanced and beginners, 3Blue1Brown does not stick.

Only practice makes thing stick. And practice you can do in two ways: either you need to (you're in school, and that's your homework, or you have a job and you have a deliverable that depends on you grokking the Fourier transform), or you find that practice is fun. It's very, very difficult to make math exercises fun. Math is not skiing, or ping-pong, or even piano. It's just hard. Practicing piano may not be pleasant until you get quite good at it, but practicing math is even less pleasant, and it takes longer to get good at it. But Khan Academy just makes this math practice as much fun as it can get.

By the way, I don't have any sort of relationship with Khan Academy. I just genuinely think they are great. It would not surprise me if one day Khan gets a Nobel prize. He's actually helping humanity a lot.