skysight-inc/HackerNews huggingface dataset:
Or, configure git to use a different editor, and do things properly.

git config --global core.editor [your choice]
When the authentication info needs to be used with servers in different location of the world, JWT is better. Getting the session info from a redis server or something equivalent isn't free. Deciphering a JWT token may be faster. So, the most appropriate method depends on the use case.

If all the servers are in one location, a random byte sequence as session id key with cached info is the most simple, compact and efficient.
I think, just like writing, some code is meant to be read but most is produced as a fact of life. For example, of what I write in my daily life - emails, HN comments, papers, text messages... the majority aren't meant to be aesthetically pleasing at all. But occasionally I will write something, either on purpose or by accident, that's just a little bit poetic and nice. Or I'll sit down to write a story, or a blog post, or something that's meant to be a bit nicer to read.

There's a continuum of how nicely things are written in real life: if you just crashed your car, you might text your family quickly telling them what happened. Or if the site went down, you might hack together a quick fix. That'll be utilitarian, since in a situation like that you don't give a damn about how well the text/code "flows". Then there's writing where you're not pressured for time, but you don't care about the style: most code people write is like this. Then finally there's code, and writing, that's intended to be beautiful. It's written with the intent of showing it to other people, and with the hope that someone will read it and say "wow".

The reality, however, is that most code - and most writing - is merely utilitarian. And even when people -do- try to make their code (or writing) beautiful, they aren't skilled enough to do it. Hell, just because I _want_ to write like Márquez doesn't mean I can.

There is code that is literature, but it's hard to find. It may be lost, written on a whiteboard in a job interview to impress the company. It may be hidden from the world, the author embarrassed by it. Or, it might be out there somewhere, but nobody's discovered it yet.
I was almost intrigued, until i got to

>Women, he emphasizes, have retained the instinct to nurture because the human child is especially vulnerable compared to the young of many animal species. They have to create peaceful, nurturing conditions or the human race can’t survive.

>“There is no other fount of social morality itself,” says Kanth. He faults Eurocentric modernists for centering on male aggression and taking it to represent everybody, which is unfair.

No, nope, sorry. Take your armchair anthropology to the Rudolf Steiner Appreciation Society, but spare _me_.
Maybe the piece picks up again after this, but I could not read on.
I'm willing to bet in my lifetime Facebook will not become the world's largest company.

Google may have a chance of beating Apple at #1 but Facebook has quite a margin.

Essentially both Facebook and Google are ads businesses. Facebook seems to be optimizing for short term growth at the expense of their brand.

I know many people who joined Facebook around 2008 and absolutely were big fans of it. After 10 years none of them even use it, the novelty wore off.
Don't put your age on your CV. It's irrelevant.
I think the Scala community's aims have been higher than what you've suggested for a while. For example, from what I've seen, Scala.js has been wildly successful, yet according to you it should never have existed.

Scala.js lets you run Scala code on javascript-based VM's and provides full integration with the underlying platform and libraries. Scala native looks to be another attempt to expand Scala's reach into new platforms beyond the JVM.
One needn't click on affiliate links to buy Chekhov's works. Project Gutenberg has them:
http://www.gutenberg.org/ebooks/search/?query=chekhov
That's correct. We statically link all of the transitive Scala dependencies.
Somewhat true, yes. Think about how the cia leader was sharing information with his extramarital girlfriend, lied about it, got caught, and basically got no punishment. Compare to how the obama administration went after leakers and reporters writing about it and tried to intimidate them with national security claims.
Facebook and Digital Sovereignty
How to Do CentOS Minimal Install?
Would it work for the _actual_ majority of the country, like, you know, the cities? Yes. Landmass is meaningless. I know of a few people who attempt to live outside the city, and they are all paying through the nose in time alone for the privilege of living far away from everything and owning/maintaining a car. Any savings they may have by cheap housing cost has been swallowed 6-8 times over by the increased wasted time to do literally anything.

