skysight-inc/HackerNews huggingface dataset:
There are a lot of "hacks" in this thread (put your phone in grayscale, put variable reward apps in a folder, turn off fingerprint sensor) but in my experience the mindset is by far the most important part.

What's worked for me (and the article talks about this too) is viewing my phone as a tool with a limited set of functionality. For me, that functionality is: calls, texts, Google maps, Spotify, Audible, podcasts, Uber, and a camera.

That's it, no email (technically have the ability to send an email if i need to, but no notifications and no checking) and no random internet browsing and twitter etc consumption. There are some blocking apps that might help with this, but the biggest thing is the attitude. Twitter in line at the grocery store is no longer what my phone is for. Not that reading tabloid headlines is any better, but the main point is stretching out your focus muscles, getting rid of the urge to immediately grab your phone anytime there's a lull or hint of boredom in your life.

Overall, it's nice. Almost like being back in the 90's pre smart phone but also with a super powerful computer that can play any song you want/give you directions to anywhere you need to go.
Nope that's not my claim. Try reading what I wrote.
Pst, Python is Dutch. Not retracting from your point though, it was built in English and found adoption in SV.
I recently interviewed at a big tech company (phone interview). I spent quite some time practicing on leetcode (completed at least 150 problems). During the interview, it took me a few minutes of thinking before completing the assignments with what I think was the expected solution. We discussed the complexity and a few possible variations. The interview sounded satisfied and I really had the feeling that I had nailed these assignments.

I wasn't rejected but I've been asked to retake a phone interview. Apparently, the interviewer had very good feelings about me, but found that I was "out of practice" as far as coding goes.

I wonder if my age is an issue (40+) or if they have a really high level of expectation. Are most other candidates super fast at solving these kinds of problems. I'm a bit disappointed because I'm not sure that I've got much room for improvement at that stage.
> He and Apple was following the law. If Europe was so angry about Ireland's tax laws they should have stopped it from taking effect in the beginning.

Ireland and Apple weren't following the law, that's the whole point of this.
> complaining that the quality of their education is suffering due to a large portion of the class being utterly not qualified to be there, dragging everyone else down

I'm not sure why those students are complaining...

The wealthy foreign students aren't participating in class much, which effectively makes the class size smaller. They're also subsidizing the degrees of all the Americans. And a lot of them end up going back home after graduating, so they're not even competing in the same labor pool.
That's been my experience as well. In addition, people are generally pretty honest about where they're at, skill-wise.

That said, I have seen several people who were open about lacking the basic requirements for a position get hired anyway. So, I wouldn't assume that seeing someone incompetent in a position means they lied to get there.
> Sharing a link ... before others think this title is brazen well-poisoning.

Yeah, HN does love a good bit of outrage about "title is clickbait!!!"

Edit: Yep, two comments down someone is outraged about how the title is clickbait. Oh well.
>i find it rewarding to see a bunch of new notifications at once

My wife wonders why I scan all my groceries at the store and then enter my loyalty card instead of doing it up-front as the system asks for. It's because if I see the price read $130 and then I enter the card and it drops to $110, it feels like I came out ahead. Even though it's going to be the same number.
Looks very cool, but your 10px font-size on the site is punishing.
Does anyone have the bull case counter to this? Similar to aresant I don't mean to belittle WeWork's achievement but these facts, alongside the headlines from CEO claiming that: "Our valuation and size today are much more based on our energy and spirituality than it is on a multiple of revenue."[0] it's easy to be skeptical. Again - would be great to hear the optimist's take on this, if anyone has it.

0: https://www.axios.com/wework-ceo-valuation-based-on-energy-a...
Choose the "color tint" color filter, set it to full-strength red, and you have a really good Night Mode as well, if you use your phone/tablet for reading in bed.
http://mrmoneymustache.com/
For this problem, we explicitly say no in the description.
Yeah this is common syndrome. An experienced software developer might sense something off in the question, and try to dig into what the actual problem is and find the solution for that. After all, the job of a developer is to solve problems.

