skysight-inc/HackerNews huggingface dataset:
You can debug from the host or from another container using `--pid=container:id` which puts you in the process namespace of a running container.

Build time is important, if you can use build layer cacheing it helps a lot, but how to structure it depends on your project. I don't myself use Dockerfile.dev, but I do sometimes mount the code into the container to build and run it directly. I think it would definitely help for more blogs and examples of how to do these things, as there is a lot of room for improvement.
Sorry for sounding naive but isn't UCB a private company? I hate to say but "this is why we can't have nice things". We are trying to move into an age of more digital education, but if there are a bunch of hoops to jump through in order to even attempt it, won't the barrier to trying be too high for some institutions?
http://www.cnbc.com/2016/07/07/theres-a-little-known-eu-rule...

There's much to be decided still. It's premature in the extreme to make assumptions that there won't be a reasonable solution just because at this point things aren't yet clear.
Really you chose your career only from a profit motive? What are you, a sales person?

I certainly did not chose my profession from a profit motive and neither did most of the people I know. We did what we did because that is what we like or enjoy. Of course practical issues of making a living wage factors in.

I make a high salary now, but that is rather by accident. I just happened to be good in STEM subjects and enjoy math and programming. I didn't pursue it because it was an optimal economic decision.

I can fully relate to Elon Musk. When I try to pick a programming job e.g. I factor in many things such as salary, colleagues, location etc, but actually how useful the product seems is a major factor for me. I am generally willing to sacrifice salary to do something which I feel helps humanity more. E.g. I'd day a pay cut to develop a medical application over a horse betting application.

Of course money isn't irrelevant. If there is just too little money in medical software then I'd suck it up and sell my soul to betting, big oil or whatever ;-)
Botmaking from the ground up
You need to invest some time to understand it before you do anything, outsourcing your decision making to a financial adviser is a poor strategy.
Use Seaweed to Stimulate Your Immune System – Daily Health
This is a free online workshop scheduled for 01 October 2016.

