skysight-inc/HackerNews huggingface dataset:
I'd like to reply to 'bitJericho here - please start commenting in a tone that makes the HN moderators happy, because the positions you're espousing are ones that I think is extremely valuable, and it would be a loss to the site to lose them.

I realize that it's hard to separate a tone that makes the mdoerators unhappy and content that makes the moderators unhappy (I didn't read the comment above as unsubstantive or uncivil at all!) but you gotta play by their rules.

(Or, I guess, burn HN down and start a new one that isn't subservient to capital. I'll join.)
I do occasionally get problems in Python due to typing issues, but it's pretty infrequent. Nowhere near often enough to care about all that much.
Nim seems really good, but does it have a decent REPL these days? I'm not sure if it would be as convenient with a statically typed language, but I like the incremental development approach so much that I only use C if I absolutely have to.
The author argues from his professional experience as a Python developer that it's fast enough, that you'll spend most time waiting for I/O anyway, that you can just throw more servers at the problem etc.

The problem is that his experience as a Python developer doesn't accurately reflect the prevalence of problems where runtime CPU performance actually is an issue. Of course not, because who in their right mind would make an informed decision to solve such a problem in Python? Python has worked for him because it is only useless for a category of problems that he hasn't had the opportunity to solve because he's a Python developer. Outside this professional experience, not everything is a trivially parallel web service that you can just throw more servers at if CPU time exceeds I/O waiting.

It all really boils down to what your requirements are, whether you have all the time and memory of a whole server park at your hands, or a fraction of the time available in a smaller embedded system, how timely the delivery of the software has to be and how timely it needs to deliver runtime results once it's up and running. There are times where Python just isn't fast enough, or where getting it fast enough is possible, but more convoluted and tricky than implementing the solution in a more performant language. Developer time may be more expensive than the platform that my solution is for, but that doesn't get around the fact that it eventually will need to run with the available resources.
I'm just saying that some firms try. There's really nobody making them accountable otherwise.

This isn't Equifax's first data breach and the others are pretty recent too.
I actually did but misspelled as minilog. Oops. I should have known better and it's definitely on my shopping list.
> Maybe it's more important to have some readers rather than to have a pixel perfect layout. I and others will not read it as a PDF.

What formats would you prefer? Serious question.

My own position on PDF is that it has the central problem that it is a very complicated format for which it is error-prone to write a sufficiently compliant implementation.
But most alternative ebook formats also have a rather complicated specification, so most common alternative ebook formats arre replacing one evil by another.
Wow. Having an ID card seems so normal to me that I would never have thought that the US didn't have any. I've been to the US before and never even noticed. Thanks for the link.
Why multiple cursors don't work (for me, of course):

1) I'm limited to what I can see. I can't see that a command does not generalize unless it's on the screen. Most files I work on take up more than the one screen I'm on.

2) Multiple cursors tend to have really limited flexibility - if it can't be done easily with the available movement keys, often times it can't be done. Macros, on the other hand, can easily move non-contiguously.

Yeah, macros do require a bit of extra thought around "how do I program the text editor to do what I want", but they usually do the right thing. It helps that macros are easy to record and use in vim, and that a macro can call another macro.

Of course, I have used multiple cursors before, but usually only in data files which follow strict columnar formats.
I googled a bit but couldn't find any analysis of middle class existential angst. Care to link me to something?
so breitbart's anti-semitism is fine, but pro-white is not ok because you have a mixed raced child?

good thing you didn't marry a jew, you ignorant hypocrite.

you're all idiots.
I am an Emojishrugcurian, personally, but that's a good pull, I hadn't thought of that.
What I find puzzling is that this pink chocolate 'invented in 2017 by a Swiss company marketing to millenials' appears to have been available in British sweet shops for over 20 years.

https://www.sweetsncandy.co.uk/a-jar-of-pink-and-white-choco...

https://i.pinimg.com/originals/66/0b/87/660b8713654b075c0a81...

