skysight-inc/HackerNews huggingface dataset:
> There would be a few problems with WASM code generated by such a compiler:
> 1) the generated code with all this extra checking is not going to be performant, 2) the generated code would be much larger, which would hurt transfer & parsing times, 3) the compiler would essentially be outputting the JavaScript interpreter in WASM by adding all these runtime guards for types.

And, of course, you have full evidence supporting these statements
Those are two separate arguments. Of course there should be competition in crypto libraries. However the "don't roll your own" advice is to prevent people who don't have sufficient experience, education nor resources to write their own library that can compete - effectively leaving their systems vulnerable.

The thing about the "don't roll your own" advice is it's aimed at people who don't competently know what they're doing rather than those who do.
Lol! Let's check back when you have a kid of your own. There are so many reasons why your idea of how it works is not quite right. (Bike around the city? A 3yr old? Surely you jest!)
Yes, I did read the papers, with great interest.

And the point is: It doesn't seem to fit Apple any more, by your reckoning.

But it did at some stage. You don't get to mass-market acceptance without a phase where you dominate the signalling markets. Those middle-class students with MacBooks' are the norm today - but there was a phase where it wasn't so, in Apples' history. Don't overlook that transition.
Datamining Pokémon
Portability is not black or white. Macros are essentially selecting different code depending on the platform. A good high-level language would not need to do this.
C adds a layer between your code and the system. It abstracts away memory layout, locations, as well as function call semantics, and a many other things. For example, given a C program, you will not be able to tell me with certainty that a variable will occupy memory on the stack, any of your particular processor registers, etc. Formally, C is a language to control the C Abstract Machine, as described in the standard.

The sort of direct control one might look for is, as far as I know, only practically found in your processor's assembly language, and your operating system's collection of syscalls.

I think Rust, Common Lisp, OCaml, D, Haskell, and other languages give you a lot of benefits that are simply not worth giving up in a new crypto library, like safety.
Running out of people? Most large corporations in Japan have WAY too much staff doing about nothing productive all day long. This is due to the long standing tradition that started in the 70s to keep hiring most university graduates well before they graduate in April every single year, even though there is no such need for hiring (kind of social contract between the Japanese government and the large corporations). If anything less workforce will be a blessing, they will have to finally focus on what REALLY matters.
I have a blog post about this: http://klibert.eu/posts/tools_for_lisp_syntax.html (with pictures: http://klibert.eu/statics/images/lisp-editor-features1.png).

Basically, in my opinion, what makes a difference in readability is the tooling a certain kind of syntax enables. As you can see on my "Languages" page I have been trying out new languages for quite a while now, and so I've seen all levels of syntactic helpers. The syntax itself is actually a secondary concern: it's really not that important if your editor can easily generate it, manipulate it, and display while hiding parts of it for you.

However, how easy it is to write such tooling for a language depends on the kind of syntax it uses. Languages with more complex grammars are generally harder to support properly in the editor. Of course, how good the tools are, depends also on a level of effort invested in making them so - so relatively complex, but popular, languages may still have better editor support.

Anyway, back on topic of Lisp: yes, you get used to the prefix notation to the point that - after a long while, mind you - you're able to open a Lisp file in Notepad and still easily read it. No one does it, though, unless forced for some reason - things like:

- blink the matching paren, display parens as rainbow colored
- jump to matching paren
- jump to inside next expression
- reliably select current block of code
- fix indentation automatically when copy&pasting code
- split ( (..|..) -> (..)|(..) ), join, transpose, extend the current expression
- convolute, which means making the nested (inner) expression the outside one

all of this makes Lisp readable, and probably more readable than some other languages with much more complex grammars. Lisp is not the only language with such a "feature" - recently I found Idris to be very good in this regard, both Erlang and (even more so) Elixir are similar, some (popular) brace languages too.

Then there's a thing about macros and trivial AST manipulation in Lisp, arguably enabled by the syntax being as it is. You can have pattern-based macros in any language, actually (see Nim, or Dylan), but the raw AST being identical to the code makes certain kinds of imperative macros much easier to write. Again, take a look at Nim: is has imperative macro facility, but for every piece of syntax you want to introduce you need to call a special constructor.
My main problem with the predictive power of exponential curves is externalities, usually some tradeoff or some limit to resources.

Try as I might, I probably couldn't put it better than it's done in this talk:
http://idlewords.com/talks/web_design_first_100_years.htm
Requirements for immigration is difficult and if everyone had to pass the same bar my family had to then it's almost guaranteed that most immigrants are well above average. Or put another way, the average of immigrants is probably higher than the average of native born citizens.

That said, the opposite is true for refugees. The only thing you need is to somehow get inside the country. If you can convince some judge that you have a moderately believable story about why you will be in danger if you go back to your country you can get refugee status.

