skysight-inc/HackerNews huggingface dataset:
> My key issue when working from home is staying focused and avoiding distractions. Still haven't found a good solution (I only end up using website blockers a few times before my hedonistic side takes over and just stops using them).

> I can be very productive and effective when I'm able to stay concentrated for extended periods of time, but it's tough. I disliked working in an open-ish office, but knowing people could see my screen often pressured me into being productive.

- - -

As having been able to work a lot from home over the last few years, I recognize this too well.

What works for me is time boxing: Set the alarm on 25 minutes, and don't allow yourself to do anything than work towards the current task at hand before the alarm rings. After that, you're free to check email/social media etc, until you set the alarm for another 25 minutes.

Works wonders for me. Just have to remember to actually do this, since after some time I use to get over the problems and don't need the time boxing ... but then I need to remember to start using it again when starting to backslide.
It's worth noting that using adblockers and similar gizmos will significantly limit the amount of data these companies capture about you, and will therefore drastically reduce the relevance of what they show you.

However, the overwhelming majority of Internet users don't use blockers, and are tracked wherever they go. Not just on the Internet, but in many places in real life too.
Everything used to be just an HTML5 canvas, but since Automattic made a canvas renderer in Node I was able to use that:

https://github.com/Automattic/node-canvas
That's a nice hack, but you're violating what many people consider a tenet of writing good code. I don't consider that an argument in favor of negative zero and all the baggage of IEEE 754.
Who defines what "terrorist content" is? Maybe if the incumbent party is getting "terrorised" in the polls in a run-up to an election, their challengers may suddenly find themselves guilty of producing "terrorist" content? I can definitely see something like that happening.
Python and Django on Heroku
These things come and go. One could have been just as wrong to focus on Silverlight, OpenSolaris, SmallTalk, etc, etc, etc, or even your own company's ABI....

And is it really wrong to spend a couple of years becoming an expert Plan 9 user just because it doesn't take over the world? I still think it's all (mostly) time well spent.
> Anyone who's believed that the key to sustainable futures is simply swapping out ICE for electric motors simply is being wishful at best, willfully difficult at worse.

Hopefully people aren't literally thinking that, considering that cars are only one piece of the carbon problem. It's not even the biggest piece.
Some people are really attached to their gas stoves. I have seen this setup in western Massachusettes where gas-lines are not available.
The fact that a single person couldn't possibly fully understand a complex system is all the more reason to get more eyes on it. Besides, security is not the same as privacy, There's a huge difference between spotting where a network connection is being created, what data is sent and where to vs completely understanding an entire code base and spotting cleverly obfuscated code or low level bugs.

With closed source, only employees get to see the code, their goals align with the company. Open source, anyone can see it and raise stink about things they don't like on behalf of all users. It only takes 1 person for all users to get the benefits.

Granted, open source doesn't prevent all privacy issues, MS still does telemetry in OSS projects, sometimes not even allowing to opt-out, and they just ignore the countless complaints, and enough people still use it. Such is the state of the world I guess. But imagine one day MS decides to say they're no longer collecting telemetry but they've actually put in some cleaver code that looks like it does one thing but actually sends telemetry data. Getting caught doing that would be a way bigger PR issue that would, hopefully, cause far more users to completely stop trusting them, even if all their code was open source. I don't expect companies that want to stay in business for long would attempt such a thing.
I agree, and as a person who used to work from home and is now going in again, it is hard to adjust and I find my self-questioning the merits of physical offices.

I think there is a big difference between working from home and spending lots of time alone vs being in a place where you don't have any friends physically around for 100s of miles. I tried that for the last 5 years, wouldn't recommend it.
Busybodies who call the cops when they see children without a nearby supervising adult?
New algo with dramatic speedup for floating point to ascii conversions
Where do Python developers hang out online?
>hopefully never have to commute ever again

Yes! Honestly, my commute (probably 20 mins average) was laughable compared to anyone who works in the city. But even after good work days, getting stuck in traffic with other tired people who were driving poorly would absolutely kill my mood for the evening. I could leave work feeling energized and be absolutely dead by the time I got home.

Not to mention that an extra 40 mins every day is huge for anyone who struggles to find time to exercise. For me that means I'm getting a 5-mile run in for "free" everyday and not feeling stressed out about it.
> SO many Android apps require the google play services

It depends on definition of 'require'. Almost all apps 'require' it in app manifest file. But very many of them actually works perfectly fine with an absense of Google Play Services on device.
I dunno. There's a lot to be said for squeezing as much as you can out of whatever technology you currently possess. The current iteration of sequencing will surely be looked back on as woefully inadequate, but we're learning a ton with it now.
Not OP, but Charles Proxy came to mind: https://www.charlesproxy.com/documentation/ios/

