skysight-inc/HackerNews huggingface dataset:
You need to find better role models for healthy relationships. Reading this is like reading the comments of somebody in their mid-20s who has known nothing but abusive relationships and been rejected multiple times who has decided all relationships are disgusting. If that is the case for you, I hope you can open your mind enough to being loved by somebody who can show you the truth.

I don't know any couple who belittle or control each other, and certainly don't disrespect each other. If I did, I'd recommend they get the hell away from each other as quickly as possible.

Romance is not about pleasing one person at the expense of the other, it's about two people who love each other exploring the mystery of that love.

I've been with my partner for over 7 years. She's my best friend. We respect each other, and if one of us thinks the other one is not taking our own needs into account we talk about it and compromise.

The fact that your friend has chosen to prioritise his wife's feelings over his career is his choice. If he hasn't made it gladly and freely, then he needs to get out.
Great Logo Design Agency from Berkeley
they have ads even in official roms.

and sorry but the roms that xiaomi sells are without play services. the reason for customization. the rom is miui with google services.
I guarantee that if the collective influence of some of the world's most powerful companies wanted there to be more affordable housing, either out of some noblesse oblige like you see in NYC, or because their employees really turned the screws on them, it would get built.

Tested and disproven.

Google tried to develop thousands of new units of housing in 2015 and was rejected by the Mountain View city council.
official roms dont have play services, thats why there are those customizations in the first place.
Zoos are inhumane for many animals in my personal opinion. Many animals should be ranging a territory in the wild, not confined to a tiny plot of land to be gawked at.

I don't find the 'conservation' excuse all that acceptable either. What if the millions spent on Zoos were instead spent to conserve the native territories of the animals and to improve the lives of the people who live near them so they won't resort to poaching or habitat destruction.
VP9 uses a retarded amount of CPU compared to h264, so I can't blame Apple for not wanting to implement it.
because python is used by professionals and people who come out of science programs. math, physics, we all use python. and we have at the very least a rudimentary understanding of algorithms.

if you want to interview with us you better know at least a little bit about the foundations of CS.

you will not know jack, coming out of a 12 week bootcamp with no prior formal education.

on the ruby front, you are confronted with web hipsters who subscribe to this paradigm that formal training is a hindrance to "getting shit done" and "being pragmatic". way easier to roll with those guys. way easier.

thats the reason they teach you ruby instead of python.

- I'm not saying that the ruby crowd gets nothing done. they do. just a different mindset.
What will you do about your contribution to this effect?

Everyone seems to want to wait for government regulation or something to change other people's behavior. Governments will follow what voters do.
String indexing is pretty rare. Most of them are s[0] or s[:n], where you don't need an index.

Typically this is found when parsing something, eg.

if line[0] == '#':
# skip comment lines
continue

Or

prefixes = {...}
for line in lines:
prefix, remainder = line[:4], line[4:]
if prefix not in prefixes:
raise ValueError('Invalid prefix ' + prefix)
parsed = prefixes[prefix](remainder)
Was that the final solution or just for debugging purposes? It doesn't seem like you'd want to make binary patches the next time that software got updated
Bioinformatics Contest 2017
The only way a sexless marriage is unhealthy is if one of the partners wants sex. If neither is interested, it's not a problem.

I have known couples who need sex every day, and I've known couples who have rarely have sex. Both happy. Mixed it up and swapped them around? Deep unhappiness.

Stop projecting your preferences onto every other human: the amount of sex you prefer in a relationship is unlikely to be a perfect match for everybody. You especially need to be wary that if you are inclined to have a lot of sex and your partner is not, you may unwittingly be forcing them into something they are not comfortable with, and as a result making them deeply unhappy.

It's not a trope. It's just basic human understanding.
Perhaps, if I thought anything in the browser headers indicated a serious or non-serious student. I don't think user-agent meets that criteria.

