skysight-inc/HackerNews huggingface dataset:
I've been using the Atrix lapdock for a while with a Raspberry Pi, and the one thing that bothered me is that keys for adjusting things on the dock itself (like screen brightness, or keyboard backlight) don't work unless the USB is connected to a device that recognizes it. Is this the same for the Superbook, or does it process its own key presses?
>Not a very insightful article

Not sure whether are referring to my post itself, or the links to Unix signals in it. In any case:

- my post was not even meant to be insightful (if you thought that was the intention) - it was just a small fun one, showing that the current process can kill itself; the added 2 links about signals was just extra info as a starting point (only) for beginners; I am not responsible for the quality of Wikipedia links (1, see 2); I put in a link to a google search for Unix signals too, and finally, caveat lector (2, see 1).

- the article you linked to does not seem complete. Probably no one article can be unless they put in more effort. Even the K&R or K&P (3, 4) section on signal handling in C, talks about certain issues, and why a naive approach may not be okay. And even that was from way back, when signals were a lot simpler, and did not have the sigset, sigaction and other functions that they acquired later ...

(3) Kernighan and Ritchie book - The C Programming Language

(4) Kernighan and Pike book - The Unix Programming Environment
Not really since nobody knows what OSS is.
By attempting to sell it.
I was chatting in the DAO slack chatrooms early on ( before any of this hacking news ). I was looking to legitimately fund a company using the DAO software ( still looking for funding... )

Pretty much every developer there told me the thing was unsafe, untested, and should not be used for any real business ( yet ).

Not very surprised about any of this.
Sigh, I guess you're right. It's not like their aren't massive disadvantages to the APL way of doing things, like not being able to edit your code in standard editors, and having to learn confusing new keybindings, or even get a new keyboard.

OH WAIT.
The Chromium team has a policy about these things and most of them are larger pieces of code (this one is an exception).

Apparently this case isn't special enough to make an exception, which is understandable since you can just use an addon to restore the old behaviour.
Sure ... but I would argue that 'what BLM is' is largely defined by what kind of press create, and what they do, not what they think of themselves.

BLM in Toronto, given special status at the Pride parade - blocked the parade and demanded that Police not be allowed to attend next year, and held the entire parade hostage until a doc was signed indicating as much.

This is pretty offensive to most people for a lot of reasons.

This was by far their highest profile action in Canada, and I would argue it 'defines them' - policy, actions etc. far more so than whatever might exist on their 'homepage'. Whatever their 'manifesto' is, it's just something that a very tiny number of them happened to agree to at one point in time and happens to sit in their web page.

All of these movements have granules of authentic concern ... and given that bit of authenticity (because there is surely some police violence), I think sometimes it gives them cause to think that whatever is said and done 'in the name of' is somehow just.

I for one - think that overly aggressive policing is a symptom, not a cause, of deeper social problems, though I'll admit that their is surely a degree of circular feedback going on.

A crazy justice system that hands out 20 year sentences for light first offences - which subsequently adds to social decay - I think is a more of a systematic problem than overzealous policing.
Sorry, I made a quick reference without the link.