Plus, they get to partake in an activity highly likely to result in injury or death at least twice a day! Wheee!
That's the answer they're looking for. (White could still lose by making really bad moves, but so could black.)
Man I agree with you 100%.
I have been trying to get this message across whenever these topics come up in discussions with people.
We are risking the minds of people.
Take this example. So many mobile games which essentially leverage the thrill of gambling to make their games addictive. Of course, this only increases micropayment revenues. How many people get hooked and waste hundreds of hours? How many kids!?

To me this is the same as cigarettes. Why do we regulate it? Because the average person is unlikely to know its harmful effects. What about these applications? Which are profitable by tapping into our desires and impulsive tendencies.

Its time we discuss this.
When stuck on a decision, sometimes I use this trick: I flip a coin, and while it's in the air, I pay close attention to how I want it to land. The subconscious tends to show itself when I am tuned in at that moment. Then I just use that feeling as the decision and ignore the coin. No regrets so far!
Road to a more functional Java with Javaslang: example refactoring
The "Hyperdev/Gomix/Glitch" part the parent comment actually means "Hyperdev = Gomix = Glitch", they are renaming of the same product.

Initial development was as Hyperdev. Gomix was the chosen name at the time of the beta launch. Glitch is the current name.
(Disclosure: I have accepted a job offer at Facebook, but not yet started)

Does Facebook really have a unique amount of data? Google also knows a lot about people through billions of searches a day. Apple can learn a lot through people's iDevices, and Google (again) or Samsung can do the same with Android. So can any cellular service provider, or anyone running coax or fiber into your home. The government can tap any or all of those. At least Facebook doesn't have an army, or paramilitaries like DHS or just about any sheriff's department I've ever encountered.

I'm not saying the author's concerns are invalid. I've had occasion to think about these exact issues a lot, and I'm sure many of my soon-to-be colleagues have too. The way I see it, Facebook and other social media occupy much the same position as phone companies used to, both in terms of how they facilitate interaction and in their privileged financial/infrastructural positions they occupy. There's good in that (e.g. ability to pursue the kinds of speculative projects that Bell Labs was famous for). There are also dangers, no question.

The thing is, if it wasn't Facebook it would be someone else. There's no shortage of others ready to step in if Facebook alone were targeted with laws and regulations. Instead of worrying about Facebook specifically, we need to think about what a modern "common carrier" law should look like in the social-media age. Perhaps some kinds of regulations on use of information do make sense, but that dialog isn't likely to be very constructive so long as most of the people on one side seem to be free-market fundamentalists betraying their own principles by singling out one company among many.
Trying to build a subscription based site
Hi,

I'm starting a subscription based business that allows users access to files that are hosted on a website. These files should not be downloadable by the users. I'd like to build a site such that if a user has a 'level 1' subscription, they can access one file a week (that I change on a weekly basis). If they are 'Level 2' then they can access all files on the site (but still no download). Can any of you suggest a site builder that I can use to make this website?
You make false dichotomies and try to make this in some sort of "USA vs. Europe" imaginary war.

Why must you do that?

False conflations of nations and ways of thinking, and accusing people of being full of themselves while you yourself expose such a behaviour.

You need a hug, man.
Two contradicts your reasoning. Also, it's not true. Most self made successful business owners in the United States are immigrants. Spoiler alert: Immigrants do not vote Republican.
DesignOps at Airbnb
> In the worst case, only the CIRCLean would be compromised, but not the computer reading the target (trusted) USB key/stick.

If the CIRClean device is compromised, I don't see how the trusted USB stick, which is connected to the now compromised CIRClean, can be guaranteed to not be infected.
The problem is that prototypes usually end up being the production system.
>When you let people give you things for free, you basically let them control you and take away your freedom.

How is this different from proprietary software? Where you have no idea what's going on under the hood?

Granted, "giving in order to get" is a common and effective social engineering tactic.
I'd wager that the FSF disagrees with your statement.
Both. I'm pseudonymous on this account and have a real account for real name stuff. Generally if it's hacker news stuff or Pythonista community or another community where I signed up with this name, I'll contribute with this name. If it's more productive open source work, I'll use my real name. I try not to have direct links from this account to the other, but there are small hints left over, scattered around the web if anyone is curious (please email me if you find them!).