If I had hundreds of people applying to my school I'd have a standard development environment set up for them so they could connect to it remotely, regardless of what brand of laptop they own or which OS they happen to have. That way they could start learning to program -- what they are paying for -- rather than spending a frustrating hour or two trying to install Linux, or in the case of MacOS trying to deal with the versions of Apache and PHP and MySQL Apple installs.

I've been to classes that start with "install Linux" and what happens is the first day is wasted while one or two people struggle getting wi-fi or their mouse to work, or don't have enough disk space, or whatever. It's a waste of my time. That's why public and private schools are adopting Chromebooks.

If you look around you'll see quite a few developers using a Surface Pro these days, since it's lighter than a Mac and can run Windows apps, which is a requirement for a lot of jobs and some schools. Two of my kids must use Windows for their college classes and job. Should they (or I) have to buy a Mac just to go to your school?
Dev Tools Tricks: Store objects and elements as variables in the console
Is the memory representation of Swift strings now documented as something that programmers can rely on for performance characteristics?

I read the Swift Book when Swift first came out and it bothered me a lot that the book didn't say what the memory representation of strings is. In contrast, Rust documentation is very clear about this stuff.
Deirdre McCloskey has a series of books on "The Bourgeois Era". Here's an example of what they cover "1% of history, 99% of wealth" https://www.youtube.com/watch?v=a0nsKBx77EQ
The right falls for empty fantasies, the left falls for policy wonks. Unless he starts reading a lot or becomes a loud a-hole, i dont see this happening.
While these may not be pleasant attitudes, the effects are real.

There's a pretty big disincentive for anglophone engineers to move to Montreal, say from Toronto. Not sure about Waterloo. Waterloo's kind of dead, so I imagine graduates being glad to move anywhere more interesting.
>The document doesn't grant me the right to life.

Nothing does. You don't have an objective right to life.

>Everyone has natural rights.

There is no such thing as a natural right.

Natural right implies that it is a objective right, something that can be reasoned to be always true no matter the mindset of those who reason.

Human rights or just about all rights we have are subjective, we made them up.

And yes, that includes all basic human rights. Your right not to be violently murdered is at it's essence a subjective notion that you don't want to be murdered above all.

It's true that some documents have documented these rights, notably the declaration of independence and some other similar. But that doesn't change the subjectivity of these documents either.

>You don't have the right to take anything from me just because there's another person in the room.

Again, this is entirely subjective. The other two people in the room might massively disagree and argue that since their are in the majority, they have every right to do what they want with you and your property.

It entirely depends on the moral and ethical framework used by those in the room.

For some, it might be fully ethical to murder you and practice their cannibalism a bit.

>The state doesn't get special moral or justice exemptions just because it's a special type of group.

Which is just as subjective.

Most people in the US seem to agree that the moral framework they have constructed is beneficial to them and that a majority rule is sufficiently moral and ethical to ignore the complaints of the few.

You can whine about it all day but it doesn't change that the majority believes that a majority can rule (which is an entirely subjective notion).
I found it surprising that DVD subtitles are images, but then I realized it made sense back during the introduction of the DVD, with the crazy world of text encodings. Chances were high that the Elbonian-made player would get the encoding of a subtitle stream wrong and display Mojibake!

With images they had a benefit of being able to do fancy things like use different fonts.
Surely... or find a different school that doesn't slam the door in their face. It might be cool to have a driving school exclusively for Tesla owners but you'd be losing a lot of potential customers.
Nobody even tried to entangle two walkers. AFAIK, uncharged non-magnetic particle without any inclusions (e.g. bubbles) has spin and phase of vibration only. How to entangle them?

Moreover, spin is 3d, walker is 2d, phase is 1d, while our Universe is 3d. It's like studying of 2d/1d projection of 3d world.
Java, like NT, was originally UCS-2 and moved to UTF-16 when it became clear that UCS-2 won't suffice. APIs that operate on units (anything involving "char"s [the type], CharSequences and so on) are legacy and, when used, are almost certainly used incorrectly. Note that newer APIs on String also use the word "char", but the type "int", these are actually operating on code points and not CUs, ie. these APIs are correct.

