skysight-inc/HackerNews huggingface dataset:
Semantically equivalent yes, access time equivalent for variable width strings no. One of the reasons for Python 3's odd internal string format is because they wanted to keep indexing and have indexing be O(1). The reason why I think replacing indexing with iterators is that it removes this restriction and they could have made the internal format UTF-8 and/or easily added support for graphemes.

I prefer to have a system where 100% of the cases are valid and teaching people corner cases is not required. We all know how well teaching people about surrogate pairs went. And we're not forbidding the 99.99% case but providing an alternative way to accomplish the exact same thing. The vast majority of code uses index variables as a form of iterator anyways so it's not that big of a change.

The main reason people keep clinging to indexing strings is that's all they know. Most high level languages don't provide another way of doing it. People who program in C quickly switch from indexing to pointers into strings. Give a C programmer an iterator into strings and they'll easily handle it.
I'd love to play, but no time to spare. I mentioned video games because the OP mentioned how peer group effects are strong. If that's the case and is a proposed explanation for opiate use, why aren't these people playing video games instead. Of course they could just be doing them both.
Polyhedral Compilations and Optimizations
Yup, this is why feature detection is better than version detection.

jQuery changed their strategy in 2009: http://blog.jquery.com/2009/01/14/jquery-1-3-released/

"No More Browser Sniffing"

Also, autoconf has a lot of faults, but as far as I recall it's firmly based on the philosophy of feature detectino vs. version detection.

Maintainers of packages can write bad custom checks that test for features, but if you use the built-in autoconf checks, they're all about features.

CMake on the other hand seems to use version detection more, which I don't like.
> the applications that they value, appear to operate perfectly well in a NATed environment

The key word here is "appear". There are two main factors which maintain this appearance:

1. Any technology which does not play well with NAT is guaranteed to be DOA with respect to the consumer market, so few resources get spent on them. This is a classic chicken and egg problem.

2. A tremendous ongoing effort by network device and application developers to implement whatever kludges are necessary to keep their products working with NAT.

Both of these costs are largely hidden from consumers, so of course there is little outcry about them. That doesn't mean the world wouldn't be much better off if NAT went away.
Nintendo “Ultra” 64 Programming Manual [pdf]
Amazon HQ2 RFP [pdf]
Actually, SHA3 was not converted to ternary. The input is simply chunked into 243 trits that are converted to 48 bytes and are absorbed into KECCAK-384. Squeezing works the other way round, 48 bytes are squeezed and converted into 243 trits.
Triplebyte (YC S15) Is Hiring Technical Interview Manager and Account Managers
What did you find disappointing? What were you hoping for (so I can compare it to my own hopes)?

Rust is the one (out of Rust, Nim and D) that looks most promising to me from the outside for my goals[1], but I haven't really settled on one to devote my very limited free time to.

1: If I'm going to drop down from a high level dynamic interpreted language to a low level strongly typed compiled one, I might as well got the extra distance Rust is asking for the gains it promises.
not sure if thats true, its hard to find things on IPv6 currently. Is there any practical way to scan IPv6 ranges? its so large you cant really NMAP scan around
It might be akin to why startups regularly supplant and defeat large incumbents, you need a certain level of ingenuity and perspective that those incumbents don't have. Traditional aristocracy had a very different view of the world compared to merchants and factory owners.
Hurts to read this. The author manages to repeat exact sentences more than two times in just a few paragraphs.
Does anyone know if the IOTA devs ever wrote down a justification for using a hand-rolled hash instead of, like, SHA-256? If so, can you link it in a comment?

EDIT: I feel compelled to explicitly say that this was a mind-bogglingly stupid thing to do, and there is almost no way to justify it. I'm just curious what they thought they were accomplishing.
> few police have the discipline to think twice and exercise caution despite personal risk.

Then shouldn't police departments improve their hiring and training practices until this is the case? These are people who are sanctioned to use violence in defense of society. They are widely considered heroes for putting their own lives on the line. It's not too much to ask that they are held to the highest standards of discipline.
That was an outcome of having "factories" rather than companies you could have be making razor blades on Tuesday and radios on Friday.