"Jeff Raikes, head of the company's business group, said at a recent investor conference that while the company is against piracy, if you are going to pirate software, it hopes you pirate Microsoft software" (http://www.informationweek.com/if-youre-going-to-steal-softw...)

i.e, in the context of Facebook, a ad-blocking user is better than a non-user, since the non-user might then be using a competitor platform and encourage current ad-viewing users/developers to switch to it.
Even better is "remind":
https://www.roaringpenguin.com/products/remind
You'll need to use a splitter function. Shapeshift.io has one available. You will need to set up a new ETH and ETC address beforehand.
I had two recently (renewed, then moved states). I've been able to use my temp ID at several bars & also to redeem tickets at an event. Sometimes they looked a little unsure for a moment, but they shrugged and went on with it.
This argument also rests on an assumption over and above the function of the system: that the result of executing a contract is immutable and thus beyond reproach. As was demonstrated, the result is subject to ratification by miners. To miners on the new chain, the DAO hacker is a hacker.

Certainly it was the case that ethereum contacts were advertised as immutable and beyond reproach, but if you bought into that, well... you'd be making the same error you see in your ideological opponents!

It is a separate question whether ethereum contacts ought to be immutable, but that requires a different type of argument.
APFS: New Apple File System Changes Everything
Scientists Developed a Way to Make DMT Trips Last Longer Than Ever
My wife's Iranian and she took issue with that meme as well, saying the "traditional" outfit wasn't accurate, in the case of Iran at least. But I wish someone would make a version of it based on actual historical primary sources, because there really is a striking difference in dress codes when you go back before the 19th century. Google "eighteenth century iranian women" and you'll see very clearly what I mean:

https://upload.wikimedia.org/wikipedia/commons/9/96/Hasht-Be...

There's no arguing that these are depictions of Muslim women by Muslim painters, so it's a bit simplistic to act as if Islam has always imposed the same interpretation of what "modest dress" means. Anyway, I'm not trying to wade into this larger debate but just wanted to point out that we don't need to speculate about what the traditional dress was like in regions like the Persian or Ottoman empires, there are abundant historical images that show us.
>There is no way to deal with fraud [...] in bitcoin

Don't we have an extensive legal system to deal with fraud? The fact that a lot of payment providers elect to deal with fraud themselves probably shows that that legal system isn't working as smoothly as it should; but that's really something that should be fixed in the legal system, not in the payment channel.
If the code is the contract as they said, then what the guy did couldn't be robbery. If anything, the people who did the hard fork stole his rightfully earned ethereum.
On the contrast topic: adaptive thresholding can be very helpful (I believe Bradley Local Thresholding was one I had particular success with) however most of these algorithms work in a grayscale domain which means they are dependent upon which color->grayscale transformation is used[1]. I spent a long time researching full color algorithms but never got to a truly successful end result with them. And even if you get a good image with huge contrast you still will end up with the actual light/dark transition looking like an edge.

On 3D deformation, you're officially in academic research land. Nearly all algorithms require you to have a solid guess as to what the aspect ratio of the target object is. Other algorithms use heuristics based upon what you expect to find on a page. One particularly fun algorithm used the baseline of text (I believe for that paper it was Arabic) and fit a high-order curve to it which was then reversed. Unfortunately I haven't seen a truly generic approach that doesn't require a implementation-specific input.

[1] Frankly my feeling is that RGB to grayscale is a mistake and holding back many of these algorithms
Hijacking my own comment to say that it's 1 AM in Shanghai. This has been awesome. I'm taking a nap!

Will be back on in a couple hours to answer any remaining questions. Thanks HN.
Amusingly, the article itself quotes the very same text two paragraphs below the statement declaring that the State of Palestine doesn't exist as an entity.
> as dubious as some of the things that were done to save mega-banks in 2008.

That's a good analogy, but not for the reason you're thinking. The expert consensus on the 2008 bank bailouts is that they had to be done, because letting them fail would've turned the recession into another Great Depression, and that much harder to recover from. Does that mean bailouts are good and proper? No, bailouts are terrible. It means the right way to avoid the moral hazard would have been to better regulate the banks and never have let them get "too big to fail" in the first place.

I feel the same way about Ethereum. The DAO hack was a no-win situation, because these "smart contracts" should never have been created to begin with. They're always going to end up in situations like this, because they involve the affairs of messy, imperfect humans. The correct answer to the DAO mess was never to get into it in the first place.
> "It's like changing all math symbols to words because the computers of the time can't display the integral sign or greek letters."

You mean like TeX? Seems pretty fucking sensible to me.
Whats your plan on competing with China copycats, who are no doubt already working on a lower cost clone of your product?

Since its such a great idea, but uses mostly off the shelf parts and doesn't require much specialization, its a perfect target for them.

Look at the patterns: They quickly cannibalize and eventually completely commoditize the market for easy-to-copy products by flooding ebay, amazon, aliexpress, etc with comparable but cheaper items, some of which are probably going to be made by your own supplier/factory in China. Eventually the best of these these get on Engadget or Gizmodo and that's it.

Examples: Android tablets, Google Cardboard, Android Phones, Phone Batteries, etc.

Certainly many will have inferior packaging and engrish manuals. But some will be good enough or better than your product... I would be terrified to base a business around this type of item.
An 'eye for an eye' would imply someone who stole could be stolen from, someone who maimed could he himself be maimed.

Executing Brevik is not 'revenge', it is justice.

He deserves to be executed.

I'm not generally a supporter of capital punishment, but it is blatantly immoral that he should live an almost normal, healthy life after his mass crimes.
> But what is the right solution? "Everything should be the same, everywhere" is, unfortunately, probably not a workable answer.

As proposed in the paper, the solution would be to address the distinctive nature of shared libraries on different platforms in the platform's implementation of ld.
...Nix actually uses SHELL for builds. Just like make. It's fully generic.

http://nixos.org/nix/manual/#sec-build-script
I find the sites on the services mentioned in the article, Sideprojects and Flippa

I do due Diligence myself , I have a good technical background and a good digital marketing background.
Yup, there aren't any ML built into OpenCV but perhaps they use a ML library on top of OpenCV.
An act to amend Financial and Corporations Codes relating to digital currency
By America, you mean Chicago, right? That's the only well planned city I can think of off the top of my head.
https://wiki.lesswrong.com/wiki/Paperclip_maximizer
An interesting case occurred in Toronto, where Sammy Yatim was shot to death by Officer James Forcillo. Forcillo stood trial for second-degree murder AND attempted murder.

In the shooting, Forcillo fired two volleys, one while Yatim was brandishing a knife and another volley after he was incapacitated on the ground. The jury found that the first volley was justified, whereas the second volley was not. However, it had been successfully argued that the first volley killed Yatim, and so Forcillo was convicted of attempted murder and not murder.

https://en.wikipedia.org/wiki/Death_of_Sammy_Yatim
Create window service using topshelf
I think there is still a lot of dirt that has yet to be dug up regarding the creation of the DAO. For a decentralised system, it certainly had lots of websites quickly set up to promote itself, the ownership of them seemed (I think?) to lead back to the company Slock.it. The DAO was apparently also promoted on Facebook via paid adverts, yet no-one will admit to funding those. Meanwhile, slock.it were angling themselves to be the main recipients of DAO funds. Luckily, the stupid thing broke before they got their hands on the money.
And he/she/it seems happy also to allow arbitrary code to run on his/her/its machines.
I may even accept getting occasionally distracted by benign ads (just plain text or images or even videos as on newspapers/TV) but I cannot and will not accept advertisers or their agents running their arbitrary code on my machines at all.

I fully support adblockers.
It's about the same as your typical video game console war, really.
How far back are you willing to look? "The Video Privacy Protection Act (VPPA) was a bill passed by the United States Congress in 1988 ... to prevent what it refers to as "wrongful disclosure of video tape rental or sale records..." Congress passed the VPPA after Robert Bork's video rental history was published during his Supreme Court nomination." [1]

I thought there were also some U.S. privacy laws around library records, but can't locate a clear reference just now.

[1]: https://en.m.wikipedia.org/wiki/Video_Privacy_Protection_Act
If only DNS failover were as atomic as would be required to do good failover. Sadly, so many clients and caching mechanisms ignore TTL values that an actual failover (not to mention fail back) could take days.
>If you value your time at $100 an hour

Because very many programmers, even in the US, make 240,000 per year? ($100x8x2512). Or even $300-$350K, given all the overtime people do?

How about $30-$40/hour to be more realistic ($70K-$100K per year).

And how about, it's your side project, so you get to work on it whenever you like, using whatever technology you like, from home etc, and those aren't exactly hours you'd be able to bill to anyone (and because you also have a day job, you wouldn't even want to take extra billable customer work).

