skysight-inc/HackerNews huggingface dataset:
I think of OOP as encapsulation, inheritance, and polymorphism (but not necessarily all of them being used all of the time).

My problem with the example is that Book should not have a sell() method. Instead, BookStore should have a sell(Book) method. The machinery for how to send in a credit card transaction does not belong in Book. You still need it - it has to live somewhere - but BookStore is the place, not Book.
Best Hacker I Know
This amazing hacker, very humble helped me hack over 4 phones of some very bad people who wanted to blackmail me with some bad pictures and videos of me. Albert Vadim saved me from these people. If you need help, you found it right here. CONTACT ALBERT EMAIL- Vadimwebhack AT Gmail,com WHASTAPP +17025301177
He has helped many of my friends in America fix their credit and boost scores. He does a lot of incredible jobs I cant mention all.
It’s weird how much access our games have to our systems. I always assumed that they were at least a little sandboxed until I started working in my unity game and found I could read/write any file anywhere I tested
Ask HN: Do you use Git for storing notes?If so how do you handle cross platform?
I've seen many posts encouraging to use git in combination with (Github/Gitlab/any other option you like) to store personal notes in a sort of central and personal knowledge base.

The main reasoning behind this is that applications such as Evernote could eventually disappear at some point, so if I want to be able to access my notes in 10, 20 or even more years then storing them as a plain .md or .txt file would be the best idea.

I'd like to give this idea a try, but I've found that there is not a straightforward way to use this in a multiplatform way. For my concrete case it is Windows + iOS. I'd use Windows to write my notes and iOS to consult some information on the go.

I've found that even though there is even an official iOS Github app navigating in between multiple notes is not very friendly and also I've found no way of rendering the Markdown for notes other than the README.md of the repository.

Maybe I am approaching this note system the wrong way, so if you use something similar I'd like to hear how you handle this.
The Naked Truth About Writing a Programming Language (2014)
I made the mistake of copying a node project I was working on.... holy cow does Backup and Sync choke on all those tiny JavaScript files.

It started syncing and just couldn't stop.

I had to delete or move all the Backup and Sync contents across my devices to get to 0 before it quit endlessly thrashing.
That would be a valid conjecture if we didn’t had the ONS data already there are virtually no additional reported deaths for that age group above what PHE reports:

https://www.ons.gov.uk/peoplepopulationandcommunity/birthsde...

In fact even deaths under 65 only make up 11% of all COVID-19 deaths.

So again the likelihood of the death rate changing in any significant manner for that specific age group due to the inclusion of the ONS data is currently about zero, for other age groups especially those above the age of 65 there would likely be some changes.
Things people would still buy even if the price doubled
God no, please don’t do it. The style of HN is part of its brand. To me it’s like the craigslist of tech news. The option of a dark mode just wouldn’t feel the same, the paradox of choice would engulf you. I’ve struggled with this on every site that suddenly implements a dark mode (stack overflow!?), I’m sure others do too.
I don't know any regional ladder that could convince me to rootkit my machine.

This whole concept is just too inane for me to grasp, if I'm honest.
Can you separate them from the list?
> According to this article we should accept

Well, I wrote the article, so I can say with some authority that you've badly misinterpreted it! Somehow I manage to build sites with exceptional performance that are snappier than the equivalent JS-free sites, using the techniques I talk about (and https://svelte.dev).

Yes, there are a lot of bad sites out there that abuse JavaScript. No, that doesn't invalidate the article's thesis; it supports it.
I don't think you can beat:
https://books.apple.com/us/book/the-swift-programming-langua...

Xcode Playgrounds (different from the iPad/macOS Playgrounds app) are really helpful for learning the language or testing things out.

For a complete course, see http://web.stanford.edu/class/cs193p/cgi-bin/drupal/.

Apple also has a series on creating iOS apps. It may be too beginner focused though. https://books.apple.com/book/id1118575552
It was certainly never mentioned when I was in school. I knew about it, but I bet some of my classmates didn't. And it hadn't even been retired yet.

