skysight-inc/HackerNews huggingface dataset:
It's how people count things. If you want to know how many sheep or apples are in front of you, you start counting at one, and the number you get up to is the number that there are. If there are i elements of a set, the first element is the 1st element and the last element is the ith element. Doing it otherwise risks fencepost errors.

(There are perfectly reasonable arguments why computer languages might be zero-indexed, whereby objects start at the zeroth offset. But counting from 1 upwards is definitely more natural for counting, it's disingenuous to pretend otherwise).
If there was a horrible fact right under the surface, discussion of which was being successfully suppressed by German/UK speech laws, you would not hear about it.
There was a point in time where that wasn't true but as people started accepting a lower quality of service it became easier to just pay than do the right thing.
Even if that’s the case, those cities don’t all have to be on the west coast. You could have more smaller “big cities”.

But with the imbalance of power where rural America’s vote is worth more per capita than big cities/big states, do you really want to give that power to the federal government?

There is nothing stopping tech companies from “rural sourcing” - opening smaller satellite offices in less populous areas. A benefit of that would be that the tech industry wouldn’t be so myopic.

Do you know how often people on HN wonder how could any software developer live off of only $120K-$150K?
Yes. Not all bullies are idiots. Some are quite clever. They will torment and provoke their victims just off camera, then move into view of the camera as the victim starts to hit back.

Most people who have had more than one kid, or who have supervised children in any capacity, know that some of them will make a game of setting up the other to get blame for something the first one started.
Honestly, I think it's much simpler than that -- the last decade has been a general trend of building more centralized, less resilient systems. The global internet is in an inherently unstable state because of this (i.e. when problems occur, the internet is no longer able to route around them because the problems are internal to large organizations which both control huge portions of the internet and which aren't internally incentivized to separate components -- see e.g. the AWS status images living on S3). These outages are simply more and more frequent as the system's instability increases. And they will continue to become more frequent as time goes on, until organizations realize that they can't control their own uptime unless they run their own infrastructure, at which point the pendulum will start swinging back the other way. Rinse, repeat.
Slack Desktop has 2,065 external libraries
Well I suppose he set himself up for that one.
I use the same script to compress everything, and typically FLAC tends to be a bit more compressed on Blu-ray. I dunno, it seemed like a good idea at the time :)...I should probably do a more-rigorous test to see if it actually decreases the size.

I'm surprised that crf 20 isn't good enough; I admittedly don't own a ton of DVDs nowadays (I bit the bullet and upgraded most things to blu-ray), but on my TV I typically can't tell much any difference after the rip. Granted, none of my DVD transfers have really been "bad"; they're not grainy or gross or anything.

I used to use crf 25 for blu-rays, which worked fine for most things, but in movies that were darker (literally, not tonally), I could see a few compression artifacts, but I don't seem to notice those when I bumped it 20. The ffmpeg documentation itself says that 17 or so should be visually lossless most of the time.
Throwing Linux in with BSD here is not fair. The experience with the major Linux distribution tends to be exactly this: you install them and stuff just works -- especially on desktop hardware.
no one has
Every single person can have multiple definitions on what random means in different situations (use-cases).

My hypothesis is that people use the random or shuffle options when they don't know exactly what do they want to listen to, they have a nice collection (or have access to a huge database), and want to be surprised on what follows.

So, a truly random progression is never what you truly want!
Instead you want a good DJ, that will suprise you and keep the mood going.

Imaging the opposite. A truly randomized playlist out of a list of 100000 songs. Who would want a truly randomized progression? Imagine listening to Beethovens 6th part II, then Sepultura, then Dua Lipa, then Juzni Vetar, and then only after 20000 other songs forced upon you with no context, you will get to the 6th part III.

So, don't ask for true random. Ask for an option that will give you a nice progression, keep the tempo, keep the mood, ask you if it is good (or measure it somehow). Yes, you want to hear the oldies/goldies, but not only those, otherwise it will get boring, yes you also want to be educated, to hear some good songs that you have not heard about in the past, ... just some of the possibilities.

Playlists are a hot topic in the field of recommender systems these days, and personalized playlists, playlists adapted to your mood and liking and your swings in mood from time to time, are the real future in modern players.

Last years ACM Recommenders systems conference had an competition in exactly that - the challenge of automatic playlist continuation. See this link for more details including the publications that presented some of the results of the challenge.
http://www.recsyschallenge.com/2018
I can confidently say this hope will not be met.

> I hope we can view these incidents in context.

The desire to hold some entity legally responsible for any accidents seems to be the key problem. That problem is really about punishing the responsible party. If someone dies because of an irresponsible driver, the outcomes of the case are always some sort combination of punishments: fines, incarceration, suspensions, etc.

Proposed Solution:

