skysight-inc/HackerNews huggingface dataset:
WhatsApp web api
I'm trying to create a node js web version of WhatsApp web version. I tried this last year but. I'm getting all the response but its encrypted i didn't able to decrypt that here is what i did
1). Create an initial websocket connection with WhatsApp web server and generate QR code
2). Print the QR in terminal and scan it with phone
3). Connection successful
4). I started getting callback in websocket on data but its encrypted.

I tried reverse engineering of their code but i didn't get picture about encryption. Anybody know how it works it will​be really helpful
From real world experience:
1. Buy an emergency satellite connection - completely illegal, but hey. All and every major company in China has one.
2. Try to look for a place in Shenzhen. It will be your best bet to get a private fibre connection beyound a network exchange where GFW is set up.
I believe that's precisely the species of abhorrence that I was referring to, actually (abhorrence since it basically leaves no patent standing.) I have met it before!

As for the article, "no empirical evidence that they serve to increase innovation and productivity" is obviously outright false. We certainly don't have proof, but there's a helluva historical correlation between patent enforcement (or existence) and countries with strong economic growth, particularly in technology sectors. That has to be referred to as evidence - since evidence which cannot be misleading, i.e. "incontrovertible evidence" is actually proof.

Moreover, histories of technology often show simultaneous invention, and in such cases, the obscure and unsuccessful efforts very strongly tend to appear in areas where patent law is not efficient or respected, and therefore investment for development of inventions is lacking. Without his patent, James Watt could not have and would not have (finally, after a long effort) found a sufficiently rich partner who could fund the development and production of his new kind of steam engine.

Note too that even if patents weren't globally efficient (which I strongly believe they are), they nonetheless attract inventors to your country and so are locally efficient (a prisoner's dilemma that only coordination through treaties would defeat.)

This doesn't mean that present patent law is ideal, or that the historical context hasn't at least partly vanished, however: very complex technologies (which we're now awash in) create situations in which it may be more valuable to cease to produce smartphones and instead use patents to hold a gun to the head of others and merely extract rent from those still producing them (sneezeMicrosoft.) Since you aren't producing phones, others can't retaliate by refusing to license their patents - you no longer need their patents. When more than one (or perhaps a thousand) IP holders want to extract rent from the same item, obviously this can introduce great inefficiencies. Few patents are truly essential (outside FRAND standards, a different situation) but many are costly to get around. One way or another, sooner or later, we may have to deal with this situation. I wish I knew just how.
Perhaps, but the judge can only make judgements based on the arguments presented.

If the defendant wanted to argue that he no longer remembered the password (but would be willing to decrypt the drive if he could), then that's something that the judge would consider. But a judge can't (and won't) simply say "Oh, maybe he hasn't complied because he just forgot the password. I'm going to let him off"
What is the use case for this type of setup?
I've personally found it absolutely fantastic for modeling business logic. It's also really good for any kind of concurrent system, which covers pretty much every webtech startup.
I've wondered about scenarios where you can legitimately claim to not know the password to decrypt a drive. A few different cases I can think of which may be ruled differently by a court.

1) I use a password manager so I don't know the password. However, I have the means to acquire the password.

2) I use a password manager but somehow lost access to it unintentionally.

3) I use a password manager and lost access to it by design. (eg. Using a dead man's switch of some kind that deletes it if I don't "check in" for some period of time)

4) I used to know the password. However, I suffered a traumatic brain injury and cannot recall it.

I obviously don't have the answers but I think these are interesting to think about as different points in a large legal grey area.
Your SaaS product needs to have wide and deep adoption to reduce churn
Just wait until Matt Cutts or one of his team

Who is Matt Cutts' replacement?
Reading every article I could find on Ward's Wiki [0]. Apologies about the current format, though some things have improved, I much prefered the simple old interface.

[0]: http://wiki.c2.com/
Not sure about TA, but my experience is that 95% of this is just about when the planes get bought. Entertainment systems solve the "keep people happy problem" for relatively cheap. But it's pretty expensive to replace all the seats just for that.

