skysight-inc/HackerNews huggingface dataset:
> I get that the idea was to maintain indexing via codepoint, but (again) in practice that's not great: usually you want to index via grapheme -- if you want to index at all.

I definitely need indexes, and I don't really care about graphemes. I actually have only a vague idea what that is.

I write parsers typically by using a global string and lots of indices.
The important thing for me is to be able to extract characters and slices at given positions, and to be able to say "parse error at line X character Y" where X and Y are helpful to the user most of the time.

I would be absolutely fine with working in UTF-8 bytes only (and that would be faster I guess), but there would be a more pressing need to recompute character positions (as a code point or grapheme index) from byte offsets at times.

There are more abstract parsing methods where parser subroutines are implemented in a position agnostic way, but I'm very happy with my simple method.

If everything works on graphemes instead of code points (as I think does Perl6) I will be happy to use that, but it's not so important from a practical standpoint.
Honestly, my best guess for why this kind of interview is used is that it's just an intelligence test. It's worked extremely well for me: I'm very upfront about the fact that I don't expect them to _know_ anything (it would probably be tough for me to do something as simple as Dijkstra's on a whiteboard under time pressure), but that I want to see how they think.

I recently had a guy with an incredibly impressive resume and a couple decades of experience, and I gave him the same interview. He clearly thought he did badly since he couldn't go through the white board coding as smoothly as a recent cs grad would, but in my book he got a 9/10, because he was obviously good at clearly thinking about creative problem solving.

Now I can't speak to whether large companies universally treat these interviews the way I do, but as a sample of one, when I conducted interviews for Google I certainly did.

You shouldn't let your assumptions about the interview process color your decisions so heavily.
The "Paradox" you are citing was posed by a philosopher, not a mathematician. Philosophy is not mathematics, no matter how much they might like the association.

This isn't as complicated or confounding as you seem to think. The "fascists" that Antifa think they're fighting aren't attempting to overthrow the government or build armies of SS-style street thugs. They are usually just protesting, or sometimes trying to give a speech at a university.

Speech should be countered with more speech. Violence, with violence in the proportion needed to stop it.

Antifa's agenda is to use violence to suppress speech. Like a lot of self-righteous activity it is rooted in hypocrisy. Their goal is to stop people from disagreeing with their political agenda by labelling any such disagreement as "Nazi" or "fascist" and then claiming their violence is justified as otherwise they'd be "tolerating intolerance". It is doublethink.
Interesting.. Isn't Google Pixel also made by HTC? Will this "feature" be landing on Pixel as well?
Banning is easy. Right now the ban is irrational, the EV tech is in it's infancy and nowhere near ready for mass adoption, it needs to be on pair or better than the current solution otherwise it makes no sense to enforce it.
As a rule, it is far easier* to transport/handle liquids in large quantity than solids. Even ignoring the effort to convert/deconvert the oil at each end, I'm not seeing this as a step forward that will improve the bulk of crude-oil transport -- baring a more detailed analysis than what reads to me as 'pipelines bad.'

*Cheaper, safer, more efficient, requiring less maintenance, etc...
With ES do you mean ElasticSearch from AWS? This is interesting, can you tell me something more please?
Samsung pulled the same thing years ago with the S4. They bundled "Beaming Service" to handle the IR blaster made by a third party company called MoBeam. MoBeam decided to start doing push ad notifications for their crappy coupon clipping app. After I was woken up after midnight by one, I decided I'd never buy a Samsung phone again. It couldn't be uninstalled or disabled. And this was before you could turn off notifications from a single app in Android.
What they mine out of tar sands/shales is bitumen. You can't pump asphalt, so they actually have to add a solvent to make it pumpable, usually naptha, which they then have to ship to the head end - meaning you end up with 2 pipelines. This idea makes the petroleum product more like coal, which has an extensive and cost-effective rail infrastructure for transport.
The paradox of tolerance is false - the intolerant can change their minds - it's their intolerant ideas that must be attacked, not the person whose minds hold those ideas. The persons always deserve to be treated with as if they are fellow human beings, because they are.

Those ones who would not tolerate those with intolerant ideas, have intolerant ideas too, and they must be convinced their ideas are wrong.
What do you mean? `pip freeze > requirements.txt.lock` will freeze all your current deps, including transitive.
Robots are going to do what robots are going to do.
And North America is about revering and being one with nature, respecting and worshiping Wakan Tanka.

Things change, evolve and adapt, both for good and bad. Idris Elba would be great.
>How do we know the recruiter is not a chat bot?

'Thanks for the tutorial' I don't think any chat bot would read the entire thing and maybe sarcastically summarize it as Tutorial
Agreed! I lean much more towards Flask (I'd rather have too much simplicity than too much complexity), but something in the middle would be fantastic.

A simple application structure with loose enough rules and a strong standard library is what I would like. Flask can be too little, Django can be too big.
Why don't you try to contribute by adding this kind of dance ? Could be challenging but really fun ! (Check out the "Contributing" part README, adding a dance should be easy)
It's a shame to do all that work at runtime though, when the result is just going to be that the byte number in the opaque value is increased by the byte length of the first string.

I do think there's a great deal to be said for indexing and pattern matching returning opaque 'locations' (particularly if/when we have languages that let you verify at compile time that you're using the location with the right string).

But I fear doing it well would be distinctly fiddly.
Oracle to Open Source Oracle JDK
GraphQL so far to me just seems like a way to facilitate freedom to front-end engineering in terms of not begin dependent on the back-end when query-ing; I image that when back- and front-end teams are separate that it can be frustrating to front-enders to wait for the api developers to have made something available to them.

At the same time I can see that it works in the other way around; back-end engineers don't have to keep up with changing query requirements from the front-end team.

The same is suggested in the article and confirmed in the response to the only comment:

"The point is that most APIs end up having to support lots of different client requirements all at the same time... and then those requirements change... and then they change again. You don't want to have "fix" your API every time this happens. GraphQL would support a lot of these differing requirements with no changes to the server code at all."

"You don't want to have "fix" your API every time this happens." I don't see why not. Requirements change thus code changes, its not a big deal.

The sacrifice you make with this 'not having to change the server side code' is that you are never able to change the server side code again without risking that you take away functionality that is somehow used by some client somewhere. I say 'somehow' because with REST there is usually an endpoint that is either used or not, but with GraphQL there are relations that get used through each other which is less straightforward to determine when pruning or updating your API.

It all depends who you are though. For Github it is probably a good idea to provide a GraphQL API as this freedom in the front-end will make adoption of their API and thus their service more likely. If you are a normal company and you are the only consumer of your API I highly question the added benefit.

I might be wrong though, so if anyone could point me at some high quality resources on the benefit of GraphQL I am very interested. This article wasn't really that.
Nginx Unit
You're right about the full-time PE role but this is an intern role - how much production fire-extinguishing/sysadmin experience could they expect a student to have?
The Renault Zoe is a city car, but it's not cheap.
Unyielding
HTC 10 comes with a TouchPal keyboard. I think it was a mistake on the TouchPal side, rather than HTC testing the waters.
This is the keyboard that has a T-Shirt button on it that users accidentally hit that takes them to TouchPal's T-Shirt store. Seriously.
Go Ahead, Try to Stop Initial Coin Offerings
Lisp had a different purpose. It wasn't developed as a systems programming language and wasn't used much as such. Though it had been used for some very specialized machines from the mid 70s to early 90s, see the Lisp Machine Manual. But if you read the manual. you'll see that it was initially developed for a very narrow group of people: high-end personal workstation users in research&development. This required very deep pockets. When this manual was published (1984) the cost was in the range from $70k upwards. Most of the machines at that time were bought with government money (aka DARPA).

C spread, because it was a low-level systems programming language and various operating systems were written in C.

The Lisp Machine softwre OTOH was written in a high-level language with special requirements for the hardware: tagged memory, stack-based instruction set CPU, large memory space, garbage collection support in hardware, ...

Thus the software was not stripped down to a minimum and not very portable - which Unix and C was.
This is actually a huge change for operations / devops. JFR is the only tooling out there today that can accurately and safely gather important performance metrics from the JVM in a low impact manner. All other APM vendors like ourselves (jClarity) have to perform hacks of some sort to try and emulate JFR's capabilities. This high quality data source is something that our engineering team is very excited to have opened up!
A Delta jet made a miraculous escape from Hurricane Irma
Building a Maybe in JavaScript
Congratulations, raising money in France is harsh. This is in part due to the fact that start-ups in France have a much harder time getting off the ground than in the rest of Europe because of various government regulations, and in part because the 'home market' does not make for an easy jump abroad. The latter also somewhat affects German start-ups but they have Austria and Switzerland as relatively low hanging fruit after the home market.

Out of all the deals I've looked at (and I consider Europe my working territory) only a very tiny minority were in France.

One sentence from the article jumped out at me:

> When you want to control all the information that filters out of the company during such an intense and important moment as a fundraising that’s definitely not a good idea: never let your team alone with investors.

I've yet to see any company where the CEO wasn't comfortable with having the team talk with investors unsupervised, and trying to control the message to this extent might look like you have something to hide which could cause investors to drop you. Keep in mind that as the party that is emitting shares you have a fiduciary duty to disclose and anything that you hold back (or that you tell your employees to hold back) but that you do know about can come to bite you later on.

Another note: disclosing what went on between yourself and VCs that invested in your company or gave you terms sheets is pretty bad form and I would advise against it. Any communications you've had in the process of your fundraising are between you and the VCs and should not be disclosed, even in blog posts about fundraising.
"Each year, a hectare of Moso bamboo absorbs 5.1 tons of carbon"

http://inesad.edu.bo/developmentroast/2013/05/what-can-bambo...

You would need 10 Hectares of land to equal one of these machine. Sounds reasonably impressive to me. Even more impressive if the climework "tonne" is 2200 pounds and the bamboo ton is just 1000 pounds.
> That recruiter is not only clueless

Look on the bright side: automation is likely to put recruiter-as-grep out of a job soon.
He is actually incorrect in this case as Mac OS is certified UNIX so is a UNIX and not just UNIX-like [*]. If the recruiter was being clever and wanted the applicant to understand the distinction or answer with the magic OS X words I'd be impressed.

https://unix.stackexchange.com/questions/1489/is-mac-os-x-un...
What would be a bigger thing is if they opened access to their monolog.
Political discourse is an "attack vector" now? Dystopian.

This is the kind of delusional thinking that powers most of the American hysteria over Russia. "I can't accept the reality that President Trump appealed to lots of people, so it must be the result of external manipulation of the stupids".

Occam's Razor says: maybe people who post on HN like to keep their political speech separated from their technical speech, the latter which can be done under their real name? That's how I do it. This account posts to technical stories sometimes but mostly to stories on social issues. I have another which is used mostly for technical stories.

The reason is simple enough: just look at the prior story I posted comments on ("At liberal tech companies...").

In the current atmosphere, especially in the west, there is absolute hysteria and a general mental breakdown going on amongst the sort of globalist/elitist population that thinks Trump is the anti-Christ and Brexit is Revelations. This is an atmosphere in which people find some random bot-driven Twitter account that publishes politically conservative stories and label it as a Russian plot on the basis of no evidence whatsoever ... and people start debating "why is Russia doing this?" instead of asking where's the evidence.

It is a witch burning atmosphere. Trump and Brexit didn't happen because of Russia, except maybe in the sense that Hillary Clinton adopting a policy of starting a hot war between America and Russia turned voters away from her and towards the anti-Russia-war Trump. These things happened because of mismanagement and an attitude of "we can't hear you" towards large segments of the population from the sort of people who are attracted to politics.

Now they've been forced to progress from "first they ignore you" and "then they laugh at you", they've moved on to "then they fight you". Their weapon of choice being an attempt at disenfranchisement through claims that anyone who disagrees with their agenda doesn't really disagree. They've just been reprogrammed through Facebook ads bought by those evil Russians. Once you take out the malign mind-control of a shadowy international conspiracy, Clinton would definitely have won!
Is it possible to, based purely on the context of the symbols that the Unicode standard has added, determine the correct way of connecting the characters? Does the written language have such a formal mechanic?

Or is are tashkil extra distinctive modifications that might be like spices or sauces per (whatever you want to call a single display slot)?
Days are numbered for infra software detached from a cloud provider. Cloud Foundry and VMware folding (partnering with Google Cloud) is a good indicator that there is no clear path forward. So Kubernetes on prem or custom rolled on a cloud will not win the fight against GKE or ECS. Openstack,DC/OS, Openshift are all risky bets from a career standpoint.
Pixel only holds Google Code + maybe some HTC firmware, but that's it.

I sure hope the "pure" Android experience doesn't include ads.
Not open source, but I really like the Swype keyboard. First thing I install on any new phone.
Eight low-lying Pacific islands swallowed whole by rising seas
You're not alone. The only place I like Python is as a replacement for shell scripting.
They didn't have strict requirements, unless you mean strict requirements on what keywords appear in the CVs that are submitted.
Firefox: It’s your data, we’re just living in it
Manipulating 100+ Business File Formats in Java Applications
"Automakers would have to submit safety assessment reports to regulators, but the bill would not require pre-market approval of advanced vehicle technologies. The measure now goes to the Senate, where a bipartisan group of lawmakers has been working on similar legislation."

You and I both know that without premarket approval, one or more companies are going to get careless and are going to kill people before the technology is ready. It's going to stain public acceptance for a quite necessary technology.

Here's a new medicine we're developing! It's gonna totally work great. The science says it's possible, we just need to work out the kinks while treating hundreds of thousands of people....
Apparently they did...
We can now make huge rube goldberg machines to transport those balls.
Have you looked at:
http://www.django-rest-framework.org/

and the Lightweight Django book: http://shop.oreilly.com/product/0636920032502.do
Irrelevant that you are "right". You have to guess what the recruiter wanted and just say yes.
Reminds me of the feature phones in the early 2000s that all had an 'online' button that would bring up the mobile operator's WAP portals.

The only reason why you'd ever press that button is by accident (these WAP pages had no useful content at all) and each accidental button press would cost the equivalent to $2 due to outrageous mobile charges.

The placement of these buttons was always such that you'd likely hit them accidentally.
So that's what that was. It happened to me on a Google Pixel phone.

(I was hoping it was a custom keyboard in the app but apparently not!)
I also don't want tons of screens and so on in my car. But automatic headlights? Where I live, I see (or, well, don't) cars driving at night without their lights all the time. Automatically turning them on when it gets dark seems like a no-brainer. The worst thing that happens is the sensor breaks and then they become manual headlights...
This Trend Is Changing How You Look at Merchandisin
Seems like lichess.com is crushing FICS as in users are creating new accounts there and is only missing bughouse.
Gboard gives you some very nice word completion features. I doubt whether you'd get the same level of features without worse attacks on your privacy.
The problem is that data science, often, isn't just data science. It might involve doing a bunch of activities that are strictly not data science - scraping data off the web (Python has requests), visualization for some understanding (Python has dozens of nifty libraries), store data in a small db (Python works nicely with sqllite, among others), convert all of this into an app (Python has Flask, again among others).

