skysight-inc/HackerNews huggingface dataset:
A could be a big enough threat that B will buy a lot of votes.

In a way, A can blackmail B, because the money gets distributed later (A will get a lot more back than they put in, because B bought an unnecessarily high amount of votes).

Is this scenario acceptable?
> X == Y: !(X < Y) && !(Y > X)

Only for totally ordered sets [1]. Floating-point numbers, for example, are not totally ordered, because !(NaN == NaN).

[1] https://en.wikipedia.org/wiki/Total_order
>goto fail was caused by a failure to use braces at all - ironically, it seems, for the same aesthetic reasons that significant whitespace is used, because it seems "cleaner."

In Python's case it's not just an aesthetic -- the whitespace is also functional, so that mistake can't happen just for aesthetics.
You mean any chance they'll release data, do proper analysis, post an unbiased view on things to inform the public on the issue? Do real journalism?

I highly doubt it.
As an operator of multiple businesses, I much prefer customers who pay with cards than cash. There is a high cost to handling cash, making sure employees don't steal, counting it, getting change from bank, depositing it, etc. Therefore, it might not behoove the owner of the business to provide a cash discount.
HN thread from two years ago, featuring participation from the paper's authors:

https://news.ycombinator.com/item?id=9477747
> The one downside is it does make Australia a rather boring place to live :)

That's not a bug, it's a feature. There's a reason that "may you live in interesting times" is considered a curse.
Hurricane Irma
Dynamic languages with implicit type conversions are designed to make the easy cases easy (think of JS operating on webpage input, where everything is initially a string; would it have the influence and popularity it does today, if lots of explicit conversions had to be written?), but as a side-effect, the hard cases can become perplexing.

I have no doubt those steps specified in the standard had plenty of thought put into them. It has to handle all the types, as well as those special cases of infinities, NaNs, and +/-0, such that the common cases make sense. However, I think a flowchart or other graphical means of illustrating those algorithms would be far easier to understand.
All new electronic voting machines in Virginia have been required to be optical scan since 2007. Unfortunately when the law was changed the state didn't mandate a date for localities to replace their current touch screen machines with optical scan. The board of elections was given the power to decertify existing machines, which they just used, but have been hesitant to do so due to political pressure from localities that don't want have to pay for new machines.
hi,
i have experience with node.js and mangoDb , also with Linux , ut i am looking for part time job
my email : nourahmedabbas@gmail.com
looking forward o hear from you
thanks
Because the people you pay could just take the money and then cast the (secret) vote the other way. Secret voting is what prevents buying votes today.
Sigh.

Don't duck too much. This kind of config implementation is actually pretty common in some other languages. Clojure, for example. Most configuration files for Clojure programs are written in Clojure, and defended as such.

I also see it frequently done in Python and Ruby, given how simple they make it to dynamically import random files as modules. I've even watched a colleague rant about how they couldn't figure out how to do exactly this in Go.
They seem to have morphed into that over the decades, sure.
Ask HN: How Do You Choose a Neighborhood When Staying in an Unfamiliar City?
For instance, I'll be visiting London over the holidays and want to book an Airbnb but don't know which inexpensive neighborhoods are or aren't safe, nor which listings that claim to be in a neighborhood are actually in a less desirable neighboring one.

