skysight-inc/HackerNews huggingface dataset:
Aesthetically, I'm not a fan of office parks and the one I'm in doesn't have great places to walk unless you count parking lots. Having said that, urban company locations are usually great if you live nearby and can take public transit or easily walk/bike. It's pretty horrible/expensive for large cities if you have to drive and/or take a long commuter rail in.
Ne Yo the Opera (Comedy Cover – She Knows)
Crazy, that's so relevant to this post.
1. "Kind of Funny" is not analysis.

2. https://news.ycombinator.com/newsguidelines.html

"Please don't do things to make titles stand out, like using uppercase or exclamation points, or adding a parenthetical remark saying how great an article is. It's implicit in submitting something that you think it's important."
> Lektor belongs to a separate org and the project does not use any resources only I have access to (other than the domain name and the server travis-CI deploys to).

Really appreciate you starting it out this way from the getgo.

> Because I run so many Open Source projects and maintenance of all of them turns out to be tricky I figured I do this better this time around.

Looking forward to seeing Flask & Flask-SQLAlchemy moved to a dedicated Flask org on github. Ideally with another person or two having Pypi creds for pushing releases.
From the article:

> "antibiotic of last resort - colistin"

> "The DNA that gives bacteria resistance to colistin - the mcr-1 gene - can spread rapidly between species.

The concern is that colistin-resistance will now find its way into other superbugs to create infections that doctors cannot treat. "
I always liked that aspect, so I still haven't switched. I'm sure there are weirder hobbies out there.
UI apps have all sorts of unavoidable copied state. For example, your data base might have separate fields for first name and last name, but your UI might concatenate these strings into a single one. Whether that's stored in a ViewModel or DOM is not a practical difference.

There's nothing about MVVM that says you have to copy Model state in your ViewModel either.
Clang had a number of benefits over GCC such as better error messages and integration points for IDEs (syntax checking/etc) which caused Apple to switch to it (on top of licensing). It may have been faster, not sure, but the internals were supposed to be MUCH cleaner and easier to work with.

I know a number of these issues have been improved/fixed in GCC over the last few years. Outside friendliness to internal tinkering and non-GPL software I'm not sure if one as serious technical superiority. I believe clang is written in C++ instead of C, for whatever that's worth.

GCC has always had a much bigger set of supported platforms and processors.
How to Raise a 165-Year-Old Cat
In C, these two code fragments do not necessarily give the same result (assume pointers and longs are the same size):

long zero = 0;
struct IVT * ivt_ptr = (struct IVT *)zero;

and

struct IVT * ivt_ptr = 0;
/* or (struct IVT *)0 if you like that better stylistically */

The former gives you a pointer whose bits are all 0. The latter gives you a null pointer. On systems where 0 is a valid memory address the compiler should pick some other address that is not valid.

Similarly, these two are not necessarily the same:

if ( ivt_ptr == 0 ) ...

and

if ( ivt_ptr == (struct IVT *)zero ) ...
/* or if ((long)ivt_ptr == zero ) ... */

0 only represents the null pointer in C when it is the constant 0.

See this for more information: http://c-faq.com/null/
It depends.

Hear me out. When people say they are a generalist, they actually mean they know a bit of JS and whatever the framework of the moment, a bit of rails (or Django or Play) and they can come up with a bash script. If this is you, better specialise otherwise you will be fucked.

Now, if you can do a full grown mobile app, a backend service for realtime data, do 3d for the latest console or write a CAD file viewer that is fast, write kernel drivers, hack up nginx to do your biding and write an ETL for oil company, pick an haskell AI/learning project and improve it. Keep at it. You will have so many doors open you don't know what to do with your time.
Here's something that I just saw on twitter, a post from djb that I think I'll add to my mandatory reading list: https://groups.google.com/forum/#!msg/boring-crypto/48qa1kWi...
Every IDE I have ever seen has code folding and auto-indentation. Including Xcode. This is a solution looking for a problem.
iOS's adaptive display lumps displays into four different categories. A category can have vastly different screen sizes and even different aspect ratios. They are...