JAL/ANA have very new planes with cool entertainment systems, but they also fly their older planes on some routes with a bunch of stuff that looks like it's powered by VCR.

To your question: they probably don't for their major international flights.
GoRemoteJobs is one of my favorite telecommuting job boards. It is clean and easy to navigate. Easy 10/10 for me!
>it was a truly eye-opening experience and revolutionised the way I thought about tackling problems and designing software.

Really curious. Can you share a bit more details about this. Like specific instances of how it changed your thinking..
These senators filibustered for 12 hours in 2013 to protest Obama's drone strikes. It was kind of a big deal at the time. #StandWithRand ring a bell? Perhaps you're not old enough to remember.

Rand Paul (R)

Ted Cruz (R)

Marco Rubio (R)

Mike Lee (R)

Pat Toomey (R)

John Thune (R)

John Barrasso (R)

Tim Scott (R)

John Cornyn (R)

Jerry Moran (R)

Ron Johnson (R)

Jeff Flake (R)

Mitch McConnell (R)

Saxby Chambliss (R)

Mark Kirk (R)

Sen. Ron Wyden (D)
I'm not sure I understand something, either their argument about hashes, or how whole disk encryption works. I assumed that whole disk encryption meant that the disk, unencrypted, has high entropy, so the whole thing equally looks like snow. Doesn't FileVault encrypt the whole disk? So, where's this hash?
PlateIQ (YC 2015) cooks up $4M for restaurant management platform
Blogging principles I use
The problem is that it's easy to say someone gave you a seizure, since -most- are not fatal, even if they didn't have a seizure. There's not much evidence against or supporting that you had a seizure from a gif. This really opens the door for abuse on both ends. So, I am skeptical of "throw the book at them" as a solution, because it would be so easy to fake and ruin someone. The solution should be with browser makers and social media companies to not have autoplay and be more cautious for photosensitive people. I mean, what if you accidentally give someone a seizure? Should you be held liable? I say this being a skeptic of this particular person's story, given his history.
Seattle creates Renters commission to explore new laws
If this works:

# run your app locally
$ dawson dev

They have that as advantage over serverless.com which is missing a dedicated local workflow
Could tears be there for some kind of moderating effect on cellular action potentials? Tears are notoriously salty; "salty" has even become synonymous with bitterness, angst, or remorse. I think their production does seem to have a noticeable effect on cognition, but for all I know it's just a coincidence. Certainly they would extract sodium from the body to some degree, I just wonder how much of an effect that would have.

EDIT: here is a vaguely-relevant(?) study from 2014 about an infant presenting with inconsolable crying allegedly because of "an alteration of sodium channels inducing neuropathy in small-caliber fibers" (1)

EDIT 2: As for why this is something that happens from the eyes specifically, I wonder if it is for a particular local effect on ion channels in the frontal lobes.

[1] https://www.ncbi.nlm.nih.gov/pubmed/24468061
If you like this approach, you may like Testscript even better: https://build2.org/build2/doc/build2-testscript-manual.xhtml
Matt Cutts left Google eons ago

Who is Matt Cutts' replacement?

had been on leave of absence

Why was he on a leave of absence?
Right; so expensive that an entire OOP system with a GUI fit into an image that ran in half a meg of RAM.

Firefox can't render a damned favicon with the resources that Smalltalk used.

Everything you're doing now either was or would have been insanely expensive in 1983.

Emacs used to be derided as being an acronym for "eight megabytes and constantly swapping".

Sure, a big deal on a Sun3 with 4 megs of RAM.
Ask HN: Are there human sound generation emulators?
Like we have 3D programs that can trace light and create images. Are there any acoustic generators that mimic how a human produces sound using software and then give the output. To be clear this is the opposite of recording sound and playing it back. It is basically defining the environment where the sound would get created, have the sound waves mocked by software and play the actual sound that is produced. If a collision happens in a tin room how would the sound waves travel and what sound would they produce.

