skysight-inc/HackerNews huggingface dataset:
I don't know if one has really made any case at all about OOP, neither for nor against, if one hasn't considered cases that involve any sort of conditional branching.

Because the key problem that OOP is supposed to solve is not lumping bits of data together. The problem that OOP is supposed to solve is using polymorphism to limit the proliferation of repetitive if-statements that need to be maintained every time the value they're switching on acquires a new interesting case to consider.
> Watching lecture videos isn’t learning—it’s passive consumption.

this x1000

watching something is more akin to entertainment, even if the contents are educational

videos are great for piquing interest and keeping motivation going, but the real learning is in the doing (which is hard and takes time)... there is no way around it
Prediction: SEC will go after one or two retail traders who are minorities and blame the entire episode on their probably harmless tweet or post.
Pharmaceutical companies are actually far more profitable than I imagined.

Pharma companies enjoy a profit margin averaging 26%, medical device companies 12%, and hospital groups (which includes non-profits) 8%. Insurance companies are closer to 3%.

https://www.americanprogress.org/issues/healthcare/reports/2...
I imagine CEOs would just lobby privately and in person then, but pay a team to do all of the other leg work. This is trickier issue than people popularly imagine.

Influencing the leaders of a global super power is incredibly valuable, and lots of people want to do it for a lot of reasons.

In your proposal, would you ban NGOs, non-profits, and unions from lobbying? Why or why not?
This beat is more notable since Apple had closed a number of their physical stores due to the pandemic, which had driven many, many sales.
No, it runs deeper than that. Dan came up with a really twisted, weird set of abstractions to link things that really weren't as similar as he thought they were. After he was done, you had to keep track of whether things had sides or corners and how many of those there were, something that didn't enter into how the original problems were framed. Instead of presenting 'okay, here's our resize for these respective things', his (disavowed) code began demanding how many corners your thing had. What about orientation? If you have a star, with five corners, and you can rotate it 180 degrees, what do you then call 'top left' to force that into your DRY not-repeating resize routine? Is it the bounding rect? If you've rotated the thing, is top left now bottom right or are you only concerned with the bounding rect? What if you have a non-contiguous selection so you've got two top lefts? Are they one big rect, or are you trying to resize each thing in its individual location?

The point of his article was that he'd CREATED possibly significant problems through imposing an abstraction where it didn't fit. I can think of a number of new 'things' for 'resizing' that would be valid new 'things' with intitutively sensible behaviors that would violate any enclosing abstraction he might have produced, especially the one he offered as a 'bad example' where sides are conflated with corners and so on. He's right to have realized he was on the wrong path.
The poisonous journalistic atmosphere which the GP referenced was precisely the impetus behind that much-needed exercise.
It does sound like it would barely have broken even when considering the opportunity cost of the highly-compensated developers who had to write it, which they ignore in the article. It goes against the "rules of thumb" i learned at Google, which suggest that an engineer would break even if they saved [redacted but huge number] CPUs per year, and should only choose problems that promise to save 10x that or better.
Rich display handles sending html/svg/etc back to the UI layer.

https://ipython.readthedocs.io/en/stable/config/integrating....

You might be able to do everything in there with a little JS.
Heat engines generate power from a difference in temperature. The larger the temperature difference, the more power. You can increase the temperature difference by making the heat source hotter or by making the heat sink colder.
> Trump pulled the ugly band-aid off the China problem and now even the Dems and some Republicans have realized the mess that economists like Friedman got the US into.

Are you kinda also thinking of Milton Friedman? Thomas Friedman isn't actually an economist.
I could be mistaken, but I figured I'd point this out since it was my experience, the host PC must have wireless (context: I had a PC with only an ethernet connection, no wireless card).

It will take advantage of the ethernet connection, making for a more responsive experience, but however it is designed requires wireless even if the both computers are connected to ethernet.

I connected a usb wireless dongle and it did the trick for me.
This is basically how I use Python :) Truly, recently I tried to remember how to create a class method so that I can have different constructors and I forgot! Got back go just structures and functions.

Most OO in most OO languages is just polymorphism and inheritance is merely a roundabout way to construct or traverse the method graph for polymorphic objects. It's often much easier to do polymorphism directly and only if you really need it: quite often you can fare well without polymorphism at all and simply write branching instructions.

The useful OO must be about changing state in a controlled manner, but this remains largely unaddressed.
If your position is sound, there is absolutely no amount of "chatter" that should cause you any concern.

If your position is easily undermined by anonymous posters on reddit...