iPad Pro, iPad (portrait, landscape)

iPhone 6 Plus (landscape)

iPhone 6, 5, 4S (landscape)

iPhone 6 Plus, 6, 5, 4S (portrait)

AutoLayout is suppose to fill in the gaps between the different resolutions here, but it doesn't do that great of a job at it. It relies heavily on hardcoded values rather than dynamic values based on the containers size. That coupled with only having 4 distinct size classes makes laying out most views near impossible to rely on AutoLayout alone, you have to manually change the constraints at runtime.

I don't find iOS's layout system to be very adaptive at all. The only thing saving it is there are only 6 different resolutions in the entire eco system. With a huge majority of the users on only one or two of those resolutions.
In the case of Google & Facebook, those employers have adapted and built office campuses to provide all the amenities the article suggested to stay competitive in a suburban setting.

I do agree with your statement but it is also complementing what the article is also suggesting should happen to office parks.
> If you can't contain your emotions for getting "ragged on" for ending up with the crap gift, then you really need to grow up.

Oddly, that's the kind of language bullies often use. "Why can't my victims grow a spine and join in the laughter that goes along with slipping a banana down the back of a fellow's trousers and then hanging him by his underwear from a coat hook?"
> It's plain to see that eating a factory cheeseburger does indeed cause this ill

I'm very confused by your plan of action... shame the general public until they stop eating meat saturated by antibiotics?

In your plan, how many people will you need to deter in order to make a difference? Will the agricultural industry suddenly stop using antibiotics because a hundered thousand people stop eating at McDonnalds? Two million people?

Will your plan be able to get enough people to stop eating meat so that the agricultural industry notices and stops deforestation or other unethical practices? If they do, will it happen before global warming (caused mostly by the agricultural industry) becomes irreversible?

My comment might read like an excuse to you, but to me your comments read like someone who is very naive to the ways of the world.
Feedback on Rapidoid Fluent and Java 8? E.g. Do.map(words).to(String::length)
final edit: I withdraw the comment below since the analogy is too inflammatory and I certainly don't intend to accuse the parent poster of racism. That's not cool or helpful. I'll leave it up so the replies make sense.

How about this quote from Ghandi instead:

“If we could change ourselves, the tendencies in the world would also change. As a man changes his own nature, so does the attitude of the world change towards him. ... We need not wait to see what others do.”

withdrawn original post:

----------

Your position transposed 50 years back in time:

"I'm actually tired of the "blame the general public" argument. Blame industry for this. I'm not going to take the blame for racism every time I discriminate against a person for being non-white, nor am I going to assume blame when I promote a man over a better qualified woman. Unless billions of people change within the next few years (which is so unrealistic that I feel comfortable saying it won't happen) then my individual do-gooder actions will only bring self-satisfaction, not real change.
Blaming the every-man for this stuff is a cop out. Corporations are to blame. Real change will only come about through government (semi-likely) or self-regulation within industries (very unlikely)."

edit: replies below are furious that I equated racism with factory meat. This misses the point completely. They are not the same at all. The point is that industry and government follow popular sentiment and not the other way around. Corporations will sell you what you will buy. Stop buying it and they will offer you an alternative.

If you buy an disproportionately polluting product, you are polluting. You can't avoid that by saying 'everyone else is doing it, I have no choice'. When racism was institutionalized, you had a choice to go along with it or not. You had, and have, personal responsibility independent of everyone else.
>>Modern frameworks are moving away from two-way data binding (React, Angular 2.0, Ember, etc.)

Do you have any reference about this? I thought the opposite was true. My main interest being Ember, I'd like to know more about what you said.
You want client certs to authenticate them to the service? You should look at Vault[0].