Challenger was mentioned, but only because I brought in a newspaper clipping for the 20th anniversary.
I got a sim racing rig, flight stick, and VR headset at the start of this. So glad I did; everything seems to be sold out now.
> Yes, no telecom should be the only telecom in a region, but each telecom is granted an exclusivity (monopoly) on a particular utility line: cable companies are given (in most regions) exclusive rights to a region's originally TV focused fiber and coax cables and phone companies are given (in most regions) exclusive rights to a region's originally phone-focused fiber and coax cables.

That's a weird way of phrasing it. Cable companies own their lines because they paid to build them. But they haven't been "intentionally granted monopolies" as you claimed above, because another provider could come in and build lines and provide service. (Power companies, by contrast, generally do have a monopoly in that sense.)
SingleHop, purchased by INAP.

Although they filed for Chapter 11 about a month ago.
Woah cute. It's funny too because I'll browse with inverted colours as a hack on iOS.
There are project references and build mode, so 1 compiler for a monorepo also works.
awesome! yeah, the first couple of versions I posted had issues with dead links, and textareas.

Anyways, if @dang permits, we can start a github repo for this, until all the little issues are fixed. I just hope he sees that all of this can be done in just a few lines of code
Yet another way that Google's branding creates confusion. I read "Google drive desktop app" and my mind jumped to storage / files, not word processor.

In my mind, "Google drive" is storage, "Google docs" is word processing / spreadsheets etc. I have no idea why they brought docs into drive.
You're right that one of the biggest reasons to switch is that everyone else has switched (which is a bit sad to me since I think Coffeescript had some good features to offer), and community support + developer tooling are always important factors to consider. We were on Coffeescript 2 which had niceties like JSX syntax support, but even then our team had issues with the lack of IDE support for it. We were using it with GraphQL/Relay which also meant we needed to maintain our own compilation toolchain.

In the end, the benefits of having types and first-class editor integration convinced us to switch fully which we did over the course of a few months towards the end of 2019. One of our team members even wrote a blog post about how we did it:

https://dev.to/alexandras_dev/decaffeinating-2020-migrating-...

More power to you if you keep on using it, but maybe this can help explain the reasoning behind why we made the decision to switch.
I think thats really true from the perspective of a fairly experienced person but I also think it takes a level of skill to build social currency. Building a network is 10x easier when you have done something noteworthy compared to just pure networking off your personality or whatever.
Huh? They are both x86 cpu architecture. Maybe I am misunderstanding your statement. Are you confusing "arm" the architecture with AMD the company?
it's only forbidden if you get caught?
New US Space Force flag mocked as a 'Star Trek' rip-off
Eh, the purpose would be to demonstrate that a camera took the shot. The fact that it id’s which one specifically isn’t particularly material but might be a little useful in some circumstances.

You wouldn’t need to publish the unprocessed photo, just keep it in escrow.
Programming can be often fun, but if we want to be taken as seriously as other professionals: (doctors, lawyers) we need to stress that programming takes a lot of brains and hard work.
Ya know, I constantly hear arguments about why things like this are necessary and how cheaters are ruining games, yet I play an online game that's supposedly full of cheaters, to the point where the Devs themselves sent out an apology and asked for cheaters to be reported, yet i've never really noticed it. There's definitely been a couple times I'm pretty sure someone's cheating, but after the game ends I don't really care any more and I just start a new one.

I dunno, I mean I grew up in the wild west of online games where pretty much games got taken over by hackers to the point where you couldn't play unless you hacked too. Modern games by comparison are far better to play in that regards, even ones apparently full of hackers. You've never seen hacking until you've stepped into a diablo 2 open battlenet server and somehow managed to die in town on spawning and then had your save file corrupted when you accidently picked up the glitched item next to your corpse and even when you had a full set of items hacked to the point where you needed a magnifying glass to read what it does and your on screen character is glitched beyond recognition, some motherfucker comes up and one shots you.
Great New Features in Scikit-learn 0.23
Yes they all did
For one thing, Internet advertising is still not a majority of all ad spending. Google is estimated to control about 1/3rd of the online market, Facebook about 1/4.
It's a bit of a flexible concept when it comes to IP and it's not a clean mapping.

