skysight-inc/HackerNews huggingface dataset:
According to the laws of economics and supply and demand, restaurant prices should be rising accordingly, if customers are still demanding restaurant food. In other words, if the tech industry has produced so much wealth that has driven up rent prices, it should be driving up everything else too, right? People need to go out to eat somewhere, right? (And my experience says this is true -- I live in NYC and I get sticker shock at SF restaurant prices.)

Presumably other restaurants are thriving? Are we sure this particular one just didn't have the right business model, like most attempted restaurants don't? The restaurant industry is notoriously competitive, and the customer is always right -- you've got to give them the food they want (not the food you think they should want) at the location they want at a price that's competitive.

As long as plenty of other restaurants are managing to pay their staff enough so that they'll commute... and it doesn't seem like restaurants are disappearing from SF... then isn't this just the case of a bad business plan, or product-market-mistmatch, for this one particular restaurant?
This lets you easily search your command history by typing the beginning of a command and pressing the up arrow.

bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'

This one automatically lists the files in the current directory, but limits the number of lines.

function cd {
builtin cd "${@}"
if [[ "$(stat -c "%b" .)" -lt "100" ]]
then
if [ "$( ls -C -w $COLUMNS | wc -l )" -gt 30 ] ; then
ls -C -w $COLUMNS --color=always | awk 'NR < 16 { print }; NR == 16 { print " (... snip ...)" }; { buffer[NR % 14] = $0 } END { for( i = NR + 1; i <= NR+14; i++ ) print buffer[i % 14] }'
else
ls
fi
fi
}
It is explained in the next paragraph what "npx" is:

> Yep. cool? “npx” allows you to run a temporary package, which will be deleted right after each use. Use this command to try and experience how Fine works. Doesn’t hurt to try, huh?
Just to clarify something, I was a legitimate user with a strong password (100 character) and 2FA enabled.

And they blocked me.

They didn't tell me why, I figured it out on my own inadvertently.

I wasn't on a junky free VPN, I was on a corporate VPN service.

And I was blocked, worse I was given false information about my password being incorrect... and worse still, given that they assumed someone was trying to enter a fake password, they never emailed me to let me know -- I had to contact them.

Plenty of legit reasons for someone to use a VPN. I'm relatively certain nobody from the telco in Australia who set up the VPN had been trying to hack Namecheap, looks more just like someone found a way to classify that IP as a VPN and blocked it.

And look, to put the nail in the coffin, they were more that willing to tell me the email address to check for the reset password via live chat.

Anyway I tend to be the guy harping about security, but when they start banning VPNs just for being a VPN I don't think that's secure, I think it's obnoxious. We should encourage people to use VPNs, not make it annoying for them.

Proper procedure would be to let the bad guy try, block the IP (or better yet, browser finger print), let them know why they were blocked (in case they aren't a bad guy), and (if the owner didn't have 2FA) send the owner an email saying someone was trying to get access but wasn't successful.

For users with 2FA, all you'd ever really have to do is send an email to the owner, and / or access distribution list, letting them know when a certain user signed in. I wish more people offered this service, getting access notifications when any admin signed in would be key for helping me figure out what task broke something if I have to go fix it.
The latency has been seamless for my use case for headphones on a phone

And as you already know, it was also already how I was using these devices

I am very content with the quality of my particular headphones but for the nuance you highlighted are you listening to sound or listening to your sound system
Cixin Liu’s Three Body Problem stories have exactly that premise.

In the books game theory means that the most prudent way to deal with a competitor species is to obliterate it immediately on discovery. The answer to Fermi’s Paradox is that everyone is keeping their heads down and and hoping no one notices them.

Humans, on the other hand, are merrily broadcasting away without a care in the universe...
Web analytics are leaking into meatspace
add z to it!
flagged as spam: I wonder how HN could catch these sorts of posts automatically
It's the same in places like NYC, Vegas, and some restaurants in Washington, DC. The patrons spend big on expensive wine and entrees, especially when the space is reserved for private events. It's also incredibly stressful, somewhat seasonal, and means working late hours in an industry that plays very hard.
I connected for the first time in 96 with a 28.8k modem to print lyrics on paper from my favorite bands. At that time it was usual to go to a friend's house to go online. A lot of people didn't even have a PC at home (at least in Spain).

