skysight-inc/HackerNews huggingface dataset:
Here is my lot

# setting common options
alias cp='cp -iv'
alias mv='mv -iv'
alias rmdir='rmdir -v'
alias ln='ln -v'
alias ls='ls --color=auto --human-readable --group-directories-first --classify'
alias grep='grep --color=auto'

# shortcuts
alias e=vim
alias music=ncmpcpp
alias g='git status'
alias gp='git push'

# show pretty git diff
alias gitdiff='git difftool -y -x "colordiff -y -W $COLUMNS" | less -R'
# go to root git directory
alias cdgit='cd $(git rev-parse --show-toplevel)'
# view csv files in columns
alias csv='column -s, -t'
# activate python venv
alias v='source ./venv/bin/activate'

# show weather
alias weather='curl wttr.in/Manchester'
# get my calendar
alias c='gcalcli --calendar <redacted> --monday calw'
# alternate view of calendar
alias agenda='gcalcli --calendar <redacted> agenda `date --iso-8601`T08 `date --iso-8601`T15'

# rot13 some text
alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'"

# I always forget how to echo status code
alias exitcode='echo $?'

# make directory and enter it
mdc() { mkdir -p "$@" && cd "$@"; }
# create a file and make git track it
ga() { touch "$@" && git add "$@" }
# open a twitch stream in mpv
twitch() { livestreamer --player "mpv -" "http://twitch.tv/$@" best }
# set terminal window title
title() { print -Pn "\e]2;$@\a" }
# open a file with less or a directory with ls
l() { if [ -f "$1" ]; then less "$1"; else ls "${1:-`pwd`}"; fi }
Yep. The Amstrad CPC was an effective 3.3MHz. Most 8-bit machines of the early 80s had reasonably comparable CPU performance: the real speed differentiators were the graphics hardware (Spectrum fast because you had so few colour bytes to write, CPC slow - until you learned how to scroll with the CRTC) and, if you used it, the efficiency of the BASIC/firmware.

There was a 16MHz Z80: Amstrad briefly built a machine on it in the 1990s (the PcW16).
Copyright Directive: how competing business lobbies drowned out critical voices
This is a really good point, and I need to cover this in a bit more depth, probably as part of the Operational Risk page.

(After a bit of digging, it seems that Basel II puts Legal Risk in the Operational Risk bucket, which is something I tend to agree with... will open a ticket)
> Apps will put money in the pot (subtracted from ad revenue)

At this point you discover it costs more to render an ad to the user (and especially to download it) than it pays the app developer ...
... QuickTime which itself can't play midi anymore.
कैसे करे बीमारी को अपने घर से दूर – Vastu Se Ghar Sansar by Dr. Puneet Chawla
I thought about doing this but opted to use a shared dotfiles directory across all my computers instead.

That way I can keep it up in git and then download it on every new computer, then from the command line and the home directory I run:

ln -S dotfiles/.vim
ln -S dotfiles/.vimrc
ln -S ..

Then I can use it as if it exists locally, then every so often go into the dotfiles directory and push my changes up.

For media, I use a dropbox account which works across all devices perfectly
> and only telling a select few gives the ability

If more than 1 person knows something it's no longer a secret. Likewise if 2 people know about the existence of a 0day it's no longer a 0day.

...

Why should I burn a 0day? Who will pay me for it? I'm not stupid and I don't participate in the responsible disclosure circle jerk.

TG is snakeoil: If you use it for anything more serious than hiding an affair from your spouse high chance you get burnt. Especially wanna be terrorists ought to stay clear.

TG is one giant weird machine: You'll notice quickly if you play with it. There very likely many 0days in TG and for sure LE has access to it too. So finding something isn't even a statistical outlier.

People who think that responsible disclosure must be practiced are just parroting the corporate bullshit. Bug bounties hunters are the Uber drivers of InfoSec. Poor fuckers that are pressed into a system that only benefits the corporate overlords. How about starting with responsible QA instead of moving fast & breaking things?
As I understand it, on iOS third part apps don’t actually do any tasks in the background, most such services are actually implemented by platform services provided by Apple that the third part apps request or subscribe to. So for example apps request an Apple service to do a background download on their behalf. Or the app subscribes to a notification feed that wakes it up when triggered to handle the notification, but the app doesn't do a download or wait for notifications itself.

Very often on iOS when you see a notification 'from an app' or something in the background is completed 'by an app', in fact the app didn't do any of it. This means fine grained permissions for background processing aren't really an issue on iOS, because such behavior is managed and guaranteed by Apple. It only matters when there's a security or privacy implication.

This is why background activities came so much later to iOS, because Apple had to very carefully think through and implement all the background services apps would require in an efficient and secure way.

EDIT: To be clear there are some exceptions but I'm not sure exactly what they are.
What's the underlying disease?

