skysight-inc/HackerNews huggingface dataset:
> Would I be correct in guessing that you are more likely to write an abstract class in the next month than to write a higher order function?

I doubt it, because HOFs are hip in React-land right now and I don't really give a shit, personally, so I usually do whatever my team-mates find idiomatic in their current coding style and preferences, which means implementing and using HOFs, for now. Plus React picked "awkwardly add state and object-like functionality to functions by partially re-implementing objects" over "use built-in object system better, but tie react more strongly to OO-style programming" when they realized they had to pick one or the other to fix some problems, so React's even more functional now than it was before and is only heading farther that way as their chosen way forward continues to accrue functionality that OO-style React doesn't have.

Regardless, I haven't found TS to impede the writing of HOFs, and certainly not the use of them. I've been favoring them for a while even server-side just because it's "the thing to do" and other JS devs are familiar and comfortable with them these days and, again, I don't really care one way or the other. If I find myself on a team that prefers classes and objects, I'll use those instead in places where either would do.

Anyway, I'm more of a composition than inheritance guy when writing OO code. And I'd be more likely to define an interface than an abstract class. Not that I'd never, ever use the latter, it's just not something I reach for very often, especially in TypeScript.

[EDIT] actually, TS is part of why I no longer have significant preferences for how I write Javascript. Before, the only Javascript style I found not to be hair-pulling-out stressful and unproductive was about as C-like as possible, favoring a procedural style and aiming for zero indirection or "cuteness". Of course this was a popular JS style approximately no-where so this translated to my hating Javascript. TypeScript saves me from having to care. I'll write whatever, just give me types so I don't have to go read (or, god forbid, execute and poke around in) your code to figure out WTF you're doing even at the most fundamental level.
> Firefox, and other browsers, should have advertised when RSS was available, and make it highly discoverable for users.

Firefox did, with a subscribe button in the address bar. https://mariolurig.com/wp-content/uploads/2013/01/firefox-rs...
Should you go out? A 60-second questionnaire
>Apple is basically monopolizing the whole market for rss readers.

You can't be a monopoly with such a small userbase.
Covid-19 will magically disappear come election day says Eric Trump; VIDEO
A wise person said "Stripping the disenfranchised of their voting rights is talk from the 1950s, and should be done away with just like slavery." but you wouldnt read it.

I am not suprised you brought up skin color.

"didn’t have the right to vote" and yet here you are, "I honestly wish my in-laws didn't have the right to vote."
> I don't know if ZFS supports variable compression levels (maybe per dataset)

> Thus it's possible to use a higher level (high compression ratio, slower speed, more CPU and RAM) for e.g. an initial archive. And later use a lower level (or even no compression) when doing updates.

yup. works the same in ZFS. you can change the compression setting any time you like, for future writes.
All by itself it won't really do anything. You combine it with a story to achieve some specific result.

One metaphor for trance is that it puts you into a "debug mode" where you can patch your software easily.

One concrete technique that I've heard of (but not tried personally) is to go into a trance and practice some skill for many (imaginary) hours. This works to advance in skill without spending the hours in realtime.

Once you have general aptitude your ability to learn e.g. martial arts or playing a musical instrument is greatly accelerated.

A person I know had learned the Ukulele and someone asked them about playing left-handed (this person is right-handed). He turned the ukulele over, closed his eyes for a few moments, opened them and played left-handed. He remapped the motions during those few seconds and didn't have to practice at all.

"Pretty neat." Eh?
This comment is needless gatekeeping. Nobody cares how many RSS feeds you subscribed to back in your hayday. Really.
If that library is open source I'd love to take a look at it.
Here's the link to the editor: https://vivpage.com
An Innovative Social and Digital Marketing Firm
Show HN: Build a Smart Doorbell (cheaper and more features than a Ring doorbell)
This. In my experience, GitHub issues and PRs tell you most everything you need to know about an open source library: if issues are responded to (and how quickly), the attitude of the maintainer with regards to new features, etc. Most of this can be gleamed within 20 minutes of browsing, and when you combine that with a quick 5-minute look at dependencies and tests, you can make a pretty good, educated decision about whether to use the library, and those 25-30 minutes save you hours or days of potential headaches down the road.
Mandatory code review would do it.
Yup, I felt similarly
I was recently told by a pharmacist that this applies to _all_ prescriptions in NY. YMMV, though.
Nope, different protocols. You don't need web browsers for email, and the email clients that run in web browsers are using mail servers to send and receive.

If the web didn't exist, which it didn't prior to 1991, email would still work fine. There just wouldn't be any web-based email clients.
This is just bananas: https://www.covidmappingproject.com/dashboards/how-we-count-...

