skysight-inc/HackerNews huggingface dataset:
Isn't the cost of living there (eating) cheaper than in San Francisco ?

I am from Austria (Western Europe) and have been in Istanbul some weeks ago. If you are not going to eat at tourist traps I had the feeling that eating was cheaper than in Austria.

Buying clothes and shoes was cheaper than in Austria too - so I guess the cost of living there is less than in Austria.

Beer and alcohol is / can be pretty expensive - but other than that I thoughts it is pretty cheap there (as a tourist)
Sharing a common subset does not make them "fundamentally the same language".
I can tell you the justifications I've heard. They include

- it's a sort of insurance, in case things go sour and the US needs to rescue its citizens from a war zone / plague / etc.

- it pays for overseas embassy operations for citizens living overseas, including registration of overseas births and renewal of a passport while overseas

- it's the price to pay for having one of the most widely accepted passports

- Americans living overseas were educated in the US, by the US taxpayers, so they shouldn't have the right to steal all that free education and live somewhere else.

- Paying taxes is quite simply an obligation of citizenship.

None of these (except the last) make sense to me, and feel instead like post-hoc justification. For example, if the first couple were true then we would also be charging overseas tourists for their trips abroad, should they need to be rescued.

For another example, if you are born in the UK, though with a US mother, then by US law you are a US citizen, and consequently are subject to US taxes - even if you have never stepped foot in the US. Yet the UK passport is more widely accepted (visa-free) than the US passport, and the US paid for none of your education.

(Should someone in that not-that-hypothetical case want to get rid of US citizenship, the renunciation fee is currently $2350, and likely subject to an exit tax unless that person had been reporting/paying taxes the previous 5 years.)
Then again, if idiocy sells, it's natural that producers will make idiotic plots a priority

But on the other hand, the phenomenon doesn't seem to have nearly the same effect on a much more commercial platform that films: TV, which is filled to the brim with shows showing teams of cops, medics, etc working hard and unbelievably competently to "save the day" again and again.
Hang on - you are coming from Python and complaining about the lack of generics?

Why? Go types (without generics) are much stronger than in Python aren't they?
Three so amazing tech startups to try even today
HN is very SV focused

I refer to it as "Silicon Valley News"
Who wants to be hired?
Location: Hyderabad, India
Remote: Yes
Willing to relocate: Yes if the offer is good
Technologies: a seasoned data warehousing and business intelligence person. Have got extensive experience on open source BI technologies like jaspersoft, pentaho. Have also developed my own proprietary BI tool. On the ETL side have got extensive experience on talend and pentaho data integrator. Implementations includes different sectors like energy, healthcare, insurance, human resource, NGO etc.
Exp on different databases like sql lite, mysql, postgress, infinidb, DB2, mongodb. Coding language exposure includes html, php, javascripting. Framework exp includes liferay and zend framework.

Email: niki.tiwari@gmail.com
Apple has taken a shot against Google and facebook. It has mentioned that unlike its competitors their business model does not depend on selling user data. Which is kind of true, but Google and facebook's business model itself is using user data for marketing.

Sometimes I feel it's not unethical to use user's data for marketing, the way facebook and Google tell us; that they don't directly share details with marketers, but they let them target the audience.
Good point. I keep forgetting how bad it really is in the USA.
I generally find that using tuples of booleans this way is (sometimes) blurring the intent. Indeed, not only you have to keep in mind which boolean value correspond to which variable, but you also have to not forget what's the meaning of true and false here.

So what about the following?:

match (width, margin_left, margin_right) {
(auto, _, _) => { ... }
(_, auto, auto) => { ... }
(_, auto, _) => { ... }
(_, _, auto) => { ... }
(_, _, _) => { ... }
}

Now that I write this, I can understand this style is trickier as the order here is critical.
The "debate" between `match` and `if` reminds me of the same one that exists in Erlang, where I saw people more often use `case of` with booleans instead of `if`.

