skysight-inc/HackerNews huggingface dataset:
I brought it up, because the the original post seems to be implying that C# is just copying ES6, and only now "coming up to par". Whereas I think anyone who's not caught in the JS bubble will realise it's very unlikely to be true. There are other .NET languages that have tuples and destructuring, never mind the myraid other languages that have had those features for decades; and ES6 is hardly a panacea when it comes to languages. It's certainly not something that a language designer would be trying to 'come up to'.

Apologies if you thought my comment was snarky, it wasn't my intention.
Curious if you have tried nurses at all and what you thought? Also, any useful resources for colorizing etc? I'm the sysadmin who writes the bland scripts...
Python does not force you to.

In any case where you can use PEP 308, you can use a boring traditional "if else".
> Everytime I see threads that talk about "bad apples" I find it strange that I never see comments that encourage getting "good apples" to apply.

Are you serious? Or being sarcastic?

The whole point of the "bad apples" metaphor is that the bad apples cause the good apples to rot.

https://www.usingenglish.com/reference/idioms/one+bad+apple....

Plenty of "good apples" apply, but are spoilt.
American carnage
Option 3 is to re-train. Every time we see a woman of color think to ourselves "She's probably a powerful executive" and every time we see a white man in a suit we think "he's probably an executive assistant." Like a visualization technique.

The reality is that we're all biased but we're also malleable. If we understand how our biases manifest, we also understand that biases are pretty resilient to reason and goals. They need to be re-trained or manipulated (like through priming and other bias inducing mechanisms.)

This is what bothers me about unconscious bias training. They show that everyone is biased. But the solutions fail to acknowledge that the system can't change just through positive intention.
(Full disclosure: I work for Tyk): The free version of Tyk isn't hobbled, we don't withhold functionality from the open source gateway at all (in fact, that's where most of the new tech development goes).

All features are available and usable, even analytics gathering, though not with our dashboard (but that doesn't stop you using ELK or some other time series DB to store and analyse the data - that's why we have Tyk Pump, to remove any dependencies on our paid-for software).

The dashboard for our gateway is indeed closed and we charge for it, however if you are only running one gateway, then it's completely free.

For non-profits, we offer significant discounts, so it's worth getting in touch with us to see what we can do to help you out :-)
I think the solution is in changing culture. I.E.: make it like China or former USSR. People got jobs in in-demand fields, not in what they were interested in.

That sounds like a totalitarian state that nobody wants to live in. That might get rid of the thought police but you then you have job police, yeah?
RadioShack files for bankruptcy. Again
Why Are Japanese Homes Disposable?
While I still think Windows 10 is essentially the best version of Windows Microsoft has released (I think it in some ways more than Windows 7 and other ways less) moves like ads and the forced updates / restarts just really bring down the quality. I don't understand why they would shoot themselves in the foot so badly.
A collection of decently written sci-fi short stories every three or four months as a pdf/epub file. Think something like what Humble[0] puts out every couple of weeks.

[0]https://www.humblebundle.com/books
Grew up in one of those. Then moved "up" from a 5 story to a 9 story building but same idea.

Many downsides to those indeed, but that feeling of moving to an new apartment after waiting in line for years and years. I still remember it to this day. I even had my very own tiny room.

Interestingly even though those houses were old they were pretty solid, and isolated noise better than a few American apartment building I've lived in, with walls made from drywall and wood.
They're not going to stop, they've done some much like this with Windows 10 and have not once shown a sign of remorse. If it turns your stomach like it does mine, get off of it ASAP.
This incident looks horrible, and it's sad how terrifically disrespectful the administrative assistant was towards the department head.

Events like this often serve (understandably) as explanations for why the tech industry's gender ratio is so heavily skewed. The data, while empirical, seems to be there as well:

>Kieran Snyder interviewed over 700 women who left the tech industry. Almost all of them said that they enjoyed the work itself. It was the work environment that drove them out. And six out of seven have no plans to return.

There's one thing I am genuinely confused by though. It doesn't take a rocket scientist to understand why a woman might want to leave an industry after being treated this way. However, _why is it_ that the tech industry _specifically_ has not evolved like other high paying, high knowledge, and high value fields (principally: medicine and law)?

Medicine and law were both fields traditionally dominated by old white men, that's a simple fact. Another fact is that gender discrimination, harassment, and all of the issues attributed to the tech industry today were also rampant in medicine and law while the gender ratio was so skewed. Yet for some reason, these fields were able to move towards parity, and the gender issues they experience now are a shadow of what they were previously. By gender, roughly equal numbers of women enter medicine as men, for example [0]. If I were to walk into the office of a doctor or lawyer today, I honestly would not be surprised to see a man or woman of any race/background.

What is it about technology, or the tech industry, that is not like medicine or law? While incidents of harassment and discrimination are terrible and deserve the strongest condemnation, I don't think they are the answer for our gender ratio problem. Why is it that while women outnumber men (a lead which grows every year) in graduation rates from colleges, the ratio of CS students in those same colleges is extraordinarily skewed towards men?

[0] http://kff.org/other/state-indicator/medical-school-graduate...
That you need to do this, is frankly disturbing.

Maybe I am a linux hermit, but you guys really abide this shit? I can't fathom a tech savvy person giving this kind of software a pass anymore. I know, lock in, standards, etc. But damn.
> we simply can't afford it

We can. By simply releasing basically every prisoner. Literally less than 1% are truly such threats to society as to require the kind of sequestration that only prison can provide.
SD Squared launches platform to help startups get cloud billing under control
I hate to say it, and seem all superior, but as recruiters, they're supposed to contact highly desirable candidates, and they are supposed to make them good offers. That's their job, they are not potted plants.

As such, their job is to not produce lousy come-ons, or, as has been frequently the case, attempt to recruit people several grades too senior for a post. It's a matter of context, and what might be an intriguing come-on for some (the "rest of us mortals"), is essentially a thinly concealed insult to others. If they took a little less of a cookie cutter approach to their jobs, they might stumble into fewer situations where people are tempted to be uncivil or lose their empathy (that being said, there's no cause to be rude in these situations).
Yes. hstore is an available extension, json is a built-in datatype.

