skysight-inc/HackerNews huggingface dataset:
I don't understand the pricing model. 800 new connections per hour, for $0.006? Isn't that extremely expensive? 80,000 connections for $0.60 in an hour is $432 per month for not a whole lot of traffic.

edit: Okay, it's 800 new connections per second, per the ELB pricing page, under "LCU details". The cost for 80k connections in an hour is effectively constrained by the bandwidth, eg if there's very low bandwidth it's $0.006/hour or $4.32/month.
I really like this idea and I wish the government actually cared enough to try it.

Too bad the current party in power has only one mandate: tear down everything the last guy accomplished.
I have acquaintances on Facebook that pose and cheese for the camera seemingly every day, and others who apparently schedule their posts as if they're marketing themselves as a lifestyle brand or something. Like, we get it, you like mountain biking and camping, but you didn't do that stuff on a Wednesday. I know where you work, and it's not the woods.
The problem with templates is, ultimately, they end up re-implementing a lot of whatever programming language they're built in. Things like `{{%if}}`, `{{%for}}`, helpers, etc. are simply ways to write code in a template. Which is fine on the surface; these are features that meet the requirements of creating a UI, it's not like we'd want a templating system without them.

The issue is that now you have a ton of code (it is code, btw) living in a templating language that probably doesn't have as good of debugging, documentation, performance, encapsulation, composition, etc. as the underlying language it's using to process the template. It's up to the maintainer of the templating system to handle re-implementing that, and if you end up in a situation where it doesn't actually meet your requirements, you either have to add these basic language features yourself or start from scratch.

That's why things like React and Hiccup (and even more advanced, something like Racket), etc. have gained huge popularity and mind share: instead of re-implementing the programming language in a template system to show HTML, let's implement an embedded DSL to conveniently write HTML.

Then suddenly we get away from managing gnarly data dependencies, stack traces through templating systems, and writing stuff like this:

{{%if medicare_eligible %}}
<div>Here's some discounts!</div>
{{% else %}}
<div>You gotta pay full price</div>
{{/if}}