So there's basically two classes of immigrants. Those that are selected with very high standards, and those who just get in with almost no standards.

I'm guessing the latter group does not even send their kids to Universities.
Stack Overflow Sunsetting Documentation
Seriously. I would have been happy to go there and accept a mere $1M bonus (saving Google shareholders $99M), and I probably would have done better than "leave mid-way through, copy a bunch of docs, and go to work for a competitor".

It's the same bogus excuse for outrageous CEO pay: "We just can't seem to find anyone good without offering 1000X more than normal people make."
Behind the Scenes of a Code Generator for API Clients
>Actually they can autoland but not everywhere and then you still need to tell them where, basically tune them in on the right glide path.

Why can't the ATC or Pilot guide the computers to the right glidepath? And most importantly, if you're not going in that glidepath, you should get a major alarm, with ATC warned (so they can manually tell the pilot to abort).
Can this be considered a case for mass collection of data that really benefits public safety? If so, why is it not public? If AI systems are going to drive our cars, why hide such valuable training data from other manufacturers and/or students? Can calling it competitive advantage or trade secrets be considered legit?

P.S: I'm not accusing Tesla for anything. These are just some questions that can apply to any automobile company.
Actually, I think the numbers will go down rather than up (our present administration notwithstanding). About the only thing that Republicans and Democrats can agree on is that the criminal justice system is seriously broken. Longer sentences and more jails hasn't worked. The war on drugs? We lost that long ago. So many lives wasted on mandatory minimum sentences (eliminating all judicial discretion), drug arrests (many for a drug that's being widely decriminalized). I have experienced positive changes in the 15 years since I was released. The cultural zeitgeist is evolving rapidly, for the better. There's reason to be optimistic.
The v1.0.0 was published the day a bug was fixed and yet the first sentence of this post is "Monocypher is ready for production". Sure, OpenSSL has bugfixes on regular basis as well, but I believe that further fragmenting the crypto ecosystem with a new library and little commercial support to properly back it and pay for security audits is risky.
Sorry, I was on mobile and could not run it in the browser console. It was an honest question, but I already got the answer.
> the problem is young people are too smart to take them up on their pitiful 700 yen per hour offers,

There's a large population of chinese students in Japan who are very happy to work at such rates.
If you own a big mining pool you can get support. And with a simple propaganda campaign you can get people to support your fork much like BCH.
I can confirm from experience, Canadians have pretty poor knowledge of history and world geography. Also, I did more physics and chemistry by the end of high school than first year university students.

As for university level, I was taking (and passing) master level classes while being half though my French Engineering school (where I went as deep as taking quantum physics course a year before).

Also, at $WORK, we went though intern resume recently, and the level is pretty laughable as well, eg. "Practical knowledge: resistor, capacitor and power drill". [sic]
I think it's the case as depicted in the first radar image, UAL1 turned 90-ish of degrees right on the exit from the taxi-way, and the other three lined up. It could be the angle of the camera is such that it's an illusion they're all in a straight line. That probably still gives them plenty enough view out the side of cockpit to see that the plane they're expecting is heading behind them and not in front of them where it should be.

I think the orientations in the subsequent screens where UAL-1 looks turned around are probably a case of the radar over-extrapolating from its heading from the turn and then not being able to tell its heading while it's parked.
I will keep up the work--I hope it approaches great. thanks
Really like the approach around using Guice as a central point for hooking your own code into the system.

Will look forward to reading through the code later!
I think that's a slight oversimplification. Uber wasn't fighting doing background checks in Austin, they were fighting doing background checks the way the city of Austin wanted them to. But at a more meta-level, what they were really fighting was a precedent that would create a patchwork of local regulation on Uber that would make it harder for them to scale.

But yeah, it is ultimately about the money.
Yes, I know them well
That's what I think as well, it should be sufficient to know that terrible things would happen and like you say, just getting in to a situation like that is bad enough.
There are also studies that bilingual children have serious drag, no free lunch they're statistically behind in their first language.
How to Effectively Communicate with Your Virtual Assistant
So, basically, all your "arguments" for binary AST resolve to:

- binary AST will not have versioning problems unlike WASM (this is false)

- binary AST is better than ASM, because as soon as you standardize on bytecode, "your VM will not evolve" (this is false)

- binary AST can be used to view/debug source code, while WASM can't (this is false)

- binary AST is faster to load and parse than WASM (neither false nor true, because there are no comparisons or experiments)

- supporting WASm means supporting two versions of ECMA standard unlike binary AST (which is false)

and so on and so on

However, Javascript is already a dumpster fire, so this effort will neither improve nor worsen the situation
And right back at you for your efforts!
Want to Stay Healthy and Fit Always? If Yes, See Habits to Stop
I imagine it would be no different from how we handle regular stock splits or rights offerings.
thanks, Mark. We need all the help we can get. What are you good at?
"Hey y'all, hold my beer and look at this!" There are [1] several non-aviation examples:

