skysight-inc/HackerNews huggingface dataset:
Of course we know how to do this. But, politics.
> DeCSS was published in '99, yet it's still not easy for an average user (grandma) to duplicate a DVD.

Would ripping a DVD really be easier without the DRM, for an average user? To strip the DRM you just need to have libdvdcss (or whatever) installed, and your ripping software strips the DRM without you even knowing it's there. It's not much harder than ripping a CD.

HandBrake doesn't even tell you there's any DRM- it's completely transparent, more or less one button to rip.
...and they would call it "Windows 10 Professional"
Using gene drive doesn't require releasing huge number of modified mosquitos, and doesn't require larvicides.
That's fine with me - I never resell my books.

But yes, you need to keep it mind.
It's true we are unlikely to achieve interstellar travel any time soon but this has nothing to do with the fact that there are wars and everything to do with the laws of nature.

If anything, wars tend to accelerate technological progress.
Since when does uber care about regulations?
I tested it on a 680 MB of text. gzip compresses to 246.0 MB. pigz compresses to 245.5 MB. I see similar percent change on a 3.8 MB text file. So they are approximately equivalent.
https://github.com/Cirru/cirru-editor but yes do a Show HN.
Learn Programming by Looking at Real Code Examples
This is a fantastic guide / insight for how Chinese characters work, and does a great deal to dispel the myth that Chinese characters are virtually random - that each individual character requires independent memorization.

As someone who has studied both Chinese and Japanese, this article read very fluidly. Curious how other readers have found this?
> But for adults?

Yes, for adults. There is a huge difference between good and bad teachers for continued student success. Its an important thing in learning.
Scientists probe lightning hotspot to predict future strikes
Mandatory double-quotes for keys just to get rid of required commas does not make it better.

There are better relaxed JSON's available than this one:

* https://hjson.org/ does not need those double quotes and can handle without commas just fine.

* https://github.com/phadej/relaxed-json also allows comments, trailing commas, simplier strings as in YAML.

* RJSON http://search.cpan.org/~miko/JSON-Relaxed-0.03/lib/JSON/Rela... is similar.
Huawei G9 Plus Launched, Next Flagship?
> He is proposing to add a timestamp type to the grammar. This would have the advantage that there would be one canonical way to have timestamps in your JSON.

There is already a canonical way to have timestamps: encode them as defined in RFC 3339.

Done.

The proposals add nothing to JSON and don't make sense. I mean, screwing up with the language just to add a very specific data type that is used in only a specific corner case that isn't even supported in the use case that's provided as an example? Nonsense.
[work] + [fight] + [sun] is poor Huffmanization of the common English suffix -tion. That's what, 14 strokes when English just takes 7?

Well, maybe that was the point, though -- that the priorities of the language may change over time, and eventually you're dealing with 2000 year old Cockney rhyming slang baked into your written language. But that's just the opinion of one guy sitting on his Vannevar.
Washer: a Python Whoosh-based CLI tool to index and search your files
But why: https://github.com/kstyrc/embedded-redis
I'm using pbzip2 to solve this problem.
http://compression.ca/pbzip2/
The brain can rewire itself on these timescales. Interesting to identify the mechanism of cycling..
Since when has pricing been cost-driven though?
They are. Not sure that changes my point much? The user database/registration are entirely separate. There is no lockin being circumvented by virtue of both being tencent.
My uncle was awarded a PhD in the late 1970's from Arizona for the technical papers on generations ship written for NASA, so I have some insight to this stuff [0].

The TLDR; for the project was that assholes suck. Many many things are hard to work out for a generation ship, from the correct number of light bulbs to bring with you, to the plumbing, to the risks of permanent 0g. In all, the engineering was remotely possible for the tech at the time, but extreme. A generation ship, ala a giant metal can with people and pipes in it, was engineeringly feasible, but the human considerations made it impossible.

