skysight-inc/HackerNews huggingface dataset:
Companies return capital to shareholders, bonds pay interest, and when you rent out real estate, tenants send you a check every month.

No one sends you a check in the mail for having a gold bar in your basement. There is no income, but you can benefit from a change in price when you sell it.
No, what Python suggests is just returning the value you sort on, or a tuple of the values to sort on.

cmp() is deprecated because there is seldom reason to use it anymore.

E.G:

Sorting words according to their number of letter is just:

sorted(words, key=len)

You don't return 1, -1 or 0.

If you want to rank participants of a game in a dictionary of scores using names as keys and points as values, you would to:

sorted(scores.items(), key=lambda score: score[1])

Again you don't return 1, -1 or 0, just the value that is significant. It makes it very, very simple to reason about.
I went through some loss(dad) recently and I realized that I had an inherent need to communicate my feelings to my wife to make sense of it. I discussed why I was feeling what I was feeling and understand how my mind was dealing with loss. This strengthened my relationship with my wife and made me stronger as a person.
This is what my modern Safari exposes:

Andale Mono, Arial, Arial Black, Arial Hebrew, Arial Narrow, Arial Rounded MT Bold, Arial Unicode MS, Comic Sans MS, Courier, Courier New, Geneva, Georgia, Helvetica, Helvetica Neue, Impact, LUCIDA GRANDE, Microsoft Sans Serif, Monaco, Palatino, Tahoma, Times, Times New Roman, Trebuchet MS, Verdana, Wingdings, Wingdings 2, Wingdings 3 (via javascript)

I have hundreds more fonts installed. Panopticlick says that about 1 in 14 browsers have this value, so your browser should have it too.
Just not willing to do this. I never want to miss a call from someone talking about an emergency with a family member, the FAA calling about an unclosed flight plan, a recruiter (if job hunting), a delivery person, etc. I answer virtually all unknown numbers except the ones T-Mobile puts in as “Scam Likely.”

What I do not understand is, given that the phone is a computer, why there is not an on-phone IVR which can solicit a brief intro. I mean, I had tech that could do that for a landline 25 years ago.
I also thought it had a lot of lateral movement.
Clearbanc's 20-Min Term Sheet
There are a lot of corner cases. What if I want to give some of the tickets to a friend who has to arrive late and meet me inside the venue? What if I want to do legitimate reselling on a website like Stubhub (many events encourage this even, like reselling sports tickets if you can’t make it, so that the seat doesn’t go empty and the stadium can make money on concessions... this happens all the time if you’re a season ticket holder for a particular team; you just frequently can’t make it and need to resell).

Personally I wish tickets were just bearer bonds. If you have the paper ticket in your hand, you get in, all else be damned.

Then to solve scalping or bots, try to invent solutions that offer tickets to verified long-time fans / supporters first, then use a pre-registered (not day-of) lottery system to allow general purchases.
The people I work with add city names after times when they're speaking to people in mixed geographies.

They say "today at noon, Chicago time." Or "9am Los Angeles."

It's become so habitual that they'll even use a city name without thinking if they need to. For example, saying "4pm Biloxi time" to someone in Chicago, which is the same time. But at least it eliminates any ambiguity.
‘It’s an arms race’: Publishers prepare for an anti-tracking-dominant future
But there is no such thing as a "software development license". Is that just naive wishful thinking?

It's normal wishful thinking.

I mean, do you think that the way to secure systems is layer after layer of pain-in-the-ass red-tape and heavily silo-ed organizational structure?

Basically, yes. Just look at them: https://informationisbeautiful.net/visualizations/worlds-big... - when Marriott Hotels leaks data, that's a shame, when the big and prominent tech companies can't stop it - LinkedIn, Google+, Twitter, Dell, Uber, Amazon, Sony - or the important Equifax, Healthcare.gov, NHS, IBM Health Net, that's damning.

