skysight-inc/HackerNews huggingface dataset:
That's always struck me as weird. Do you avoid using a telephone because pedophiles and terrorists use them? Of course not. It's a part of infrastructure that facilitates communication, nothing more. If you go to Reddit and hang out on r/python or something you're not going to accidentally slip, trip, and fall right into r/the_donald or something. I just think modern people have this feeling that if we can reach out and screw with other people not by talking to them but through underhanded technological means, we should do so. Which seems a basic social/philosophical problem that technology has no real capacity to address.
Can you give some examples of replacing OO with dicts and lists? I've made classes or structs to make it easier to manage what a few associated lists/dicts were representing, but I'm not sure I've done the opposite. Maybe using lambdas instead of subclasses?
"...neurological diversity should be understood in terms of abnormality = deficiency..."

Diversity becomes deficiency (or a diagnosable illness, or whatever) when it interferes with ones' path through life or enjoyment of life. In other words, when it becomes a problem.

If everyone around you is happy behaving socially and you are not, you have a problem.
AggregateIQ Created Cambridge Analytica's Election Software
Ioseb Jughashvili has a thing for sales, I hear.
"How much interaction is there, during, prior, or after election time, between the political or intelligence arms of the USA"

Great question. We don't know, because either we don't get caught or doesn't happen to begin with.

We can make up all sorts of conspiracies, but Russia got caught so the conversation starts there.
"weekend or vacation crash pads for the rich"

how is that even remotely "for pretty questionable reasons"? it states right there that the rich are using them as second homes and party pads which is very common.

what ticked me off about the article is they claim that there are close to 250K vacant apartments cause they are "priced out of reach for most renters" which is totally false.
You'd prefer lower battery life and worsened browser performance?
It probably helps that everyone visiting google.com, far and away the most popular search website, that isn’t already using Chrome is prompted to install it.
This yeah cool bruh exercise will fail in most of Europe for typical internet boxes where the WPA2 key is annoyingly long and never changed by normal users.
What really happens is the company that over-sold their capabilities gets the $100M and then ends up not meeting their stated timeline but investors are already 9-figures deep so they just accept there were "unforeseen setbacks" and continue supporting the company rather than admit they were hoodwinked.

Meanwhile, the realistic company that was passed over runs out of money and folds.
I see what you're getting at, but it's not quite how I feel.

For me teaching is predicated on having seen far enough to actually be a useful guide. Having said that there may be things I could teach before then, but I'd have to have experienced something major to convince me I was on the right track and the time was right.

Also, regarding the "just enough to be aware" it probably would be enough, but I wouldn't have been able to have reached my goal without the thousands who've gone before, so it'd be paying back that debt. There's just some part of me that knows it's important for me to do that.
My other pet peeve is how some marketers use the words “crushing it” in an effort to make me believe something. I must be getting old, because crushing it doesn’t resonate with me.
Since we're sharing:

[pretty]
lg = %C(red)%h%C(reset) %C(green)%ci%C(reset) %s %C(bold blue)-- %an%C(reset)%C(yellow)%d%C(reset)
lge = %C(red)%h%C(reset) %C(green)%ci%C(reset) %s %C(bold blue)-- %an <%ae>%C(reset)%C(yellow)%d%C(reset)
reflg = %C(red)%h%C(reset) %C(green)%ci%C(reset) %s %C(bold blue)-- %an%C(reset) %C(yellow)(%gd)%C(reset)
[alias]
lg = log --pretty=lg
glg = log --graph --pretty=lg
slg = stash list --pretty=reflg
blg = branch --format '%(color:red)%(objectname:short)%(color:reset) %(color:green)%(committerdate:iso)%(color:reset) %(subject) %(color:bold blue)-- %(authorname)%(color:reset) %(color:yellow)(%(refname:short))%(color:reset)'

lg is the normal log, glg is with the graph, slg lists my stashes in the same format (i find the date really helpful), and blg does the same for branches.