// ...
templateSystem.create('template.hbs', { medicare_eligible: user.age >= 65 }

To just:

if (user.age >= 65) {
return <div>Here's some discounts!</div>
} else {
return <div>You gotta pay full price!</div>
}

Once you are writing in an embedded DSL, you no longer need to worry about re-implementing all of the constructs of the underlying language; it's laid there at your feet.

Furthermore, by modeling your view as simple functions and data, you get all the features of data manipulation (huge productivity gain; don't need to write to rewrite or relearn `map`, `reduce`, `for`, serializing, etc.) and function composition (this is HUGE. I could write a whole blog post on this).
For Emacs, being able to edit in the "occur" window is borderline magical, and gets this use case fairly well.
> 1. No, it will not necessarily happen. You can focus on one thing and still fail. See the story about the guy who dropped everything to try and be a professional golfer.

That's a matter of ambition/risk. That guy will still be a very good golfer if he focuses on that. It's just that he many not be good enough to make a career of it. So yes he will look foolish but in the end, he will still be better than the rest.

If we scale back the risk levels, then this is probably true. For instance, focus on a particular field of software where there is a decent demand and you will very likely be able to live off of it.

Focus on being the founder of a successful company in a space that can only tolerate at most a handful of players (that's pretty much any business, once you properly define it) is a LOT harder and sheer willpower is not the only thing required to be successful.
Yeah, sorry, IANAL either but that's total BS. The user has consideration in the form of being able to use the service.

For those who are unaware, contract law deals with a process of people exchanging things, usually in the form of promises -- "I will mow your lawn in exchange for $30" is a contract, even if it is never written down. There are a lot of interesting ways that this law works: for example you will see reasonably often something like "I'll give you $30 to mow my lawn" / "Deal!" / "What about $20?", where the one side seems to be assuming that there is no actual contract until they both say "Deal!" -- but actually the law believes that the first person implicitly consented simply by the form of the language of the "offer" above and if the sums were larger this could hypothetically be the sort of thing that a lawsuit begins over.

The "consideration" idea is about this word "exchange" that I started off the last paragraph with, it says that contract law explicitly does not apply with things that are just given away for free. If you say "Hey after I mow my lawn tomorrow I'll mow yours", and your neighbor says "great!", and then something comes up tomorrow so that you have to cut the job short only mowing your lawn and not your neighbor's lawn, the law says that was not a contract and your neighbor cannot sue you to mow their lawn for free. How do we know it wasn't a proper contract where things were exchanged? Because we can see that you don't get anything out of it. But "get anything out of it" might get into very abstract territory: for example if you are known among your neighborhood for collecting the dead grass you've mowed and turning it into expensive compost, and that's the reasonable expectation, that could be consideration. At some point -- possibly presently, I haven't reviewed them for this post -- the Creative Commons licenses said something like "to the extent that this is a contract, the consideration for me is that I'm getting to see my work used by other people who I don't know."

This exception to contract law obviously does not apply to the terms-of-service agreements for paid services. It might hold if you are not notified about the terms of service prior to making the agreement, but US law tends to be a bit lax about the details here and usually says "well if you used the service anyway after you found out about the terms of service then you agreed to be bound by those terms." See the cases on "shrinkwrap licenses" for details.

Note also that most free-software copyright licenses and so forth are simply not contracts; that doesn't mean that they have no legal standing, but just that their legal standing isn't in contract law per se.
Write a new Constitution given the lessons of the last few centuries.
These are not my arguments, mind you; I don't know enough to make them.

You've piqued my interest, though: can you give me an example of those things that you can't change or that break CPython?
Yes, it's legal, and increasingly popular for companies to require mandatory arbitration with no way to appeal to the courts, and to require a waiver of class action.

Arbitration started with the idea that there are two equal parties forming a contract, and both have an interest to come to a mutual agreement. This has spread even to consumer contracts.

For an example concerning customers of Well Fargo affected by fraud carried out by Wells Fargo, https://sites.duke.edu/thefinregblog/2016/11/23/how-wells-fa... .

> The scandal at Wells Fargo has placed big banks’ use of forced arbitration clauses under the microscope. When then Wells Fargo CEO John Stumpf testified in front of the Senate Banking Committee shortly after the scandal broke, he was asked by Senator Sherrod Brown (D-Ohio) whether his bank would continue to require customers to take all disputes with the bank to arbitration. Stumpf replied that he was “not an expert in that” and would therefore have to consult with his legal team. Brown made his views on the practice known during his opening remarks at the hearing, stating: “rather than letting fraud victims have their day in court, Wells Fargo forced customers to abide by the mandatory arbitration clauses in their real accounts. You heard that right – the bank invoked the fine print on a real account to block redress on a fake one which it had created.” The use of forced arbitration clauses even made its way to the presidential campaign trail, with Hillary Clinton pledging to “reign in that abuse.”
Google has supported u2f for sign in for a long time.
This started after recent Facebook decision to change React license.
Perhaps instead it's time to work on prevention, rather than cure?
You waive your rights to sue TrustedID, not Equifax.

Edit: And yes, it's a subsidiary, but you absolutely retain the right to sue the parent company for an event that occurred before you agreed to these ToSes requiring arbitration for disputes with the subsidiary. You just now can't sue TrustedID if they fuck up their credit monitoring.

EDIT 2: Here are the actual terms, not a selective screengrab of a scary-looking bit from Twitter: https://trustedidpremier.com/static/terms
The point of a class action suit isn't really the individual gain; it's the pain it's supposed to make the corporation feel. Providing a free trial of their stupid credit monitoring service probably doesn't do that.
It's gonna be Denver
Premise: It's more important to be productive than to have fast code.
Conclusion: Use Python.
Is the premise true? For many cases- yes, but it depends. If you are running an application on the cloud and your metric is $/user/year and you have many users then saving some compute resources for each user gets attractive and you don't want to just throw another VM at it.

Is the conclusion true? Garbage collection gives big productivity gains. Other languages have GC. It's not nice to see your Python code die after a few days because you messed up the type passed to a function. Other languages fix that at compile time. Multicore is now. Other languages are built with better multicore awareness.
Your can't waive your right to seek remedy in the event of a breach of contract, but US courts have ruled that clauses requiring mandatory arbitration from a private arbitrator instead of going through the public court system are legal.

Theoretically, it's just as fair to be heard by a neutral third party, but the biggest difference is that if you agree to arbitration, there's no equivalent of a class-action complaint meaning each impacted individual would have to file an arbitration claim separately.
Plant Trees as You Search the Internet
Plea deals need to be ended. Allowing any sort of plea deal is imposing a punishment for demanding one's rights.
> Multiple cursors are also used as a replacement for text search and replace; sometimes the operation could be performed using a symbolic rename, sometimes it could be done by search and replace with live preview, but not when you want to skip some instances.

The Medium article about multiple cursors was from a Vim-centric perspective (in contrast to the linked article here, which was Emacs-focused). And in Vim, you'd do this with `n` and `.`. For example, `n.n.nn.` means, "change the second occurrence, too, and the third, but not the fourth, and do replace the fifth".

Multiple cursors is no faster, and since you mentioned the benefit of not needing to carefully plan ahead (which I also think is important[1), I'll leave you with the observation that multiple cursors requires more planning than `.`. With `.`, the following thought process is valid:

"Let's change this. Oh! And do these other ones, too."

Compare to multiple cursors, where you have to don't have to plan as carefully as a recorded macro, but you still have to do some planning, because you have to start out knowing that you're going to change multiple things and then marking them before you make any change.

So the spectrum looks like:

# Recorded macros—requires lots of careful planning

# Multiple cursors—requires little planning

# Replay (`.`)—requires no planning at all; can fit your stream of consciousness

1. https://news.ycombinator.com/item?id=13350487
Meta 2 AR Headset with Firefox
Minimalist JavaScript open source blog engines for developers and writers
He predicted an earthquake in the Philippines and other areas that didn't happen 2 months ago and one in New Zealand 1 month ago. He also made a prediction for a 9.0 earthquake in Nepal after the eclipse and slowly dropped the number over the days to fish out a "prediction". He was also hedging his bets on this earthquake and was giving preference to Japan, not Mexico.

The guy's a charlatan that was basically throwing predictions at the wall till they stuck and is now hoping no one notices his failures.
I advocate something similar regarding all secrets (passwords, private keys, credit card numbers, etc).

Secrecy (and privacy) aren't sustainable, and relying on them will just end up hurting people.

Identity must be solved, not through secrecy, but through transparency.

If AI overcomes us, it will be (in part) because we failed to adapt to this reality.
I, for one, am shocked.
This is a sane advice on face value.

Yet following it in an heavily corrupt organization means you find yourself doing very dirty stuff to get recognized by your peers, oversee and facilitate corruption to get buy in from your superiors, and crush weaker people to stand on top where you’ll get more power.

In the event you yourself get crushed in this process, the only trace you’ll leave in the world will be dirty things you didn’t agree with in the first place and actually strived to change.

I wonder how much that approach bares fruits when it comes to really shitty organizations.
Aurelia will give you the flexibility you seek. Some UI toolkits now have integrations as well.

http://aurelia.io
You get rid of all those pointless laws.
Fixing it costs them more money than leaving it alone, is the reason.
Stop Working So Hard: Scaling Open Source Community Practices
I have, but it has had datepicker as "shipping real soon now" for at least six months. Not confidence inspiring.

Wouldn't it be nice if UI components (and just as importantly, their styling) was decoupled from the JS framework they're implemented with. Some kind of markup language perhaps...
DrupalCon Europe: Where do we go from here?
I mean, it won't do anything unless you install it, and if you install a file sync tool you'd better know what it does. I hope that's clear from the landing page, though.
Whole discussion reminds me of the "3d burrito" spoof:

https://www.youtube.com/watch?v=GnR98JjRrII
This sort of reminds me of when Wells Fargo called me one day to tell me my card was compromised. I got on the phone with them only to find out it wasn't. Then they tried to hard upsell me on a pay by the month identity protection plan with a 6 month complimentary introductory period.

It seems like it's sort of in Equifax's interest for a breach to happen and have 144 million people freak out and then buy their $20/month service
I think Vue is great but I wish Aurelia would show up in more of these comparisons as well:

http://aurelia.io
According to this one lecture the speed ups vary from 1.47x - 13.8x. http://ispass.org/ispass2011/slides/4_2.pdf

Another set of benchmarks comparing simple strcmp to SSE 4.2:
https://www.linkedin.com/pulse/simple-fast-string-comparison...
The author used `-` as the sorting character for negatives instead of `!` as stated in the article. If you change his functions to use `!` for encoding negatives then it correctly sorts.

function encodeLong(s) {
if (s[0] !== '-') { return encodeNonNegative(s, ' '); }
return '!' + translate(encodeNonNegative(s.slice(1), ' '));
}

function decodeLong(s) {
if (s[0] !== "!") { return decodeNonNegative(s); }
return '-' + decodeNonNegative(translate(s.slice(1)));
}
Hell, I'll take that over somebody opening up a bunch of credit in my name.
With evidence, ideally.
The Powerful Pull of Opioids Leaves Many 'Missing' from U.S. Workforce
Interesting how very few cells every stick around long enough to grow old, and those that do are almost immediately replaced but die off before they can age.
How could we go about not having private passwords or credit card numbers?
That makes sense and thanks for the insight! Any advice is always appreciated

Having not interviewed much I'm always weary of looking at job postings, interview questions, and such (for no good reason really).

I've learned a lot in my current position, but I'm starting to feel un-challenged and slightly bored with the main initiatives we are working on.

Soon enough I'll be the only developer left at this place aside from contractors, so that will be strange too...
Why isn't it a realistic option?
That's exactly what I was thinking. I'm a competent mechanic (owned and fixed more cars than I can remember), and also electronically savvy; obviously modern cars have diagnostics via OBD2, but as you say, that's a world away from a Tesla-level control system.

Having had experience of various systems for more in-depth diagnostics (Ford, Vauxhall and PSA systems that I own, as well as the generic phone/bluetooth OBD code reader and diagnostic real-time display), I can't see that this will be easy to get sorted. Having seen the huge amount of work that a solution such as ForScan needs to get it running (and having spent some time feeding back issues to the creator), let alone something that is going to attempt to control a vehicle in everyday use, I think this will be a fair way away from being a real-world usable system - most cars just don't have the features documented, or even present.

The other thing is that I really don't think that a touchscreen is a good interface to use in a car. I'm a Tesla (and EV generally) fanboy, I guess, but this is one area that I don't get; you have to have your focus away from the road to do anything (which I guess won't matter when autopilot works fully all the time on any road) because you don't have tactile feedback and dedicated controls - you need to see where you're pressing to do something. There's a reason why cars' physical controls work so well, and I think a touchscreen (despite being really cool and futuristic) is the wrong way to go.
The growth issue is only really a problem if assume you're picking your polynomials from R[x,y,...]. But there are other choices that would be more appropriate. Often you want the model to be invariant to rotation (e.g. if you're doing computer vision), in which case you'd use R[x,y,...]^G, where G is the group of rotations.
Screensharing in Firefox without plugin
If you're going by quintiles your upper middle class is 60th-80th percentile. That's 66k-105k household income for their parents. Even if you gave a 40% bump for NYC that's still not the life style you're describing.
Do we have to make this comment on every post about crypto on HN? Let alone the 5+ clone comments on this very thread?

This article already addresses this: "The scene does seem ripe for swindles and vaporware," but goes on to discuss it with more nuance. Perhaps we could do the same?
Being told by the employees, and then security and then police, that you must leave most certainly satisfies that requirement. You don't get a free pass on the law for being obtuse. And again, a contract for a plane ticket is a civil matter. Unless I misunderstand, it has no real bearing on your right to stay at the moment that you're asked to leave. It would only entitle you to recover damages after the fact.
Outdated UX patterns and alternatives (2014)
Capitalism won't die. Representative government, civil rights, and the ability of the average person to control their own labor will, but greed is eternal.
Was it? neom has posted that email in the past.
> If I try to spend $1000 on my credit card at IKEA, my bank usually calls me to confirm the transaction. However, we don't have such a system when handling our most important information? Why is this allowed to happen?

It's allowed to happen for the same reason the US uses credit cards without PIN numbers - a lack of desire to spend money on security/upgrades (it's easier to pass on the cost of fraud via the transaction fees), a weak regulatory structure for protecting consumers, a glacial rate of technology adoption in banking systems, and ignorance/unwillingness to evolve by customers/businesses/executives etc.
Note though that if you were like me already running GD and upgrade to B&S (as you would have to by Dec 11 to keep the functionality) there is no warning of this new slurping.
[work at Google, not on Drive File Stream, have been dogfooding it for a while now]

Drive File Stream caches your files so recently accessed files remain available, and you can also explicitly mark/select files to make available offline.
He's right though, even if not feasible to implement. A SSN is an ID number that needs to be kept secret. How dumb is that?

How about using something like an ID card with attached chip that can be used to digitally sign things? Works great in Belgium.
It doesn't seem that way to me.

> As used in this arbitration provision, the term "Claim" or "Claims" means any claim, dispute, or controversy between You and Us relating in any way to Your relationship with Equifax, including but not limited to any Claim arising from or relating to this Agreement, the Products or this Site, or any information You receive from Us, whether based on contract, statute, common law, regulation, ordinance, tort, or any other legal or equitable theory, regardless of what remedy is sought. This arbitration obligation extends to claims You may assert against Equifax’s parents, subsidiaries, affiliates, successors, assigns, employees, and agents. The term "Claim" shall have the broadest possible construction, except that it does not include any claim, dispute or controversy in which You contend that EIS violated the FCRA. Any claim, dispute, or controversy in which You contend that EIS violated the FCRA is not subject to this provision and shall not be resolved by arbitration.
Some amendments are more strongly enforced than others. Also, it's the 6th that's a speedy trial. The 8th is the equally-ignored excessive fines and punishment.

At least the 3rd is still going strong!
If you can be jailed indefinitely for not decrypting a drive then can't you be jailed indefinitely for not remembering your password? That sounds fair.
How Seoul is reinventing itself as a techno utopia
Certainly intriguing, although if it will be 6-18 months until I can try it I'm not sure why I should care.
That falls down because most static languages have "representational types", not "semantic types". Here's a post of mine on the topic:

https://news.ycombinator.com/item?id=15144364
If you want true offline copies, you can use Drive Backup and Sync which does effectively what it did before.
You let them go free. "It is better that ten guilty persons escape than that one innocent suffer."

If you actually have so many people committing crimes that there are actually too many guilty people for the courts to properly try, you have a societal engineering problem, not a courtroom efficiency problem - you need to get people to stop committing those crimes in the first place, since clearly the justice system isn't working as a deterrent. There are lots of options, including changing social conditions, reclassifying the behavior at issue as not a crime, etc.
feeling like i am stupid and naive for trying to do things the "right" way

You are in the forrest with no GPS

Take a very deep dive into your family tree. Ask how and why with each relative or dead tree.

I found hard work. I also found this: greatness by association is hollow and shallow.

Dont be bothered analysing other people or other families.
They've almost certainly got a "forgot my PIN" flow, too. Otherwise a forgotten PIN would mean a lifetime loss of access to credit.

What do you want to bet it uses stuff like your SSN to verify?