R's data frame concept was fantastic for those transitioning from 'spreadsheet' analysis but with Pandas, Python has improved and enhanced this concept even further.

This is just one example but I think it is this versatility that makes it more attractive than R or Julia.
I guess it's reusable after the oil is extracted, so it can be send back?
Hi All,

I represent the London Java Community (LJC) on the Java Community Process (JCP) Executive Committee (EC), aka the Java standards body. I also help run the Adopt OpenJDK programme for OpenJDK outreach and onboarding new developers to work on Java itself.

Now that the acronyms are out of the way :-). We're working at the JCP with Oracle to streamline the standardisation process in order to facilitate these faster releases and provide other Java vendors the ability to run their reference implementations against an in flight Technical Compatibility Kit (TCK), which is what you need to pass in order to call yourself Java.

I'm really, really pleased that Oracle is increasing the cadence. Java 9 allows for incubation modules and so if something isn't ready, it can simply be put in there for early testing without it impacting the main release.

Some folks asked about alternative platforms. In terms of providing high quality releases of OpenJDK for alternative platforms we've created a portal at https://www.adoptopenjdk.net with the build farm run via https://ci.adoptopenjdk.net (code in various repos at https://www.github.com/AdoptOpenJDK). We've only just received the Java Test Compatibility Kit J(TCK) from Oracle and once we have the binaries tested against that then folks will be able to get the latest OpenJDK binaries for all of the esoteric platforms (ARM, z360, AMD variants, AIX, Solaris and so forth).

