skysight-inc/HackerNews huggingface dataset:
Sorry for responding again, but I was really curious about that "inline" struct type attribute format so I figured I would do some tests. It looks like it actually doesn't do anything! And the warnings are definitely wrong in at least one case. To get straight to the point, some code:

#include <stdio.h>
#include <stddef.h>

struct s {
char b;
int k;
};

int main()
{
printf("offsetof packed k: %zd\n", offsetof(struct __attribute__((packed)) s, k));
printf("offsetof regular k: %zd\n", offsetof(struct s, k));

printf("alignof inline: %zd\n", __alignof__(struct __attribute__((aligned(32))) s));
printf("alignof before: %zd\n", __alignof__(__attribute__((aligned(32))) struct s));
printf("alignof regular: %zd\n", __alignof__(struct s));

return 0;
}

The outputs of this program (Just the numbers) are 4, 4, 4, 32, 4. If the 'inline' attributes were actually respected, the results would be 2, 4, 32, 32, 4. Meaning, the attributes in test's 1 and 3 are completely ignored but do not produce warnings. Also interesting, test 4 actually produces a warning about the `aligned` attribute being ignored even though it actually respects it (as it should). I think this is a just weird issue edge-case with the `alignof` operator specific to `gcc`, since `alignof` takes a 'type' as input, but it's definitely a bug. If you declare a variable with that type there is no warning.

Besides the warnings this doesn't surprise me too much, AFAIK it is not legal to put anything between the `struct` and the structure name in usages of a `struct` type. But from the response gotten over at the `gcc` Bugzilla I would wager the 'inline' versions are in the uncharted waters of "Nobody really knows what that should do anymore, don't do that". Reading the `gcc` bug report again, it seems the last response does actually indicate the error I'm pointing out above, where the attribute is silently ignored, I missed that when I skimmed it the first time.

With that said, the fix EMACS implemented was the same as just removing the attribute completely. If the EMACS code really does need that alignment forced for one of its architectures, it should probably take a look at that fix again and apply the `aligned` attribute on the `struct thread_state` for the architecture(s) that need the 8-byte alignment (If they actually exist), and then remove the attribute completely from the variable declaration.
For your theorie I live in central Europe and don't know a single person with gluten issues. While the Americans in this thread make it seem like every 10th or so has it.
Square Cash: A New Place to Buy and Sell Bitcoin?
GiveCampus (YC S15) wants Ruby and Front-End Engineers who care about education
GiveCampus is a Y Combinator-backed company that builds fundraising software for educational institutions. We're tired of schools being stuck with crappy software that never changes, and we're working to bring actual innovation to the space, and solve the hair-on-fire problems fundraisers face. We're growing at an awesome pace, and now need more motivated engineers to help us build out the features and products schools want! Michael Seibel, CEO of YC, expects us to be a household name in the next few years: https://news.ycombinator.com/item?id=13896296. We were also covered by the Washington Post last year (https://www.washingtonpost.com/news/grade-point/wp/2016/04/1...), and we have grown the number of schools using us by more than 5x since the article was published.

We're still a small team, so if you're looking to join a fast-growing startup and have an immediate impact, we're looking for both full-stack (Ruby on Rails, Postgres) and front-end engineers with at least 2 years of professional experience. Our current team was previously with Facebook, Amazon, and Intel.

Please no recruiters or dev shops.

Reach out to careers@givecampus.com with a bit about why you're passionate about education, and a project you've working on that you're particularly proud of. We're based in DC with an office in SF, so we're looking to hire in both locations.
More interesting would be to find out what exactly they are doing with all that power.
Loading images as soon as they are within viewport is already too late. You want to load them before user gets there. So you could just not mess up with native browser loading in the first place. Because all those requests and client side calculations will add up.

When you have image heavy content please load an image when I'm one or two page heights before the image. This way when I get there it will already be there. You could then just use regular single background placeholders, because I (and I would believe that you also) never intend to see them in the first place.
> "In fairness, if someone is a jerk to you, but sincerely apologizes, it is important to be thick-skinned and accept that apology."

I have a colleague who has "sincerely apologized" to me three times within the span of a few months. Some people just know how to play the system, and if management is not firm (which this passage indicates is the case in Tesla), these people will win out.
Actually, farmers desiccate wheat before harvest because dying plants yield more seed. Glyphosate is among various pesticides used for desiccation.
And badly. I rrally wish JavaScript would just use DWARF. Sourcemaps are quite broken, do not contain scope infos and cannot be used to map function names wirhout doing stupid things.
1) Mozilla isn't retarded. They've done market research on this.

For example, in Sep. 2015 around 40% of users did not use any extensions at all. Another sizeable number of users is going to have their ad blocker and nothing else. Even with 2, 3 or 4 extensions, it's unlikely that you're going to experience a breakage, and if you do, it's likely that you'll find a replacement.