It was like being in a little village in the far west. Very few sources of information. Not very sophisticated. Everyone saw the potential and was super optimistic about it. Like all new things it was a very special feeling.

Now it's like being in a huge megalopolis. There's information and people everywhere, a lot of noise. Civilization is here with its good and bad things.

I'm not sure I preferred it before. Connections were super slow which meant no Youtube, no Netflix, no online gaming (other than slow Yahoo games), no Wifi, etc.
> I don't see how or why the employer should care how long their employees commute

Long commute times makes it far more difficult to hire. Why wouldn't an employer care about that?
And fuck cannot resolve symbol R!

https://stackoverflow.com/questions/17421104/android-studio-...
Project Habakkuk, Britain's plan to build an aircraft carrier from ice
Related: "If you’re unsure whether to quit your job or break up, you probably should"
https://news.ycombinator.com/item?id=17840275

(prepare for cynical HN discussion at the top, but the article itself is pretty spot on)
Ask HN: Will headphone jacks return in 2019?
My trusty Pixel XL (bought in 2017) is still reliable, but the security updates will stop later this year[1]. Is there any hope for us that prefer headphone jack and the "pure android" experience a.k.a. Nexus/Pixel lineup? Is there any hope that we see? Is this one of the inevitable wave of change that we'll be swept by?

[1] https://support.google.com/pixelphone/answer/4457705?hl=en
I would find it really hard to argue that a satellite is to demonstrate technology. Nobody in this business thought this was impossible to do, but when the satellite + ground costs ~$300M, you need a way to recoup those costs. Infinite flexibility will never make up for a lack of bandwidth, and bandwidth demand is increasing faster than satellites can keep up.

I agree with you that there's no way the optimization on those things can be done on board, which means that it's likely purely the signal processing/phased array that's consuming so much power/resources that they couldn't fit more transponders to increase capacity.
My most used alias would be:

alias fuck='sudo $(history -p !!)'

It runs the previous command as root.
I have some git ones that save me a few thousand key strokes a day.

alias gs="git status"
alias gall="git add ."
alias gm="git commit"
Star Trek predicted automatic sliding doors and flat screen TVs
Because it works? Because it offers the same capabilities across multiple OSes and devices? Because it has message history and offline communication? Because it has multiple built-in and third-party integrations? Because it supports file transfers? Because it supports seamless ad-hoc communication between several people (with access to offline medsages)? Because it supports video calls and screen sharing?

For XMPP there’s exactly one client that supports may be half of those features. For IRC there are none.
git open

https://github.com/paulirish/git-open
Out of everything I like this little alias the most:

cls="clear; ls"

It harkens back to DOS. Clearing the screen followed by ls happens surprisingly often, if not just to start things in "clean slate". I'm quite fond of it.
In the wake of the 9/11 attacks, airports became completely different places. Young people have no idea what an airport used to be like. They'll never know what it's like to travel without having to first submit to a humiliating security check. They'll never know what it was like to say goodbye to your friends and family at the gate, rather than at the front doors of the airport, or to greet them at the gate when they arrived.

...

To earn a living groping us, taking body scanner photos of us that can see through our clothes, patting-down our wives and children. The government shutdown is making it hard for the TSA to earn a living detaining us.

They're the victims.

