skysight-inc/HackerNews huggingface dataset:
> Dynamic scoping and typing is what makes Emacs easier to extend, rather than harder.

I think that's what this new editor is trying to test. I'm certainly not convinced that that's true. :)

> It's not unusual for users to fix bugs and performance problems in Emacs packages with some choice redefinitions, global or scoped.

Maybe those bugs shouldn't have existed in the first place? I'm don't want to be fixing bugs in my editor -- I just want it work properly.

While outright crashes (as in SEGV) have been rare, there have been loads of times emacs has just gone into an infinite loop, times where functions get the wrong type (or number of) arguments and you just get some weird "argp" (or whatever) error message in the status bar.

I don't think I'm an anomaly -- especially since I use very few extensions (at least AFAICT compared to what some real power-users do).

> A typed API on the other hand will prescribe interactions between extensions. It's still possible with the right design to make things flexible - eg getting extensions to describe their logic in the form of data that can be modified by other extensions - but I think the axis will be between Emacs style flexibility vs rigidity of extension.

The thing is: The API exists has some restrictions whether one formalizes them or not -- the difference is that in one case you'll just get weird/buggy behavior whereas in the other you'll get a compilation error. If it's possible to formalize something "generic enough" is an interesting question.
> Apple analogizes its role to the role of an owner of a shopping mall that “leases physical space to various stores.”

Sounds like a company store in a mining town. The company pays your pay checks, charges you high rent and high prices at the company store (Which is also the only store)

https://en.wikipedia.org/wiki/Company_town#Paternalism
On the other hand, traditional characters retain more of the etymological components which are helpful for creating mnemonic devices to more easily memorize the characters.
One more thing (since I might have the attention of a windmill-tilting pro-bono lawyer): I donated the car in question to KDFC. The SF red light proceedure for people in my situation has the accused track down the current owner of the car (which is not necessarily the person it was first transferred to), which means I needed to get in touch with an out of state auction house that sells the cars for the radio station.

This happens all the time, and the radio station has a department to deal with these issues. If you call the car donations hotline, and ask for the red light ticket helpdesk, you will be transferred to someone that might be able to help bootstrap a class action suit. I suspect this situation is the same in most states.
Amazon wants permission to run mystery wireless tests in rural Washington
What's your point? I'm trying to understand what you're hoping to accomplish. That the original article is invalid because the guy pushing the issue is a conservative?
Sorry for the downvotes, secfirstmd, but I believe the readers are looking for a more substantive post. Explaining how civilians and BBC reporters were mistakingly targeted as insurgents, then the Admin's resistance to FOIA requests by the BBC and the families of the victims would help. A link to the wiki can't hurt. You know the drill, perhaps a rushed post?

https://en.wikipedia.org/wiki/July_12,_2007_Baghdad_airstrik...
Yes. Depends on a person, like in your case, also depends on dosage and tolerance, but being more outgoing, honest and speaking more is certainly possible as an effect of using opiates.

What opiates do is they simply make you feel good. They give you a feeling of enjoying yourself. They don't make you ecstatic (for most people), but they give you all the pleasant feelings you could get after - for example - running and winning a race, for free. How those feelings affect your actions differs from person to person.
I had my first Intel 32/40gb fail just outside warranty (originally 1 year iirc). But I was so addicted to the speed difference I kept with them... The price difference isn't bad for laptop/desktop use now. But man, can't even consider it for my nas.
It's a cosmetic change which happens to completely derail ill-informed Python programmers, so yeah, it's a big deal.
There is a solution to this paradox. If individuals without insurance were required to repay, at the time of their death, the cost of their healthcare over the last 5 years of life, the economic incentives would change overnight. We already do this and more when it comes to assisted living facilities.
I'm not sure if the situation has changed, but I recall installing Fedora (and another distro I cannot recall) years ago, and SELinux would kill sshd when a connection was received, on a clean, out-of-the-box installation, making the host inaccessible.