My conclusion: while the Swiss are masters of chocolate, the Brits are masters of time travel.
> It even means a restaurant should be able to refuse to seat (pick one): black people, white people, males, redheads, left-handed people or introverts. Whatever. They probably won’t stay in business very long, it’s a form of corporate Darwinism.

I wonder how the civil rights era would have gone if the courts agreed.
Ambition Collision
Moreover, there is no actual need for credit reporting agencies to have SSNs. They don't need to report payments to the government for tax collection. SSNs didn't prevent credit reporting agencies from commingling my father's credit data with mine.
People like to forget that private companies don't have to care about your first amendment rights.
Figuring out how to prove it is safe to the compiler is definitely a challenge.
Coding Boot Camps Get the Boot: Why the Industry Is Shutting Down
Yeah, the deeper I go into CS, the more it reinforces the idea that learning things makes them more interesting. Sounds obvious, I guess, but you wouldn't know it from how turned off people are to books or online lectures.
At least we have cards with chips in them now, so there's some movement on this. Maybe gas stations will have them by 2020.
Want to make your vote really count? Stick a blockchain on it
No. I'm completely serious.
GameMaker + GML is not overly opinionated IMO.

That combination was one of the environments that grew my general ability to program as a kid
Money laundering and drug trade.

China has export controls to prevent USD from fleeing the country and weakening RMB. Instead, people buy mining equipment and export their wealth as Bitcoin.

Many of the institutions within the cryptocurrency world are also transparent money-laundering schemes. For example Nicehash is a system that lets people "earn money mining cryptocurrency" by "renting their hardware to bidders", but from a high-level perspective this is essentially miners getting paid in dirty money and giving bidders "clean" coins generated on their hardware.

The darknet drug trade needs no explanation, of course.

I tend to think the darknet trade would be sustainable on its own (at a much lower price), but the capital flight is where most of the runup is coming from. They're moving it to real-estate in places like BC and Australia.
Time for the class action suit to dwarf all other class actions... liquefy Equifax and turn its assets over to the 143 million.
"It even means a restaurant should be able to refuse to seat (pick one): black people, white people, males, redheads, left-handed people or introverts. Whatever. They probably won’t stay in business very long, it’s a form of corporate Darwinism."
Well unless, racism, islamophobie, or antisemitism are en vogue, then the minority is screwed.
I'd take the point about literals a half-step further. It's really nice to be able to throw a string at a function and have that function compare it to a literal value using == instead of strcmp - and oh yeah, someone was just about to reply saying I should always use strncmp for extra productivity loss. Or I can throw a list/dict of any random type around without lots of ceremony. Do I lose type checking? Sure. Then again, those "expected int, got unsigned int" warnings aren't very helpful sometimes. "Must compile without warnings" is a good idea for long-term maintainability of long-term code, but when you're writing a simple script or still experimenting with an algorithm that crap just gets in the way. A minute or two defining and aligning types might not seem to much, but when you have to do it ten times in the course of what was only a one-hour task to begin with it's a pretty significant hit.
I'm sorry that you are getting downvoted for simply expressing an unpopular opinion, but you may be interested in this: https://www.theatlantic.com/politics/archive/2014/08/this-ma...
Dhall does the dumbest thing possible to enforce totality: Dhall doesn't support recursion! Note that Dhall does support lists and folds on lists (which are total), but not user-defined recursion

For example, if you write:

let x = x in x

... then the second `x` will be flagged as an unbound variable because `let`-bound variables are not in scope for their own definitions. Similarly, there is no `let rec` in Dhall

That implies that if you want a user-defined recursive type that was not a list then you have to explicitly Boehm-Berarducci-encode the recursive type and its inhabitants. For example, if you wanted to encode the following Haskell data type in your configuration:

data Tree = Node Integer | Branch Tree Tree

example :: Tree
example = Branch (Node 1) (Branch (Node 2) (Node 3))