E.g. a customer asks - can you make the button so you have to click it multiple times before it reacts? The less experienced (or more cynical) developer say sure, I'm on it. The more experienced developer (annoyingly) ask "what do you really want to achieve"?
Paperclips was a generalization. It could happen with any metal object left on the ground.

> if it does go on to scratch floors then just return it, I guess

It would be great if it were that simple, but scratching the floors would cost $1,500+ of damage and force me to leave my house for at least two days.

Either the robot has to be smart enough to avoid dragging objects around with it, or I can't use it. That's why I asked if maybe yours was a newer model that was smart about it.
Facebook’s harm comes from wasting your time and putting you in an echo chamber of agreeable people and agreeable thoughts.

They can make it all opt-in fairly easily as a requirement for using certain features. People will blindly click and continue like normal.
> then had a bug which torched machines if they ran any npm command under sudo. (which you shouldn't do anyway, but see point 2)

This was the famous "rm -Rf /" bug.

> put hashtags in the announcements with a distinct tone of blame towards the end users.

What are you referring to?
> The reason English has become the lingua franca for businesses around the world is evidently because the USA became a superpower

No. It was because of the globe-spanning, imperialist behemoth that was the British Empire whose scale and reach at its peak the USA has not yet matched. The empire really waned with the baby boomer generation, so it was not too not so long ago and certainly within living memory.

America's cultural hegemony with Hollywood (and pop music) came much later and built on it.
Every time I read this sort of thing on HN it brings on a wave of depression.

I love software, but I hate the modern software industry.
Under Neoliberalism, You Can Be Your Own Tyrannical Boss
Beyond fizzbuzz, whiteboard coding is rough. Better to put someone in front of an actual computer. Space is constrained, hard to make corrections, some people (such as myself) have crappy handwriting...
The key thing is to break the cycle where Facebook (or other attention generating machines) is the personal personal equivalent of O365 or GSuite at home. Never, ever, never use the app and you've solved 80% of your problem, because you don't have this external force trying to corrupt your decisionmaking.

Not only will you not be dealing with their stalking draining your battery, but you'll get rid of the FOMO thing. Visit the site every couple of days for the events or whatever other excuse keeps you on there. You'll figure out that you're missing nothing, although Facebook in particular will get increasingly desperate and try to hook you in via bullshit emails, etc.

Once you get bad/abusive actors away from you, you'll find that your phone has robust notification and other mechanisms to help you get productive notifications.
On the contrary. Most of the "revenue neutral" claims I've heard are Americans making a politically-motivated claim to reduce libertarian/conservative opposition. Actual concrete proposals always require taxation - see e.g. the Swiss proposal (voted down in a referendum because of the taxation requirements) and this [1] overview in the Economist of the prospects of adoption in other countries.

Generally, if I see a claim that a proposal for UBI is revenue neutral, I assume they're either a) left-wing Americans trying to sneak welfare hikes by right-wing Americans, or b) right-wing Americans trying to sneak a drop in net income transfer to the poor past left-wing Americans.

[1] https://www.economist.com/blogs/economist-explains/2016/06/e...
Well for one thing it's much easier for an automated system to detect pornography.
Wow, you’re right! Thanks for that, learned somehow today.
That seems like a fairly arrogant response on your part - it's obvious that an interview is meant to gauge your technical capabilities/knowledge. Even if something is trivialized, the ability to solve certain types of problems can translate to other problem domains where you have to use the same core skills to solve other problems - parsing a file does not seem like an other worldly type of skill (it could even be an unstructured/loosely structured text file for example).

I think to some degree, a suspension of disbelief is reasonable for an interview, and it's not worthwhile to get tunnel vision on a particular problem asked. It's ok to point out that something is trivial with a particular widely used library or whatever, but if it is asked to implement something via first principles or whatever, it is a perfectly reasonable expectation to just do it for interview purposes as a simple mental exercise.
In research programming, you often spend as much or more time in data acquisition and munging than implementing core algorithms. Plus, more than in production code, the requirements change as you explore different applications and approach. And, because it's not production code, you have more opportunity to explore outputs at different stages to review function. It's effectively continual prototyping.

All of these things play to python's main strengths: huge community with connectors to every API and format, plus ability to conveniently integrate code at several levels of complexity & maturity as you prototype.
I don't spend it on anything different. I save the money.
Get a low cost smartphone! You are so often upset it takes so long on some tasks that you use it less and less... something I discovered whole last year with a 150 Euro smartphone! Nevertheless if you life is dependent on it a 2017 150 Euro smartphone from a store will also make it.
A: The talent shortage is just awful. Nobody can code.

B: How do you know?

A: They can't pass our test.

B: How do you know it works?

A: Because if they could code, they'd pass. Sometimes they pass, and even some of those can't code.

B: So nobody can pass your test.

A: That's right.

B: And even if they do, it doesn't mean they're good.

A: Yep.

B: It sounds like you've got neither recall nor precision. Don't you think the test could be wrong?

A: Nope! Everyone just sucks.
In Italy still teach it in school, and it's not the first time I've heard of mayors (beside linguistics) that have some compulsory Latin thrown in. But that depends a lot on the university.
I've tried the same with German (which I don't speak very well) but I switched it back when it kept taking me to the German language version of every site I visited.
I got one of those, and let my Chinese coworker listen to it and tell me what it was about. She got the same call, and when she called the number back (which was the Chinese Embassy in San Francisco), they got mad at her.
Have you tried setting up silent notifications for the things you actually care about, and muting the rest? E.g. I get silent notifications for my personal email, which means I'm never tempted to refresh my inbox but I'm also not interrupted.