These sort of super-critical bug make software go immediately into my blacklist, and it's very hard to come back from that - it basically meant that it had to be disabled immediately, because it's defaults were completely broken.
I'm not disagreeing but the situation is a bit more complex. For example ISO 10646 ("Unicode") has multi-code point sequences denoting still a single character (such as variation sequences, which are actually used in standard HTML entities).

Moreover, there are languages/scripts challenging the notion that a particular byte-unit corresponds to a single character.

Treating strings as byte sequences (with optional UTF-8 interpretation/checking, uppercase/lowercase conversion if the concept even applies, trim functions based on all Unicode spaces not just those characters in US-ASCII etc.) is entirely a defensible choice for a programming language.
Happier might be the closest thing that currently exists: https://www.happier.com/app/community
Sounds like a bad analogy - Apple does buy the app for 70% of what they sell it.
While you're talking about speed limits, my post was about actual car speeds, and how a difference of 5% (from your data) means a great deal when it refers to your survival chances.

> There's about a 17% risk of death if you're hit by a car going 30 mph, vs 12% at 25 mph.
ESR can always be more pompous.
Maybe you stop taking Adderall when you don't really need it, you fucks!
I recently went to court for a red-light ticket, which I received when I went through an intersection where the red light was blocked by a vehicle in another lane (this is clear from the video and photographs taken by the red-light camera). At my hearing, the judge acknowledged that I was driving slowly and that there was no way I could have seen the red light, but that he was obliged to find all red-light camera cases guilty.

In general, I think we'll see that technology aids the state in "letter of the law" situations, and as the state gets more access to information about us (including the possibility of our thoughts), the ways to punish in biased or primarily revenue-generating ways will only increase.
Stop doing adderall you Beta Fucks!!
I had 10 out of 12 go bad on my freenas box a few years ago, will NEVER buy seagate drives again.
They can't use the name LibreSignal because it has the word Signal in it?

Wow, even Microsoft didn't behave that juvenile about LibreOffice.
Really regular workout is the only longterm solution. It's hard to start but be strong and go for team workout classes 3-4 times a week for three months. After you feel the positive changes you won't give up. I'm doing it for three years by now, no cold fingers/feets anymore
Agreed that Pinyin is a great help for the learner.

However, have to disagree on the character simplification.

While it would sure make sense to make characters simpler, simplification really only made some characters faster to write (by hand), by reducing the number of strokes. It is very unclear whether it makes things easier to read (in print), or easier to write/remember (when you use a keyboard to type it).
Why would China or Russia deport him or detain him any longer than necessary to strip him and squeeze him a bit? It's not like he's getting any new info, and this way he remains a source of political destabilization for the US.
Hm, I may have been wrong, would be nice to have someone who owns one of these boards to verify that:

1). The first stage bootloader doesn't require signing.

