skysight-inc/HackerNews huggingface dataset:
Your example isn't using "y", so you should also be able to drop the " as y" part (unless the AST hack requires it for some reason).

Edit: Oh, nevermind - the "y" is how you access it after the with statement. Weird for python, but it makes sense given the rewritten version. I was thinking your version would have a non-rewritten "result = something" within the with block in a real use, but that's not what it's doing.
Depends how many people work in the team. But really, most of time you dont need to work with manager and frequent communication typically means the manager is dealing with some problem with you or near you.
OpenRA: An open, cross platform and expandable implementation of Command&Conquer
Even more interesting is the comparison. VSCode took the lead in the late summer of 2017.

https://trends.google.com/trends/explore?date=today%205-y&q=...
This is long overdue. Social media companies grew their networks without censorship, but when they got sufficient monopoly and network power started censoring generally only in one direction.
Journalists do followup with obvious questions, but the WHPS doesn't answer them.
Or just improve HTML text rendering such that Latex isn't necessary to generate beautiful documents.

And add better support for concepts like page numbers, page headers, page footers, which while theoretically supported by HTML and CSS, aren't well supported in practice.

Given that many people use Python now for scientific purposes, and it's a straightforward language, to add extensibility to this Latex replacement, maybe just use Jinja templates and Python packages.
Is that a statement of fact or a question?

The article I cited says one organization alone "has 650 cafes nationwide and donated more than 286,000 pounds of food last year." It also mentions several other organizations who do similar work.

The root problem is people spreading this misinformation. Please don't.
He has no examples, it's just word salad.

The premise is also false - the shield from [liability] applies regardless of the political affiliation, motivation, or actions of the platform. He's trying to convince people that Twitter had some kind of duty to remain neutral, but they really don't. Twitter would have just as strong of a case under current law if they came out and said "yep, no conservative viewpoints allowed here."
I don't think there is legal basis for Trump's order, but Twitter is wading into murky territory with their actions.

Twitter's "fact check" singles out a specific Trump tweet. It's clearly a human intervention by Twitter staff, not user generated content. The subject of Trump's tweet was a political dispute, and while Trump certainly had false statements in his tweet, that's basically par for the course on Twitter.

This raises a bunch of questions. Why is Twitter singling out Trump for his false statements? If AOC or Bernie Sanders make false or misleading statements about economics (which they frequently do), will those also receive fact checks and warning labels?

We have seen this also with the coronavirus breakout. Medium and other publishers removed posts based that were sanguine data analysis (nothing inflammatory) because they were against the prevailing media sentiment. For example this Medium post [1] was removed based on its content. It did not contain anything inflammatory, violent, or otherwise unsavory. Medium just didn't like what it said.

At what point does Twitter or Medium cease to be a neutral discussion platform, and become more like a publisher that pushes a specific narrative (like Fox News, the New York Times, CNN, etc.). They are certainly within their rights do curate/moderate their platform, but if this continues, we need to start thinking of these companies less like user driven platforms, and more like opinionated publishers.

[1] https://web.archive.org/web/20200321144004/https:/medium.com...
The CAFC's rulings spell it out pretty plainly. There is sufficient original creative work in the choices underpinning the design of the Java APIs that they are eligible for copyright. There are no external forces compelling the Java APIs to conform to the exact shape they now hold, and the same systems and processes could be expressed in other ways. Therefore, the "system or method" exemption to copyrightability does not hold for the APIs.

A number of industry professionals have also made this argument. See Eugene Spafford's amicus brief for an example: http://www.supremecourt.gov/DocketPDF/18/18-956/133474/20200...

By copying Java's APIs in a non-interoperable way, Google has diluted the Java ecosystem and sown confusion amongst users of the language, thus diminished the value of the IP held by Oracle, and Oracle is entitled to damages.
Trump signs executive order targeting protections for social media platforms
Right exactly. They are not liable, but the donator isn't either. They've essentially erased the risk for the restaurant.
The example cited where they don't know what to return in their `divide` function if a division by zero occurs is nonsense.

The answer is simple: let the `DivsionByZero` exception raise! You don't have to return anything!

Better yet, you should have input cleansing/data validation before it gets to that point. The alternative presented in the blog post is absurd over-engineering.
While it is impressive, I'd call it a side effect of his narcissism rather than leadership.
'Top 10' is a convenient label. It's more about the answer to the question 'who are the most respected experts in X within the Y', and maybe even make X be instead 'X using Z'. Several careers having been made by being known as a leader using a particular technology, or a co-creator of the technology from the beginning, though it always comes with other things to back it up as well:

* Tim Berners-Lee - the web, W3C

* Peter Saint-Andre - XMPP, messaging RFCs

* DHH - Ruby on Rails

* Martin Fowler - Design Patterns

..and many more.