I think it's come up here a few times, with various anecdotes about surfacing badly behaving apps.
This is one area where self hosted solidly wins over anything service oriented: you are in control to the point that you, and not some company somewhere can make the call on when a product is no longer viable. The decoupling that we had with licensed software that you run on infrastructure that you control is pretty close to ideal for the customer. You give the provider of the software a one time payment and after that it literally is your problem. At the same time that is what enabled SaaS, companies do not like it when they have one-shot income over something that might generate recurring revenues, and end-users do not want to have to deal with the hassle of installing, maintaining, backing up, keeping secure and updating all this software.

Even so, every time I sign up for some SaaS component I am very much aware that I'm giving up something precious in terms of control, and every time I read an announcement like this one (or the Inbox one the other day), I'm happy that we do our best to use as little services by outsiders as possible.
"Show HN" is for something you've made. Since this site has been posted many times before, I'm assuming that's not the case and have taken "Show HN" out of the title above. Please read the rules: https://news.ycombinator.com/showhn.html.
If a lawyer were to consistently lose cases as a result of not maintaining their knowledge of the law, they would not be disbarred (they would just lose clients).

If a lawyer were to consistently act illegally as a result of not keeping up with their knowledge of the law, they definitely would eventually be disbarred.
The wealth of a country is a question of what resources it has, public and private, not how they are distributed. Saying that "everyone" is broke misses the point that it's inequality that is getting worse.
BRICS Member States Agrees on Principle to Do Research in Blockchain
Why not? Determining how we measure the health of our economy, and implicitly, what we want to optimize for, is a political process, not simply an objective, scientific one.
Can someone explain why it's a big deal they are using an x86 chip? It seems ARM is the standard in the mobile world, but I'm not sure what the motivations might have been for the change or if this has drawbacks that make it so surprising.
I haven't read his book, so I can't speak to his arguments, but I did want to say that I don't think that doing so puts us exactly where we were before OOP.

Classes can still be parameterized in a way that modules in procedural languages can't, which opens up all sorts of flexibility that wasn't available, or at least was exceedingly awkward to accomplish, in non-OO procedural languages. For example, you're going to want some sort of post-procedural language if you want to use dependency inversion.
Interesting is also very different for a kid. Kids get interested in bugs, the woods, forts, climbing on trees.
This is really good advice. With all the different places you can play the same note on guitar, it makes it a little more difficult to visualize. The one note to one key ratio can help to make things like chord structures and inversions make a lot more sense.
Race in fact does play a big factor in health disparities. For example, African Americans are at much higher risk for heart health related issues. And when heart disease is the number 1 killer of people of all races.. well that just doesn't bode well for the life expectancy of AA.

And it's not just because minority populations have worse access to healthcare. There are in fact genetic components that predispose different races to different diseases.

Japanese people, Glaucoma.
AA, heart disease.
White people, Celiac.

Basically there's multiple components: Race, Healthcare access, Poverty, Education, Local Cultural proclivities for: diet, exercise, etc.

https://jasn.asnjournals.org/content/26/2/247.full
There was an article about loneliness a few days ago, it’s not related to remote work, you can be lonely and working at an office and living in a city for years, I think it depends on the persons social skills, programmers are introverted and they will feel lonely if they don’t work on their relationships.
Right. I know, and I run my device this way. But my point was just installing Lineage by itself doesn't free you from Google's clutches if you install GApps anyway.
Yeah, a false story can cause such harassment, but that's not unique it conspiracy stories. An actual true fact could cause harassment as well (e.g. people attacking muslims after 9/11, because the perpetrators where muslims, and so on).

I'd say the problem lies more with people that find it acceptable to harass others, whether their actions are based on a true story or a hoax.
Re: water resistance – Sony is pretty good there too, but last time I plunged my phone, the headphone jack itself was acting up until it had dried out. I guess there's no way around that.

Edit: Oh, and when I broke my older model with saltwater, they replaced it. Twice.
My name is Justin Weiss – this is why I joined Aha!
In addition to the animation, I liked the "immersive" feel of the main pages. This effect seems to be created by allowing the navigation elements to "frame" the entire screen and then placing a single piece of content as the focal point in the center of the screen.

Certainly some interesting UI / UX takeaways here.
microG is indeed very cool. (though some apps stopped working with it in the past couple of months).
I think that for me, one of the most interesting distinctions with such a visual, design-forward experience is the line between what's possible with WebGL animation and what's really just high-production quality video playing in the background. Where most of us developers get stuck approaching this is that we don't have the video assets and design language established, so we see it as just a bunch of tools that you could theoretically put together to do... something arbitrary, and in the future.

Whereas, if a design lead came to you with a strong design/brand and video content, it's really nice to know that the tools exist to make such a thing possible.

