skysight-inc/HackerNews huggingface dataset:
Hi everyone.
For the last 3 weeks, I’ve been working on the following project. The thing is that I own several accounts for my projects, some Instagram accounts, twitters, mail chimp lists, GitHub repositories, etc (you know what I mean). So it was really hard to keep track of how my audience was growing (or not) in any of them. I never remind how many followers, or subscriber I have in each one, and if my audience on them is really growing. Any of the most known platforms has a historical view neither :( .

So I decided to build my own solution.
I create a very simple app, that sends directly to your inbox a report showing the followers (subscribers, etc) you have in your accounts. Also, it saves the historical data, so it shows how much your audience has grown.

I choose for an email report, because I don’t want another app to remember, I don’t want to have to log in and check metrics in a dashboard. I prefer to receive a scheduled report that I could check when I read my emails. Easy and simple. I tell you, is really exciting to check your emails and see you have received a new report, willing to see what your audience is growing.
As I really enjoyed the result, I decided to release it to the world. Is FREE, but I added a premium plan, to see if I can make some money with it haha.

For the tech lovers: I built it with ExpressJS (Node), Vuejs + Bulma, Mysql DB and Nodemailer. I would love to answer any technical questions if you have any.
The article says they only launched as a public product in 2018. I would think the first question I would have had was, "where's Python 3?"

Either way, if they're on track to finish later in 2020 I don't see it has a huge concern outside of getting everyone to move to the Python 3 version.
I work in government.

I think the hacker ethos can be found alive and well in a variey of career paths.
The only indisputable effect of imprisonment is that it prevents preying upon the general public for the duration. Since criminal behavior markedly decreases with age, there is a rational argument to be made that persons who prey on others should be removed from society until such time as they are old enough to knock it off.
GOOD, if we can start rehabilitating prisoners, giving them skills to succeed outside of prison then there might be a chance. Yes, I know many have psychological issues and they can't be fixed without a complete brain rewire or hard drugs but many are non-violent and poor.
> the federal Conservatives have continued their relentless march right.

I did not notice such a thing. What do you think constitutes a "relentless march right", that the Conservative party is engaged in?
my only experience with the rental scooters is the Lime ones, but i felt that a 15mph limit was if anything too high. If they had better brakes, they could go a lot faster, but with the quality of brakes that are installed anything greater than 15mph could lead to some really dangerous situations.
I will second this. I hike and pretty much I can divide the stupidity into two classes:

1) People who are utterly ill-equipped and know nothing. Almost all of these are within a mile of the trailhead. They are very unlikely to experience worse than an unpleasant time.