Yes, getting to the Tim Berners-Lee level of industry recognition is unreasonable to expect for most. But I think it is reasonable to think that this is doable, with the depth of the expertise niche needed to be outstanding being inversely proportional to the talent of the expert. One person might have an expertise niche of messaging, while another has RabbitMQ as their main niche. Both are viable to base a living off of.
except his supporters won't know about it since he is censored.
One potential outcome here -- social media platforms start _more actively_ banning users to prevent potential liability issues, thus fracturing the market. Highly doubt it will work out that way, but it would be nice (well, maybe...).
I have a massive email chain I keep replying to anytime I have an idea.
Ask HN: How much of pay cut would you take for a more fulfilling job?
I'm at that point where I'm considering changing jobs. After a string of trampoline-like moves from one place to another, I quite frankly feel I'm only doing it for the money. As I search for options, I realised jobs I would find more fulfilling typically pay between 30-40% less. Still have not decided what to do.

What pay cut would you accept to do something you like?
Single column layouts often work semi-acceptably for text only, when not purposefully tampered with.

However if you try to select the text on page 2,
you'll see that the layout engine didn't actually place the formula into its own section.
Not only is it broken, with the sum signs missing, it is also jumbled up with the text below it, resulting in weird - text broken formula - text - broken formula - mumbo jumbo.

This would make it extremely hard if not impossible to properly follow the paper with a screen reader.

The figures on page 6 also produce weird artefacts on the text layer. In HTML for example you'd simply present the alt-text to the person with the screen reader, but TeX doesn't have such a feature in most vector drawing libs afaik.

The table on page 8 is also not correct in terms of the text layer.
If you select it you can see that you get the top half of the leftmost column followed by the rightmost column, followed by the rest in some order.

If I may also direct your attention to this gem on page 9:
"Then at least half of
allnodeshaveh ̄=lgn =lgn−1(seethepaperforthedefinitionofh ̄),and 2√
thus a potential of Ω( lg n). Therefore, the total heap potential would be
lg n). Conjecture: the same construction works for the fancy potential √
√
function, which would give a bound of Θ(n · 4 lg lg n)."

Shall I go on ^^?
Just installed it. This is really cool! Thanks for enlightening.
Twitter isn't a public right. He chooses to use their platform so they choose to annotate his lies. I don't see how this executive order would even change exactly what started the whole thing.
The Perfect Ad for CTOs
Capture groups, I think.
Hate is a hell of a drug.
For your personal note taker for content based sites like NYTimes. It can store them in localstore or on the cloud.
Ask HN: Are you running your Containers in VMs?
We've been exploring various solutions to improve the security posture of our Containers, from shrinking the host kernel to hosting them in Kata VMs. Based on your experience, what are some pros/cons of VM-based solutions like Kata or Gvisor? Appreciate your insights.
Mental Model Musings
"Sorry to disappoint the "we're all going to die" crowd, but the South Atlantic Anomaly has been developing at least since 1840, and appears to be an effect of long-term, mysterious flows in Earth's outer core."

https://twitter.com/coreyspowell/status/1264999851655335936
I think the obvious answer is limited manpower. It makes logical sense to prioritize fact checking efforts on a tweet viewed by a million people above a tweet viewed by 10 people.
It's a common usage, but mainly among non-Democrats. And it's not a compliment.

https://en.wikipedia.org/wiki/Democrat_Party_(epithet)
"Checkout and have fun" does not say anything about redistribution, however.
> The idea that there are text files and binary files has been toxic for a whole generation of coders.

It really is nonsense isn't it? Its like asking a low level api for opening files as a .doc, or as a pdf. Why would that be part of the file io layer?
North India sizzles as temperature touches 50C
There is the problem. You can frame most cops as good but dealing with out of control crime, and you can frame most people as good, but dealing with out of control police, and both can be right. (Even through I actually believe both are probably wrong)

Worse, both can be right and events like recent ones can still be demonstrably unequivocally wrong inexcusable. It's almost like the statements of general trends are uncorrelated with the highest profile cases. Which is the problem.
Because there's a difference between me lying to you, and your government lying to you.
It is impossible to fact check a prediction. Fact check "The sun is going to turn red supergiant in 9 days" ...
Well, Trump is the President. On the list of people worth fact checking, he's probably at the top.

Also, they are fact checking other people - for example, they've fact checked Chinese politicians tweeting propaganda about COVID starting in the US.
Really curious to hear the rational from supposedly small government republicans
That would be a spectacular outcome, especially for anyone who likes ActivityPub and blogs, and wants to see them get a fresh shot of juice.

I'm just glad the prevailing call isn't to delete Section 230 altogether, which I think would cause a bit of pandemonium (though maybe that would be a social good as well, and maybe Section 230 was the mistake that made the social media monster).
Sinking a lot of time into Netflix and YouTube lately.

For a more productive downtime, I like going through...

