skysight-inc/HackerNews huggingface dataset:
In this strawman example, perhaps. However, code is usually surrounded by other code. So you could have the 'A' in multiple places. By using an explicit identifier you are protecting yourself against typos (depending on the language, it could be a compile-time error or at worst a very clear runtime error instead of a logic error). The other benefit of ASCII_A is that you are signalling that you are doing ASCII comparisons as opposed to using 'A' as a placeholder for a special value of 65 & thus be confusing the reader (e.g. some spec says 65 is some kind of magic value). Finally, by having an ASCII_A it provides you with the opportunity to add documentation explaining why this constant is the way it is (why not 'B'). The benefits scale with the number of instances (e.g. if that specific 'A' appears multiple times in a file, you wouldn't be able to document it in 1 spot).

Of course, all of this is likely overkill for your specific example. If I'm writing a to_hex routine, I'm not going to extract those constants as the context & commonplaceness of the algorithm makes it redundant. For the same reason that one might write i++ in a for loop instead of i += ONE. However, extracting inline constants to named variables is frequently something I look out for in code review, especially the more frequently the same constant appears in multiple places, the more difficulty a reader might have trying to understand why that value is the way it is (or if there's any discussion at all), or if it's a value that will potentially change over time. The negative drawbacks of extracting constants is typically minimal & with modern-day refactoring it's a very small ask of the contributor.
>Jazz music pushes harmonic dissonance a lot farther than "classical" does

Not sure why you say that. Except you're imagining Mozart vs free jazz or something. Both musics have pushed dissonance pretty much all the way.

By "a simple fifth" do you mean e.g. the note G in the key of C major? (depends what harmony exactly) or C and G played together with no harmony, or..

And when you say a simple fifth is "dissonant", do you mean it's dissonant, or "dissonant" (i.e. not dissonant)? So, theoretically dissonant, but not really?

I once lived with someone who listened to no 15 (I think it was) of Messiaen's 20 Glimpses of the Infant Jesus constantly. It's very slow, nothing but super-weird chords. After a few minutes there's a major triad, which sounds sooo weird, like a super-weird chord. So.. that makes "the perception of dissonance isn't musical, it's cultural" not sound exactly right either.

It demands resolution? In what way? Like what? You need to hear a root note after it?

>It doesn't sound wrong to hear tritones

Like in a G7 chord?

>or stacked fourths

The jazz originators of this called it a Ravel voicing.
I think you forgot how maintains computers of these non-powered users, it's us. Advanced users. When I decide Bing or DDG is better than Google Search, then Google can kiss my ass goodbye and my 20 computers I maintain occasionally for family and friends.
This is exactly what I thought. Of course one can purchase a beater car for a small amount of money, but the cheapest car I ever bought was $3000 and I recall spending $500-1000 a year on 1-2 breakdowns a year. The inconvenience of the breakdowns was actually worse for me than the cost of repairs, as (at that time and living in that place) I couldn't get to work when the car was broken down, so I lost income in addition to losing cash for maintenance.
I assume you are referring to the java.lang.Integer box caching situation, which is indeed shitty. However as you've written it, that will always evaluate to true, as it unboxes, adds 1 to each side, and compares the int values, not the references. To get what I assume you are talking about, you need something like:

Integer b = a+1;
Integer c = a+1;
b==c

Which by default returns true for a=126 but false for a=127. A bad situation for sure, but thankfully pretty much every static analysis tool will spot that.
25, and live in SF. No drivers license. Well I had one, but it had expired and I never bothered renewing. I've only personally had to drive a car once in the last 4 years. I recently took a job in the Peninsula, where my commute is now Lyft -> Caltrain -> Lyft, which given the cost of parking in my building turns out to still be cheaper than owning a car - this might be an equation unique to SF.

The only downside of not having a license is getting into bars. Bartenders don't like expired ids and I've been looking into getting a new one.
If there is one thing we should learn from history, it is that making far-reaching predictions about the future of technology can result in feeling very, very silly.

I am reminded of that one IBM executive (I think) saying back in the day that no one would ever be interested in having their own computers at home.

In a similar vein, keep in mind that TCP/IP was invented in the 60s but did not start getting widely used until the 70s.
Would you please stop? She already said she didn't work for them.

Your question was a borderline personal attack in the first place, but I didn't chide you for it, even though this topic makes the downside of such an attack much worse than in a typical thread. Actually I did chide you for it, but then deleted the post because I remembered how sensitive HN users often are to booster comments posted by new accounts. I'm sure you're posting in good faith but this is a particularly poor situation in which to aggressively challenge a new user.
I think that for anyone who has kids, those minutes could very well have been unimaginably awful.

I guess you can think of it like waterboarding. Waterboarding doesn't harm anyone, it forces one to contemplate mortality, but it is also something so terrible that one would not wish on anybody.
Thats because the 'why' is more powerful; from it you can infer the 'what' and 'how'.
It is difficult to evaluate. In some sense a city is either growing or shrinking, and shrinking very negatively impacts municipalities because it is hard to 'scale down' the local bureaucracy. On the other hand too much growth makes the city less desireable for current residents--lots of new infrastructure gets built but most of it isn't for current residents. (Or in the case of SF no infrastructure gets built and the housing market becomes a knife fight in a phone booth.)

In the long term I think that density is too valuable to large cities, and passing up an opportunity to increase density is short-sighted.
You're right, and this wouldn't test debugging skills to that extent. But even with a live debugger you need an appropriate problem.

In terms of whiteboard/paper questions, the fact this touches on the mindset/approach to debugging makes it far better than a lot of other whiteboard/paper questions I've seen.
Living in a small northern Ontario town, I wish we had Lyft or Uber here. Instead, just taxi's (or family) and public transport.

Our public transport is based on a center hub topology with the hub being downtown. So if my kid wants to take the bus to work, about kilometer away, it takes 45 minutes half of which is in the wrong direction and involves at least one transfer. Oddly, it takes even longer to get home.

Our public transport is a joke.
Except that one of the big upsides of autocars is this demographic of people. And many (most) places in the US are not conveniently served by public transit. Heck, I live in one of the better places (Portland Oregon) and even in the core of the city it's going to be easily 2x as long to take PT anywhere vs a private car. IMO the big promise of autocars is the potential for eliminating mass transit along with all it's annoyances.
The difference is that you can't be screwed by a single company deciding to change prices. When people refer to "lock-in", they are referring to being able to be screwed by a single vendor.

Nobody cares if they are locked into x86, tcp/ip, and http. If you don't understand this difference as an engineer, you end up causing a big risk to your company (or clients) without even knowing it.
Many financial transactions take place between parties who don't necessarily trust that the other side isn't fudging their numbers in order to get a better deal for themselves or to conceal information. Auditing firms exist to pour through the financial books of both sides to say, with our due diligence, we've confirmed that the financial statements both parties are claiming are supported by evidence. This is a time consuming process that involves dozens to hundreds of staff, depending on the size of the transaction.

If all of the transactions of a company existed on a blockchain system, this would greatly simplify the auditing process. In order to have access to this system, your financial institution or business would run a node on the network, spreading out the overall cost of using the system. Because of cryptographic assurances, you can guarantee that past data hasn't been manipulated. Using smart contracts, you can also guarantee that every transaction follows certain conditions, making it impossible to do trickery like backdating documents. Security additions (like zkSNARKs today) would enable concealing specific aspects of transactions while allowing third parties to verify their validity.

Long term, you could theoretically have an entire exchange that runs on a blockchain, with asset transfers mediated via smart contracts. The clearinghouses that exist to verify the assets of those who buy and sell, and complete the paperwork to document such transfers, could be largely automated.

All of this can be achieved today with third parties, but you pay a lot for that trust. Once the technology has matured to a point where it's deployed widely and these types of transactions can be automated, I expect the associated costs of that trust to be reduced.
I'm sort of baffled at people exclaiming about the high costs of automobile ownership. Yeah, if you have a brand new car, it's expensive. But I've known a lot of people over the years that bomb around in $1000 third-hand Subarus and junky cars very inexpensively. Mostly because they have to - out in the boonies, there's no bus, there's no taxi, you either drive or get somebody else to.
But you can host your own emails. You can't host your own Facebook page.
It looks like the HN title was changed. To clarify, I posted this to point out that an arbitration clause was recently added to the terms.
You’re all over the place. We are now allowed to overfly Russia.

http://www.popularmechanics.com/military/aviation/news/a2602...

When you control the sky’s you don’t need to fly at 6000 mph.

We have bases in Pakistan and Afghanistan, for example.

Which mission profiles are you describing that are actually needed to fly at hypersonic speed? A lot of these countries are quite small for that speed. A 100 miles a minute.
>But the thing is, I can totally see a lot of people there too adapting their life after what works with these services.

I'm sure you're right. That's exactly what people do. There are certainly things I can't do that restrict where I can go. I'm not comfortable doing any sort of serious 4WD so there are just areas of parks and forests out west I just don't go to.
Because propTypes are leaking into runtime. ASFAIK Flow originally wanted to use propTypes but decided to use compile time only type annotations
What about something like Steem/EOS? The general idea being that anyone can build a centralized UI layer that plugs into a decentralized database. I'm genuinely curious and have not invested in either of those cryptos.
You still have a house to live in, no matter what it's worth. I've never thought you should see a house as an investment, and 2008 proved that.

I don't have monopoly money in crypto, in fact I just cashed enough out to put a downpayment on a house just yesterday (fortuitous timing), but I understand how volatile the market is and I only invest what I can afford to lose.

Honestly if crypto did lose 95% of it's value overnight, I'd still keep on buying, and just wait until the market recovered. I don't want that to happen, I'd love for it to go up forever without ever dropping, but I understand that's not a reasonable idea, especially after sitting through the last two major Bitcoin crashes.
They're inexpensive, you can usually just go to a dealer: http://autoweek.com/article/green-cars/smartphone-or-fiat-50...
Who is this author, and where is his code? I'd like to study it -- I might learn something.
When my son was 3 months, we took him, his stroller, two large suitcases and assorted smaller stuff on a vacation that involved a train, then a ferry, then a taxi to get to the hotel, followed by multiple buses over the following days, then a taxi, a train, a ferry, another train and a taxi to get to the next hotel, then multiple buses again, before another taxi, a train, a second train, and a taxi to get home.

It was not a problem.
The sad thing is how the Air design has infected all their other laptops including the awful non-pro 2016+ Macbook Pros
I crave this for C#/.NET; I was hoping the article was going to mention something about faster edit cycle w.r.t. normal apps. It came pretty close:

> ... uses the new Mono IL interpreter to run managed code at runtime... to be used for quickly reloading C# code and prototyping

So maybe it will/can provide the foundation for faster edit cycles with native apps and not just WASM.
I had a look at beaker earlier today. It doesn't appear to do anything IPFS doesn't do, it just has a pretty user interface.

IMO it would be a much better project if it was IPFS-compatible so that it could benefit from all the existing work that is being done on IPFS.
I'm surprised - most bars I know either don't card because they're upscale enough to not worry about minors, or they don't accept any expired ID (or sometimes even other states). In Texas, a state ID can be issued that is identical to a DL but with a different title. Costs something like $10-20.

Or get your passport, but that's $160 with the book + card.
I've wondered if there couldn't be a reasonable superset of base statements in simple English that had a fuller legal meaning, but were generally consumer friendly and agreed upon by a council of business and government. These could be read and agreed to fairly quickly.

(Effectively the law, but as written for Simple English Wikipedia; and much more limited in length.)

As has been said, reading every legal document in the footer of every site/product is just not practical. The vast, vast majority of consumers are absolutely at the mercy of every company they deal with.
I don't see why percentage is relevant here.
A new platform for improved qualitative research
Granted I don't live in LA, but I've visited many times and I'm surprised by this comment because it doesn't match my experience. I"m much more familiar with Chicago, where a taxi cab will jump a curb just for the chance to run down a pedestrian. Meanwhile every time I've tried to cross a road in LA, the minute I lift one foot off the ground while standing at a crosswalk, traffic in both directions comes screeching to a halt with drivers waving me on against the light. I've found drivers in LA to be far more lenient to the random whims of others (pedestrians and drivers alike) than most cities I've visited.
Could a windowless vehicle help this? If the car is in control, there's really not any need for windows. I know we are a very long way from that level of autonomous cars, but I don't think motion sickness is the biggest hurdle we will need to overcome. There is room for a lot of creative solutions.
Love both Collier and Hancock but I have to confess I didn't really feel the duet. Cool video though. Yoda and young padawan. Insanely talented
Would a private locker at a station, do?
It takes a cynical person indeed to think that Bitcoin is “a waste of time”. Love it or hate it, it’s an amazing idea.

Waste of energy, however, is harder to argue with. Hence PoS etc.
awesome! a lot easier to integrate than gRPC. It will be way more useful after other languages are supported
The quality of the question is subjective. My opinion of its quality is well-researched-and-thought out - you're entitled to disagree but that doesn't nullify the fact there's thought behind it.

You were making out that a candidate would "run for the hills" based on a wild extrapolation about the company's production code - I was responding to that point, which is quite independent of the quality of the question.
Windows 10 could have synced email, contacts, calendars with all major providers
Depends a bit on what you're trying to do, but jazz requires a lot more theory up front in order to be good at it. It might be extra difficult to approach jazz as a classical musician, to try and use the same tools and techniques. There might be ways to think about jazz that make it a lot easier for you, if you are interested.

One of the things that has really helped me with jazz is going through the older standards and singing the voice line while comping the chords on the guitar. Not only is it super fun to play and sing at the same time, but it gives a much better understanding of why the chords are there and what they're trying to do.
Yes! In theory, gRPC has a way to pick custom serializers... but in practice, they are pretty clumsy to use and don't seem very well supported. There's a lot more benefit when you can guarantee that all servers will support JSON, too.
TC39 Meeting Agenda, Jan. 23-25
HTTP 1.1 + json support for twirp opens up a lot of doors too. It's easy for the browser to natively hit a twirp service without the need for large packages such as https://github.com/improbable-eng/grpc-web.
ECM has recently become available on streaming platforms, but the label acts quite aggressively against YouTube uploads of its music, so you’ll either need to use a streaming service or seek out the physical disc. However, I think that releases on the label like the Christian Wallumrød Ensemble’s The Zoo is Far or Vassilis Tsabropoulos’s Archirana would serve as good examples (just two among myriad) of how certain forms of jazz exist quite apart from traditional American expectations.
All proposals that might be made stage 4 (in other words made a part of the JavaScript standard) after this meeting:

RegExp lookbehind assertions [1]

RegExp Unicode property escapes [2]

Async Iteration [3]

Promise.prototype.finally [4]

Function.prototype.toString [5]

Rest/Spread properties [6]

[1]: https://github.com/tc39/proposal-regexp-lookbehind

[2]: https://github.com/tc39/proposal-regexp-unicode-property-esc...

[3]: https://github.com/tc39/proposal-async-iteration

[4]: https://github.com/tc39/proposal-promise-finally/

[5]: https://github.com/tc39/Function-prototype-toString-revision

[6]: https://github.com/tc39/proposal-object-rest-spread
Yes. But what "most people" do is not really relevant if you can do it yourself. Self-hosting is exactly why the Internet is great.
I believe Veoh tried to be like a decentralized YouTube using a bit torrent like viewing client. But this added user acquisition friction because they had to install something versus just pointing a browser to a url.
I've been using my Passport (card) and that was convenient, however I lost my wallet recently - I've been using my Passport, but if I were to lose that, then I'd be a bit more worried.

As far as carding goes, it depends on the establishment. Most bars I go to, don't card, but when they do it's a situation that can mess up your night.
Sure, I understand. The surrounding code would include the type of x, which, if char, would help understanding even more.

But you’re channeling some crazy madness suggesting that someone would use ‘A’ to mean 65. Shudder. I guess we’ve all seen some horrors over the years.
There definitely is something I'm not understanding if this comment crossed the line. I'm sorry, it's still not my intent to negatively affect the quality of this site.

This may seem pedantic, but what do you consider ideological? I said what I said because I saw it as a fundamental flaw of the community. I don't believe fighting discrimination with discrimination is productive, and I believe a woman-only community is discriminatory. Would it have avoided the genericism if I had tied it directly to the thread by saying "I believe this community is wrong because you can't fight discrimination with discrimination?" Or would mentioning discrimination genericize the conversation as well?
Sure, but you'd think we would shift our focus to using models explicitly tailored with that aim in mind. Using something that explicitly approximates a desired, precise, foundation. Perhaps parameterized by model accuracy. I would think taking inspiration from approximation algorithms would be a much more appropriate lens with which to model physics.
From my understanding it was quietness that allowed lobbyists to pass the extension in 1998.
I have been unable to find a great editorial I read a couple of years ago that detailed it, the only major resistance coming from a 1997 sized internet.
I would hope a similar act with social media as it is today would be met with a much stronger resistance.
Identical twins have the same DNA.
The SSDs in the Air are replaceable, but new units are insanely expensive. I've been looking to swap out my 128GB SSD with a 256GB unit (Mid-2013 MBA). An OEM 256GB SSD is around $450, the OWC Aura (seemingly the only compatible third party unit) is $250 -- better, but still hard to justify. There are used units on eBay, but I don't like using second hand hard drives.

Are there any other options out there?
>There's a difference between crying "Fire!" to willingly cause panic over nothing (ie: intent to cause harm), and a mistake...

Sure there is a difference, but - again not all states/countries Laws are the same - it may depend on who has to prove that it was a mistake.

And of course it may be classified as an actual crime or as a minor civil infraction.
Isn’t this misuse of DNA data literally called the “prosecutor‘s fallacy”?

The DA says, “there’s a million-to-one chance it wasn’t this dude.”

Without any other evidence linking the purported perp to the crime, the reality is that the DNA only shows he’s one of 350 people who could have done it (assuming a population of 350m).
The thing for me is that, if I were living in that area, I'd be driving into the Santa Cruz mountains, Big Sur, the Sierras, etc. all the time. Which you really can't do unless you drive or someone else drives you.
The ultimate use case is control and tracking beyond any form created thus far.

Paper currency that may be in your pocket has serial numbers printed on it. Those numbers cannot be readily associated with an individual. Bitcoin and all other blockchain systems can be connected to a user directly or through alternative methods. This is ideal for government and is the direction most are taking - control over blockchain systems and therefore control over the system's users.

Pointing to credit or debit cards is a poor comparison since those require significant hurdles for participation. Cryptocurrency requires only a smartphone or some kind of computer and a rudimentary internet connection. The infrastructure for the entire system is already in place, unlike growth of the early internet needing computers and modems. Transactions work now and have been for years; higher level functions such as decentralized exchanges, asset registration and such are gradually being tested and implemented.

Meanwhile, users are voluntarily joining. Government needs do little other than take some corrective actions and dictate rules for usage of cryptocurrency that can be enforced within borders. It's a control-freak's dream come true.