skysight-inc/HackerNews huggingface dataset:
Here's a few ways I've used tmux:

1. Hierarchical context management. I use different sessions for different projects. One session might have my main development work, one session for a random debugging session for a coworker, one session for a side project or project euler challenge. Within each session I usually have multiple windows. For main development I have one window that has source code and development, one window for testing, and one window for command line/ data wrangling. Within each window I might have a couple panes, for example in testing I have a split screen with testing code on the left and the command line for running tests on the right.

2. Multiple paste buffers. Recently I had 3 or 4 environmental variables I was setting on some different devices. I stuck them into different copy paste buffers and went to town instead of repeatedly copying and pasting from a document.

3. Alerts. I'll often have a few jobs that run for between an hour and a couple hours that I want to just start and forget about. When they're done you can have tmux give you a notification on the window that the job was in and you can go check it out and do more work.

Minor, but interesting use cases:

- share tmux sessions with coworkers. I haven't done this as much but it's great for remote debugging.

- process persistence. Use this all the time. No more nohup & business.

- naming windows. I name almost all my windows like "test" or "hardware".

- moving windows and panes around. You can move panes to different windows and windows to different sessions really easily.

- save tmux state before shutdown. There's a separate plugin that does this but you an actually write your current session to disk and load it up again when you restart.

EDIT: formatting
Yeah I can see that being the case for the vast majority of users. Also it's a damned shame that Google enforces a limit of 16 characters for the password.

My own password is a random 16 character string.
Ceci n'est pas une pipe.
Good idea. I solved that one by using a "protocol relative url" (omitting the http[s] part).
It's that first step that isn't clear to me. It may be the case, but it needs something other than physics to tell us that - and it doesn't tell us why slightly-cooler-than-lukewarm water is better than ice water.
How to earn on any niche with YouTube
Instead of "onclick" for the <img> tags, you can bypass the required user interaction and be more brutal using "onerror" e.g. <img onerror="alert('hacked')" url="broken_url">.
Be Very Skeptical of Stolen Election Claims
No, Lawyers Should Not Learn to Code
Sure - hope it helps. I've sold many security engagements and done the work. I've seen startups first hand usually do not understand their risk unless they've experienced it directly (hack / vuln / PCI / DDOS). It's a hard sell at first.
I had to cite sources while implementing an artificial immune system (real valued negative selection and clonal selection algorithms). I read through a few papers for each algorithm and cited the clearest one as a source.
It happens online as well, some people build "snipe" browser plugins to put shoes into baskets as fast as they become available.

These scripts are used both by fans and resellers, but there is another angle: The developers behind the plugins include their own reseller-id in all orders, so they get a bit of money for every sale.

The reseller ids is given to these developers, which makes me think that the brands are in on it as well, they don't care who buys the shoes, as long as they sell them, and they maintain scarcity.
Ask HN: Why should I use Django?
I want to build an app allowing users to search local car for rent availability.
I don't think anyone disagrees with that, and nobody argued otherwise. I'm a bit baffled as to what you're trying to achieve here...
TL;DR: Yes it's possible, but it doesn't actually matter if it happens or not.

An AI creating websites is definitely possible, but will it actually replace people? I don't see that happening (at least not at a large scale). It's much more likely to be a tool that developers use rather than a tool that replaces developers. Or possibly something similar to Squarespace. It might be able to manage content on its own and build webpages, but what happens when there's a bug? What happens when you want to innovate and create something new? An AI would have trouble accomplishing that, so web developers would still play a role.

