skysight-inc/HackerNews huggingface dataset:
I've followed Phil's site on making an operating system. Ever since having worked on PintOS in college, operating systems and their internals have fascinated me. I've tried learning more about writing operating systems via resources like the OSdev wiki, but much of its material almost seems to discourage working on an OS of any kind unless you're already sure of what you're doing. Phil's articles seems so much more accessible for someone just wanting to dip their toes in the water.
>We're trying to figure out the best way of telling users how to change their battery settings

The best way to do that is to remotely figure out on which devices the app is getting killed by sending data push notification messages and an in-app ack mechanism. And then show users an annoying popup message the next time they launch to make sure that they whitelist the app. We faced the same problem while building Flock, a team messenger and the details are outlined here.

https://hackernoon.com/notifications-in-android-are-horribly...
How does a US citizen _look_? Last I checked we were an incredibly diverse nation.
Hey, thanks for taking the time to respond. Apologies for the misunderstanding. Safe and/or 9-5 jobs are not inherently meaningless. My question was directed towards people who find their jobs to be meaningless, but these jobs also happen to be safe which makes it much harder for them to leave.
Yea, the reason most of us stay put for a bit :-/
Typically tech jobs at big IB's and hedge funds pay more than your FB's and Google's of the world, and with way more time off per year.
> IMO, that is better than money