Legislation can easily be passed that provides clear guidelines about how these errors of judgement in computing systems can be punished. For example:

In situations of death, $X is paid to the victim's family, $Y is paid to the federal government, the company's automated vehicle manufacture license is suspended until federal review, etc.

Then, its a simple matter of getting humans to sign to agree that they will accept these terms.
Honda has a pushbutton shifter in the Accord, you have to push the button backwards to shift, which seems like it'd be a little harder to accidentally shift, but not impossible, like if you dropped a coin in the shifter button and tried to scoop it out.

https://youtu.be/Y8I94U46T2c?t=55
Personally, I think it’s hugely worth learning. Aside from some eschewed defacto behaviors, Go is very easy to pick up and learn the entirety of in a week or two, because the language itself is really not that large. So I’d argue the time investment is a good one for what you get.

Still, you definitely do not need Go to scale systems. People scale Everything, perhaps most impressively PHP applications.
I am pretty sure that opening an email in a client that is configured to load remote images is consent. After all, it’s your own computer, configured by you, that is sending your IP address to the sender of the email. It is entirely opt-in, just like the use of email in the first place.

If you don’t want that to happen, configure your computer to not do that. Same thing for storing cookies.

The thing that really troubles me is that in this new app-based world, these sorts of options are slowly becoming extinct.
Agreed. If that's the case, then this is completely fair.

If Amazon wants to conceal information about the seller, then they have to deal with the things that the seller would usually deal with.
Make it opt-in with a link on the first email sent to that address?
Yeah, on variable decls it does indeed mean const. It also means inline on functions and static data members (but not global variables).
Ya, that makes my proposal imperfect, however I contend that it would be a huge improvement over the status quo.
CSS Custom Properties in the Cascade
> the band must be a nonprofit

Sure! So, I'll start a software company, let's call it Maxisoft. Then, I'll start a non-profit, "the Maxisoft benefactor's mutual benefit corporation" (A non-profit producing body) who just happens to share officers with Maxisoft (after all, since we're all in business together, it makes sense that we're all friends, right).

> limits on the type and amount of spending

Why? Don't individuauls have an unlimited right to spend as much as they want seeking redress of grievances? Board members could just vote officers a higher salary and then the officers can simply use the corporation's assets (now their own via the magic of payroll) to do the same lobbying, and certainly, you cannot be against the right of an individual (in this case an officer of the corporation) from asking his/her representative for change?

> they're required to publish sources and destination of income

I fail to see how this isn't a massive breach of an individual's right to privacy, but either way, for the most part, donations to a political campaign are public.

Ultimately, IMO, your regulations fall flat, because they all get in the way of an individual right to seek redress. In every case, there is a straightforwards way around the regulation, and there is no way to stop what you are trying to stop without stripping some people of their individual right to petition their government. Thus, we ought to reject all the regulation as an unnecessary overreach.
I admit that in the first couple months it might be more dangerous, but once I get used to the controls, I don't need to think about it and can just go on muscle memory.

Yes it means that one hand is momentarily off the wheel but I drive a stick shift so that's gonna happen anyway.

In any case I'm not completely against steering wheel buttons per se, just that all the cars I've seen have entirely too many of them.

I feel all these gizmos are more distracting than anything else, and take away from focusing on the road. But maybe it's just grumpy old man mode slowly setting in.
Idaho just completely reset all it's regulations.

https://fee.org/articles/idaho-repealed-its-entire-regulator...
It depends on the criticism.

This criticism was one that anyone who drives a Tesla should know is BS. That's why I said it. It is the kind of stupid thing that people think when they haven't experienced the car.

But if you claim, for example, that the tires wear out too quickly, I'd never question whether you're an actual Tesla driver. (But I would bet money that it is your fault for coming out of your stops heavy on the accelerator...)
This is one of the strongest arguments for a higher inflation target. Wealth concentration and an older population have driven interest rates down to the point where the natural nominal interest rate in goods time is near 0, and almost certainly sub zero for any type of recession.

A higher inflation target(3-4%) gives centrals banks the much needed wiggle room to correct a recession. Unfortunately once you're in a recession it's too late to adjust the inflation rate.
You don't need "SSL" (TLS, https, etc.) to serve static, uncontroversial content
Point taken, but they each have 2 senate seats and the Senate decides judges and cabinet members - the Senate has far more power than the House.
Off topic: anyone know why 100% of the time I load a Twitter post from HN it loads "something has gone wrong" and I must refresh the page once to see the tweet?
I do like the keyboard on this T420, it is a pleasure.
When these things happen, to me the more important thing is what will leadership do to change the thinking that led to the problem. Issuing a patch is a solid step, but it's a symptom that points to a need for change in how features are vetted and thought through.
Sliding your fingers on glass/plastic has roughly just one primitive analog in the real-world: dragging paper on a flat surface. Scrolling a virtual map or zoomed-in digital photo is a rare application of that. Everything else that touch screens can do are very poor analogies of real-world things we can do with our hands and fingers, like press buttons and turn knobs.
Walmart is pulling the same crap on their website now, too. Tons of products lists sold by junk third party sellers.

