skysight-inc/HackerNews huggingface dataset:
This is cute and all, but JQuery is slightly more than just a framework for accessing the DOM.

My JS is a bit rusty, but I remember that in JQuery I could do:

$("some selector").do_things()

And "do_things" would be done on all matching elements. For example:

$("li").addClass("foo")

Would add the class "foo" to all "li". I could further refine the selector above to select only the "li"s I wanted of course.

With the "plain js" solution, you have to "querySelectorAll" and then iterate over each element.

Another example is "ajax" requests. In JQuery you have the general purpose "ajax" method, with simple "success" and "failure" callbacks, and configuration done via a standard JS object filled with all the necessary parameters (and this object could be reused for the most part, since most of the parameters don't change). You can also chain ajax requests together with deferred objects. Simple, straightforward and useful.

With their proposed solution here, you have to faff around with the XMLHttpRequest object every single time you want to make a POST or a GET. Ugh. And if you need to chain a bunch of those together? Uuuuugh.

Yeah, you can put all of these things inside helper functions to hide the ugliness, but if you are going through all that trouble, you are essentially rewriting JQuery (or similar libraries), badly. If it is a one off thing, I guess you don't need JQuery, but if you are rewriting most of these methods, you are crazy. Use a library, and trim it down to remove the stuff you don't need (JQuery allows this, IIRC).

A final aside. One oft overlooked advantage of JQuery is that the "$()" method can be applied to anything, not just the DOM. You can create a JQuery object that encapsulates, say, an array. Then you can iterate with "each", you can "filter", etc. Also, you can easily trigger events on your objects with "trigger" that other interested parties can listen to them by setting up event listener with "on". Useful to give your classes some Qt style signal/slot semantics.
> ...just because Justin Wolfers and Betsey Stevenson aren't married it doesn't mean they aren't committed to each other and their children.

Sure, but marriage is literally a commitment to each other, current offspring, and future offspring. Theoretically a couple could enter an "anuptual agreement", but that's a rare occurrence if it happens at all.

A vaguely defined agreement can work fine, sure. But specifically defined and specifically enforced agreements have their merits.
See my replies below. There are certainly countries that did well in spite of plunder. And countries that reverted from wealthy to poverty with no plunder in sight.

Ideas matter.
Have you thought that maybe you're not the target audience for that page, and that most people in the world are not interested in the technical details as you are?
Ironically, this mostly depends on you. If you lose the sense of vehicles and people around you, your music/navigation is up too high.

Even with the best isolating headphones (around 25db; most non-IEM models offer much less isolation), you can still hear ambiant noises (unless your hearing is damaged to the point where isolating headphones do make you deaf). And with the standard set of Apple style headphones, they won't dampen the outside world at all.

Losing the ambiant noises will only occur when you overwhelm them out with your music, podcast, or navigation.
A Letter of Resignation
Notifications are on the top right of the screen. They don't cover the active window? It sounds like something strange is wrong with your system.

I also never get notifications about updates. No workarounds needed.
I'd say it's both an estimate and an upper bound. :)
Scaled-ELU is meant to create self-normalizing nets, but that's nothing you can't achieve a bit less efficiently with explicit normalization (batch norm, etc), so hardly a game changer.
Could I upvote this 1000 times?
Not necessarily true. I think that's an outdated, albeit mainstream, approach to marriage.

It should be more like forming an LLC wherein you make a partnership agreement. Called a prenuptial agreement in the US, I assume it's more popular amongst the wealthy.

I'd want a solid contract wherein there would be no alimony, separate finances, and rational child support meaning no, you don't get X percentage of my income, you get 50% of the actual cost of raising the children.

Should be much easier this way. Say the wife contributes 35% of the mortgage payment on a monthly basis, 35% of the home is hers in a divorce.

If she stays home to watch the kids, you "pay" her a portion of your salary to account for this.