One of the things I can think of is this would go a long way towards generating human like speech, especially if breathing limitations, internal organs, shape of the mouth and tongue are mocked correctly.
It feels like people still minimize pretty awful actions when they happen over the internet.

Imagine someone running up to someone with epilepsy in public and showing them strobes? What sort of deranged person does that?

Imagine someone sending death threats through snail mail over and over. Of course that's horrific! But brigaders doing it through twitter is kinda fine because "hey, you're on twitter, stupid stuff happens".

So much harassement is extremely cruel but we (myself included) tend to discount it when it happens over social media.
No African citizens granted visas for African trade summit in California
Yes, letting the American people elect Donald Trump to the Supreme Court would obviously improve their decisions.
i am about to start a e-commerce website. i was going to use nopcommerce but they will move to .net core in next release which is far away and i really wonder which would be better to improve me also maintain the website with minimum effort.
From Snakes to Pokémon Go – How AR Has Developed Gaming Apps
That is ironic...
Rendering Vector Map Tiles (Rust and Asm.js Demo)
Simply using the term "fluff" to describe the form of code shows a lack of respect that I find deeply troubling. Those that pay little attention to code style, form, names of things, etc. (including those who rely on the tooling to fix it for them) tend to miss other, arguably more critical, things. Sometimes, but not always, this happens because those errors are lost in a soup of poor formatting and copy-paste repetition.
Learn How to Set Up a Vagrant Development Environment
I went down a very similar track last year with my own exploration in "How to Use Classic Amiga for Word Processing Today". I took a nostalgic trip inspired by George R. Martin, who still uses WordStar to write Game of Thrones. I did it for much of the same reasons you wrote your post - a desire for a distraction-free environment without a gazillion features to get a relatively basic task done. Thanks for sharing your post.
Not sure 'ironic' cuts it to be honest, more like 'that's just plain crazy'!
Subtle point: "they" don't want or care about his credentials -- they want the underlying evidence for which they know exists (check out "The foregone conclusion doctrine" in page 34 of the source document[0]) and they know that he is capable of providing said evidence.

> > Here, based on Doe’s own statements, the testimony of his sister, and forensic analysis of the hard drives seized from Doe via a search warrant, the government already knows that Doe possessed and owned the hard drives, that he can decrypt them, and that they contain child pornography.[0]

Based on computer logs (of checksummed files being transferred to drives (and, importantly, knowing those filepaths) he admits to owning), online activity, witnesses, his own admission, and his unlocking of his phone provided the evidence needed to reasonably detain him on suspicion of a serious crime. The defendant is known to collect child pornography, even provably sourcing his own from family members -- again, the source document provides far more detail.

Further, my understanding is that the complication is his refusal is frustrating the process of deciding exactly which crimes for which to charge him and he is acting in defiance of a court order (to produce evidence).

[0] https://cdn.arstechnica.net/wp-content/uploads/2017/02/fedsr... (warning: some parts are sickening)
This is fine for domestic travel, but not nessesarily for travel to the US. Many of these flights have additional security at the gate just prior to boarding. US is way too paranoid
Return of the Obra Dinn [GDC 2016 Demo Build]
Let's be honest here. Osama Bin Laden won. The US as we knew it pre-911 doesn't exist anymore. He caused it, but the worst thing about it is that we did it to ourselves. First Bush, then Obama and now Trump is putting the nail in the coffin.
With enough electricity, healthcare and internet there isn't nearly as much need for roads and water.
thanks this will really help me.
So I'm not responsible for throwing a rock at your car because the windshield stopped it and didn't crack?

There's documented evidence of intent here. The guy was trying to give their victim a seizure. There's nothing accidental here.

Of course if someone accidentally gave someone else a seizure, there should be different standards applied. Of course!

Also, yes, we need to make sure photosensitive people can browse more safely (for the same reason we put airbags in cars).