https://cloud.google.com/sql/docs/postgres/extensions
No - Garry was talking about investors claiming to "skip" YC Demo Day who were never invited in the first place.
The whole point is changing it in such a way that everyone "wants" to do these in-demand jobs. Chinese students aren't unhappy with their job choices.

Edit:

I think the easiest way is to simply not force people to self-answer an abstract question of "What are you interested in?" First of all, it's almost impossible to answer it correctly because there is no way you can sample all possible career paths. Secondly, if they don't ask themselves this question, they'll find interesting things in the general job area they're given.
So you're basically saying they're better than a very fragmented (and not very good) vacation home rental industry. Which is both a pretty low bar and hardly a disruptive business.
꽃물 구입판매 PK89.TK 카톡ttzz6 사용후기,서울,사용기법,효능
Look how much we use the web nowadays.

Our shit-abiding tolerance is higher than you might think.
I had a funny one where during the AWS S3 outage a recruiter reached out to me saying that I most likely had free time due to the outage and i should use it talking to him...
I think that Scala uses semicolon terminated lines so you would write something like:

foo = baz
.list()
.filter{ bar => condition(bar) }
.map(transform(_))
.toList;
Could you elaborate why that combination is killer? Is the new billing setup more efficient cost wise? What is the new billing setup?
I guess that makes sense. I think I bought them from a mechanic once, when I was getting the state test and they said the ones I had wouldn't pass.
What exactly has gone away from GCP unexpectedly?
I generally like python's list comprehensions, but they have some ugly warts. For example, a simple comprehension looks like this:

foo = [transform(bar) for bar in baz.list()]

Adding an if condition looks like this:

foo = [transform(bar) for bar in baz.list() if condition(bar)]

But an if/else expression looks like this:

foo = [if condition(bar) transform(bar) else other_transform(bar) for bar in baz.list()]

Adding an else requires completely rewriting the line! Super ugly and inconsistent.

Edit: formatting... don't know why my the 'list()' in my last example is disappearing
You like JavaScript, the language where parenthesizing an expression can change the value of that expression[1]:

> {} + []
<- 0
> ({} + [])
<- "[object Object]"

or how the identity x|0 == x doesn't hold for all "integers"[2]:

> 4294967296 | 0
<- 0

or how function definitions aren't grammatically statements, making this[3]:

function foo() {
function bar() {} // legal
if(1) {
function baz() {} // illegal!
}
}

this just always bites me:

> "a string" instanceof String
<- false