This name is kind of ridiculous and cumbersome, and is in fact designed to be a name you recognize but don't remember.

Unprofessional? Maybe. But the point of what I do on this account is to participate in these communities. Not to make real contributions or serious projects. Not to make things I would show off in a portfolio or something, and not to collaborate with my real life friends.

I'm wary of using the same name for every community. I have different names for different communities, and this helps me keep my "automated-collection digital footprint" pretty low for each name.

Stereotyping a dev community to use pseudonyms is not a bad thing at all. Sure, it's not strictly in our career interests, but it's good for peace of mind. I have some embarrassing comments on here from a year or two ago. That's ok. I was in high school then. I don't have to worry about it being associated with my real name by an employer -- if the employer puts in the effort to find data that connects my two names, then they've put in far too much effort and it seems they're likely to hire me anyway.

There's something to be said for altruistic contributions that don't necessarily keep your own career interests in mind.

I too am interested in seeing what the non-dev audience has to say. I think they may have the same privacy concerns.
Thanks! SpreadServe has 3 APIs: REST/websockets, C++ and Python. A SpreadServe deployment is a cluster of servers. So if you wanted to push Bloomberg market data into a spreadsheet you'd code a new server component in C++ and/or Python against the BBG API.
For the response from the European watch industry, see Haute Horology. While true that the replica manufacturers have become really good at making some of the most popular mass-manufactured watches out there (submariners, base PAMs, APs), they do not have the skill or craftsmanship to make the types of grand complications and finishing techniques that these artisans possess. A lot of Haute Horology brands also make their watches only out of precious metals, and this is something that cannot be cheaply replicated. Of course, these watches end up costing much more than most people's cars (A. Lange & Sohne being maybe entry-level haute at 25-30k).

I'm basically agreeing with you but just adding that I think the replica market has actually pushed the Swiss/Germans into even more amazing feats of engineering and finishing. I'm not sure that the business side will work out but here's a sample of some of the insane beauty and craftsmanship that has resulted:

FP Journe: https://youtu.be/0nJ0_TVdkmQ

Greubel Forsey: https://youtu.be/ShtL3rKPhQA
As an aside, I really like that they include the rationale with each item.
As Moore’s law ends, brain-like computers begin
The reason is because they are more intelligent, more likely to follow the news and less likely to believe everything they read on the internet or watch on TV.
His rules seem to require only that the move was legally possible, not necessarily likely. Maybe after moving around the board for a while, the bishops aren't readily able to strike at the pawn.
I think "exellent" is an excellent choice of the word (beautiful ≈ красиво).
> but it's not of much value if an "echo" or "grep" implementation takes up 15 to 30MB on the drive

In this day & age? It might be of value if an echo or grep takes ~20MB and a full-blown HTTP REST server with DB access takes ~25-30MB. Why do I care again exactly whether there is a fixed portion of bootstrap/runtime core code in the binary, as long as I'm not writing echo or grep?

(Any helloworld app not written in asm (or lib-less C) will consist largely of "non-helloworld code" in terms of "bytes occupied in the binary", right?)

Dunno might be of concern eg with embedded/raspberry and such, but for code to be "moved from a jvm-kinda flair to a go-kinda flair" I'm not seeing the issue .. yet ;)
The meta-field dilemma: `a.size` or `size(a)`
Extensions.af – A site to find the dopest Chrome extensions out there
The "what would happen if it went away tomorrow" question is not particularly useful to determine facebooks power, since it's not going to go away tomorrow.

I think the argument is about influence, not complete determination. Influence can be exercised independent from a services replacability.
I think you're missing something here, which is that I'm not, and would never, suggest that other people take up my hobby.

The author's clear thesis is that a 30+ year old word processor that requires layers of emulation to run on modern computers is still the best tool for fiction writers, which is laughable.