Do you want to trust your data to "a more cooperative approach" where people can debate whether security is too much of a negative nancy drag to bother with? Do you think we're at a stage now where this is winding down and everything important is basically secure? I don't. I think we've only seen the beginning of all the data leaks and sold information and dormant vulnerabilities, and that most systems are only considered "secure" because nobody has tried to attack them.
But abuse is not a rape. The former also includes things
like touching the victim.
From Wikipedia:

Alchemy (from Arabic: al-kīmiyā) was an ancient branch of natural philosophy, a philosophical and protoscientific tradition practiced throughout Europe, Africa, and Asia, originating in Greco-Roman Egypt in the first few centuries AD. It aims to purify, mature, and perfect certain objects. Common aims were chrysopoeia, the transmutation of "base metals" (e.g., lead) into "noble metals" (particularly gold); the creation of an elixir of immortality; the creation of panaceas able to cure any disease; and the development of an alkahest, a universal solvent.

So, what was irrational with alchemy at the times Newton lived?
>has the panacea for fixing things up

There are many people that believe there is a simple, obvious panacea, e.g.: "get money from the rich and give them to the poor".
That's a really good question. I omitted timezones from my list because I don't have a proposal at hand there.

Same for "first day of the week": For me it's obviously Monday, but I think the Jews have a religiously-grounded opinion on it being Sunday. That's a hornet's nest I'd rather not stir up until I've actually achieved world dominion. :)
Exactly. If you assume the population in general is "people caught up in violent crime", "people unlucky enough to be caught for petty crime" and "everyone else" then take a sampling of the first two groups (i.e. prison) and then re-check your crime stats of course it's going to look bad compared to the overall population stats.

That doesn't mean the risk of becoming a victim of violence for the "people unlucky enough to be caught for petty crime" group goes up anymore than it would if they suddenly found themselves in equal contact with the "people caught up in violent crime" group outside of prison.
It is if you live a mostly cash-less life. I don’t typically carry any cash on me and don’t pay in cash, which means I often also don’t have any cash at home.

Card payments, contactless payments, Apple Pay, metro/travel cards and banks/financial institutions with fancy mobile apps have meant that I rarely if ever need cash.
Ideally every browser implements web standards the same and looks identical…
This is actually a port of the demo made by Andrew Kelley, which was originally written for the desktop using GLFW.

My plan is to integrate my changes into the original project so that it can export to desktop and web.
I believe this is an incredibly dangerous attitude. Kudos that you're doing your part, and leading by example is important.

However, systemic change is possible. We have numerous counter-examples: the UN, the Montreal protocol, free trade deals, et cetera.

So why don't we have systemic change for climate change, because people like you and I let our politicians get away with it! If it was obvious to politicians that doing something about climate change was required to get re-elected, they'd do it.

It's an incredibly difficult task, which means we need to try harder, not that we should just give up on the planet.
You leave out the most obvious way for individuals to alleviate the system level threats: accept that you need to get your hands dirty and go into politics.
Current just over 260,000 miles. This makes a big difference in my per-mileage calculations, as you said, someone who drives less than I did (I had a few contract jobs far from home) would see different numbers.
On Professional Distance and Courage
I don't think it's a bad thing to have specialists that have intuition about what other specialists do; in fact, that's a core responsibility for being a senior individual contributor. But, (and I covered this in my original comment), I think that this mediating labor is the role of product management, and there is a reason why product management is 100% a full-time job that cannot be skimped out on. I never understood why it needed to exist when I first started in my career, or I thought it was mostly a status-signaling BS role. However, the only way to mitigate that natural tendency of individuals to assume "it's 100% pure human nature to always assume that one's own piece is the most complicated or meaningful part of a project" is for a technical product manager to actually own the ramifications of all design and engineering decisions that are made and orienting the resultant product properly to the longterm strategic goals of the company. There is no substitute. Engineering and design direction are full-time roles in and of theirselves, and so too is product.
https://ankiweb.net/shared/decks/
Venue Analytics: A Simple Alternative to Citation-Based Metrics
I actually prefer the long version. But I think the real trick is to be consistent in style. Parsing ternary operators is a learned skill and so is parsing long if statements. You can get used to both.
wow that pricing is aggressive..