If I "steal" a song that you wrote by downloading it, you can still listen to it of course. This is what the pedants love to argue against. The law doesn't call this theft AFAIK, but there are separate laws.

However a producer has lost something - the right to control who listens to it. The right to control how it is listened to, the right to an income from your creation. Various other things that people may or may not agree with but exist in law.

So, to be lazy, non-legal people say they stole the song instead of all this.

This applies to a lot of things such as crypto keys. Knowing the key doesn't remove the key from you. But I have removed control - you can no longer prevent me from taking your tokens/value. It is much like a stranger having a key to your house without your permission. They might never use it. You probably don't want it to be an ongoing situation though.
Use Deluminate for dark mode on all sites!

https://chrome.google.com/webstore/detail/deluminate/iebboop...

I tried most of the "dark mode" chrome extensions out there and found this was the best (compatibility, performance, etc.). Not affiliated, just a happy user.
Did you try my latest solution?

https://pastebin.com/CKy4HQXE [I'm not parent]

let me know what you think ;D
The article explains that cubic models are backed by the theory that Excel built-in functions exist for a reason.
Experimental AI tool to predict which Covid-19 patients get the sickest
Check back on Monday, I'll try to find time to sort it then.
> this is just a adding “text” and “background” colors - swapping white and black.

I would kindly invite you to skim the CSS suggestions that others made in the thread. It's not as simple as that.
Have you seen Deno? Would it help with your issues?

https://news.ycombinator.com/item?id=23172483
> "things are this way because my predecessors already learned the hard lessons" vs. "things are this way because my predecessors didn't know better."

This is just Chesterton's Fence again, and has the same refutation: if you're putting up a fence that serves some long-term purpose, it is your responsibility to put signs on it explaining what that purpose is. Otherwise people are right to assume it's one of the overwhelming majority of fences that do not, in fact, serve any purpose beyond obstructing their movement.
Please don’t change anything about this site for the love of Pete.
Does the contract with DoorDash and Grubhub allow them to use the trade name? Regardless, if Saddleback BBQ does cancel, I would assume it would be very much illegal for DoorDash and Grubhub to advertise using that trade name.
OpenGL isn't relevant here, as SDL2 has a metal backend that's used by default on MacOS. See https://hg.libsdl.org/SDL/rev/1acae5590352
The people who wrote the article are not lay people.
> Opting out of Sidewalk Labs would mean moving out of the district and maybe getting a new job

Ah interesting, so your interpretation of sandworm's point _is_ explicitly saying that condominiums become abusive above a certain area/size. Thank you, this is a novel point that I hadn't yet heard.

That being said, the ambitious version of this development (before the reduction in land made available to them) is 1.5 sq mi. This means that you can pretty easily do the equivalent of "moving across the street": if I'm doing my math right, someone living in the most suboptimal possible dead-center of the community will have a minimum of a staggering....0.7 miles added to their commute.

This seems a whole lot closer to my friend's situation than paying property taxes to live in a city does.
That's not simple at all..
The original question didn't refer to such issues of parsing, just checking for whether the full message was received, which, I would think, would be handled by the TCP library read() (or whatever) call. It sounded like the OP (outworlder) was delving into lower-level TCP details that should have been abstracted away -- my thinking is that the TCP caller shouldn't have to concern itself with details about checking whether the full message has been received, at least not as a separate step. That is, it just wouldn't return anything until the full message is received, or would include some data structure that indicates it's not complete. Does that make sense?