Employment was also non selective you went to school, got your engineering degree did your thesis on jet engine blades and then sent to a factory across the country making mailboxes

Many of the design decisions of Soviet era engineering are becuase of these conditions stuff was designed with high tolerances because it will likely be produced on repurposed tooling not design for it by people who'll be trained every 2 weeks to make something else.
It worked for Amy Schumer, Netflix ditched their superiour star-based system for thumbs up and down (which are now completely meaningless).
> As far as I can tell, there isn't anything remotely illegal or unethical about this project

This applies to the other Vault 7 releases as well. It is very odd as there is no clear message or motive on their end, just dumping of info which could potentially cause harm (diplomatically, or to actual personnel in the two cases where they did not properly redact CIA employee names).
So, how many people die of "excited delirium" without them being tasered at all? IF we were to believe the Taser company, this condition is killing people all the time.
I'm one hour behind my team so it's pretty easy.

We do have some offshore contractors who work from India which is about 10 hours difference I think. We only have about 2-3 hours overlap with them in the morning, but I find that more than adequate for communication between us.

Working that late doesn't sound enjoyable - you could try proposing 'core hours' that would overlap with EST so you wouldn't have to work that late. Something like 4 hours overlap is what I usually see remote companies requiring.

Best of luck and let me know how it goes, hope it works out for you. Working remotely is great.
How about taking Obama's away while you're at it? Or is that different somehow? Different standards maybe?
This is a development environment, not a production one. There should be no HIPPA issues developing and testing your code in public. If there is, then you're doing it wrong.

Your point about corporate policies is right on the mark though. Not many corporations are going to want their code sent to a 3rd party in any form, encrypted or otherwise.
"A drop-in replacement for Apple's PDFKit" is marketing speak approaching lying.

The combination (PDFXKit + PSPDFKit) is a replacement for PDFKit, not PDFXKit alone; PDFXKit is just a wrapper library around their commercial product PSPDFKit that gives it the same interface as PDFKit.

Because of that, the BSD licensed PDFXKit isn't worth anything without the commercial PSPDFKit.
Or... teach the police how to use their elbows, knees and fists.

Then again, many members of the police have a hard time chasing a suspect by foot and are nowhere near in condition for even basic martial arts.

Fun story: my massage therapist witnessed someone running away from a morbidely obese policeman and asked him if he needed help. Policeman agreed so he chased him accross a small parking lot. The policeman took his car to meet them a few hundred feet away and was still winded from his earlier attempt at running.
All that is technically true.

What's missing is that Reality doesn't care about human narratives. It is what it is. Narratives align with it in varying degrees. Some align with it quite well, and we call them true. Others don't align with it at all, and we call those bullshit.
Curl disclosure, beyond the headline
Do that many people really rely on reviews? I've found I trust them significantly less with movies than I do with many things.

I wish I could remember some specific details, but some incredible films are given ridiculously low ratings within Netflix itself.

I don't even bother with Rotten Tomatoes anymore because it's seemed like such a crap-chute for so long.

If I know I really want to see something, then I'll just see it in the theatre. If I miss it, or I'm less thrilled but still want to give it a go then I wait until it's out on an ubiquitous source like Netflix or I'll rent it.

---

(Speaking of IMAX I'm really upset right now because I tried to book free tickets for a TIFF screening of Dunkirk attended by Christopher Nolan at the Ontario Place Cinesphere[0], but their site wasn't working well the day of the bookings and I couldn't get through!)

[0] https://en.wikipedia.org/wiki/Cinesphere
Thanks for all your hard work on DrupalVM, Jeff :)
Hollywood had a terrible summer because they made a lot of movies nobody wants to see. This summer's films were all awful or too derivative and predictable.
Yeah, but at the end you can still fabricate the data, remove "outliers",... Plus it's almost impossible to imagine a world where, before any experiment in any field, you predeclare it.

