skysight-inc/HackerNews huggingface dataset:
> What I would worry about are endless number of doctors and surgeons that spent a life time mastering a skill and will just as easily be rendered obsolete by the same technology.

You mean, because they operate on car crash victims?
I have a couple of SQL habits along these lines that I haven't seen others do.

If I'm typing an ad-hoc DELETE or UPDATE statement, I'll slap the WHERE keyword on the end of the main command line. For example:

UPDATE items
SET
active = 0,
deleted_at = now() WHERE
category = 'Foo'

DELETE FROM items WHERE
category = 'Foo' AND
customer = 123

Yeah, it looks ugly, and I wouldn't use that formatting for "real code," with tests and whatnot. But for messing around in the query editor, I just find that I'm much more likely to accidentally leave off whole lines. I never accidentally select parts of lines. More generally, the idea is to make your partial query invalid syntax, if you leave off the last line.

I also tend to wrap destructive DML in comment blocks. So in my query editor, I'd actually have:

/*
DELETE FROM items WHERE
category = 'Foo'
*/

The idea here is just that I want to be required to select this text and run it. If I have some other queries in the window and somehow accidentally run all statements in the window (didn't select something I meant to or maybe a query is hiding beneath the scroll line), I don't want destructive queries to run.

EDIT: I've actually never made a catastrophic mistake of this nature, but there have been some very close calls. And I've seen it happen several times, from excellent programmers who just made a mistake.
I would say yes. It's akin to running a successful port or delivery system, you can't just buy one and hope for the best, you need to actually either a) have experience and know what your doing or b) hire someone with that knowledge.

Hospitality is a little more difficult as the margins are so tight though, hence the most successful are owner/operators.
> My experience is that LINQ pretty much beats every other way of interacting with a database I've ever seen.

Until you're going to do more complex queries over multiple tables.
It's not a failure of the rules. I was a big debate nerd for three years, and the article is somewhat misrepresentative of how the game works.

To be clear, there are no "rules" in debate except that the judge gets to decide who wins, and perhaps the amounts of speaking and prep times allotted each team. There is no scorekeeping other than W or L on the final ballot. One might reasonably expect that the human element would force debaters to "keep it real", so to speak - speed-reading through a bunch of obviously-bullshit argumentation that a policy will lead to half a dozen different global nuclear wars is not something that most people would find convincing, after all.

What's actually happened is that debaters have built up an elaborate metagame, debating with their own terminology and conventions that have grown obnoxiously opaque to the uninformed viewer, and they've been enabled to do so by some unfortunate realities of the debate environment.

Since it's hard to find normal people willing to spend their Saturdays sitting in a high school classroom listening to teenagers role-play as politicians, debate judges are frequently sourced from within the community - they'll be former debaters, or debate coaches from a different school. Debating for a "flow judge" ("flowing", in debate jargon, is how argumentation is tracked on paper) is a very different thing than debating for a "lay judge", and the debate techniques described in the article are vastly less prevalent in the latter case. Most hardcore debaters, however, prefer to have a flow judge - it enables them to use their entire bag of tricks, and frankly is more fun.