(but seriously, I don't understand why JavaScript needed the object/primitive distinction. I get it for Java, but not in JS.)

> sometimes I feel that the language works against you, and not with you.

JavaScript is the language where you ask it, "here, I want to know which of these guns most adequately shoots my foot."

ES6 improves things considerably; in 10 years we'll have good browser support for basic data structures, like Map and Set.

[1]: I'm joking. Read it first, then return to this footnote. The sleight of hand is this: the first expression parses as an empty code block, followed by a unary plus taking an empty list. The second parses as binary addition. There's also a terrible amount of coercion taking place. This also "means" that binary addition "isn't" commutative: {}+[] and []+{} evaluate to different values; the same trickery is involved.

[2]: the binary or operator, |, silently converts the operands to a signed 32bit integer for the duration of the expression. Note that signed 32bit integer is a type not available to the JavaScript programmer — it only arises internally! (The only numerical type available is "Number", which is an IEEE double.)

[3]: the grammar for functions is essentially "list of statements or function definitions", so function definitions are only valid at the "top level" of a function.
>db-f1-micro

>db-g1-small

>db-n1-highmem-2

>db-n1-standard-8

>D32 Database Instance (16GB RAM)

>Tier D0, D1, D2, D4, D8, D16, D32

What's up with cloud instance naming schemes? I get this is kind of similar to Amazon, but man, I bet these are really unwieldy in conversations esp. if someone is new to a platform.
You may dislike my tone, but it is basically factual.

https://news.ycombinator.com/item?id=9098367

Eich> I joined Netscape on April 4, 1995, to "do Scheme in the browser". Immediately I was out of luck on several fronts:

Eich> [...]

Eich> If there was to be a "scripting language", it had to look like Java.

https://news.ycombinator.com/item?id=2786720

Eich> Remember, I was recruited to "do Scheme", which felt like bait and switch in light of the Java deal brewing by the time I joined Netscape.
VR, too.
It's baffling how many ad spaces they have in this paid for operating system. By default, there's not only this, but also "notifications" that are ads and lock screen ads. I would understand it if it was free, but my employer probably paid $100 or more for it.
Original? pages concerning the format, later reimplemented in standalone mandoc processor:

http://modman.unixdev.net/index.php?sektion=7&page=mdoc&manp...
http://modman.unixdev.net/index.php?page=mdoc.samples&sektio...
I guess this means we were all using 100% of our brains after all...
SizeSlideButton: A custom Swift UIControl which uses some cool animations
I see, makes sense. Thanks.
That's explained here: https://cloud.google.com/appengine/docs/the-appengine-enviro...
Most important difference; the app engine is fully managed by Google (so they do security updates etc), with Compute Engine you have to do it yourself.
Baidu's Deep Voice system learns to talk in few hours with little human help
I've rented thru AirBnB twice in the Tahoe area and both times it had been absolutely phenomenal. I mean unbelievable in terms of value for what I was paying. The competition there must be epic.
Snows of the West – Snowpack and Water in the Western United States
> You are not a high-level language if your standard library struggles with Unicode

So C++, Lisp, Java, Python, Ruby, PHP, and JS are not high-level languages.

HN teaches me something new every day.
We could similarly restrict all food production to rice and people would get used to it and even enjoy it, but that doesn't mean it is a solution towards a more diverse diet.

You are fundamentally talking about increasing diversity in one area by reducing choice in another. Isn't that antithetical?

edit: your edit makes more sense :)
California's terrible (IMO alert) weather is the main reason I've never considered moving out there for a job.
I had a very similar experience to your first interview. I suspect we even choose the same project.
Instead of asking "what is awful about X", how about considering "what would make it better"?

I think this would be easier to read, given that what's inside the [] now looks almost exactly like the equivalent code without using a list comprehension:

foo = [for bar in baz.list() if condition(bar) transform(bar)]

(Disclaimer: I am not a regular Python user. Maybe that ordering conflicts with a syntax for something else.)
> Easy fix.

Is there a bigger warning phrase? I don't think so. I have been caught by this as well. When you think it is an easy fix, you haven't really looked at the problem properly yet.
As a web developer, I feel the same way. The web has really devolved into layers and layers of crap.
Currently on front page: https://news.ycombinator.com/item?id=13835823
Indeed. I find the huge "some_method" example pretty much invalid because I'd assign that dict to a variable first, so the line would be a nicer "return my_dict if y else {}". What person, style guide or PEP is forcing anyone to write some_method's return statement?

I don't get the ideal of saving space and writing huge one-liners (that in Python you'd have to break up over more lines). As they say on IRC: "if you're worried about using too many lines, I can send you a file full of blank ones."
It's very easy to write some plaintext and iteratively add mdoc markup. Trying to do get it all right in one shot is probably a mistake. Most of the common macros, like .Fa for function argument, are mneumonic.
Yup, we targeted GCC, MSVC, plus a few proprietary compilers. As long as you stick to a reasonable set of features(which you should anyway for sanity reasons) it works pretty well.

Having a good CI is a must though but it's not nearly as hard as porting an old codebase backwards.
Well done S.Korea. Any tips for US?
WhatsApp to let companies message you for $$$. Commercialising 1B users
Python is an imperative language.

...as are many others with the conditional operator's operands in the normal (condition, true-case, false-case) order:

https://en.wikipedia.org/wiki/%3F:

I think being "functional" or otherwise has nothing to do with it. Even in imperative languages you must use expressions, and it is there that the conditional operator is most useful.
What types of webservices? Just pure L7 stuff that has forms on it? Is that oauth2proxy just an authenticated reverse proxy or can it add some security context to the internal interface?
Bruteforce database, large password dictionaries
This is obviously a bit pedantic but technically she was already impeached. This article is about her being convicted in the impeachment trial. The post title also doesn't match with the article title which more correctly states that she's been ousted.
Why do you have a limit on the length of a field?

So it can fit in a database, i.e. with a certain number of bytes?
Oh grow up already.
Can't you create a zfs storage pool?
Show HN: A single command time tracker CLI
Hi, this is my first npm package that is getting a couple of hundreds downloads.
It's a super simple CLI time tracker, mostly suitable for 9 to 5 jobs

I hope you check it out and tell me what you think.

Demo and etc.
https://github.com/omidfi/moro
I'm so frustrated with Microsoft. I want to like them -- I'm using (and loving) C# and Visual Studio, I've used Visual Studio Code with Go and Typescript, I'm using whatever they call their cloud version control system, and I'm really enjoying these things... but then they pull moves like this and make me question as to whether I really want to invest my skills and money in their tech. Say what you will about Google's data mining, but I think that putting ads right in the OS is in a whole other league. And as many of us geeks know, this is inevitably going to lead to calls from friends and family trying to figure out what the heck this thing popping up is, and if it's a virus. "Nope, it's just Microsoft."

I feel bad for the MS employees who are making awesome products but then have to deal with all the ridiculous fallout of Windows 10 decisions. Sorry for the rant, but these actions are honestly making me think about discontinuing my use and support of Microsoft's products, and I hope that someone somewhere is listening to us geeks.
One of my banks does this for online PIN entry and it's amazing how much it slows you down not being able to do it via muscle memory.
ES6 actually! Pretty recent: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
So reading TFA, it's simply ads for OneDrive/Office 365 (MS File Sync Products Only). Not general 3rd party ads like it makes it sounds. I still don't like the change but it's not nearly as bad as full blown ads.
Wait, what happens if you upload unencrypted copyright content? I legally own quite a bit of that, as I suspect most people do.
Educate your electorate.
You should give clojure a try, the community resists change not because their luddites, but because change is risk.
so its not a feature, its more of a overlook vulnerability.
thanks for reply
The article lists https://snyk.io/vuln/npm:moment:20161019 as an example of a vulnerability (although not one that is tracked). Could someone explain how a Javascript vulnerability could cause a DDoS? Even if it does cause Moment to hang, how would that affect the server?
I interned at Capital One and had the exact opposite of this article. They are pretty serious about being a tech company and the culture of the software engineer teams was on par with you would think a software company would be like. They definitely were switching to the newest technologies(to the extend federal regulations let them) and were pushing the cloud and ML big time. They are also moving all their tech from a small city to a big city. Hours are flexible and there was good work life balance. Maybe that is just the by product of being a younger and smaller organization.
We're testing out Teams at work because of our O365 subscription. About 15 people now. Most seem to like it other than the massive amount of whitespace the chat window takes up. I personally hate the massive animated emojis.

Though a little hokey, it's free for us and people really just want some sort of chat system. I've looked at rocket chat but I'm a jr level sysadmin with CTO/Sr Sysadmin boss in a Windows-only environment.

I'm a little hesitant to let it loose in our 100+ person environment but Skype for Business sucks and Slack would be too expensive.
Salesforce Chairman Benioff Joins Rometty at IBM InterConnect
Ask HN: Contractors, do you carry errors and omissions insurance?
If I wanted to take up a side-gig running data analysis, how could I limit my liability? Is that even an issue?
Are there ads on the web? I've not noticed … uBlock Origin is a wonderful thing!
Bachelor's in math myself, although my math interests and my programming interests have admittedly (and regrettably) not intersected very much in my career. I do tend to think about problems more "imperatively" in my head and then struggle sometimes to translate those concepts into declarative math notation when doing proofs; if I were able to make that leap more naturally maybe I'd benefit from the notational similarities more.
It might be a rule of thumb, but it's hardly universal.

Bush Sr. got 55% of the Asian vote compared to only 31% for the winning Clinton.
I (and the parent commenter) have done the comparison. The one option at Aldi is always a better value than the 5 options at the competition.
The only reason I use Windows is that still most tripple A games need DirectX to run.
I have used Gatsby for several projects at work and at home. The current version is great, and the features coming in 1.0 are even better.

At work we switched to Gatsby after trying to use another popular react starter. Our page load dropped from several seconds on slow devices to a few hundred miliseconds.