0 : https://www.vaultproject.io/docs/secrets/pki/index.html
But office parks are a great place for breweries!
Regulations are a right tool for the job here. What would be a non-regulatory approach? Let the market decide? The market decided; it doesn't give a flying damn about things like loss of antibiotics for human healthcare; people want their cheap meat, the market delivers. If it involves overusing antibiotics, so be it.
> I worked in an office park for a while, there were sidewalks along the front of our building, which ended abruptly just after the driveways. The building next door had the same thing - sidewalks to nowhere that never connected to anything.

That was almost certainly the legal minimum. I have seen (and walked!) similar sidewalks and it is infuriating. Code says they need a sidewalk, but doesn't say it needs to connect to anything.
How is this any better than simply noting undefined behavior as an error?
I asked for a reason.
On a relative scale the number of accidents building the Hoover dam was high but not spectacularly high when compared to the number of people dying in high-rise construction and road building.
Look at Steve Harvey’s Poorly Designed Card – He Was Set Up to Fail
Bringing up immigration in a conversation about antibiotic resistance, knowing what we know about animal farming practices is ridiculous.

An analogy is like complaining about one leaking faucet in a conversation about drought when everyone is watering their garden.
> What'd be the big deal if compiler developers just stopped inflicting these on C programmers and focused on optimizing compilers for better-defined languages (with range types, specified overflow behavior etc.) instead?

This is non-trivial. These definitions come with tradeoffs that fundamentally alter the language. However, this is basically what rust is.
The brevity of Kotlin vs Java is astonishing (or maybe the verbosity of Java vs Kotlin is astonishing). The worst part of Android development, so far, for me, has been just how much code it requires to do anything.

Even with a relatively nice and declarative development API (which Android provides), the amount of code to put anything on the screen, much less accomplish any useful work, has always put me off of building anything of note on the platform. My brain turns off when there's so much reading to be done to derive any meaning from a function; e.g. "What does this do?"...three dense pages of code later..."Ah, it saves the current state to storage."

In short, I'm pretty excited about Kotlin. Maybe I'll finally start working on Android apps, beyond mere tinkering.
Work around hardware bug on November 31st
You've just nearly described my exact working environment. Only, on one side I have a highway. I have a friend who works across the road from me. If we met up for lunch on foot one of us is taking a 30 minute walk because it's impassible on foot. I'm stuck driving for the bulk of the winter because it's just unsafe (after biking to work year round in Chicago for the last ten years, this commute broke me).

Fortunately (for them and me) the company is moving downtown this spring, or I wouldn't have taken an otherwise great job.
It's not a sustainable solution... wait, scratch that. Factory farming is not a sustainable solution, hunting is not even in the same ballpark as any viable solution to providing as much people as we have with regular meat meals.

And then even if, you'd have a resurgence of people sick and dying from parasites and other stuff you catch from improperly handled meat.
The post went from 1, 2, then 3 votes, down to 1, zero and then -1. Interesting.

I thought Hacker News might be the kind of forum where an argument backed with facts and sources (including peer reviewed papers) might be enough to break through tribal leftwing suppression of politically incorrect opinions. Evidently not.
Here's a study that puts it closer to $500 for women and $800k for men:

https://news.ku.edu/2015/06/19/ku-study-gives-more-accurate-...

But these studies are all flawed because they are based on historical data when 4-year degrees were scarcer. In an era when many graduates can't get a job or end up with one that does not require a degree (i.e. barista) it's obvious that their ROI prospects are grim.
> Plus it seems extra presumptuous to claim some kind of inherent right to profit off derivative works of my software. You can only distribute derivative works of it at all because I've granted you a license.

Sure, but one's choice of the GPL has signalled that one wishes that others be permitted the freedom to build upon the work and do as they wish [0] with their additions -as well as the original work- just so long as they -upon request- distribute the original and their additions to folks who have received the binaries.

[0] This includes charging for access to compiled versions of the software, access to support and documentation, etc. etc. etc. [1]