Moreover, is there any performance issue with matching auto for every tuple?
I understand this does nothing to stop the NSA from snooping on me. However, the local / state police are a much more imminent threat to your average person with the rise of the police state than the NSA and FBI are. The local police are becoming ever more aggressive when it comes to your privacy and devices like your phone.

If this turns out to be as good of a move as it seems like it is, Apple has acquired my attention in a way they weren't able to previously (I've been an Android user from day one). Plus I like the new larger iPhone 6.
Mysteries and Puzzles Behind the CryptoNote Technology Part 1
A scientist stole my cocaine! That's right, they thought it made Coca Cola addictive! Good thing they removed it. Not remotely addictive any more.
A Ring That Lets You Control Pretty Much Anything by Writing in the Air
Bundaberg sarsaparilla is the same formulation as the root beer, not the ginger beer (http://www.bundaberg.com/info/product_range/sarsaparilla)
Mysteries and Puzzles Behind the CryptoNote Technology Part 2
Is this still the case in iOS 8? I know it was the case previously, but has anything changed in iOS 8 to prevent apple from just brute forcing the 9999 combinations with a mounted flash drive?
> In Ada's case, the high cost of development systems

Not necessarily.

http://www.adacore.com/press/gnat-gpl-for-bare-board-arm/

Look also for the book "Building Parallel, Embedded, and Real-Time Applications with Ada" by McCormick, Singhoff and Hugues.

Some prominent embedded engineers wonder why Ada is not used much more:

http://www.embedded.com/electronics-blogs/break-points/40082...

> Rise of UNIX use in the enterprise

Ada is available for Windows, Linux, OSX and ARM. GNAT/GCC is part of many Linux distros (usually Ada95). You can also download Ada2012 and Ada2014 compilers and tools from Adacore's website.

> Decline of Pascal based languages.

Ada looks a bit like Pascal but the language is far superior. In my opinion Ada's syntax makes software easier to maintain than C/Java like syntax. Even after years I have no problem to read into Ada code. C++ code can be difficult to read just after a short time.

I think the real reason of Ada's decline is that it requires a lot of discipline of the developer. The same kind of discipline is required in Haskell. You cannot just sit down and code. You have to think a lot about your design before you hit the first key. Most developers don't like this, they want quick (and dirty) solutions, and they get it with C and C++.
What's Amazon's grip against physical buttons? Out of the whole range, I still like Kindle 3's page-turning buttons the most.
Are you being ironic? I guess it wouldn't overly bother the OP, considering he's switching from python, where "the designers of the language forced their mind-your-indentation religion on everyone blah blah blah".
The problem is that local police are getting increasingly aggressive about abusing your privacy, and seeking access to your devices during the course of routine stops and searches.

Legally there is a combination of abuse and grey area right now, and it's going to get worse near term.

Those government information requests don't cover how many times an officer at the local or state level has accessed someone's phone either illegally or questionably legally.

This move by Apple can help to blunt that effort by the local police.
The Kea of New Zealand are similarly intelligent. Some of the stuff they can do is fascinating.

Obligatory David Attenborough documentary on them:
https://www.youtube.com/watch?v=oAhzmULgoqI (the 'full' one has screwed-up framing)
You're not limited to 4 digits. In fact, when you set up Touch ID, the phone prompts you to enter a longer text-based passcode on the basis that you shouldn't have to enter it often.
So here we have the end of the line for people who want to control others: folks who have broken the rules and need to be isolated. The state can control literally every aspect of their lives: where they live, what they eat, who they associate with, and so on.

Guess what? There's still crime, gangs, an informal government, and an economy. And you either kill them all (as one person in the article said, a bullet to the back of the head does wonders for behavior) or you allow it to happen.

I know there's the usual "America is a police state!" response to this article, and sure enough, we have created a security state, but more fascinating to me was the complex self-governing structures these inmates have set up -- which is exactly why the economist was studying them.

There's a huge academic and political debate that this ties into. For instance, do governments create markets and money? From the data presented in the article, no. They might dictate the terms of markets, to a small degree, but they're just a bit player. Can more laws eliminate crime? No. At some point, even when you have total control over each and every person, crime still happens. I don't know where the curve is, but there is a power curve at work, and you can reach the point of diminishing returns. It made more sense for the corrections officers to allow the gang activity that to continue to try to fight it.

Fascinating stuff, and of course this article is nowhere near authoritative. Still, I'd love to hear more about research in this area.
VMs behave very different from real hardware. VMs are convenient have some very nice features, e.g. GDB debugging with QEMU. But if you're doing anything with hardware, you'll have to test on real hardware or everything will break the moment you do.
The day Amazon adds epub support for the Kindles is probably the day they give up on the Kindles. Given their business model, it makes lot of sense not to support epubs.

The only options you have is using Calibre (which I don't because I don't like toxic developers and ugly UI/code) or using a Jailbreak.

I'm doing the latter and am quite happy with my kerned and hyphenated epubs.
AXIOM Beta: The first open digital cinema camera Crowd Funding campaign launched
> Not if they designed it properly.

You can (and always should) design encryption code without having a single root key. Entirely open sourcing that code should not make any difference to the security of the encrypted data.
I'm not sure YouTube or dl.google.com qualify as "toy or small services", nor the handful of other relatively large businesses building on top of Go (CloudFlare, Iron.io, etc).
It's between 0-250. Tim Cook confirmed it on the Charlie Rose interview on Monday.
For some reason github automatically blocked my profile. I have contacted them and currently waiting for it to be resolved.

In the meantime I have uploaded a backup to http://mateogianolio.com/grid.css/
On Gruber, Apple Watch, and Fanboyisms
CoinJar pioneers Australia’s first Bitcoin EFTPOS card
Hopefully he'll continue to add to it!

The PDF has a version # in the file name -- text.v1.0.1.pdf -- so your hope may well not be in vain :-)
You also get the one the majority didn't vote for, since it's more or less indistinguishable from the one they did vote for.
The government has your fingerprint.
It is gone from the 2014 report: https://www.apple.com/privacy/docs/government-information-re...
F#-inspired “with” updates for immutable classes in the current version of C#
homeless people commiting crime only to get a roof over their head, and food is already a thing. Such a sad society we live in.
Ah, the good old security through obscurity technique!
Amazon Unveils High-End Kindle Reader and Low-Price 6-Inch Tablet
Larry Page wants a Google 2.0 that will build cities and airports, report says
Study suggests that killing among chimpanzees results from normal competition
Attacking Each Other Among the Military
To what extent is this driven by the rise of youth culture and and the rising market value of adolescent consumers?
I too spend a lot of time in Germany and with german contacts over the net. Most of the techie contacts I have through work understands english fine and also write and speak good english. The people I meet socially and in stores are a completely different topic. They have no reason to learn english because they have no contact what so ever with the language.

Ten years ago you would be hard pressed to find youth that would speak english but because of internet I guess that has changed. I don't have so much contact with people below 25 any more.

I assume this is also very different depending on area and your social level in society :-)
I wouldn't hold my breath for better typography. You'll notice that the default Kindle font is designed so that it looks in absence of kerning.