I get so frustrated every time I forget to add the "available in store" filter while searching. The results are useless otherwise.
I think a variant from A Random Walk in Science was "The experiment failed, so we had to use statistics", which I appreciate up to a point. However, I'd hope that physicists calculate error estimates in some sense, and goodness of fit. You hear the statistical significance of results from CERN, for instance.
I agree with you in principle but most of the codes of conduct being pushed during the last major wave had very little to do with that goal. They were clearly targeted at policing users online/offline conduct and values outside of the project rather than fixing any active issues for that project.
That's a straw man, no one has that goal. And it's pretty clear a definition of consciousness that would include a thermostat is so broad as to be nearly worthless.
There is no universe in which “side effect of technology I do not fully understand” would be considered consent.
sysmerge has made the upgrade process a lot easier in the last several years. It was a lot more painful in the past.
> For a number of years now you have to give a phone number to make an account. Doesn't need to be a one-to-one mapping, but it still connects the accounts.

Even if the number is required (a sibling comment challenges that), it only connects your accounts if you only have one phone number, or all the phone numbers you have and use for Google accounts are publicly (or privately but through Google) tied to your identity. Otherwise it does not, to Google, connect the accounts.
Project: http://lstm.seas.harvard.edu/latex

Source code: https://github.com/harvardnlp/im2markup
My main concern is that global climate change will be the excuse the world governments need to increase their power over us.

Governments the world over are responsible for the most horrific of crimes against humanity, it is time for us to find and exercise a new model of governance.
I'm not sure how much the UI is indeed at play here, rather than the User's state. The keyword here is 'rental'. This seems to just amplify grumpiness.

Picking a rented car, I normally don't spend much effort trying to figure out all features. Just basics - adjust the seat, the mirrors, reset the trip, rarely link up the phone. Touch-n-go.

It always gets irritating later, as I would try to figure some needed feature while already on the go. Climate, radio, what's that beeping, which side is the fuel port (while already pulling to the pump), the curiously long-lasting parfum on the seat-belt from the previous renter at times triggering unexpected memories...

I guess, it's just a mild form of self-inflicted road rage. RTFM would be an easy answer, but we all know how that works out.
Ask HN: Am I entitled to financial info before exercising stock options?
Hey HN!

I recently left my job at a startup (DE C-corp) in the Bay Area. I have some vested stock options that I am considering exercising. Am I entitled to see any financial information about the company before exercising my options? Additionally, after exercising these options (and holding my equity) what ongoing company information should I be granted access to?
Yes, it works great. That article is very outdated. The official container images all store data and logs at configurable paths, and you can easily mount external volumes to those paths with docker or kubernetes. If these volumes are persistent disks in the cloud then you also get simple snapshotting and replication.

This is a great setup and effectively provides a database compute "shell" that sits on top of persistent block storage so backups and upgrades are simple to run. Add in orchestration like Kubernetes and you can also run replicas easily.
It doesn’t seem to me like a problem worth solving. What’s so bad about sending an email and trusting that the recipient will get around to it? Send a follow up email if you need to. Or use old-fashioned read receipts (which depend on the recipient to enable them).

Tech shouldn’t really be creepy by default, nor should it really establish needy/clingy behaviour, which is what I think non-consensual read tracking tends towards.

I mean, personally, I would consider it a significant invasion of my privacy if anyone who sent me an email knew when I opened it and, roughly, where, without me knowing.

The problem with the internet and tech companies now is that there is an established pattern of you being able to consent on behalf of other people purely by virtue of giving access to your contact list, or using a certain mail client. You are giving away their data, not your own.
I wonder what the dependency tree looks like.

Flattened like this, it looks ridiculously redundant-- why are there 7 different implementations of extend?
Honestly: This was... pretty fast, the response is not just a statement of belief, but a clear list of changes they intend to implement quickly, and I really have no major complaints about how they've handled this.