It's important though to tightly control the notifications such that you get them only for things you actually care about. E.g., unsubscribe from any & all mailing lists you don't care about.
OpenPhone – Phone system for entrepreneurs
Reddit allows for long, threaded discussions. On SO you just have Answers, and then those limited comments below. There's no space for back-and-forth.
Higher taxes are always passed on to the consumer, businesses are greedy.
I'm in the midst of maintaining/fixing one of those and I find it a great opportunity if you A) want to learn outside your comfort zone, B) enjoy figuring out problems that aren't just technical (talking to people, design, organization), C) want to get out of a coding-grind lifestyle.

Our organizational structure isn't immutable, it just moves slowly. After about a year, my team's effort resulted in measurable improvements for both revenue and end-user experience.

If you're senior dev level and want more of a challenge that's not just throwing more code at the wall, these sorts of scenarios are something to seek out.
Hijack of Amazon’s domain service used to reroute web traffic for two hours
I am in love with this.

The home screen design is so obvious it hurts -- flip phone UX for a smartphone. "Open and dial".

What's the story with the display? Do you have an actual proof of concept where you have a black and white mode that largely decreases battery life? Is there anything special about it, or does it just play into how OLED displays are locally lit?
Everyone except USPS then. I've been kicking around the idea myself. Something like a package box with a slide down ramp, so you can't pull anything out when delivering something new.
Check this out: https://twitter.com/jasoncartwright/status/98882315371465113...
I edited the hosts file on my phone to redirect reddit to 127.0.0.1. You need root to do it, but now I can't reach Reddit at all on my phone, even on my browser. (Reddit is the worst vice for me).
I'm not selling it, and I don't follow what you're disagreeing with. Webpack can output JS bundles, but it understands dependencies between non-JS assets as well, and will process any file in the dependency graph any way you like.

As such the point of requiring a PNG into JS (or CSS, or a Vue/React component, etc) is to tell webpack there's a dependency on it. Then that image will get pulled in to the build process for entry points that need it, and not otherwise.
I believe you are correct. System Integrity Protection is likely what they meant.
Step seven - read an article like this and remove some or all of these distractions again.