http://www.stationarywaves.com/2019/01/topsy-turvy.html
function convert-decimaltobinary(){
n="$1"
bit=""
while [ "$n" -gt 0 ]; do
bit="$(( n&1 ))$bit";
: $(( n >>= 1 ))
done
printf "%s\n" "$bit"
}
function convert-binarytodecimal(){
echo "$((2#$1))"
}
function convert-hextodecimal(){
echo $(( 16#$1 ))
}
And that’s a good point. I’d expect better graphics at the same fps. But graphics hardware seems to be stagnant.
The Definition deliberately enforces non-discrimination. The point of that is to make sure that licensors don't "color" the tool by putting restrictions in their license (thus excluding some potential licensees).

Surely you can see that this has no logical bearing on whether any given tool has inherent "political color". Some tools, like some foodstuffs, could conceivably be inherently incompatible with particular religions, for example. The OSD doesn't take any position on that possibility because it's not regulating the nature of the tool, just what the license contains.
Check out Vespa: https://vespa.ai
fwiw, a similar project for bridging WhatsApp into Matrix is https://github.com/tulir/mautrix-whatsapp.
I just responded to your other comment, so thanks for the SN article. I didn't realize the capacity was almost two orders of magnitude off what current and upcoming satellites are doing. I wonder who their customers are, since GEO satellites have been fighting to get the $(satellite cost)/Gbps down for years.

I think this was answered by your link:
"Quantum was made possible by the British government, which is funding 90 percent of ESA’s commitment of 71 million euros in the Quantum program"

It's the government wasting a tremendous amount of money.
Chinese BYD has been trying for years to make an overhead wires free trolleybuses with this technology.

The main advantage is if you make it to operate high enough frequency, this should theoretically be safe to walk on, or at least safe to drive over.

Given that it will soon be 7th years since they first announced that, and there is nothing they offer on the market, there might have been some showstopper issue with it
Some Platforms Thrive and Others Don’t
Ask how much of it left in the end of the month after expenses...
It's more than I made when I moved to the bay area. I remember meeting wait staff that earned more than me with more flexible schedules.

That said it's easy to look over the skills of some of these folks. Being able to be gracious and provide a good customer experience for 8+hrs/day in a hectic environment requires skills that take effort to learn and maintain.
I enjoyed the succinctness of this post. Not sure if I agree that there's amazing vegan cheese though ;)
just out of curiosity, which restaurants in Washington DC?
I think my favorite way of describing the 90's internet(I was alive but not there for the 80's version) is that it was unfinished. Things were slow. Things broke a lot. Your computer crashed a lot. You didn't have the space to download a lot of stuff(a lot of people turned to printing out web pages). The number of venues was small enough that they could be listed(I had a 1992-era book that acted like a phone directory of all the interesting things there were to do). But there was a promise of possibility there. Once in a while, things did work. A site did what you wanted it to, seamlessly. You could go on Usenet or IRC or a MUD, and just talk to people. They were roughly as terrible as people today, but with a higher average level of income and education. You could occasionally talk to someone from a foreign country, too. Because the scale and sophistication of everything was small, there were many unlocked doors - limited or no protections. You could reasonably expect to moderate an online community on your own, and not drown in spambots, brigading, or DDOS attacks.

But the barriers to entry were high, as well. A state-of-the-art build consistently ran in the $2000 range - you could go cheaper but it often meant being several years in the past at a moment when Moore's Law was steamrolling every assumption in 18 month cycles, and software that kept pace with more and more features. Games in particular heavily targeted the enthusiasts. Many people got into PCs upon experiencing Doom for the first time. And running a server - well, most people were on dial-up lines, and in the early part of the decade, shell accounts, not the PPP connections that gave you full TCP/IP connectivity. If you ran a server, it was most likely part of a school or business connection. And then you had to maintain all of it yourself. The onset of free hosting - first with Geocities style static HTML, and then webpage builders and even PHP scripting, was a kind of early example of Internet commercialization. It allowed lots of folks to make their own web site for the first time, which they promptly filled up with "about me: i am 13 years old and have two dogs. sorry ill finish this later"

There were no real expectations around early Web content, after all. It was whatever you thought you needed to put there, and a consumer-branding mindset hadn't sunk in yet among Web surfers. You explored Web sites because there were no places with upvotes and newsfeeds, just pages you bookmarked and checked regularly in hopes of an update. If you wanted the drip feed of news, mailing lists and Usenet worked better. But gradually publishing and aggregation came into play on the Web, with both traditional news players and the likes of Slashdot, and web forums took up the baton from Usenet of allowing you to engage in topical discussion, except that over time all web forums turned into meta-communities defined by their off-topic discussion.

Then as now, the single most useful thing you could do in most circumstances was to send someone an email.
I am using zsh/iterm on my mac so here are mine:

# branches that were touched lately
nb() {
git for-each-ref --sort=-committerdate refs/heads/ -- format='%(committerdate:short) %(authorname) %(refname:short)' | head -n 10
}

# squash!
squash() {
if [ -n "$1" ]; then
git reset --soft HEAD~$1 && git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})"
fi
}