Now the more important question in my mind isn't whether or not they will replace jobs, but rather does it matter if they do? And my answer to that is no. There's two scenarios. A scenario where AI completely eradicates all developer jobs, in which case AI has probably eradicated a majority of today's current jobs and we would adapt as a society. Either by instituting some changes like Universal Basic Income or by developing new job markets (probably geared more towards the arts or things we can't yet imagine). The second scenario is that AI is introduced more as a tool or a simple solution to web/app development. In that case, there will still be a need for devs to do the more complex stuff. There will also be other development fields to move into, like Machine Learning Engineer for example.
Taking a stand is useful. Before this happened, the whole world thought everything was "kind of ok" in China, and then Google just left, hinting at how the system was not well, the Chinese leadership lost serious face in the incident, rightfully so. And in China, face is almost everything.
Best 9 Quick and Healthy Breakfast Ideas
it is also possible to think of humans are pre-programmed systems that think have a consciousness and understanding but are in fact following a set of rules they don't full understand yet. Perhaps creating "artificial" systems that can evolve their own intelligence could be a way for us to understand our own programming better.
Briefly, what the author is recognizing is that economic policies have political consequences, and when economic change is so disruptive to large segments of society, the political backlash can get ugly.

In other words, economists often have blinders on, concerning themselves only with Homo Economicus, while forgetting all about Homo Politicus.
“You keep using that word. I do not think it means what you think it means.” Inigo Montoya
Why Your Startup Is Failing
Certainly at some point fixed installations will move to sodium. But this is not now, and when we get to that point, we'll be able to get the lithium back to reuse on something else.
Sexual selection for traits that otherwise have no discernible survival benefit or even harm survival happens all over the animal kingdom. Selection for bravery/aggression/dominance at least has the potential benefit of defense. Calling this sort of selection 'manipulation' on the part of female monkeys is making an unwarranted and human biased value judgement.
It's not a file format, it's a digital identifier. The APA can explain it better than I can:

"A digital object identifier (DOI) is a unique alphanumeric string assigned by a registration agency (the International DOI Foundation) to identify content and provide a persistent link to its location on the Internet. The publisher assigns a DOI when your article is published and made available electronically."

So you can access a journal article by going to http://dx.doi.org/DIO-GOES-HERE. doi.org doesn't host files, just resolves them to the current and correct location. For example the DOI number for the first paper in TFA is 10.1007/11427186_42 so it can be accessed at http://dx.doi.org/10.1007/11427186_42

You know the DOI you know where you can find it.
I use a static site generated called 'middleman' for my blog. I tested S3 deployment in the past and I must that it's not all that complicated.

The PITA is that you need Cloudfront to handle SSL and if you're not using Route53 automating the upgrade process is more complex than it should be.

> Can you deploy atomically?

Hm, I'm not sure what atomically means in this context, S3 supports 'sync' so you basically can write a bash/ruby/python script to handle deployment (I use a rake task).

> Can you rollback?

Yes, I use git (gitlab) to keep track of changes, so rolling back is not a problem.
Clinton recv 7% fewer votes in counties that use electronic voting machines
Show HN: Boost your creativity by collecting everything in one place
Does encryption defeat this? If not how are they getting the key from memory?

Does encryption defeat this when the device is off? If not what flaws exist in the encryption schemes?
I was hoping jolt was a command line tool in the style of jq. I dont believe jq does transformations of json, only queries.
Worth noting that you can both read and print such forms.
Hello! I'm Tucker, Product Manager on Frenzy.

Frenzy came to be from one of Shopify's quarterly hackdays projects, with the goal of changing flash sales for both merchants and consumers forever.

Frenzy is the best way to buy from brands you love. Whether you’re looking to buy rare products, discover new ones, or learn about new brands, Frenzy is the place to do it. Rather than waiting in line at a retail store, missing out online, or simply forgetting about a sale – Frenzy puts the hype of the best product releases in your pocket. When you buy from a seller on Frenzy, it’s just like buying from them in person – but you can do it anywhere in the world.

Frenzy will be launching this week with merchants Kith, Love Your Melon, Raised by Wolves, Off the Hook, and more, who will be selling products exclusively on the app.

Happy to answer any questions!
Of course it is, but saying it's "a ton of complexity" to use JSX, while not saying the same for transpiling current and future ECMA-262 syntax into what browsers support right now is disingenuous.
I guess that is true to a first approximation but exceptions perhaps prove the rule