The book you throw at them isn't "giving someone a seizure", it's "attempting to harm someone intentionally with super malicious intent".
Given everything that has happened over the last few months this unfortunately comes across as sounding pretty apologist...
Reminds me of something from about fifteen years ago.

I was training getting into R/C helicopters. No, not the toys they sell at the mall but the more sophisticated models flown by R/C pilots. Needless to say, they are not easy to fly. Even with twenty years experience flying R/C airplanes of all kinds I had to start from scratch.

R/C heli's can be very expensive to crash. A set of carbon fiber rotors and related mechanics will easily set you back well of $200. I was intent on learning without crashing. How? Use an R/C flight simulator and log hundreds of hours before flying the real thing.

I was flying back and forth to Europe a bunch during that time. It was only logical to take my flight simulator with me and practice during the long flight. That meant my laptop along with a special full size R/C controller with a USB cord instead of the antenna.

This rig always called attention to itself and was a pretty good conversation starter. I always had to explain what it was while going through security. On two flight the pilot came over to my seat to check out what I was doing. In both cases they asked to see if they could fly the simulated heli. And, sorry to say, in both cases they failed miserably. It was a great way to get 16+ hours of practice.

Not sure I could do that today.
The article mentions a hand being ripped off because a guy looped the rope around his... I'm not sure you want to loop it around your waist.
In this case, there is clear mens rea and actus rea. The accused openly stated that he intended to cause a seizure with the hope of causing actual bodily harm. He knowingly used a GIF as a weapon.

That's vastly different from, say, a heavy metal band inadvertently causing a seizure with their stage lights, or an animator inadvertently drawing a sequence that triggers photosensitive epilepsy.

By analogy, consider someone who deliberately drives their car at a bus stop and later brags on social media about trying to mow down pedestrians, versus someone who slips on black ice and spins out of control.

I am fundamentally opposed to "throwing the book" at anyone - I'd much prefer a programme of evidence-based rehabilitation.
Hacking Tools Get Peer Reviewed, Too
BigQuery is like a midrange luxury car, easy to do anything, looks great, and good performance. Redshift is like someone's turbo boosted Honda Civic. Athena is maybe like a Camaro, You dislike the concept, but they maybe made it powerful and easy enough that you want it. This is probably no help.
I'm sorry, but need for basic infrastructure like WATER does not disappear when you receive internet and electricity.
That's not hyperbole, it's just the wording directly out of the law they're charging him under:

https://www.law.cornell.edu/uscode/text/18/2261A

And in full context it says:

… engages in conduct that—

…

(2) with the intent to kill, injure, harass, intimidate, or place under surveillance with intent to kill, injure, harass, or intimidate another person, uses the mail, any interactive computer service or electronic communication service or electronic communication system of interstate commerce, or any other facility of interstate or foreign commerce to engage in a course of conduct that—

__(A) places that person in reasonable fear of the death of or serious bodily injury to a person described in clause (i), (ii), or (iii) of paragraph (1)(A); or

__(B) causes, attempts to cause, or would be reasonably expected to cause substantial emotional distress to a person described in clause (i), (ii), or (iii) of paragraph (1)(A),

So they're not trying to prove "intent to kill". They only need to prove "intent to intimidate anther person" using an "electronic communication system of interstate commerce" that either for (A) "places that person in reasonable fear of … serious bodily injury", or for (B) "would be reasonably expected to cause substantial emotional distress".

Seems to me they've laid out all the evidence needed to show that - the only thing a court needs to decide is if that evidence is all true and admissible.

I wouldn't want to be the defendant here.
> Anywhere in the world tha

In my experience that's not true at all. In NYC it has to be a qualified black car driver. In LA it can be anyone.
I'm not sure if it's what the author was getting at, but you can't order test execution in junit, so you can't chain together integration tests.

Of course, that's why you use other tools like TestNG. Unit tests aren't _units_ if they're interdependent.