blg can't reuse a pretty definition because it uses a completely different formatting language. The fact that Git contains two different but largely equivalent formatting languages is kind of emblematic of its whole design, really.

Like heipei, i put the fixed-width bits on the left so that they line up. I try to use consistent and distinctive colours for everything; mostly that's obvious, but yellow draws an equivalent between branch names for the normal and branch logs, and stash refs for the stashes. Including committer name for stashes is perhaps foolish consistency, although it would be useful if you do pair programming and use something like git-duet.
Dogfooding does not mean that everything should be built in house. It means you should use what you’re selling.

Microsoft has built multiple source control systems. The world is moving toward distributed version control. I’m happy Microsoft is headed down that path instead of trying to invent centralized version control yet again.
Yea that sounds like it runs afoul of CAN-SPAM. It's supposed to be one-click away, where you can unsubscribe from all promotional emails.
companies with lots of funding have a way about choking their more frugal competitors. they poach the top talent, they take up all the hype in the space, grab the top customers/partners first...
> How much interaction is there, during, prior, or after election time, between the political or intelligence arms of the USA, and the politicians of any country in which the USA chooses to meddle in?

Probably a level which should induce intense concerns in citizens of those countries if they already had a democracy to protect in the first place.

But thanks for the textbook display of Whataboutism.
Hang on, so what is your solution in this strawman scenario? Should we all smile for the panopticon and embrace total surveillance or do we have to wait until Our Team is in power to be able to complain without question of hypocrisy?
> extremely low contrast content and text on the same screen, next to another, and want both to look fine.