And, even if this isn't the path you'd like our healthcare system to take, isn't this new state of affairs a big opportunity for some startup?
That's not a completely fair comparison. BCDE+HL+IXIY offered more space than the 6502's registers, but less space than its zero page, so the hierarchies differed. In both cases "A, something, main memory", but the somethings differed and it mattered.
I don't think the OP literally meant that porting code was impossible, but rather, that it was very hard to do so and have the result run efficiently.
Sounds like the legally smart thing to do is to lie when they ask you where you're going to work after you quit. Which sucks. It's not good to lie, and it's bad if legal circumstances effectively require you to lie, but I guess it may be necessary here.

A couple of suggestions for things you can tell them:

* you want to travel the world for a year and find yourself.
* you're going to start your own company. Maybe even register at the chamber of commerce and give them your card in case they want to hire you.
* you need to take care of a family member.
* you're burned out by this work and are going to work in retail or something.
* you've got the opportunity to turn your hobby into your work.
* you're going to move out of state/out of the country.
* it's none of their business. (Not a lie! But if they suck, it might make them suspicious and do some research.)
> "What is illegal and unethical trade for one is perfectly legal for another"

What in the world does that mean? There's only one rule of law.
It's been discussed before on here.

In the UK it's particularly comical because a good number of people commute that far; I've had colleagues (Central London) living in places that according to GitLab should earn half as much.
In the UK there is the crime of 'Theft by finding' [0] when you find something you think is abandoned and take it, but do not do anything to determine if it really was abandoned, as opposed to lost, unattended, etc. The Wikipedia article suggests similar offences exist elsewhere...

