skysight-inc/HackerNews huggingface dataset:
I'm working with Postgres using Marten, and it let's you do exactly this. I have a console app that builds a model in memory, compares it to a database, and generates a migration script - it works really well.

I recently tried to replicate this with SQL Server and Entity Framework Core, but trying to reverse engineer a database to a model seems impossible.. I can get close, but there are always some things it gets wrong that need manually fixing... at which point I may as well write the whole damn script by hand anyway. sigh I wish the EF team would just add real support for reverse engineering databases.
I can recall this, this was taught to me in Computer Architecture class, while designing the processor.
I agree that there are larger issues here. However, as you mention, there is a disconnect between "non-savvy users" and the Android operating system. If these users also have Facebook it may be one specific example that they can directly apply to themselves.

I agree that data collection is a major issue though, and it probably extends beyond what 99% of people perceive it as.
> Workarounds exist. That's great. I don't care. Workarounds don't address the default experience of writing idiomatic C#.

I blame Unity's GC for what it is bad at. It's both stop-the-world and non-generational. As I said down-thread, it's a lot of work to design for avoiding allocations. Even then, Unity will still GC from time to time, and whether it matters will depend on the characteristics of your game's managed heap as a whole. This is the major stumbling block most times people argue with me about how GC is fine. Your data is like your data, because your app is your app. It's not like my data. The next step is not to use the managed heap for anything that isn't a temporary. Again, quite a bit of work. And the beginners and intermediates who are most of Unity's users aren't going to do it. Hell, in general I consider GC a non-starter for games, but sometimes I want to work at a company that uses C#. So I repeat:

> Workarounds exist. That's great. I don't care. Workarounds don't address the default experience of writing idiomatic C#.
In Lisp other structures come into play that effectively give you early return in various situations, like for example cond.

(cond
(early-return-condition early-value)
(second-early-condition early-value2)
...
(t final-else-value))

A cond as the last (or only) form of a body is basically an N-way switch toward multiple exit points, the ones appearing first being earlier.

In TXR Lisp I made block have dynamic scope, not only dynamic binding. You can do this:

(defun helper ()
(return-from master 42))

(defun master ()
(helper))

I.e. early return from nested helper functions, without a lot of added ceremony.

Speaking of this dialect, here is a function from its C internals, exhibiting a preference for an early return over else:

val flatten(val list)
{
if (list == nil)
return nil;

if (atom(list))
return cons(list, nil);

return mappend(func_n1(flatten), list);
}

If this were in the Lisp dialect instead of C, the same author would write it like this:

(defun flatten (list)
(cond
((null list) nil)
((atom list) (list list))
(t [mappend flatten list])))

and certainly not like this:

(defun flatten (list)
(when (null list)
(return-from flatten nil))
(when (atom list)
(return-from flatten (list list))
[mappend flatten list])

Even if the implicit block around a function body were the anonymous block, so that (return (list list)) could be used, this would still be eschewed as unidiomatic Lisp.
This argument reminds me of the saying that "the map is not the territory". Yes, it's true that evolution will select for organisms that are able to model/understand reality only to the extent that it is practically useful to them. But that still implies that their mental model has some basis in reality.

Consider a map of NYC vs the actual territory of NYC. Yes, the map is only a crude approximation of the territory. Map makers (similar to evolution) are only incentivized to produce maps that are a practically useful approximation of reality, and not a fully accurate depiction of reality. But that doesn't change the fact that the map is still rooted in reality. When the map shows me that Time Square is only a short walk from Port Authority, and that the WTC is much further away, those are all facts that represent reality.

Yes, it can be disconcerting to realize that what we're looking at is a map, and not the territory itself. Yes, there are limitations on how much we can learn about the territory purely from looking at a map. But that doesn't change the fact that the map is correlated with its underlying reality.

https://en.wikipedia.org/wiki/Map–territory_relation#"The_ma...
The PEP8 myth is quite funny. Almost all people I've met who were repeating "follow the pep8" like a mantra, have never read it. The main idea behind pep8 is: be consistent... however even the python library is not consistent. And it looks like no one cares. There was a great moment to make it nice and consistent - creating the python3, where many incompatible changes were introduced. Instead, the mess is like it was, and people repeat the mantra "follow pep8".

Before you say that I'm crazy... please, go and read pep8.
Whataboutism - corporation edition?
Interesting followup by Seth Abramson.

https://twitter.com/SethAbramson/status/978329921192906752
If this is true, what are the ramifications for unauthorized computer access?

Update: looks like the registration link was still listed / open, but my question still stands
So is Sam's Club and that's owned by Walmart?
> protection for him from punishing him due to behavior that is a result of his condition

That's an interesting and problematic aspect.

My wife is a teacher and has started to encounter that attitude more frequently. "He gets angry because he is ${diagnosis}, you can't punish him for it". But when it disrupts the class, and encourages others to behave similarly, then some response is needed to mitigate the situation. There is a responsibility to the class as well as the individual.

Defining that response is the problem. In one example from a local school the child was given shorter school hours as an incentive towards controlling their behaviour. Which is exactly the opposite of what 'normals' receive, detention for disruptive behaviour.
It's notable that people are finally questioning the value of diagnosing every possible thing. In addition to the streetlight effect (https://en.wikipedia.org/wiki/Streetlight_effect), learning a diagnosis that doesn't have a treatment can be just distracting.

The value of a diagnosis depends on the situation. For someone already overly distracted by wondering what's going on, a diagnosis provides relief from that. For someone just living their life and doing all they already can to get by and not worrying about these things, a diagnosis that wouldn't change their treatment/behavior seems just costly.
Email is a great way to scale touch. If you're asking whether you should invest in product or email, you should probably invest in product. Do you know who your ideal customer is? Is the problem your product solves in their top 3 priorities for the year? Are you overwhelmed with order requests / lead inquiries / support requests?

If no to any of the above, then I would just do manual outreach. Get a feel for the customers. Iterate the product. Find product-market fit. At some point you'll naturally wonder if you can scale the successful emails you're sending, and that's when email automation comes into play.
I've never seen syntax like 'if (err) return void handleError(err)' before. If I saw that in JS I'd have to look up what it meant.
I've signed that part of the contract.

Other people haven't, but if they're irked or just shy, stuff happens.

There's no good way to be sure.

Maybe we could employ some sort of thing we could all wear if we're ok with a random conversation or something?
how do you spend those hours, on office hours, when there's nothing urgent to be done ?
It's a tricky question, there aren't many possible "right answers".
Either the place is on constant fire, or there's too much free time ( maybe the team is too large, maybe a downsizing is coming ? ) or people does not have their priorities in order... And you can also pinpoint the brown noses, and backstabbers based on their "PC" answers.

Edit: and make sure to check the restrooms. Employees take on the toilets and sinks all their frustration with the company ( break and soil things ).
Zuckerberg did an interview on CNN last week and basically alluded to what you are saying: http://money.cnn.com/2018/03/22/technology/regulation-politi...
This is exactly right and there are numerous examples of that.
More like we should care about privacy but don't. This is the place that considers Snowden a traitor and Obama (the dragnet drone king) a God.

We can pretend that "omg we always cared about data", but that's not the truth. We just hate Trump so much that we're willing to see Zuck for the snake he is. I guess that's not the worse outcome.
If you are working in C (not C++ with RAII), return early is a huge headache and maintenance hassle. Basically you want to free any loose buffers on any exit path out of the function, and if you only have one place out of the function, you only have one place to put it.

Or, as I think of it sometimes, if you have N buffers and M early exits, you need O(NM) free statements. When the code changes over time with more exit paths, you need to change that many places. So best to make M=1 for greatest sanity.

A language that does this for you more automatically (either RAII, or GC) then sure, early exit away. Although, one further point I do like about the more explicit C style is you end up writing code that looks very similar in the failure path and success path, which makes you prepared for when things inevitably fail...
Not terribly service-y tbh. Some of our customers (post production houses, title houses, prolific producers) help finish lots of films per year and might be receptive to the subscription model. Most of our customers, however, are indie filmmakers who make a film every 1-2 years at best. So as much as we'd love the MRR, subscriptions don't really make sense.

There are some other reasons for that touched on in the interview -- see "What's your business model."
Google Wifi, erase black spots in your home
Could you provide a citation? OP's comment mirrors my understanding. My understanding is that Russia acted both for and against Trump, though primarily for. But that is different than those efforts being coordinated by the Trump campaign.
It's not illegal to record whether you think someone is gay. It's probably immoral if you hand that data over to a country that will prosecute someone for being gay (Russia).

I'm not aware of any US protections unless they came along with recently passed legislation, but the GDPR had some recourse for European citizens. They are now guaranteed a right to explanation and a right to correct the data. So if a person is given a higher health insurance premium, they are allowed to ask for an explanation. If the answer is "Google thinks you're gay, so we're raising your premium," the person is allowed to correct the information, basically saying, "I'm not gay, so please lower my premiums to what they were."
I wasn't being literal. The point is the FDA is overly cautious to the point that they're harming the health of patients. Slight deviations between the US and EU are understandable, 10x is questionable.
Bose have broken the ANC for QC35 II in latest firmware
> import two major versions of a lib into the same compilation unit

When does this situation come up? What is a compilation unit in this case?
I would love to hear more about this if you have more thoughts.

I was thinking "skill" is best measured relative to a benchmark cohort (ie. a control group). In other words, _given_ your education, upbringing, connections, etc., where did you end up relative to the average person in your cohort?

I'd like to think _that_ difference could be explained by skill.

But this falls short for many reasons, including:

1. You could simply be a statistical anomaly, and where you ended up reflects nothing about your skill. If you were to "repeat the trial" (or your life), you may end up average or below average.

2. The more narrow your control group (eg. controlling for parents, beliefs, what TV shows you watched, which friends you had), the sample size becomes smaller and smaller, which means it's hard to find a statistically meaningful cohort. At the other end, too broad a control group and you risk not controlling for the factors which by mere chance highly influence life outcomes.
I've heard this before, but it still seems a fun hobby, especially in domains that may be less exploited like crypto.
I'm really confused by this monorepo thing. So many people have gleefully hopped on to this particular cult, and the most reasonable reasoning that I've heard is it helps to glob together interdependent parts of a system, but I feel like that's throwing away everything we take for granted about what makes good software: that it's better to separate your code into distinct pieces with well-defined scope (and their own version numbers that reflect their interfaces); to expose your interfaces, rather than your implementations, and if someone is dependent on the exact implementation of module B then maybe your design is fucked and you should start over before you hurt someone.

So I'm skeptical of that first argument. What does this do for you that a decent architect doesn't do better? Is it a way for dangerously lazy project managers to justify themselves? Is it because it works for Google so of course it works for everyone? Is it a workaround for Github's private repo limit but nobody wants to admit it because they're afraid Github will figure it out? If Windows needs this, how the hell are Debian, Fedora and Ubuntu doing all these releases? Do you know how many repositories they have to deal with?!
> Completely different than stealing the production of a movie company and giving it to others for free.

Do you mean two consenting adults copying some files?

If you don't mind ignoring laws around taxis, etc. why a special case for copyright?
Has anyone ever tried to quantify the maximum of the Laffer curve?
For sake of argument, if everyone around you is a sociopath and you are not and are feeling empathy and compassion, you'll have problems too, but it's not you who's deficient.

Having a problem doesn't mean your condition need be considered pathological.
not gp, but I did the same thing a few years back (well, lastpass->keepass->pass/git) primarily because I was sick of using a proprietary walled garden.

The main benefit of pass, for me, is that it's literally just gpg-encrypted text files. I can access my passwords even if I do not have pass installed, as long as I have my gpg private key. Using git to sync passwords makes it even better!

The android Password Store app (on f-droid) is a great graphical interface to my pass files, including handling git syncs.
No, what I've described is a textbook example of blatant hypocrisy.

Whataboutism is pointing at an unrelated problem, to divert attention from your problem. "But what about African Americans getting beaten!" to draw attention from bread lines and GULAGs - that sort of thing.

This is an incredibly related problem. The two cannot be discussed in isolation. This is quite literally, one of the top countries for 'interference in democratic elections' having an issue with its election being interfered with by a foreign power (In a relatively[1] minor way.)

Notice how none of the talking heads or politicians are taking a principled stance against interference with elections - they are just taking a stance against interference with their elections.

[1] Relatively, in terms of impact, effort expended, size of the United States.
I recall there was a court case about that. A copy of a program in system memory was deemed non-infringement because it was necessary for use of the software, however (certain classes of) modified copies were unlawful. I believe this is the precedent used to take down cheating apps for (e.g.) World of Warcraft.
It's like realizing that you are short... after decades of being told that the only reason you can't reach as high as most people is because you are lazy.
Do you have proof that the Go team has not looked at any other dependency management approaches or considered ones from other languages?
"There is no serious person out there who would suggest somehow that you could even rig America's elections" --Barrack Obama

https://www.youtube.com/watch?v=y7F7eRM1oiU
thank you, I was just about to start figuring that out myself. :)
MIT-AVT: Autonomous Vehicle Technology Study
To preface this I have not looked into the internal details of vgo, so it could be the world's most interesting solution to this problem. I feel like this is a punch in the gut for a lot of people that spent tons of time looking at ways to solve dependencies in Go. From his post, it looks like Russ never really looked into dep closely as he gave it his "blessing" during gophercon. It seems like whenever there is an issue that gets brought in a proposal (not always but it seems like a lot) it gets shot down by the "higher ups". Not until it gets their attention, or it becomes a big deal to someone (Cloudfare) then is it important. Look don't get me wrong, vgo could be a great technical solution, but disregarding the work of those who actually cared about this issue before you did is a big mistake. It will alienate people in the community who care on improving the ecosystem for those outside of Google. I want to thank all of those involved in dep, it's a great tool that solved my dependency problems! Without you, we would not be having the discussion about vgo and a better way to dependency management in Go.
Thank you! Our backend server is an Elixir (Phoenix) server. It has a separate Elixir process for every current live room, we store all state in Redis. So in case we do a rolling deploy we won't drop any connections and continue where we stopped.