This ends up allowing the craziness of the debate metagame to perpetuate by a couple means - for one, it means that schools hosting debate tournaments are pressured to supply flow judges for as many rounds as possible, especially for important finals rounds (if they don't, students won't want to come back, and tournament registration fees are important part of a debate team's funding). Secondly, it alienates lay judges, who often come out of a round feeling "unqualified" to render a decision, overwhelmed with anxiety about being forced to assign a winner and a loser among teams who might as well have been speaking a different language. Finding a layperson willing to judge policy debate more than once is really rare.

So the problem really isn't that the rules encourage degenerate behavior, it's that flow judges do by continuing to award wins to that bullshit. And in the context of policy debate, I don't even know if I'd call this a problem - we enjoyed our made up rules just fine, and if you wanted something more down to earth you could just move to LD or PF styles.
Do you only see number positions relative to each other or does a number on its own sit in a position in space for you? I'm trying to imagine what this is like.
> This seems to have attracted a lot of downvotes, I guess because it's overtly antagonistic.

A fine example of how it's really difficult to express tone via text (I read it as pretty breezy, not antagonistic), and why we should all attempt to apply the principle of charity to everything we read before assuming someone's being a dick.
STEM CTF: Cyber Challenge 2017 Binary 150 Writeup
Black Annex: A QBasic Game for the 21st Century (2013)
> No distinction between categorical data and strings. R thinks your strings are categories, and Pandas thinks your categories are strings.

I think this is more of an R-ism than a standardization issue. Strings are a pretty universal data type, where as categorical data (factors) are mostly specific to the domain of statistical modeling. IMO Python is doing the correct thing here. Personally I find factors to be more trouble than they are worth, and fortunately `data.table::fread` mimics Python in this regard.
@dang

What's up with this flagging? A contrarian opinion on a tech darling shouldn't be a basis for removal from the front page.
And your would be more credible if it had substance.
Has anyone any experience using this password manager?
I never participated in debate as a student, only as a judge. In this experience I have noticed that (a) debate judges are culled from the general populace, (b) given little to no guidance, (c) potentially given extraordinary latitude in their judgment but not necessarily made aware of that, (d) they generally have some personal connection to the school or the debate teams. (Of course, they should register a conflict of interest so that they don't judge their own school/team.)

After the first few times, and after I got a much better grip on my latitude and what was expected of me, I started to make it clear before I judged, "I find it somewhat hard to follow spreading and I have noticed that I tend to consider plausibility when evaluating arguments, please keep those in mind" and usually there is a flurry of quiet re-strategizing before the debate, followed by a somewhat more meaningful exchange. However it has never quite gotten to the level where anything really felt resolved and it indeed always feels like a bizarre "game".
We don't "need" computing devices at all, so I'm not sure what you are getting at. However, I would argue we "need" a system that is hackable and tries to keep the user's best interests in mind. Look at the power Linux has given us on the desktop/server side of things. I'd argue that a lot of improved security and innovation has come because of that, so lets do it on mobile as well.

I know I personally have a lot of "needs" that aren't being met by the current smart-phone options.
"Jesus Christ will return to the Earth soon" is falsifiable. At least, it's as falsifiable as "Fourty years of exposure to Flouride in the drinking water will turn our children into communists."

"A bunch of people saying that Jesus Christ will return to the Earth soon" is also falsifiable.
Thanks for confirming.

tl;dr max 16G outbound theoretical, per VM, independent of vNIC count. Need to use 8 hyperthreads to do it, due to gcp throttling (2G per vCPU).

I understand some of the constraints but it sure would be nice to get a 25 or 50G rdma capable nic for some workloads.
NewsAPI.org
That doesn't appear to be the case for us. We have sharing and my spouse and son make IAPs frequently. For him, I'm alerted to authorize the payment.
This Photographer Shot the Same People on Their Way to Work Over 9 Years
DTube
> Reduce Compute Emissions to Zero
By moving compute from a self managed data center or colocation facility to GCP, the emissions directly associated with your company’s compute and data storage will be zero.

So basically, you are still contributing to emissions, just not directly. Still, it is nice to see this problem addressed by Google. Does anyone know of a similar promise to use renewable resources by AWS?
We've hopped on the AspNetCore train a few weeks ago and its been a blast ever since. Just having working Swagger API documentation generation OOTB has been worth it for us.

It has the perfect storm of REST API & SPA web app hosting framework features in my mind:

- Annotation and convention based controllers. Binding of headers, body, and query params is so damn easy now.

- Annotation-based Swagger API documentation. It just works if you follow the directions. No need to define metadata classes or any other nonsense. Response types, content types, headers, required properties, etc - its all annotations and its all easy.

- Much better hosting of static content. We love how easy it is to build out a RiotJS SPA web app and backing RESTful JSON API service in one quick stack.

- Flexibility with HTTP hosting: HttpSys, IIS, Kestrel, Roll Your Own, etc.

- Pipeline and extension items are very easy to write now. We actually found it easier and faster to just hand-roll our token authentication pipeline item than to configure an existing provider.

- DI is some intersection of magical and simple. Microsoft's built-in DI provider kicks ass.

- Leverages open-source libraries where obviously appropriate by default. E.g. Newtonsoft.Json as it's the best JSON serializer ever written for .NET (or any language for that matter IMO).

- Can host on Windows directly through full 4.6.x framework for access to DirectoryServices and Drawing or host on top of dot net core for cross platform (sacrificing windows-specific capabilities).

- Windows service hosting features built-in (used to have to resort to TopShelf).

I had to hack in a few things that we liked from the Nancy project (e.g. automatic URLACL setup for HttpSys hosting), but these were very minor QOL items.

I think that every .NET/C# shop should take a VERY HARD look at this stack for any new development. Keep in mind that even though cross platform is marketed as a large part of this, you can reap 100% of the benefits on full 4.6 framework if you still need to operate in that domain.
Depends on the critic.

Infact I'd go as far as to say that a critic has no place running a restaurant. (Caveats below).

Someone who knows the industry and understands what the local population wants? Good chance, most critics (imho) don't, they want the best possible food and service for the (generally) lowesat price. (There is nothing wrong with that). A good critic doesn't make a good restaurant owner though.

Akin as a good blogger about tech wouldn't necessarily be the best person to run your startup.
How was Hangul invented?
How does this work exactly with the rocket back end? Are you saying PathFinder sends back vertex and index buffers on each frame?
I agree with your opinions on the current state of the Welfare system, and agree we need something better.

However I do think their is a non-trivial risk that a Basic Income depending on how it is implemented can result in a sever limiting or loss of liberty. We have already seen that with the welfare system today, and in other segments of the legal system where basic human rights are under continual assault to the point that most people do not even recognize properly the level of oppression that exisits in the world as it is today. They have assimilated the general rules and laws into their lives to the point they no longer "miss" the freedom they lost, or the freedom was lost so long ago no one alive even remembers a time where the law or regulation was not in place. The most common manifestation of these can be found in things like Airport Security, Drug Raids, Police Checkpoints, and about 1000 other things I can list.
For most people, living mobile means that you're going to encounter or have opportunity to encounter far more people on a daily basis than living in an apartment, house, condo, etc. Meeting more people means there are a lot more people that you could send up in a relationship with whether romantic or simply friends, and you're going to have met them in places where you and they have at least one shared interest.
Disabling the Intel Management Engine
SQL server has that, I think it was even the vanilla free version. And it was fast. Going from 10 second queries to instant again. Can't tell you how it compares to Lucene.
Thanks for this! I just obsessively love well-crafted miniatures -- and a good history lesson.
Indeed. Was hoping for more discussion on this topic.

You have a vigilante shorter that roams around markets “identifying fraud and terminal business models” and using strawman arguments with little research to improve his position.

This is probably just as sketchy as his claims about Shopify’s marketing and referral tactics are.
>This is a failure of the "game" rules, provided the intended outcome is something other than this (as it surely was/is). Making a game with winners and losers and any kind of objective scoring system out of something resembling a real activity is really hard to do without distorting that activity until it no longer resembles what you wanted it to.

Right. In practice, if you want to engineer the rules to be good, (I think) you need both the rigid, pre-defined, unforgiving logical rules, and some inarticulable "I know it when I see it" rules.

I wonder, are there any theorems on the bounds of how far an optimizer can deviate from another's agent's desired outcome if the agent is limited to specifying the rules in n bits and can specify p arbitrary vetoes?

(Made another reply, but kept this separate for its unrelated point.)
Thanks, that was helpful feedback/info :- )

1) I'd like the blog post & content to be at the forefront too. What extra features do you have in mind that you would want to disable/configure? Were you referring to the sidebar with the most-recent-comments list maybe?