Twitter bot maker and enthusiast Bradley Momberger is taking beginners through the basics of doing amazing automated art and literature through Twitter, without the hard programming or tedious hosting setup. Using Twitter and freely available tools, attendees will set up their own accounts and have three bots up and running by the workshop's end.
That is the wrong answer. The correct answer is Yes.
I was(am?) in the same boat as you. I don't like using other platforms because they don't do exactly what I want. I go through the same decision points while trying to maintain a todo list. I guess that is the drawback of being a developer, you know you can do better(for your usecase) job of developing a great application and eventually, writing a blog or maintaining a todo list becomes an excercise in yak shaving (http://www.dailymotion.com/video/x2est2c_yak-shaving_fun ).

I am trying to get over this habit. Any advice/suggestions would be appreciated.
I sometimes wonder if iOS and OSX will end up merging and Apple notebook, iPhone and iPad hardware becoming more of the same thing, all running on Apple chips and the same appstore.
I am neither a liberal nor a conservative. I'm a libertarian, so I really don't want any of the major U.S. presidential candidates to win.

But some of my political friends in both the right and left have a phrase I was reminded of while reading this article. It's "Vox-splaining"

The idea is that certain news outlets or articles exist based on the premise that those dumb voters! What they really just need is a patient voice to educate them on things. Then they would have correct political opinions. This can lead to really bad journalism where the author spends a lot of time trying to explain something that really doesn't need explaining -- all in an effort to correct misconceptions that nobody really ever had in the first place.

Why do famous people get paid a bazillion bucks to speak? Why, because they're famous, of course! I just plowed through 2,000 words that basically says this in various ways.

Yes, people pay lots of money to be near famous folks. They also pay money for access to famous folks. They pay money to influence famous folks to do things they want. There is no forced choice between these three options, and all can (and probably do) co-exist at the same time in many famous-person speaking engagements.

Every person in a 1,000 person audience probably has a different reason why an expensive speaker is worth it (or not).

My point has nothing directly to do with the Clinton campaign. I'm saying that you can't explain away an appearance of impropriety. We don't need extra education to figure out that sometimes folks pay an Apollo 13 astronaut a lot of money to have him come hang out at their annual civic club meeting. And that education doesn't paint away the glaringly obvious conclusion that when the astronaut shows up, there are all sorts of things that happen with increased access. Even if nothing unethical or illegal happens, in some situations that access doesn't look so good.

So when Bernie asked why anybody would pay that much for a speaker, he was inviting people to come up with various reasons why they would pay that much. This is only logical because after all, the folks buying the speeches and listening to them are doing the same thing. They are asking themselves: how can I make my increased access to this famous person worth it to me? And they all have different answers.

The first rule of ethics is that if it looks bad, it is bad. The reason is because it opens up discussion to people speculating like this -- and this speculation harms the institutions that the famous people represent. I believe the principle is that you are supposed to put the institution you represent above your own desires.
The key idea is to give your articles/essays some structure before publishing them. That structure will generally be a nested form of constructs like arguments/ definitions/ explanations.

I think following two basic things helps:

- Give your article a structure.
- Make it easy for reader to navigate that structure.

It works best when that structure is simple. If it gets much complex, divide it into multiple articles and publish as series/book. If it gets complicated, give it some more thought till it fits into some structure.
The problem is, ssh daemon doesn't know anything about user password. It uses existing libraries to supply login and password in clear form (like Linux PAM) and they check if it's valid. How this check is done, is abstracted too: it could be /etc/shadow file lookup, it could be LDAP request or really anything.

On the other side, it could be possible to create sshd implementation which will use its own user database. But it's probably not convenient.
>As to release cycles: If people won't pay another $300 in 2 years for a watch, no matter how much the internals change, that certainly does put a cap on the consumer enthusiasm for said watch, doesn't it?

Yeah, like it puts at cap at around 2 years for a phone, of around 5 years for a laptop, etc. Reality tends to put caps on things.

You expected people buying new watches every year? Or do you think Apple expected that?
I build base images and tag them with a hash of the packages installed in them (this is quite easy using Alpine Linux, I use sha1sum /lib/apk/db/installed), and then explicitly use those. If a package is upgraded or a new package installed in the base image then the image tag is updated.
this. tried flow, but it's too 'smart' for my iMac to handle. Flow reads all JS files without problems - which killed my iMac after using 6>gb ram. a partial solution was to manually set ignore on some node_modules packages. but still, really slow experience with atom/subl/etc.

Compared to this, typescript is actually dumb enough to require ts definition files to actually parse non-ts (js) files.
How to DRESS DOWN FOR AN EVERYDAY LOOK
ZeroMQ is a messaging layer that runs over numerous network protocols (TCP, UDP, PGM, TIPC,...), as well as inter-process and inter-thread. It provides abstractions (like pub-sub) that work over all these protocols, and it shows the developer the abstraction using a socket-like API.

In practice you build services which are internally composed and scaled using threads and processes, and which talk to each other over plain (unencrypted) protocols, e.g. TCP between boxes, IPC between processes on the same box. And when you need to talk to the outside world you build bridges that can speak any protocol you like, such as HTTP, or ZeroMQ's encrypted TCP protocol (CurveZMQ). From the developer's point of view, it's mostly transparent. Obviously you need security infrastructure, e.g. key/certificate management.

You can build entire ZeroMQ applications using only encrypted TCP and they will run on public infrastructure. You can develop and test the same apps on a laptop. You might run the same code using IPC on a laptop, and CurveZMQ over the Internet.

So though ZeroMQ definitely uses TCP as one of its transport protocols, it's not a replacement for it.

Which means that doing things like asking for the IP address of a peer make no sense. What's the IP address of a thread, or another process on the same box? If you need identity information, you should not use the transport protocol for that.
This article is really about excusing Hillary Clinton isn't it?

By making absurd comparisons to pop-stars who can fill stadiums of paying concert goers.

America really needs to reign in its political class because it risks degenerating into a third-world country where corruption takes a big toll on the wealth of the whole society.

Selling off ambassador's posts for large sum political donations seems to be very well-documented. As is pay-to-play. And yet it seems like American media and populace are just accepting and/or ignoring this.
I agree he isn't that good at delivery but he feels very authentic and that does it for me more than the total fakery I see at e.g. Apple now. I say this because I am a big Apple fan I liked Steve Jobs presentations, but it hurts my ears when everybody at Apple try to sound like Steve Jobs throwing out "Best ever", "Only Apple can do this", "This is the best X we ever built" etc.

Elon Musk never says rubbish like this which feels totally markety. When Elon Musk rants about something it feels more like a geek who is really excited about something, rather than slick market speak.
Ask HN: Trying to Learn Delphi 7
Hello,

I was trying to learn Delphi 7, but I can't find any resources on it for learning. I looked at Mastering Delphi 7, but it appears to be not for beginners, I'm not new to programming I have some experience. Does anybody have any resources I can learn from? I don't mind buying a book.
Yes, 0.99^35 ~= 0.70
I'm a total message queue noob. What are the usecases for them?

I used MQTT but only as a message bus.
Is there any online resume solution (beside running my own website) where I can hide some detailed information behind bullet points (like accordions) and I can track the viewers activity on the page? I am curious whether this kind of information could help me to build a better resume.
see also http://seclists.org/dailydave/2016/q3/51
Obligatory xkcd: https://xkcd.com/792/
Besides, Beyonce or the Beatles are/were either paid to perform shows (in which case, people except a large return from ticket prices), or are asked by some ultra-rich guy to perform at his party/whatever (in which case it's an extravagant spending).
Perhaps you could invest some time in learning how paragraphs work now.
I think the future is very powerful mobile devices that have a very smooth docking experience. In business environments this is good because knowledge workers don't have to lug around laptops. Instead, walk into a conference room, sit where there is a monitor/mouse/keyboard and your work environment is right there on you phone. Sort of like Google's multitude of mini-conference rooms with audio/visual setups, but augmented with shared peripherals.
>Well this is exactly what fta is about

No, tfa explicitly downplays this.

>People also give this kind of money to famous non politicians.

Only famous non-politicians have interesting and specific things to say (e.g. someone like Malcom Gladwell, etc). Few care what a politician has to say, after all they hear what they have to say all the time, in interviews, public statements, campaign speeches, etc.
"...the Department of Justice has recently asserted that the University is in violation of the Americans with Disabilities Act because, in its view, not all of the free course and lecture content UC Berkeley makes available on certain online platforms is fully accessible to individuals with hearing, visual or manual disabilities..."

Wow. Talk about harming hundreds of people for no reason at all.

IANAL, but I believe the ADA would be applicable for students of the college, not necessarily online content consumers viewing the college's courses.

Of course, the problem here is that you have to start playing expensive lawyer games to get that clarified -- and it might take years. So even if Berkeley has done nothing wrong, they still might end up having to pull the courses.
[..] i find ZeroMQ great, but reading that their logging solution does drop log messages is a huge no-go for operations.

ZMQ silently drops messages when subscribers fail or not listening or when buffers fill up, but as they describe later on "access to historical logs", it's much easier to set up separate process/es for just that.

It seems that when shit hits the fan for this reason ZMQ really is a more reliable choice because it's more flexible.
haha, yes.

Got an React project running for a year now. Hundred of deps. I just don't know anymore...

Last year Flummox got deprecated and we had to replace it with Redux, good times...
I just wanted to add that the Postgres documentation [1] and Wikipedia [2] are both really well written when it comes to explaining each isolation level and the guarantees that it provides. Well worth the reading time.

[1] https://www.postgresql.org/docs/current/static/transaction-i...

[2] https://en.wikipedia.org/wiki/Isolation_(database_systems)#I...
You sure about that? Obama has done much work than most individuals to bring about the first international collective agreement to prevent climate change. Domestically he has gone above and beyond and risking political backlash to avoid partisanship in senate and bring about climate change prevention policy. This can very well be undone by a president who doesn't believe humans can change the planet. A man who will not acknowledge the comprehensive science surrounding greenhouse gases.

There is more danger than you realize.
A diagnosis is mostly useful if you want medical help. If you're self-managing reasonably well, there's no need to go to a doctor, even if you're showing symptoms - just like you might not go to a doctor with a physical injury you can look after yourself or with the help of friends.
Wouldn't a better formula be the expected value of the outcome:
utility delta * #people * probability of success?
Interesting. What sort of returns have you had over the whole period (and how long)? What sort of scale of investments are we talking about - 10k-100k? 100k-1M?
And Apple could transition even easier now thanks to it controlling most Mac apps through the Mac Store. All Apple needs to do is announce they're going to enforce ARM support in the Mac Store a year or two before doing it, and that's it.

Also, isn't Apple already encouraging the use of some intermediary bitcode for iOS (and macOS?) apps? Wouldn't that already made apps architecture-agnostic?
The ssh auth protocol is extensible, the client and server negotiate which methods they support, so it is possible to implement new methods.
Probably at least 20-30% of big 4 employees are or were on H1Bs. Getting a job is very simple, but not very easy:

1. Get a good resume. They're not very picky here, if you have a couple of years experience programming professionally, it should be enough.

2. Apply online.

3. Get an interview.

4. Pass the interview (hard).

5. If you get an offer, you'll need to get an H1B visa to go to the US. It's ok, if you're unlucky they'll probably offer you a position in a different country, and you can transfer to the US after 1-2 years.
You should have a look at http://zguide.zeromq.org/page:all

It's a great read and describes most scenarios well and easy to understand.
Heh, my experience with this guy as a consumer has been when he put out a camera app and started a community site, and after making a good buck, abandoned it all, with no updates, no handover of the app, etc.

http://www.chasejarvis.com/blog/the-best-camera-iphone-app-b...
If anyone is interested in this sort of thing, I found this a great article: http://www.grahamlea.com/2016/08/distributed-transactions-mi...
Of course, but I don't see a problem with celebrating what Elon is doing. I think your comment would be more relevant for the libertarian argument that CEOs need to be paid bucketloads of money, or the idea that rich people deserve all their riches because they did it all by themselves. I don't really think Elon is a guy that thinks he built everything himself. I have more an issue with conservative politicians who will not acknowledge that great organizations and businesses are team efforts and that all member of society should be appreciated, not just those on the top.

Elon like many great leaders before him is accomplish great things because he recognizes talent and allow talented people to do what they are good at. Too many talented people are held down by their leaders.

Of course if Elon was placed in Somalia he would have accomplished nothing. The talents and infrastructure he needs to do great things would not have been there. It is American society which has given him the opportunities he has exploited.
The most widely recognized piece of music by Steve Reich is probably Electric Counterpoint Part 3 [1] because it was sampled by The Orb for the 1990 ambient dub hit Little Fluffy Clouds.

("Sampled" is maybe a generous expression -- "ripped off" might be more like it, considering that Reich's piece provides the entire structure of the song.)

[1] https://www.youtube.com/watch?v=_TKVpUSWCug
Cleanmymac 3 Activation Number 2016 Crack and License Key Free
Are you saying that you don't like writing code, and yet you go do it as a 9 to 5?

I have never worked with anyone who was a coder that didn't enjoy coding. I'm not talking about being evangelical about it, just a basic satisfaction in what they're doing and not having a desire to be doing something else. (Note that I'm talking about the coding aspect, not the other BS that goes with it sometimes. I've met many people that hated the politics/etc.)
iirc the libraries apple exposed after the ppc to intel switch were arch independent or at least arch shim-able.
I'm not sure we're at the point where you can hold the robot fully responsible yet.
My opinion is exactly opposite: Consistently is overvalued.

Requiring consistency in distributed system generally leads to designs that reduces availability.

Which is one of the reasons that bank transactions generally do not rely on transactional updates against your bank. "Low level" operations as part of settlement may us transactions, but the bank system is "designed" (more like it has grown by accretion) to function almost entirely by settlement and reconciliation rather than holding onto any notion of consistency.

The real world rarely involves having a consistent view of anything. We often design software with consistency guarantees that are pointless because the guarantees can only hold until the data has been output, and are often obsolete before the user has even seen it.

That's not to say that there are no places where consistency matters, but often it matters because of thoughtless designs elsewhere that ends up demanding unnecessary locks and killing throughput, failing if connectivity to some canonical data store happens to be unavailable etc.

The places where we can't design systems to function without consistently guarantees are few and far between.
Berkeley should just incorporate a non profit in another country, transfer the IP and serve it via there. Outside the jurisdiction of the DOJ.
From the creators of Foldscope, their next invention:  Paper centrifuges
re:learned a lot about how to build reusable components myself from their API

material-ui's tutorials are really bad examples on this.
They teach you to import from specific dir path inside material-ui.
(e.g. import Pen from 'material-ui/lib/pen' or whatever)

Instead, they should recommend:
import { Pen } from 'material-ui'
since most of their exports are already in material-ui/src/index.js file (or some index.js file from package.json's main part)
How to Find the Right Nutrition to Steer You Through Your Day
You'd be surprised.

The distinction you make exists, but it's not about amateurs vs professionals, but obviously about those that can afford it (to "sponsor the whole show") and those who don't.

Smaller businesses and interest groups pay their way into laws the traditional bride way all the time.
There's a company called transmeta that tried this. It didn't work well. Apple is big enough that major software vendors will deal with it.
Or Apple could just take the hit on margins for a while and ship both ARM and Intel CPUs in the same machine.

Whilst Apple does have an excellent history with these transitions using software I suspect in this situation hardware might be easier/better.
> I can solve most problems correctly given enough time
> (usually 2x+ longer than interviews).

That you can solve them at all puts you in a rare and valuable group.

It probably won't get you a "big 4" job, but you might experiment in some future interviews with being transparent about the conditions in which you can solve such problems. E.g., "Give me three hours in a room by myself with paper, pencil, and a disconnected laptop running $MY_DEV_ENVIRONMENT, and I will be able to work it out."
Obviously HN submitters think this is an a-moo-sing story:

https://news.ycombinator.com/item?id=12519225 (no comments)

https://news.ycombinator.com/item?id=12513907 (2 comments)

https://news.ycombinator.com/item?id=12512672 (3 comments)

https://news.ycombinator.com/item?id=12511940 (1 comment)
The Two Minute Guide to Simple E-Books
The Python Packaging Ecosystem (2016)
Weekly Python StackOverflow Report: (xxxvii) stackoverflow python report
They don't need to work with Intel. Apple could just buy Parallels.
Fyi ... a related (not duplicate) HN discussion from Feb 2015:

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

In both this case about UC Berkeley and the lawsuit against Harvard & MIT, the legal attacks seem very wrong.

What I see is:

- Scenario A: spend $X to release free courses that benefits most of humanity

- Scenario B: spend $X+$Y to release free courses that also benefits the disabled population

(The $Y is extra costs to close-caption, transcribe to braille, etc.)

That these lawsuits are obstinate in that you must spend that extra $Y to fulfill Scenario B or humanity can't have the knowledge at all is nonsensical to me.

E.g. The school budget has finite money. Let's say It can release 15 free courses by spending just $X but to avoid a lawsuits, it can only release 10 courses by spending $X+$Y ... or release none at all because it's not worth the legal minefield. Why is the 2nd scenario more optimized for humanity?

Sure, we should encourage the universal accessibility of the video courses but to formalize it into the nastiness of lawsuits? It doesn't seem right.
What is this slush fund? Who gave her money when she was Sec of State? Please substantiate these assertions.
2G News
A Hyper-speed visual effect made with JavaScript