2). The first stage bootloader starts in EL3 mode (ie. BootROM doesn't exit it like it did on some OMAP dev boards)
What are you optimising for?
A few points I don't think anyone has mentioned yet:

- Ruby has less of a learning curve in contrast to a lot of other languages, though the margin is definitely narrowing with ECMAScript
Uhm... Not sure about that. I speak Chinese everyday for the past 20 years and it sounds like one syllable to me.
> It is a sign of the quality of the language. No amount of money can make a square peg fit into a round hole.

I think this is fundamentally wrong. I think you're confusing the language itself with how the language has been implemented.

Speed is entirely separate from the language. It's possible to write two different JS interpreters: one very fast and one very slow, both of which meet the language standard set by ECMA.

These days JS generally gets JIT compiled and a tremendous amount of work has gone into improving the popular compilers. Lots of tricks are involved. These tricks are quite clever (though sometimes inelegant) and result in significant speedups. But they have nothing to do with the language itself.
There's another takeaway here too. This person does know the law, well enough to teach it, and successfully won his trial by proving that the officer involved perjured himself. His "success" resulted in him losing a bond for twice the cost of the ticket and no action being taken against the police officer whose perjury initiated the charge against him.

His only consolation can be that the trial likely cost the city more money than they collected from him. Yay for sticking it to the man! The best case scenario we have is for both sides to lose. There's no way to win. If we want to change this situation, we need to pay more attention to the procedural semantics of our justice system, not just the law. You can be entirely vindicated in the eyes of the law and still lose every bit as badly because of the process you're forced to submit to just to contest the legal aspects of the case.
I think a closer McDonald's analogy would be if it did not allow Coca-Cola to sell its drinks elsewhere.
Ask HN: Filter family pics from 10k pics on Android
My wife's Android phone has 10k pics in whatsapp media folder. Some of them are family pics (which we want to keep), the others I'll delete. How can I separate the two, hopefully without uploading the data to any online service. Any open-source solution (either on Android, or my mac) would be a great option!
Given Adobe demonstrated technology to convert text into somebodies voice based upon a few samples and make that person sound like they can say whatever you want to type. Are we not eventually going to use that approach for the optimum voice compression and just send text which is converted into voice. Given most phone conversations are with people already spoken to then that would certainly be a solution for low-bandwidth voice comms, or at least an approach more viable today than previously.

But low bandwidth voice comm research is useful on many levels, one aspect is that it tends to push latency down and in some area's that gets more and more important.
Read that a while ago and it didn't make it click for me.

If I had just stumbled across it without a recommendation and without recognising the bame of the author I'd easly dismissed it as some kind of trolling but thats maybe just me.

What I want is:

1. How to do tasks x, y and z (with explanations on why).

2. Complete documentation of all commands, settings files etc.

Usually 2. is somewhat covered in the official docs and 1. is available in blog posts etc. Last I checked 1 was not covered in any way when it comes to SELinux.

Making a coloring book out of it is nowhere on my list.
Killer Open Source Software
live in the tropics
> But people still do it out of habit.

It's very hard to come back from such a popular image of "100% broken and must be disabled immediately". Even if SELinux evolves to absolute perfection, the damage to its image is done, and that will take a long time to change, regrettably.
It should not have been shipped so green.

> If you ignore SELinux, it won't cause issues besides the ocasional need to run "restorecon" (which one gets into the habit of doing whenever an "access denied" error happens when permissions seem otherwise correct).

Sound like it's still pretty broken, IMHO. I should never see an "access denied" error on a host I control, unless I misconfigured it.

The truth is, the defaults MUST work on all common scenarios all of the time for these things to be successful. Otherwise, people will only see the downsides (and the upsides are rarely visible, and rarely outweigh the downsides).
Gay marriage is what makes headlines on the mainstream news. Clauses related to privacy hidden away in an executive order do not.
The UK does have a constitution, it's just not a single codified constitutional document. This has led to some really interesting constitutional documents, for example, a letter to The TImes under a pseudonoym Senex was called a constitutional document in evidence taken before the Justice Committee:

> Q16 Chairman: Is the letter to The Times in 1950
under a pseudonym Senex, which we now know is
Alan Lascelles, a constitutional document that now
guides us?

> Lord Turnbull:In a strange way,it is,yes; people have
accepted the logic of the arguments that he put
forward.

From https://www.publications.parliament.uk/pa/cm200910/cmselect/...

(Incidentally that letter has been superseded by the Fixed Parliament Act).
Kdenlive 16.12.1 released with Windows version
My wife and I have a 90/10 low deductible plan with 90% of premiums employer-covered. It costs us ~$220 per month in premiums so total plan cost is over $2k per month plus our out-of-pocket monthly expenses are usually $150-200 in co-pays and prescription costs. So over $25k a year on healthcare alone.

I was born and raised in a single payer country where healthcare is free (or close to it) and we are seriously considering a move back there. If we lose our jobs here in the US we would be screwed due to my wife's ongoing mental health needs.
Omg. You just made me think about lifetime markers for crates... your project requires a minimum lifetime of stability in a crate or something. Kinda funny.
That's a pretty bad analogy :(

A better analogy would be that your Apple toaster only works with Apple power outlets and only accepts bread made or approved by Apple.
>Japanese is different in the sense that each character already carries its own pronunciation, so the use of romaji is discouraged.

I may be wrong but isn't that only the case with hiragana and katakana? Kanji in Japanese can have multiple readings with multiple pronunciations - which you just kind of have to know.
A French colleague once remarked to me that the imperative mode is favored in Germanic languages (in contrast to French).
I installed Fedora Server 25 a week or so ago on a small server, sshd was open (with an extremely strong random password) and fully functional at install time. SELinux has caused no issues, I actually chose to install docker in the installer at install-time and it came pre-configured to play nice with SELinux.

Firewalld on the other hand, I'm still figuring out (firewall-cmd is useful, but trying to translate iptables rules -> firewalld is proving harder than I expected)
This is a blatant lie. But I guess this is the type of propaganda and JTRIG ops that we have to get used to.

http://www.usatoday.com/story/news/politics/2013/06/16/snowd...

> Thomas Drake, William Binney and J. Kirk Wiebe belong to a select fraternity: the NSA officials who paved the way.

> Not only did they go through multiple and all the proper internal channels and they failed, but more than that, it was turned against them. ... The inspector general was the one who gave their names to the Justice Department for criminal prosecution under the Espionage Act. And they were all targets of a federal criminal investigation, and Tom ended up being prosecuted — and it was for blowing the whistle.

William Binney describing the FBI raid on his house while he was in the shower: https://www.youtube.com/watch?v=r9-3K3rkPRE&t=5m27s

and

> Top NSA Watchdog Who Insisted Snowden Should Have Come to Him Receives Termination Notice for Retaliating Against a Whistleblower

http://www.pogo.org/blog/2016/12/intelligence-community-land...
Seagate's Linux FW updater still has the string "MaxtorRulesSeagateDrools" baked into it, which rather says a lot about where that particular tool came from.

So not everything that came out of Maxtor is terrible, if it means they let you flash HDD FW under Linux now.
Try the first two to be certified to high-assurance security:

http://www.cse.psu.edu/~trj1/cse443-s12/docs/ch6.pdf

The MLS model was too difficult to adapt to commercial use. Biba was good for stopping malware from overwriting files. They still preferred something more flexible. SCC then invented type enforcement in another high-assurance system:

https://web.archive.org/web/20160311233659/http://www.cyberd...

Flask architecture was combining that tech with a microkernel. SCC, acquired by McAfee, added type enforcement to a BSD OS for their Sidewinder firewall. The next work by Mitre was proof-of-concept for OSS by adding it to Linux. That and a pile of incremental additions is called SELinux. I'm sure you'll find the LOCK design a lot cleaner as it was originally intended. ;)