>and had $1k in expenses total (servers + ads), you would need to have spent 20 hours or less on the project to "break even"*

Or you need to like what you're doing, and know that you would have done something similar anyway even if not to sell it, and thus consider the money an extra bonus.
I used to Reverse-Engineer medical equipment (MRIs, CTs, etc). The lack of engineering strictness in theses systems was amazing to me. They are horribly insecure, BY DESIGN

My experience is that, no, this is not an acceptable solution. I have no reason to believe that implanted medical devices will be any better.
> Meanwhile, folks who study Shakespeare are going back to not only the original meaning, but the original pronunciations of the words to fully understand the text.

Legal documents tend to rely far less on puns and rhyme than does entertainment.
The movie was based on a book where soylent wasn't made from people.
3rd of six OpenBSD 6.0 release songs, “Money” with vocals by Ulrike Jung
I wouldn't call RHEL 6 ancient.
Thankfully this may be going away at some point in the future, leaving it up to agencies to certify products or stacks on their own merits, or to instead have them be evaluated for specific purposes if sold as solutions:
https://www.niap-ccevs.org/Documents_and_Guidance/ccevs/GPOS...
Facebook is a social-media advertising company. Their model, boiled down, is to extract the maximum possible value out of me in return for the minimum possible effort from them.

Why shouldn't I approach them the same way? And given how often the above describes the way businesses will treat me, why shouldn't I generalize that position?
> That's why [those who don't care about money are]
> willfully disengaged from these issues.