(Note that java.lang.Character is a char, so wrong. I think there is no CodePoint type or similar that wraps int.)
Show HN: Gorush – a push notification server written in Go
> The paragraph focused on carriers in this article makes me wonder : can ubuntu mobile guarantee OEM won't install any uninstallable apps as well?

It looks like he's saying that Ubuntu gives carriers more flexibility to bundle in alternative apps and services, as you say it would be interesting to know whether Ubuntu will agree to carriers making those services uninstallable. My guess is Ubuntu do not have the clout to stop that, and still get sold through that channel. I would say there will always be a distinction between phones you buy directly and those bundled with contracts. The latter will always involve that kind of influence from the carriers. One compromise could be it comes locked down, but includes some non-obvious but relatively easy way to root the system, and open it up completely.
I generally agree with the article.

However there is another side to the coin.

The tldr is that Some things are better left unfinished.

The longer version:

Some projects are just experiments and learning exercises, even though at the moment we feel like this is going to change the world (note: the world will change anyway).

The reality is that there's just too much stuff - physical products or digital applications, music or movies - it's just too much shit out there !

And not all of it is good, in fact, as with anything - most of it is crap which only adds to the cognitive noise or pollutes the environment.

Why should you contribute your half-assed idea/project/product to the ocean of useless things, apps, art that's out there ?

If during the initial phase of development you don't have a clear answer to this question, then it is OK to abandon it and move on to something else.

There's no shame in accepting that most of the time we have shitty ideas. By "idea" I mean not just the actual technical stuff, but the whole "build a company" ideation that goes along with it - how you're going to get rich and get invited to TV shows, write blog posts which millions retweet and shit like that. A lot of young people unfortunately bet their youth and mental health on trying to prove otherwise.

Creative energy is very similar to (if not the same as) sexual energy. It's something that just 'grows' inside us and it must be released.
But not all of the sexual energy should be used for its intended purpose - creating new humans - otherwise we'd quickly run out of space on the Planet.

Sometimes it is ok to just 'vent' and waste a little bit of that energy in order to make room for fresh 'energy' :).

So it's ok to just "masturbate" intellectually from time to time without actually finishing it.

Career-wise, you probably want to finish one or two, maybe several projects in your life.
This doesn't address the problem at all. Fleets of physical cars do not scale like Uber's business does right now. A fleet would represent a huge capital investment in the cars themselves and in infrastructure like parking and service garages for all these vehicles. This is a vast sum of money that would now be tied up in illiquid, depreciating assets. Not to mention that it would take many years to build out such a fleet.

Expanding the fleet to a new city now means buying land, building facilities, hiring mechanics and admin staff, and buying the cars. At this point Uber would look more like UPS - with UPS-like growth - than a tech company. All the while, unless they raise prices significantly, they're still losing money.
has httpredir now won over the alternatives? I think I've read various opinions for and against httpredir over the years
You mean their Intel's switch from RAM to CPUs? I have a feeling that something similar might end up happening here too. RAM was too much commoditized and cost-driven. CPUs were more IP driven. Finding a route from A to B with the right driver at a lower cost is cost driven as well. The self-driving car business will most likely have a very different cost structure.

Just the other day I talked to the owner of a taxi company, going through their cost structure. We concluded that, if taxes are included, 90% of their costs can be reduced on a per-trip basis.

It was his opinion that it would make the most sense that the future is some sort of public-private partnership model where the cars are owned by the city, but operated by some SaaS company, in order to get rid of taxes and further reduce costs. Without that tax reduction, he said we would see a similar situation as airplane ticket costs in the EU vs US (3-10x price difference due to taxes). Cities with 5-10x lower individual transport costs would actually have a competitive advantage. In the US this problem should be compounded as cities aren't as much cities as big villages with people thinly spread out. Thos cost reductions become even more important.