[1] http://www.gnu.org/philosophy/selling.en.html
Ask HN: Does the enjoyment of programming ever increase?
So I started work as a full stack developer. I attribute part of my feelings to learning ReactJS, and just starting work for the first time as a fresh grad.

I've always appreciated programming. I appreciate what you can do with programming. But frankly, I don't think I enjoy programming. I didn't enjoy it when I was first introduced to it in undergrad, it was more of a means to an end. I've had to slowly build up to programming to an hour, hour and a half from 15 minutes through daily habits. And when I work on a project that I am want to work on, I can get captivated.

But for the work I'm doing for my employed, I just don't give a shit. It's only for the paycheck.

I don't know if this is resistance manifesting itself, but I think people get a little too liberal with the word resistance.

I guess my question is once I get in a groove at work, is it likely I'll start to enjoy it? Or is this a situation where that if I haven't been engrossed by it already, chances are it's not going to happen anytime soon?

Like I said before, certain aspects interest me. But I don't get excited about the nitty gritty details, which is so odd because I am very obsessive in other hobbies.
I see you didn't read even the abstract of the study I posted, then?
It's an entirely subjective argument - but I've felt the warning and error messages from clang were so much better than those from GCC that developing under clang became a no-brainer.

Also, I believe ASAN started with clang.
Not unless well-served by public transit.
My apartment complex has this problem: there is no package office but there is an outer gate.

USPS has a key to get inside the gate, but private couriers do not, so they can only leave missed delivery notes outside.

When USPS does deliver a package, they set it on the ground right inside the gate which is not all that secure either given the gate is occasionally left open by construction workers or maintenance people. The apartment allows us to send packages to their office instead, but it's impractical because their hours mirror work hours.

The best alternative I've come up with is to just ship packages to work and accept that I'll mostly miss out on Saturday deliveries.
We must be thinking of different kind of buildings.

I think the article is talking about those multi-story office buildings that a lot of people work in.

I see lots of breweries in semi-industrial/semi-commercial areas, single story buildings that have a lot of warehouse space and a small office area.
Looks like it would be good for setting intonation on a guitar or similarly stringed instrument. Cool!
I personally don't equate fragmentation with different screen resolutions/sizes/aspect ratios. An eco system should have a large swathe of options. One size does not fit all in this case.

The fragmentation I feel in iOS comes from its tedious way to deal with the different screen types.
every economy is capitalistic, in that the goal is to produce capital, who owns that capital is where the differentiation lies, in a purely socialist society the government would own it, in a free market society those that produced it would own it and trade it with whomever they saw fit. free being defined as the absence of coercion. a poor person is by definition someone without capital. so if when looking at reasons why that person isn't getting capital through trade or by creating it, one needs to look at the coercive forces preventing them from obtaining it and seeing how in poor countries and even in western countries the most coercive force is the government one could draw the conclusion that the government is causing poverty by preventing people from creating and trading capital in ways that they themselves see fit. to gain any kinda of capital through trade in a free market society one has to convince people that what they have is worth trading, thus any profits are earned through both parties own volition. it's this voluntary relationship that is at the heart of the free market and progress, when you have entities such as the government or institutions that use the coercive nature of the government that's when this system breaks down.
You have to create an account to see the full list. I'm good with just the first ten.
Magik Play game transforms real wooden blocks into cool iPad interactive games
I'm stunned someone took the time to write this up and create images of better designs. What's even worse is the fact that I cared enough to comment.
Keeping browsing experience in users’ hands
Crashes instantly on start (on Windows):

Fault Module Name:	Qt5Gui.dll
Exception Code:	c0000005
Exception Offset:	00044856
make me warmer, kinder, more sympathetic/empathetic

"Nonzero" transmuted me from a cynical fatalist into an unrepentant optimist. The gist is that human culture advances when win/win strategies replace win/lose (zero sum) strategies.

Nonzero: The Logic of Human Destiny
by Robert Wright

http://www.amazon.com/Nonzero-The-Logic-Human-Destiny/dp/067...