Repeat until death, or until you decide to smash all your technology and go live the Unabomber lifestyle.
> This is very negative behaviour in sum, because it becomes a race to the bottom where you either forgo all tax revenue, or you dont attract large companies.

It's not just that. The race to the bottom isn't really a thing because companies cost states money. They require the state to increase the resources they spend on transit capacity and emergency services etc. The only reason states want companies is because the amount of taxes they pay exceeds the amount of expenditures they require. So there is no race to have zero taxes, the competition is only to tax companies no more than the amount of government services they consume. Which isn't especially problematic.

The real problem is that if states make special rules for large companies, it gives them an advantage over smaller companies, which destroys local businesses in favor of international ones. Then next year some other place gives the huge company a better deal and the city is devastated because the company displaced a huge chunk of the local economy and now they're leaving and taking it with them.

If states want to compete by having low taxes, great. But nobody should be getting special treatment like that.
What exactly do you mean? Context please :)
Well, the intervention is to change the pensions, surely. And the goal is to intervene before a collapse occurs rather than afterwards.

If the argument is "we don't need to change the university pension scheme because when they go bankrupt the government will bail them out", I suppose that should be made directly.
Wondering if giants like UY Scuti have planets and how big.
Pytorch 0.4 migration guide
Welcome to a job market where there are hundreds of other qualified candidates competing for the same job. This is why government officials and company spokespersons peddled nonsense about there being a shortage in tech - it was to saturate the market with so much labor that they could start doing this and eventually paying less since they can just hire someone 5% better at 75% less pay.
Been using this for my side hustle, www.ablecells.com and love it.

Pros:
- Answer, text using your 1-800 number.
- Fast
- Frequent updates
- Beautiful UI
- Simple Pricing

Cons:
- Relies on Wifi/LTE so service can be choppy in condos or office building w/out windows.
Uhhhh, that’s an awesome idea.
This might be a good place to modestly self-promote my side project app, Time Guard, that lets you block services like Facebook/Twitter/Instagram/HN by default and only unblock them for a limited span at once (much like HN's "noprocrast" feature). https://timeguard.io
Here's a video showing the discovery of 600,000 asteroids in the inner solar system - https://www.youtube.com/watch?v=2k2vkLEE4ko
Are TSB developers seriously coding live changes in production?
Love this mate - Thanks for creating and sharing something as valuable to connect people :)
To be fair, if you wanted to do a performant implementation, this is probably a more expensive implementation. The expected response is generally for you to iterate over the string and construct a count map of how many times a character appears in a string, and then iterate over the keys of that object and have at most one odd number in the values of the count map.