If I were arguing that everyone who cared about telling time should use a mechanical watch, then we'd be making equivalent (and equivalently ridiculous) arguments.
Do you have any thoughts on these other factors, on the drop in demand? Sounds interesting to me. I'm not a collector but do fall for the lustre of high-end watches.

I see a few articles on the crackdown on corruption, strong franc, and younger generations being poorer. But surely China is minting huge numbers of new solidly middle and upper-middle class customers all the time?
>IMO this is a side product of the "software must be free" mentality.

"Software must be free" usually means free and in speech not free as in beer.
Does this provide a garbage collector?
well only linode if security is not your thing... They have a history of security issues.

I think this is the latest in a long line:
https://www.theregister.co.uk/2016/02/09/linode_ssh_security...
Testing Django forms with pytest parameterization
React VR
The rise and rise of Monero
And that's exactly the problem that SpreadServe address. A prototype spreadheet will operate far better in production as a scalable resilient SpreadServe server deployment than as a manually operated desktop spreadsheet.
"Reality has a well-known liberal bias" --Stephen Colbert
Not by itself, but if the age suggest that the content is stale it could be. How the HN algorithm worked 7 years (assuming it has changed) isn't of that much interest, even though the analysis might be.
> The approach I use is to have a 'use once' refresh token (long timeout) and a security token (short time out) and JTIs to hold a list of logged out/invalid (refresh token used twice) security token IDs.

Here's what I've never understood about this approach: the browser can send many requests at the same time, over the same (HTTP/2) or different (HTTP/1.1) connections. If, say, six requests hit your backend at the same time, all with the same refresh and security tokens, with four more queued up on the user-agent, and the security token is expired, how do you know:

1. that all ten requests are valid,

2. to revoke the security token once,

3. to generate one new security token,

4. to mark the refresh token as used,

5. to generate one new refresh token?

Is it as simple as granting some leeway on how long the tokens can be used after they expire/are revoked? Do you have some way of serializing requests on the client to prevent this from happening? Or do you assign all ten requests the same "batch" ID and tie them together on the backend somehow? Do you do a preflight request to refresh the security token if it's expired?
I usually wait until I'm very tired, I sit in a couch and then ask myself "should I do X?".
If I can get up it is a yes...
Or you could just search for Paul Graham's posts[0] :)

> (= gravity* 1.8 timebase* 120 front-threshold* 1
nourl-factor* .4 lightweight-factor* .17 gag-factor* .1)