http://nonzero.org
It's semi-public knowledge that In-Q-Tel is the investment arm of the government. They make investments on behalf of any government department that puts up the money.
And when you have bad enough depression, s/We'd/We/. You'd be surprised how little any of that shit matters when you are more or less disconnected from the society that wants you to take care of those things.
I don't know much about Android NDK, but in general, people use clang because:

- Clear and readable diagnostics -- especially useful when debugging nasty C++ template stuff where the type signature is a page long. (GCC is catching up in this area)

- Modular design -- if an IDE wants to have syntax highlighting or an Xcode/Eclipse/IntelliJ like "fix it" feature, they can use the clang frontend to parse the code. Also, GCC's "big ball of mud" design (iirc they do some optimizations like constant folding in the parser) makes it harder to hack on unless you're already pretty familiar with the codebase.

- Less hostile community -- people have tried to clean up GCC but their patches were rejected (see the RMS email link below)

- Helps you with standards compliance -- clang will still compile code with compiler-specific extensions but it has an option to output a warning. There are some codebases that have come to rely on these behaviors so clang's warnings can help make sure you don't end up tied to one specific compiler.

- Personally, I like AddressSanitizer (ASan). It does similar checks as Valgrind, but using compile-time instrumentation -- just pass in an additional flag. Gets rid of a dependency.
Richard Stallman, however, is correct.

(I'm going to get that on a t-shirt, printed in block letters: "Stallman is correct.")
Meh. MVVM just moves the problem, so what if your view controllers are testable but now your ViewModel isn't. You need to be testing those 400 lines of code.

Since it's UI code that usually breaks when exposed to weird patterns just write something that sends random touches to the screen in a rapid manner, it surfaces the bugs really quickly and generally disallows bandaid patches.

I find regular UI unit tests on the verge of useless, it's generally just coding the pattern the developer moves through the UI anyway, eg. fill first form, second, press submit, not random stuff in 3rd form, press submit while simultaneously pressing the back button, then move forward back into the same controller.

eg. If you press a text field and the back button at the same time does it leave the keyboard up when navigating back? That's where the real bugs are.

The solution is extensions and inheritance that cut down on boiler plate in the VC, as well as child view controllers.

Chuck your models into your views and call it a day. For example take your ViewCell, add a method called setData: / setModel: / configureCell: whatever you want to call it, and put your UI manipulation code in there. The puritans will tell you you're doing it wrong but it declutters the code into a bunch of 25-100 line views.

If you really need a lot of logic in there make a ViewController for that view and add it as a childViewController.
If you were frequently catching out of bounds accesses your CPU's branch predictor would be making mistakes and you'd be frequently eating the branch mispredict penalty. Any extra instruction or check that alters the control flow is often much more expensive than just another addition. However, in this case if you're taking the branch something is seriously broken so that you should not be facing this. Pre-Haswell Intel CPUs only had one branch slot so you still might have a penalty but as you say this isn't the end of the world.
https://news.ycombinator.com/item?id=10693764
> Since view controllers do everything in MVC apps

Not even close. The model does everything in MVC apps. Views display the model and react to model changes. Controllers pick up the slack, which shouldn't be very much.

Now in Model Widget Controller[1] the "view controllers" (something that doesn't even exist in actual MVC) have to do more work because the widgets are generic. Still, if you find your "view controller" doing "everything", you've pretty much missed the point of MVC. Completely.

[1] http://blog.metaobject.com/2015/04/model-widget-controller-m...
Im very interested in being financially secure. What do you folks suggest would be something good to specialize in? I do rails now, bit of front end. Heavily interested in iOS.
In ten years, we'll be seeing the same articles about the sprawling hi-rises in downtown areas, as more industry realizes how much cheaper remote work can be.

There are certainly jobs that won't work remotely, but there's not a lot of manufacturing and hands-on work going on in high rises.
Or use convox https://convox.com/