0. https://en.wikipedia.org/wiki/Theft_by_finding
Yep. The trade off is that takes 3 more bytes but it's a great example of the thinking that went into writing 'tight' code for these processors. You're doing a loop unroll for speed and taking up more space, depending on what evil trick you're up to (e.g. hiding code inside a 128 byte unused spot in the BDOS) one might be better than the other.
There is Sailfish OS (https://sailfishos.org/). It's a GNU/Linux and has true multitasking.
I'd say performance was of secondary importance when making it easy to program assembly and silicon real estate were more important factors.
If Marcus Aurelius were a software developer
I'd love to use my own CA, but the 3rd party that needs these certificates wants them issued by a trusted CA; essentially a CA trusted by the browsers by default.

Have you ever run into a similar situation?
As a non American, based on what I've heard of the US system, I would absolutely ask about price for any medical treatment in the US if I was still physically capable of asking.

Haven't broken a leg, so can't be sure whether I'd be functional - probably depends on how bad the break is :D
Not sure if the complaint here is simply from developers of badly designed apps?

I didn't do much Android development, but last year I had to develop a small app doing a continuous background task.

Yes, it is hard to do that in Android (it seems). But you are supposed to use all sorts of other mechanisms that Android provides. Like for an alarm clock, I guess you tell some system service to play the sound and then go back to sleep. The sound keeps playing and your app sleeps (I guess - don't know this particular case).

Some things seemed really hard to do, but it is by design, and users really need to be protected from vampiric apps.
May 2017 isn't that long ago.

"However, our survey shows that Telegram has had serious and simple
issues in the protocol (e.g. modified buggy Diffie-Hellman key exchange)
that any knowledgeable security expert could penetrate.
By using the command line interface of Telegram we have been able to
snoop on some of our friends and detect the times when they were conversing
to each other. We believe that this is a serious privacy issue, because it
can be exploited to detect relationships in classroom for example."

see https://courses.csail.mit.edu/6.857/2017/project/19.pdf
Leave out the last sentence next time, that attitude overshadows your entire comment and isn't a good fit for HN.
The standing joke amongst my co-workers is that ”enterprise” in this context is the tier you reach when you have gotten ripped of enough by third party vendors.

You usual run of the mill enterprise use most of this horsepower to heat air and have large clusters of oracle db’s power even more expensive SAP modules.

There’s a reason no serious iaas provider build infra this way.
I have one example, actually an old customer to the vendor that used to employ me, that had probably well over 1k of tennants all with VM’s and DB’s backed by humongous SAN (replicated ofc!).

Not nice when corrupt data was mirrored due to a software bug in said SAN system.
This went to a national level, really, due to the nature of many of the customers.

Sure you can build a reasonable architecture using the products and vendors mentioned, but, it doesn’t scale and it really locks you in.

I’ve seen and worked this stuff at numerous enterprises.

This only makes it my experience and one datapoint, so please bear that in mind! =D
Same here. Large insurance company.
I like to put useful information in the prompt, but yours looks too cluttered for my liking. I particularly dislike the fact that most of the information of your prompt is nearly constant, thus very redundant. Putting the CWD inside the prompt is useless. You can just run pwd yourself if you are lost, but most of the time you already know where you are. Similarly for the username and the hostname. If you only deal with two or three servers, you can color code your prompt symbol to those, and obtain a much shorter and cuter prompt.

Useful information that is still not in your prompt:

- status of the last run command: $?

- number of jobs in the background, if any

I have this, with some colors thrown in:

PS1='$(if [ \j != "0" ] ; then echo "[\j]"; fi)$?\$ '
Let's Deploy to Production
Running a Mac from an iPad or iPhone with Remote Control for Mac
Ahrefs.
There are window managers like that for linux. E.g. http://notion.sourceforge.net/ or https://github.com/pekdon/pekwm or http://www.fluxbox.org/
My new library superpower
Even Walmart cannot afford to open and staff a store in SF.

Paying restaurant workers a 2-3x living wage is a fine idea except that it would raise the price of a pork chop to $45 and close the restaurant. Darn macroeconomics!
Like it or not they are right, you are wrong IMO, maybe not 1/3rd but much less. Salaries are what they are in SF, because that's what it takes for people to live there and have a sorta decent life.

Rent, food, taxes, transportation etc etc reflect on salary. Also competition has a major impact on salaries. Companies fight a lot over SF engineers, not so much for those in Asia. (unless they're super brilliant)

Edit:
Google has ~ 85,000 employees.
If they give each employee an extra $100K bonus it would cost them $8.5 Billion. They can afford it. Why they don't give it? Because they don't have to.
"Do you seriously think someone could spend a year just learning the lingo of a real STEM discipline and get similarly farcical work published?"

As a matter of fact, yes.

Google scigen, mathgen - you will find the stories of how computer-generated nonsensical papers were accepted by conferences and low quality journals.

For example:
http://thatsmathematics.com/blog/archives/185
I own a Nokia phone running Pie.

My alarms go off just fine (although I vaguely remember it not going off once or twice a few updates ago), my activity tracker works fine[0] and syncs periodically. I don't use GPS constantly. Signal notifications were also delayed a few updates ago, but now everything runs smoothly.

I find it a worthy sacrifice to make for a sturdy Android One phone with solid performance and a battery that can last two days on medium usage. My activity tracker lasts weeks without charging (comparable to a Kindle).

[0] Worth pointing out that my activity tracker was also developed by Nokia (before they've sold their health division to Withings), so it may receive some special treatment.
This is one of the reasons I devoured the trilogy and started looking for more: a whole different set of expectations and norms that are subtly different. I think scifi audiences might be primed for that?
You clipped off my answer to that question from your quote.

I mean you can disagree, that's fine, in which case just say so.
how are those updates going to look in January 2020
Terminal-style input queueing is made impossible by the OS most of the time. You can't queue input commands for a window that hasn't appeared yet, because they get sent to some other window that currently does have the focus. Per example upthread:

> imagine hitting Ctrl-Alt-Del, entering your login and password, hitting Enter, entering FFOX to run Firefox, hitting Enter, hitting F3 to open a tab, entering news.ycombinator.com, hitting Enter, hitting F3 for another tab, entering another URL, hitting Enter and it just works. Your machine can be waiting to show you the login screen, or applying some global policies, or launching Firefox, but it will never lose your input.

You'd have to wait after starting firefox for it to appear to get your input queued correctly.

Within a browser you can mostly hit Ctrl-T and start typing, although I've seen this break down. Edge for some reason was bad at this.

Within websites there is often anti-user javascript which causes problems: the absolute worst offender is Facebook, after you've put focus in a text box you need to wait for it to settle or your text will come out in the wrong order.
If you're going to throw quotes or references to news in to conversations out of nowhere at least source them.

For those playing at home: he's quoting stripped of context Alexandria Ocasio-Cortez. Watch the video here: http://www.realclearpolitics.com/video/2019/01/06/ocasio-cor...
I like the ix.io pastebin, since it has a nice rest interface and the url is concise. I have a wrapper function that lets you run

ix [<path>]

and will sumbit the content of the supplied path, or stdin if no path is given.

Here's function at said pastebin (http://ix.io/1yiG/sh), and in raw form below:

ix() {
curl=$(command -v curl)
[ -f "$HOME/.netrc" ] && curl="${curl} --netrc"

while getopts ":d:i:n:e:" opt; do
case "${opt}" in
d) ${curl} --request DELETE "ix.io/${OPTARG}"; return;;
i) curl="${curl} --request PUT"; id="${OPTARG}";;
n) curl="${curl} --form read:1=${OPTARG}";;
e) curl="${curl} --form ext:1=${OPTARG}";;
:) error "Expected argument: -${OPTARG}"; return 1;;
*) echo 'Usage: ix [-d ID] [-i ID] [-n N] [<options>]';
return;;
esac
done
shift $((OPTIND - 1))
unset -v OPTIND OPTERR