IMO, it's not. SF developer time is hella expensive, and OSS projects can hire developers on their own, somewhere cheaper. Where a software company can help OSS cheaply and effectively is by providing support for interoperability with their own business area, and by relicensing their existing, non-core-business IP under favorable terms.
What is Biophilia?
Polaroid made a beautiful professional digital camera, with their own CCD design early on, which even had its own compressed RAW format...then they gave up :-(

http://www.digicammuseum.com/en/cameras/item/pdc-2000

https://www.digicammuseum.de/kameras/detailansicht/kamera/Ka...

http://www.digicammuseum.com/en/cameras/item/pdc-3000
Linkedin will still remain valuable in the recruiting industry. I hate it, but I've decided to keep my profile because it'll raise a red flag to potential employers when they see I'm not in it.

But as for everything else, most people are consumers. They consume content - whether it's cat photos, videos, news, etc. Linkedin offers none of that. People just go there when they need a job. So I don't see how they can increase engagement in a platform where 99% of people in the world just want to consume.
Isn't it what GPL is about? Forcing users to follow the rules of the club?
A good point.
http://legal.un.org/ilc/texts/instruments/english/convention...

"A “diplomatic agent” is the head of the mission or a member of the diplomatic staff of the
mission;"

"1.A diplomatic agent shall enjoy immunity from the criminal jurisdiction of the receiving State.
He shall also enjoy immunity from its civil and administrative jurisdiction, except in the case of:"...

Michael Kovrig was not part of a diplomatic mission to China by Canada. Therefore he is not a diplomatic agent.

This is a clear cut case. Ex-diplomats with private passports are not entitled to diplomatic immunity.
Yes, it's meaningful. I'm a community manager at @madevuk and @TechNetUK.
Yes, you can define your own template variables in the config file, for example if you include:

data:
category: "linux-server"

in your .config/chezmoi/chezmoi.yaml file, you can then use it in your templates and a .chezmoiignore file (which is also treated as a template). A .chezmoiignore file could look like:

{{ if eq .category "linux-server" -}}
.windowmanager.conf
{{ end -}}

I use this technique myself: https://github.com/twpayne/dotfiles/blob/master/.chezmoiigno...
Do you know of anywhere, where this is all explained? Like the idea of recording average timeouts by ISP?
>If we start banning Chinese phones we'll buy American ones come in instead.

Which American phones are these? The iPhone isn't made in the US, it's made by Foxconn.
PATCO was a general strike, which was illegal.

If every worker collectively decides to call in sick, would they be faced with the same retaliation?
Ask HN: How to handle getting unfairly singled out by Apple?
We've been selling a web-first product for a number of years. We have a complementary iOS app that requires a paid subscription of our web app to use. When you download the app, you just get a login screen, and it has no mention of our paid service. The app itself is basically just a "read-only" version of our web app, so it doesn't have the full functionality of our web app.

Recently, we rebuilt our iOS app from the ground up (without changing any core functionality), since the current one was very dated and didn't work correctly on newer devices (but the current version has been live on the App Store for years with no other problems). When we submitted the app, we got rejected because we didn't offer in-app purchases, which we haven't had for a number of years without a problem. Apple stated they changed their review process to be more strict about requiring in-app purchases.

The issue I have is that it feels like we been unfairly targeted. There are a multitude of apps of all sizes, from a half dozen apps in our niche to Netflix more recently, that follow the same model.

I understand pointing out counterexamples doesn't help in our case with Apple, but as a small team with limited resources, we don't have a lot of options. Our customers are starting to get mad, since the version live on the App Store is basically broken. The ironic part is that we were working on adding full functionality and possibly adding in-app purchases, but now it just feels like we're getting bullied.

Anyone else in a similar situation? We're considering just pulling out of the App Store completely.
Is there some reason they're mutually exclusive? Eating is necessary, but it can be meaningful even if the food is simple. Working in order to build your life can also be meaningful.
Nice idea. But I feel like most things people wish they knew at a younger age aren't the sort of thing you can learn by reading a line of text. Most are behavioural things that you really have to experience.

Like you can't just say "be more confident" to someone. Or "do more exercise". Or "don't go into debt". No shit.
whoops now that umm Huawei arrest is really going to hurt now.
Maybe someone could create a WASM implementation of Flash? I wonder if we could convince Adobe to open source Flash player after they finally kill it for good.
A Look into Spring Cloud Gateway
"IMHO redhat deserves its money". I agree. But the vast majority of people employ CentOS which is redhats derivative.

Oracle engineers work hard on java and deserve their money but the vast majority of people employ OpenJDK which is OracleJDKs derivative.
Well, I meant what they think a US citizen would look like. For example, if you look Asian, you might still be a US citizen but more likely they'd treat you differently.

I'm saying this as someone who is married to a Mexican and crosses the US border by car. In general the experiences have been good by the way - just not all the time.

I'm just saying that it could be influenced by the way you look.
I use prefix qq for my commands because:

1. It is easy to discover all customizations
via autocomplete
2. It is not going to clash
with existing functionality

# (Sort stuff by size, latest down, in a directory)
alias qqsize="ls -lSrh"
alias qqdate="ls -lrt"

# First 100 of largest files/directories in a folder
function qqlargest_files_100(){
du -a ./ | sort -n -r | head -n 100
}

# Archivate item
qq-tar-gz-it () {
tar -zcvf $2 $1;
}

# Convert video to a gif
function qq_convert_video_to_gif(){
ffmpeg -i $1 $1.gif
}

# Push to GitHub

function togithub__master(){
git add -A;
git commit -m $1;
git push github master;
}

# Symlink config file
# 1. Move dotfile to a config directory.
# 2. Strip the dot
# 3. Symlink that file back to its place
function qqsymlink_config_file(){
directory_for_dot_file=$2
name_of_dot_file=$1
basename_of_dotfile=$(basename $name_of_dot_file)
echo "Basename of dotfile: $basename_of_dotfile"
dot_file_with_striped_dot=${basename_of_dotfile:1}
new_file_path=$directory_for_dot_file/$dot_file_with_striped_dot
echo "Moving $name_of_dot_file to $new_file_path";
mv $name_of_dot_file $new_file_path;
echo "Symlinking file $new_file_path to $name_of_dot_file ";
ln -s $new_file_path $name_of_dot_file;
}

# Enable touchpad
function qq__touchpad_enable(){
xinput set-prop $(xinput | grep Touch | grep -Po 'id=\K[0-9]+') "Device Enabled" 1
}

# Set monitor highlighting
alias qq_set_higlighting_to_level_1_100="sudo xbacklight -set"

# Display wifi SSID's
alias qqwifi-spots="sudo iwlist scan | grep ESSID"

# Add wifi network
function qqadd-wifi-network(){
## add-wifi-network just_wifi mypassword
wpa_passphrase $1 $2 >> /etc/wpa_supplicant/wpa_supplicant.conf
}

# Various, misc

# Mirror (webcam)
alias mirror="vlc v4l2:///dev/video0"

# Stopwatch/countdown
function stopwatch(){
date1=`date +%s`;
while true; do
echo -ne "$(date -u --date @$((`date +%s` - $date1)) +%H:%M:%S)\r";
sleep 0.1
done
}

function countdown(){
date1=$((`date +%s` + $1));
while [ "$date1" -ge `date +%s` ]; do
echo -ne "$(date -u --date @$(($date1 - `date +%s`)) +%H:%M:%S)\r";
sleep 0.1
done
}

Some other stuff that I use daily and is too long to list here is:

* an increment, deduplicating backup that takes
around $0.52 per month on BackBlaze and on the
external hard drive via one command.
(Shameless plug: https://github.com/MichaelLeachim/borg_backblaze_backup)
* Internet blocker. (https://github.com/MichaelLeachim/internet_block)

Edit, formatting.
Dealing with High dimensional Data
Since you're already familiar with Python, I would recommend it for the backend. Take a look at Django and Flask frameworks. Django has an ORM and fits well for a typical CRUD application. Flask is a more lightweight tool. Both are quite mature and pleasant to work with.
you can't get justice in the west either that's why Snowden went to Russia..
You don't need to be a drug smuggler to be held as a political hostage there. Look at the other links in this thread of other people being snatched as hostages for far less.

In a country without rule of law it's trivial to fabricate some excuse to grab someone if you want to. Your only recourse is to not go there at all, as whether you get snatched if you are there is outside your control. "Don't smuggle drugs" isn't sufficient.
I've worked some jobs where "be active on a LinkedIn community" is part of the job. Some employers treat it like going to a conference.
Have You Tried Mason? A WYSWYIG App Creator
What would you do with 50 acres of land?
How Much Did Tim Draper Make in Bitcoin Investments in the Past 5 Years?
A simple but effective one:

function lie {
if [[ "$1" == "not" ]]
then
unset GIT_AUTHOR_DATE
unset GIT_COMMITTER_DATE
return 0
fi
export GIT_AUTHOR_DATE="$1"
export export GIT_COMMITTER_DATE="$1"
}

My employers don't quite need to know how much I procrastinated in that particular task :P
I've been through many times as white British person (both as a visitor and on various visas) and have never had a bad experience. I'm not denying that people do have bad experiences. But I find it kind of hard to believe that as a US citizen, you've never once had an experience of re-entering the country that didn't involve the customs agent asking you a couple of simple questions and then sending you on your way.
It’s there on my Nokia 7+ running Android 9.
Show HN: Healacrity – Daily planner that helps manage stress
Handle file uploads using GraphQL middleware
Tails even warns you about resizing the Tor Browser window because the size of the window could fingerprint you.

The difficulty of avoiding fingerprinting multiplies exponentially depending upon how paranoid you are (or need to be). Keeping Google from knowing (passively) who you are is one level. Keeping the oppressive governmental regime you’re exposing the corruption of that has a dedicated secret police force actively attempting to track you by name is completely a different one.
Great site! Was fun reading through. Out of curiosity I skipped to age 81 and saw

> Hey 81 year old, You've got one good year left... maybe

Ouch! That one sucks
Nice idea, but who is to say the future advice is any good? The TNG episode http://memory-alpha.wikia.com/wiki/Tapestry_(episode) is a poignant counterpoint to the idea that your hindsight perspective is always best.
Eden's – צימרים יוקרתיים בחד נס
> This almost certainly has nothing to do with changing Canadian behavior, it's about domestic politics. Canada/USA kicked one of ours, so we're going to kick 20 of theirs. They need to be seen to be doing it. The fact that it won't work and is counterproductive doesn't matter.

Is CCTV or other state-run outlets making a big deal about this death sentence and the other Canadian arrests? Is it portraying them as retaliation?
Better Worlds – Optimistic Science Fiction
How Desmos uses Pratt Parsers
34 is a rough year.
Nokia duh...
Or that risk evaluation doesn't generally play a big part in decisionmaking that leads to crimes punishable by death.
So you are saying that behind visible list of apps that are either "optimized" or excluded there is another hidden list where app that is "optimized" could be actually excluded? Ok, that can be a working hypothesis. Why is Skype not excluded the same way then? Or Slack? Millions use them and MS surely has money to promote their app this way. Why Whatsapp is not excluded? It's owned by FB.
Humans are not robots, we may be some sort of an algorithm but a very complicated one: we need emotional bonding and physical proximity is very important for that.
The spelling and grammar of some of the “hey x year old!” copy is not that great.
Exploring the Peano Axioms Through Algebraic Data Types
Toast UI – Easy way to draw various and essential charts on your web service
I've never programmed in Rust because I still have trouble seeing the point. It seems overly restrictive. A copy of any data has nearly zero marginal cost (and you can pay the cost by doing the work yourself), so in a free machine, it would have nearly zero price. If widely useful data is protected by the borrow checker, far fewer people will use it.

It is easy to show that the total utility of a piece of data to the rest of the program is reduced by assigning an owner to it. Each potential user of the data, faced with the need to mess with the borrow checker to use it, may choose to mess, or may forego use of the data and write a complicated workaround instead.

To counter the borrow checker, I'm currently designing a programming language featuring a mechanism that grants free access to data structures, with the restriction that copiers must grant the same rights to anyone else:

0. the freedom to use the data for any purpose,
1. the freedom to change the data to suit your needs,
2. the freedom to share the data with your friends and neighbors, and
3. the freedom to share the changes you make.
> How are the phrases "healthcare is a human right" and "everybody should have affordable health insurance" even remotely connected?

The latter is to ensure the former.

I suppose it would be better to have a system like the NHS, because it saves on paperwork and ensures everybody has access to health care with the fewest hurdles possible, but that's not the only way to do it. It can be done through a system of private health insurance as long as it's very well regulated.

But however you do it, a system where people are denied health care or go bankrupt trying to pay for health care, is not good enough.

Look, you're clearly putting a lot of effort into trying not to understand this, and I guess I can't stop you. If you were honestly interested in these questions, you could just look around you at how various countries handle this, instead of grasping at straw men.
> but what if the person you want to hire likes living in the middle of SF

I think, the idea, is that in SF he'll have no problems finding jobs. They are looking remote because of shortage in SF. I mean according to them.
But don't kid yourself, on the whole, as far as justice is concerned, Russia is way worse than the west. They routinely lock up and assassinate people who criticize them, and they're currently conducting a war of hysteria against homosexuals within their own borders.
For a long period of time I regarded Oracle as absolutely undeserving owners of the JDK; they didn't write it, it was bought from Sun, they shipped adware in the installer, tried to sue Android out of existence, and were poor stewards of the language.
Mathematicians Have Developed a Computing Problem That AI Can Never Solve
Actually all of these things are more achievable than you think. I have a relative who has a family of 5 (as in two adults and three young kids) and they've managed to travel the world the past several years on a high school teacher's salary.

It's all about your priorities/tradeoffs and how much work you're willing to put into it. They lead a very no-frills budget-restricted life, keep very minimal possessions, put effort into finding overseas teaching jobs in low cost-of-living areas, finding dirt-cheap travel deals, and honestly I think the kids getting all this early travel and cultural exposure is probably a big net win (vs e.g. prioritizing things like buying them the latest video game consoles and fashionable clothing, etc).

You could say the same for starting most small businesses. There are loans available to get up and running if you have a solid business plan and don't have awful/ruined credit, and many viable businesses can be "pay my bills" profitable fairly quickly. You won't make as much excess cash as getting on the corporate treadmill and doing well, at least not earlier on, but you do reap the rewards of being your own boss and learning a suite of skills that's much rarer, and over time even the small business world can eventually become quite lucrative if you want it to be.
It isn't a fork, it's an entirely new database that implements the same API.

c.f. https://twitter.com/nathankpeck/status/1083385031207387136 from someone at AWS DevRel.

There's nothing about Mongo's license that's super relevant here -- it's a similar situation to other cloud providers offering "S3"- or "EC2"-compatible APIs.

(IANAL, but AIUI API copyright/fair-use isn't entirely settled in the US, Oracle v. Google nonwithstanding, since 9th Cir. isn't per se controlling precedent nationwide in copyright matters)
Writing advice from Haruki Murakami
Shameless plug for https://contentgems.com. It has RSS reader, Feed filtering, and it treats URLs in your twitter home timeline as a feed, too.
I think the problem is that it's trying to become some sort of "pro facebook".

But I have no, zero, interest in actually visiting unless I'm a recruiter. I don't care that someone posts a motivational video or a colleague celebrates 10 years at Innotek. All I want to do as a non-recruiter is maintain a reasonably sized network for that time in 5 years when I do want to check my network. Until then, I don't ever want to log in.

So to me it it does proide value, but how much value do I provide? I suppose my aging profile does provide some material for recruiters so that the keep spending for pro recruiter features. But I don't think they'll ever be a facebook that can have significant ad-revenue from recurring visitors.
Are fitness tracking apps able to run uninterrupted in your Xiaomi phone? Did you change any relevant settings?
> I've decided to keep my profile because it'll raise a red flag to potential employers when they see I'm not in it

Really? Do you think people base such impressions upon solid logic, or is it simply some sort of employer groupthink?

I like to think that potential employers will respect my decision to avoid the vacuous LinkedIn crazy town, rather than mark me down for it.

Depends who's hiring I guess. If I'm the one doing the hiring, then not being on LinkedIn certainly makes a positive impression upon me :-)
> first of all if you work for a company, the profit will come before the interests of your customers

I don't understand that. That seems largely to be a generalization - I've work for non publicly traded companies, and we live and die and profit based upon the interests of our customers. Also, as we're publicly traded we don't have that impetus for profit - there's been discussions about starting up a pseudo-skunkworks to try and solve problems that may be dead ends without the pressure of needing to produce.
Russia plans to tackle US sanctions with Bitcoin investment
>So my generalized advice is to comply with the law

In a country where millions of people are held in reeducation camps for practicing the wrong religion, the "law" as written is a joke.

From friends living their, it's impossible to actually strictly follow what's on the books, particularly for foreigners. You have to know the current expectations, what's being enforced by the local government etc...

What matters isn't what's written, it's what is currently being practiced.
Hi guys, with a mission to improve emotional intelligence and mental health, I’ve created a very simple site with questions to help you manage stress better.
I specifically made this product for myself being in a line of work that can be very stressful many times in the day. I used to just wake up and go to work without taking into account the mental and emotional stress that I will go through and ended up becoming more and more depressed to a point where I became physically ill e.g. headaches, neck pains etc. Having a background in medicine I decided to look for preventions and cures so that I don’t have to go through the same thing ever again. I dived into cognitive behavioral therapy.
Cognitive Behavioral Therapy has been scientifically proven to be effective in treating mental health problems including depression, anxiety, panic disorders and is gold standard to some. But it's also quite effective at dealing with day to day problems and making effective, rational decisions. With over 332 medical studies, CBT can be applied to anything from trouble sleeping to weight gain. The core principle behind CBT is that a person's thoughts will affect their emotions and their behavior.

I experimented different methods with myself and realized that anticipatory, preventative and proactive coping strategies was most effective for me. That is how healacrity came about.
It is a website that helps you plan your day with questions that prepare you to overcome stress and problems of the day.

This is a project that I'd like to keep improving so feedback is very much appreciated! Thank you
I can tell the difference at 12. There's a flash test at http://jakemandell.com/adaptivepitch/ and the (probably heavily sample-biased) histogram at the end suggests 10-20% of people can't differentiate 1/4 of a semitone and 60% ish can't differentiate 1/12.