skysight-inc/HackerNews huggingface dataset:
I don't have any issue with applications dying unexpectedly or not receiving expected notifications on my OnePlus.

If anything, my gf's Galaxy is much worse in this respect. She doesn't usually get Hangouts notifications until she explicitly launches the app.
This is a kind of "benchmark" optimization. Perceived battery life is a factor when users buy mobile phones. And all it takes is one bad app and one influent user - to kill an entire product, and even a whole brand.
Workspace management:

export WORKSPACE="$HOME/workspace"
alias ws='cd $WORKSPACE && ls'

History related commands:

alias h="fc -li 1" # like `history` but with dates

# Which commands do I use the most?
alias histstats="history | awk '{CMD[\$2]++;count++;}END { for (a in CMD)print CMD[a] \" \" CMD[a]/count*100 \"% \" a;}' | grep -v './' | column -c3 -s ' ' -t | sort -nr | nl | head -n10"

Golang:

alias gopath='cd $GOPATH/src && tree -dL 3'

Git:

# --no-pager is underrated
alias glnp="git --no-pager log --oneline -n30"

Misc:

# Have I been pwned?
# usage: `hibp email@example.com`
hibp() {
curl -fsS "https://haveibeenpwned.com/api/v2/breachedaccount/$1" | jq -r 'sort_by(.BreachDate)[] | [.Title,.Domain,.BreachDate,.PwnCount] | @tsv' | column -t -s$'\t'
}

# Weather
alias weather='curl wttr.in/$CITY'
> no car sickness when you’re reading

It depends how sensitive you are. I get nauseous when reading even on relatively smooth inter-city trains.
We are running a (very niche) platform + app for people with special needs, where accurate and offline alarms are necessary: this is a big problem for us.

I think about 1/3 of all our support requests are about the app being killed in the background on specific phones. The part of the app that does the actual scheduling of the alarms is a big mess with lots of device & API level exceptions. Debugging alarm problems is a nightmare.

We often advice users on what phone to buy and tell them to avoid specific brands. Sometimes users even need to buy a new phone to be able to have reliable alarm signals.

I understand why manufactures are doing this. But it really degrades the user experiences for our users quite a bit and is a significant cost (in terms of support load + extra development) for us as an app vendor.

Really hope that Android 8+ incentive manufactures to just use the standard Android mechanisms: they seems to work quite well in my experience. You can run things in the background, but only if it has a user interaction as a result: i.e an alarm notification. The user can then determine if this is wanted or not directly from the notification itself.

Unfortunately it is not much better on the Apple side of things with local push notifications limits.
> But the difference between those critiques and the Sokal Squared caper is that it doesn't offer any meaningful critique of the field.

That would seem to depend on your point of view. Seems quite meaningful to me, although I agree following up with how could this have been prevented and what to do differently in future would be a better discussion than the current one.
It takes for core developers years of great and conservative technical leadership to get to the point where I would trust them on the few points where a quick decision is needed. For example I'm glad that Luke came up with the idea of the segwit soft fork, but I will never forget his messing with Bitcoin Gentoo packages.
One thing I do is to put this snippet in .bashrc or .profile