Not that education can fix all these (you can't prevent evil), but if reviewers and journals and conferences started to accept more the negative results, the incentive in lying would quickly decrease. And people would probably start to "disprove" interesting theories, instead of trying to "prove" niche results...
Love the idea, doing screenshots right now and then dumping it on asana, this is basically better, also noticed a typo:

"Like most of our peers, we used screenshots to get our point accros to the rest of our team."

should be across and its on this page: https://marker.io/about-us

Probably should be best reported using marker, no?
I used to use Rotten Tomatoes to help select which movies I went to see. Recently I've seen some very highly ranked movies that I thought were terrible. "Baby Driver" was a 97% critics rank when I saw that movie (93% now) and I would put it at a 20. I don't really like personalized computer filter systems for what I see, but does anyone know of a site that rates current movies based on how you would rank other movies? What would be really great is to have a survey that would match me up with a movie critic.
I very much enjoy the "Dom Tuffy" series (though I highly recommend all of Mr. Doorbell's recordings-- his voice is pleasing and hearing how it has changed over his life is amusing, if nothing else).

The August, 2001 tapes in Nantes, Quebec are especially poignant to me. I grew up in a rural small town that had the analog phone switch replaced with a digital switch (a DMS-10) in the late 1980's. A couple of other little towns around still had analog switches into the early 90's. I "played around" with them a little bit but really didn't understand the technology. Now I wish I'd had more time with them.
> In an email, Kroll said his affiliation with Taser did not bias his research: “Due to this well-known relationship, I was motivated to be very careful to be extremely accurate and objective,” he said.

Right, I'm sure he was extremely careful and objective in his research.

It's funny how scientists who do "double blind testing", where they avoid even themselves knowing if a person received the control or not, because it's proven that it could bias the result, somehow are totally immune from bias because of research grants where the grant giver has obvious interests.
Given that corporate profits are higher than ever yet only very few are benefiting from that gain, it should be fairly obvious that trickle-down economics isn't working. Why not increase taxes while limiting imports from countries with minimum wages much lower than ours? That way the lower and middle classes would actually see an increase in quality of life, not a decrease that they would see if we removed the minimum wage.
https://medium.freecodecamp.org/whose-reviews-should-you-tru...

This was posted here a week or so ago, but seems relevant.
I found the fact "The Emoji Movie" getting 74% 1-star reviews in their ranked chart to be a more interesting fact. Climate change and Al Gore being controversial and highly politicized is nothing new. South Park has been satirizing Gore's hyperbolic approach for years. An approach which tends to draw tribalistic audiences who have opinions formed well before hearing the arguments.

But the fact Hollywood spent $50 million on such a disaster as T.J. Miller's big feature film is what is somewhat shocking. Especially given it had some big names like Columbia Pictures and Sony Pictures Animation behind it.

You'd think with the data-driven cookie-cutter focused-grouped-to-death process that is the modern film industry would be able to avoid producing one of the worst rated films in the history of online film reviews. I thought modern Hollywood was extra careful? Or are those resources only limited to hedging their financial performance rather than producing enjoyable content?
People just go to the movies for the sake of going to the movies. When there are no good options, they choose one of the bad options. The ultimate result is that they go to the movies a lot less frequently, because as much as they like the "movie theater" experience, most of what comes out is boring.

What we're seeing is a cinematic environment where there's very little passion for movies. Once all the passionate cinema-goers have tuned out (because there's nothing that excites them anymore), all that's left is reflexively going to the movies for the sake of killing time. And if you're only there to kill time, you'd might as well see the Emoji Movie, or Pirates of the Caribbean 11 or whatever.
You might be correct and 32 bits could have been enough but Unicode has restricted code points to 21 bits. Why? Because of stupid UTF-16 and surrogate pairs.

I'm curious why you think that UTF-8 requires complicated lookup tables.
Hopefully, it's now time to "make panel position configurable" (https://github.com/Microsoft/vscode/issues/2806), by far the #1 request of the "On Deck" features (https://github.com/Microsoft/vscode/milestone/27)
If you do a honest preliminary study and get a p~0.05 result, then repeating the study with 70% larger sample size should get you p~0.005; but if you've p-hacked, it won't.
Free Book: Introduction to Computer Graphics
A little background - LSD was my first drug. I started when I was 13, before I ever had a drink of liquor, or a puff from a cigarette. I tripped probably 75 times between the ages of 13-23.

I firmly believe the same. Every person (without known psychological conditions) should have a psychedelic experience at least once within their lifetime, ideally during the formative years of early adulthood.

These are tools to investigate what it means to be a consciousness here on Earth. They allow people that otherwise may not (I am a staunch Atheist, for example) to experience the ineffable. That changes you, and in my experience, usually for the better. It shows you that you are just a tiny part of the system, and that you have this rare and special gift of existing as a conscious being, able to investigate your own mind and perceptions of reality. It shows you that there is no "outside" yourself.

I do think that most people would do better to try psilocybin, as it has a more "earthy" connected-ness feel to it than LSD ever did for me. To me, LSD puts you into the place of an alien experience this planet for the first time, and psilocybin makes you feel at home in your place in the world. LSD is much more cerebral, while psilocybin is more about the connected-ness.

Either are recommended for use at Disneyland, if you want to get the full experience of just how weird and wonderful this reality is. ;)

edit:

Try psilocybin _first_, then LSD if you enjoyed that.

Psilocybin doesn't last nearly as long as an LSD experience, which can be easier in my experience than just jumping straight into the deep end of the pool.
That's not a fun story. That's a terrifying story. Cops can deputize a random passerby with no training to intervene in a chase?
It's really designed around ease of use. What you're looking for is called TensorFlow Serving.
Indeed but that isn't language dependent, my intention was to convey that for the most part C/C++, Fortran, Coljure or anything else will run the same for the same code.
Some language specifics might cause edge cases but for the most part as long as the compiler produces an identical PTX there shouldn't be any difference.
Yes, although everything that I've read suggests that Motorola's patent portfolio was light on anything related to smartphones so it provides little in the way of a litigation deterrent for competitors of Google or Android OEMs.
Previous threads:

https://news.ycombinator.com/item?id=12378922

https://news.ycombinator.com/item?id=11060282

Actually I'm surprised that Zig didn't come up on the "Some Were Meant for C" thread, because this strategy is exactly what I wished something like Rust had support for (importing header files directly, more direct support for unit-by-unit translation, etc.):

https://news.ycombinator.com/item?id=15179941
People love sequels that are good movies - movies that tell you more about a beloved world and characters and recapture or extend the feeling of a good previous film.

The problem is too many sequels are simply not good movies - they exist only because they can sell tickets based on the strength of the previous film(s). They reduce or dilute the overall experience of the franchise.
New Cloudron Apps – Ghost, OpenVPN, Redmine
https://en.wikipedia.org/wiki/Rolls-Royce_Holdings
It does work in redmine[1] and that for years and the same as in github and Jira, using the #XXXX notation.

[1]: http://www.redmine.org/projects/redmine/wiki/RedmineTextForm...
Zig competes with C instead of depending on it. The Zig Standard Library does not depend on libc.

That's an interesting choice. I'm sure there are other semi-recent languages that have made the same choice, it would be interesting to hear the benefits and problems of that approach.

I say semi-recent, because there are of course many from before C or that competed with C and Unix initially, but unless they are still used much (Lisp?) it's not necessarily the best for a comparison of modern issues.
Cybersecurity Incident Involving Consumer Information
You forgot Rocket.Chat.
That's an and, not an or. Fists are dangerous too if you use them incorrectly. Police should know how to subdue someone with no weapons, a taser, or a gun, and know when each one is appropriate.
The standard argument for showing that they have the same cardinality is to consider the matrix (let's see if I can render this):

1/1 2/1 3/1 4/1 ...
1/2 2/2 3/2 4/2 ...
1/3 2/3 3/3 4/3 ...
...

You can traverse each SW-NE diagonal, producing the sequence 1/1, 1/2, 2/1, 1/3, 2/2, 3/1, ...

This will eventually hit every positive rational (several representations, in fact). If you want, you can start with 0 and insert -q when you hit q.
My understanding is that this guy was a telephone "phreaker" (hacker enthusiast) and I gather he traveled a lot and would use pay phones and record them as he did.

The "tapes" are him narrating over these old tapes many years later explaining what he was doing. Much of it is him dialing various numbers and listening to the beeps/boops/kachunks and explaining exactly what is happening technically to route the call.
JavaScript Binary AST – Motivations and Design Decisions
Ember. Your best bet
The author of the article also said at the bottom of the article to do just that :)
Here is a similarly great post if you'd like to get your feet wet on running the bitcoin network locally (via regtest mode):

https://witestlab.poly.edu/blog/get-rich-on-fake-bitcoins/
There are other factors too including carcinogens in meat

http://www.intelligencesquaredus.org/debates/past-debates/it...
How will the running environment delivers all the dependencies? I see a lot of python notebooks that are uploaded to github repo doesn't have a requirements.txt file.
The U.S. House just paved the way for more self-driving cars
Would junior{developers, engineers} etc. apply?
Reminds me of this which was on show HN as well: https://www.crystalknows.com/
The One True Way to Innovate?
Why would you start with OpenGL 1.1 and then introduce shader programs in the context of WebGL? Why would you teach people to use vertex3f at all?
MIT researchers use “firebricks” to store clean energy
So much for innocent until proven guilty.
This raises an interesting point. Do you know how long we've been accurately recording cyclones?
When I last checked Rotten Tomatoes and saw a bunch of yet-another-damn-superhero movie with 90+% scores, I wondered if this was the case. Knowing that at least eight out of ten movies Hollywood puts out are riskless, brain-dead re-hashes of the usual proven plot/style formulas...and that RottenTomatoes was rating many of these "near-perfect"...that was the last time I visited RT expecting to get some help with what movie to see in theaters.

Anyone blaming Hollywood putting out mostly garbage as the source of Hollywood's woes? Netflix and the rest of the new owners of scripted video content know that you need great stuff if you're going to expect guaranteed viewership.
This is absolutely true. I've seen a few movies recently with some self pronounced critics and we were amazed at how good the movies were that were rated horrifically low.
One congestion-control parameter which don't get it's fair share of articles is initcwnd. And for HTTP traffic over high bandwidth+latency links it has much larger impact than the choice of the cc algorithm.

See https://www.cdnplanet.com/blog/tune-tcp-initcwnd-for-optimum...
1. The signal we're sending to big companies is that they may want to consider supporting us if they think Matrix is a good thing. So far it seems to be headed in the right direction.

2. We're offering donations by patreon, liberapay, IBAN(!), bitcoin & ethereum. I'm a bit confused as to why letting folks donate by bitcoin or ethereum would be a turn-off for a manager at a company. If you really think that adding Stripe to the mix would help things we can do that; we've just added paypal too.

Basically, it's a catch 22. We need to advertise that we need funding in order to get people to fund us. If that turns off some people rather than encourages them to donate, then such is life :/
It does exclude many large subpopulations from the many immigration waves coming after the colonial era. All the irish, italian, polish, jewish people; the vast majority of 19th and early 20th century (very large!) immigrants and their descendants aren't WASPs.
The Source Code: William Gibson
Is mace lethal? Putting it at the same force level as tasers seems weird.
We're working on that :)
How so? The information derived from the thumbs ups/thumbs down system is conveyed to you in the form of a "XX% Match". How is that substantially different than seeing that prediction mapped to a 5-star scale?
Mexico is probably out given the current administration's positions

I don't think the current administration would complain if thousands of mostly liberal tech workers moved to Mexico.
Also Capitalism exacerbates this

https://en.m.wikipedia.org/wiki/National_Dairy_Checkoff
It's liked hired, honeypot and other recruiting websites?