# open pr page on github for current branch
pr () {
local repo=`git remote -v | grep -m 1 "(push)" | sed -e "s/.*github.com[:/]\(.*\)\.git.*/\1/"`
local branch=`git name-rev --name-only HEAD`
echo "... creating pull request for branch \"$branch\" in \"$repo\""
open "https://github.com/$repo/pull/new/$branch?expand=1"
}

# check who uses port
port() {
lsof -i tcp:"$@"
}

# rebases local branch from origin /master and force pushes it
repush(){
git fetch origin master
git stash
git rebase origin/master
git push --force
git stash pop
}
Tangential, but the formatting on this is awful. It's like a high school lab report - every equation is a different size and aligned differently.
Robert Heinlein, 'Between Planets'

'A few hundred yards further on Lazy shied again, not from a snake this time but from an unexpected noise. Don pulled him in and spoke severely. "You bird-brained butterball! When are you going to learn not to jump when the telephone rings?"

Lazy twitched his shoulder muscles and snorted. Don reached for the pommel, removed the phone, and answered.'

Nothing unusual there - except that this was published in 1951. Heinlein was extrapolating one particular technology trend and got it spot-on, 60+ years before it happened.

There are so many others - H.G.Wells' 'World Brain' for one (aka the Web)
Go does panic on a wrong interface cast, which doesn't have an equivalent in outside unsafe mode in rust, so I think it's a valid comparison.

> as well as some numerical operations (in debug mode) that will panic on overflow

That's a good thing. You normally want to find them in debug mode.

> Indexing into arrays/slices outside bounds will also panic.

Kind of. There's .get which returns an Option to do it safely, but you're right that basic indexing can fail.
Xiaomi Mi Mix 3 review, Introduction, specs, unboxing
My startup basically broke up when my business partner decided to make an app while I was off consulting to keep money in my pocket.

As part of the app development process I said I could devote 2 hours a night to help out the developers working on the app.

Because of some server issues and a friend on whose server farm things were hosted being on vacation I ended up using 20+ hours the first week.

In about the second week the app developer started complaining that he couldn't get the api I had made to work (which to be fair it had some warts hoo boy), he could do the initial PUT which would return an id for the thing that was PUT but he couldn't GET that item later.

So I sent him 2 example curl snippets to show it worked, it just basically read in a very small json file, less than 1kb and sent it off got an id back, the second snippet did a GET of the id returned.

His reply - the curl example works, but I'm not a curl expert, it would really help me out if you download the framework/tool I'm using (which I was unfamiliar with) and figure out what's wrong. I actually found I was incapable of answering him without swearing, so I didn't.

In conclusion: I believe this article may have been written by a significantly younger person than me.

on edit: clarified the curl snippets.
If you'd never accept a request from a random user, then you're not doing anonymous messaging.

If you're a journalist who wants to receive a message from a total stranger, then you'd have to accept a contact request from a that stranger. Spammers can then deny the journalist access to anonymous requests by spamming them with anonymous requests.

The journalist could try to keep their contact ID a secret, but then anonymous sources would have no idea how to contact the journalist.
"The timing of diagnosis coinciding with vaccine delivery is pure coincidence."

That is an assumption, not a "fact".

"Furthermore, there very likely is a genetic component."

That is another assumption, but let's assume further for just a moment...

If we do not fully understand the genetic component we cannot fully understand how that might be linked to triggering problems when children are vaccinated.

Again, what we don't know is far greater than what we do know. It costs us nothing to keep that in mind (except fake karma points).
Philadelphia Eagles vs. New Orleans Saints Live S.t.r.e.a.m. January 13 2019
https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024540514-New-Orleans-Saints-Vs-Philadelphia-Eagles-Live-S-t-r-e-a-m-January-13-2019