- https://www.joelonsoftware.com/

- https://www.heavybit.com/library/

- https://softwareengineeringdaily.com

Sometimes I find myself day-dreaming, jotting down ideas in my notebook (read: Sublime text) for future projects and things I wanna do.

PS: Hello ex-APIMatician.
According to this arbitrary comparison, December 2017 was a pivotal moment for editors

https://trends.google.com/trends/explore?date=today%205-y&q=...
That's a matter of habit. The trigger before was space. "I am in the office - work mode on".

In WFH the trigger has to be time. We have a hard 9AM start policy, with 12 to 1PM lunch. That puts everyone on the same page and gets rid of the ambiguous "I wonder if anyone else is looking for me right now, and should I be working". You should absolutely know. If people don't respect it, it's their problem, but you should not be responding to people at 7AM or 9PM unless the sky is falling. No different from how it was before. This lack of boundaries is what really exhausts people.

Also, create a separate account on your computer for work. You should do that anyway to avoid screen share mishaps (no one wants to see your personal bookmarks and history).

At end of day, log out, killing slack notifications and email, and log into your work-free personal account. You are done for the day.
> My fiancee is an MD, so she has tons of very close friends all over the country from college, med school, residency, and fellowship that she only interacts with remotely.

So she remains close with people she underwent difficult, life-changing, character-forming periods with, who at the time, she was with for quite a few hours a day?

I mean, med school and fellowship people stay with you forever, even if you don't particularly like them. And residency? You're blood-bound, like it or not.
Its an interesting thought experiment to assess in what ways Twitter is a "private website".

It really is a public web space that is operated by a private company, but I can't help but feel that the nuances and similarities of what Twitter really is and what responsibility they truly hold in society is above the courts comprehension.
I admit I've been lucky with deadlines. The shortest span has been 3 weeks, but that was one time where most of the work was already done, and only then we looked for suitable conferences to submit the paper.
> Work in a specific industry long enough that you learn about the trade and type of problems and solutions needed.

The problem with this is that the recent grads with effectively no practical experience to speak of can't start startups with VC funding and dreams of grandeur this way. But I agree that this is the best path to start a company that's actually likely to succeed based on actual long-term profitability and legitimate problem solving.
The issue is that

if isinstance(msg, str)

will clutter code that is otherwise clean. A single type has to be specially handled, which sticks out like a sore thumb.

As a second point, do you have more on your last sentence? ("The idea that there are text files and binary files has been toxic for a whole generation of coders.").
I have been thoroughly confused about text vs. bytes when learning Python/programming.

The two types are treated as siblings, when text files are really a child of binary files. Binary files are simply regular files, and sit as the single parent, without parents itself, in the tree. Text files are just one of the many children, that happen to yield text when their byte patterns happen to be interpreted using the correct encoding (or, in the spirit of Python, decoding when going from bytes to text), like UTF8. This is just like, say, audio files yielding audio when interpreted with the correct encoding (say MP3).

Is this a valid way of seeing it? I have to ask very carefully because I have never seen it explained this way, so that is just what I put together as a mental model over time. In opposition to that model, resources like books always treat binary and text files as polar opposites/siblings.

This leads me to the initial question of whether you know of resources that would support the above model (assuming it is correct)?
Well the fact check they added is their own content, so of course they would be liable for it. But it's still constitutionally protected speech.
IIRC, they are not liable if they just host the comments, not if they endorse them. I guess every comment without a "fake /dubious" label is true?

(Cause I'm about to drink a gallon of bleach and eat 2 lbs of raw garlic to ward off Covid as per a tweet's instruction ;) (joking) )
> why doesn't Twitter fact check everyone?

They fact check everyone who represents more than 10% of their total traffic.

It just so happens that only one of those people tweets information that needs fact checking.
>generally only in one direction

Do you think it's really a coincidence that the side that promotes racism, xenophobia, homophobia, etc is the side getting 'censored'?

Seems like a natural result to me.
It's kind of a ridiculous idea.

Before S230 that was the case: Executing any editorial control risked you being concluded to be the publisher.

Online providers said this is bullshit, we want be able to remove garbage -- lies, obscene material, defamation, etc. If moderating makes us publishers over everything on our site and legally liable, we can't do that. Make us immune so we can clean up the worst of things, and you can still always go after the actual sources.

So I think it only makes sense to the extent that the world before S230 also made sense. But that's a world where sites like twitter probably couldn't have come into being.

Without S230 the law is bizarre because it treated running a public venue as equivalently of being a publisher for everything that happened in it. It would be like if I ran a shopping mall and some member of the public came in and started calling you a paedophile that you could sue the mall simply because at other times I removed other people who were urinating on the walls.
Thanks. I just feel like a small battery would need to come before the inverter on resodential but not sure why.
They are based on the answers to the original site, which are also fun to read (I presume it's satire, the person described lives in LA but it's hosted in Canada).