The server is mostly responsible for keeping all room state (the editors, the owner, operations per module) and transforming operations. When an operation comes in at the server, like an insertion, the server will check what revision that operation is at and transform it accordingly if the sent operation is based on outdated code. Then that operation will be broadcasted to the clients and again transformed on the clients to handle any inconsistency.

The library we use for doing the transformations is called ot_ex.

I hope this quick view is clearly written, let me know if there are any other questions!
If anything, I would have said that KeePass provides too many ways to sync devices...

KeePass has a feature to sync two files, and can access a variety of network storages. That's not one turn-key solution, but it covers just about everything. Meanwhile I simply store the file in my Dropbox because I don't do concurrent edits and it's slightly more convenient that way
Tenacious new gun researchers are determined to break cycle of mass shootings
The Mysterious Life of UX Designers
Thank you very much! I appreciate it.
How much math can you do in 10 lines of Python
Exactly! Facebook is acting as the scapegoat right now, even though the breaches into its users privacy can be applied to most big tech companies right now.
Here's a wiki page listing the US interference in foreign elections that we know about.

https://en.m.wikipedia.org/wiki/Foreign_electoral_interventi...
Firearms research: The gun fighter (2013)
I was about to mention how I started using this neat new extension called Workona just this month but you guys are here yourselves. Been loving the organization and cleaner browsing so far!
> These are not regulated products, unless you are using them for commerce