edit Looks like the author was trying to execute multiple overlapping test suites. Haven't tried that.
Adobe Launches Adobe Experience Cloud
The defendant provided the password to his iphone (that contained highly-unsavory media of his nieces), which contained an unlock code for his laptop (filevault backup decrypt key). He connected the external drives to this laptop, and when he'd transfer media from his laptop to the drives, logging would occur with the file checksums. The hash/checksum is on the laptop with the filepath to the identified external drives, and because the hashes match known media of child victimization, the prosecution knows exactly where the evidence exists on the drive, once decrypted.
If you're up to pair program 100% of the time (for the interview and the job), Pivotal had the best interview process I've been through.
The time to clean up the code is when it already does what it should.

That is: Make it pretty and readable and DRY once the code works. Until then my code can have several ugly and improvised things I've left for later.
Definitely agree that you don't need an MBA to become a Product Manager - the training for Product Management can be quite different to most of what you learn in more traditional Business Administration courses.

That said, I do feel that one can benefit the other - MBA's teach a lot about practically running a business, background learning that can really assist when running a product development and management cycle or team, even if only for the fact that it gives you a better ability to understand and build relationships with other areas of the business.
Ask HN: Tools for a startup / digital agency
Hi Everyone,

Just wanted to hear thoughts/opinions/discussions around what tools people use to manage their business, from lead to project, through to retainers and more, with a particular emphasis on professional services / IT services.

We would love to be able to do proper resource planning for projects, see sales/CRM activity and everything else all in one place. At the moment though we are stuck using all of these tools seperately:

- Harvest (time management)
- Slack (internal and client comms)
- Zendesk (support)
- Pipedrive (CRM)
- Breeze.pm (PM)
- Receipt Bank (expense tracking)
- Xero (invoicing)
- Autopilot (marketing automation)
- Proposify (proposals)
- Sidekick (email response tracking)
- Zapier (connecting some of the above)

There must be a better way? Thinking about how to get an integrated system that covers all these areas gives me a headache.

What do you use?
forgot the "sexy" ref: https://hbr.org/2012/10/data-scientist-the-sexiest-job-of-th...
That's fantastic. Would be a great contribution to people interested in formal methods. How's your email?
yep. Work on the copy, or the copy of the copy in my case. It's digital with a hash, not a vhs tape
Relational Programming in Mozart/Oz
Linked List Interview Questions
Most of those aren't secret but are not widely known. Reminds me of the level -4 walk way at Heathrow Terminal 5. Avoid the crowds waiting for the train and take a nice walk underground. You'll typically be all alone.
Word 2013 Documents Support and Variables Support in LINQ Reporting Engine in .NET
> Quite aside from anything else, can someone explain whether or not the same logic would apply to (for example) asking someone to open a safe vs. the code to open the safe. It seems like this ruling would say that failing to open the safe is functionally the same?

Basically, judges don't agree on which way this scenario comes out.

> Outside of the law i don't like the forgone conclusion stuff - for example, revolution period you could say hanging out with revolutionaries regularly could reasonably conclude your documents include a calendar for revolutionary meetings so you should be required to provide that information and/or information required to receive that.

The "foregone conclusion" stuff is narrower than Ars makes it out to be. The gist of the 5th amendment is that the government can make a defendant do things but not transfer information.[1] Sometimes, an action can implicitly transfer information. The foregone conclusion rule just says that if the government already has the information, then the action does not additionally transfer information.

In your hypothetical, the foregone conclusion rule would not apply because even if the government "could reasonably conclude" that you have a calendar, producing it would still confirm that conjecture (and thus transfer information). But if the government knows you have the calendar, however, because your sister testified that you keep a calendar of revolutionary meetings, then producing it becomes a pure action.

[1] I'd actually argue that the gist of the 5th amendment is even narrower than that: the government literally can't put you on the stand to testify against yourself, or enter into evidence a coerced confession. That's it.
Atlassian?