We'd love for folks with devops skills to come and join us (Docker, IaaS, Jenkins, make skills welcome).

If you have any specific questions please throw them my way!
Sure, I was just hoping to move you a little towards the position that lazy exponential discounting is generally not compatible with longtermism.

In terms of behaviour change, giving a mixed message is just going to excuse people falling back into the default method. This is what thoughtless acceptance of the default means:

http://www.heritage.org/environment/report/discounting-clima...
http://www.heritage.org/government-regulation/report/questio...

So I think there's a real cost and risk associated with not taking a clear position on this.
> As a rule, it is far easier to transport/handle liquids in large quantity than solids.*

Is it?

For liquids, at all times you need a sealed container that doesn't leak. For solids, it's enough for the holes to be no larger than the individual solid object. This makes containers cheaper and requiring much less maintenance.

As for this specific case, the article makes at least two points:

- transporting solids can reuse existing infrastructure (rail + coal wagons), giving you flexibility - as opposed to requiring you to ship from only where the pipeline ends (or to build new pipelines);

- with "one weird trick" (injecting some extra gas into the bubble) they can make each pellet buoyant, and it seems they also don't dissolve easily - the result is something that's potentially much easier to collect if you happened to spill it into an ocean.
That's not the way to look at this. The control you would need to establish whether what you are saying is true is a world in which the 2/3 split never happened. And in that world Python is most likely doing even better than in this one...

They fucked up. That Python is resilient enough to absorb such a blow and that no other language is a viable alternative for that particular niche is what saved the day.

And even now there is still plenty to improve on, fortunately Anaconda at least makes package management more sane.
Without AMP: https://www.anabolicmen.com/plastic-testosterone/
Try hyper.sh. They are the new Heroku for Docker.
Buy Diwali Sweets from Best Sweet Shop in Lucknow
Madhurima Sweets is an online sweet box delivery shop in India. From here you can send special sweets hamper to your special ones residing in USA or UK on any occasion or festival. Place your order here www.madhurimasweets.com/seasonal-special.html
The ‘internet of things’ is sending us back to the Middle Ages
Am I the only one to suspect that the ad is related to what you type, i.e. That this is a key logger?
It does not matter what recruiter says to his boss; what matters is that we will know this person and avoid all contact with him; it is not his boss (as if the boss cares) he should seek forgiveness from. Stan does not need forgiveness for there is nothing to forgive him for; the only thing he will get is respect for standing up for the gross incompetence and bullying.
It's called "rail".

https://en.wikipedia.org/wiki/Rail_transport