skysight-inc/HackerNews huggingface dataset:
This problem can be solved with my favorite algorithm in the whole world, union-find [1], yaaay! :-p

It is hard to say if U/F would be more efficient for this problem. U/F can perform two `union(a, b)` and `find(a, b)` operations in O(lg n) runtime complexity, or, with some more effort (path compression), nearly constant time (a, b representing node indexes). But for this problem a first pass over all indexes would be required to build the disjoint set from the input.

I think for small inputs DFS or BFS would be more efficient, and have the plus of not needing extras storage (U/F would require a second array the same size than the input). For large arrays, probably U/F would win since the input array may encode potentially a lot of edges (say, if each index contains a number large enough) and DFS runtime complexity is O(Edges + Nodes).

Anyway, I think U/F can be really useful in the context of job interviews, there are many problems that can be reduced to connected components, after some massaging.

Here's an implementation I did a while ago [2]. Even though I love the algo, I don't really remember the details about path compression... time to refresh my memory I guess :-D

[1]: https://algs4.cs.princeton.edu/15uf/

[2]: https://gist.github.com/EmmanuelOga/bcafad14715a3f584e97
Why can't there be multiple victims? People don't just start attacking a person for fun. There's always a reason. You may not agree with me, but in my experience diversity initiatives are nowdays extremely aggressive.
I have an up to date version running on an up to date macbook pro and it crashes every time I close a tab. Pretty annoying.
> I have been using lets encrypt now for about a year for about a hundred domains, and I never had to do a manual renewal.

One data point does not make a very useful statistic, and most definitely does not make a meaningful statistic for making decisions about production systems.
https://telegra.ph/Wag-Incident-01-18
FYI, doesn't play nice with exporting/importing virtual columns. Had to switch to MySqlWorkBench.
Hmmmmm, I'm curious, are you seeing the issue described at https://github.com/sequelpro/sequelpro/issues/3325 ?
I'd like to know how TSA employees are getting by and paying the mortgage or rent, considering that most people have less than $500 in savings. People saying that they've heard of banks giving out zero-interest loans in some areas is only anecdotal.
Steve Jobs was not a programmer. He was the marketing guy. Woz was the engineer.
That's a problem for sure, but my point is that regardless is you cannot physically increasing the housing supply of _singly detached houses_ in Toronto or similar cities, regardless of policy.
You always have a perpetual license to the last version that your subscription covered. It isn't anything like Adobe's model.
I stared using Dbeaver a couple months ago, after looking around for an alternative to HeidiSQL on my Windows 10 laptop at work.

Used HeidiSQl for a long time but got fed up with issues with it freezing or crashing, especially when switching DB connections.

Dbeaver has been fantastic! Has some feautures Heidi didn't have, very stable & better looking UI. Thumbs up from me, definitely worth giving a try!
> with a spending limit...

The reason a significant portion of the US government is shut down is because they literally have no money to spend because congress hasn't raised the debt ceiling to allow the government to borrow more money. So the 'spending limit' you mention would have been $0.00 the moment the shutdown happened.

Probably a better solution is to no longer run the government with a spending deficit.
I do to. The latest Beta build does not have this issue though.
Well, I agree a Lisp or at least more Lispy interface with TeX would be much preferable. But I am dubious how anything comparable to TeX and the TeX-ecosystem would be developed at this point.
Well, that's the status quo.
Yeah, SDR is one of the reasons I wanted to learn more about DSP.

SDR, digital audio processing, digital image processing (especially compression and filtering), all of them have roots in DSP.

That looks like an interesting resource, but I really prefer written word and text-based programming languages to video lessons and flow-graph based configuration.
I realise this isn't the point of the article at all (although it is mentioned) but man, pushing a button is much better than touching a capacitive button. Forget the pain of replacing humans with buttons; when are real pushable buttons and turnable knobs coming back‽
Let's replace "developing" with "in the progress of rapid urbanization".