(def frontpage-rank (s (o scorefn realscore) (o gravity gravity*))
(* (/ (let base (- (scorefn s) 1)
(if (> base 0) (expt base .8) base))
(expt (/ (+ (item-age s) timebase*) 60) gravity))
(if (no (in s!type 'story 'poll)) .8
(blank s!url) nourl-factor*
(mem 'bury s!keys) .001
(* (contro-factor s)
(if (mem 'gag s!keys)
gag-factor*
(lightweight s)
lightweight-factor*
1)))))

[0]: https://news.ycombinator.com/item?id=1781417
Indeed, who knows. But would it benefit the country if they released their ops reports?
I bought a copy of this book [0] to furnish a crash pad but then ran out of energy and just dealt with no furniture.

Subsequent attempts to try it in the real house were vetoed by my wife.

[0] https://www.amazon.com/Nomadic-Furniture-Victor-Papanek/dp/0...
> I understand the human need to optimize attention, use basal heuristics to weed out unattractive options, and nurture a need to belong, but this is not logic. It's a rationalization.

There is an underlying logic though when you frame it in as a time vs reward problem. I could spend a few months evaluating all of the various build tools out there and find the perfect fit for my team. Or I could spend a few days evaluating the projects with the most support (be that large companies, large communities, whatever). I'll concede that I can't guarantee it's the _perfect_ fit, but it's likely good enough when you compare the opportunity costs.
Agreed, the English "beautiful" often doesn't seem to capture прекрасно. I always took them to have some overlapping meaning, rather than being a direct translation.
Julia all the things!
But this is not just some random meta post it's about ranking algorithms, I think those are doomed to be popular whether it is HN or Reddit.
I think it's the way it's used - the headline seems to suggest that these prefab bars are cheap imitations of real culture, but assiduous doesn't actually participate in that connotation.
How long have you been a morning person and is it easy to get into the habit of waking up early?
First, understand that there was no Computer Science degree back then - it was called "Applied Math".
I think the courses available to undergrads were:

1. programming [A]

2. algorithms

3. operating systems

4. compiler design

If you were lucky like me, and a graduating student bestowed upon you a coveted key to the graduate terminal room, then you could hack on those excellent DEC VT-100 terminals besides James Gosling, and buy bottles of Coke from what was perhaps the first vending machine connected to the internet.

[A] Interesting in that it was a school-wide class that you were required to take and to pass. Programing was done in Pascal on a mini-computer-based IDE.
I asked a similar question on the reddit thread about this. I'm bummed that I didn't find this answer right away in this documentation. Probably the most interesting question for me
rationalizing duplicity

imagine what you'll tell the grandkids
I am using Glitch as a learning tool and it is great!
It is great to see in real time the consequences of what I am typing. The faster the feedback the faster you learn. I know if something broke or work as I intended immediatelly.

I am creating my portfolio there btw: https://rodrigo-pontes.glitch.me
I suspect liberals and conservatives will have different opinions of this. (They're smarter! They're brainwashed!)

However, it is worth breaking down what it means to be liberal or conservative.

It is odd that if you tell me an American's opinions on guns, I can give an above-chance estimate of their opinion on immigration, or abortion.

The real question is, why are liberals so liberal?
Unbelieveable that this is still going on.
Post has been updated.
>
[1] If I tell you that one person is responsible for 10% of the 18500
Emacs bug reports over the past 9 years (next most enthusiastic is me
with 2%), you can see that this effect can be significant.
I think Nature has more of a Libertarian bias, or maybe that's just me.
Maybe they were thinking "aeronat" :)

(Nat- being a Latin prefix for "born", see "natal")
how is current_year different than last_year?
I also thought negatively of the word before I looked it up. I honestly do feel the HN headline was chosen specifically to drive emotions like that, there's no other reason for it to differ so wildly from the article headline.
This translation is great but I think it's still interesting to read into the connotations of Chekhov's original words:

http://www.anton-chehov.info/754-n-p-chexovu.html

>you are drawn away from it, and you vacillate between cultured people and the lodgers vis-a-vis

>тебя тянет от нее, и тебе приходится балансировать между культурной публикой и жильцами vis-а-vis.

Here "cultured people" are originally "культурная публика", literally "cultured public".

>Cultured people must, in my opinion, satisfy the following conditions:

>Воспитанные люди, по моему мнению, должны удовлетворять след<ующим> условиям:

Here "Cultured people" are originally "Воспитанные люди". More like well-brought-up.
You say Sinn, I say Damasko :)

http://www.damasko-watches.com/

Very impressive line-up of in-house technologies for watches that retail for a couple of grand or less.
Yeah, my engineering classes at Cal were mostly close readings of Karl Marx.
In this case, I prefer FP-style destructured pattern matching (e.g. https://doc.rust-lang.org/book/patterns.html#destructuring) to OOP-style method overloading (FTA). In the FP style, the compiler can make sure you handle all possibilities.
How UIDynamicAnimator works with collection views in Swift [video]
> When your product is incredibly addictive to a large chunk of humanity, regulation should be considered

Yes. Let me compare FB to a phone company. When telephony was first invented, it quickly turned out to be addictive to a large chunk of humanity. Did we leave it unregulated? No, we didn't. In fact, there was regulation stating that telephone conversations may not be eavesdropped by telephone companies. Other regulations allowed other companies to be active on the same network so people could call eachother, regardless of their operator.

But somehow, we think that these types of regulation should not apply in this day and age. Strange.
I am in full agreement with you, but I still feel surprised by the amounts of replies that person got.

Seems like people love to argue pointless negativity even if the "argument" it makes has zero roots in reality. That's extremely sad. :(