... you would encode it like this:

λ(Tree : Type)
→ λ(Branch : Tree → Tree → Tree)
→ λ(Node : Integer → Tree)
→ Branch (Node 1) (Branch (Node 2) (Node 3))

You can think of Boehm-Berarducci encoding as "anonymous recursion" when you write it this way because every inhabitant of such a "recursive" type includes the datatype definition in the value (if you view the lambda-bound type and constructors as the datatype definition)

Or to put it another way, if you ignore Dhall's support for builtin types, builtin functions, and imports then Dhall is literally the exact same thing as System Fw . You're used to thinking of System Fw or the calculus of constructions as underlying core languages for a higher-level language semantically defined in terms of the core language like Coq, Agda or Haskell. However, in Dhall there is no underlying core language: you are assembling raw System Fw expressions. Since the most pedantic definition of System Fw requires explicit polymorphism and doesn't support recursion then Dhall behaves the same way, too.

I agree, though, that the lack of (unsafe) IO is an even bigger deal. Like you mentioned, if you use immutable URLS (such as IPFS) then they are basically pure. Even if you do use mutable URLs, you can always use the ability to normalize programs to purify them of imports (and you can also use Dhall's API to safely and statically verify that an expression is devoid of imports).
> When I tell them I made a bit of money investing, they think stocks, not blockchains. I’m not even going to try explaining bitcoin to them. They don’t need the aggravation.

So many questions:

1) Why would any human think blockchains and not stocks when you talk about investing?

2) Humans shouldn't be investing in Bitcoin unless they have money that is 100% disposable (which, judging by the tone of your blog, you don't).

3) You should try explaining Bitcoin to your parents. Trying to explain something will help reveal whether you actually know what you're talking about or not. I'm going to guess that you don't understand how a blockchain fundamentally works. I am guessing this because you're using "blockchain" as an example of something grokked by people on the younger side of the digital divide but not by the older side. If you think the grokking of blockchains is so widespread that you can use it as a shorthand for the digital divide, then I seriously doubt you grok blockchains.

4) Are you seriously investing in Bitcoin, or was that just poetic license?

Edit: clarification and typo
In an earlier post (https://www.easydns.com/blog/2017/09/06/why-does-easydns-pro...) supporting free expression, EasyDNS says that they will only refuse service to sites that advocate or encourage "physical violence or harm toward an identifiable minority." I have never been to the DailyStormer site, so I don't know if they meet that criteria. If they don't, EasyDNS, while well within their rights, is not living up to their own standards.
This is pretty perverse - strangely enough we're not begging voluntarily or through greed. I'm not sure the fact that we need to pay our rent should turn you off the protocol...
"Free speech" usually refers to government interference to speech, why should a business be required to make what they see as a bad business decision?
Kik Blames Canadian Regulators for Skipping Country in ICO
For search and replace, while NeoVim doesn't have multiple cursors out of the box (there's a plugin for that), recent versions support

> set inccommand=nosplit

To do search and replaces interactively.
People on this forum take the latitude to discuss the differences between the "letter of the law" and the "spirit of the law". They are both supposed to be factored into legal investigations and judgments when deciding someone's guilt or innocence.

Someone who has deep understanding of the letter of law and uses it to semantically defy the spirit of the law (like tax evasion by exploiting loopholes that were not designed for their use case) do, in my opinion, deserve criminal punishment.

The tax code was designed to tax entities who use more than their fair share of public resources to make private profit. Think about the legions of WalMart semi-trucks ripping up highways that most taxpayers pay for; it gets to profit from its use of infrastructure that it uses way more of than the average taxpayer.

Obeying the intent of these kinds of laws as they were written originally requires ethics that many corporate individuals simply don't have.
There is definitely a fierce competition between ride hailing companies for the bigger market share in the industry. Uber has already damaged its reputation by how it does business in the past. Now the new CEO Dara Khosrowshahi has more problems to solve and FBI probe on Uber is just an additional one.
> "Nevertheless, I don't think anyone should call themselves a (true) programmer unless they know C."