In any case, it will only delay the inevitable. If NASDAQ halts trading on an equity, they just prolong the agony of a bad short position. How would Citron have been helped by a delay? Its a loan, the longer its open, the more you pay! So a trading halt is actually counterproductive for short hedge funds, what they really need is the quickest exit possible
I've never heard of it for plumbing, but kinda in a similar vein most electrical codes require a certain setback for all cabling running through studs and protection where it can't be maintained.

If the cable is passing through a stud less than 1.25" from either face of the stud (giving you ~1.75" once drywall is installed), then a metal plate has to be installed to stop someone trying to hang a picture or shelf or something innocuous up from driving a screw into the cable.
The WSB thing could just be cover for them. There were more shares shorted than were outstanding, so it's a great opportunity for a trader/raider with a pile of cash.
I don't know what this means; I don't have children if that's what you're asking.
The short positions were at huge multiples of float for a long long long time before the stock price started to rise, allowing them to unwind their short position, no? This is not a new, sudden situation, it's been planned for a long long long time.
Projected average annual production growth of 50% per year, with greater than 50% growth in 2021.

Fully redesigned Model S interior pics in the PDF!
You can definitely implement sudo and similar tools without writing any new unsafe code.

You will use existing libraries that contain unsafe code, but you should be able to stick to popular well-tested libraries, which means it will be very difficult for an attacker to find a new exploitable bug in those libraries to attack your tools.
Could you note any major cases the previous administration pursued that didn't involve some lone scapegoat trader and/or a minority everyone could agree to dislike? Were there any actual cases after the 2008 mortgage/cdo/cds crisis, for example?
Not sure, but albendazole seems over priced still. I bought 6 tablets less than a year ago in Costa Rica for about $5
Ashers Polity series would make better TV, I love both and would to see something set on Spatterjay.
That is hardly the case. Expressing concern for income inequality means expressing concern for people to have autonomy, proper food and shelter, proper healthcare, savings, and retirement capability. It is not virtue signaling, as you put it.
Thanks for that - yes, it looks like Adult Swim Germany has had to create a zoomed version of the original in order to avoid an automated copyright strike from their parent company. Kinda ironic with yet another example of the algorithms doing most of the work, and everything getting slightly worse as a result.
I’m sure the SEC is full of extremely intelligent and well educated people. I’m equally sure that most of them are corrupt and are part of the revolving door.
3D-Printed Nanosatellite Thruster Emits Pure Ions for Propulsion
> Rowling's views are not 'dated' (that's your opinion)

They are. Bigotry is not static. It's a dynamic reaction to progress being made in the rest of society.

Her views are not a reaction to fringe whackjobs on twitter screaming for some rights that the rest of society is not willing to give them.

Her views are a reaction to changes in government policy that do not happen overnight, are themselves a result of decades of progress made in conjunction with medical and scientific subject matter experts.

> they are thought out, and reasonable.

They are not. They are based on strawmen interpretations of trans people's lived experiences, and their desired outcomes. It would take a really long time to go through all her points and point out the various logical flaws in it, but the main issue is they are founded on her own personal beliefs, anxieties, and prior trauma, not a reasonable detached view of the status quo. Contrapoints just did a pretty thorough deep dive analysis[1].

> The issue is not 'people not buying her books' - the issue is that people are trying to suppress and silence her

An author's interaction with their audience, and their "platform" goes far beyond the books they publish. They have other channels, and other ways to reach people - in Rowling's case millions of people, primarily children.

While not everyone would agree with me on this, but if Rowling was quietly harboring transphobic beliefs, and made no further follow-up, I wouldn't care, and there would be no uproar.

Instead, she is using her notability, credibility, and large reach to post long essays promoting an opinion that is intended to regress social progress, and make life harder for trans youth (including lack of access to medical resources, increased bullying, and the corresponding increase with depression/suicide)

So, again, what you're calling suppression and silencing is simply consequences to her explicit actions - not just beliefs.

[1] https://www.youtube.com/watch?v=7gDKbT_l2us
[2] https://www.jkrowling.com/opinions/j-k-rowling-writes-about-...
Elasticsearch? Of course you would, it's the most well known open source search tool and has been for the better part of a decade.
Was totally going to point this out as well. It's entirely possible that their ML team cost nearly this much to begin with.
Thanks, I just enabled it. We will see. :)
I'm not sure I follow. Python's duck typing explicitly relies on its object-oriented features. I'm not sure that it's even possible to implement duck typing in a language that isn't object-oriented.
Does the Bloomberg terminal have a chat/social function? Is it monitored?
>you open your subscriptions page it first loads the list of videos, and then, 5 seconds later, shows their durations

Every time this happens I have this horrible feeling that they just removed showing video durations entirely. Which wouldn't even surprise me, I could imagine them doing some stupid A/B testing to discover they got more people clicking around when durations were removed.