With that scenario, you're dealing with physiological limitations, because if you have a bright region next to a dark night region, your eyes cannot perceive detail in the dark region. You'll also be vulnerable to the optical illusion effects of perception (e.g., see http://www.cns.nyu.edu/~david/courses/perception/lecturenote... and other examples in http://www.cns.nyu.edu/~david/courses/perception/lecturenote...), so "look fine" is going to be rather hard to define, much less guarantee.

But this discussion was really about interfaces, potential interest in monochromatic interfaces, and the issues of low-contrast interfaces.

This article from the Nielsen/Norman group clearly describes the usability problems with the currently trendy low-contrast interfaces. https://www.nngroup.com/articles/low-contrast/
This story [1] is fairly widely known.

[1] http://www.businessinsider.com/the-incredible-story-of-how-t...
The difference is that the Republicans use "fiscal conservatism" to really mean "Current President we don't like shouldn't get as much money".

And then they give all the money to the Republican Presidents when they come into power (see Tax cuts, which I personally consider to be lavish spending)

There's definitely a large group of Americans (likely a minority, but still a large group) who genuinely care about the debt, deficit, and balancing the budget. But there's really no major powers in Washington who actually do care. (And the few Senators who do care are nutjobs IMO. Its difficult to find a "reasonable" deficit hawk who doesn't believe in "Gold Standard " or other crap)

I'm talking about simple, and reasonable ways to get rid of the deficit here: increase taxes slightly, reduce spending where we can. Is it really that hard? Alas, no one I'm aware of is for both increasing taxes and cutting spending.

Apparently, cutting spending puts you in the group of nutjobs who believe that cutting taxes magically increases revenues due to "economic growth".

Increasing taxes (which is championed by the left) also puts you in with the Bernie Bros who then spend all the money made on free college education for everyone, and other such projects we can't afford.
This, a thousand times this.

I've often struggled in social situations, I've had problems with friends, and I've had friends simply laugh at me "Oh my god, you're so strange some times" and just take the piss out of me and the things I do / I've done.

Sometimes it hasn't mattered, other times it's really bugged me as I've not understood why I'm the one at fault / why I'm the weird one, and why it's not them that's weird for not thinking the way I do.

Getting informally diagnosed has helped heaps, and resulted in a lot of internal turmoil being significantly subdued. I'm a lot calmer and a lot more secure in my sense of self.

I still operate with a "mask" or "game face" in a range of social situations to avoid standing out like a sore thumb, but I no longer feel the need to ply myself with masses of alcohol to drown the inner turmoil, and I no longer fear the occasional inevitable moment where I'm going to put my foot in it, as I now have an easy narrative to jokingly explain my faux pas away ("oh my gosh, I can be so aspie sometimes, sorry!").

I also no longer obsess about events to try and better understand where things have gone wrong, again caused by wondering "what's wrong with me?" as I now understand that there's nothing wrong with me, I'm just wired a bit differently.

I don't feel the need to get a formal diagnosis, as I now feel like I finally understand myself. Ultimately, life just feels better now.
Apologies on delay in response. I usually focus on website design/maintenance, as well as marketing materials for their events and other initiatives.
ok, that's reasonable response. and as other commentator said, not enough time as it is os takaing 10-20m out of a lecture isn't good.
See - I put stuff in my basket - then keep shopping around, because I need this one thing - but I don't know if I am bothered to receive the item during the week rather than the weekend, or for a million other lazy-me reasons - also I convince myself I get a better deal somewhere else?.. that's why my e-commerce baskets look like abandoned - and then I get hit with discounts and reminders, sometimes you can profit by waiting a day instead of impulse buying things - unless you're running out of toilet-paper or food that is :)
"not that there was interaction between Russia and the Trump campaign."

The FBI strongly disagrees with that statement. Facebook has been proven to be used as one of the tools to achieve those ends.
Huge fan of CodeSandbox! Out of curiosity what approach did you use to handle real-time collaboration on the backend?
got a source on that?
I think because it is hard to beat the HFT systems that are already co-located at exchanges. Second, it takes at a minimum $25,000 and probably $50,000 realistically to even get started trading. Most places wont let you jump in the ring without it. Third, the OP should be prepared to lose all their money and be ok with that.
> What do folks think of the implications of MVS, especially for transitive dependency management?

I can't think of more than a handful of times over the past twelve years (primarily Ruby and Rust) where a newer package broke an existing one, and the majority of those times the problem was a new major version that wasn't appropriately accounted for (e.g., the author should have depended upon '~> 2.x.x' instead of '>= 2.x.x'). I'd much rather have that problem addressed. Assume semver, and make the easiest way of specifying a dependency cap it to a major version.

On the other hand, I regularly deal with the consequences of upgrading infrequently — when you do upgrade, it's a nightmare. As a rule of thumb, the more frequently you update your dependencies, the less net pain you experience. Upgrading once a week is relatively painless. Upgrading once a year (or even less frequently) is a nightmare due to the sheer volume of changes coming in at once.

Also, having transitioned to the security side of things over the past few years, encouraging stale dependencies just means that security patches will never get incorporated. A stable project that releases mostly security fixes and few feature changes will — in practice — never see its minimum version bumped in projects that depend upon it.

My prediction is that this will just result in security patches not being applied and the problem of upgrading dependencies will be made generally worse. I will be happy, though, if I am proven wrong.
Data Security and Privacy Are Vital for Businesses in All Industries
Rich Hickey: Are We There Yet? (2009)
> The FDA is necessary but I do think it could stand to adopt a little bit of the Silicon Valley ethos.

The FDA is necessarily conservative (in the practice, not political sense) but actively pursuing changes like you ask: look at their interest and experiments with adaptive trials.

Out here in the valley they are considered by folks outside life sciences to be stodgy and bureaucratic. But they can move fast. In one (paper) submission I made we dropped one sheet of the 1600+ page document when copying them. Within a week of sending it to them they contacted us for that sheet and we sent it. My board of directors was very interested in how long it took us to reply (down to the minute) and when I said it was less than 10 minutes there was a big sigh of relief. Compare that to the months they gave 22andMe to reply to notices of gross violation that the company had ignored.
No, I want every email I get to be from someone I know. If it's not then hopefully it's from someone I want to get to know.

The only deviations to that are 2FA or receipt emails.
> How about we fix this so that no future politicians can benefit from this kind of targeted advertising - both liberal and conservative?

I’d be fine with it, but the first step is admitting that yes, Obama benefited from harvested social media data as well. No one wants to do that, this is all a Trump thing as far as the media, and therefore the general public, is concerned.
This is good to know. Thank you for the reply.
I think people who poo-poo the Laffer curve deny that we are currently on the right side of it.
Nope. Just try insert code formatter with 8 spaces into code formatted with 4, or 2. IDE will make something that compiles, it doesn't mean that it works properly.
In the end it just doesn't matter if the user understands or not. Most people just don't care either way until it hits them personally. When the violent ex boyfriend manages to track you down even though you have a secret identity just because a mutual friend visited and unknowingly got your location on some social app.
As long as the person didn't become dead to unlock the phone.
Sure, the difference between getting a library card and signing up to a Google account is that usually the first has a user agreement which is about 10 lines long with human language and the second one has a user agreement which is 10+ pages with lawyer speak and probably includes that they are allowed to sell your data. How is it reasonable for a normal person to understand those kind of user agreements?

And if that's your definition of public, isn't everything public, if you have the right amount of money, knows the right people and can get access to the right place?
Kinda agree. I can at least see how dating apps lock people in; most apps require a Facebook account. However, I also think there's a lot of reasons to not want to be instantly connected to everyone you know on Facebook. Annoying invites to political events you don't want to attend. Weird people/Sexual predators/Stalkers messaging you.

People can adapt. In my fantasy football group we used to do Facebook messages until me and another friend dropped Facebook. Now we do group messages or groupme. People you care about will find a way to contact you.
Some of theese are debatable and others, like set operations, are missing
Or you just get distorted view from the streetlight effect. https://en.wikipedia.org/wiki/Streetlight_effect
A film requires an extremely large format display. Not a small high definition display. Ideally it'd be a large, high definition display.

How a film is displayed informs how the film is shot. The same would go for audio as well. How the audio is heard informs how the audio is mixed and mastered.

Not to be condescending, but it's really not hard to understand. People don't make films to be shown on a phone for instance. Or if they do make films to be shown on a phone, then it's not a film they'll be making.
I have not found that and use it extensively. So, I respectfully disagree.

Debugging isn’t significantly harder, it’s a bit harder. In VS you can break on individual LINQ expression stages, read the unpacked values, read the let values, etc. If I’m composing with Bind functions then I can always break either inside the lambda or the static function being used for the bind operation.
The rest of the western world has border controls and customs inspectors guarding the boundaries of their gun free zones.

You mean like Canada?
I don't know about that. There are a lot of non verbal cues like body language, eye contact, etc. Then there are a lot of different ways to start verbal communication that are less strong than other ways.
Always impressed by your incredible pace of development! Congrats!
US interference in other countries' elections is absolutely wrong. It is because it is wrong that I feel justified as a US citizen saying that other countries' interference in our elections is wrong, too.

If the citizens of Iran or Vietnam or Korea or Iraq have a right to be upset at a lack of political self-determination, so do I. Punishing the people of a country for the actions of the leaders they did not meaningfully choose is exactly why US interference is wrong.

And it is because I as an individual care about democracy that I oppose the actions of both my leaders and anyone else to override democracy.
Yeah, it's usually fine to initiate a conversation (politely), it's more about knowing whether or not you should continue it.
C, c++, c#, Java, Python, Lua, lisp, Ada...

Go has its good sides, but it's just a tool. It's not the best, because tools aren't supposed to be the best. Tools are supposed to be useful for what they're made for.
The US has a similar ceremony. However, the engineers are nominated.
When there are so many homeless people in the city, renting out an apartment that will only be used for a few weekends a year is morally questionable for both the renter and the landlord.
Here's the dynamic I've observed as an entrepreneur. On average, investors don't make scientific decisions. Pitches are the input data to these decisions; on average, entrepreneurs who raise capital efficiently optimize for the fitness functions that close deals. Good pitch advice comes in the form: "play the game", "don't be so literal", etc.

On the other hand, average investor feedback does not create a learning opportunity for entrepreneurs who are pitching. Smile f-ing, and backdoor calls to other investors is the language of pitch feedback. It creates a dichotomy where many entrepreneurs feel everyone else is embellishing and investors can't give feedback with candor in any case. Therefor, an internal narrative comes to life that its rational, and even in shareholder's best interest, ie, a duty of a CEO, to stretch the truth in a way that gets the company the resources it needs.
Thanks for sharing! I've been following a bunch of car enthusiasts from Japan on Instagram, and the past week or so they've begun posting photos of the cherry blossoms. Very cool to visualize the actual progression with a map (since I don't know many of the mentioned areas in the posts, usually).
This is basically just some screenshots of a private gitlab instance? It would be trivial to fabricate this story.. Did he post the files publicly?
> What's unclear is not the data but the decisions they made based on the data. Why is that first-day margin of error acceptable for European diabetics but not American ones?

The decisions were being made by different people. It's not like the FDA decided that Americans require a 12-hour window but Europeans only need 1. The FDA is just more cautious.
It's worth noting they ALSO say Russia intervened against Trump. There's at least two anti-Trump rallies alleged to have been organized by Russia.
I have no problem with them offering datasets to the public and just requiring to sign up for an account. But call then Kaggle-Public, Semi-Public or anything else, public data has a meaning that is not what they are doing.

For example, the government where I live (Catalunya) has public data. So I can go to the website and click download, no account required. If that data was distributed via Kaggle and requires account signup to get, I would not consider what they are providing public.
While I think the advice in this post is pretty sound (guard clauses are a great alternative to bailing out of a function in various places, because you can see the conditions up front and not as what is essentially an afterthought), I do take issue with the language we tend to use when sharing advice.

The advice we give is often prescriptive or absolute, in that you have to avoid doing something, or you should never do something, or there is a best practice. More often than not it strips out the nuance, as if the new position has somehow managed to resolve all of the issues that cause the year--even decade--long debates in the first place, and it is far more often the case that the choice is more than preferential.

And what makes it bizarre is evidenced in the article itself: the original, prescriptive position is neutered in a follow-up edit that claims to take the position in balance because it won't make sense in every situation.

The top comment in this thread talks about the evolution of a programmer; surely one of the greater evolutions of your career in the field is to understand that all of this advice is purely dependent on context and an all-or-nothing approach to rule making isn't going to cut it; in fact it will likely make things worse when aspiring programmers take it as gospel and start trying to shoehorn these best practices into whatever code they can, adding all kinds of linters and such to enforce the rules in all cases and prioritizing style over implementation in code reviews. Code must fit in 80 characters in a line; it must omit semi-colons if it's JS; it must use 2 spaces for indentation; it must be extracted into a method if it has more than 5 lines...no matter what.

As an alternative, I instead propose that you think of good or better practices, also known as reasonable guidelines, and if you're going to build a style guide around them at least try to provide some alternatives should the preferred solution not fit the problem the programmer is currently facing. Treat it as an opportunity for mentoring and not just an instruction manual.
Executives are accountable to their shareholders and their customers. As I said, this is why they started censoring, because they know their target demographic/younger audiences' views on this topic.
The idea was that so long as we retained the right to bear arms we would be able to keep tyranny in check. History shows that calls for sweeping gun control are often a canary for planned authoritarian infringements upon our other rights.

I don't think people with guns are going to fare to well against a government with tanks, nuclear weapons, jets, etc.