"A number of friends and visitors to the site have noticed a discrepancy in how we count “new” cases and how the state of Georgia is counting new cases.

For example, on April 21st, Covid Mapping Project reports 934 “new” cases. Covid Tracking, a companion site run by a team from The Atlantic, doesn’t report differentials but they do report a day by day tracking of cases. On April 20, they report Georgia had 18,947 positive cases and on April 21st they reported 19,881 cases. A differential of 934. Same as us.

However, if you got the GA DPH website (where most of us source our data), you’ll see 10 “new” cases. That was later revised to 84. And then 138. It's a moving number that will likely change every day for at least a week. Quite different than the 934 we’re reporting."
GNU Hello World is 700k as a .tar.gz: https://www.gnu.org/software/hello/
Try telling a Doctor's office you don't want to give them your SSN. I personally make it a point to NOT give them my SSN and they always give me hell for it. Sometimes I give up but whenever I can, I try to fight it.
Pomodoro has been helpful for me. Also, mind maps & Airtable have been useful for storing & retrieving notes & takeaways.

Simply, I think the hardest part of learning is knowing how to pick it back up next time than it is about actually acquiring a new concept. Creating continuity in learning means more if you intend to actually embrace continuous learning as a mindset
Can't really argue with the makers of proprietary microcontrollers about what tooling they provide though.
I moved to self-hosted tt-rss when Google Reader shut down and the 50 or so other clients/services I tried were not good enough. Been using tt-rss ever since and very happy with it.
> We live in the most interesting 200 year period of Earth so far in its 4.5B year history.

People have been saying this for centuries now. And they will probably continue to do so in the future. Our rate of progress looks so high because we are living in it. Cut to another two hundred years and 2000 will look just like 1800.
They still do; for years now I read the patch notes and every time there's a segment dedicated to the terminal with things like font support or sane selection, things that IMO are both basic features and which should be in native terminal emulators already.

also I've never used the VS Code terminal, iterm works better for me. Also because it's its own dedicated app, so I can actually alt-tab to it instead of having to learn whatever shortcut it would be in the editor.
Well, I did specify "modern", which arguably includes sane Unicode handling.

I think a reasonable compromise is to have "char" be a 32 bit type, whereas a "string" would be UTF8.
Page will list useful resources related to crypto and blockchain universe
People should look at this as a business opportunity.

Look, states are losing tens of millions of dollars a year in fraud. I bet they would pay many millions to prevent it with smart data analysis and red flagging...
> They would no more be able to make up their losses through rent increases than I could make up the loss of being charged extra for a loaf of bread at the supermarket by unilaterally raising my wages. One does not drive the other.

Do you have research, or an evidence base, for this?

> [...] it certainly was being run on behalf of landlords.

It certainly was not.
That’s funny because my dad has been struggling to get unemployment due to state bureaucracy (he was working remotely for a company in another state, which complicates the filing). I guess the same bureaucracy is probably what enables the fraud.
Google is not even in China so why would they even do this? I don’t think that YouTube is either.

I wonder if this is just some lower level software engineer or product manager taking a unilateral decision, for whatever reason, or if this came from up above...
If you're having kids you're striving for things that aren't happiness. Often trading exhaustion for purpose and meaning.
> It also ends up happening that they work on the wrong thing because no one is around at night or weekends to answer basic questions that may unfortunately not be in the ticket.

I know the comment came from a good place and you meant well.
The situation you describe of “developers working on the wrong thing” can and sometimes does happen, however, as a manager the effective way to handle those situations is to address the root cause. Is it because the task is too big, not enough details, is it too early in the project that the requirements haven’t really surfaced organically? You want your team to be autonomous, you want to empower your team to make mistakes and at the same time actively minimize the chance for mistakes by greasing “things” so people around you can be more effective.

There are few things as negative for a team performance as an insecure manager that needs to be making tactical decisions for the team as if developers were little kids.
Your company executives are retarded.
A friend and I are curating a list of finance articles - http://topstonks.com

Trying to keep it funny, edgy, and informative.

If anyone knows of a place to find interesting articles on High frequency and algorithmic trading, let me know!
Ah, that's great! I didn't realize Apple open sourced Foundation as well.
And those 4 numbers that they always ask for are the only part of the SSN that isn't procedurally generated from public information.
What do they want it for?
I think flattening the curve was always more generally about creating a time delay so that progress could be made on multiple fronts.

It was about health care capacity. It was also about testing capacity. It was also about producing/procuring PPE and logistical planning for all the things to come. It was also to learn more about this thing, since there are so many unknowns.
Sure it is. AWS ships a bunch of clients for Kinesis as well as a kinesis agent for shipping log files.