2) People who are underequipped and know little of the local situation. These are almost all tourists. (To date I have encountered only one exception--two guys 4 miles and ~2,500' in, water bottles and big, heavy sticks that were worse than useless as trekking poles. Fortunately I got them turned around, had they continued they would have been out of water, risking hypothermia and have had no chance of getting back to civilization before dark--and they had no light.) The ultimate example was a guy from Florida. He was asking me for navigation advice, attempting to reach the highest local summit. It was his 4th attempt, the previous three were blocked by snow. By unreliable reporting there were several feet of snow on the summit at that time, it certainly wasn't considered passable. He was asking me about a third trail shown on his map. Really now, an arrow-straight trail in steep mountains?? That's the boundary line for the ski resort! No GPS, no poles, if he by some miracle summitted he would have had no chance of getting down before nightfall.
AWS APIs aren't always sane, but DynamoDB's is quite alright. It would make things easier.
Yes, this is exactly what has happened in the recent years, with the publishing of his black notebooks. I wonder how they could completely reverse the situation?!
So you mean 1/2 as fast as the C?
Good. We can only hope prisons would try to reduce recidivism in order to make more money. That’s the point.

It’s a fantasy to think you can simple “hire people that care about the public good”. If that were the case the government wouldn’t be filled with incompetent red tape slingers vying for nothing more than a good retirement.
How to use this website?
I appreciate this being brought up. I was sexually assaulted this week and been astounded at the lack of support for women in this situation in Toronto. It’s been one of the toughest weeks of my life. :(
(Not the person you replied to btw)

> without recognizing the harm caused by the existence of problematic current residents

To be fair, this is a presumption though isn't it, whereas the matter of the harm caused by immigrants/visitors already exists within the context of this discussion.

> quite a lot of locals in any particular area ought to be shown the boot

If you have the option of booting people out, but how might that be done in the real world? It would be a violation of UN conventions would it not?

> This is why anti-immigration rhetoric tends to explicitly avoid trying to quantify the harm caused by immigrants

This seems a bit presumptuous as well. Speaking for myself, I hold the exact opposite view, what bothers me is a lack of quantification of the full effects of immigration. In my experience, anything that is quantified by governments or advocates is heavily slanted towards a pro-immigration conclusion.

> Most immigrants tend to work harder, be more educated, do less crime, etc, etc...

Indeed they do. As a result, if you live in a laid back country where people typically have a certain balance between leisure and work, and you have high immigration from cultures that optimize more towards the work end of the spectrum, it could have significant negative impacts on your quality of life and ability to afford your prior standard of living.

> If you tell me that it is morally wrong to let newcomers displace existing residents, I will point out that our society thinks it's perfectly reasonable for internal migrants to displace locals, when it comes to things like housing... Odd, that.

Again, it's presumptuous to assume that an individual holds the same belief as overall society, if overall society even holds that belief (how would we even know such a thing with any certainty?). There is certainly widespread negative sentiment of internal migrants displacing locals throughout the world, and I'd wager the people who hold this belief would also tend to be the ones who are most opposed to immigration, if so it would actually be logically consistent, so not really that odd after all. But once again, we have no way of knowing that with any certainty, as long as we continue to refuse to seriously study such things. If one looks closely, you might notice that all such arguments, on both sides, are largely based on people's imaginations, not facts.
> I continue to live, step over people on my way to work, where I sit and help contribute to climate change, feel the guilt of all of it and wanting to change it but without knowing how.

Sorry for being harsh, but please grow up and stop letting other people manipulate you by making you feel guilty about climate, your relative wealth and other things. Focus on making your own life better, leave the current climate change craze (yes, craze) for politics to address.
If you have studied Computer Science, you should know that the null string is quite a valid string.

Let's take strstr, which finds a matching substring needle in a haystack string.

-returns a NULL string if the needle is not in the haystack.
-returns pointer to first matching substring.

Extend strstr with VALIDITY

Understood behaviour if both are valid.

Say the haystack is INVALID...as the return value is NULL or a strict substring of haystack, should return INVALID. A poison haystack should poison dependent strings.

Say the haystack is valid but the needle is INVALID...should return NULL. A valid string never contains an INVALID string as a subsequence.
I feel like PEP557 missed an opportunity when it named data classes. The syntax is such an improvement that there is very little reason not to use them over ordinary classes for most purposes.
Yup, I leave a dead-tree version with my wife before going out solo, period. And my gear includes a PLB.

If I were doing things where I didn't expect other hikers around I would upgrade that PLB to an inReach.
No, because driving like an asshole wears roads more than driving like a grandma.

In both ICE and EV this is not by captured by millage, but is captured by energy consumed.
The was my thought earlier this morning.

Something anything is better than the total shit design we've been living with.
>> Materials can be used to purchase any skin/celebration/quip etc. Materials can be bought with gold.

This is what we thought too but theres no way to buy materials with gold. Only through Apex packs. Eg [0], [1].

[0] https://www.shacknews.com/article/109806/how-to-get-crafting...

[1] https://www.techjunkie.com/get-crafting-metals-apex-legends/
You can actually get questions wrong sometimes, but they also made the questions easier.
I’m not against free public transit. But you’re vastly mistaken about NYC. People who own cars in the city do so because public transit doesn’t serve their needs. Not because it’s too expensive.
So you invented a loophole and then said it would be trivial to game if they can use that loophole. Prisons aren’t universities, there isn’t an admissions process.
There are much more basic rights not being met across the globe before we can afford worrying about everybody having a yacht, a personal jet and close up time with Mona Lisa.
They are not living up to their public-benefit corporation status.
It's possible that the game is in color but rendered on a monochrome screen

edit: I mean, it obviously isn't
They can’t recoup the cost of roads but that doesn’t stop them from building and maintaining a ton of them. Public services don’t have to pay for themselves directly.
Of course they would. Prisons inmates are not isolated from information.
I would gladly pay a large high-income tax to get an amazing transit system. Something like a 5% tax on income between 100 and 200k would probably do it.
Premise 1: Legally pure mathematical objects cannot be patented.

Premise 2: Algorithms are pure mathematical objects.

Tentative conclusion 1: Algorithms cannot be patented.

Premise 3: Hahaha, lawyers don't know math but they do know billable hours.

Firm conclusion: See figure 1[1].

[1] https://www.dourish.com/goodies/see-figure-1.html
That's to insure we aren't undersupplied on food and famines caused by a bad season/trade with another country are absolutely terrible. Seems like a cheap insurance for a terrible possible outcome especially considering that any consistent oversupply from the subsidies will get weeded out due to the subsidies.

Would you prefer a shortage of food every few years?
They wouldn’t do it overtly but they’d develop some signal to dissuade undesirable inmates from wanting to go there.
I code for 4 hours a day and make more than my peers
Hey guys! I'm a programmer for a living, and I suppose many of you here are in that kind of career.

I just wrote a post on Medium on how I make a living while working only 4 hours a day, and you can too!

Living like this has allowed me to be much more entrepreneurial than most people I know, and so I decided to share it here too.

I hope you find it useful, or in the least, interesting!

[How I code for 4 hours a day and make more than my peers](https://medium.com/@marcospgp/how-i-code-for-4-hours-a-day-and-make-more-than-my-peers-d163ea38b6ba)
what do you mean? Is really simple, just go to https://trackmyaudience.xyz, in the home page there is a How it Works? section with just 3 steps that shows with gifs how it works. Let me know if I can help you with something else
Yes they are they’re just not free, it’s capped to discourage unnecessary use.
>Keep them off side walks that are for pedestrians and otherwise use bike lanes.

this makes the assumption that your city has a functional bike lane network, which is the problem in a lot of cities. If you have bike lanes, it's really easy. If you don't have bike lanes, suddenly you have this friction where there's suddenly a whole lot more people trying to use the streets but not in a car.
So... in the U.S. we have 0.5/3?
i get a large majority of software patents should not exist, but are there no software ideas that are truly patentable?

what makes a "physical" patent you consider valid different from a software patent?

I know there is some difference, it's hard to formalize though.

Say someone spent years building a compression algorithm 10x better than everyone else's in some novel way and then tried to capitalize on it. And then google just copied the idea and put this guys company out of business. Isn't that bad?
Houston hasn't had a single Republican mayor since 1982. I'm a Houston native so I know that the city has skewed liberal since long before 2008, and while I can't speak to other cities in as much detail, for Houston specifically this shift is not as recent as you're trying to portray.
My partner died 5 months ago unexpectedly. I'm not okay. I probably will never be okay again. Work is where I can forget I have a personal life for a few hours a day.
It's literally the definition. And very little qualifies. An abstraction is zero-cost if there's no runtime penalty, including if the code you'd write by hand to accomplish this goal is no better than what the compiler synthesized for you via the abstraction.

If the use of the abstraction forces your data model into a suboptimal representation, it's not zero-cost. If the compiler emits code that's worse than the straightforward manual implementation, it's not zero-cost. If the emitted code involves runtime checks that aren't necessary without the abstraction, it's not zero-cost.

For example, reference-counting is an abstraction over tracking the lifetime of your object. In some cases (where ownership isn't clear) the retain count introduced by reference counting is required and therefore not a cost, but in most cases the point at which the object ends up freed is actually predictable, and therefore the cost of all the reference counting is something that would have been avoided without the abstraction. Therefore, reference-counting as a replacement for manual alloc/free is generally not zero-cost.

Or how about iteration. Rust has an external iterator model (where you construct an iterator and run that, rather than passing a callback to the collection). In most languages an external iterator model is a non-zero cost, because you need to construct the iterator object and work with that, which is a bit of overhead compared to what the collection could do with an internal iterator model. In Rust, external iterators are frequently zero-cost because they usually get inlined. So you can write a high-level loop that includes a filter and map and the end result is very frequently just as good as (if not better than) what you'd have done if you wrote the iteration/filter/map by hand without Rust's iterator abstraction.
The 25 cert limit is pretty annoying. It also applies to Application Load Balancers (ALBs) on AWS as well.

At my company, we use Cloudflare's SSL for SaaS offering. It isn't exactly a load balancer per se, but it did allow us to have many users each with their own domains. We decided for our use case that it was better than rolling our own certificate management system for a couple thousand certs and figuring out how to hot load them onto web servers. https://developers.cloudflare.com/ssl/ssl-for-saas/
No way is that a healthy relationship. I would not stay in it based on your description. Sounds like hell.

You do have reason to have hope since you are smart enough to plan how to move on from existing work etc. Perhaps explore how to get out of your current hell hole and into a better life?
Fixed.

It now reads: "We may disclose personal information to:
third parties, including agents or sub-contractors, who assist us in sending direct marketing about our new products and features"

What I meant about legal expertise is that we don't want to be in violation of our privacy policy if we decide to use tools to understand our users better, or if we decide to email users about new products and features. Which is why I left some room in the privacy policy to enable such features.
>if I don’t think there should be nations.

I’m saying it takes an absolutely unbelievable amount of bourgeoisie privilege to think this. It’s an idea that’s so naive it’s not even worth engaging on the merits, which is why I pointed out that people in certain social and political groups make utopian platitudes like this as a mechanism to signal how elite they are. Kind of like how people pretend to like “modern art” in order to look “cultured”.
You're placing a lot of blame on your SO. Is it possible that she could get a job that carries more financial weight or be convinced to move to a lower COL area? If not is there a reason why you can't or won't leave her?
Ask Larry Page if he is fervently opposed to software patents.

https://patents.google.com/patent/US6285999B1/en
Python probably should've just used attrs directly, like it does with setuptools, rather than making a whole new package.
I grew up in Canada, have family there I visit regularly and live in America. The tax rate in California top marginal is higher than Ontario and yet one includes healthcare. You don’t think you can spent 50% of your marginal income on taxes in California? I think with the state taxes no longer deductible it’s closer to 55%. I’ve only ever had great interactions with OHIP.
Isn't Facebook starting a communication product called Thread?
https://www.amazon.com/dp/1558604960
this is a perfectly reputable journal that’s the oldest in its field. It wasn’t on Beall’s list or anything.

Preprints are fine in general. Bioarxiv exists, but isn’t the dominant force that arxiv is.
Documents are stored in the DB in Markdown, other Image uploads etc go to S3
For Dunkirk, I believe the shops, restaurants,... now pay more tax to sustain the free transports. It’s better than taxing individuals because everybody wins: residents have more money to spend, shops pay more taxes but they now have more customers who are now richer.
Yes, I'm not disputing what a meal is going to cost, "major" city or not. For instance, I had a sandwich, drink, and a cookie at a non-chain casual-not-extremely-fast-food place, and it was about $16 with tip. If I get something cheap, where there's no tipping, it's still probably going to be near $10. On the weekend, sure, dinner for two might cost $100, never mind a large family. Might be leftovers though.

My point is that doesn't mean you average three times a typical meal price per day over a long period of time. And the reason I'm so sure is because I have the records which show I don't.

Maybe it's just laziness/time constraints. I can't possibly get up early enough every day to have a large meal, even if I could stomach it. And I only get half an hour for lunch on workdays.

My point is the relationship of averages to salient data points. Like I mentioned in my other post, it seems like I'm always going 40-60 mph, but my trip computer says my average is a lot less, and the average is very consistent no matter what kind of driving I seem to have been doing. Or, another example is time estimates, where short tasks are consistently underestimated, because it's human nature to ignore short delays/overhead.
I have written a fair amount of C++ template metaprogramming and policy based libraries. One library I wrote, in particular, was a templated generic matching engine primarily used in the self-clearing of trades. Through template policies, it could be configured to do one-to-one, on-to-many, many-to-many matching based upon template args, for example. I also did a bit of SFINAE in writing a home-grown ORM lib. I haven't really written any libs using tag dispatching, but I've certainly used my fair share (looking at you, Boost MultiIndex).

You don't usually see these sorts of types wrapped for Java or .Net, and if they are, you usually have some sort of proxy in between to hide the templates.
> That distinction would make the blackout malware one of only three pieces of code ever spotted in the wild aimed at not just disrupting physical equipment but destroying it, as Stuxnet did in Iran in 2009 and 2010 and the malware Triton was designed to do in a Saudi Arabian oil refinery in 2017.

There was a documented CIA malware operation in 1982 that blew up Soviet gas pipelines. https://www.telegraph.co.uk/news/worldnews/northamerica/usa/...
That, and I was trying to read while on a train, so my attention wasn't fully on the task at hand.
X got the drugs from somewhere. At some point, someone paid someone to get the drug. This enables Y.

> if X would prefer to buy from a legal seller but none is available

If I want to buy a nuke, but one is not available from a legal seller, does that mean I am not responsible for paying an unscrupulous seller to furnish that for me?

> Also, you can get locked up for smoking weed that you grew yourself and had no intention of selling. What of that?

Where did you get the weed plant? Last time I checked, weed doesn't magically sprout in your hydroponic set up (and I'd know).
Several flavours of BSD provide header-only libraries for linked lists and search trees as part of their libc in sys/queue.h and sys/tree.h, which are remarkably nice and easy to use. newlib libc provides these, and macOS used to provide them in /usr/include (now they're only in the kernel headers - but they're header-only and self-contained so they're easy to add to any project).

sys/queue.h provides four different linked list implementations: standard singly-linked lists, standard doubly-linked lists, a singly-linked list with a tail pointer (for fast tail insertion) and a doubly-linked list without a head pointer. All come complete with

sys/tree.h provides two types of balanced search trees: splay trees and red-black trees. Both provide ordered dictionaries

Both libraries make quite extensive use of macros, but they are quite reasonably implemented and documented via man-page. I've successfully used them a few times. Shame that, like other nice BSD innovations (e.g. strlcpy/strlcat) they haven't made it into other libcs.
Mainly in tourist areas. Yosemite valley has feee shuttles too.
I’m sure many (even those who are philosophically opposed to patents) do. It’s an unfortunate fact that things that are bad aren’t necessarily unprofitable. Which is why we need to take the option to get software patents off the table, the market isn’t going to do this on its own.
Open Source and Open Data
Vivadoc Launch - Code Commenting Accountability Github App
Not a finance person, but this sounds like good news for Cloudflare then. I'm sure they'd prefer to avoid the type of attention WeWork is getting (WeWork's roadshow reportedly begins Monday).