skysight-inc/HackerNews huggingface dataset:
Ask HN: How have you been affected by the recent border ban?
Now that word has reached out that green card holders are affected by the executive order banning entry into the United States from seven Muslim-majority countries (https://www.newsmax.com/Newsfront/Green-Card-Trump-Executive-Orders/2017/01/28/id/770865/), I'm curious to hear stories that have arisen because of this ban. I get the sense that there is a much greater effect on the technology sector than the media is currently portraying: families being split apart, companies losing key employees/founders to limbo etc.

I am not affected by the ban, but wanted to give those in tech or those part of the larger discussion here who are affected by it a forum because I'm curious how deep it goes, and how this community could help.
This doesn't run MacOS without some hackingtosh stuff, does it? Or did he switch to Windows with it?
Well, no.

Production in Germany (~30% renewable, ~20% nuclear) or France (~85% nuclear) or Norway (~100% renewable) is far better for the environment than in the US (~3% nuclear and renewable combined).

Additionally, you can’t produce everything in every country – so producing as much as possible at one place and then shipping it out will be better.
Yes. The Third Edition came out last year, after a delay of about 20 years, and now they're up to date. This matters, because they mention lots of specific part numbers.

Horowitz and Hill haven't accepted that everything is surface mount now. Read their chapter on soldering, where they whine about surface mount, instead of telling you how to do it. There are lots of surface mount soldering videos, most of which are by people who have much better than average tweezer dexterity.
Krebs has a post on this as well:

https://krebsonsecurity.com/2017/01/atm-shimmers-target-chip...

“The only way for this attack to be successful is if a [bank card] issuer neglects to check the CVV when authorizing a transaction,”
I would suggest Clojure to reuse code across the backend, web (ClojureScript) and mobile (w/ React native). That can help with time to market.
Probably cable Netflix Amazon etc
Related:

"According to a study completed by a team at the Illinois Institute of Technology, typical desktop 3D printers emit particles and compounds during printing that federal agencies say could cause cancer or other ailments."

http://www.chicagotribune.com/bluesky/originals/ct-3d-printe...
On this and wider issues..., influential people are standing up and speaking out....for the long run, e.g., https://stactivist.com/2017/01/28/doing-it-for-the-right-rea...
What is the most efficient?

What is the most reliable for NAT traversal for all of the various implementations?
It's the management, not the product managers, designers or engineers.

With the management led by a logistics/operations man, you end up with products that are UNinspired.

It's a pity Mr. Jobs picked Mr. Cooks to be the successor.
To an extent. One of the memes often repeated at Carnegie Mellon University was (and still is) "Sleep is temporary. GPA is forever."

This causes problems. https://thetartan.org/2012/12/3/forum/mentalhealth
How does application-level deduplication compare to ZFS deduplication?
Download Best Beat Making Software for Beginners to Produce Rap
The happy mask: Carnegie Mellon must address stress culture (2012)
I don't get this:

If two systems (one with the index, another with the file) need to communicate in order for an email to be deleted, why would you need a random number in order to track email deletion in case of error? Wouldn't make more sense to decrement the index only once the file deletion was successfull?
So it was a common occurrence that you would fill a full glass of soda and dump half of it in the sink?
This has been bugging me for days...trying to figure out how you knew to go down, right, left, etc. I finally figured it out.

Start at the end. That's a 9. The only way that we could have landed on that 9 is either moving down or right. So, look at each number on that path and see which one would have got us there. There is an 8 that is 8 squares above 9, so that's the second last number. Now, how did we land on the 8? There is a 1 that is one square to the left, so the next number is 1. And so on.
I've noticed the same thing. I would guess it happens because most of the authors of these resources work in academia, and "practical" might mean different things to a researcher versus an engineer.
The Knuth version goes on:

"Yet we should not pass up our opportunities in that critical 3%. A good programmer will not be lulled into complacency by such reasoning, he will be wise to look carefully at the critical code; but only after that code has been identified."

Above the famous quote:

"The conventional wisdom shared by many of today's software engineers calls for ignoring efficiency in the small; but I believe this is simply an overreaction to the abuses they see being practiced by penny- wise-and-pound-foolish programmers, who can't debug or maintain their "optimized" programs. In established engineering disciplines a 12% improvement, easily obtained, is never considered marginal; and I believe the same viewpoint should prevail in software engineering. Of course I wouldn't bother making such optimizations on a one-shot job, but when it's a question of preparing quality programs, I don't want to restrict myself to tools that deny me such efficiencies."

All this from "Structured Programming with Goto Statements"[1], which is an advocacy piece for optimization. And as I've written before, we as an industry typically squander many orders of magnitude of performance. An iPhone has significantly more CPU horsepower than a Cray 1 supercomputer, yet we actually think it's OK that programs have problems when their data-sets increase to over a hundred small entries (notes/tasks/etc.).

Anyway, I write a lot more about this in my upcoming book: "iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift"[2]

[1] http://sbel.wisc.edu/Courses/ME964/Literature/knuthProgrammi...

[2] https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv...
That's a fair point about map being constrained in the top-level structure of what it returns, but what map actually does depends on the function that is being mapped, and includes the possibility of more than one operation at a time - and if your language allows side-effects it can do that too. The point is that you have to look at the 'blah, blah, blah' to know what is happening (actually, the point of my original post is about extravagant claims of what simple examples demonstrate...)
A collected list of awesome security talks (2014, 2015, 2016 and starting 2017)
This is effectively the same physical setup as Steve Mann's eyetap developed long ago, with some changes in lensing.

http://www.eyetap.org/research/eyetap.html
Pure html/css can't do everything javascript can. You can't have it both ways.
Airbnb is a YC company. Uber is not.
The "preview" function on Google Play Books has saved me a lot of money. I now add things to my library on impulse and only buy them if I reach the end of the preview, which is a very effective mechanism for separating the aspirational reads from the real ones.
> To me being creditworthy meant not to have debt.

To a lender being creditworthy means having a history of managing debt correctly.
What's fake is your equivalency of the two sides. Your accusing others of being obtuse is the richest fakeness of them all.
I don't believe you can - it's all soldered on. Like the new Macbook Pros, it's designed to be impossible to upgrade.
I think generally tutorial is a broader term than you're refering to. I've never really thought about it, but the first "php tutorials" and "javascript tutorials" I ever looked at were tutorials, so were the instructor-led practical machine learning classes at university.

Wikipedia says "A tutorial can be taken in many forms, ranging from a set of instructions to complete a task to an interactive problem solving session (usually in academia)." - which seems to encompass everything from online tutorial explanations, to online video courses, to academia itself. That matches my experience with tutorials anyway.
>when you include millions of employees

Although it's good that people are getting by with a job, exploitation is still present.

>without them computers would still by a hobby

Many people wish they were, this seems like a matter of taste.

The fact is that IP law necessarily requires censorship, and many people, including myself, do not view that as a positive thing, no matter what the cost is. It's a matter of principle; why is suddenly censorship OK when it's in law? Because we're all used to it? Because there wouldn't be 'innovation' without it? My value system throws out all these excuses - I think it is wrong, full stop. So I do not obey IP law.

Others may have different opinions, but I do not support it.

So let's look at your "net positive" of these companies: worker exploitation on a massive scale, including sweatshop labour and horrid production lines in developing countries, censorship, and not being afforded our software freedoms. But don't worry about that - there's plenty of innovation going on.
Free Tutorial: Pure JavaScript – Building a Real-World Application from Scratch
The other day I bought a backpack at a skateboard shop and a girl working there said she didn't own a laptop -- just a smartphone. I can absolutely see this becoming common in the near future as phones become even more useful. With a chromecast you can even watch netflix without a laptop, which takes away the main use I have for one aside from coding.
4.2B red envelopes sent online in 24 hours on wechat for chinese new year
Because a method on an integer object would mean it works in the same way as all library and application code; and therefore can be used as-is, or avoided by those who don't want it, or replaced if something better comes along.

Having "for" not be a method on an object means it's something completely different: a magical keyword control structure, a gift from the irreproachable language designers to the lowly language users; since mere users cannot be trusted to make such decisions for themselves.
What kind of social fabric do these countries have? What's the crime rate? The US being a very diverse and relatively high crime country makes such acts difficult.
> Last but not least Google has a super bad reputation when it comes to people's privacy

Citation needed. Google has a pretty high reputation for privacy. They implement almost all industry best practices.
Yeah a books section would be nice. I must admit that "The Art of Electronics" is was so obvious that I didn't even think of it. That's the trouble with trying to get into the beginners mind set I suppose.

Do people have any other book recommendations we could fill the section with?
What an unbelievably stupid thing to say. Traitors from war-torn, corrupt and authoritarian countries become traitors by risking their (and their families) lives to fight for the right values not because they are cheaters! The countries that are built on these values should support them as much as they can.
Several possibilities come to mind:

1. Laws are administered by judges who might have a different approach to interpretation than random HN commenters.

2. Openly flaunting the law might give more bad publicity that it would be worth.

3. There is practically zero market pressure to offer free refills, but not offering free refills is a potential goldmine.
Relevant Parks and Rec. http://www.dailymotion.com/video/x2oq3zt

In the show, citizens are pissed because Leslie, the politician lady, decides to tax oversized sodas.

Maybe people don't deserve the "liberty" to drink gallons of sugar. And maybe companies don't deserve to offer it to people.
I wrote a similar library -BlitzDB- a while ago:

https://github.com/adewes/blitzdb

It's a pure Python database engine with a MongoDB-like query engine and support for three different backends: File (native), SQL (via SQLAlchemy) and MongoDB.

The library transparently translates a large number of MongoDB queries into SQL or its own native storage backend, and when using the SQL backend it can do things that MongoDB can't, like queries spanning multiple relationships.

The latest version is not fully documented yet but I'm using it on several production projects myself. I'm looking for a maintainer and contributors btw, so if you're interested feel free to get in touch with me!
It is also used for sharing plenty of free, large software too --- many Linux distros are available from torrents, for example.
Don't forget that FTP also lets you connect two servers together with the data connection going between them, so can transfer a file from one server to another without downloading it. (http://www.proftpd.org/docs/howto/FXP.html)

Of course this awesome ability was exploited by hackers (the FTP Bounce Attack: https://www.cert.org/historical/advisories/CA-1997-27.cfm - and they say that inventing fancy names for attacks is a new thing). This is why we can't have nice things :-)
This situation in general, inc. these stories, point to wider global issues that should matter to all of us regardless of nationality...
Looks pretty impressive at first glance, but it seems that most of its features come from dependencies such as PouchDB, RxJS, JSON Schema, crypto-js, and more. The built version is 1.3 MB, minified file is 520 KB, or 140 KB gzipped.

I found the "key compression" feature to be an amusing micro-optimization. It truncates names of keys, making DB migrations tricky. There are better ways to save more bytes, namely by using an actual compression algorithm.
You are right. I completely forgot about ADA and representative clauses. I remember reading that representative clauses mapping to register fields. And to be fair, basic and pascal also can be used for bare metal stuff.
Does it? For there to be a proof of any kind, you'd have to see what impact the ban is going to have, surely?
> Cyanowhatever

Sadly it's too late for Cyanogenmod. http://lifehacker.com/cyanogenmod-is-dead-and-its-successor-...
> map() tells the reader one sequence is going to be transformed...

Except in this case it wasn't actually a sequence, but an Optional/Either and it wasn't about transforming that sequence but about error handling. So in a way the code wasn't even not intention-revealing, it was actually deceptive.
Note that the question was asked around 5-8 AM in the continental US on a Saturday morning, so early responses were likely to come from abroad. Like many others here, I'm an American who lives abroad. There are a lot of reasons for this, but part of it was concern about the direction the US has been taking in the last 16 years.

I'm horrified and terrified of what this government holds for the future. It seems like the US is quickly abdicating its role as guarantor of peace (flawed as it was in that role's execution) and I worry deeply about the possibility of a divided and poorly-armed Europe being overrun by Russian influence or the Russian military. In addition, there is a terrible human cost to GOP policies with regards to healthcare, the environment, and of course telling Iraqis who put their lives on the line for the US that they can just go home and get murdered.

I worry that Trump's bluster about voter fraud has less to do with his injured pride at losing the popular vote and more to do with claiming reason to annul any GOP failures in the 2018 or 2020 elections. I can imagine a GOP supreme court, GOP congress, and military with GOP sympathies might be willing to go along with it.

The world's democracies, under both conservative and liberal leadership, have been too willing to infringe on their people's privacy, and I wonder where this goes if you extrapolate the trend over the next decade or two. The closest thing we have to a leader of the free world is Angela Merkel, and she's suffered politically for her policies.
Firstly: I've administered and designed large CI/CD real world installations for what would be single project scope at Google and those efforts are challenging enough for me.

The book was informative as it contains true to
life episodes in a huge (and formative) devops
environment.
But ,in general, there was nothing that I took away from
the Google SRE 'way'...except that I have no desire to
work in a huge and hugely rigorous devops environment
like the one at Google (though I see it's necessity
at that scale).

Under the guise of being creative and solving unique problems you eventually drill down to the reality of a pseudo-religious approach to building,maintaining and administering rapidly changing large systems.

I'd argue that the truly valuable parts of the book
for most folks are snippets on the evolution of Google infra, component reuse, design philosophy and lessons learned. These are valuable for any size environment doing any sort of computing.
Its exactly what i was expecting, but i've been looking at projects like https://github.com/ngrx/db lately. Maybe the title should say IndexedDB somewhere.

Server side rxjs db... I'm not sure what that would be.
Don't see it. Is there generation amount based on perfect conditions because its quite possible the majority of the car would not have exposure all at once.
Mon+gros+poussin+by+Frederic+Thomas+
The real 'Calexit': 21 counties have filed to secede from California (2016)
Five is ok, if there's a place meant to be the bike parking place.

If not, that's five bikes locked up to poles and street signals. What about a hundred?
That's pretty much what we provide at Runnable (Full-stack environments for every branch). Every time you create a branch, we create a new environment for you that anyone on the team can access. Definitely helps to be able to play around with the real app! Every time you push a new commit, we update your environment.

Check it out: https://runnable.com/ or contact me if you have any questions.
That's exactly what they're not doing, and I dunno why everyone thinks they will.. maybe because that's what msft is doing?

Apple repeatedly said their laptop/desktop/macos variants will remain for hardcore users who need that freedom, while ios is for users who want simplicity.
FTP invented in either 1971 or 1985 depending on whether you think RFC 114 or RFC 959 best describes the basic protocol.

Simple packet-filtering firewalls invented in 1988.

In addition you can force passive mode and confine FTP to a range of ports on just about every server and client out there. So your statement that FTP "flat out does not work" is untrue, unless you mean that your firewall is so much default-deny that you cannot even open incoming ports.

However, while it makes me a bit sad, I have to agree that there are better, simpler and more secure protocols now for downloading files. HTTP/2 in particular.
Unlike skimmers, a shimmer — named for its slim profile — fits inside a card reader...

So shouldn't it be called a sLimmer?
I'm having a surprising amount of trouble finding this information online: does the "chip" include some functionality (maybe called iCVV or dCVV) that allows it to individually "sign" transactions using internal secret keys, or does it not? This was my understanding of why the new system was supposed to be safer.

If the answer is yes, secret keys that never leave the chip are used to sign each transaction and the signature is verified by the bank, I'm not sure how these "shimmers" would be useful, since the secret key would presumably not be compromised and so the shimmer may obtain some data identifying the card and transaction but not the ability to sign new transactions. If the answer is no, none of this is happening, then I'm not sure what the point of the switch was in the first place.

Maybe the answer is something in between? Banks suck, so they've implemented chip cards in a half-assed way with gaping security holes?
The main thing I'm having troubles getting used to is the configuration being part of the compilation phase. In a world where so many applications are deployed in AWS and URL/ports/etc are not necessarily known at compile time it makes no sense to me.

You end up having to use tools such as Distillery and Conform in tandem just to be able to configure your app at runtime.

Another thing that worries me a bit is how such a large part of the community comes from Ruby. I wish it was a little more balanced with more diversity in regards to people's background.

Other than that, it is a great language, and I'm having a lot of fun with it :)
I wrote a proprietary app in Lisp (using Clozure Common Lisp) for Windows. In the licensing code, I needed to get the list of network adapters and also the volume ID of the installation drive. It was easy to call the Win32 functions directly. Note that enumerating the adapters requires walking linked list of C structures returned by the GetAdaptersInfo function (to which you have to specify an allocated memory buffer where that list will be stored.) I did that all in Lisp; not a line of C.
Google recalls all overseas employees over Trump
These are the world's 10 biggest corporate giants
DIY Pallet Desk
The Nanny State™ also puts age restrictions on alcohol and tobacco.

Excessive sugar consumption is a huge problem for our society. Much more so than statistically insignificant stuff like terrorism.

If there is something which has a massive negative impact of huge parts of the population, the state is supposed to do something about it.

The US gov also wanted to do something about this several times in the past, but the US food industry is just too powerful and influential.
While not addressing the drawbacks per se, I enjoyed reading this in depth comparison between Elixir and Go from an internal language perspective. https://blog.codeship.com/comparing-elixir-go/
Has anyone tried to test test how different kinds of prejudges affect these games?

I'm thinking about same game setting, except that players are asked to give their mugshot and real or fake mugshots of males, females, people different ethnicity, looks and ages are shown to them.
:)