https://docs.aws.amazon.com/sdk-for-go/api/service/kinesis/
> to make sure it doesn't creep into areas where it has no business being (like pandemic management).

If it shouldn't be the government's responsibility to manage pandemics, a fundamental public health issue, then who should take that charge? Why can't we bestow responsibilities on the government and vote them out if they don't fulfill those responsibilities? What's the alternative?
The whitelisting looks great. Even with the remaining concerns I raised in the other comment, the ability to whitelist only allowed domains for network connections is a massive step up security-wise, even if they are allowed for the entire program (until revoked globally).
You wouldn't need to handle it centrally, you could do something like log all "single-state" transactions against a name, SSN, & bank account, and publish to reach of the other states your data -- preferably through a federal data store, but it could still work otherwise?
Store and share ancient rocks: Geological samples must be archived
Their toilet systems also prove water is wet.

In all seriousness though, Facebook get a lot of shit but they are at least trying to clean up their act. Legacy media has been vastly more corrupt and treacherous for decades and shows no sign of any reform.
And yet, there are more people living in poverty than the entire global population in 1950.
I never stopped using RSS.

But man -- what a testament to how much I loved Google Reader that it still feels like a fresh wound to have it brought up again.

Damn you, Google!
Postal banking!
Do you also include managed kubernetes offerings, such as from Digital Ocean, in that assessment?
In support of my offline diversion from working too much. Been researching Hugel Kultur. Another approach to raised beds. Most of the research is around what organics in the area I live make sense.