How much data can I have in the system with the free version?
Nobody is against government action. It's thoroughly needed. But I don't believe it will come around unless people demand it. And by demanding I don't mean signing a petition or shouting slogans at a demonstration. I mean real actions to adjust your lifestyle. And I don't believe it's necessary to immediately become carbon neutral on individual level. To begin with, even a small reduction can send powerful ripples across the economy.
I thought the article is about capital returns (income+change of price), that's the only interesting way to compare assets.
Even when you order from JustEat, don’t you give the delivery driver a number to call when they arrive (or get lost)? They almost never come directly to my apartment or office; I usually get a call saying they’re downstairs or outside (if parking is bad) instead.

In...olden times when people ordered by talking to other people, you’d often pay cash. Some places would take credit cards, usually by reading the number out loud. One fancy place let you type the numbers in with the touch pad.
Browser plugins really need to go away. If it's not implementable normally then it shouldn't be on the web. In my opinion at least.

GPU models also should not be given, browsers need to abstract features and performance into something else.
Like if I'm writing a WebGL app, I should just be able to test a few baselines configs.

User agent is a tricky one, Chrome on Android gives too much info because it's built by an advertising company.
It looks to me like this was an attempt to make XFS look better? The author probably looks at the things from "the reliability is #1, and the rest is secondary" standpoint, so they are having a hard time coming with pro-XFS arguments.
And a bunch of dudes in prison are going to be a lot more physical about enforcing the pecking order than the outside population will be.
>To offer another (subjective) point, I think the lack of semicolons or other statement delimiters does make code harder to read, as it makes it look similar to a run-on sentence

YES!! And what do you think the statement

return a < b ? -1 : a > b ? 1 : 0;

looks like to many people? One big 'run-on sentence'. It took me a few moments to parse that line. I had a good idea what it was doing, but I had to do a double take to make sure there wasn't some subtle bug in that line.

And that's the point here. In some sense, you are writing to the lowest common denominator. You're a clever guy who can optimize their code to minimize line count and terse statements are obvious to you, but your code will be touched and looked at by developers of all levels. Developers that will have to fix your bugs, and extend your code, or refactor it - years after you write it.

The standard for collaborative programming is to write code to be understood, not to show how clever you are, or to minimize character count or to minimize line count.
So about one in ten prisoners. That’s not good, but if you can avoid serving time in a medium or high security institution that chance is a lot lower, and of course a lot higher if you can’t.
It depends a lot on your security classification too. If you are in a level 1 (federal system does levels, states do max, medium, or low) prison, with other short-timers and non-violent offenders for the most part, it's not as bad. When you are on a level 4/maximum prison yard, like FCI Beaumont aka "Bloody Beaumont" or San Quentin, then you are surrounded by true predators and need to prepare yourself accordingly.
Does anyone have any favourite resources on the Lambda Calculus (i.e. expanding upon the preliminaries in the introduction here)?
How does this work? For instance I have an iPhone model, so why would screen resolution help increase identifying bits coupled with the user agent? Everyone with my phone version and OS version will have the exact same values.
Facebook Is Making Deep Learning Experimentation Easier with These Frameworks
What's the point? Why not just make it an if-elseif-else block and make it obvious?
I'm just keeping lists of the books I've read, games I've played, and movies/series I've seen. The list is accessible from the CLI so I can perform voodoo on it. I've been doing this since early '00s. I don't see the point in remembering this data. There's a whole lot of other things I'd love to remember though, programming related for example...
> narrative about how natural childbirth is better, regardless of the evidence

Can you point to some sources for this?