for i in ${HOME}/.bash.d/*.sh
do
if [ -r ${i} ] ; then
. ${i}
fi
done

And drop some custom scripts in ${HOME}/.bash.d/
like alias.sh, env.sh

(my common .bash.d scripts are saved in a git repository)
Folder Git[0], a quick hack to for example pull all my 100+ repos in one go. First version eight years ago, and I still use it every day.

[0] https://gitlab.com/victor-engmark/fgit/blob/9575803b3bf277d5...
Read a random one, "Kaiser Foundation Hospital - San Francisco", Common25 is quite readable. but "CDM" is exactly as described in the article, it's basically an endless list of codenamed items.

> Emergency Room Visit, Level 2 (low to moderate severity) $1,185.00

> Emergency Room Visit, Level 3 (moderate severity) $2,105.00

> Emergency Room Visit, Level 4 (high severity without signigicant threat) $3,263.00

> Emergency Room Visit, Level 4 (high severity with significant threat) $5,009.00

I guess that's the very minimum base price, quite offensive for an european like me.
Face to face time is good for team cohesion and building human to human connections, you have more trust in people that you've met personally (and trust is a big deal for remote work), but in my experience at least it's far less efficient in pretty much everything else: meetings last longer, discussions have more digressions, people are more likely to interrupt others while working and when they do it usually takes much more time because you feel that you need to be polite and socialize a bit, while remote communication is much more brief and to the point.
“cdp” - Runs mkdir -p, followed by cd. Saves me thousands of keystrokes.
Considerations for Running Stateful Apps on Kubernetes
That was very interesting and educational, thank you!
Its abundance renders it completely worthless. https://en.wikipedia.org/wiki/Hyperinflation is what you get.

[…]
In short, whoever you may be,
To this conclusion you’ll agree,
When everyone is somebodee,
Then no one’s anybody!

– W. S. Gilbert
Ugh that's awful price disparity as well. It's pretty expensive here in the UK.

You should always pay me for what I can do not where I live.
I used to volunteer at my local library. A lot of interesting books came through interlibrary loan!

I also got to see the inverse power. One of the librarians pulled out a bunch of old SF books which hadn't been checked out for a long time, to make space for new books. I've read a lot of old SF, so I went through them. There were indeed not worth the space.
No, it’s the consequence of permitting background tasks at will. Apple took some heat, and there is learning curve associated with doing it their way, but they actually thought it through and created an energy-efficient architecture that addresses common use cases. And apps that don’t fit those use cases - what are they doing with your device?
An Intuitive Explanation of Connectionist Temporal Classification
History with dates is genius! Thanks for sharing it :)
Whoa, I know someone who does exactly this. Is this a common pattern?

Unless you're him!
IBM mainframes' "support element", which basically means operator console, was at one point a PC running OS/2 Warp:

https://web.archive.org/web/20140305172128/https://www-304.i...
livestreamer is dead, long live streamlink
Finally, now we just need flash to stop shipping with Windows as well :)
French Scrabble champion who doesn't speak French (2015)
It's still a much higher bandwidth, lower friction channel than contemporary videoconferencing systems. Even a little bit of lag destroys normal human conversational flow.

Big tech companies these days have multiple buildings and all their conferences rooms wired. You experience the difference between in-person and videoconference collaboration on a daily basis. Quite a bit can get done on Zoom, but for anything intricate the trek to the other person's office is worth it.
Narmadatech: Known for Designing the Best Healthcare Websites
I think I have self-control problem.

Most people do, don't beat yourself up over it. The whole concept of discipline and self control seems rather dubious to me.

Some things are easiest to deal with by changing your environment, eat too much junk food then don't keep any in the house, watch too much TV then get rid of the TV, spend too much time on the internet then cancel the broadband connection. I ride my bike everywhere because I don't have a car.

Other things you can trick yourself into doing, if you buy too many sweets when shopping then don't shop when you are hungry and always take a list. If you don't exercise enough then book a regular session with a trainer where the cost of cancelling is high.

Big changes in your life are also a good time to change other things, moving house, getting a new job, getting married are all good times to instigate a new regime.
So fewer incremental spec improvements, plus major incremental price increases and major UX regressions is a losing recipe. Who woulda thunk it!
Multi-dimensional array views for systems programmers
Sounds interesting.
If it wasn't a sarcastic comment, could you elaborate a bit, please?
“Dog Years” by Kaye Blegvad (2017)
So? No one is going to give a monkey’s about your tiny side project and if they do you can get around to doing GPDR mitigation after you’ve been profitable enough to quit your job for a year. Then you can unblock the EU. There are not infinite enforcement resources and the chances of anyone coming after a tiny company are minuscule. If you geoblock the EU they’re nonexistent.
This is how I feel about it too. It's almost like the Eternal September just kept getting worse.

I remember in my early days online, I was learning electronics design as a hobby. I posted a rather silly question to sci.electronics (silly in the sense that even a first-year student would have known the answer). A couple of hours later, a professor at an Ivy League university and a professional electronics designer had not only answered the question, but suggested some things I should learn and brush up on, and some books to do it. All very polite.

These days, it feels like the only answer you're likely to get is "lol git gud". The questions I come across sound almost like "I'm paying my ISP, I deserve an answer". The politeness and respect seems to have been lost over time.

That's not saying it's gone from everywhere -- StackExchange seems to get the balance right, with people willing to help newcomers to get involved. It's just that nice places like that are becoming fewer and further between, and I think that's sad.
An underrated CSS selector is the adjacency `+` operator
Chezmoi: manage your dotfiles securely across multiple machines
The really huge problem would be if the digital signatures would have a weakness. I believe all the other parts of the protocol are simple enough to fix, but there's no mathematical guarantee that the discrete log problem in the Bitcoin elliptic curve is algorithmically hard, we just think it is, because it has the test of time.
I was at a party a few weeks ago explaining Usenet to a crowd of confused faces. When I said, 'its sort of like reddit.. but not reddit', that seemed to satisfy them.

Just tonight I had to explain what a .exe file extension is for to another friend.

Its easy for those of us who are technically minded to 'just get it' when we use a new system, tool, etc -- and its also incredibly easy to forget how little the general public truly understands (or even cares) about the technology they operate on a daily basis.

The day I meet a woman who cares about scraping websites to create RSS feeds is the day I consider marriage again.
Luftschiffbau Zeppelin GmbH might grumble.
The old fashioned approach of using a database server in a co-hosted setup with a locally hosted storage on SSD with another couple of servers in active or standby type of replication is the best option for the db side.

The rest of the stateless compute cores can run on kubernetes.
The API docs seem perfectly clear to me.

https://developer.android.com/topic/performance/scheduling
It was really the journals themselves who were the test subjects, not any specific named individuals. A journal is an institution, not a person.
This is kind of a silly complaint when it's open source and anyone can modify it however they like.

Most of what makes Android what it is are the closed sourced Google Play Services and you still require closed source binary drivers.

This is kind of a silly complaint when it's open source and anyone can modify it however they like. Especially with Apple pushing Apple ID and iCloud as if sending all your data to them is completely different.

iCloud is easily disabled. But I was shocked to find out when I looked at my dad’s Google account that Google recorded every time he opened any app on his phone. Apple doesn’t make money from my user data.
Blockchain Gaming for Dummies
An insane amount of work must've gone into this, especially considering it is a one man operation! Kudos!

Makes me wonder what I am doing as a corporate cog in the wheel.
That’s an excellent filter for who I wouldn’t want to hang out with.
Can Dogs Smell Cancer?
Tech Education Con
My diary:

alias today='vim ~/notes/$(TS="Europe/London" date +%Y-%m-%d).txt'
Glad to hear you had a good experience, I imagine you traveled on the Virgin Pendolino which is a very nice experience indeed when all goes smoothly.

To that end, us Brits don't have a very high opinion of our rail system (reliability, punctuality, price) so it does make me wonder how bad it must be in the US.
iTools 2019 – The best iPhone manager
HISTIGNORE is really cool
IBM’s POWER9 retrospective is a little one-sided
Sorry to call you out, we should always assume good faith from HN commenters but I must say that this is childish behaviour.

Either it's pertinent information to be entered into the public record as part of your comment, or it's not.

If it's pertinent information you don't get to say "trust me", you have the responsibility to provide information.

If you cannot do that, then do not say it. You will not convince me with mealy mouthed weasel words.

--

On a more personal note: this comment sounds like the kind of thing I would see on skiddie hacker forums 15 years ago. Please conduct yourself better.
> [...] we never got a good and widely adopted standard for syndicating comments, reactions, and identity. What would the Web look like today if we'd had a good standard for that stuff when Zuckerberg was building Facebook?

You should take a look at https://indieweb.org . Work's being done there for quite some time about adopting web standards to make the open web social and moving away from data silos.
> It makes sense that these companies are playing the long game on skills and wages. Labor is among their most expensive costs, with tech worker salaries running to the low six figures at Facebook and Google. But with few workers possessing the skills to do these jobs, a competitive salary is the only way that tech companies can compete for talent today.

> There is no reason tech workers should expect disproportionately high salaries to be permanent, however. Execs are already doing what they can to suppress wages. The shorter-term strategies are clear. Tech companies collude via anti-poaching schemes to keep wages down. They use non-compete disclosures to push wages down by forbidding workers to get jobs from competitors. They also take advantage of the H-1B visa, hiring immigrant workers for cheaper than their American counterparts.
Yeah, feeling nostalgic about it. No censorship, no politics, none of that bullshit. IRC served the purpose of facebook, reddit and match.com combined. Communities like Rogue Science that today would be the worst nightmare of certain 3 letter agencies. One word to describe that era: freedom.
Location is a factor though. If you live in the middle of nowhere, your chances of finding another job are low. If you live in SF, your chances of finding another job are high (because most jobs are still in person jobs). That is why location matters.

It has nothing to do with your value and everything to do with what the company has to pay to get the talent it wants.
This one I use daily without thinking about it - it shares my bash history between screens and sessions on a given machine and extends it (grabbed from some corner of the internet):

# shares history between tabs with prompt_command
HISTSIZE=9000
HISTFILESIZE=$HISTSIZE
HISTCONTROL=ignorespace:ignoredups

_bash_history_sync() {
builtin history -a #1 appends command to histfile
HISTFILESIZE=$HISTSIZE #2 sets max size
builtin history -c #3 clears current session history
builtin history -r #4 reads the updated histfile and makes that the current history
}

history() { #5 overrides build in history to sync it before display
_bash_history_sync
builtin history "$@"
}

PROMPT_COMMAND=_bash_history_sync

Sometimes I forget the name of git branches I've worked on lately. This displays them with dates, most recent at the bottom:

git_branch_dates() {
git for-each-ref --sort=authordate --format '%(authordate:iso) %(align:left,25)%(refname:short)%(end) %(subject)' refs/heads
}

Because I hate typing:

# for rails migrations and keeping test updated
alias migrate="rake db:migrate && RAILS_ENV=test rake db:migrate"

Something I should use more to track things I've done lately - this opens up vim at the end of a file in your home dir called did.txt, appends the date and puts cursor at the last line:

# didfile setup
alias did="vim +'normal Go' +'r!date' ~/did.txt"

Because sometimes you want to sudo an alias:

# trailing space in value expands aliases that come after, see: http://www.linuxcommand.org/lc3_man_pages/aliash.html
alias sudo='sudo '

And displaying the git branch in the prompt:

# this gets the git branch to display when I cd into a git repo
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}

export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\[\033[32m\]\$(parse_git_branch)\[\033[00m\]\$ "

Because I often want to check recent files:

alias llth='ls -hFlat | head'
First, correlation is not causation. Second, NYC isn't necessarily a panacea.

Third, and most importantly, this is a misrepresentation of New York's situation gross enough to border on willful deception.

Per this [1], there are only 38K units in NYC that are rent controlled, and rent control only applies to buildings built pre-1947. An additional 987K units are rent stabilized due to either being built between 1947 and 1974 or been included in buildings otherwise filled with market rate units by developers nudged in that direction by tax incentives (8% of rent stabilized stock), which is probably mildly inefficient but doesn't stand in the way of development. The majority of units are market rate, and there's no rent control requirements standing in the way of building market rate units.

[1] http://furmancenter.org/files/publications/HVS_Rent_Stabiliz...
Yeppity.

> autocd If set, a command name that is the name of a directory is executed as if it were the argument to the cd command. This option is only used by interactive shells
Killing apps is a good thing. There have been battery saver programs since the very beginning of early Android versions to kill of connectivity and clean up running apps. When Android now supports some of that natively and vendors too, even more aggressively, this is just responding to users' needs.

There is a quite clear usage pattern to support this behaviour: unless I explicitly say so, I don't want apps on their own to "do stuff" no more than I want my Ubuntu to "do stuff" while I'm doing something else. I only want the application to respond when I'm viewing it.

On Ubuntu, I always disable stuff like evolution server and automatic indexing after a fresh installation. At least you can do that on Ubuntu, that isn't necessarily always possible on locked-down systems. I'm happy that Android is quite usable these days because of Doze and background task killing.
you can either block it with uBlock Origin or use Stylish with

.u-tintBgColor {
background-color: rgb(255, 255, 255) !important;
}

It really is an awful header.
> It is very unlikely that "the academic fields in question demonstrably have no interest in whether things are true or not".

Er, they are actually quite open about this.

For example:

Founded in 1974, the Michelle R. Clayman Institute for Gender Research at Stanford University has put research into action by inspiring innovative solutions that advance gender equality.

The goal/purpose is "advancing gender equality", not "truth finding".

Most of these fields don't just not believe in truth as a concept, they actually actively oppose and dismiss the search for truth or requirements for evidence as being expressions of and mechanisms for maintaining illegitimate power hierarchies.

Now hyper-specialisation is also a problem, but it's not this problem.
People use Facebook and Twitter (and Hacker News) as a kind of crowd-sourced RSS, but with the fall of trust in soc. media and the rise of fake news retweets, I wouldn't completely dismiss a big come back of rss in the future.
The people of the European Rail Timetable[0] compile and publish a lot of this information every month (worldwide actually, not just Europe). And he has an entire network of contacts himself now.

[0] https://www.europeanrailtimetable.eu/
In Ender's Game there is a description of an Ansible, a personal handheld device used to communicate, join to public forums, read news and influence in political discussions.
I mean sure, but at least give me a way to override it. On my OnePlus 5T running Android Pie, the system will keep killing my VPN client when in sleep mode, even though I have selected that I don't want to optimize it under battery usage. With the VPN client restricting all unprotected access, it means that once the phone goes into sleep, I stop getting all notifications for anything because there is no internet connection. It's very frustrating.
When I was young (until about 8 y/o) I lived in England and we would normally travel to Northern Ireland (where the rest of my family lives) using the ferry at Stranraer. I had some of my fondest memories on the trip there (even if it was much slower than by plane). We then moved back to Northern Ireland.

Now I'm an adult and living in England I always have gone by plane (about 3 times a year). I'm definitely going to try travelling by train+ferry now as it seems to cost about a third of what I would normally pay for a plane. Seems much less stressful too.
"And rationed health care is quite simply worse than expensive health care"

Not true. With rationed care you can still buy additional services if you want to whereas with expensive care like in the US even the simplest problem can cost you a lot of money or bankrupt you and there is not much you can do other than hope (pray?) for the best.
Maybe I missed something while reading the page but the whole time I my biggest question was what it actually sounds like. At the very bottom is a "hear demo" link, that leads to a Youtube channel with one song. But there isn't a link to the original version, so I can't compare how much it improved.
My interpretation is the parent poster is from a Soviet Bloc country, is experiencing what the top post wrote about, but is having difficulty in seeking treatment or being assessed for ADHD.
I’d guess that it used the old times trick of saving the return address by modifying the code of the called subroutine. A recursive call would then overwrite the primary callers return address.
Don't most apps use GCM to deliver notifications anyway?
Most healthcare costs are not emergency care; its probably somewhere from 2% - 10% of healthcare costs: https://www.politifact.com/truth-o-meter/statements/2013/oct...
I don't understand why manufacturers are trying to solve problem for user. User has power uninstall app that is draining battery or replace it with something else. There is rating and comment section in app store exactly for this. What they could do instead is to
display warning that app is using too much battery, but they SHOULD NEVER KILL AN APP.

It may sound radical, but only countermeasure we developers have is to block installments of our apps on such devices until moment manufactures stop doing this nasty "optimizations". It's like taking users as hostages, but that exactly what manufacturers are doing as well.

PS: for all down voters, I would like to hear from you if you just android user or you've also developed some app (I doubt you did).