https://www.permaculture.co.uk/articles/many-benefits-hugelk...
Super valuable info. Thanks for that.
Debezium (debezium.io) might be interesting for you; it provides open-source change data capture for a variety of databases; together with the right Kafka Connect sink connectors (or using it via Pulsar etc.), setting up a Postgres-to-Maria data pipeline is quite easy. (Disclaimer: I work on Debezium)
I would say this reflects on it not being designed & setup properly on the ops/infra side of things at your company.
Use a regular license (i.e. don't worry about someone else selling it, keep it truly open source)

https://coss.media

Search HN for storied in the last year with license in their title, lots of interesting discussions.
Speed in relative terms means that JavaScript in the browser is not fast. The language runs on top of just about as many abstraction layers as possible and I do not envy this world you describe. I wish we’d move away from it.
Yes, I hope so. I have just released a new data transformation/ETL tool for the desktop (Qt/C++ app for Mac and Windows). The advantages of desktop are:
-performance/low latency
-richer UI (e.g. shortcuts)
-privacy

But there are trade-offs:
-the user has to install/upgrade it
-less insight into what the user is doing
-harder to sell as a subscription

I wrote this in 2013 and I think it is still mostly true:
'Is desktop software dead?'
https://successfulsoftware.net/2013/10/28/is-desktop-softwar...
I get different numbers from here: http://www.parmentier.de/steuer/steuer.htm?wagetax.htm

On 92,000 Euro I get 45% total. In California it’s 30%. Moreover, if you’re making $100,000, you’re almost certainly getting health insurance as part of the salary in California, so you don’t need to add the cost of health insurance on top of that.
Yea, I agree. Having the endgame solution in place at the beginning is often a mistake and can actually foil your ability to get to the end game.
I wish someone would explain how you can run K8s on an old computer like you old your MacMini and leverage it from other computers. I just don't seem to get it working :(
As a compromise, require IDs. And pay everyone $10 to vote.
I have been interested in "git for binary data" for a while, mostly for ML/computer vision purposes.

I've tried quite a few systems. Of course, there's git-lfs (which keeps "pointer" files and blobs in a cache), which I do use sometimes - but it has a quite few things I don't like. It doesn't give you a lot of control on where the files are stored and how the storage is managed on the remote side. The way it works means there'll be two copies of your data, which is not great for huge datasets.

Git-annex (https://git-annex.branchable.com/) is pretty great, and ticks almost every checkbox I want. Unlike git-lfs, it uses symlinks instead of pointer files (by default) and gives you a lot of control in managing multiple remote repositories. On the other hand, using it outside of Linux (e.g., MacOS) has always been a bit painful, specially when trying to collaborate with less technical users. I also get the impression that the main developer doesn't have much time for it (understandably - I don't think he makes any money off it, even if there were some early attempts).

My current solution is DVC (https://dvc.org/). It's explicitly made with ML in mind, and implements a bunch of stuff beyond binary versioning. It does lack a few of the features of git-annex, but has the ones I do care about most - namely, a fair amount of flexibility on how the remote storage is implemented. And the one thing I like the most is that it can work either like git-lfs (with pointer files), like git-annex (with soft- or hard-links), or -- my favorite -- using reflinks, when running on filesystems that support it (e.g. APFS, btrfs). It also is being actively developed by a team at a company, though so far there doesn't seem to be any paid features or services around it.

Pachyderm (https://www.pachyderm.com) also seems quite interesting, and pretty ideal for some workflows. Unfortunately it's also more opinionated, in that it requires using docker for the filesystem, as far as I can tell.

Edit: a rather different alternative I've resorted to in the past -- which of course lacks a lot of the features of "git for binary data" -- is simply to do regular backups of data to either borg or restic, which are pretty good deduplicating backup systems. Both allow you to mount past snapshots with FUSE, which is a nice way of accessing earlier versions of your data (read-only, of course). These days, this kind of thing can also be done with ZFS or btrfs as well, though.
That's odd that you can't get a 90-day supply. I'm also on a Schedule 2 drug for ADHD in California and have gotten a 90-day supply with Kaiser.

Granted, when I was seeing an individual psychiatrist prior to having Kaiser, she said I could only get a 30-day supply as well and would just send 3 at a time too. I feel like there is a way to do a 90-day supply that many providers either don't want to do or don't know about.

Edit - It might be something that's possible with electronic scripts and not possible with paper.
There is a slim chance that we are the first ones with sentience ever. That would totally explain Fermi paradox.

Why not? We are definitely the first on this planet, and we don't try to dispute this fact using probability measurements.
I like to take my laptop out to a park and work with all the radios off to get the best use out of my battery. I also like to do complicated things with a lot of files that need to be organized in a real filesystem, the directory structure of a graphic novel can easily match the complexity of a program’s source tree.

Your web app, which requires several extra levels of indirection between the code and the bare metal, an online connection, quite possibly is built on a framework that tends to suck down a significant percentage of my CPU even when it’s idle in the background with all windows closed, and its own weird file management that’s probably a giant hassle when I need to get my work into another program, has no place in my world.
> I do not understand how leverage will be beneficial.

Same here, if I understood the grandparent they were saying you lose 0.04% on every trade (from spread) and "in a year" that is 10% (250 trades?).

If you have a strategy that has expected returns of x bips per trade then you make an expected x-4 and with leverage 4 * (x - 4). Both have the same "sign", so if x-4 is expected positive, leverage just makes it higher risk-reward.

In fact with leverage you also have to pay interest on the loan, which seems to be at least ~18 bips (or 3/4 of that since the returns are on 4 * cash and interest is on 3 * cash) for a single day loan (far exceeding the "spread cost"):
https://www.schwab.com/public/schwab/investing/accounts_prod...

It seems the only way leverage would help is if there were fixed costs to trading (which I assume there are but the GP does not mention).
Not to mention a whole new JavaScript framework every other week.
Honestly, if people hadn't prepared for an unexpected pandemic that tanked the economy, they have only themselves to blame!
So, so wrong. How did (s)he think experts get so good? Isn't the phrase `the master has failed more times than the apprentice has even tried` well known for a reason?
If you enjoy books like that, I recommend The Cambridge Quintet[0]; it's a wonderful book.

0. https://www.amazon.com/Cambridge-Quintet-Scientific-Speculat...
Yes, a fair amount of middle/lower-middle class women in big cities in India make some side cash with this system. Basically just cooking extra portions of lunch and dinner of whatever they're making that day anyway and feeding the busy single neighbours for a very reasonable amount.
What Happened When I Switched from Macs to Windows
Coronavirus upended election security training with just months before November
> requires an annual HIPAA privacy waiver... Privacy waiver is because they share medical records of patients prescribed controlled substances with law enforcement or any other local or federal government agency that wants to take a peek.

So, how good is a regulation if you need to waive it for something as basic as getting your medication?

Makes me respect GDPR even more.
Repurposing Keynote to create product animations
You can publish an RSS feed for shopping search results.

You can put a future date in RSS for events.

To lazy to search for examples sorry.
Contrary to conventional wisdom, margins don’t rise as a company grows
I'd love to see any evidence at all that Facebook is trying to clean up their act.
Maybe his education was strong but vertical, and thus inadequate, leaving him susceptible to irrationality?

At my university, the arts and sciences school had broad requirements: math, chemistry or physics, a language, history, humanities, and also a critical thinking requirement that could be fullfilled by specific classes: philosophy, logic/heuristics, political science, etc. Intro classes never qualified for the critical thinking requirement. Most of my friends were in the engineering school and got none of this. They could took only engineering related classes, they had no history or language requirement possibly not even an offering. All of them hated the single "non-engineering" class they had to take: writing. That was apparently as critical thinking as it got.