One can argue that it's irresponsible for those who have access to power to refuse to wield it. After all, not deciding is essentially a decision to support the status quo.
Sure they can, buy all the ad blocker companies.
Yes, Web browser as OS, MacOS X, iOS, Android and all the IoT ones.

There isn't a standard UNIX way to do GUIs, bluetooth, NPC, GPGPU, touch screens, cryptography, printers, medical devices, ...

All that UNIX has is POSIX, http://pubs.opengroup.org/onlinepubs/9699919799/ , which only focus on CLI and daemons as applications.

Anything else are not portable APIs that don't have necessarily to do with UNIX.

It doesn't matter that the kernel is UNIX like, if what is on top of it isn't.

And anyone that only knows GNU/Linux as UNIX, should read "Advanced Programming in the UNIX Environment" from W. Richard Stevens/Stephen A. Rago, to see what actually means to write portable UNIX code across POSIX implementations.
Die Dashboards, Die Why Conversations Will Reinvent Software
How to install a window service
Is there a general point of view on when it's Good to user-select: none?

https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

It seems appropriate on this. It's not going to be selecting text if you use the dials correctly, but with a miss-click & drag, I was able to.
Google (Alphabet) has been spending way more than previously, but the "Internet" industry as a whole doesn't even reach the top 20: https://www.opensecrets.org/lobby/top.php?showYear=2015&inde...
I don't understand why they down vote you. Probably because they think that they know Statistics. Programmers at Hacker News always think that they are the master mind of Statistics. In fact they know almost nothing about Statistics. For example if you don't test for constand variance and independance of variances then you cannot graduate from Department ofStatistis. But here they down vote you for knowing real Statistics.
Text analysis of Trump's tweets confirms he writes only the angrier Android half
I think about 50% of the time someone bemoans office politics what they really mean is "I don't have the emotional bandwidth not to be an asshole to people."
Because we don't know why. Just like we didn't understand omega fatty ratios a couple decades ago.

So this has everything to do with it. There's more to diet than numbers, yet if you're on a pure Soylent diet, you're clearly not getting some relatively-unknown things that are almost conclusively beneficial to your body.