Edit: On second thought, I guess OP meant that all of the results were coming back "complete" which doesn't obviate the issue of needing to do a check that handles the "not done" case.
This is good news to me! I've been very interested in Swift for a long time, but mostly work doing web dev so it would only be useful to me if I could run it on Linux and it initially didn't have a great support story. I know it has been able to run on some Linuxes for a while, but it just didn't appear to be a great ecosystem. Now, there's interesting stuff happening for both backend and fronted (https://twitter.com/lrz/status/1250644001604042752).
I often tell people to assume the TCP stack's buffering is arbitrary & capricious and will do the most inconvenient thing for your code. That can mean ether a) dribbling data in one byte at a time per recv() call, or b) buffering multiple megabytes and returning it all in a single recv() call.
Eh, I think you're overblowing it a bit. While Apple's trackpad does do some unique things (like Chinese character input[1]), most of the behavior that people are interested in emulating here can be reduced to the cursor position, click events, and (high-resolution) scroll events. The only part of this that isn't currently available on Linux, AFAIK, is the scrolling bits, and even that isn't critical.

[1]: https://support.apple.com/guide/chinese-input-method/use-tra...
dunno about "never see." The last big server-side thing they made (to the best of my knowledge) is SwiftNIO, it's open source, and that was a huge deal for the Vapor project.
... An 18 MB animated GIF embedded in the project home page just to show me a demo video?

I suppose that’s on-brand for an Electron app.

Snark aside, FFmpeg is your friend and a 1-liner plus a <video> tag will reduce this to less than a MB. Your mobile visitors will thank you!
I have to be honest, it’s surprising this didn’t come sooner. Like years sooner.
And since cubics can't be nearly flat over two disjoint intervals separated by an extrenum, they added an unlabelled nonsensical bell curve continuation to the to the end where a cubic would predict the case rate plummeting to negative infinity
But none of those things are worker owned either; they are generally owned by the public. The success or failure of a school or public transport entity has nearly no impact on the success or failure of the workers (short of catastrophic mismanagement, anyway).

I suppose we have trailed things like worker ownership in early stage startups with high equity compensation. That might be evidence that it works well. Letting workers capture most of the value they create would be at least as interesting experiment for me than Universal Basic Income; but I think UBI has much more coverage as a political idea.
Isn't it just the author of this app (it doesn't look affiliated to Google to me)? Probably should call it Google Docs Desktop instead.

I don't find Google's official use of Drive and Docs confusing (there are some overlaps, but in a natural way).
We need to stop supporting devs who don't respect our security + privacy.
In perl an object is literally a data structure with funtions glued on. Which is kind of the opposite of what you say!

Usually this is a hash (dictionary) which is similar to the object with fields that we all know, but it can just as easily be an array or scalar value.
In retrospect, saw it coming.

When this COVID chaos first started, I ordered a pressure cooker for in-store pickup at the JCPenney near where I live, anticipating having to cook more often. They charged my credit card and sent me an email the item is ready to pickup. When I got to the store an hour later I found that it was shut down by local police two days ago (!!). Trying to get a refund from them was an impossible task - customer service agent say only the store can issue refund, despite the store being closed. I filed a chargeback, and JCPenney decided to contest it, claiming "The item is ready. The customer just need to pick it up after the coronavirus pandemic" and my CC issuer, Citi, somehow sided with them and denied my chargeback.

Their customer service finally gave me my money back after a month and a half.

The takeaway from the story? Either JCPenney is so short on cash that they have to take such desperate measure, or their IT system is so antiquated that is cannot handle a simple refund, or both. Either way it reflects poorly on the company, and I certainly won't miss them if they don't survive this.
I dunno IMO the macbook trackpad is not good,

RSI inducing tap to click barely works and you have to enable a horribly implemented accessibility options just to drag with a gesture to each their own though