The main issue was that the ship's inhabitants were to be born, essentially, in Alcatraz; a prison they could never escape. As time went on, the crew was expected to become less and less aware of the danger of the vacuum and an accident was exponentially likely to occur. Most highly isolated peoples, like on Rapa Nui or Naval ships, were brutally strict. As teenagers are wont to be boundaries testers, it was expected they would be the most risk to the ship. Add in deteriorating conditions and failure of parts, and you end up with the Stanford Prison Experiment[2] for generations. The project was a human rights nightmare. For thousands of years, potentially, you breed and die in what may eventually amount to a Nazi death camp.

The simplest solution was to make a giant Stanford torus [1] with the land area of between California or Maryland, stick an artificial sun in the center for light and heat, and launch it at your target [3]. Remove any computers or guidance of the Tube, just let gravity somehow guide you into the right place. Oh and make it big enough that some wacko death cult that may arise can't break it apart or kill everyone. Essentially, you launch a mini-Earth Tube, and let them fend for themselves. When the Tube gets into position, you hope they get curious enough to figure out a way to jump out.

Obviously, the mass of the thing alone is too much to begin to think about, let alone the time it would take to create, launch, fly out, orbitally park and decelerate, and finally disembark. Even back in the 1970's, they knew that the rate of tech increase would just make it so that you launch a robot with some zygotes and grow the people when you get there.

In the end, the possibility of a generation ship was deemed too remote to devote more funds towards. Our better natures think that we could live in harmony in the stars, but history tells us that our darker selves always arise. The issue with a generation ship of humans is not the ship, but the crew, as a lot of the time people can be nothing more than assholes.

[0] By awarded, I mean he published the papers, and someone at UA forced him to take a single class for the requirements, so impressed they were at the scholarship.

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

[2]http://www.prisonexp.org/

[3]https://en.wikipedia.org/wiki/The_Book_of_the_Long_Sun
An icon? no. There are however, online hanzi dictionaries where the user draws a character, here's one:

http://ce.linedict.com/dict.html#/cnen/home

See the paintbrush next to the magnifying glass in the search field.
> I think it would take too long to work out the meaning of every piece of code you see from first principles.

Just as in mathematics, once you've proven something, you can reuse the result as often as you want. But “the community always does this” isn't a proof.

> I do agree that Lisp benefits from more functional data structures (...) there's nothing besides common sense and convention that prevents FSet client code from mucking about inside the guts of the FSet data structures.

Then Lisp doesn't have functional data structures. That's no surprise, Lisp has no more compound values than Python or Ruby do - that is, none.

> Even in languages that nominally support access control, like C++ and Java, you can usually still get around it with casting or reflection.