If someone wants to use tracking pixels, they'll find software that does it, so I'm really okay with them keeping the feature in... with the removed location information. (I am going to block it anyways, let's be honest.) And most importantly, they recognized the power of defaults for setting how people tend to behave. Making the feature non-default will crater it's use percentage across their customer base.
My understanding is that they are partnering with those companies. For instance, Medtronic produces the 670g, the commercial closed loop system (what I have)
Moving simply to London is not an easy task though, even for a high earner.
Thousands of Immigrant Children Were Sexually Abused in U.S. Detention Centers
I'm aware of what blockstack is. I want to see decentralized apps succeed, but asking anyone to entrust their sensitive social media data to some random website is a stretch. However little the average person trusts Facebook, they trust your site even less.

Nobody is going to clone the repo and run it locally. Anyone willing and able to do that has no need for this tool. You've gotta pack this thing up and make it like a regular application, or at least a browser plugin. No localhost web servers or anything like that. It has to look like a trustworthy and professional app like Slack, Dropbox, or Lastpass.
Except this is about hacking videos not white supremacy videos
Notepads Is Available on Microsoft Store [Modern Lightweight Text Editor]
Show HN: Income-inequality.info – visualize world income inequality
Maybe Superhuman could delete the tracking info it gathered when you opt-out
I think MakeMKV is slightly better than "free as in beer", because you do have the source to audit, you just can't distribute it willy-nilly like with something with a true FLOSS license.

I too actually bought a license, because it's one of my favorite pieces of software that perpetually "just works".
Isn't that kind of a no-true-Scotsman point? Starting from a totally free market, regulatory capture is inevitable (or other anti-competitive practice destructive to free markets). Achieving a persistently "free" market requires at least enough regulation to prevent that transition.
> The one major point of difference is that to make an address allocation in the page table doesn't require a physical allocation

No it does require a physical allocation. The page table entry for the new virtual memory needs to be a physical allocation!

People say 'you can have 256 TB of virtual memory'! Yes you can, but you will need 256 GB of physical memory to hold the page table for that, won't you, assuming 4 KB pages, even if none of that 256 TB is committed to physical memory.

You say 'that's not how the OS's page management tables work' - yes it is! Look up Intel 64 and IA-32 Architectures Software Developer’s Manual, Volume 3, Chapter 4, formats of page-directory entry and page-table entry. It's committed memory.
Almost all of the CoCs being discussed here explicit make no distinction between project communication channels and general communication channels. In other words a comment you made on a generic social media account will see you removed from a project.
constexpr functions aren't restricted to compile time, they can also be used at runtime. Thus constexpr functions can show up in the final executable. Constexpr functions can also control what gets compiled in the first place. For example you can use the result of a constexpr evaluation to instantiate a template.
It's interesting that they zoom in on the energy requirements as driving the $400K housing costs in LA. In the Central Valley developers put up completely code compliant houses for about $150/f2 -- about $250K-$300K. $150/f2 is really quite cheap by US standards. If the price in LA is more (which is understandable) this one factor can hardly be it.

Other factors they mention (single family requirements, lot size, density) have a lot more to do with it.
Nothing says thoughtful engagement like burying controversial subject matter.

It won't be long before right-wingers succeed in building a sustained narrative around MLK's infidelity and communist flirtations that permits them to taint public sentiment. That's par for the course for the vast majority of American Black activists. All the accusations of wrongful equivocation, etc, won't matter, because it's always more convenient to vilify and bury.

I guess it's technically some kind of social progress that traditional American icons are now being vilified and buried.
There's the argument that white guilt is black empowerment. But it seems more like a lateral move and definitely not substantive empowerment of the disenfranchised. What the evolution of victim mentality over the past 20+ years has shown us is that whites and even the rich are able to play the role of victim at least as well as minorities. I suspect there were many more Americans reciting "blue lives matter or "all lives matter" than "black lives matter".
> Even if that’s the case, those cities don’t all have to be on the west coast.

And they aren't.

I mean, New York City exists, for instance.
How to Iteratively Traverse a Binary Tree
Author here.

This was for a United Nations Data Visualization Challenge [1] and it won 3rd place [2].

All the code is available in on GitHub: processing [3] and interactive visualization [4]

[1] http://hdr.undp.org/en/data-visualization-challenge-2019

[2] http://hdr.undp.org/en/content/2019-human-development-data-v...

[3] https://github.com/whyboris/Global-Income-Distribution

[4] https://github.com/whyboris/income-inequality.info
Volcano erupts on Italian island of Stromboli, kills one person
Plants engage actively with their environment, and communicate with other plants. Usually by secreting some kind of chemical ("secondary metabolite"), which makes sense given they don't move very fast.

Things that don't move very fast are at an advantage where energy efficiency is important. The general trend is that low-energy things modify their environment chemically and high-energy things modify their environment mechanically. Compare the diversity of human-discovered secondary metabolites from plants/fungi (low power), insects/reptiles/amphibians (medium power), mammals/birds (high power)

https://www.mpg.de/15791/Plants_and_environment

https://en.wikipedia.org/wiki/Plant_communication

https://pdfs.semanticscholar.org/6b23/df2807a0fb8e77c4922377...
It's historically been hard to do because there's a tendency to just automatically extend the sunsets when they arrive. Though a couple of other replies to your comment have a couple of nice examples.