https://magazine.atavist.com/the-mastermind
That would be sweet!
I'm biased, but Neocities (https://neocities.org) can do all of these things and is a great choice for static web hosting. We run a global anycast CDN with instant cache purging, custom domains with Let's Encrypt SSL, high availability architecture, and all the rest. We haven't had a full site hosting outage in years.

We include 10GB storage 2TB BW for free (more of both included soon) for $5/mo, which would cost over $180/mo at AWS with S3. Cloud providers really upcharge on bandwidth big time. Really that 2TB is just a soft cap just to make sure nobody tries to run the New York Times from a $5 hosting plan. Many people go over it and it's not a problem.

The one thing we don't do well is show how good we are for pro hosting as well as people learning HTML and having fun. I need to work on that.
https://news.ycombinator.com/item?id=13022968

also, please don't editorialize titles.
Just an opinion on this subject as a whole:

I think that we are going to keep seeing very close elections in the future. The thing no one realizes yet, but I think will realize when we look back in fifty years is that we are evolving as a society again. Right now we're undergoing the burn down of the forest so that we can grow new again.

All that aside. Why not, as a default, have three sources confirming election results? 2/3 acceptance would be considered a quorum. We are moving faster towards technology, and we need some kind of impartial verification.

My infantile understanding of Blockchain tells me that it might be the right tool for the job, which could result in a 3/3 verification of election results.

As a citizen, I'm guilty of not asking the right questions. I don't know who makes the software running on electronic voting machines. Is it open source? If not, why not? Access to this code is critical for a fair and free election, and furthermore there shouldn't be anything seriously proprietary in that code (It's counting votes after all). I don't know what the reservations are for states that don't want to move away from paper ballots.
As a hobbyist gamedev and world builder, I love stuff like this. Kudos for making everything interactive. It really helps the learning/"aha!" process to be able to change things on the fly as you're reading about it, rather than having to roll your own to follow along.

In the more organic portions of my current project, I'm definitely using something like this :)
> Well, if memory serves, for the most part haven't most terrorist attacks been coordinated over either completely open channels or over non-technical channels? If I remember correctly, the Bin Laden operations were orchestrated via sneakernet, the more recent attacks in France were orchestrated with check-out aisle cell phones.

We have no way of knowing. There hasn't been a repeat attack at the scale of 9/11 to date in the US, which either means that people aren't trying or the security services are very effective. Since terrorist organization have been encouraging crazy lone-wolf type people to commit random attacks, that suggests to me that the security services are effective.

All security/law enforcement operations are about managing risk. Criminals and other "opponents" find weaknesses quickly -- remember the early 2000s popularity of Nextel and Boost Mobile devices among drug dealers. Even something as ridiculous and expensive as TSA serves a function... getting contraband on an airplane is a riskier proposition now. You don't need 100% effectiveness -- in a 9/11 type scenario a 40% effective screening process would have likely discovered some conspirators.

IMO, attacking the law enforcement surveillance creep is the wrong approach. That's a symptom of a larger problem, which is this global instability kicked off by Bin Laden and his ilk. That's the disease, and the only way to address surveillance is to attack those political problems and get back to a more balanced system.
Thanks! We hope to ease some of that pain soon.
Your Assets Can Be in Jeopardy with Bond Funds
Low-substance comments about inflammatory topics, like this one, end up triggering flamewars, like this one. We're trying to avoid those on HN. They're boring—alternately flippant and nasty—and if the term 'stupid' has a local definition, this would be it.

There are other places on the internet where you can ply that art if you want to. If you want to continue to post to HN, please behold the damage you wrought and refrain from doing it again here.
This article[1] states the following, though it doesn't cite any specific source:

> CloudFront will use encryption when retrieving data from its storage service S3 (Simple Storage Service), so the content is protected all the way from where it is stored to the user's computer, according to Amazon.

1. http://www.computerworld.com/article/2518747/data-center/use...
i'm not sure what this does, but i've been a happy user of https://github.com/msiemens/PyGitUp for the last couple of years. from the looks of it it does less, but as we all know, in unix, less is more.
> I believe Tesla is giving these pack a much longer life span.