Absence of proof is not proof of absence. Eat your fruits and vegetables or, statistically speaking, your cardiovascular system will eventually suffer.

Soylent's marketing puts a lot of otherwise smart people at serious long-term health risk.
Right, and it's worth pointing out that even Italian renaissance artists from the 15th century, presumably working without the same optical technologies, were still using techniques for duplicating images. It was very common for instance to make a full scale mockup on paper, then punch holes along the lines and rub charcoal in them to make an imprint on the canvas before painting. Not to mention the fact that engraving and printing are themselves new technologies for duplicating images in the same period, so it was clearly in the purview of artists to think about this sort of thing from a technical as well as artistic angle.

The more I think of this stuff the more I love it as an example of the incremental nature of technology - photography wasn't just invented in a certain year, it was a process over about two centuries of experimenting with ways of replicating images that finally converged with advances in chemistry to lead to a breakthrough that we then demarcate as the beginning of a new era. But in some ways it was just the culmination of a process of optical and artistic tinkering that goes back to the early Renaissance (or arguably even earlier, with Grosseteste's experiments with lenses in 13th century Oxford).
I don't think we can with a game. Games are a progressive sequence of states with permitted transitions defined by the rules; they are inherently reactive. The only way to prove understanding is to ask things like, "Why did you make that move?", or maybe more specifically, "Why was that move the one that best maximizes your chances of winning?" I'm not sure AlphaGo could answer that question.

Basically, you need to ask questions that require meta-cognition, like, "What does Mary think about you?" That requires:

* Understanding of yourself as an entity.

* Understanding of Mary as another entity, with its own state.

* The capability to use previous interactions to approximate that other entity state.
>
The use of radio was a feature specifically to allow updating and management of the pacemakers while avoiding the serious risks of surgery.

In other words, it's a ready-made vector for potential attacks, as long as an attacker can get close to a pacemaker with a radio. You could probably even put a powerful device near a hospital and pick up random people coming and going.

> Or do you want to let the community at least _attempt_ to find the bugs first?

The promise of open-source security has always been that you let many eyes look for problems, then you patch ahead of potential attackers.

Logistically, that's extremely problematic for embedded devices. Every time a vulnerability is found, you ask the patient to go back to the doctor to get it updated? That doesn't scale at all.

The idea that device manufacturers will change their entire engineering and security philosophy is somewhere between idealistic and naive. I sincerely hope it's the former and not the latter.
Heh I gave a talk at DefCon Skytalks last week on this exact exfil method and C&C structure with a live demo using code we wrote....interesting.
I couldn't agree more.

The words "career" and "open-source" should not go together. Unless by career, one means working for free, on unpaid projects, without [local] peers.

There are few companies (Google, Facebook, IBM, RedHat, ...) that do open-source and a career there would be fine. But that's probably not what people think when they're talking about working for open source.
I fail to see why that consideration should make a difference. Facebook provides a service, if you want to use the service, you see ads. If you don't want to see ads, don't use the service. Your livelihood is not threatened if you don't see some information hidden through a facebook login.

If some friend of yours handles invitation through FB, that is because facebook provides a very good infrastructure to handle those things. In order for them to do that, they have to hire all sorts of people which kind of need salaries. Those salaries are paid by their business model. You are blocking their business model, consuming their resources and denying their employees and shareholders. Because...?

I can see enabling adblock for the internet at large and sites you don't care about, but you KNOW that facebook relies on ads and you repeatedly use them.

I also want to hear if you use google and adblock them too. Do you rarely go there too?
Two approaches to concurrent-write safety in Django
Because, to quote Box,

‘To make the preliminary test on variances is rather like putting to sea in a rowing boat to find out whether conditions are sufficiently calm for an ocean liner to leave port!’ (Box 1953)

Plot the residuals instead.
A backdoored crypto system is a no crypto system.
hey thanks!, tho I agree with this, I was thinking, if there are books about kernel internals there may be some about db internals.

but Thanks for your links !