The Kindles are using internally the freetype library but it is a crippled version. Some fonts make it crash and kerning is apparently compiled out.

That's why the Jailbreak community is distributing their own version of it because otherwise the various jailbreak ereader wouldn't work properly.
no need of netcat: tar c . | ssh user@host tar x -C destdir
On the plus side, it did take a stab at what algorithms he knew, too.
"...Hence the Iron Rule: Society never works. Along with its corollary: Everyone is stupid..."

Yes, if you are 12, and you need some simplistic way of looking at things. Since most entertainment is actually written for teenagers, if you had to paint with a super-broad brush this would be accurate.

More accurate, however is "Institutions are always sub-optimized, people who are much smarter than you live and thrive in these institutions and do sub-optimal things for good reason, and it's the distributed, self-optimizing facile, and overly self-confident nature of the critical individual, which the author seems to deplore, that gives us increases in efficiencies and the re-factoring necessary to continue evolving."

100 guys think the system sucks, that they are smart and society is full of idiots. 99 are wrong. The other guy is still no smarter than the rest of us, but he just came up with the next thing we need to continue moving forward as a species.

Western society has made a call on this: smart people in large groups do dumb things. It's our job to continue to be suspicious and point them out. In fact, the system depends on it.
Use privoxy as an ad blocking proxy for your iPad