To be totally honest I have no idea what the evidence says one way or the other. I do know that most the people I know have had more complicated births when not in midwife led units.

We had 3 natural midwife only births (the last 2 were at home). The final baby we delivered at home totally on our own. It was great to be able to say, “it’s ok, we can do this - it’s totally natural”
Why is the architecture of Kubernetes like this now?
I've moved to a new area code and kept my old number. Aside from known contacts, if I get a call from my phone's area code, I know it is not legit. If I get a call from my new area code, I know it has to be a local someone and I should answer it. Zero accepted robo calls in 6mo.
It occurred to me just last week that land line phones have caller ID as I was helping my parents port their land line into a VOIP service. How is it that cell phones, a nominally more advanced technology, lack this function which was retrofitted into the analog phone system? I'd love to read or hear more about how that came about.
Reminds me a lot of the idea of Wu Wei.
Unless you hang with the violent crowd, or the violent crowd decides to hang with you.

Which is why people who can afford it hire these consultants on advice how to avoid that fate. Just doing your time isn't a simple choice. You need to know how to. do that.
Many of the assumptions are different for different cars. For my car it is $3 per 46 miles, or $0.065/mile. Note that 46MPG is actual, EPA would give me 41.
By the way, please do not confuse true with believable: astrology is not true and not believable; cold fusion is not true but believable.
I lived without a phone number for about 9 months a few years ago. My phone was basically a WiFi device. I really enjoyed this time and am considering doing it again. I only stopped because my brother got annoyed and bought me a new SIM, but nowadays he doesn’t call me much and uses internet for voice. Even my mother uses WhatsApp for voice.

Having a WiFi-only device (as opposed to a data-only one) did mean I had to plan things a bit, just like I had to do before mobile phones became such a popular thing. It wasn’t a big deal at all.
I just had my iPhone 7 stolen and had to buy a new one. I bought a RedMi7 for $140 or so. It is just as good as the iPhone, if not better in some aspects.

So I agree for almost all usecases, just hang on to your cheap phones as long as possible.
I've had the same number for like 14 years now and I haven't gotten a single(!) robocall. So I share your experience.
You can't get around giving nearly the entirey of the User Agent string simply thorugh feature detection (well, except for the phone model when on mobile). Canvas and WebGL can be fixed by limiting their functionality, or at least that's what Firefox does in the aforementioned mode. Canvas could conceivably be fixed to just behave the same everywhere, but for WebGL you have to limit it to some common denominator to hide the GPU model, so privacy nessesitates less functionality. The list of plugins can be spoofed to be empty. Screen resolution (or more importantly, window size) has to be somewhat accurate because lots of websites use it for responsive design. Firefox can round the window size to the nearest multiple of 200x100 which doesn't break too many things, but that's still far from giving the same value for everyone.

https://wiki.mozilla.org/Security/Fingerprinting
The Definitive Guide to Setting Up Vim for JavaScript Development
Taking care of the elderly in Silicon Valley – a personal story
Avoid the US north-east and west coast, and you can find pretty decent values. I know a guy in his 30s who is "retired". He actually works about 2hrs per week. He has 10 rental properties. He pays 0 taxes due to depreciation exceeding his rent + costs. He makes around $90K / yr take home pay which is enough for his standard of living.

So the answer is, yes. Being a land lord can work, if you get the parameters right as he seems to have done.
Why sell it? The average millionaire drives a 15 year old car they bought new. A well maintained car will last a lot longer than most people give them credit for. You get tired of the old thing, but it will runs.
> As in, it is their job.

What makes you say that? That's like expecting software engineers to understand the implications of clock synchronization in your server CPU. Sure, it'd be nice if employees had that level of dedication, but who are we kidding? That's not what they are being paid for.

> Such government effort can only be successful if it involves lots of doctors.

Well, no. Doctors aren't the ones making epidemiology science research. At best they might read a paper or two if somebody pushes them.
Because it would cost farmers money
> Combinations of if/else can seriously damage readability and maintainability.