Also worth noting are the KeyKOS system (esp with KeySAFE), the capability-security machines, and one language-based mechanism:

http://www.cis.upenn.edu/~KeyKOS/

http://www.cs.washington.edu/homes/levy/capabook/index.html

http://www4.cs.fau.de/Projects/JX/

These collectively should keep you busy for a while. They're the kind of thing worth imitating or building on.
Where can I get a free OSX machine?
Oh my goodness how right you are. I'm very sorry! I should have checked this far better. Again, super sorry.

I believe I was unintentionally citing that a single Cell SPE is 25.6 GFLOPS: https://en.wikipedia.org/wiki/Cell_(microprocessor)#Synergis...
I am one of those people.

Though what you forget to add is that we'd rather pay to have such services in our communities by ourselves, of our own volition, rather than it being taken from us without our explicit consent. This discussion always boils down to consent.
You do realize that harm caused and potential for harm are both considered heavily in criminal law, right? Bringing up a bunch of absurd examples doesn't change the fact that criminal law isn't 100% binary.
Petitions don't encourage organisation nor repetition, the two elements of successful political mobilisation. They're one offs by disjointed individuals of dubious commitment.

Worse, they promote complacency. ("I sure showed them by signing that petition!") Getting rid of disgruntled constituents by having them press an Internet button is a politician's dream.