But regardless, it's insane that one of the biggest sources of internet traffic on the planet is software that can render a bunch of images (thumbnails) but it takes several seconds to display a few characters of text on them. I don't know if they're grabbing durations as a separate API call, or if that's just how slow their JavaScript is. Either way, it's pathetic.
Is it likely that Chamath's "antics" lately have been to fuel his CA governor campaign?
Yup, cost is easily gamed. We see this in movie industry all the time with Hollywood accounting.

https://en.m.wikipedia.org/wiki/Hollywood_accounting
I'm pretty in the dark here since I don't have a google account, but what are these private APIs they're talking about? Is Google Sync the equivalent of Firefox Sync? If that doesn't work, but the actual browsing works, what's the big deal?

People should still be able to build Chromium and their Electron apps. It's not clear to me what people are getting worked up about... what am I missing?
It did more than SQL. It could generate programs in the syntax of an arbitrary programming language (with enough pretraining examples) as well. What powers it is a tree-to-tree transducer, which is a kind of recursive neural network (not recurrent, which is what LSTMs are).

It's been 5 years and I've been thinking a lot on this. This is a product with no good market fit. If you break it down by "kind" of sales, your basic branches are B2B and B2C.

B2C is mostly out because the person on the omnibus have no general need for a programming language, SQL or not (plus, outside of emacs, nothing consumers use are inherently "programmable"). So this program simply becomes a utility program that you reach out to occasionally like `cut` or `sed`.

We mostly targeted businesses and other startups. We wanted to empower the common employee to be able to query data on their own. That itself came with a huge amount of challenge. Turns out most employers don't like the idea of any Tom Dick and Harry having query access to databases. So we branched out, tried to allow querying spreadsheets and presentations (yes, the advertising arm of one big media corporation stored their data in tables in a .pptx file on a sharepoint server). The integrations are finnicky and break often.

Maybe we're not smart enough to figure this out. But one day, one day I shall be back.

