skysight-inc/HackerNews huggingface dataset:
>I think the average software engineer is underpaid relative to the value that they deliver to a company and the economy in general.

People see the sticker price of things and do some napkin math, but I'd be willing to bet in most cases, if that employee were to make the product on their own (with no help or resources or existing customers), they would not be able to make the same amount of money because they would have to face "new company" risks and statistics. That is pretty bleak.
Navigator.sendBeacon() – MDN
Find a local DEFCON group
That's about when the body enters the ketosis state and the brain starts getting energy again, this time from burning fat.
If author is here, there's a typo in the text. It says "iso6990" but should say "ISO 9660".
O(0) would though, right?
https://news.ycombinator.com/item?id=13674890
I am skeptical that retraining solves much:

http://www.npr.org/sections/money/2017/01/27/512060753/episo...

It's ironic that you bring up mythology about welfare queens, while supplying something what I suspect is an equivalent myth of people being unwilling to take proactive steps to help themselves..
Kinda what I wanted to know too. At least they (eventually) offered a way to turn them off without turning off all custom avatars.
I would not call this trait of yours leadership, I would simply call it a personality trait. It, by itself won't make you a good leader.

I'm still wrapping my brain around the concept, but I conceive of leadership as a broad collection of social skills oriented around driving an organization of people towards a goal. One needs vision, persuasion, strategy, a certain ability to see and work with the darker side of human nature, emotional maturity, and probably more. All of these need to be identified, worked on, and refined over the course of a lifetime.

There's just so much to being a leader that it can literally be a life's work. It's so fascinating to watch different organizations being led by different people. Anybody can run an organization, effectively leading it is another thing entirely.

You can see the leadership style of Donald Trump just doesn't work very well at all in the Office of the President of the United States, it's essentially causing a mutiny in the rest of the executive branch.

Organizations are products of the people at the top, and develop inertia of their own. Leaders have to manage this inertia, Trump is used to operating very quickly, but the Executive Branch of the US Government is a massive ship to steer. Time will tell if Trump is up to the task of getting the ship in order.
> Write a function that determines if a number is prime. If they didn't know what a prime number was, we would tell them.

Did you also give them an algorithm to implement or was a brute force method good enough?
The pesticide probably doesn't look very different in the visible spectrum at that low of a concentration - otherwise its presence would be pretty easily detectable to the human eye. If you require detection capabilities exceeding the human eye you're going to need a much more sensitive setup.

Most chemicals have characteristic spectra in the infrared, so you'd need sensors going to much larger wavelengths to have significant difference - even then it would be hard to detect against the variation in signal from fruit.
> Because talking with confidence will go 90% of the way to convincing people that you know what you're talking about.

This combines with the fact that the vast majority of people do not want to get into a confrontation. Consequently, everybody thinks that everybody else agrees.

> It's so effective that when you complain about these charlatans, YOU look like an asshole, even when you are completely factual.

You have to get good at zapping these charlatans with humor and sarcasm. You zap them when they say something obviously wrong and make people snicker at them so that when you genuinely need to oppose them you've already laid the groundwork.
Ladies and gentlemen, Air Hollywood!

A plane without wings flies about as well as any other largish tube, i.e. approximately straight down. As for a plane without engines - the ~5 successful jetliner landings w/o engines in the entire history are called Miracle This and Miracle That for a reason; those things need a lot of power just to keep in the air. Speaking of which: iginted fuel would be the least of your worries - destroyed wing parts means destroyed lift; again, good luck flying a brick.
I miss, dearly, being able to throw more RAM and bigger SSDs in my retina -- especially since the machines last so long that prices fall substantially over course of ownership.

My eyes would hate me for going back in DPI though -- I even had to switch my desktop monitors out, its just that much less eye strain for me.
You are confusing your own products. AdSense. Not AdWords.

The various forms Google makes available for appealing suspensions are pretty much useless.

I urge you not to believe what I am saying here as well as not feeding within your own internal echo chamber. Use your own search product to search the 'net for the thousands of stories of various forms of algorithmic account suspensions, the damage they cause and how frustrating it is to get anywhere with Google.