if [ -t 0 ]; then
filename="$1"; shift
if [ "$filename" ]; then
${curl} --form f:1=@"$filename" "${@}" "ix.io/${id}"
return
fi
echo "^C to cancel, ^D to send."
fi

${curl} --form f:1='<-' "${@}" "ix.io/${id}"

unset -v curl opt id filename
}
Nope, this really is weird. Can't you add a root CA to the machine providing the service? e.g. https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_...
My biggest problem with Linux is hardware and installation. I have an old laptop that Ubuntu fails to get WiFi running on.

Linux is getting good at drivers and "just works", but it still isn't there. I fear how hard it will be to get haiku running
Maybe because the laymen's share of users is ever-increasing?
There are a few issues here.

EBS is a compromise, its allows your data to run anywhere in a region, on any machine. That means lots of hops and lots of interconnects.

the latest SAS stuff runs at 12 gigs(most likely 4 lanes per cable, and dual linked too.), _but_ thats dedicated for local traffic. The performance difference between having a SAS disk inside a box, or in the next rack is negligible. A decent SAN that exports over a 56gig connect (inifiniband et al) will be >> than a local pcie in terms of iops and sustained bandwith (at the expense of latency.)

Crucially, in somewhere that runs it's own datacenter, the storage is modelled for a specific workload. In VFX land we had 32 60 disk file servers, each capable of saturating two 10 gig ethernet links. But it'd be appalling for mixed VM hosting.

EBS is a hedged bet, it had a _boatload_ of caching to make any sort of performance. It had a huge amount of QoS to stop selfish loads stealing all the IOPs.

To get the best performance from EBS you have to have large volumes (5Tb+) and large latest generation instances (c5, r5, m5) 4 or 8/9 xlarge ec2 instances. This costs money to run.
What It’s Like to Be a Woman on the Internet
no compared to a pool of peers that is measured in the tens of thousands(if i'm being generous). in that case it genuinely becomes a case of "you fucked up at this point in your career and that person didn't"
> 451: Unavailable due to legal reasons ... GDPR ...

"Legal reasons" being "we want to invasively track all our visitors but that pesky bureaucracy won't let us"? Good riddance.
If you work BOH in restaurants you develop a distaste for servers. Not only do they make far more money but they do it in half the time. Time is money and money time. I've worked in the industry in SF and I can tell you there is no shortage of coke habits amongst them. They are also less skilled than the cooks and much more easily replaced, which gets to the point the author was making about the need for skill in cooks and the damaging mercenarial culture arising out of desperation. In a cook you want someone you can retain who will develop a deep understanding of the workings of a particular restaurant and its menu. It's far more of an investment than a waiter who can cram homework for a few days enough to sell a menu. But training to prep and cook that menu properly will easily take weeks if not months at a high end place. You don't want those people to bounce for a dollar more; that is a huge waste. You'd rather lose half your FOH staff than your lead line cook or heaven forbid sous chef. However the tip culture succubi aren't the perpetrators as regards the pie cutting of restaurant earnings; it's tip culture and diner expectations. But good luck changing that or getting the public to understand the changes. I see a lot of hard-nosed posts here about basic economics, supply and demand, and what about's regarding the "successful" places (you mean places hanging on another year). I understand a lot of you take pride in your ability to cut through the fat in that way. But you're glossing over perhaps the main point of the article which is that without skilled cooks restaurants slide more into the spectrum of dummy-proofed food processing and thus weak, boring menus. That goes for the yelp darlings as well who are likely hoping nobody notices drops in quality and absence of ingenuity. The average self proclaimed foodie or just frequent diner I doubt knows enough about cuisine to realize the hollowing out of the scene they're in. Restaurants continuing this decline will keep it hidden and the tech crowd won't notice the difference as their favorite haunts continue to provide what they really have always wanted anyway: a place to see and be seen. A major priority for restaurants will be maintaining image and hype in an increasingly superficial SF hellscape. Maybe diners, in an honest moment, will say "fuck it" and head to the nearest Burger King.
Markets, such as they are currently implemented in the US, empirically give health care providers all the leverage. You can blame "human beings" for the fact that they then abuse this power -- or you can do what nearly every other developed country in the world has done and fix the problem by taking (some of) it away.
Permanently burning the logo into users' retinas - it's an advertiser's dream!
Building a data culture at a century-old company
Secure email verification service
Aww shucks.
This is a nice read for someone who has just started to learning GB ASM, I know the processor in the game boy isn't exactly a Z80 (or an 8080) but it's quite similar.
There's a wide range of performance with storage systems but why are you comparing that to RDS? That's a managed database service that just runs on EC2 instances with EBS volumes, and EBS is designed for affordable and scalable persistence instead of extreme performance.

EBS is not your typical SAN, which usually offer much more throughput, IOPS, and reliability in exchange for more complexity and latency, however you probably won't even notice that latency if your SAN system is close enough and using highend links.