It feels like Uber & Lyft are spending money on the wrong problem atm. This is just a transitionary stage in the transportation world.
>If you talk to inexperienced computer users, probably the most common complaint you will get is that software they are using is being changed underneath them, after they have got used to it.

Open source projects do that all the time too. Think of GNOME 2 -> 3, and compare it to iOS 6 -> 7.

>the walled garden 'we will do what is best for you' attitude

If we take Apple as an example, their attitude is "we will do what makes us sell more", which aligns with what users will want the software to do, otherwise they lose a sale. On the other hand since nobody uses Ubuntu Phone, Canonical will do whatever they want with it, knowing they'll get almost no complains. So which one serves the user better?
Ask HN: How do I compile a list of censored websites in my country
Hello

I live in Pakistan and my government censors websites that contain "immoral" content. Sometimes random websites get caught in the censors, e.g pastebin.com

I wanted to build a portal that kept check of which websites are blocked, but I'm unsure about how to go about this:

1. I could download the zonefiles for all the popular tlds and test them, but this will exclude unpopular tlds

2. I could crawl the web but this will turn into a more expensive side project than I have the funds for.

3... any suggestions?
Uber is looking to transform its business to driverless, but any well-funded new entrant that starts with self-driving vehicles will outperform Uber because it won't have billions in losses on the books from its early days using humans to drive.
No, they're not. Legally, you have to declare all tips that you earn.
Increased Windows 10 gaming performance via “Game Mode”
In Bangalore they were running a campaign last week; UberPool used to cost about a dollar for daily commute (to and fro).
Chrome 55.0.2883.91 on Android 6.0.1, it says server certificate is not trusted.
AT&T Archives: Seeing the Digital Future (1961)
First (not really, but gotta start somewhere) it was books, then it was comics, then it was television, then it was computers, then it was smartphones, then it'll be VR, and then it'll be...

Kids these days...
i have 2 counter points:
- people with focus issue do their best to finish before the focus slips
- people with depression tends to not finish, some shrinks thinks it's ok, because it's at least being active and it's a sign of seeking a path.
I remember going to the computers section at the London's Science Museum a couple years ago and being fascinated by mechanical calculators and the first computers.

It's so amazing to see how fast computers have evolved but it makes me wonder if computing was more interesting back then because of all the things that were yet to be discovered or now that everything is connected and anyone can access information and do anything with a 200$ laptop.
Bad security no longer shocks me at all.
According to this preservation group's website[0], the territorial range of wild African elephants can extend as far as 2,700,000 acres. Zoos are moving away from the concrete boxes but I don't know that it could ever be enough to truly offer these and all the other animals in our zoos a decent life.

As I wrote in a separate post in this thread, I find zoos to be inhumane for this reason and I believe the millions spent on zoos could preserve and encourage the populations of wild animals in-situ by also providing economic development to the nearby human populations so they don't resort to habitat destruction or poaching.

[0]http://www.globalelephants.org/space-much-enough/
I think we can call it 'click bait'
> or habitat destruction

Doesn't this come mostly from clearing land for agriculture?
Too bad the WSL (Windows Subsystem for Linux) is not open source. It is already an impressive piece of software, but many features are still lacking (e.g., neither Valgrind nor gperftools work right now), and it could benefit greatly from community involvement.

Fittingly, issue #1 in the WSL bug tracker is requesting it to be open-sourced: https://github.com/Microsoft/BashOnWindows/issues/1
So you'd be willing to rent out your $50,000 car to complete strangers without even being there to act as a social deterrent to them making a huge fucking mess of it.

Public infrastructure experiences a lot of vandalism and abuse. Prepare for your car to be treated like public infrastructure.
I leave my $SHELL set to bash, but have tmux launch fish. That way, any software that tries to start a shell of its own gets the POSIX sh-compatible shell it expects.
I agree, but it's easy to end up falling down a slippery slope this way.