(I'm reminded of NYC apartment ads 10 years ago that advertised rentals in gentrifying "East Williamsburg" but were actually deep in the then-dangerous neighboring Bushwick.)

Without devoting hours on end to researching the boundaries and subtle distinctions between neighborhoods at your destination, how do you find a location where you're comfortable staying and don't feel like you're being ripped off?
> But the code using twisted features is hard to maintain afterward.

let a = 0;
for (const record of records)
a += record.bool;

What's so bad about this? (aside from mutable accumulator, but that can be restricted to one scope). The pattern is basically directly lifted from C, where there's thankfully no such thing as a boolean type. If anything, the solution is to fold Boolean and null into Number to begin with.

> You will have to put comments around them just to be sure the next guy (it might even be the author himself) doesn't waste its time understanding what the hell the code is doing.

I sincerely hope that anyone who writes JavaScript on my team knows the coercion rules in JavaScript; otherwise they should probably be writing some transpiled language that lacks these features.
> The study I cite, and the link you clearly didn't click, is simply a table of countries sorted by alcohol consumption per capita

I meant the UK study. You say it can't be right because brits drink more. I say that it's clearly already written as a correlation between consumption and cancer rates (because what else would it be?), which indeed makes your point sort of specious.

> defensive pedantry about the definition of an allergy

You're pontificating on the internet about the validity of alcohol studies, yet dismissing a clear fact about the same subject as "pedantry". I think that says all that needs to be said about the argument. LOL, as it were.
>I'm curious why you think that UTF-8 requires complicated lookup tables.

Because in the end it's still a Unicode encoding, and still has to deal with BS like "equivalence", right?

Which is not mechanically encoded in the err, encoding (e.g. all characters with the same bit pattern there are equivalent) but needs external tables for that.
The particular tribe in question has become relegated to the status of what Yuri Bezmenov calls "useful idiots." When the tribe is no longer useful they will be disposed of.

https://www.youtube.com/watch?v=K4kHiUAjTvQ
Direct debit (or cash). Rental is more often done with direct debit than credit cards.
Be liberal in what you expect and precise in what you emit.
Although I agree with your point broadly, $3k on a laptop is either a business expense or a luxury. Furthermore, tons of non-rich people who do NOT have money to up and pay for expensive medical costs etc. can readily save up for an affordable laptop (you can get pretty decent second-hand for under $1k actually). People who don't have $800 or $500 lying around might sell some stuff on Craigslist or work a couple odd jobs and save it up.

To be clear: everyone should understand that it's MORE expensive to be poor than to be rich. The key is a BUFFER, just like the buffer loading a streaming video. Someone with a $2k buffer can weather most common issues that come up as long as they can fill the buffer up again each time it gets used. Someone with a $2k buffer is not a truly poor person who is in debt and gets payday loans or worries about whether they will eat, but a buffer like can be had WAY before you can be called "rich" (and some rich folks can be incompetent and not keep a good buffer).

The vast majority of people are in a position where they could keep some buffer if they learn to. The class difference here is whether or not someone gets the financial education to care about keeping a buffer.

But obviously, some items can come up and kill any normal person's modest buffer, and then things get painful. And the rest of your points about how the system works are valid.
It's math characters are nearly illegible. The font itself is OK, but the math it causes is rarely used for a reason.
Story of retry
What Is Ethereum and Ethereum Glossary?
If everyone else's baby is ugly, maybe it's your baby who's ugly.
I can understand the risk of having a layer, and I do agree paper ballot does give better transparency. Here is the proposal:

Cast the ballot on paper. Every ballot has unique counterfeit patterns (totally randomized). The ballot is scanned and send to server, with both the scan of the ballot and the eletronic reading. Voter should be asked to verify (but we know half don't do it). The paper ballot is casted the same way as it has always been. We can also read the paper ballot one more time if we have to during the first round of counting. You can't have a fraud unless you cab mainpluate both paper and eletronic. Either both come to same number or they don't. I am just not familiar with how we verify eligibility tbh.

When we count paper ballot, we scan for the counterfeit. If the final number has mismatched, we either have a miscount or an error. Paper ballot will alwsys get recount when there is dispute.

Have we had a re-election in the entire American history, or at least in the past 30 years? Regardless, paper ballot fraud can lead to reelection so regardless of what proposal we will face re-election if we have to, but we normally don't.

This seems like over engineering, but we have to take into account people living abroad almost always now rely on eletronic voting if EV is offered.
Restoring a Soviet-era analog synthesizer
As someone who's moderately colorblind the color change is really helpful, so even for bland data visualizations it's actually better.
Yeah, I guess it is more of a small village thing. They go for walks anyway, and then it makes sense to explore the area around the school.

In bigger cities, I've seen kindergarten trips take the S-Bahn. I guess that also counts as a kind of preparation.
If my efforts have made my employer an extra $X per annum, the financial reality is the company has an extra $X per annum.

We can debate how that $X should be divided between workers, executives, creditors, shareholders and reinvestment. But there's no "financial reality" that means workers' share has to be zero.

Every organisation has rules and budgets and procedures, but they're made by people and if they don't work right they can be fixed by people. It's not like the CEO received the budget from God on stone tablets on a mountain 2000 years ago.

If I wanted to work in some calcified bureaucracy where rules were more important than outcomes and worker performance was irrelevant, I wouldn't be working in the private sector!
More specialized matrix data structures in Clojure on CPU and GPU
Assuming a good cash-back rate of 2%, $2000 spent on the credit card for $40 back.

The point being he's spending the $2000 anyway, so he'd rather get $40 back from his credit card company rather than $0 back if he used cash or debit.
The most common mistake I see when people talk about JS quirks is to assume that this kind of feature is always about fault tolerance rather than convenience.

For example, many languages treat conditions as "if nonzero". From a certain perspective, you could argue that

if (i--) {

is "clearly faulty code".

From another perspective, you would say it's a shorthand whose meaning is obvious to anyone familiar with the rules of the language.

In my view, JavaScript's sin is that its rules are complicated, and it's difficult to statically analyze, so tools intended to guard against its pitfalls can only do so much.

Whether or not the complicated rules are about faulty code is pretty irrelevant. ASI is an error correction mechanism, but its pitfalls are easy to detect, so in modern environments it doesn't matter. The behavior of comparison operators seems to me like more of a convenience feature, but it's still a problem; the rules are easy to forget, and only a very draconian linter rule can protect you.
Great advice. Thank you for sharing this!
>Also worth noting that it's not always true that `a >= b` means `!(a < b)` in JavaScript. `'a' >= null` and `'a' < null` are both false.

That also means that the concluding section of the article is simply wrong. To be honest, it's a pretty poor read – a waste of many words to explain a spec that's pretty straightforward itself, and ending up in a major misunderstanding.
Industrial scale mining often has unintended consequences - there was a long running sand operation in California that caused erosion all around it on the coast unless you asked the company that was doing it.
http://www.mercurynews.com/2017/06/27/controversial-beachfro...
I think in this case "Big Government" means regulation. Actually that's true in many cases.
His work on Base64 decoding might be a start. In many cases it's a matter of how small an FSM or transducer is.

For multiple string match I was looking at doing Aho-Corasick for long strings in a SIMD-friendly way, but it's more a matter of an FSM with relatively few branch points, so that SIMD can digest long label matches quickly just as it does with long strcmp's.
> having `null >= 0` is the best that JS could do while having a coercion-based semantics. And I agree

Well, I disagree. You have to add a third condition for this to be the best you can do, and that is that the boolean type has to be two-valued. But that is not a given. Just as numerical types can include infinities and NaNs, a boolean type could include a third value that is neither true nor false. The IF statement would have a third clause to handle this value, something like:

IF condition
THEN [code if condition is true]
ELSE [code if condition is false]
OTHERWISE [code if condition is neither true nor false]

Like ELSE, the OTHERWISE clause would be optional so this would be a backward-compatible change. By default, existing code that encountered non-true-non-false conditions would do nothing.
There is an umbrella issue that aggregates proposed improvements to WebExtensions [1]. If you look at RESOLVED WONTFIX issues linked in that bug, you will find a lot of them are rejected based on political reasons. For example: [2]. So there will never be anything close to feature parity with XUL extensions.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1215059

[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1246706
>> there are number and string values x, y, and z, such that x<y, y<z, and z<x

Again though < and > are numerical operators as poster pointed out so comparing a number to a string using these operators is... 'nonsensical' if that's perhaps the right term.

Consider checking if object foo > 1. What would that mean?
ah anthropomorphizing animals, never disappoints
Same as every small-government conservative, going right back to Heinlein: the military doesn't count. ARPANET was a military operation.
But it's still not backed by anything, it's still potentially worthless the moment you go to cash it in - you have a better idea of that potential, sure.

And maybe filecoin is an exception - most ICOs seem a little scammy at best, with value based purely on speculation and scarcity.
Right, but that's only one direction. I thought I put it in my comment, but I'm only curious about bidirectional stuff. The best path forward here seems to be WSPR- like stuff, but that requires larger transmitters on the order of tens of meters.
> Presuming that women are in general more agreeable than man in the workplace and that they don't fight as hard and as often for raises, I would expect an otherwise equal male counterpart that is more aggressive to have higher pay. Why? Because the squeaky wheel gets the grease.

If that were true, wouldn't the salaries start off the same and then diverge? Doesn't seem to quite match up with these unofficial numbers.

Besides, at most $MegaCorp, isn't compensation reviewed periodically, and some kind of peer review is included? Which means that agreeableness is less of a factor, which means the process is working.
What does he do to make that kind of money?
That's fair - just pointing out if one hasn't lived there there are some signficant downsides not included in the housing comparison. Grew up there and worked and lived there a few decades later.
Spending a million dollars represents a lot of effort. Even if you're rich.
Although that's all completely good advice for everyone, the facts on the ground are that we can't all be rich. The majority of rich people are the beneficiaries (either directly or indirectly) of an inherently exploitive system. A trivially small number of them actually added true wealth to the world equal to or greater than the wealth they've captured.
That is a good option, but YAML is too complex for my taste, with the optional indentation based syntax. JSON + comments, like what sublime text uses for configs, is a sweet spot for me. If you know JS or Python, you can probably write it instinctively.
Yes. You're correct of course. We should be treating these like passwords, except that they can't be rotated...
> It's AT&T. Call them up, ask for Internet. "No." "What do you mean 'no?'" "The system says 'unknown risk'.

That surprises me. I have relatives who have TERRIBLE credit. Reposessed cars, unemployed, a lifetime of poor financial decisions. They have had no trouble getting utilities or e.g. DirecTV service. They typically have to pay several months in advance as a "deposit" but they are not turned down flat.

Even "unknown risk" would be in the worst case approximately that. Doesn't seem to make sense.
> Actually less addictive, as candy doesn't have a hangover.

Since a hangover is part of the mechanism of dependency I'm not sure how you get to this conclusion.
Source:

https://github.com/uncomplicate/neanderthal

Also used for Bayesian data analysis on the GPU in:

https://github.com/uncomplicate/bayadera
The least favorite things of all developers... Nulls and JavaScript.
Trying to shoehorn MVC into the front-end is also unnecessary complexity.

You can get very far with setState before you need a library like Redux to manage application state. And you can get even further if you use something like Apollo or Relay to handle data fetching. Then your productivity will really soar!

(For me, React + Apollo feels as magic as Rails did ten years ago.)
Based on the tables in this paper, alcohol-caused cancer is responsible for 0.8% of deaths. I don't see how the numbers in the paper could be used to calculate a value of 4% for any statistic related to alcohol+cancer.
It doesn't just matter that men are paid more than women, it also matters why. The article is more nuanced than the title on this point, but it still doesn't come off as very nuanced. But then none of the discussion around this topic ever does.
I always think they each took something from Heinlein - Pournelle got his politics, his passion, and worldbuilding, while Niven got his brainstorming and whimsy. Put them together and you get a whole Heinlein.
定食 is usually served in five or six small dishes, and that’s definitely everyday food in Japan. The tableware is not often special, though.

This article is backward to me. I’ve lived in New York and Japan long enough to know that the best food in NYC is average in Japan. NYC is stuck on a weird old-fashioned idea that French cuisine is the pinnacle of dining out. I’ll take any 4+ Tabelog rated kaiseki restaurant in Kyoto over Le Bernardin or any other Michelin-rated celebrity chef vanity room every single time.
Really throwing the whole kitchen sink at the problem here. They're basically running a RL algo over an ensemble of every successful NLP algo of the last decade.
That site is being developed as Assembly Yards: http://assemblyyards.com/

But I think it could be a good pick since its still under development. The only major tenant I've read about is Serta moving their HQ there.

The only downside I can think of is this is not in the city center, but that is on their nice to have list on the RFP.

There are three other areas I could see if Atlanta was to be considered. (There are likely more but to me these stand out).

First, the Downtown area. I think development there could get the most tax credits and their is a surprising amount of vacant or under utilized land. I don't know enough detail but I would assume that "The Gulch" area and/or "Underground Atlanta" area could be potential sites since they are both up for redevelopment currently.

Second, Midtown could be a good contender. There seems to be potential for redevelopment around North Ave and Civic Center stations. I think the Civic Center is vacant currently and could be a large enough site, but doesn't have direct access to the rail station.

Third, Sandy Springs/Dunwoody. Looking at the area around the Dunwoody Marta station specifically. I know I've seen some master plans for that area online and they could fit the bill. The new State Farms HQ there was able to get direct access to the Marta station (I think). The site where AJC is or the shopping centers with Best Buy would work. It seems that Mercedes Benz was able to get a good deal for moving to this area. There are already a lot of large companies with HQs in this area and its close to desirable areas for executives. (similar to Assembly Yards its not in the city center)

My personal pick would be for Midtown, since I think that the most desirable area and employees would like it better, but the more I think about it, I think Downtown makes more sense for what Amazon is looking for and COA would likely be willing to make a better deal for a major development there.
What "sensitive financial data"?
Non-zero does not imply `1'.

>The pattern is basically directly lifted from C, where there's thankfully no such thing as a boolean type.

There has been a boolean type in the current standard for C for longer than some of the younger people here have been alive.
I'm surprised they left you on a tiered system. They forced us on to a time of day plan which is quite expensive
This tutorial is pretty good, if a bit quirkily formatted.

I'm a Redux maintainer, and I'd like to toss out a bunch of additional resources for learning Redux.

First, I do recommend that people start by reading the official docs [0], and watching Dan Abramov's videos on Egghead [1].

Next, I keep a big list of links to high-quality tutorials and articles on React, Redux, and related topics, at [2] . Specifically intended to be a great starting point for anyone trying to learn the ecosystem, as well as a solid source of good info on more advanced topics. It includes links for learning core Javascript (ES5), modern Javascript (ES6+), React, Redux, and much more. The list has a category containing many other Redux tutorials [3] (and the tutorial linked here is already in that list).

I published an "Intro to React (and Redux)" presentation at [4] , which is a good overview of the basic concepts for both React and Redux. I also frequently publish blog posts on Redux-related topics. I have a tutorial series on my blog called "Practical Redux" [5], which is intended to demonstrate a variety of useful React+Redux concepts and techniques in the context of a sample application, and my "Idiomatic Redux" blog series [6] discusses things like why certain Redux usage patterns exist in the first place, and why I consider certain approaches to be good or bad

I highly recommend that anyone interested in React or Redux check out the Reactiflux chat channels on Discord [7]. It's a great place to hang out, learn, and ask questions, and there's always some people online who are happy to help answer questions. I'm usually online there evenings US EST.

Finally, I personally am always happy to answer questions about how to learn or use React and Redux. Please feel free to ping me on Reactiflux, Twitter, Reddit, HN, or anywhere else you happen to see me :) I'm also keeper of the Redux docs, and always open to suggestions for improvements and offers to help make them better.

[0] http://redux.js.org/

[1] https://egghead.io/series/getting-started-with-redux

[2] https://github.com/markerikson/react-redux-links

[3] https://github.com/markerikson/react-redux-links/blob/master...

[4] http://blog.isquaredsoftware.com/2017/02/presentation-react-...

[5] http://blog.isquaredsoftware.com/series/practical-redux/

[6] http://blog.isquaredsoftware.com/series/idiomatic-redux

[7] https://www.reactiflux.com