You don't have to go crazy on the transitions and scroll jacking, either. Subtle use of these tools can produce humbling results.
As an American, I consider a "right" to be something owed to you by other people. The "Bill of Rights" is "the Bill of things the government owes you". So, when I say "Healthcare is a right" I mean that "healthcare is something that the government owes to its people".

The debate is unsettled in the United States, correct. We have one party that actively believes that letting people who would otherwise not die is okay. In fact, some people in this party believe that letting people die who would otherwise not die is a moral good.

There are other unsettled debates in the United States. Climate change is an example. So is the evolution. A debate being "unsettled" doesn't tell you much about the debate, but in the context of every other country having settled on the issue, it may tell us that whoever professes to believe the opposite isn't acting in good faith.
Truthiness!

Although this is a case where idiomatic python is different from idiomatic js.

In js:

// same:
!! "" // false
!! 0 // false
!! 1 // true
!! null // false

// different:
!! {} // true
!! [] // true

while in python:

# same:
not not "" # False
not not 0 # False
not not 1 # True
not not None # False

# different:
not not {} # False
not not [] # False
not not tuple() # False
Sounds more like the author had psychological problems than problems specific to remote work.

I don't travel much, but I woudln't stop working remote for all the money in the world. Working when and from where I want is a huge chunk of freedom.

Don't throw you lifetime away.
NET Memory Poster [pdf]
This occurred with the JWARS strategic simulation software, with 3 teams in 3 languages. The result of that, was that the dynamic language team (Smalltalk) soundly trashed the C++ and the other project.
They could if it were explained to them. I doubt they could figure out a more complex sort of algorithm if they were given the artifact with no explanation. Doubly so if the algorithm involved things like calculus and modern number theory.

We do not have aliens or time travelers to walk us through genomes and fill in the missing pieces of our understanding.
My argument is that not having children en masse as a group goes against biology. It's happening in a lot of places too.

https://www.businessinsider.com/do-it-for-denmark-ad-campaig...

It's not shaming to point out a thing is happening or that it a thing is biologically necessary to further the human race. You're welcome to call it anything you want, but there's a lot of "shaming" that's gone in the other direction as well. I've watched it my entire life.

Desired home locations are just a side effect.
I handn't heard of Mary Meeker before. The word legendary, naturally, caught my eye. For a quick introduction to who we're talking about, here's [0] one of the videos findable by following links in the article. It's her giving a quick (33mn) glance over her own report on 2018 internet trends.

[0] https://www.youtube.com/watch?v=HdjcdZqODoE
AI Is Writing 20,000 Lines of Ad Copy per Second
While I would like to see chicago spend more in public transit dollars and improve overall safety, this is a ridiculous representation of what it’s like to use the El. I commuted via el exclusively for 6 years, and didn’t even own a car for 5, and I never saw or knew someone who saw what you’re describing.

If you want to let your life be controlled by the worst comment section on the local news site that’s fine, but don’t waste our time with your nonsense.
Elvie – The world’s first silent, wearable breast pump
I've currently set 20 to be the minimum number of submissions required. Lowering that limit would only result in random recommendations. Wouldn't it be hard for even a human to properly tell what someone might be interested in by looking at just 4-5 submissions they've made?
Their product is privacy until it isn't. As long as we only have dominant platforms dominated by huge companies we are at risk. I hope there will something Linux for phones that is a real alternative.
People who want to go to Thailand are ignorant — it’s a red flag you can use to spot naive people. Thailand sucks. It’s filled with crime and people there are very petty. Usually it takes Americans several years of living there to realize this. Anyway, I also think it’s dumb when people attribute their happiness to one thing or another. A featured tweet said that “crafting things with my hands is key to my happiness.” That’s so sad to read because as long as you are searching for specific remedies to unhappiness, and therefore as long as you are attributing progress to one arbitrary construct like “crafting” with your “hands,” you are unhappy. People who say they found happiness in X are always actually still in the middle of massive unhappiness. Their special activity almost always lapses after a while.
So in your opinion APFS ins't a failure that barely worked for about half a year after it's public release ?

Caused problems for almost every software where a patch was needed by the devs (namely docker, sure you could find more examples).

I actually had to reformat my drive because Disk Util.app on a APFS formatted drive could not handle bootcamp correctly on release and it foobared my entire drive.

To their credit they get it right when you give them some months and a userbase of millions of people. I simply wish they did all that before they actually publicly release their latest botch and enable it by default on every device.
I was under the impression that x86 is not energy-efficient enough to be used on a phone. But I guess that applies to the modern variant of x86 with a quite bloated instruction set. Who knows if this version of x86 has a more restricted instruction set.
Obvious disclaimer that I don't agree with their logic, but that part does bear some legitimacy.

For example, read about the various Lebanese wars, and take note of the Sabra and Shatile and Qana massacres. You also have to understand that Since the US supplies almost all the arms to the IDF, the two are synonymous in their eyes.
In the works!