Yes, that's why for selections we usually use switch/case. But of course every programmer worth his money just knows that ?: is right associative and that '&&' is on precedence level 11 while '?:' is on 13. If that's not "clever code", I don't know what is...
Reminds me of an early code review that preferred applying De Morgan’s law and being initially surprised. It was a small chat that started talks of the clever vs readability on a small team.

Similar things would happen with say map(f) |> map(g) vs map(f |> g). My clev-dar just reminds me to ping the reviewer or leave a note.
They’ll manage. Just standardize to a fixed value.
And how much time would that take me to register my own application to download a few statements instead of using the browser?

My bank is TSB, but at that time there was definitely not even a program to register a developer account with them.
Yeah, because when your spouse is getting rolled into emergency surgery after suddenly collapsing you'll definitely know what number is going to call you to inform you, so you'll want to whitelist that one. And when a drunk driver hits her car on a rural road in the middle of the night and her phone is trapped in the wreck, you'll want to make sure you whitelist the phone number of the passerby that stops to help. And when your elderly parents' house is burning down (along with their phones) you'll definitely know all the phone numbers of all possible emergency responders and neighbors, so whitelist all of them too.

That's not even considering mundane everyday stuff like delivery people/repair people who got lost or have to reschedule last minute. You might have the main number for the business whitelisted, but those sorts of calls usually come from the phone number of the day's driver.

The only people who think "just disable incoming phone calls" is a viable option either have no friends and/or family, very little life experience, or both.
Definitely fun, but also slightly nerve-racking. A new project, script, or proof of concept left entirely up to you. The canvas is completely blank. Your initial code will probably be the seed for whatever this is for months or years to come. Remember all that trash you talked about the poor decisions everyone who came before you made? It's your turn. Don't screw it up.

Tangentially related for some of the younger devs: The predecessors on your project probably weren't idiots. It's possible, but they were likely working with a different set of requirements under a different scope. Even the code that it morphed into over time was probably a good enough decision for the constraints at the time.
No, but it's less convenient, less trackable, and less safe than e.g. a credit card.
Actually E-mail has things such as DMARC, DKIM and SPF that tremendously cut down scam looking real from certain domains. Another topic is just direct scam from new domain names but that's not what OP and you're talking about.
And this despite the fact that higher-risk deliveries are more likely to occur in a hospital, so that if the environments were equally dangerous, you'd expect the stats to tilt the opposite direction.
I can’t even get my friends and coworkers to vote.
I am very excited about Wendy Freedman's number. Her program is called CCHP(Carnegie-Chicago Hubble Program). The first paper was in 2016: https://arxiv.org/abs/1604.01788. The idea is to use only Population II stars, while Adam Riess's number uses Population I stars. If the number is in between, that's really cool.
Is this still true of the default search engine is set to something other than Google? What are the relevant config keys?
Sounds like a good strategy.

It is utterly insane that consumers and the industry are fine with battery degradation coercing them into complete $600+ device replacements (further fueled by the "I got the newest phone!" social status incentive for some folks).

Batteries should be swappable and at replacement time be properly recycled. Manufacturers need to be legally required to provide this option at all times, if they refuse to do so (do any?).
Or break them out into a function, then you can "short-circuit" with a return:

int logic()
{
if (cond1)
{
return 1;
}

if (cond2)
{
if (cond3)
{
return 10;
}

return 100;
}
// ...

return defaultValue;
}

Since it's a function, it's also apparent that you are only touching one variable:

myVar = logic();

I love the ternary operator, but I find it's harder to step it in a debugger though.
Æternity Development Update: Generalized Accounts, State Channels and Governance
Sounds great!
Thanks for the suggestion!
I'll solve this later.
I'd say that's true of salaries, but it seems that the investment portion of the analysis is still interesting, as the average investor will be pretty likely to land somewhere around the average return in the study.