You could make an even stronger claim about knowing an assembly language. The point being that understanding how a computing device works is helpful in getting the best out of it. If that wasn't your point, then C is no more special than any other popular programming language.

Also, whilst I only know the basics of C, it's pretty clear things have moved on considerably since the days of K&R. It doesn't cover any of the enhancements included in C99 and C11, nor does it cover the tooling and coding conventions (the ones that help avoid problems) that have become commonplace since 1989.

For a more up-to-date reference, I've heard good things about 21st Century C:

http://shop.oreilly.com/product/0636920033677.do
You can turn it off completely in Preferences.
The unfettered free market has historically not been very swift or efficient in correcting discrimination
> They're the cold, hard and calculating ones who fucked and are fucking over every other generation.

Could you please not post rants like this to HN? Generational generalizations are unsubstantive enough as it is; we don't need the rat poison of rage in there also.

https://news.ycombinator.com/newsguidelines.html
I think the work being done on ruby with the truffle/graal project is interesting in this regard - it's my understanding that ruby is very dynamic too - but it's interesting to see what can be achieved by inclining c to ruby to c etc. It's a crazy stack, compared to something like red (redlang) - but it's amazing how close they are able to get to "magically fast compiler/runtime".

If they manage to combine tracing/warm-up with ahead-of-time compilation to executables... It'll be very interesting indeed.
Oh noes, did you just say the fwee mah-ket is bad? Socialist!

Incendiary comments aside, I have to agree with you, a lot, the mindset in the United States towards free markets has become something of a religion. While free markets are definitely useful as a general heuristic, markets Can be inefficient.
I'm assuming you wrote this comment as a C programmer (or have used C in a professional setting?)

If so - how did you get into that? I'm really looking to _build_ something rather than just going through a book or tutorial (although they have a place and time). '

I suppose my objectives are learning as much as I can, and (ideally) having a day job working with that technology. All of this is more or less driven by interest and enjoyment of programming.
> It even means a restaurant should be able to refuse to seat (pick one): black people, white people, males, redheads, left-handed people or introverts. Whatever. They probably won’t stay in business very long, it’s a form of corporate Darwinism.

I find it ironic that this is (presumably) precisely the position The Daily Stormer would take on those issues.
When I followed the links they provide to those affected, I went into an infinite loop of sales pitches for - get this - advanced security packages. I thought CAPTCHA on the page where I had to confirm my SS# was an especially nice, seeming-to-care touch.
Summary: Google Drive desktop application is being deprecated.

For personal accounts, use Backup and Sync [1] which has selective sync, auto photos import to Google photos, and can backup the entire computer.

For corporate/G-Suite, use Drive File Stream [2] which gives fast on-demand access to personal and team drives, downloading files only when you access them.

1. https://www.google.com/drive/download/

2. https://support.google.com/drive/answer/7329379
Genuinely curious why people upvoted this.

A saner conclusion would be: If you want multi-cursor editing in your editor, don't use a gap buffer.
Well, then perhaps it's time to start talk of selling vulnerabilities on the Dark Web to compensate for our time?

It may be brutish, bad, evil, or whatever. Id report willingly for open source or software Ive bought for bug reports or vuln reports. But if I find a serious security issue, I expect to be compensated. And if an org makes it impossible to even contact them, I'll go to their, <ahem> competitors. They do pay.

Perhaps organizations need to be reminded of this.
From my perspective, they seem to focus to much on the technical side. E.g. they are working on P2P communications over the network formed between nodes and lots of libraries and features, but not much work in the way of making it user-accessible. People put all kinds content on IPFS, but the most common way to access it is through centrally run gateways, either the official ones or ones run by the individual project. No browser plugins that would upgrade sites from HTTP through gateways to using IPFS locally, no special IPFS-enabled browser (like e.g. dat has in beaker browser), no other applications accessing it directly...