Based on what I've witnessed personally and what I've read online the idea of relying on Google products for anything business critical terrifies me.

You --Google-- needs to truly care for it's clients and, as I said in a prior post, issue a guarantee. I am NOT talking about a guarantee of uptime for a service, that's irrelevant here.

What I am referring to are guarantees of service longevity as well as protection and recourse from algorithmic account suspensions. A business person needs to have the ability to address and discuss misunderstandings or problems and not have their entire Google-provided infrastructure evaporate overnight with nowhere to go.

To me the matter of free vs. paid is immaterial. Google and companies like Google use free services to gather and monetize audiences. For example, nobody would pay for search. Nobody would pay for a Facebook account. So you use free to bait the hook and capture audiences. This is a technique as old as the Internet, with browsers such as Netscape and earlier being the first land-grab-through-free-products.

If you are going to have a virtual monopoly by resorting to free products you also have to have the responsibility of not causing your user base irreparable damage by pulling those product either by early termination of the services or termination or suspension of account without recourse. At the moment you are large enough to not have to care about this one bit and nobody has challenged you in court for this terrible issue.

Start here and read through a few pages of links:

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&e...
Dunno. Meg Whitman and Carly Fiorina seem to be quite good counterexamples to your thesis.
Not all companies in all countries are quite so rigorous about checking for current valid prescriptions as others.
Rather than an edge case, I'd call this a case of trying to satisfy two incompatible goals: fast and internally consistent after each deletion.

Either implementation will be a poor choice for some use cases (hence the bug reports about both).
That's pretty cool, although it ought to be mentioned that x must be a uint32. Here's a proof:

λ> import Data.SBV
λ> prove $ do x <- Data.SBV.sWord32 "x"; return $ (x * 0xaaaaaaab .< 0x55555556) .== (x `sMod` 3 .== 0)
Q.E.D.

Are you sure it doesn't work for other factors? It seems it works for 7, 9, and 11.

λ> sat $ do [a,b] <- sWord16s ["a", "b"]; forAll_ (\x -> (x * a .< b) <=> (x `sMod` 7 .== 0))
Satisfiable. Model:
a = 28087 :: Word16
b = 9363 :: Word16

λ> sat $ do [a,b] <- sWord16s ["a", "b"]; forAll_ (\x -> (x * a .< b) <=> (x `sMod` 9 .== 0))
Satisfiable. Model:
a = 36409 :: Word16
b = 7282 :: Word16

λ> sat $ do [a,b] <- sWord16s ["a", "b"]; forAll_ (\x -> (x * a .< b) <=> (x `sMod` 11 .== 0))
Satisfiable. Model:
a = 35747 :: Word16
b = 5958 :: Word16

So a is equal to 7^{-1} mod 2^16, and b to ceil((2^16-1)/7), etc.
I just recently started using my Yubikeys (in Challenge-Response mode) w/ LUKS to unlock my drives at boot -- it's pretty neat!

On my primary system (a workstation, at home), I use the Yubikey to house my GPG keys and I use the "derived" SSH key that lives inside of it for authenticating to everything at $work. It was a bit of a PITA to get working -- points at gnome keyring -- but it works great. I have a Nano I'm about to set up the same way and just leave it in my primary laptop permanently.
I really like XMPP and use it with conversations.im every day. I even have my own XMPP server for friends and family, but it feels as if only very few developers spend time on modern clients. XMPP with its extensions is pretty mature and works great (if properly implemented). Sadly there very few up to date clients. Conversations.im seems to be the exception here. It is very stable, mature and energy efficient, but still lacking audio and video support.

I wish there would be more devs building modern clients for XMPP instead of building the 100th communication system.
>This doesn’t have any effect on the phone, however. I have to tap back, return to the login screen, and enter my password again