the reflective screens they put on those things also cause eye damage
Paul Hudson's books and guides are very good. I churned through his "100 days of SwiftUI" a couple months ago, really liked it. https://www.hackingwithswift.com
I wonder if Dropbox devs would say CoffeeSctipt was a net negative. The authors mentioned how it made supporting IE11 easier for example.
SubEthaEdit 5 – native open-source text editor with live collaboration feature
Any chance for a Kindle friendly mobi?
Whenever I've looked at examples on Swift on Linux in the past, the code always started with (hazy memory here) `use glibc` or similar, whereas the macOS version used a different library. So for example even just to produce a random number you had to use two completely different library functions imported with completely different names. All that to say: it's always felt to me like "cross-platform" for Swift means "the same syntax on a completely different platform." Has that changed, or will basic functionality on windows require a third completely different set of libraries?
Bankruptcy court can reverse those depending on when they were granted.
Can you share your experience so far and what games you used?
> It is not clear at the moment if Apple has any plans to port Swift UI to Windows and/or Linux

It seems pretty clear they have 0 plans on doing that. They could've open sourced it in the first place, along with Combine.

Not open sourcing Combine seems like a pretty short sighted decision to me.
Yep, this isn't affiliated with Google. Wouldn't be surprised if the author got a nice email from Google's lawyers if this gains enough eyes.
I would love to be able to define my own CSS that simply replaced the site’s settings, not just for dark mode. It would let me make changes that would be extremely useful to me.

For example, I’d hide the “hide” links on the main page. I’m sure some people love that feature, but I’ve only ever used it accidentally (fatfingering on mobile).

I’d add a bunch of additional hiding CSS. I’ve long wanted a “helps-me-respect-my-time” version of HN, where voting buttons, flag links, reply boxes, and reply links are all hidden.
Visa Patent Allows Banks to Mint Digital Fiat Currencies Using Blockchain
thank you :) i hope i didn't hijack the thread! but i just love sharing stuff like this

> the set of all public methods could be seen as 1, but not the only, interpretation of the functional interface.

could you describe another interpretation? "the set of public methods"¹ is the only thing i can think of when i hear about an object's "functional interface". it could be a terminology issue though – i'm reading "functional interface" in a general sort of way, but i could imagine it having some specific definition in OO theory.

---

¹ or recognized messages, in a more smalltalk-ish context
Nvidia ditches Intel, cozies up to AMD with its new DGX A100
Ha, remember the first time they tried a mobile layout? That was quickly yanked (to much rejoicing). If the dark mode has some issues, we can always go back and try again. The main thing I care about is making sure it's still easy to read (good contrast).
Bitcoin on Ethereum
Stand-ups becoming a status report to justify your employment is a common end state of “going agile”. Meeting gets longer, people add more trivial minutiae, nobody wants to look the laggard
Nobody gets paid their salary with cash for a reason...
They don't care because, for all of the faults of Apple's desktop/laptop strategy, the non-Apple strategy continues to be "copy form factor, invest nothing in user experience".

Edit: I knew this would get downvotes, but it's true in my experience. The closest exception is Microsoft themselves, and even then their hardware focus is limited and mostly intended as a demonstration for their OS customers.
Even though it's not OO that doesn't stop people adding their own hacked OO to C. I think the Quake source code had a lot of this, structs with function pointers. OO is such a natural fit for games in particular it finds a way to exist.
Ask HN: What's your best framework setup experience?
I've got a framework, I want it to be really smooth to get up and running. There are many ways I've seen this done in other projects, some better than others, for instance:

1. clone a boiler-plate repo

2. run an installer

3. follow extensive start-up docs

-----

All of these have pros and cons, but I'd like to hear your subjective opinion on the nicest setup experiences you've had.
We should probably redeploy it on Kubernetes so the backend can scale, one c5.xlarge instance per session to keep up with the requests.
> one of those terms (like most terms) that have a narrow meaning and a broad meaning

Very relevant: http://slatestarcodex.com/2014/11/03/all-in-all-another-bric...