But in the meantime, the failure of the startup spawned the Gorgonia family of deep learning libraries (https://github.com/gorgonia/gorgonia). Check it out if you want.
If by market you mean "for profit companies", that's correct. But if "market" is taken to mean "marketplace of ideas"... In free market philosphy there is a lot of sunlight in the gap between corporate behemoths and government, ranging from individual action through mutual benefit associations all the way up to pbcs and ngos. The point is government should also not be relied upon to correct injustice. In the end justice is up to the people, and if a for-profit takes the banner of justice that's decentralization of power at work.
Well that sounds like a Black Mirror episode — “Crowdfund your schoolfriend to not be euthanised”
This article describes higher probability letter combinations as higher entropy and lower probability combinations as lower entropy. For example, "yuzz-a-ma-tuzz" is low entropy because z's generally appear with lower probability in English.

I thought entropy worked the other way round - high probability means low entropy and low probability means high entropy. Which is it?
Tesla unveils redesigned Model S with new interior and 520-mile range option
Do you think the fine should have been big enough that the company would struggle to function?

It needed to be big enough to make it cheaper to comply than not. I believe it achieved that purpose. Anything else is just revenge.
Denser air also means that fire needs to push out more nitrogen in order to spread.
Right, but GPT-2 was the name of the particular ML architecture they were studying the properties of; not the name of any specific model trained on that architecture.

There was a pre-trained GPT-2 model offered for download. The whole "interesting thing" they were publishing about, was that models trained under the GPT-2 ML architecture were uniquely-good at transfer learning, and so any pre-trained GPT-2 model of sufficient size, would be extremely useful as a "seed" for doing your own model training on top of.

They built one such model, but that model was not, itself, "GPT-2."

Keep in mind, the training data for that model is open; you can download it yourself and reproduce the offered base-model from it if you like. That's because GPT-2 (the architecture) was formal academic computer science: journal papers and all. The particular pre-trained model, and its input training data, were just published as experimental data.

It is under that lens, that I call GPT-3 "GPT-2++." It's a different model, but it's the same science. The model was never OpenAI's "product." The science itself was/is.

Certainly, the SaaS pre-trained model named "GPT-3" is qualitatively different than the downloadable pre-trained base-model people refer to as "GPT-2." But so are all the various trained models people have built by training GPT-2 the architecture with their own inputs. The whole class of things trained on that architecture are fundamentally all "GPT-2 models." And so "GPT-3" is just one such "GPT-2 model." Just a really big, surprisingly-useful one.
When writing Python, I usually try to follow this item from the C++ Core Guidelines (replace "struct" with "dataclass"):

> C.2: Use class if the class has an invariant; use struct if the data members can vary independently

> An invariant is a logical condition for the members of an object that a constructor must establish for the public member functions to assume. After the invariant is established (typically by a constructor) every member function can be called for the object. An invariant can be stated informally (e.g., in a comment) or more formally using Expects.

> If all data members can vary independently of each other, no invariant is possible.

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines...
> it can most definitely afford to lose money under-cutting you when you only make a small handful

Which gives you a textbook Sherman Act claim.

In any case, a loss-tolerant competitor doesn't argue for a 50% discount versus 90%.
unwalled:

https://www.businesstelegraph.co.uk/in-a-crisis-sometimes-yo...
Assuming that I’ve met the expectations set in the statement of work or contract, I finish the outstanding items and then drop the client. It is never worth it, such clients almost always have an excuse why they cannot pay outstanding invoices.
then if code is law, the eth20 upgrade should not happen. coz it breaks the current code law flow in eth10. shit happens
It's not Tesla's quarterly earnings report that drives TSLA, It's Elon's tweets. They should publish quarterly metrics of his Twitter account.
FWIW, he was sitting on $31M at close yesterday (~$141/share), Jan 26th. It's mid $300's now, Jan 27th, easily doubling his position from yesterday north of $60M.

Edit: He just updating his daily position. Cashed out 13M, has 35M still riding in shares and options.

[1] https://old.reddit.com/r/wallstreetbets/comments/l6ekdz/gme_...
Decoding NOAA Satellite Images Using 50 Lines of Code
yup, confirmed, bought a 6 packet about a year ago for about $5 in costa rica.
The free market has decided that they don't want more doctors educated though. Guilds are very free market, do you not believe in freedom of association?

I guess the true libertarian answer is that we don't really need certification at all, or that anyone should be able to start their own certification board. Like Rand Paul and his fake ophthalmology board he started to give himself credentials.

Nothing is ever libertarian enough until we've removed all the regulations and let quacks practice medicine, is it?
So the example manages to evade any need for encapsulation. It's viable because the internal hidden state is so cheap to compute (the full URL) that it can afford to reconstruct it within every call.

But imagine if constructing the url was a more expensive operation. Perhaps it has to read from disk or even make a database call. Now you really need to cache that as internal state. But doing that means external manipulation of root_url or url_layout will break things. Those operations need to be protected now. So do you make "set_url_layout" and "set_root_url" functions? And hope people know they have to call those and not manipulate the attributes directly? Probably you'd feel safer if you can put that state into a protected data structure that isn't so easily visible. It makes it clear those are not for external manipulation and you should only be interacting with the data through its "public interface".

Of course this brings about all the evils of impure functions, mutated state etc. But if you are going hardcore functional in the first place then it becomes rather obvious OO is not going to fit well there, so its a bit of a redundant argument then.
No one is forcing the short sellers to buy GME, they did that all by themselves.
I am definitely not saying that poor whites are the ones pushing the notion of race over class. I’m saying they’ve been taught by media to view things in terms of race rather than class. Race has been used by the ruling class to stifle economic justice. It’s been used to divide the lower class.
Years ago I noticed that when I was hungry and tired, I would notice just how much bad design got in the way of completing a task. Things that I would work around easily when I was well-rested and sated all of a sudden became incredibly frustrating. Unclear instructions, or buttons that were hard to find, or error messages that were inscrutable suddenly became very obvious.

I posited that it would be an interesting user test to have someone who was in an irritable mood try to use your product. I've never actually done this, and I still think it would generate interesting feedback.
So we're taking out regulatory credits but leaving in the CEO award, right? I guess if you cherry pick your one time items you can make any number appear.
Actually, if we're really talking about a tax writeoff, the cost of removing the platforms would be much greater than 24B£ - specifically, if would be enough that, if the income used to pay for it were included in the company's taxable income, the marginal income tax alone would be 24B£.
I don't understand the criticism here. A customer of this company is not reliant on Cuban at all--if Cuban's company raises prices, the customer can switch to another company or move to a country with cheaper drugs.

I also don't get the "goodwill" argument. This is designed to be a profitable, sustainable business built on the classic mantra "your margin is my opportunity".
Pointing to someone's bad code example and saying "This is why all OO is pointless", is truly a lazy effort.

Good OOP is good. Bad OOP is bad. That's like every other piece of coding. Some excellent examples of great OO code that I've worked with have to do with having an abstract class to define a data api, and then being able to switch providers seamlessly because the internal interface is the same, and all you need to do is write a vendor-specific inherited class.
When the SEC requires reddit to disclose Private Messages?
They might have meant actual responsiveness, as in the absence of lag. On low-end embedded devices, rendering a template with something like PHP could easily take high units or even tens of seconds, whereas JS on a much more capable client device can respond to the user's input immediately.
Melvin Capital did.[0]

[0] https://www.cnbc.com/2021/01/27/hedge-fund-targeted-by-reddi...