Tesla's CTO is giving the battery packs a 10-15 year minimum service life.

> I'm sure in a ~5 years or so, Tesla will create a massive battery recycling program as well to start bringing in those Tesla batteries on cars from the early models.

Tesla plans a recycling line at the Gigafactory. Old batteries in, new packs out.
Stay tuned! Lots more to come.
Looking at the document (ANNEX C for example) one could guess they are going to log entire request body...
Looks great. Needs on premise install option to keep data local.
Yeah, I do this too - https://github.com/jrheard/blog is my source, https://github.com/jrheard/jrheard.github.io is the generated static site. This allows me to use whatever Jekyll plugins I want.

I literally wholesale copy-pasted the Rakefile in http://ixti.net/software/2013/01/28/using-jekyll-plugins-on-... in order to set this up, it was very easy thanks to that great article - all you have to do is run `rake publish` at the command line, and your site builds locally and the finished product is deployed to your github pages repo.
What specifically in that book is related to the $1T platinum coins idea? I haven't read it but I can't imagine it's particularly relevant: the platinum coins idea was merely a (hypothetical) legal maneuver that would have allowed Obama to sidestep Congress. It wouldn't have done anything unusual except that Congress wouldn't have voted to do it.
Sounds like a risky business to be in. If Apple decides to change their encryption technology, you could be out of business some time soon after a new release.
Check out concourse.ci [example pipeline at https://ci.concourse.ci/]. It fully supports building docker images - https://github.com/concourse/docker-image-resource
It was fun the few minutes it lasted. :)
Practical Redux, Part 4: UI Layout and Project Structure
If you like JSX, please stick with React.
If you like the awesome simplicity of Vue, but prefer a more familiar mustache-style templating language with your virtual DOM, try ractive.js from The Guardian.

http://www.ractivejs.org/
Yes. Slow CPUs.
Why Zebra’s Have Black and White Stripes (2014)
I'm pretty sure what he wants to say is that it should let you use libraries written for an older version of Python than you are using, much like the CLR would do if you wanted to use a library written using an older version of C# than you're using (or a different language targeting the CLR, for that matter). I'm pretty sure the claim that Python 3 is "not Turing-complete" is just a hyperbolic mockery of the claim that that isn't possible to do.

N.B.: I haven't worked with Python so if you can actually do this somehow let me just say that that's not the impression the article left me with.
I have put forth an argument. It may be a bad argument, but it is the best argument I have.

In response - your first post was snark and condescension. Now you are doubling down with vague anecdotes and sending me to "go educate myself".

How about showing some good will and trying to present a honest critique or counter argument in 1-3 sentences.

I accept that you are morally and intellectually superior - no need to exert yourself asserting your dominance. Now put up, please.
>implementing this in a way that maintains Signal's ease of use for all participants isn't exactly trivial (contact discovery is a big one).

I disagree, as long as it's an OPTIONAL and non-default method.
Many people (billions?) have been registering to various messaging services (from email to Skype and all kinds of IMs) and finding each other just fine, without using a phone/phone number.

Phone based authentication has a couple of advantages too, but when a "privacy oriented" messaging app has this as the only option it's fair to point it out.
What about doing a factory reset, then use the 'encrypt device' option, then doing another factory reset. Would that provide an extra measure?

Unless, of course, the data in it's final state before the final factory reset is un-encrypted.
How Passwordless Authentication Works
Well otherwise the user will most likely forget the separate boot password as phones typically get rebooted once a month or so.
Ask HN: Why isn't homebrew officially supported by Apple?
Why isn't homebrew officially supported by Apple? OR why doesn't apple provide a command line based package manager?
I agree with where your head's at....this isn't a good system. But who is qualified to devise a better one
You have a static IP?
Horrible user experience.
What do you think of languages like Rust, Go, or Haskell which return errors as part of the return type? That's somewhat akin to having all exceptions be checked.
I used to host with them. It's very cheap, but you can't have any expectation of high uptime.
Silicon != silicone :D. Silicon is a metalloid commonly used to produce silicon wafers for integrated circuits. (Hence, Silicon Valley :D).