https://findingmyrepublicangoddess.com
This can be a good thing, too. If you're prone to anxiety, you might find that people you once had a tense relationship with are now much easier to get along with. Since their presence is not persistent, their ability to cause you anxiety is greatly diminished.
As much as there ever really were "small government republicans" there certainly aren't any today. "Owning the libs" is the only reason the current batch of conservatives gets out of bed in the morning.

https://www.huffpost.com/entry/nratv-dan-bongino-my-life-is-...
Just read your rant/blogpost. You didn't give too many examples of what's wrong with LaTeX, but you did mention putting two images next to each other. Isn't this just:

\includegraphics{img1} \includegraphics{img2}

Or is that not what you meant?
It's a fantastic product for locking the organizational knowledge of countless teams in the data centres of the biggest (publicly traded) enemy to privacy the US has ever seen. This would be a disaster for science, would suck the life out of the TeX ecosystem, and would be a perfect acquisition target for evil science publishing parasites (you know the names) to further strangle the scholarly discourse in the name of convenience. If the files don't live in my hard drive and aren't published to my web server, I don't want it and will fight against it.

And before someone asks, yes, I feel similarly about GitHub, and wasn't the least bit surprised when it sold itself to the self-declared enemy of open source of previous decades (now reformed, of course!).

Yes, these things are convenient, they have great UX nudging you toward what serves the interests of whoever owns them. I'm not arguing against the usability of Google Docs but against transplanting that model to a community built on entirely different principles.
People have a right to communicate, if a few platforms have the power to block all communication maybe they should be.
Visualize Value – The zero to one guide for design
> Why is Twitter singling out Trump for his false statements?

They aren't. They've labeled other tweets before.

> If AOC or Bernie Sanders make false or misleading statements about economics (which they frequently do), will those also receive fact checks and warning labels?

Presumably, yes.
I'd mark it largely under marketing. As others have already said, Azure is Microsoft's real moneymaker. Forget about Windows and Office, they are a shrinking market.

In the end, who makes the decision on which tools to use? Developers and technical leads, not some CEO or middle management. Position yourself withing the developer community, built a good name, andbe sure they will consider other Microsoft services as well. Especially when they already integrate very well with you toolchain.
Why isn't reuse mandated or incentivised in the same way that recycle is?

This is such a colossal waste of energy. I can't believe that offering these without warranty and a stipulation that they be debranded before use wouldn't have got Uber more cash, and the planet a better outcome.
Either they're a public utility or they have control (and thus should have some degree of liability) for what is transmitted/published on their platform. They can't eat their cake and have it too!
I think the point is more that elaborate apologies and mea culpas don’t actually help anyone. They don’t help the company that does them and they don’t really do anything for us as customers either.

As a customer, am I going to believe TripleByte is sincere when they apologize to me? Maybe, but probably not. The only way to be sure is to judge them by their actions.

And in this case in particular, there’s not technically anything to apologize for since they never actually rolled out the feature.

Any liar can make beautiful apologies without meaning a word of them. It takes an honest person to demonstrate conscience through their actions.
Societal impact rating agency for investment portfolios
One strategy I've found is to work in a different room from where I "hang out". I think it helps your brain realize that this is work time.
Even if they were the publisher in this scenario and were liable for his comment AND their annotation, there is nothing illegal about it.
The president can't be easily muted in the same way that a non-famous person could. Good or bad, the press will parrot what he says, in any forum.
I have both 'nightly' versions on my laptop, Atom Nightly and VSCode Insiders, and the commit activity in the former pales in comparison with the latter.

Eventually moved onto VSCode. As a former Atom hardcore fan, this was an emotional hit.
Because fact checking all of their users would be impossible.

I'd say fact-checking your top-50 users is a good idea, for statements which are completely and unarguably false beyond all doubt.
Visibility is a good metric to use when targeting false information. If an account with 0 followers is sputtering garbage, not much harm is done. But if an account with millions of followers is sputtering garbage, maybe it's more worth the effort.

Beyond that, YouTube has been heavily moderating content on covid. They display labels very similar to the ones Twitter is under fire for now. The only fundemental distinction is everybody agrees the virus is a plague.
NSA Advisory on Sandworm actors exploiting exim vulnerability
Does it? Is one "lie" by a public figure worth more than another "lie" repeated a billion times by main-street users?

Lets fact check "God exists".
Hey if I may suggest a different editor to you then: https://github.com/martanne/vis
It is vi like and combines modal editing with a cool regex command language (based on sam) and multiple selections. I've been using it as my daily driver for about two years now and it's been just great so far.
"It also asks the Federal Trade Commission to report on acts of political bias collected by the White House"

Is this not similar to the approach and actions of other large State actors out there that hold a lot of authoritative power?