Getting further off topic, the only other piece of hardware I know of where they bother is the Playstation. The XBoxes use ugly power bricks, just like the Wintel boxes.
The scenario they wanted to handle is not a failing deletion request, but multiple requests caused by deleting one e-mail. This can happen if the index DB thinks the request failed and retries it, while it actually went through on the file DB side.

This would cause the file to be removed too early, as the counter would be decremented more than it should be.

That said, this magic number solution sounds pretty fidgety - preventing the index DB from retrying deletion requests would be enough to achieve the same effect (some unnecessary files kept, but no erroneous deletions).
Machine Learning Is Going to Revolutionize Content Discovery
For the price of integrating the panels into the car you could setup 10x as many panels on a stationary rig. A portable folding rig kept in the trunk is probably a better solution. It could at least be positioned for maximum exposure without trying to angle the entire car. (I predict accidents as people attempt to tilt these things.)
Ask HN: Which is the more common term: bus factor or truck factor?
Statistical Deobfuscation for Android APKs
They realized they're mostly storing multiple copies of spam.
Fool Me Twice…
Or the Netflix app on their smart TV, things like that will only get more common.
Unclear what a "laser 3D printer" means--possibly selective laser sintering, but that doesn't produce carbon monoxide to my knowledge. Possibly a homegrown machine. Tragic reminder of the importance of proper workspaces.
Ada isn't a dynamic language, so it doesn't really apply here; you don't get to use it in the ways like Forth; like having a boot ROM with an Ada REPL (laugh).

Of course there are other systems programming "monolithic executable" programming languages that allow straightforward access to memory mapped hardware registers.