The interviewer probably should have probed you about performance though if their intention was to judge you on that (they're both O(n) time complexity, but split, reverse, and join are generally more intensive).
Talk Frank Abagnale gave about his life

https://youtu.be/vsMydMDi3rI
If everybody has a problem with Qt why don't we see gtk on more systems. The last time I checked you can use gtk on win/Linux/Mac it is free, and it sort of works.
Looks interesting,

* I use one namespace per env (staging, prod, etc), is this supported or must I go with the default (slightly wacky) staging and prod releases side-by-side in the same namespace?

* How are bugfix releases handled? If I pushed 1.2.0 to staging, and want to hotfix the prod release 1.1.0 with 1.1.1 (a common bugfix flow), can I promote releases from the hotfix branch?

* Is there a permission model? Does it bottom out to GitHub permissions for each env repository? E.g. can I have a smaller set of users approved to promote releases to production?
People definitely misuse PRs though, and while it's common for engineers to go "well that's their problem, I'M logically correct!", I think that's the wrong approach.

One very common thing that I've seen is opening a PR just to double-check the way the PR looks on github. Ideally they mark these PRs with "WIP" either in the title or as a tag. It's implied that those PRs aren't ready for review.

If you weren't expecting critiques of your code while you were in the middle of developing it (perhaps you have placeholder code all over the place), it could be jarring and distracting.

This goes against the purpose of PRs, but at some point you have to put engineering culture flexibility above strict letter-of-the-law guidelines.

If someone didn't pick up on this phenomenon, I'd gently inform them. There would be no need for getting upset... unless they continued doing it in spite of the commonly agreed-upon behavior of the team.
Good point. I had this problem too, but there is a setting ...somewhere, to fix it.
Doesn't sounds like the Diaspora team have any plans to implement AP, which is a shame. Here's a fairly scathing write-up on ActivityPub from a prominent Diaspora dev:
https://schub.io/blog/2018/02/01/activitypub-one-protocol-to...

Friendi.ca and Hubzilla can already interoperate with Diaspora using the Diaspora protocol. Here's a good guide to the current landscape of free code, federated social networks here, and which protocols each app supports:
https://medium.com/we-distribute/a-quick-guide-to-the-free-n...
LOL - of course it has Facebook. In the video, there's an icon for Twitter too.
Node v10.0.0 Dubnium is out today
Buying yourself time is generally considered a great use of money, and I've seen research to back that up. That might mean using a home-cleaning service or choosing to work fewer days a year, as examples. I hate cooking, so I spend some of my extra income on a meal prep service.

If you have cash beyond your rainy-day fund, you should just put it into some dumb ETFs, as Warren Buffett recommends[1]. Active investments are mostly gambling, but if you love the lifestyle involved in that gambling (as many of us entrepreneurs do) then even losing money might still lead to a fulfilling life.

You might also consider working toward saving enough that you can retire and live off the interest. People refer to this as financial independence and there are lots of communities[2] and tools to help people achieve it without inheriting wealth or betting on startups/stocks/etc.

1. https://www.fool.com/investing/2017/02/26/warren-buffett-jus...

2. https://www.reddit.com/r/financialindependence/
Give Meaning to 100B Events a Day
I've only recently learned more about the bond space including high-yield vs. investment grade, bids wanted in competition, zero-coupon analysis.

Do you know any good resources, books included, but especially sites that go beyond the theory and into the day to day lingo at a bond desk ?
"in many cases it's mismanagement and the real problem is devs/engineers don't know how to talk to management to get to them see why $badpractice is bad."

I would say that's still management incompetence. They're paying all this money for experts in the field, and they still want to disregard their opinions.
Best way to start shifting mindset that I've found, is aggressively removing things that I miss & hurt a little. Switch to a flip phone for two weeks. Uninstall Chrome frequently. No email at all.

I always cave & go back; maybe I'm on the road and I need to look up information so I turn Chrome back on. Maybe texting with the flip phone is just getting too painful. But I feel like it makes me more aware of what I'm doing.
After alimony and Social Security deductions, I have just enough money left over to get to work and back each day.

Probably not the answer you were looking for...

(Advice: Make sure your maxing out any 401k match, then dump as much as you can into a Target Retirement 20XX account. Also, don't get married. Your future self will thank you.)
It makes me sooo sad that (whoever) introduced this stupid light speed limit so we can’t visit those places. Ever. Maybe in the next reality.
I mentioned $225k because that's the baseline from what I understand. Rockstars can get $100k signing and more RSUs.

I'm very sad I'll never get that...
https://twitter.com/jasoncartwright/status/98882315371465113...
You could attach the jammer to the missile using a wire of some random length.
Ask HN: Refunding an investor?
Hi, I raised some money on a convertible debt note about a year ago. We recently pivoted and one investor asked if they could have their money back. The note has not expired. Can I give the investor back their money without refunding the others? Should I give it back? We can afford to but would rather note... Thanks
"but the problem is that unions notoriously favor the older, entrenched generations of a profession over the newcomers."

There's nothing specific about a union that does this. The union is an extension of the will of it's members.
Apparently. See https://www.readid.com/demo, https://www.flyertalk.com/forum/travel-technology/1342167-vi....

Communication uses NFC.
The overhead to transfer ten cents is the same as the overhead to transfer $1000, but your profit is going to be minuscule for facilitating the transaction.