Standard ML actually has type abstraction, and, once you've made something abstract, there's no way clients can inspect it. No downcasts, no reflection, no anything - abstract means abstract.
No, b6 has it right, you can travel as fast as you want. The universe will get squished along your direction of travel, effectively increasing the speed of light (relative to the distance you're traveling) as your speed increases.
I learned about pigz in the High Performance MySQL O'Reilly book appendix. I used it, and other techniques there to improve our MySQL backup/restore time by 7x. This in turn won first place at a company hackathon.
I have no clue where the author of this article is pulling the fact that this tree is the oldest in Europe. I was just in Croatia on the Island of Pag a few months ago, standing in front of an Olive tree [1][2] that is 400+ years older than this tree:

Either the Croatians lied to me (and the internet, and the world) or this article is just completely invalid

[1] http://www.autocampdrazica.com/en/island-pag-novalja-lun-s5....

[2] https://secretdalmatia.wordpress.com/2010/10/31/olive-trees-...
Japan's zoning system was modified when, in 1985, there was a crackdown on love hotels. Revolving beds, mirrors larger than 1 square meter, vending machines selling sexually exciting products, hallways which lead directly from a private parking space to a room, lack of a restaurant, or lobbies less than 30 square meters make it a love hotel. Love hotels are subject to additional zoning restrictions.

Amusingly, one effect was that love hotels put in restaurants to comply, and, to the surprise of management, their unashamed customers starting ordering meals. So more regular hotels put in rooms with sexy features, and love hotels started getting guests who just wanted a place to sleep. The distinction between the two has gradually disappeared.
What kind of punishment could be handed out for this?
The main problem of rust is that it's not implemented in go. The reverse is also true.
> Of course, such a course in programming doesn't have to be accredited.

If the course is not accredited, it doesn't transfer and it doesn't count towards a degree. If it doesn't count for any degree we might as well do a workshop with certificates and hire a one shot instructor or contract for one from a company. That is something we already do and would not trust to a student.

> But for those in favor of bureaucratic rules over getting things done, they'll have to settle for no programming instruction in CCs.

I don't think you get the whole CC thing. Not following those rules, like murdering someone, would be an death sentence.
> She explained to me that a foetus can't properly develop in microgravity

How on (off?) earth can anyone know that?
In this case it sounds better than the GNU mount, as it makes auto-mounting much easier.

But just let's see if they dump the mount table as XML...
Raising hand. If your IDE understands XSD, it is far easier to do than JSON. Tab completion on all your fields and instant validation of values.
With all due respect: your approach here is to tell a billion people to jump over the Grand Canyon or kiss your ass and die.

My approach is to go as far as I must to meet them halfway because I know I wasn't born perfect either.

Engineers are brilliant in ways that are rare, valuable and admirable. But they don't tend to have a great level of empathy and trust me, it's something worth cultivating.
...Hang on a second, that sounds a heck of a lot like NewLisp's memory management model, with the disadvantages thereof.
It was symptomatic of their lack of financial control thats for sure.

It doesn't matter how popular it is, if you are going to spend $1bn of your shareholders money on it, it needs to generate the revenue - and Sun never figured it out.
Edmund Thomas Clint – A child prodigy
Is systemd really an attempt of NSA to corrupt GNU distributions?
Pecking order hash:
http://www.ijirst.org/articles/IJIRSTV1I9059.pdf
I_10 = ACE02468
I_11 = BDF13579
https://github.com/sivagtr/POH
He works at Cisco :P
Honestly, I am at the point I have little interest in being a customer of someone with an exit strategy. I've had enough services I used get acquihired into oblivion that if I don't see a long-term business path for the company, I'm never going to even try them out.
Grow up. Get a life. A job is like a shoe. If it falls apart or gets worn out... well, get another, and move on (or "run", if it's a new pair of sneakers)
> I do not think that "provable" is the correct term to for the rust compiler.

If it was, in every sense, the right term, there would be a lot more fuss around that.

> Type checking (safety) is only one subcategory of proofs

I hardly know what I'm speaking of, but these lemmas on nLab [1,2] seem to imply more than that.

[1] https://ncatlab.org/nlab/show/propositions+as+types

[2] https://ncatlab.org/nlab/show/relation+between+type+theory+a...
This post is a test.
Well if you tried to liquidate ASAP, you likely wouldn't be left with that $1.4B on hand due to outstanding obligations, severance pacakages, legal fees, etc.
JSON is not optimized to be written by humans (I'd argue even JS is not well optimized for that </joke>).

There are other formats for that, like YAML and TOML[1].

When JSON is needed for human-to-computer stuff, I'd say TOML is pretty much always a better choice. A common use case for TOML is config files. And I see a lot of config in JSON lately; this makes me sad. (Though not as sad as the config-in-XML thing the Java ecosystem suffered from.)

1: https://github.com/toml-lang/toml
Didn't see a lot of HN posts about "How one rewrote Y from Z to Rust" yet.
THE BEST CITIES FOR SOFTWARE DEVELOPERS
And Go is rather pointless to begin with. The only thing it get's right is the excellent microthreads and CSP implementation.

The only reason it gained any traction is the big name of the mothership...
Plenty of Rust related posts, though.
The only thing I learned from this article is that even the most idiotic ideas can appeal to some investors if you search hard enough.
Auditing Zcash
This is a not a good way to do this kind of thing. Simple stateless redis protocol parser and an example to use it would be a much better interface.
There's IceCat
Because reinventing the wheel is an immense amount of fun, if you get to do it yourself. ;) A good learning experience too.

Everyone should at one point write their own compiler. And maybe their own OS.

(I'm only half kidding here)
Ok. It looks like it is just a single ad before the content of each of the pilots in the current promotion. Definitely a bit silly but not outrageous.
> Mostly useful as a mocking tool during unit tests.

AFAIK redis has tests, you don't need to rewrite tests for redis in Java. Mocking implies test assertions in the Mock. I'm sure redis driver for Java has tests too. That's what you should mock.
Languages are tools for communication. Online, we have a much larger community to communicate with, so network effects apply for languages as well.

I don't think it's troubling that languages rise and fall, and many die out. Rather, it's the intangible heritage of humanity and particular cultures in danger that should attract our attention. Language is an element of this, but more important is the substance of their stories, their oral and written traditions, their values, and their way of live. We should work on preserving this heritage possibly at the expense of their language, if that's our only viable method.

(disclaimer: previously posted by me here: https://news.ycombinator.com/item?id=11904129#11904318)
The first language that comes to mind when I hear "datetime handling in most languages leaves a lot to be desired" is, slightly ironic considering JSON's origins, javascript. If you ever touch a date in JS you HAVE to pull in something like moment, full stop. JS Date is a steaming pile of shit.
Here is what I use.

# convert markdown to html via pandoc
# https://unix.stackexchange.com/questions/108485/send- email-written-in-markdown-using-mutt
macro compose \e5 "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset='utf-8'\n"
They're not functions, they're macros: functions that are called with their arguments unevaluated, and return code to be evaled in the environment of the call.
I deeply know the benefit of learning multiple languages. I know three myself. I was born in iran, and am fluent in spanish and english, so I have been exposed to all three cultures and languages all my life. I would love to know and learn from chinese, arabic, japanese, french, german, italian, portuguese, indian, american indigenous, etc.

Do we -all- have to spend all our lives learning -all- of these languages for us to communicate the greatness of each others' cultures and philosophies? Wouldnt it be better, given our finite time on this planet, to share all of these concepts more efficiently?
According to kanjinetworks.com that is, in fact, what the etymology boils down to:

> Square-shaped object (tripled) → high-quality goods spread throughout a protective container (compare 舗 and 販) → quality; counter for goods; (person's) character; grade; value.

http://www.kanjinetworks.com/eng/kanji-dictionary/online-kan...
My point is, Go posts easily appears on HN homepage, more than anything else. I didn't see a lot of posts about Java or Python there lately.
Tesla Announces New 2-Year Lease Deal from $593/Month
Yeah, arguably in this case using Discard and Cancel would be better than Discard and "Don't Discard". Having a consistent naming across dialogs for the cancel action is really helpful and when the actions themselves are descriptive it further differentiates the wording of the two actions.
There are many countries in the world who would love to have an economy as strong/modern and prosperous as Japan.
It's ok to dislike the hype but it's disingenuous to say it only gets one thing right.
> The only thing it get's write is the excellent microthreads and CSP implementation.

No at all. It's very far from even remotely decent implementation, the interface is too inconsistent and full of implicit behaviors and the performance is an order of magnitude slower than anything acceptable. But anyone actually using it already knows..
Doesn't xz already support threads out of the box, by the --threads flag?
What it gets right is that it's just a tool not a play field for academics.
حصان جامد يدخل زبة الكبير بكس بنت سكس حيوانات
Why not just use single-quotes in the HTML?
An great thing about Lisp/s-expressions, overlooked in this article, is that your code is divided hierarchically into little chunks that can be slurped, barfed, cut, paste and rearranged trivially with structured sexpr editors like Paredit or Smartparens.

"Take just this subexpression of a larger expression, move it into the parameter list of the function call five lines down" is annoying using almost any text editor with languages like C or Python. It takes about a half-dozen composable keystrokes for sexprs in Emacs with Paredit.
Unlike the Guinea worm, mosquitos are non-specific predators. Guinea worm can be eliminated by having a season without any humans infected, the only way to get rid of mosquitoes is to kill, every single one.
I'm not sure what exactly you're looking for, but there is at least one open-source GSM base station (http://openbts.org/).
What was the difference in speed between runs?
Their plan seemed really unfocused too. They wanted to create a major website just to run ads on it. I agree, this just looks like a con.
This isn't guaranteed by the language, even if CPython does it. What is guaranteed is intern('abc') is intern('abc').
Whereas in games like Pharaoh, they were designed so that you had to have many things within a certain (close, but not too close) distance of your population in order for your people to be happy and avoid crime, fires, etc. Zoning is non-existent. This is much closer to how planning permission works in my country - there's no specific zoning (though you're unlikely to get planning permission to put an industrial estate in a city centre), and people enjoy having shops etc nearby.
The parent probably means an in-process substitute for actual Redis.
Great site to explore algorithms and source codes of famous web and mobile apps.
The article mentions that the defendant was convicted of securities fraud, a "Class Three Felony" in Colorado. According to this web site[1]:

"Class three felonies, such as vehicular homicide while under the influence, are punishable by four to 12 years behind bars and five years of parole."

[1] http://www.mbslawco.com/blogs/2015/october/understanding-man...
It isn't that you support desktops so much as you support everything. The beauty of using HTML5 and JS is that you'd actively need to put code in to block it working on desktops.
>until people stop clicking on it.

Heh, sounds like he has. His goal is to drive traffic and it appears to be working.
And introduced destructive species like kudzu and the grey squirrel. These have results which are certainly bad, but far far away from causing any kind of catastrophic ecological collapse.
At least in the U.K. it's entertainment industry is mostly decentralised and located away from London, more in Wales, N. Ireland and Milton Keynes.
> Then why do group of atoms (eg. gold) have a color, but not an individual atom?

Color is not an inherent property of particles (I'm not talking about "color charge" here of course, which is something else entirely and has nothing to do with daily life colors). It is meaningless to ask the color of a bare electron. Color is the way humans perceive the wavelength/frequency of electromagnetic radiation. There are many different mechanisms that lead to emission of electromagnetic radiation. Then the question becomes: which radiation are you specifically talking about?

Electrons in matter do absorb and emit radiation at particular resonant frequencies, because why live in a particular potential determined by their surroundings. However, except for very simple scenarios (such as an electron bound to a nucleus with screened potential, or a weakly interacting gas of such atoms), the wavelength of the absorbed and emitted frequency depends on the collective behavior of electrons due to electron-electron, electron-hole and electron-lattice interactions. Thus color is an emergent property of matter, which does not exist at fundamental level.

> Shouldn't the answer be "white" rather than "colorless"? Colorless sounds like transparent or clear to me.

No, he is trying to say that color is not an inherent property of the atom. In a simple scenario, when you shine a "cocktail" of light involving many different colors, electrons, which "like" certain photons with certain energies, "eat" those photons and gain a quantum of energy (the value is determined by their internal state and surroundings) and after a while they return to their ground states by releasing a photon with the same energy/wavelength. Depending on the system, they can return to their ground state via some intermediate states, releasing more than one photon, whose wavelengths are different (larger) from the original one they "ate".
Heraldry of Germany
Hi Devon, thanks for writing this. Have you spent much time reading Jane Jacobs or "Seeing Like a State"? Both talk a bit about the lack of ability to truly plan cities (and even make references to chaos theory), leading them both to the conclusion that grassroots-oriented planning (i.e., making cities walkable, focusing on localized communities, etc.) will lead to healthier and better experiences for citizens.

Barcelona's superblocks[1] might be a good example of this, but we'll know in a couple of years.

[1] https://www.theguardian.com/cities/2016/may/17/superblocks-r...
Changing logos is the institutional version of cat waxing.

https://www.urbandictionary.com/define.php?term=cat%20waxing
You may also wish to try PreScheme. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.3.40...
Because anything else is a language design mistake.
I like that, thanks!