Maybe we can crowd source some niche accounting software to make this trivial.
I really wish this wasn't on by default, or at least it prompted you to change this on install. Auto-downloading updates cost a month of valuable internet as it blew through the ISP's data cap in a single day.
"Conclusion

In this blog post, we briefly discussed High Sierra's "Secure Kernel Extension Loading" (SKEL) and demonstrated a new 0day vulnerability that can be exploited to fully bypass this new `security' feature.

Unfortunately when such `security' features are introduced - even if done so with the noblest of intentions - they often just complicate the lives of 3rd-party developers and users without affecting the bad guys (who don't have to play `by the rules'). High Sierra's SKEL's flawed implementation is a perfect example of this. [There are many other examples.]

Of course if Apple's ultimate goal is simply to _continue_ to wrestle control of the system away from it users, under the guise of `security', I'm not sure any of this even matters."

https://www.synack.com/2017/09/08/high-sierras-secure-kernel...
offtopic, but on the page there is a note with:

There’s one elaborate exception that we discussed
in Under The Radar #98: workout apps, which are
allowed to run in the background and play audio.
So this all becomes possible if you combine a
standalone podcast player with a workout app, and
only allow podcast playback while a workout is
active that was started from that app.
But this forces the combination of two completely
different app types, and users would find the
workout-during-playback requirement confusing,
inexplicable, and limiting.

Requiring podcast apps to also be workout apps is a
user- and developer-hostile hack that Apple
probably doesn’t intend.

whaaat? what kind of OS has this business rules so embedded?
I'm pretty sure not getting married is pretty popular with professional women too. Turns out they also have a career they care about. Who would've thought of women as humans, right?
What is your position on attacking regulated industries that require significant up-front capital (e.g. banking)? Domains like these face significant chicken-or-egg problems - you need financing in order to legally attack the problem, but without actually being in the market it's difficult to raise financing. YC seems invested in encouraging companies like these, but their domain necessitates a different approach than a traditional technology company.
> as a group of n people are likely to have >n different time stamps and at least 2 time zones on their various devices.

Which is why we have UTC.

> The resultant sort will be interleaved by sets out of order by hours in case of time zones

See UTC.

> or out of order by minutes for individual devices.

which is alright, compared to the sort by time added to album.
> The idea is that if people follow that sequence, their odds of landing in poverty are much lower.

Half of all babies are accidental, regardless of marital status. If sex is in the equation before "degree" (it is), then the whole sequence is flawed.
Meet Parkster – Breaking down a monolithic system into microservices
I was unaware allocation of resources toward "beneficial goods" (to whom?) was every a touted positive effect of capitalism.
I like that this applies to either the US or NK equally. It's like they both learned international politics from 80s action flicks.
1. Jacek Dukaj [0] - virtually unknown due to refusal to write directly in English :( "Perfect Imperfection" is imo the best sf book about trans/posthumanism there is.

"Dukaj has interesting take on post-humanism, both as a state of being and as a process. If you recall Accellerando, even though Manfred Macx was a futurist and trans-humanist he was hesitant to augment himself past certain limits. Stross pretty much drew a line in sand and said: up to here, you are human and if you rewire yourself further you will become something both incomprehensible, inhuman and frightening. Dukaj is very aware of this problem, but in his universe there is no line – there is a blurred spectrum of humanity. Yes, if you continue augmenting yourself for pure performance you may eventually lose track of your humanity." [1]

2. Hannu Rajaniemi

[0] https://en.wikipedia.org/wiki/Perfect_Imperfection

[1] http://www.terminally-incoherent.com/blog/2011/07/08/perfect...
It cost me 1RMB to get married. That was less than £0.10, at the time. I still have the receipt...you know, just in case ;)

We -- that is to say, our parents -- did splash out a bit more on the reception(s), but nothing excessive.
I find a lot of the conclusions drawn in the article unscientific, and they don't really jive with my experience. From what I've seen, totally anecdotally, being more successful and being married are symptoms of being a more stable individual. I don't know many people in good jobs or with careers that aren't in some sort of relationship, and many of those I know who can't maintain a relationship also can't maintain a job.