- Blood transfusion

- Steam-powered bicycles

- Rotary printing presses

- Submarines

- Luminescent paint

- Hi-speed jet-powered railcars

- Ropes /pulleys to help the user get out of bed

[1] https://en.wikipedia.org/wiki/List_of_inventors_killed_by_th...
OCaml was used recently by the MirageOS folks to implement a better TLS than OpenSSL.
I am indeed. I'm at Richard@70MillionJobs.com
Allende is another one, actually elected by a small minority of people because of the voting process. Before the coup by Pinochet, he used Pinochet (then a general) to brutally repress the political opposition in his country.
Apple patents overlaying details on augmented reality glasses
@kgwgk well, the company obviously doesn't want to pay the dividend twice. So indeed they will only pay to Z. If X pays Y I presume that's just the terms of the lending agreement.

> What doesn't make sense is for both Y and Z to vote, for example.

Very good point. But it just confirms that it makes no sense to say that Y still owns a share.
If you see this thread, you are the only one defending Snap and you yourself have uninstalled Instagram. I personally used both for a while and now I have pretty much stopped using Snapchat in favor of Instagram.

Sure Snapchat is still the more known of the two when it comes to sending photos directly but that's not where money is made. Money is made in stories by having sponsored stories and ads inserted between the stories of the people you follow. Instagram is getting more of this so they can show more ads and make more money. Also, the advertisers you seem to be so sure of being on Snapchat will move their money to Instagram once they know that Instagram has more users and more eyes. Also teenagers don't make any money to spend on things after watching the ads. So I am not sure if that's a positive in favor of Snapchat.

If five people are telling they think this is looking good for Instagram which you have already uninstalled, may be its time to look back at your opinions. But who am I to tell, I don't have any horse in this race. I do own some $FB but not enough to think about this one way or the other.
That is something that has occupied more and more of my thoughts. thanks for asking
> When half of your peers have an immigrant's work ethic

That many?
Ask HN: Why non-English Wikipedia pages look weird?
This baffles me. Check these two articles for the same person.

https://en.wikipedia.org/wiki/Charlemagne and https://de.wikipedia.org/wiki/Karl_der_Gro%C3%9Fe

One in English and one in German. The fonts and way the article is presented in the German version if a far cry in respect to the English one, although the contents are most probably better (golden star).

Any idea why this is happening? I have noticed a similar pattern in almost all pages apart from the English ones.
I don't know if Oracle (as a right holder of ZFS) can sue them (if they distribute the modules under the CDDL, they're fine as far as Oracle is concerned). It's all the Linux rights holders (including Oracle) who can sue over the GPL violation.
timewellspent.io
How about using different colour lights for taxiways and runways. They are already using different colour tarmac lines: yellow vs white.
So, you're making the argument that annihilating humans from the earth is okay.
And while we're at it

https://issues.apache.org/jira/plugins/servlet/mobile#issue/...

Also, if you read the docs you'll notice that the deploy plugins encourage users to put their central passwords in an xml file in the plain AND their pgp key passphrase in another, in the plain. No joke. Read the docs.
Of course the FDR/CVR might be newer but the airframe is 25 years old: https://www.flightradar24.com/data/aircraft/c-fkck
AirBnB didn't rape anyone, they just set up the platform that enabled the rape, and took a cut of the money the woman paid to rent a place in which she was raped.

Imagine a taxi company that hired a driver, did background checks, who then is arrested for raping a woman in a taxi. The taxi driver makes bail. Does the taxi company at that point say "Rape is a criminal matter, and it's up to the criminal justice system to adjudicate matters like this, not us" and put him back in a taxi? If they did so, and he raped a second woman, would you argue that the taxi company had absolutely no responsibility, and that it's still the job of the criminal justice system?

Really?
They meant an actual superpower, not just an educational one. Also in this case population density is irrelevant. The mere fact that the total population is still quite small precludes the possibility of Canada becoming a superpower. It can still be a shining example and an awesome place to live in, of course.
First thing, you have to teach them the phrase, "Explain it like I'm five."
I thought it's a simple mnemonic: -> means inserting the form just after the beginning of the next one, while ->> inserts at the end of it.

You most certainly can have explicit variable to thread through expressions, like this:

(it-> (form1 it) (form2 3 it 4) ...)

where it means "previous expression". I think there's a Clojure library which already implements this. You can use that if you want.
I expect Microsoft to drop Windows Phones in the next 2 years, unless it rebounds, it doesn't make financial sense to continue investing in the platform.
Negotiation is not just for lawyers
Again, this is not the case. Reread my comment. I didn't write anything at all from the perspective of you, the merchant.