Average users rarely use unpopular extensions and popular ones either are maintained or will have a replacement made. There are some semi-popular ones that currently can't yet be fully recreated, but those are the types of extensions that change so much about the browser that average users won't be using them anyways.

2) Users aren't retarded. I know, we like to act like they are, but only the most cynical are going to switch browsers, because of this. Out of spite. It does not make any sense to switch to a different browser, just because the browser that you're used to has become different. Nor does it make sense to switch to Chrome, which is still by far less extensible than Firefox 57, just because Firefox has become somewhat less extensible.

3) The core of the API is more than stable. It's Chrome's extension API, that's been battle-tested in Chrome for years. Most extension developers will not need more than that. And it's most definitely not missing a ton of function, especially not things that non-power-users need.

4) Their market share is not anymore shrinking. It's been growing again since the release of Firefox 48. That was the release which shipped the first iteration of multiprocess. They could not have shipped multiprocess as early as that, if they did not know legacy extensions to be deprecated now with 57. Because the majority of legacy extensions are not multiprocess-compatible and neither would have been updated to be.

AMO would be reverse Russian Roulette where only roughly 1 out of 6 extensions will not kill your performance. That's just as well something you can't expect average users to understand and it would be like that for the next few years still.

So, yeah, they did rush this, but it was to save their market share. Had it continued to drop like in the half year before Firefox 48, we'd now be deep into negative user numbers.
Then I guess that person isn't sincerely apologizing.
Not all, but most make-like systems are a waste and are basically just "make in $language" that don't do anything new or novel, the just give you a different syntax and set of functions to learn. So yes, I do think we'd be better off having a lingua franca build systems to use for every language rather than dozens of different ones.
> How is the screwing around related to cash? Can you elaborate?

Kids need to do forbidden things hidden from adults to grow. They need experiment. Make mistakes. Create their own set of values and ability to solve problem independently. Without cash, it increases the number of things they can't do without their parents. E.G: buying birth control, consuming illegal products, going out in places the parents disagree with, etc.

No parents are perfect. All of them are wrong on some things, and have some kind of unbalance in the way they interact with the children. It's life. Growing for kids mean learning from their parents, and learning to distance themself from their parents. Two sides of the same coin.

> An imperfect system needs workarounds.

Say you are in an saoudi dictatorship. Without cash, paying for drinks at a secret gay bar becomes very hard. It's the same for us. They are many things our system frown uppon. That doesn't mean it's bad.

Another thing: you are an administrator, and you know you can fix the school door now with cash and create a fake paper trail later. Or pay the right way and wait 6 months.

Obviously our system should be fixed. Cash is not the solution. But changing the system is a hard, long and unreliable process. So meanwhile, cash helps to get along.
Qian, an hackable micro “File explorer” for OS X, written in Elm and Electron
If Chris Lattner (Swift Creator) is behind this. I am more than ok, else I do not think this is the process. You should raise proposal to swift community and if it gets accepted you start working on it.
Not other way around. You create fork and try to push and if they does not agree with you. You will say ok we are having our own fork.
reply
I like the spirit of Elon's letter, but there is one part that bothers me:

>This doesn't mean there is a different standard of performance [for less represented groups] ...

...

>We have had a few cases at Tesla where someone in a less represented group was given a job or promoted over more qualified highly represented candidates...

Which is it?
I think they may have meant "nearest-neighbor", which isn't true for any browsers that I know of.

Regardless, there are still better filters than bilinear, i.e. Lanczos, which I'm pretty sure none of the browsers use.
100% agreed that running a network on the scale of Twitter, with all the strong interconnections, is extremely hard. Probably the hardest, moreso than even things like Facebook.

I do wonder what the thousands of engineers are doing. I imagine there's a lot of fire-fighting, but is it only that?

It could be the case that twitter is constantly falling over, still.
I was wondering the exact same thing when I read that part.
> Everyone at Tesla, without exception, is required to go through an anti-discrimination course.

This is the literal bare minimum in a U.S. corporation in 2017.

> Our human resources team also conducts regular in-person spot training sessions when an allegation or complaint has been made, even if the evidence is not conclusive enough to warrant disciplinary action."

This sounds bad to me. Discrimination complaints are complicated and dangerous and should be handled by experts--which the vast majority of HR staff are not. The idea of a "spot training session" sounds like the sort of thing that could be easily misinterpreted by any of the parties as a "make this go away" conversation.

> We have also created a dedicated team focused exclusively on investigating workplace concerns, recommending corrective actions and assisting managers with implementing those actions.

This is more like it but the timing is vague--by this wording, this could have happened at any point, including yesterday.