So in other words a major category of medical devices, which are needed to prevent you from dying from eating undercooked poultry or whatever, aren't even regulated, then that seems to support what I was saying.
Much love to the author for clearly thinking through. As GIT was to DVCS, and SemVer to individual package versioning, I feel this proposal is "the one true way" as a starting point by which all future progress will be judged.
Definitely a pet peeve that so many software developers call themselves software engineers. I went to engineering school in Canada, and no longer wear my ring because the work I do is not engineering, it's development.

I'm not trying to knock the software development profession, I have a lot of respect for and derive a lot of joy from the work. There's just a difference between "As a member of this association of professionals, I declare this a safe and appropriate design, and am personally and professionally liable for failures in this design" and "I have push access to master and can deploy code to prod".
Actual write up: https://www.upguard.com/breaches/aggregate-iq-part-one

Important to note this leak only (as of now) ever mentions ted cruz - nothing to do with Trump's campaign beside some handwavy connections between this marketing agency and cambridge analytica. Bannon is also literally never mentioned in the write up.
Yes, Rich Hickey (amongst others I am sure) has talked about precisely this model of backwards compatibility - i.e. if you break the contract you have to rename the thing.

This feels far better than the current model used in most languages. If you've ever had struggles creating an uberjar you know this pain.
Thanks for that; that was a much more comprehensible summary.
I posted a screen but was not banned, I get an PM from admin nicly asked to not publish a screen again before the site and coin-hive will give out their own statements.
San Francisco Has a People Problem
He's right. There was no voter fraud. People really did vote for Donald Trump. Voters may have been distracted with leaked emails or lied to by "fake news" but the votes were real. The election wasn't "rigged."
According to the first article, the code was hosted with a custom version of Gitlab, with the register link still functioning. Once an account was created all the repos were public. If that's true, then it's a public site being accessed through features of the site.
The diagnosis itself isn't important per se. The important thing is becoming aware that you are autistic, thus opening up a whole community of people who have had similar struggles to yours.

There are many aspects of an autistic's life that a non-autistic simply cannot comprehend, and so it's unlikely that anyone but another autistic would have figured out ways to deal with them, and how to better fit into the neurotypical world.

I also guarantee that you have many behavioral quirks and ways of thinking that are VASTLY different from the majority, and that you're unaware of them because you haven't yet recognized the difference from a "normal" person. Learning these things makes other peoples behaviors and reactions to you a lot less baffling, and is the first step in improving relationships.

The sheer volume of literature and people that become areas of interest and information once you are aware of your autism is what makes a diagnosis (self or professional) worthwhile.
A documentary about some of the Steve Jobs' hardest and toughest decisions
How long did this take to build?

I'm impressed that you can build and ship this with a small team and short time, whereas the VS Code and Atom teams are still in beta with their live coding features. I understand scope and scale are very different, but this is a great accomplishment!
Tell them braces are visual indicators of blocks of logic, enabling reasoning more easily on a multi-statement level.
Imagine you have a list of emails from users of your app. You want to send a one-time notification to them. For example, saying that you'll start charging for the app in two months (just an example). How do you proceed? I wish there was an app that would take a list of emails and a Mailgun/etc. API token and send that one-time email to these people.
Isn't yarn locking system a proof that semantic versioning has failed?