I believe you can simply hit the login button (sans code) after validating the login attempt instead of closing the application.
As a programmer and a pedant I agree, though the distinction may have not been important in practice in library context.
Make two versions RejectSlow() and RejectThreadUnsafe() ?
This is a great example of Peter Principle (https://en.wikipedia.org/wiki/Peter_principle).

"managers rise to the level of their incompetence."
Anyone has a list of what are the typical sources of non-determinism (other than compiler and automake versions)?
>I think the takeaway is that for anyone who is not vitamin A deficient, eating carrots will do nothing.

I imagine that vitamin-A deficiency must have occurred rather frequently under WWII rationing. Perhaps this was a real concern at the time?
>Both C++ and Rust manage shared ownership poorly

Both C++ and rust encourage exclusive ownership. And that's a good thing.

> RAII in my experience is primarily the consequence of poor support for higher order functions or equivalent functionality in a language.

HOF tie resources to lexical scope; RAII ties them to object lifetimes, recursively. In turn lifetimes may be bound to a lexical scope, but often is not the case.
I wrote something similar a while back: https://github.com/m0ngr31/VirtualDesktopManager

I switched to Linux soon after though, so I'm sure this project is much better now.
More people should know about Yalp! Awesome.
> So for those who are still running on devices with Play Services, it will still use GCM, and hence won't be a drain on the battery?

Correct
It's very unlikely that such a global minimum exists if it is not zero, and it is probably zero if you consider all of the things which are free, and do not consider survival skills "stuff"
Of all the great OSes, NetBSD seems to get the least fanfare but it's always been my favorite. It's fast, secure, and due to a well reasoned architecture it works on everything. pkgsrc is amazing. They also have a very helpful, friendly community. It especially warms my heart to run `ps -ax` on a new install and see all of about 10 processes. The OS feels lean, neat, and organized, and I feel like I know exactly what is going on, where to find a given file, etc.

These special strengths -- vast hardware compatibility, rump kernels, now full reproducible builds, are all enabled by a greater underlying (and seemingly underrated) technical excellence.
I wouldn't describe your participation in this thread with anything so advanced as a "position." You're just providing a bundle of sanctimonious outrage on behalf of others.

edit: for the record, tomlock, I think you should keep giving hell to the deplorables in threads like this one: https://news.ycombinator.com/item?id=13684668 and some of the other ones. just don't get full of yourself.
Uber has hired former Attorney General Holder to probe allegations of sexism
Yes! This was a practice beat into me (not literally, but close) at my first programming gig in the 1980s. "A compile should not produce warnings! If the code producing the warning is truly intentional & deliberate, then grab a senior developer to review and ONLY if he agrees we'll issue a #pragma directive to tell the compiler to ignore it. But most of the time, (99%+) there's a way to do what you want without triggering a warning."

Most of the time it was simple mistakes or laziness like a downcast conversion leading to loss of precision, etc. but occasionally on review we'd find somethign really stupid/dangerous like type mismatches on a pointer ("well, no, that index into a string should NOT be used to reference memory...") or a return before a free() call (memory leak), uninitialized values (yay for random behavior!).

I thought sloppy, warning-riddled code was ancient history until last week, when I did a fresh install of R Studio on a server + a couple dozen packages, watching page after page of gcc compiler warnings scroll past.
I remember a thread a few months ago where said the twitter feed google had up for promoting working at google was evidence google wasn't interested in hiring male coders anymore.

If only you applied such rigorous quantitative standards of evidence to your own claims.
Inside the Macedonian Fake-News Complex
I don't know why I keep reading these reviews, but I do. This one seems decent, he covers everything from his real world experiences. I was kind of not surprised at his conclusion...

As it is, it feels like a little “fuck you, suckers” from Apple and I can’t help but feel a little disappointed.

That is due mostly to the price.
In addition, many countries don't have prescription requirements for contact lenses at all, so there is nothing to check.
EverOrg: EverNote to org-mode migration
> If Nim continues at the same pace, it may displace Python.

Um, no.

Look at how long it took Python to displace Perl. And Perl was actively shooting itself in the brain for years or that probably wouldn't have happened.

Python is far more embedded in certain areas now than Perl ever was.
In this case, perhaps mutability is the real problem. Array#filter is quite fast in JS and never mutates the array.
It's not a bug in the method, but it should be.

A peeve I have with Ruby is that methods in the standard library don't have defined big-O complexities. If they did, I don't think reject! would have been specified to be O(n²), and so it would be a bug.
You mean O(1) (alternatively, O(k)) -- from the definition of Big O notation, O(0) is nonsensical. But even then; O(1) just means "constant time", it does not mean "soon."
> It's sad because NZ was originally on the track to be a socialistic paradise.

I have the complete opposite opinion. Part of NZs problem is it has too much socialism. Income taxes and sales taxes are sky high. Which is part of the reason why property is so overpriced - why start a business, generate wealth and get taxed to death when you can just get on the "Property Ladder" and make it worse for people who aren't on it yet?
Are you a relative newbie at functional programming? Do you have about a month? Then I highly recommend Prof. Dan Grossman's free online course: https://www.coursera.org/learn/programming-languages/

He teaches the syntax, semantics, and idioms of ML-style typed functional programming using the Standard ML language as a teaching vehicle. His explanations and course progression are really good. It will open your eyes to FP.
But there's a catch: They may not name it "Signal", probably.
Does it also work if I have a Remote Desktop RDP session at full screen?

In my Mac configuration where I have several RDP sessions, I can switch from full screen RDP to full screen RDP with Ctrl+Alt+Left/Right, which is a joy (I have an IBM Model M without Win key).

I have not managed to do something similar with W10.
> [won't] any function that retains ... elements that pass some predicate going to have to do basically the same thing that reject! does ...?

Well, possible things you might want that still fall under the banner of "in-place reject":

- single slice at the end, vs atomic iterations as the article stated

- traversing the list in different directions, or according to priority

- aborting part way through

- any of a million domain concerns

If you rolled your own iteration, you have a platform for handling any of these. If you used a library, even the standard library, you need to start over from scratch, and either build your own iteration anyway, or find another library.

The exception to this is something like Haskell where the abstractions of the abstractions are modelled in the type system, so you never have to start anything over you just bisect your types and reassign responsibilities around the wound.
Using the collections syntax and closures from Apache Groovy makes glue code, testing, and build scripts for the JVM easy to write, but the more recent features like those used in Spock are confusing. The Spock example in the post has the | operator overloaded so a function is called, a function name made up of 6 words separated by spaces (rather than using camelCase), and the label syntax triggering AST transformations to provide a new semantic context...

class HelloSpockSpec extends spock.lang.Specification {
def "length of Spock's and his friends' names"() {
expect:
name.size() == length

where:
name | length
"Spock" | 5
"Kirk" | 4
"Scotty" | 6
}
}

Wouldn't this be more straightforward and readable, without needing to rely on any of the confusing post-Strachan features added to Apache Groovy?...

def HelloSpockSpec () { //length of Spock's and his friends' names
def f = {name, length -> name.size() == length}
assert f("Spock", 5)
assert f("Kirk", 4)
assert f("Scotty", 6)
}
Detect SSL man in the middle with https://snuck.me
Have you looked into Appengine Flex. Appengine flex is a PaaS like heroku, and will scale up any docker container. Its a great solution for your early days, and when you do need to move to a 1000+ node cluster its easy to switch from Appengine Flex to kubernetes. You also might get a lot of free startup credits https://cloud.google.com/developers/startups/

(Disclaimer, I work for Google).

[1] https://cloud.google.com/appengine/docs/flexible/
Avoiding this should be as simple as using the inverse, `select!`, and then flipping whatever the check is in the block, right?
You may be right, but if so, that is quite a self-defeating and unproductive stance to take. If I accidentally start a fire on my stove, I don't say "screw it" and let my whole house burn down. I pull out a fire extinguisher and try to put it out.
Ok. I don't have any trouble believing that could be a cultural trait of those peoples. Thanks for clarifying.
Conversations works fine without draining the battery so I don't see why Signal should.
It's a more complex issue than one might expect. While in techie areas of US the overt anti-Russian sentiment is rare. However, he said he's doing freelancing in sysadmin area and still lives in Russia.

Most companies that I have interacted with view any vendors outside the G7 with suspicion. Even Poland seemed to raise more security concerns than say France.

In that note, Russia is on a whole different level. It's viewed with the similar level of distrust as China.

Take it for what it is - a personal anecdote. Yet, it's hard to imagine this kind of experience not having an emotional response.
Ninjutsu? Did you practice horsemanship, espionage, or impersonation? I'm serious (https://en.wikipedia.org/wiki/Ninjutsu#The_eighteen_skills). Were live horses and stables involved? Were there method acting lessons? How did this work?

I can imagine a complete school would be fascinating, rare (given the amount of land required) and quite an achievement. Is there an organization analogous to say Hombu (http://www.aikikai.or.jp/eng/information/ ... essentially the Vatican City of Aikido)?
I can't imagine a language even starting to displace Python without a good REPL. Not just a hacked-together "lol does this work" REPL, something you can rely on, and preferably something you can use as a Jupyter backend.
What was the gist of it? I use LUKS with a pretty strong password on Fedora 25 and have a few Yubikeys I need to put to good use.
haha, this is as close as we're going to get to tomlock capitulating.

close it down everyone, minor irrelevant point in favor of cooler heads prevailing won, we can go on to armchair lawyering the next public media frenzy.
Coming from macOS my main issues with win10 virtual desktops were 1) the inability to save and persist my desktop configuration through reboots, 2) the inability to assign specific apps to always open on a particular desktop and 3) being able to define shortcuts, I use ctrl+1-5 on my Mac and it's become muscle memory to jump directly between desktops.