http://www.privoxy.org/
Free Touch Friendly Button Designs
30 Creative Butterfly Logo Design Examples for Inspiration
Is this an actual change as confirmed by Apple or just something that this journalist (mis)read from the updated privacy guidelines?
Pay them, prep them, involve them – a guide to working with freelancers
I'm the opposite, I can't really imagine needing the light very often. A Kindle without a light should be about as readable as a book without a built-in light, and I rarely find myself in a situation where I can't read a book for lack of light.

It might be useful if I'm out camping or if I share a hotel room with someone who wants to sleep while I read, but most of the time I have a light source available.
I am a bit surprised that there is no explicit declaration that they don't have user's passcode.

It should be obvious, but I think it should also be stated in a way that makes it a lie if it's later discovered that left some way to access or keep the passcodes.
Direct link to sat view:

https://www.google.com/maps/place/Namibia/@-24.9646371,15.93...
I agree but you can do that in any language. That's more a reflection of the programmer than the language.
So you choose Erlang then for highly reliable and available network applications?
This is basically "I disagree with him, and wish he'd tone down his opinion piece. His lack of hedging words makes his article too powerful, and I wish I had the same effect on my audience".

That's neither insightful, nor contributing anything to the Apple Watch debate itself. It's just meta-attacking.

Aside: "You should read back your articles before publishing them, Mr. Gruber" certainly applies to the author, as well. I know he's not a native speaker, but a quick spelling check is easily done by software.
Ah-ha, Adblock was to blame!
I guess the logic is "they are criminal. They do not deserve any of it"
Here's an observation, and an idea for testing Apple's claims on iMessage privacy:

China seems quite determined to block IM systems which do not cooperate with the authorities and permit monitoring of communications. Most recently, both Line and the Korean KakaoTalk were blocked [1].

Skype remains useable in China, presumably because Skype permits efficient monitoring [2].

It seems unlikely that China would tolerate such a prominent opaque communications channel as iMessage in the hands of a significant proportion of their citizens.

Thus, if China refrains from blocking iMessage for a prolonged period of time, wouldn't it be reasonable to assume that China is in fact able to snoop on iMessage?

[1] http://www.ibtimes.com/china-restricts-messaging-apps-confir...

[2] http://www.reuters.com/article/2012/01/31/us-china-dissident...
Pretty familiar with Emacs, nrepl etc. Just a question of having enough time to familiarize myself with the ins and outs for any given new variety.

I actually did the ClojureScript tuts via LightTable, which was slightly less complex than the alternatives, but still required a bit of fussing.

(Incidentally, modifying my emacs setup in order to work on a project is the very definition of "incidental complexity".)
True, a music video using the Web Audio API
I think if Wikipedia were ever put up for sale the industry would give it a valuation appropriate to its impact.

In my book Twitter was never creating value and that's part of why they've never been profitable; I've been bearish on Twitter from day 1. But maybe I'm just being old and grouchy.
What's keeping government agencies from putting keylogging code on the SIM card or baseband processor (whichever has the best access to host cpu/memory) via the carriers to obtain the passcode? Not much I guess.

Has Apple publicly claimed that they will also refuse to push individualized compromising code updates to devices on demand by gov't authorities?
I've owned every model of the Kindle (minus the comically large DX)