It's possible that I'm missing something or approached it with the wrong expectations, but I'm underwhelmed by that side of it. E.g. I looked into using it on my website, but can't find an actual benefit to doing so.
Is there a standard way to avoid attacks based on abusing your window.location.replace() calls?
They do have to care about the Civil Rights Act of 1964 though.
But we already have a method in place for changing the Constitution, no revolutions necessary.
Wow, glad we finally invented hedonistic indulgence. And just in time to make less money than previous generations, too!
HTML wasn't intended as an application platform, but for hyperlinked documents. That developers are using browsers for apps has economical reasons (eg. end users not willing to pay for software). That HTML isn't a good fit for a purpose it never was intended for is hardly TBL's fault, is it?
Park it in the sun, leave the air con on.
once the network launches, which is supposed to happen some time next year if I remember correctly.
That cartoon made my day.
No, clearly the "side of caution" people are taking is on the side of accuser. Given that a significant percentage of rapes go unreported, people believe it's more likely that the accuser is telling the truth than not. The problem is that there is very little evidence of rape other than personal testimony.
> learning half-finished template language

javascript?
any news about btcc.com's fate? the main exchanges in china are btcc, okcoin, and huobi
and .. easydns is canadian

i think the legal structure for this relationship would be different
i believe that's the point "When they’re grown from seed, they are mysteriously devoid of fruit."
I just want my own info. Like, I need to see it. Problem is: there is no simple way to see my own info in this leak. I either get a third-party involved, and thus make the leak worse, or I .. get everyone elses data and have a look at it, too.
That might be a little extreme. Vault 7 demonstrated that the US government has been hoarding vulnerabilities to consumer electronics which allows spying without warrants and leaves the owners at risk.
Nice scam
OP is saying they want to support a private business that voluntarily shares the government's mandate on free speech, even when they are not required to.
The proper way to use it is to be rich. The justice lady might be blind but she can hear the sound of money. /s
While I agree with you, the problem is trying a person is at the discretion of the state. I suspect the state was motivated by Shkreli's public reputation when they otherwise wouldn't be as motivated to prosecute if it were someone else of lesser celebrity, particularly since the investment outcome was overwhelmingly positive.
> The primacy of the SSN in American society is idiotic. It's a "secret" that you have to hand out to dozens of different organizations

I'm not from the US. The first time i had an american friend explain me the SSN thing, I thought they were crazy, for the exact same reasons.

It is idiotic, as you say.

Here in my third-world country there isn't any number or code that I need to keep secret and I need to hand over to other companies at the same time.
From their proof of replication whitepaper [^1]

>We introduce Proof-of-Replication(PoRep), a new kind of Proof-of-Storage, that can be used to prove that some data has been replicated to its own uniquely dedicated physical storage.

I'd be partial to a "proof of location" system myself. You know that two computers are physically far apart if they respond to pings in the right way, as limited by the speed of light.

[^1]: https://filecoin.io/proof-of-replication.pdf
Your biases are clouding your ability to reason.

It was Lawful because the officer was justified in using non-lethal force to apprehend a suspect who was evading arrest. The intent of using a taser is to incapacitate with non-lethal force.

For Israel, the combination of shock exacerbated a health condition that caused him to go into cardiac arrest.

Calling him a vandal balances out the emotional impact of referring to him only as a "recent highschool grad, and aspiring teacher."
Ask HN: Resources/Tutorials for Deploying Docker application in production
I recently learned docker and dockerized my project using docker-compose.
I am using shared volumes for local development.

Looking for some good resource explaining the complete deployment pipeline for production deployment.

Few doubts -

1. Should I keep my code in docker image?

2. How should I push code changes in production?

3. Where to keep credentials(.env file)?
Beej wrote one of the best programming content online and I hope he can update some of them(C11,posix IPC, epoll/poll,etc).