Each answer will have a couple action options: continue playing, move to a different time in the video, open an external link, or ask for more info.
Intel is obviously going to use the x86 core they own so they don't have to pay license fees for embedded ARM cores
How many languages have syntax highlighting?

I noticed Javascript and Python do, but I wasn't getting anything for others.

It works great, but watch out for those public pages. It's wide open to spam presently.

It's nice and no frills, though.
looks like av.com of years ago.

main interface is horrible, not gonna default to "lite" just to use a thing.
ISIL was more created by the US occupation of Iraq and our subsequent disbanding and forced unemployment of the Sunni dominated military, a misguided attempt at a clean slate by the Bush adminstration's incompetence. This gave a large population of people with military training and easy access to weapons a lot of idle time and nothing to do but stew under occupation, add the historic animosity between the new government led by Shiites was a recipe for unrest.

Your Arab Spring argument is nonsense - ISIL was around in various names before the Arab Spring. A simple look at the calendar for the events shows this.
Flip the script. The landscape of most modern math really does amount to just a drunken homosexual orgy.
I don't know what to tell you. You are saying the opposite of what the article says and not offering me any reason to take your word over the article.
This should be the default instead of that other mess that looks like the Digg landing page.
First: congratulations, this is very well done.

Second: I don't like seeing JavaScript code without semicolons. Maybe I am old, but it makes me nervous.
And to add to that comment, so much of modern life is due to that. In the problem of Theodicy, I blame the drunken sex glutton, not nature.
>whereas the measure given in the article shows that the official unemployment rate for men 25-55 is just 1/3 of the "true" unemployment rate that includes disaffected workers. This is significant.

Using that as the "true" unemployment rate is, frankly, bullshit. The number they're citing is the OECD "employment rate"[0][1], defined as the employed share divided by the total population in that demographic. Thus it includes the disabled, stay-at-home-parents, the leisure class, those enrolled in education, and anyone else who is not working but has no desire to do so. The decline is almost entirely driven by the reduction in labor force participation rate from 97+% in that demographic in the 1960s to 88.8% today.[2] Is it unreasonable to expect males may on average voluntarily spend 3 years outside the labor force during their prime years?

If you want to count discouraged workers, use U4 — which currently stands at 4.1% vs. the U3 at 3.9%.[3] (U3 is 3.0% for the demographic in question.[4]) U6, which adds all other marginally attached workers and those employed only part-time who'd like to be full-time, stands at 7.4%.

If your concern is falling LFPR, say so. If your concern is discouraged workers, use U4/U6. But don't change the denominator on the unemployment rate from the labor force to the whole population and act like it's some huge hidden increase the authorities have been concealing from us.

[0] https://data.oecd.org/emp/employment-rate.htm

[1] https://fred.stlouisfed.org/series/LREM25MAUSA156S

[2] https://fred.stlouisfed.org/series/LRAC25MAUSM156S

[3] https://www.bls.gov/news.release/empsit.t15.htm

[4] https://fred.stlouisfed.org/series/LNU04000061
I would recommend you take a visit to the tesla motors subreddit.
Reminds me of this OneLang HN post from several months ago - https://news.ycombinator.com/item?id=16415051

It's an IDE that lets you code simultaneously in several different languages
https://ide.onelang.io/
There's not much difference in a corporatist state, where a heck of a lot of the wealth is concentrated in a few private corporations and interests...

That's the same whether it's the USA or some Latin American country with 5 wealthy families enjoying politicians in their pockets.

"What's good for the country is good for General Motors"-style...
> Yes, but this idea of "right" and insulation or exemption from problems is derived from a protestant belief system which is a major part of American culture.

Yes, who could forget that famous sermon by Luther? I don't know how you figure.
That's an easy sentiment to come away with from every article in the series except the very last.

The final one does offer (imo) a pretty clean solution to the problem he's been exploring, which boils down to viewing the rules of the game as the class definitions and using the things in the game world as data to be plugged in to the rules, rather than the other way around.
Don’t put words in my mouth.
I haven't worked remotely but I have travelled solo a fair amount and his points about loneliness resonated with me. However, I don't think everyone has to stay traveling if they are a remote worker. As he mentions it takes time to build community and relationships, but for me that is a reason to go remote. I want to live stably in another city where I feel I will integrate better with the people then the city my office is currently located. I don't want to switch apartments every month or live out of a backpack.
If by 'to do much with it' you mean asking the weather by voice, then yes. Otherwise, F-Droid provides open-source alternatives for many apps, and then many apps from Google Play Market actually work fine without Google Play Services.
The X is actually usable with one hand for me without those features. But the keyboard alignment is very nice and a single hand motion away so why not use it? No phone is going to fit everyone’s hands, and making it 5s size means you miss out on the X’s big screen.