> Regarding yesterday’s lawsuit, several months ago we had already investigated disappointing behavior involving a group of individuals who worked on or near Marcus Vaughn’s team. At the time, our investigation identified...

Oh jeez, please don't share the details of an internal employee matter that is subject to litigation...

- (me, but also Tesla's general counsel, probably)

> Our company has more than 33,000 employees, with over 10,000 in the Fremont factory alone, so it is not humanly possible to stop all bad conduct, but we will do our best to make it is as close to zero as possible.

Ok, but you are not getting sued for just random "bad conduct," you're getting sued for a failing to properly handle a specific (but relatively common, sadly) type of bad conduct.

> There is only one actual plaintiff (Marcus Vaughn), not 100. The reference to 100 is a complete fabrication with no basis in fact at all.

Yes, this is how class action lawsuits work.

> The plaintiff was employed by a temp agency, not by Tesla as claimed in the lawsuit.

Doesn't matter for workplace discrimination litigation. Contractors are legally the same as employees under certain conditions and this is one of them.

> The trial lawyer who filed this lawsuit has a long track record of extorting money for meritless claims and using the threat of media attacks and expensive trial costs to get companies to settle.

Well yes, you did say it was a trial lawyer.

Overall I think this letter is not great for Tesla. It seems like the sort of thing that will be useful for feeding the current race-based culture war in the U.S., but doesn't make Tesla look serious about preventing racist and discriminatory behavior among its workforce. Fewer words and more contrition would probably have been better.
"Our human resources team also conducts regular in-person spot training sessions when an allegation or complaint has been made, even if the evidence is not conclusive enough to warrant disciplinary action."
I wasn't clear enough. For decades "crypto" has meant "cryptography".
Extensive discussion: https://news.ycombinator.com/item?id=15686653
> Mind keeping it civil? That kind of dismissiveness is rude and uncalled-for.

It's a ludicrous position to say that because the rules of hidden information are known, there would be no effects in the information where to be known. I can't fathom making the argument that because there is potential access to information, its the same as the information being public being done in good faith.

> I'm not saying anyone makes it public. Asking questions like these is pretty basic advice when receiving an equity grant, and companies that I actually respect give a reasonable answer. No, they're not going to open their books to you, but they'll give you enough information to at least be useful.

If its useful to collect it and for the investor to know it, it's useful for the employee to have access to it, and it is also useful for the employee for the general public to have access to it. An employee is woefully unprepared to make an analysis in comparison to investors, even if the company disclosed 100% to their employees, there would still be asymmetry of information.

There is no extra effort for the startup. Just disclosure.

> The cost to IPO (assuming the unlikely event you can find a reputable bank to underwrite) would easily eat up any funding you've gotten in the beginning, and then some.

The cost of an IPO is made up. If there is anything showing that clearly, is the craze for ICO's.
DWARF is kind of a shitshow and it's not really suited for doing this sort of source to source transformation anyways.
Airbus Is About to Strike One of the Biggest Deals in Aviation History
Can't you? I mean, aren't they interoperable?
Yep, this was an incredibly frustrating cash grab. I already have a credit card that doesn’t have international fees and provides decent currency conversion rates. I also started looking elsewhere first.
And in php (after https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/):

"foo" == TRUE and "foo" == 0 but TRUE != 0

123 == "123foo" but "123" != "123foo"

"6" == " 6", "4.2" == "4.20" and "133" == "0133", but 133 != 0133, "0x10" == "16" and "1e3" == "1000"
Both? My guess is they don’t have a policy to favor anyone’s background but in practice it has happened unintentionally, and in hindsight it even backfired, when abused by subjects who used their ethnicity or gender to manipulate their way up.
1. The code is standard C/C++ with minimal dependencies so it should be buildable on even non-standard platforms. Linux is easy.

2. The interpreter is more optimized for being low overhead and the kernels are better optimized especially for ARM CPUs currently. While model performance varies by model - we have seen significant improvements on most models going from TensorFlow to TensorFlow Lite. We'll share benchmarks soon.
This was touched literally on second exercises (so second hour of learning Java) on university when I learned Java.
I'm glad some of the newer languages like rust and go just dump implicit coersion altogether. Yeah it's convenient but it's not worth the headache and subtle bugs.
What do you consider a better alternative? A lot of people love to hate on HTM+CSS, but it's actually fairly powerful. I've been trying out a lot of native UI toolkits, and they're all as quirky and confusing as web tech. I'd agree that there's tons of room for improvement, but any UI tookit will need to make certain tradeoffs and deal with complex layouts and compositions.

Flexbox and grid help a lot with app-style layout.
This sounds like Peppercoin, which Rivest founded in 2001:
https://en.wikipedia.org/wiki/Peppercoin
What has marriage to do with pushing forward genetic lines?

Are you trying to strawman, or did the strawman just work on you?
I talked to their Enterprise sales team back in June about two missing features: Kubernetes auth and KMS-based auto unseal. They mentioned that nothing was in the works at the time, and it’s nice to see this feedback (assuming this is not a pure coincidence) incorporated so quickly in v0.8.3 and v0.9. Now I just need to be able to afford the Enterprise plan!

One interrogation I have is that if I ever want to integrate cloud auto unseal into Vault and make a pull request, what is the incentive for Hashicorp to allow the merge? Wouldn’t it only remove value from their paid product?
That’s good. I guess it also works as unofficial warning
Debian and GNOME announce plans to migrate communities to GitLab
A source map is the reason your browser is so slow after you succeeded to debug your 4Mo webpack generated dev bunddle you spent 3 hours to configure right. And "your browser" is not plural because one config won't work with another browser.
Because China doesn't believe in God but in Science. In the US we rather subsidize churches to the tune of $70B a year than to invest in computing infrastructure.
Could you expand on how much sessions typically cost you and how valuable you found coaching like that to be over alternative methods of learning similar skills?
Well, 4x for the moment. And manufacturers could start making DDR4 with 8-high TSV stacks that would cut it to 2x.
Agreed, I dont have to accept apology. It has nothing to do with being thin or thick skinned, that is just attempt to make me feel bad about not being doormat.

It is professional to continue working professionally. That is about the extend of duty. The rest is on how I judge the situation to be.
And they tout themselves as the responsible economic party. And many people believe it. Sigh.
Are you sure you're not thinking of interlaced GIF? That was used pretty widely for images in the days when the processing for jpeg could actually be serious work for a pc.
The sad thing is, there are people who know how to manipulate the media for nefarious gains. Not that I'm arguing that this story is like that, but it's sad to me that many journalists are motivated to publish sensational stories immediately rather than wait and do the research first.

Read "Trust Me, I'm Lying" by Ryan Holiday for a frightening look at media manipulation.
> China’s president Xi Jinping recently said the country is “taking a driving seat” in fighting climate change

One of the only things giving me hope right now.
I disagree, but then again I’m not American therefore to my ears it does sound sufficient action.
"make in $language" is not a waste if sudendly you can "x install your framework" and get it without additional setup, and crossplateform.

It's not a waste if you can leverage what your teams existing knowledge instead of learning the quirks and tricks of make.

It's not a waste if you can use your existing tooling (editor plugins, debuggers, unit test frameworks...) to process your build files.
> with GPU you may not always get the same kernels available

No kernels are available _out of the box_. You code a pixel shader, implement any kernel, or any other resizing method besides kernels: https://stackoverflow.com/a/42179924/126995

> that only handles resizing, not compressing/decompressing

In my previous comment there’s a link to a commercially available JPEG codec, 100% compliant with JPEG Baseline Standard, that does both compression and decompression.
30 drive writes per day, which is over 50K writes total. But at RAM speeds you could hit 50K writes in no time (XPointHammer? you heard it here first), so wear leveling would probably be a good idea. And here's my favorite wear leveling paper: http://researcher.watson.ibm.com/researcher/files/us-moinqur...
Came into this not knowing what to expect, and recently I’ve had some mixed feelings about Tesla, but wow what an awesome statement.

Honestly it was just so...authentic. They described very exactly what happened, what the accusations were, what the consequences were for those involved, what concerned them as a company, etc. It has none of the corporate double-speak that you would expect if this were Equifax.
Ironic part is we denied them Nvidia chips so they built their own supercomputer chips.
Get Over the Marketing Struggles of Business Through Digital Marketing
Ask HN: Transition from web developer to Product Manager
I have been working as a full stack web developer for around 7 years and am interested in transitioning to a technical product manager. Is there a specific path I need to take or how should I go about looking for opportunities outside my current company. I cannot do it at my current company as I don't think they are open enough for that transition. I'm not interested in getting an MBA right now. Any suggestions would be appreciated. I'm pretty tech savvy and have a lot of knowledge about the current happenings and pretty up to date on startups and other things tech.
That would describe just about any trial lawyer. Expensive trial cost is kind of build in property of the system, there is no trial layer able to make it cheap.
Actually that feeling will only occur when war breaks out with China and Australia is the first US ally to fall :(
Must Read: Top 6 Content Strategies before Publishing Your Mobile App
>> Everyone at Tesla, without exception, is required to go through an anti-discrimination course

> This is the literal bare minimum in a U.S. corporation in 2017

Not in the slightest. It might as well say "drum circle", since there's no evidence that either are effective. The key is that there are supposed to be metrics and investigative procedures and protections for complaints, not some re-education mumbo jumbo.