https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024734833-Philadelphia-Eagles-Vs-New-Orleans-Saints-Live-S-t-r-e-a-m-January-13-2019

https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024734813--2019-GAmE-Live-New-Orleans-Saints-vs-Philadelphia-Eagles-live

https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024734893--2019-GAmE-Live-New-Orleans-Saints-vs-Philadelphia-Eagles-live

https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024540494--2019-Philadelphia-Eagles-Vs-New-Orleans-Saints-Live-S-t-r-e-a-m-January-13-2019

https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024734793--GAmE-Live-New-Orleans-Saints-vs-Philadelphia-Eagles-live

https://nationsphotolab.zendesk.com/hc/en-us/community/posts/360024734873-2019-Philadelphia-Eagles-Vs-New-Orleans-Saints-Live-S-t-r-e-a-m-January-13-2019
And `open .` does the opposite: opens Finder to your current directory.
I think I'll use them more if they're cdb, cbd, chd. Thanks!
It’s usually a collective bargaining term or law, depending on jurisdiction.
I'd argue that the main luxury aspect of iPhone is the GPU and top quality animation and visual effects. There is a superb polish to the UI/UX which (along with the high build quality of the hardware) makes it feel like a seamless hardware/software integration of the highest quality.

My impression is that Apple is creating custom hardware that will be able to support high end chips while offering an extremely efficient and performant glue/systems layer that is well suited to the low end and much greater scale.

The problem is that transitioning to a more mass-market model will be accompanied by a period of reduced profitability. It's also not clear to me whether it is too late. I recently bought $10 and $100 Android phones and compared to a year or two ago these low priced models are significantly less clunky and annoying to use.

With every month that passes, Android gets closer and closer to the Apple quality experience on much cheaper hardware, and all the while Android market share grows.

This has been Google's strategy all along (obviously) but I had expected that Apple would step in with a market share move long before things got to the point they are today where I'd argue Google has the advantage.

The biggest hindrance to Google eating up more of Apple's share is that Apple has focused on lock-in products like Photos, Notes, Messenger, etc., which can't be installed on other devices. While these are convenient, they are not something to take to the bank, as consumers ultimately resent the lock-in and are eager to break free. WhatsApp's success is an example.

The biggest reason to open up the low end is to increase the audience size for apps and reduce the appeal of cross-platform shortcut frameworks.
I was wrong! Grey Holes have been invented already! http://adsabs.harvard.edu/full/1993AAS...182.5507B
One of my grandmothers (until she passed) was on linux for about 8 years. I'd update/upgrade about every year or so. It ran chrome, and Wine ran the couple of windows 95 era games she used.

My other grandmother has been on Chome OS for almost as long. Which has been another great option. I do wish that Google had better support for installing/running full Chrome OS on more generic hardware. I find it's just about the best option all around for the novice computer user.
Email spam filters didn't/don't actually work that well without de-anonymizing features like SPF and DKIM.

I'm not saying that spam is a problem today, but that the design goals of Richochet don't allow it to deal with the spam problem for users who actually want anonymous messaging.
alias continue-branch='charm $(git diff master --name-only)' # Open all files changed in the current branch wrt master in PyCharm

function record-window {
recordmydesktop --windowid=$(wmctrl -l | grep $1 | awk '{print $1}') -o ~/Videos/$1_$(date +"%Y_%m_%d_%H_%M_%S").ogv
}

alias ping='grc ping'
alias ifconfig='grc ifconfig'
alias netstat='grc netstat'

These last three use the awesome 'grc' output colorizer
Yes. My old boss was threatening to take me to court. I could not afford the fees, but I wanted a lawyer to review any paperwork that I was being forced to sign.

After my last day I hired a lawyer to review the document. He was able to strike the part about me knowingly taking IP with me. He then advised me to sign the document, since court costs would be much more expensive.
Why learn Smalltalk?
Tl;dr: The rent is too darn high! It's not just individuals that are suffocating because of it, but marginal, specialty/niche retail businesses like this restaurant. They should pack their stuff and move out.