As a customer, I love dealing with Amazon. This doesn't mean that I'd enjoy being their partner, supplier, employee or anybody else they deal with.
Show HN: Intellexer Natural Language Processing API on Mashape MarketPlace
Actually, a federal bonding program has existed for decades, to indemnify employers making "at-risk" hires. Interestingly, on a very few claims have ever been filed. It's a myth that these folks will be criminals on the job. In fact, studies out of Harvard and U of Mass suggest that they actually can make better employees than those without records. There are indeed federal tax credits (Work Opportunity Tax Credits) available. Generally, we're talking w2 jobs (which are also a requirement of parole/probation, generally)
Stripe or any merchant bank for that matter will freeze funds, or extend rolling payout intervals if your refund and chargeback metrics indicate a need to hedge against your losses via refunds and chargebacks. Stripe is pretty up front about it: https://stripe.com/docs/payouts#payout-schedule while PayPal buries it in the click-wrap TOS. Maybe that's why people get totally unglued when PayPal impounds their funds. PayPal Capital has also been known to solicit loans to companies that had their funds impounded...we just swiped your cash, can we loan it back to you for an extra charge?
> Haskell

I think writing timing-attack resistant code in Haskell would be very hard to impossible, at least without writing very unidiomatic code (basically "C in Haskell"). I'm happy to be proven wrong, though.
Thanks for joining us here
I'm hopin'
thanks for the encouragement!
It's been thoroughly proven to be beneficial, in many ways. https://nccih.nih.gov/health/meditation/overview.htm
So many new guides to `this` in the comments here. Not sure why this blog post exists either. I agree with most people that JS is confusing to people who are used to OOP programming in Python or Ruby, and that "this" is one of the most confusing parts. The best resource I've found is https://bonsaiden.github.io/JavaScript-Garden/#function.this . Free, online, concise, accurate.
By definition of the word refugee, a refugee is expected to restart her life from scratch. Bootstrapping like that takes years and education in many cases becomes second priority. Comparing a refugee with an immigrant is unjust. One chooses to abandon her home town, the other is either forced to leave or escapes for survival.
1 column is much easier to process than 3. There's a reason HN, Reddit, Facebook, Twitter, etc are organized the way they are.
First let me say that I've followed your work a bit and I'm really impressed with the library. I'm currently planning on rolling my own crypto as well and your library is on my list of the things to look at.

One question:

> I was shifting a uint8_t, 24 bits to the left. I failed to realise that integer promotion means this unsigned byte would be converted to a signed integer, and overflow if the byte exceeded 127.

This sounds weird to me, how is a shift (which only apply itself on the bit value, not the number value) triggering a sign extension? I don't think you're talking about integer promotion here unless you had a uint16_t = uint8_t << 24 or something like this.
Please get in touch: richard@70millionjobs.com
indeed we do! thanks
Check out this video for a compilation of the Funniest open goal misses EVER
I think you're right, and it's probably my last ditch attempt to defend myself. I need to omit that and move on. thanks

Edit: removed that bit as well as "I went on to build a large financial services firm". Thanks for pointing this out.
Wat is een penetratietest? – Blueprint IT Security
You don't have to be an expert to make/jump the actual parachute/canopy. As long as the harness, container and reserve are TSO'd you're good to go. It's a lot of work though, at least for a ram-air.

EDIT: Some interesting discussion here: http://www.dropzone.com/cgi-bin/forum/gforum.cgi?post=482241...
TLS has been subject to lots of formal verification. The other things, probably not so much.

Verifying some (but not all) properties of crypto is relatively (but not absolutely) easy, because it's essentially just math with pure functions. Operating systems and physical controllers with real-time constraints have different requirements and more interacting state, which means that the desired properties are not easily expressed as a mathematical expression.
> It effectively ensures that we are all exposed to two languages in school

French education is a complete joke in large parts of the country.
It's risky but sometimes it's the only way. To be fair the code size is relatively small so it should be easier to audit than other products. My guess is that his blog post is also some motivation to get new pair of eyes on the library. If there's any fund for that, I'd be happy to look at it ;)
Hello, thank you for writing the library.

On my context it is useful for downloading large files without depending on a single point of failure or fixed location.

Have a question in regards to the example syntax:

client.startAsync(state -> {
if (state.getPiecesRemaining() == 0) {
client.stop();
}
}, 1000).join();

This is a feature from newer Java syntax that I'm not yet familiar enough with lambdas to understand in full what is happening.

Perhaps I can ask for an example that replaces the "->" into the older Java syntax? I know this would likely come at the cost of a few extra lines, it would certainly ease a lot for many developers looking at the example. Many thanks.
The most far fetched part isn't that the US might fail, it's that Canada would take its place out of all the other nations. The growth figures make this idea nonsensical, unless Canada somehow invents a strong A.I. or some equally implausible scenario.
Rogue chatbots deleted in China after questioning Communist Party