Silicone is a rubbery polymer which contains silicon. :D (Ex, window calking, breast implants, etc.)
Nokia to launch Android smartphone
It's reassuring that policy can change due to voter interest in spite of the resistance of career politicians - it demonstrates that American democracy has yet to fail absolutely.

Perhaps the focus of people interested in new policies should be directed at state reform rather than federal? Ballot propositions seem to have been rather effective recently, and they encourage the education of constituents rather than the few legislators currently in power who may have conflicts of interest.

Then nationwide reform no longer has the excuse of "that wouldn't work in America!", and people impacted significantly at least have the option of moving to those states (i.e. MA and CA for gay marriage a few years ago).
مشاهدة مباراة برشلونة وسيلتك بث مباشر يوتيوب يلا شوت اليوم
hmmm, maybe I am missing something but this just looks like they are promoting freelance writers - see for yourself here

https://www.evernote.com/shard/s212/sh/d4ee10d0-2c4c-4c5b-8d...
Yes, getting accountability needs to be addressed, we're looking at several ways. Makes no sense to build on TMSP, governance that introspects over the consensus mechanism is a key feature. We aspire to be a utility, not a vassal.
Launching Automizy, marketing automation for saas software and apps
You would also break ALOT of sites with a requirement like that. Not to mention the millions of people who has a website but has no idea what an HTTP header even is...

Its pretty normal to include external scripts on a website (CDN for dependencies, tracking like google analytics etc)
Aren't they owned by a Japanese pachinko company?
Are you proficient in Python?
Apollo Software Engineer Margaret Hamilton Awarded Presidential Medal of Freedom
All you need to do is use Django as the backend create a rest API and then use react or Angular to retrieve the data.
I have often wished that RDF and semantic web technologies had caught on. I think the overly complicated specifications and poor tools doomed, them, though.

I completely agree that trying to represent a graph structure of data properly into JSON can be inordinately difficult.
Comments like this make my day, thanks :)

I'm hopeful that we'll see lots more blog posts written in this interactive style in the future - the KLIPSE plugin I use is extremely simple to set up, and has support for a ton of languages including Python and Ruby (not to mention regular old JavaScript!). http://blog.klipse.tech/klipse/2016/09/09/klipse-languages.h... is a gallery page that has examples of all of the languages that the plugin supports.
I'm not sure I and the other commenters read the same article. Quote: "But underlying just about every piece of economic analysis out there, general equilibrium or otherwise, has been a great big assumption of “other things equal”: that the supporting institutions within advanced economies do not change over time".
Crypto Wars reached Europe. EU wants to weaken cryptography, unlock iPhones
I have experience with Flask, that's why I have the same question.

Any answers?
Blockchain would be a great solution iff a user friendly way could be devised to distribute private keys to authorized voters so that the same private key cannot be used twice in the same election and that lost private keys (or private keys of deceased people) are permanently disabled.
That's not an indication of politicisation at all.
Angular 2, not worth it. We made our decision to migrate an old Angular 1 app to Vue.js. Best decision ever.
HPE Vertica on MacBook Pro: All You Need to Know
Do you want to make a CRUD app and know python with good documentation and batteries included? Use django.
Ironically I access my VPN to the UK so I can access geo-restriced UK websites while I am out of the country.

Blocking it would indeed mandate blocking HTTPS, my OpenVPN piggybacks on port 143 on my UK server (though I guess DPI could spot it too).
Why not just use Udemy instead of a separate site?
That's pure sample bias. You can support anything that way.

Which is not to say that this thread isn't bullshit.
The vast majority of C# projects are not .NET Core but using the old, backwards-compatible stuff. And it's kind of nice that you can have that huge back catalogue of stuff even as you use the latest C# features.