The only exception to that rule that I've found is black women. I don't know many black women in stable, long term relationships, regardless of their career success. The reasons for that are more social than economic.
I know people who say they felt guilty about getting wedding gifts and whatnot. They said it felt like they were forcing their friends to buy them things... which I guess is what it is.
A used ThinkPad T420 sells for about $200,has full driver support and will do anything you're looking for.
> I despise Google as a company and I try to avoid their products and services, but their photo solution just works so well on Android (it works like crap on iOS and macOS even if you install Google Photos, but that's a discussion for another day).

What problems do you have with Google Photos on iOS, macOS? I use it regularly with web (windows, macOS) and my android, iOS devices and have no major complaints. For me, it's by far the best photos solution there is.
Of course, what other kind is there in Europe ?
PREreview, a preprint journal club powered by Authorea
> It says woman are in control of marriage, what men want is irrelevant.

They aren't saying that. You wouldn't suggest that a man be able to force an uninterested woman to marry him, would you?

Surely we want both women and men (or whatever the genders) to have complete veto power in this, right?

(Not that you can't argue that it's a sexist reason not to want to marry someone. I don't think it is but I can see how it's debatable.)
The Silicon Valley definition of startup is "company designed to grow fast"[1]. It's perfectly OK to use a different definition, and it's perfectly admirable to start a company with a different goal. If so, you should ignore all the advice about raising VC money because you really don't want to do that if growth is not your central goal.

[1] http://www.paulgraham.com/growth.html

"There's a distinct word, "startup," for companies designed to grow fast. If all companies were essentially similar, but some through luck or the efforts of their founders ended up growing very fast, we wouldn't need a separate word. We could just talk about super-successful companies and less successful ones. But in fact startups do have a different sort of DNA from other businesses. Google is not just a barbershop whose founders were unusually lucky and hard-working. Google was different from the beginning."
Wow, this hasn't been up very long and I think the discussion here could already use some more empathy. Looking at marriage as an institution is maybe not the best way to approach the issues that people are going to try and bring up in this sort of discussion. How about this recent piece from The Atlantic, "Love in the Time of Individualism"?

https://www.theatlantic.com/health/archive/2017/09/love-in-t...

It seems two-pronged, to me. And people are gonna feel aggrieved, probably rightly to some degree, no matter which side they wind up on. For women, men are frustratingly even LESS likely to commit and stick around for any length of time these days:

“It’s not that love is dead, but the sexual incentives for men to sacrifice and commit have largely dissolved, spelling a more confusing and circuitous path to commitment and marriage than earlier eras.”

And for men, the numbers are simply massively against you and you're facing a huge time investment simply to meet one single person who probably won't even like you that much - why would you bother?:

"Popular dating apps put women in the position of gatekeeping, whether deliberately or not. It is a truth universally acknowledged that a single man in possession of a smartphone will swipe right on basically everyone. This forces women to be choosier about who they say yes to. Even if they also swipe with abandon, they end up with more matches to sort through—yet more gatekeeping."

So tl;dr, we're all (not) screwed. Of course, these sorts of pieces tend to focus on traditional heterosexual relationships, so this all might dissolve (maybe into similar or totally different issues) with LGBTQ relationships; I don't pretend to know.
I meant I’m now listening to audiobooks instead.
When is it ok to outsource/offshore some/all of the software development?
Seriously. Is this something that's already commonplace, and tech like this jacket can make less distracting? Or does this kind of stuff just enable humans to do more stuff with a fixed budget of risk? (see https://en.wikipedia.org/wiki/Risk_compensation)
He added "Little" to Rocket Man...

For Pearl Harbour there was no need to insult the Emperor's penis, but nowadays it seems bad for PR not to do it :)
But that's not true -- it's actually fairly low. (see posts above).
https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.11...
What are your main tasks during these watch shifts?
Opt to go down the Solutions/Software Architect route if you want to 'rank up' as it were.

I don't want to be a manager either, but career-growth in the form of being responsible for company-wide architectural decisions is appealing.
Some NUC models cannot house 2.5" SATA drives. For those that do, heat dissipation is an issue for 7200RPM drives. Plus max capacity of internal 2.5" hard drives is only 2TB, and depending on your use case it might or might not be sufficient.

Your use case does not seem very computation-depending. Maybe a cheaper Raspberry Pi-based solution will also work.
Yup. There are definite physical[1] and psychological[2] differences between the sexes that lead to different mating strategies[3]. We can bemoan the inequalities that exist with that structure, but it doesn't change the fact that men and women are different in many ways.

[1] https://en.wikipedia.org/wiki/Sex_differences_in_humans

[2] https://en.wikipedia.org/wiki/Sex_differences_in_psychology

[3] https://en.wikipedia.org/wiki/Human_mating_strategies
Your SEO Strategy for Geo Targeting (without Using Google Ad Words)
Software developers are not wiping out infectious disease.
Is anyone else just completely lost inside Intel's Canyons and Lakes? To carry the analogy a bit further, the maps I've found that detail the Lakes and Canyons aren't much help due to the Core, Pentium and Celeron monikers.

At this point, does it matter much? I have a Celeron Qnap 25X that chews up everything I throw at it, the only limitation is the 8GB of RAM. IN fact, the limitation doesn't seem to be the processor on any of my stuff. It is either a dearth of supported RAM (like 8GB max), or a lack of an SSD or slow SSD's (which is another confusing topic eVVM, NVM, etc...).
Are those ads for 3rd party things, or for their own stuff?
I'm not sure why they couldn't, though. They provide several different format options for recording video, like 1080p vs 4K.
I built one just for that purpose, www.github.com/websilk/selector
Studying 1M people to end cookie-cutter health care
>the livelihoods of 40,000 drivers

Uber are fully supporting the livelihood of 40k drivers? Doesn't seem likely. They're depressing the market price whilst simultaneously creaming off more of that price for themselves, that surely leaves drivers over all worse off.

What sort of pension are Uber's employees getting, the one's whose livelihood Uber are taking care of? What sort of holiday pay do they get? Do they get perks above the lowest legal level?
>If someone is sexually assaulted and reports it to Uber and not the police,

>that person is a liar.

non sequitur
Interestingly, it's their 7th birthday this week and they announced 'unmetered mitigation'.

https://blog.cloudflare.com/unmetered-mitigation/

"So today, on the first day of our Birthday Week celebration, we make it official for all our customers: Cloudflare will no longer terminate customers, regardless of the size of the DDoS attacks they receive, regardless of the plan level they use. And, unlike the prevailing practice in the industry, we will never jack up your bill after the attack.

Doing so, frankly, is perverse.

We call this Unmetered Mitigation. It stems from a basic idea: you shouldn't have to pay more to be protected from bullies who try and silence you online. Regardless of what Cloudflare plan you use — Free, Pro, Business, or Enterprise — we will never tell you to go away or that you need to pay us more because of the size of an attack.
Cloudflare's higher tier plans will continue to offer more sophisticated reporting, tools, and customer support to better tune our protections against whatever threats you face online. But volumetric DDoS mitigation is now officially unlimited and unmetered."

:-|
removeClass and hasClass are interesting choices considering browsers ship with these APIs
I owned a pet store and would say most of this advice applies equally well to such a business. Go live, talk to customers and iterate. Make something people want.
Microsoft wants to develop a programming language for Quantum Devices
If they cannot house 2.5" what size can they house then? Or did you mean 3.5"?
great advice! esp "a small group of customers who love you is better than a large group who kind of like you"

I'd add some additional qualification: "Valuation is not equal to success or even probability of success"
==> capital-intensive businesses require suitable valuation

Ignore your competitors, you will more likely die of suicide than murder
==> yes, and!!! competitors are good: they help build awareness among customers, investors, etc.

"Write code – talk to users"
==> for enterprise products, also talk to a few customers / decision-makers. If nothing else, make sure your fans have access to budget.
It's just a matter of scale; DevOps is a luxury at our scale. That said, we're getting other devs trained in basic ops to prevent such things..
I don't think you'll find UglifyJS's dead code elimination to do the type of tree shaking that'll remove jQuery's unused functions.
Mage: a make/rake-like build tool using Go
The recent trend has been the opposite: https://economix.blogs.nytimes.com/2012/02/06/marriage-is-fo.... Since 1970, marriage rates for men at the top of the income distribution have dropped less than 10%. For men in the bottom quartile, it has dropped 35%.
The reason why is those are the types of business that are able to raise money to pursue their goals.
If I understood the letter correctly, what Uber did was not illegal. And if I understand how police works in most countries, if you report a crime to police they are obliged to investigate it

So my point stands. If you think that people shouldn't report crimes, you enable crimes. "‘strongly under the impression’ that they would." is a laughable excuse. What did Uber do that would provide a strong impression, yet wasn't enough to be accused of being misleading in court?

If what Uber did is illegal in UK, they should face punishment. But as far as I can tell, they did nothing illegal in this situation.
But the issue here is monopoly. Or do you really think that LaTeX will somehow gain any market share from Microsoft?
"Do things that don’t scale" -- The essential of the essential IMHO. Intuitively, it sounds nonsense. After all, who what to build an unscalable business. But having been working on my super early stage startup for a while, I realise this is the biggest wisdom I gain during the process.

Sometimes I feel stressed on spending too much time on things like manually solving problems for my potential customers and even helping my once potential co-founder, who now formed another startup of his own, with his problems. But now looking back, the time I spend is not in vain. I gained lots of hand-on experience on what things do and don't work. Not to mention, valuable feedbacks and friendship are something I think I won't get it if I focus on something otherwise.
I worked in ads company. I understood that I was producing waste. But I treated it as a puzzle. Tasks were really challenging and salary was more than average.
So are you saying none of the other private hire licensees have DBS or health checks? I thought the point was that as employees Uber drivers had to have safety checks and that Uber don't want to accept they're employees because then Uber can't keep as much of the money.

Have I read the situation wrong in this respect?
> You can create a JQuery object that encapsulates, say, an array. Then you can iterate with "each", you can "filter", etc.

each and filter are native functions on Array.
Yeah, I dunno about that.

Groups and institutions are great for creating additional social pressures that discourage people from violating morays. But unless you couple that with a fundamentally different set of values, I don't see how they are a solution. If anything, they create additional strictures that encourage the kind of rule-breaking behaviour the article talks about.
One of the things about watches though is that you can wear them with any outfit. Having functionality built into my shirt is only useful if it is in all my shirts. Otherwise I'm coupling how I want to look with what I can do.
FWIW, all these reasons are why I pay Flickr.

I attempted over the years to use the various incarnations of Google's photos but they consistently mangled pictures, canceled / renamed / migrated services, bungled who gets to see what under what Google Accounts, etc., until I was browbeaten into conceding defeat.

I think you missed the point on sorting by time. If multiple people are at an event, you lose the information about "physical time" because the time recorded in their snapshots is very probably wrong. So unless you fix the metadata, the only sort you can have is manual.

Note: If you're not even naming albums, how does one find them again? What's the use case? Throwaways? You're making on average a new album every 3 days, which still seems a little awkward. And innumerably more shared with you, means, what, 10 albums shared with you a day? It's amazing you have time for detailed and thoughtful HN comments. You should switch to pictures, they're worth a thousand words.
because then google can't quietly change the design of future versions to monitor you with more than they can get out of the touch sensor
Come on - what part of the hiring process asks anything other than technical questions? For conservatives can't figure out why tech companies are filled with liberal leaning folks, here's a clue - there is a well-known correlation between education and liberalism.