I think a better exercise would be "wrapping up" project that would otherwise sit on finished as quickly and dirtily as possible. If the project is failing, or you've expended its usefulness, Force yourself to "finish" in some way or another, just so it can be "done".
The US is still split between carriers using cdma, and gsm. So if the carrier is on cdma, SIM cards don't exist.
”Uber and Lyft don't make money until they're able to replace their drivers with autonomous cars”

”with an autonomous car, there's no reason why competition between the two companies would not drive fare prices down.”

So, what is it, will they become profitable because they will be able to decrease their costs, or will they have to cut prices because their competitors are able to do so because they will be able to decrease their* costs? Or do you think they will be able to split that between the two?

I think the only benefits that burning money at tremendous rate buys these companies are scale and mindshare. I doubt either will be worth enough in the long term to warrant the current expenses; for scale, I even doubt whether having scale at the level they aim for is worth having at all. If it were advantageous, I think we already would have had international taxi companies.

I see two possible cop-outs, but don’t think they are worth their current expenses.

The first is if either of them managed to effectively become a monopoly. I don’t see that happen, and if it does, I expect quite a few governments across the globe to take action to correct that.

The second is that lower prices that autonomous cars will afford them would grow the market (if their margin per ride halves, but the number of rides quadruples, their revenue will double). That might be possible, but I fear they need unrealistically high market growth to have that make them a winner.
> That is never deemed just when it occurs between normal people

Yes it is. If I lend you $10 and you refuse to pay it back, it is generally deemed "morally okay" for me to be mean about it. Courts, and by extension, police enforcement of court rulings are that principle writ large.

The whole concept of ownership is based on social contract. What is "mine" versus "yours" arises from that contract. Theft, because it is rooted in ownership, is thus a relative construct.
I hope you're not serious.
If you rely on libraries, there are ICU libraries for C and Java too, see for example http://userguide.icu-project.org/boundaryanalysis
I don't find it particularly confusing. It's a lot of data, but if you take the time to look at it, not really hard to interpret.
The 100 Greatest Kicks in the Balls of All Time in 4 Minutes
The car companies may finance them, in order to get their models sold. Car companies have always been huge financing operations, and cars are reasonably good in terms of debt finance, as they are relatively easy to repossess and resell.
> Few foreign governments will permit an American company to see where their citizens are, where they're going and with whom they are meeting for how long.

I'm not sure why Americans permit this either.
Zuckerberg to testify in 2B Oculus case
> No human construct grants a person a right to violate human rights

Human rights are a human construct. Moreover, they only make sense within the context of social contract which only becomes practical when enforced by a government.
> This is exactly what not should happen when investing longterm: Being driven by emotions rather than rational facts.

Putting a limit on one's potential losses is pretty rational, not emotional. Models are not perfect, and you do not want to find yourself with high paper losses when they fail.

Of course, if your models don't work well together with stop-loss limits, then that's a problem.
> If Uber or Lyft have to own their own fleet

Uber already owns thousands of cars in Singapore.
No, getting names right is incredibly simple. It's a single unicode `name` field, stored however your language/db stores unicode. E.g.:

name: [person's name]

No minimum lengths (other than != 0) and a reasonably large maximum length for your db (only to protect against DoS attacks). Accept all input (into properly prepared SQL statements).
In Java regexps, the dot matches a code point or an unpaired surrogate, so if you have a proper surrogate pair, the dot matches the whole pair without splitting it. It does split grapheme clusters.

It's unclear to me what you mean by "Java Characters". A Java char is a UTF-16 code unit, and the java.lang.Character boxes a char (16 bits unsigned). However, since Java 5, java.lang.Character has static methods for astral-aware UTF-16 operations where a code point is a Java int (32 bits signed).
16 Free SVG User Avatars || Codesmite