According to wikipedia (https://en.wikipedia.org/wiki/Urbanization#/media/File:2015_...), US is already highly urbanized but China's not.

As long as we agree that high rate of urbanization is the future, China basically has more room to grow in this aspect.
That pullback was brutal but making profits in 2018 was a good thing. We tested 2017 levels on SPY.

I'd be curious how this works with options, specifically under 45 DTE options. I wanted to sign up a while ago when you posted just haven't had time to try other tools as I have been busy.
The hate for Java has absolutely reached comical levels.
> if 2/3rds of the House & Senate are willing to vote on a spending bill.

Only if the House and Senate leaders decide to put the vote to the floor. Even 100% (less one) support is powerless if they can't vote on it.
They could have your money if you did what you were supposed to do?
Kudos to this initiative.
Digitally cloning a 1914 Delage Type S engine block
E-commerce Benchmarks for US startups 2019
Is Spotify’s Model Wiping Out Music’s Middle Class?
This would require rewriting all the existing DNA, though, to collapse all existing code for those 23 dual-coded amino acids to whichever code we decide is canonical.
I love JetBrains, ever since I discovered ReSharper when I was still active in C# some 10 years go. Now I use PyCharm, DataGrip and GoLand on a daily basis and am happy to throw my money at them.
Incredibly stupid decision to respond this way by Wag.

How bad to you have to be at PR to screw this up? It's not hard. Liability in the case of harmed pets is extremely limited, so you just pay it all and apologize profusely. There's no way the bad press will be worth saving a couple thousand maximum.

Absolute idiots.
Strong CS fundamentals is understanding all the various patterns and tricks in algorithms and data structures, and how they could be applied to problems outside of where you originally learned them. That is it, outside of actual CS research work, when applied to an actual software job. Ask any self taught person how much they need “CS fundamentals” to blow the pants of any business need for an app and they’ll tell you probably very little.

When you’re doing tools for programmers, it gets a lot more complicated. That is not most jobs.
Where did you see this statistic in the article?: "the article below that reported that less than half of Holiday 2017 Apple Watch sales were the then-current model."

The only place where they do any such split is the graph and it shows total number of units sold in 2015-2017.
As an EE who flunked his DSP graduate course,Can't recommend this book enough to grok DSP basics. And it's Free!As a good programming practice I intend to translate the codes from BASIC( pseudocode) to Python(NumPY fun).
Nice if you’re only connecting to a single instance, nightmare if you have multiple. DbVisualizer is better imho.
An Elaborate International Scheme Is Scamming Photographers
"Canalys says Apple Watch sales for the holiday quarter alone were 8 million, and nearly half of those were the new Apple Watch Series 3 — which we’ve already pegged as a game-changer."
Not one of your down-voters. I didn't get this message. My adblocking, maybe? But I respect MIT Technology Review for its solid tech journalism.
This is a pretty cool idea

Note, you still have to deal with TV ads and there is no scrubbing. I wonder if you could make your own client to this and get DVR functionality? Actually since they are just grabbing over-the-air signals, I wonder if there is a SDR project for this.
From your perspective, what is the issue with a lot of the current college graduates? I'm a college student studying computer science, and I feel like I'd be ready to start work really soon. I'm also the sort of CS student who reads Hackernews, participates in CTFs, maintains a perfect GPA, has side projects, etc.
>>We are still, in many ways, living in the world Reagan and Thatcher built—a neoliberal world of growing precarity, corporate dominance, divestment from the welfare state, and social atomization.

There has been a massive increase in social welfare spending since 1982.

The continual mischaracterizations of history by writers at media outlets like Slate is really unethical.

Also, the economy is substantially more regulated, and the government's control through omni-surveillance and legal inventions like National Security Letters, has grown by leaps and bounds.

The increasingly constrained, legalistic and centralized structure of the economy is one reason people's lives in the developed world haven't improved more since 1982.
A telling association fallacy. Unlike Zuck, I pose that Privacy is not dead. It starts to smell funny though. Of course, I am a realist: Police Officers are using Google Earth to look in the walled gardens of suspicious civilians. It is public data. So if you are already resigning to big data surveillance without reasonable suspicion, then it will only take a few decades before we all move in public under the watchful gaze of a gazillion drones. The erosion has already started with these highly funded real-name real-face social networks.

No fun being the target of surveillance without suspicion, because it increases the chance of bad things happening to you. Nearly everyone breaks the law at times: drive 3 km/h too fast to catch the green light, consume illegal drugs, feed the homeless, download from a torrent, create street art, take home a pen from work, hack a website. And the suspicion may come from following "Edward Snowden" on Twitter, or posting on HackerNews about malware, or being the Facebook nephew/schoolmate of a drug dealing suspect, or walking past a smart billboard in a Che Guevara t-shirt.

The Chinese Social Credit system pales in comparison to a society that is too afraid to use its free speech, too afraid to associate with like-minded people, and too afraid to participate in a political movement that is ahead of its time (such as the Civil Rights Movement), because an AI with the power of over 9000 cops is watching your every move outside of the bedroom (if curtains closed. and public internet cut off. and not transmitting "public is public" heat waves).

Right now, the police is tasking commercial companies to map Facebook friend connections into networks and passes this on to social workers, so they can confront particular youth if they start hanging out with non-motivated teenagers who hang on the street all day. All is meant well, but this gives me the creeps. We did not have to deal with this in the 90s, but we also hung out on the street or, god forbid, on a skateboard. Let's keep Privacy alive for a few more years, legal and regulations move slowly. Read up on FBI vs. civil rights movement 50 years ago, and ask yourself, has technology or the Justice system of the US moved faster? "Public content is public" combined with a tremendous rise in AI technology seems like a recipe for a disasterous dystopia. Or is that the plot of Demolition Man?
Free cours hacheur ppt
This makes my blood boil.
And how many are homeless and living in bad condition?
Ask HN: Do you feel like you're very busy at work?
I feel like there is a bimodal distribution where half of employees cluster around always have tons of meetings/emails/projects and half cluster around the opposite.

For my ten year career working at five companies and consulted for more, I can say I've rarely really felt busy, though some colleagues with similar roles always seemed so and said so.

I don't think it's a matter of productivity, at least for myself. By any measure my career has been stupidly successful and I've gotten many promotions/job improvements.

For reference, I work in marketing/advertising but have seen a similar dynamic across roles and verticals.

So what's your anecdote?
It sounds like you want a wrist strap for your phone.
This is mildly fascinating. Though not entirely unexpected.

A quick Google for "pet sitting dog died" turns up a number of these stories. It seems a number of them are through these dog sitting services like Wag or Rover.

Here's an interesting one I found not through a dog sitting service but just a roommate that had been asked to sit the dog while the owner was away.

https://www.reddit.com/r/AskReddit/comments/t7kv7/currently_...

It must be awful for everyone involved. I suspect it's nothing unique to dog sitting services but that it occurs with a certain (albeit low) frequency as a phenomenon but that it's showing up through dog sitting services because there is a (1) a paper trail of the transaction and (2) a stable, visible entity on which to lay the blame.

In the pre-sharing economy days this still happened. Only you vetted the sitter first and so you feel less justified blaming them because on some level you know you signed off on them. You also couldn't really go public and say "14 year old Jenny from Ashmore killed my dog" because you can't make a common enemy out of her and while people will feel for both of you, it's not actionable information for anyone.

It's fascinating what phenomenon our society is making visible through new structures made possible by technology.

It's awful for all involved to have this happen.
My previous statement seems to jive with the Wikipedia on the subject. [1]

I said Federal and judicial appointments. The Supreme Court is a judicial appointment.

Legislation has always been a 60-vote threshold to end debate in the Senate. It’s one of the cornerstones of the Senate.

I wouldn’t say Democrats are “in power” now. They took back the House and lost seats in the Senate. But the fact remains they have always needed Democratic votes to get to 60 in the Senate.

You say they should have voted it through with just 50 in the Senate. Which by the way they don’t want to do even now. I think that would have far worse long-term effects for the country, and many Democrats and Republicans alike agree.

You can obviously believe whatever you like. It’s your opinion, and I’m not trying to change it.

My simple observation was that right now, with the House and Senate that we have, with the rules and procedures that have been in place for centuries, both parties are equally capable of funding the govnernment in less than an hour if they decide they want to do it. It will only cost them ~$6b one way or the other. Either party is indisputably capable of ending the shutdown, but both as of yet have chosen not to.

[1] - https://en.m.wikipedia.org/wiki/Nuclear_option
Isn't OWASP top 10 based on impact and prevalence?
Is this project still alive? they haven't had an official release since 2016 though the commit history shows some recent but unreleased work.

That coupled with a lack of other RDBMS support has forced me to transition to other tools like DataGrip.
You're making an excuse for a woman suffering harassment, enough so that she clearly felt unwelcome at the company while acting like it's her fault for 'going too far' somehow, a claim which is entirely unsubstantiated.

Your logic is absolutely absurd. Acting like people 'don't just start attacking someone for fun' ignores the fact that people can and do face racism, sexism, transphobia and so forth. Especially when she clearly encountered transphobic comments, some of which I even saw spread here on HN.
I have to say that the problem is accountability. With this Wag incident, it appears the person selected through the platform was not the person who was caring for the pet. When I select someone to care for my pet, I know who they are, and can use my own signals to determine if they’re trustworthy and responsible. Wag doesn’t care, they’re just out to “crush it” (cost of business), and the contractor doesn’t care because it’s just another crap minimum wage job.

Stop trusting platforms and acting shocked when the trust model breaks down. They are not designed for safety or trust, but to skim as much volume as possible from transaction flow.
Nike’s auto-laced future
really enjoyable read, especially the evernote on customer journey!

I think it would benefit if you wrote a blurb about yourself at the end. I.e. your accomplishments and where you are now etc. The story would be more interesting if we knew the person behind the story!
Is it common to buy your own tools in other skilled trades (when you aren't a freelancer)?

I don't mind buying good software, but it feels weird for me to pay in order to make my employer more money. It's not like the productivity boost I get from buying Datagrip is going to get me a raise or a better job.

That said, for software I use in my personal life I can and do pay, and I think we should all be more in the habit of either buying non-trial versions (Sublime, PyCharm) or making small monthly donations (Neovim, iTerm, regex101, QMK, et al).
I'd say the danger for China is not being unable to handle a consumer bubble. As you've pointed out, they have a lot of tools.

It's their not recognizing they're creating a government supply bubble.

The real weakness of demand economies historically hasn't been their difficulty producing basic things (that they feel are necessary), but knowing when to stop producing things. Absent free market signals, there's not a lot to tell you when to put the brakes on.
Articles about ghost cities are a fascinating read - sometimes exploring un-intuitive facts, like having 50m empty homes in China, yields a surprising discovery of the underlying systems.

In this case, I think the system perfectly justifies having 50m homes empty. If you look at it another way, if San Francisco (arguably another booming localized economy) had the same initiative to build a 20% buffer for housing, it would be seen as a progressive, citizen minded effort to create affordable housing and a huge benefit to the community.

As China, I'd much rather face the problem of building empty homes (which is not really a problem?) than face the population revolting from huge spikes in cost of living due to not enough urban housing. SF is full of rich enough people to ignore the struggles of the working class - China probably isn't.

edit:
I also don't think the rise in 2nd or 3rd home purchases is an issue, it's more of a symptom of the growing divide between rich and poor, especially in China.
If you like to listen, the full audiobook is available DRM free from Downpour: https://www.downpour.com/the-first-conspiracy

It's a little cheaper at Audible, but of course hobbled by their DRM. Not worth saving a few bucks IMHO.
I was not talking about preferences -- if one actually "prefers" to do something over watching TV, then why not just do it (after all that's what a "preference" is) instead of doing the contrary and then lamenting about wasting time spent on that? -- rather about values instilled by social conditioning.

Maybe my 'value-preference' wording is the source of confusion. For maximum effect, here's a fuller list of words that comprehensively refers to what I was talking about: beliefs, ideas, theories, concepts, maxims, dictums, truths, factoids, philosophies, values, principles, ideals, standards, credos, doctrines, tenets, canons, morals, ethics, customs, traditions, psittacisms, superstitions, myths, legends, folklores, imaginations, divinations, visions, fantasies, chimeras, illusions, delusions, hallucinations, ...
I think the biggest issue with open-source projects is that we can't incentivize the creators to do the work. What I'm looking for is an easy way to "donate now" on the library.

Without this, I can't pay someone to make some minor changes. I'm left hunting for their details, and when I do connect with them over GitHub or LinkedIn, I'm at their mercy to respond, and most of the time I can't give any valued weight to my request since I'm not paying them to do the work.

When I do hear back, devs aren't always the most gracious folks, and they don't have the same priorities I do. Money can help make people more cheerful, and helps me align their priorities to my own. I've lost count of times I've gotten a snarky, "I didn't build this to do what you're asking."

There are so many great libraries out there that went stagnant. I make money off their work, but I can't pay them to make upgrades and they find the work to be boring or my request to be out of their target audience (if they even think that way).

I think if GitHub could build in some features around donations that would be great.
We built some of this functionality for FWD:Everyone, but haven't yet gotten it to a point where it's polished enough to release. One of the issues we ran into is that Gmail translates unicode characters into images, which are then difficult to resize to get them to properly match the surrounding typography.

We also didn't build this as a fully automated service, but rather as something that generates MJML that you then have to compile and embed within an HTML email. But it does let you embed all the replies to an email in a new outgoing email, which you can conceptually see here in this marketing email we sent out:

https://www.alexkrupp.com/fwdeveryone_email_blast.html
I used Blockspring back in college when it first came out for a bunch of random projects and more recently for lead lists. In the past couple months I actually hopped on a call with one of the co-founders to provide some feedback on the product. For a while it didn't seem like they were updating anything, but in the past year to 6 months they really improved a lot of the features. Pretty cool to see it work out for them, congrats!
This happened recently:

Wag! dog walker charged with animal cruelty; customers concerned about industry background checks

http://www.ktvu.com/news/wag-dog-walker-charged-with-animal-...

EDIT: and the settlement letter sent from Wag: https://www.scribd.com/document/397139013/SNews-Copie1901081...
I'm not sure anyone is asserting it enhances creativity in general, but it is certainly a catalyst for discovery of new ideas.
I hope they get a lawyer and keep us posted with updates.
You're correct in that the current terms are a result of community backlash, or at least that's how I remember it. What would you consider "fair value" for such a tool? And does that include any period of updates and enhancements?
Why do you seem to imply that "immigrants" is derogatory? I'm an immigrant. I'm not proud of being an immigrant but nor am I ashamed of it, it's just a characteristic.

Redditors moving to hackernews can be called immigrants as they behave much in the same way. They have their own culture and background which they bring with them. Of course, they may assimilate but it doesn't seem to be working too good lately.

I personally have wound up on hackernews maybe 5 years ago, but I have definitely seen a decline in discourse over the last three years or so specifically.

I generally don't interact much as I often feel like there are people far more knowledgeable on a particular topic than myself and my comments would be little more than noise. You seem to have taken a similar path with most comments being on political topics, with echoes of champagne socialism.

Fundamentally, I came here for the technology. I understand that discussions of politics are inevitable on this post in particular, yet I dread the day when the comments will be reduced to "orange man bad" as is the case on Reddit.

Perhaps, I am just afraid of progress.
How to sink your own company in 1 easy step