2) Use your own users: In the future, I would want to support that. Hmm. How would it work. Maybe your website could send a message to the iframe that "the current user is logged in, with username @Someone, real name Some-One, and (optionally) email@exmalple.com?" — Or it could set some name-and-email cookie.

3) Onboarding: Ok really good to know that it's really poor. The email in the config — I should probably rephrase that, then, or maybe auto-pre-fill the email. It's the email one typed on the very first page, when one also picked a website name...

...What has happened is that you've specified which email the admin is going to have ... and later on you need to create the admin account. Maybe I could merge these steps into one. (They make more sense as 2 steps, when installing on a stand-alone server oneself — then, one first specifies the admin's email in a text config file.)

4) Permalinks are supposed to link back to the blog. However, for the blog to be able to scroll down & focus on the linked comment, I need to implement some message passing between the Javascript code running directly in the blog, and the iframe with embedded comments (so the main frame gets to know how far down to scroll). I haven't done that yet, and was thinking that for now maybe it makes more sense to link to the comments over at *.ed.community (where scrolling works, no iframe).

If you got the impression that all this isn't super ready yet, then yes that's correct, it isn't. Hopefully a beta version at the end of october. One can use everything already but ... might be a bit frustrating sometimes right now. I'm about to deploy a new server, this weekend I would think, with instructions about how one configures embedded comments.
Works fine in our household. The only time I'm alerted is when the CC statement arrives. Then I rib her for her CC Saga addiction.
Military funded (DARPA's Social Media in Strategic Communication program) to develop the research necessary for running highly automated global-scale social network propaganda campaigns.
incompetence
Yup. There's a lot of stuff that tries to teach that 'programmer mindset'; flow programming is one end of it. My eldest daughter is 5 and is at the other end: the 'Robot Turtles' board game. She likes it. I really don't know that it will make the slightest difference in her future programming ability, which will range anywhere from epsilon to a lot (and will have nothing to do with me beyond me providing food, a roof, and moral support.)

Were she older, I would absolutely be making sure these got on her radar so I could gauge her interest. Nothing so crass as _showing her_ of course.

I love the risk you're taking here: not only a hardware startup, but also one where success is predicated on passing the cool filter of tween girls. There is something delightfully subversive in marketing C++ programmable jewelry to young girls; it's like a 'fuck you' to Lego Friends. I really want this to succeed. Good luck.
Waymo launching educational campaign about self-driving cars
There is evidence that women are penalized for showing these traits. The same behavior is seen as direct and competitive in men and as bossy and stuck-up in women. Which is also why negotiating while perceived as female can be a very different experience. Generalizing, of course.

It's interesting to read the experiences of trans people who have truly seen both sides.
Safari obviously has some optimization’s being used. On my iPhone 7 it had no issues at all until around 60k. At that point adding new bunnies would slow it down but as soon as you stopped touching it would pop back up to 60fps.

I had to get to hundreds of thousands (maybe 250k?) and it started bouncing between 40 and 60.

Very neat.
Maybe so, but I'm referring to the actual project management process group called Planning I don't mean plan in general but the actual official and formal steps of Planning.

Then the Monitoring and Control process group will evaluate Planning again each time it loops back, so it makes no sense to me their plan failed, multiple times really for each loop. It's even worse knowing that each time they come back to Planning as part of the process they screwed up yet again.
Ask HN: Service to migrate from one cloud provider to another
Is there a service out there that helps automating server migration between the major cloud providers (AWS, Azure, DO etc)? There are a lot of guides on how to do it but I was wondering if there was some paid/free service that would help me do it at scale (10+ servers)
I feel like we totally could, and because of politics and lifestyle inflation, we don't. Take for example, doctors. We don't have enough doctors, they're overworked, and to incentivize that system, we pay them quite a bit (at least in the US). 15/40 is 37.5%, and that "magic number of salary" that doesn't increase happiness is like $75k (I'd offer a better number here but this is one people tend to cling to), so if anyone makes over $200k/yr (most doctors, some lawyers and engineers), they could choose to work 15 hrs a week, still make a "satisfying" $75k/yr, and by being part-time, allow for more positions for the same work. This would especially be useful for doctors since there is a lack of them and their very nature is around the clock, so it would be useful to have more in the rotation. We have the means and the capital, but our society willfully chooses not to adopt this, and it seems a big part is because there is a stigma against being a part-time worker, as if only working part-time makes you a lower class citizen.
We tried actually, but the oddest thing happened to us, we could not connect to our database that way.
I even created a brand new .net core app and changed to target 4.7 as soon as the change is made we lose connection to database
Exactly, the law hasn't caught up yet. Likely they'll take a cue from laws covering rail shipping, but I'm not a lawyer.
Rather than asking "Do you trust this workbook?", why not ask "Do you want to import values or values and formulas?" then two buttons: "Import formulas and values" and "Import values only". Import values only should be the default
Yes, this to me was the most telling part:

That chicken is a confit (with duck fat, aka $$), then served with a stock/stew that takes days (of labor dollars) to prepare, plus cost of employees to serve, stuff to serve it on and rent to pay, not to mention the utilities (the water bills on that cursed grease trap were the opposite of "the gift that keeps on giving"). That damned chicken should be $40! But people won't pay $40 for chicken, so it's $29.

This seems to suggest that the author (who I sympathize with very much) doesn't have much understanding of cost accounting, and therefore pricing, which is near the top of mistakes inexperienced business owners make. The cost of the chicken is variable. The costs of rent, labor, and utilities are fixed on a per plate basis.

I'm friends with the owner of a very large and very successful restaurant and he once told me that he basically makes no profit on food and that the food is just a way to get people in to sell alcohol which is where the majority of his profit is made. It's also true that some foods are necessarily more profitable than others. People won't pay your costs for the chicken confit and you lose a few bucks on every one that goes out? Fine, add a few dollars to your pasta dish that costs far less to make and if you sell the same number you're even. Or, if the chicken isn't profitable and you aren't selling many of them, just accept that people don't want it and take it off the menu.
This is cool, but honestly I think there's a bigger problem that people don't seem to want to address: Housing affordability.

Why do we allow home prices to be so expensive? Simply no one from my (millenial) generation can afford to buy a house. Home prices are so beyond insane, and it's crippling my generation.

I make $200k a year and I'm unable to buy a house where I live. That's how fucked it is.
On the first team I worked on at [corp] we had a corner of one of the bigger labs set up as a test environment, with a row of headless PCs that were used for simulating deployment scenarios. Sitting at the end of that row was a nondescript beige box that was barely distinguishable from the test boxes, except for being a bit older, that had our team's internal website, all of our documents, scratch file shares, databases, etc. on it. Of course there were no backups. At least two times while I was there, they hired temp workers and on day one gestured in the general direction of the shelf full of machines and told them something like, "OK, you can get up to speed by reimaging those boxes for this week's test pass..."