Petitions--particularly written ones--brought forth by an organised body, or used to organise one, can be powerful. Internet petitions aren't those.
You made the same point on GitHub, so I'm unsurprisingly going to give the same answer here :)

Protocols aren't primitives. Secure primitives certainly do not imply secure
protocols (Example: AES is a secure block cipher, but AES-ECB is clearly not a
secure way to encrypt messages). Secure protocols mostly imply secure
primitives. (Counterexample: a protocol using HMAC-MD5 doesn't have forgery
issues even though MD5 is not a secure hash function.)

There are several levels of "homebrew" of "roll-your-own" cryptography:

- Designing your own block ciphers or hash functions.
- Designing your own compositions of primitives, like AE or MAC.
- Designing your own protocols, like TLS or Noise.

This vulnerability exists on that third level. As a consequence, this isn't a
repudiation of NaCl or libsodium. They're excellent libraries. Curve25519 is a
DH primitive, and there's no DH vulnerability here. The problem is that it's not
an AKE, and that's what you're using it as. The docs clearly enumerate what it
does and does not do:

Security model

crypto_scalarmult is designed to be strong as a component of various
well-known "hashed Diffie–Hellman" applications. In particular, it is
designed to make the "computational Diffie–Hellman" problem (CDH) difficult
with respect to the standard base.

crypto_scalarmult is also designed to make CDH difficult with respect to
other nontrivial bases. In particular, if a represented group element has
small order, then it is annihilated by all represented scalars. This feature
allows protocols to avoid validating membership in the subgroup generated by
the standard base.

NaCl does not make any promises regarding the "decisional Diffie–Hellman"
problem (DDH), the "static Diffie–Hellman" problem (SDH), etc. Users are
responsible for hashing group elements.

For example, this clearly states that you're responsible for hashing group
elements, which ostensibly the Tox AKE does not do. If you build an AKE, there
are other documented aspects of Curve25519 to consider; for example, some AKE
protocols require contributory behavior, which means that in Curve25519 you're
(exceptionally) required to consider representations of points of low order (see
https://cr.yp.to/ecdh.html).

The claim that libsodium doesn't give you the tools to produce a secure AKE is
incorrect. Firstly, you can do a traditional signing key exchanges. Secondly,
Noise is a proof from construction; there are implementations of the Noise
protocol available on the site, and you'll see that it defines a KCI-secure AKE
that you can implement using nothing but NaCl/libsodium.

Finally, as much as I try to draw this conversation away from individuals and
towards technical discussion, I hope you'll find that I've tried pretty hard
both here and in general to provide constructive contributions, and trying to
educate those who'll listen. And, I tell people to consult a cryptographer,
although you could do a lot worse than NaCl as a set of solid primitives :)

If a chainsaw does a bad job of cutting an apple, it's not a bad chainsaw.
Are we not eventually going to use that approach for the optimum voice compression and just send text which is converted into voice.

That's basically dictionary compression, except in this case the dictionary might need to be extremely large.
Write Text on images on any webpage using a chrome extension
The way I grok the computer science, strings are sequences of zero or more characters input into automata and unicode is a way of encoding text. Text is a sequence of one or more glyphs input into humans. Thus, for me, the implementation of String in Python 2 is about as sound from a computer science perspective as an implementation can get. By which I mean that in the end all data boils down to bits and clustering the bits as bytes is about as reasonable as alternatives. On the other hand, Python 3 treats strings as text and this necessitates all the overhead of multiple encodings and converting glyphs from one language to another language according to the messy and inconsistent and incomplete rules of human language. For me, it would have been better if Python 3 (and most other languages) had a 'Text' type in addition to the String type.

The problem is sloppy use of language in a domain where usually it is ok but sometimes it isn't.