Having quickly scanned the link it looks like it may provide the key shortcuts so that's one step forward. The other two issues are probably closely related so I'm hopeful these will be possible in one form or another eventually.
On this subject, these three blog posts are hard to beat:

http://ridiculousfish.com/blog/posts/labor-of-division-episo...

http://ridiculousfish.com/blog/posts/labor-of-division-episo...

http://ridiculousfish.com/blog/posts/labor-of-division-episo...

The same author wrote a library for doing this (and more; it also uses bit shifts) at runtime: http://libdivide.com

Of course, that only makes sense if you know you will do lots of divisions by the same number
I think it is more than a single personality trait -- it's more like a combination of personality traits. It definitely exists in various forms, and it is not all learned.

The converse is also true. There are some people who lack the personality traits required for leadership, and who probably could not be taught to become leaders, even if they desired to become one.

When people say "so and so is a natural leader," what they mean is that people tend to follow them. That is, after all, the essence of leadership. How well they do at keeping people following them and how efficient they are in producing results are just a couple of the various qualities of leadership, but the essence of it is that people follow them, and want to follow them.

Some people just naturally have that quality without any formal training. You can even see it in some very young children when they're among their peers, if you look.
If the function was implemented as an infinite loop, would you consider the code working correctly as well? After all, the result after execution of the function is always correct (ex falso quodlibet).
Interesting points, but I just wonder if there is sufficient will to stop large numbers of determined "drivers" from ignoring the rules. Uber drivers could be said to be violating rules, but Uber is still successful.
Well, there you have me. My secret better-when-drunk talent is writing poetry and first messages on OkCupid.

These are only weakly connected.
You don't have to be a member of WISPA to attend, AFAIK. It is not free, however; cf. http://www.wispa.org/Events/WISPAmerica
banner is awesome - any way to make it output slowly instead of always at once?
A software developer does not exactly seem representative of the general population though, and especially not representative of the population that are in need of work! If we're just talking about what careers we have, then as a farmer, I imagine the employment prospects in the city are downright horrible for someone like me.
Would a sleep(100000) at the top of the method implementation not count as a bug either?
We detached this subthread from https://news.ycombinator.com/item?id=13691136 and marked it off-topic.
It seems like this could be addressed with some simple CSS rules as a "default"
TSA allows JFK passengers to bypass security checkpoint
> championed by Newt Gingrich

Wait, how does he come into this, exactly?