Funny, I would buy something like the DX ("like", as in price and battery life) for reading PDFs of the textbooks, magazines, journal articles, and so on, that are my ordinary reading material, if the screen weren't so comically small.
No way to be sure - but, the profit motive is pretty good. Apple is going all in on Privacy as the basis for their $500B+ business model.
interestingly, Kindle Voyager and Kindle Kids don't seem to be available on all national amazons, I wonder why.
And yet, event management in Facebook sucks.
It's just where all the events are posted.

Facebook isn't good at events because of event management. It's just because they aggregate all events.

I consistently get invited to events in: New York, Montreal, San Francisco, Buenos Aires, London, and Berlin. This is by choice: If I visit one of those cities, I want to know what to do. But why can't I filter my events view so that I only see events nearby? Why do I have to have a clogged events feedback, because I want to know what's happening if I travel and don't want to hide invites certain event producers?

(Also, event sharing features suck, if you're promoting an event. You have to use Javascript hacks to share, and only then you can share with everyone in one of your top two or three cities.)
A great testimonial
You might want to post this in https://news.ycombinator.com/item?id=8252715

All the best!
> Yeah my example for copy elision sucked, but that doesn't mean it cannot play in favor when you work by value.

Not just sucked; it was entirely wrong. Copy elision is not related to std::string vs. string_view. Even with copy elision turned up to 11, returning a std::string will be more expensive than a string_view.

> How do you store that? You need at least one pointer and and an int or two pointers. That 16 bytes. Memcpy for a couple of bytes is very quick when it's stack to stack thanks to page locality.

I was very careful to cover exactly this in my comment.

Computing the memcpy is strictly more work than creating a string_view, since you need the information that is stored in a string view (i.e. pointer and length) to call memcpy.

Furthermore, the 'stack string' is actually stored contained inside a std::string value, which is larger than 16 bytes. There is no way that returning a string_view causes higher memory use at the call site than returning a std::string. (If you're complaining that it forces old strings to be kept around, well, you can always copy a string_view to a new std::string if you need to, i.e. a string_view can do the expensive 'upgrade' option on demand.)

Here's the quote from my comment above:

> a small string copied on to the stack will be part of the string struct, which is at least 3 * 8 = 24 bytes: a pointer, the length and the capacity. Also, a memcpy out of the original string is always going to be more expensive than just getting the pointer/length (or pair of pointers) for a string_view, since the memcpy has to do this anyway.

> Also, if you are using pointers you will have aliasing issues which will have an impact on performance. If you work by values you allow the compiler to optimize things better.

You do realise that a std::string contains pointers and so on inside it? Furthermore, the small string optimisation (copying to the stack) means every data access to a std::string includes an extra branch.

> For small strings string view are just dumb and "most of the time" strings are very small.

So instead of just having a cheap reference into a string you're happy with the overhead of a function call (memcpy) and a pile of dynamic branches? I wouldn't be surprised if the branches are the major performance burden for std::string-based code that is processing a pile of substrings of some parent string. In this case, the data from the string_views will normally be in cache anyway (i.e. it will've been recently read by the function that decides who to slice into the string_view).

> To give a better example of why working a string view is both a bad idea and dangerous, it's as if you said "I don't want to copy this vector, therefore I will work on iterators". That's obviously a bad idea.

It's not obviously bad to me. In fact, it seems very reasonable to work with iterators rather than copying vectors (isn't that exactly what the algorithm header does?).

If your problem is that it is unsafe and hard to avoid dangling pointers etc, that's just a fundamental problem of C++ and is unavoidable in that language. One fix would be to use Rust; it handles iterators and string_views safely.
Hövding – airbag for cyclists
40 page guide to modern autodidactism
The title for the article is wrong:

"Three so amazing Bulgarian tech startups to try even today"
Herbal Sage Tea company sells Sassafras Tea if you are curious in trying some. It is pretty good (IMO), it tastes like unsweetened root beer ... http://www.herbalsage.com/proddetail.php?prod=SassafrassRoot
Highlights from the Newly Declassified FISCR Documents [by Yahoo's Lawyers]