skysight-inc/HackerNews huggingface dataset:
I wonder if this is more search defense than it is user experience work. One of the things web driven access gives you is access to the search traffic through that web site, once you go to the App all that traffic goes with it. Its clear that an app for everything is getting pushed hard by content providers.
My strong suggestion is never false report anything. It is a rabbit hole that you don't want to go into. I think the odds that you will get fired for taking too long on tasks is EXTREMELY low. When you are young, you think everyone has got their shit together. In reality, there are probably developers out there who can't code for shit. In one of my first job, I had a "peer" who kept asking me basic questions until I figured out I pretty much coded up what they had to do. I didn't mind that ... what shocked me was that this person had an entry level programming job and no ability to code. I felt bad for that person.

Anyways ... long story short ... reduce your commute big time. No more than an hour for sanity. Also, if you are not highly paid in tech and are feeling burned out, may I suggest you change your field for a bit. Life is too short to do stuff you hate. And it doesn't seem like you are making a lot of money/saving up.

Best of luck and stay sane!
Chrome originally caught in for the same reason Firefox: when it came out it was the best browser by far. People forget how bad IE used to be and later how bad Firefox got.
> The goto statement shall not be used...

> ...often results in improved code clarity

Um not really, if goto is used _right_ it clarifies code immensely.
Or your end users. Everything becomes easier when you really care about the demographic you're serving.
Are you so sure about that? Because no one knew about it until Google started this massive ad campaign, where for weeks literally every single ad on the web was "INSTALL CHROME NOW".
I usually write stuff like this

if((rtn = func(/*whatever*/)) < 0)
{
// some hint why things may fail
goto barfo;
}
Surely it's obvious what he's referring to.

Even if you try living your whole smartphone life inside native apps (which would be sad), you inevitably get sent out to the web via links. Opening in your phone's browser or through the native web view.

The native "web view" is often an inadequate browsing experience, and will have the same annoyances as the full browser anyway, only worse because it's a cut-down version of a browser, tethered to the native app that doesn't want you straying too far.

To the point about dev's eating their own cooking. It's a fair question, but one I think increasingly is about project managers and non-developer stakeholders calling the shots on things because "everyone's an expert" in the web dev kitchen.
If you want to count examples you're reasoning about this the wrong way. The question is what way leads to a higher probability of making a mistake, not the existence of discrete examples. Considering that one way, Valgrind works out of the box, but with your way, it doesn't, I think the answer to that question is quite clear. Even if there weren't tools like that, it is easier to read code and understand pointers' lifetimes when they're being handled individually, instead of having their lifetimes be part of some far-off region.
"After all, she was raised on the hard sci-fi of male physicists and engineers."

Not completely so! As usual in articles like these there's no mention of James Tiptree Jr. (https://en.wikipedia.org/wiki/James_Tiptree,_Jr.) who contributed immensely to the genre of using sf as a lens to investigate feminism, gender, and related issues. Unfortunately she's largely forgotten now. It's interesting that Le Guin doesn't mention her more often, since it's fairly obvious from their letters that they influenced each other very much.

I always wonder what would have happened if Sheldon had not succumbed to depression and lived as long as Le Guin has, perhaps she would be as/more famous.

If you have not done so, please read the stories The Screwfly Solution, Houston, Houston Do You Read and (my personal favorite) Love is the Plan the Plan is Death (http://www.lightspeedmagazine.com/fiction/love-is-the-plan-t...). They will stay with you for a long time.

(from The Double Life of Alice Sheldon, http://www.tangentonline.com/articles-columnsmenu-284/1094-j...)

Excerpts of the letters show two women, whose work has had a major influence in science fiction, facing great challenges. Le Guin moved forward, with purpose and determination, and demonstrated that being a woman, wife, and mother didn’t mean she couldn’t make major contributions to culture and to literature. And Sheldon rocketed towards the brink, churning out autobiographical work such as “Painwise,” “Love Is the Plan the Plan is Death,” and “The Women Men Don’t See.”

After her secret was revealed in 1976, ending a run of nearly nine years, Tiptree wrote to Le Guin:

“Ursula, Ursula, I am petrified. All the friends, the sf world—will they take it as deception? […]Will the women who mean so much to me see it all as an evil put on? […] Well dear Starbear an old age is dead and time to begin a new one. But I think I’m finished. Tip says goodbye to a very dear friend and all this is hers.”
Le Guin responded:

“oh strange, most strange, most wonderful, beautiful, improbable—Wie geht’s, Schwesterlein? sorella mia, sistersoul! […]I suppose there are some who resent being put on, but it would take an extraordinarily small soul to resent so immense, so funny, so effective and fantastic, and ETHICAL, a put on.”
New View of Microservices
This seems like a pretty good list. Focus on error handling is spot-on, most good C is just simply that.

One of my favorite tricks is to make your success case and your error cases look largely the same.

Say you have N allocations and N things that can fail. Lots of people get into trouble when they do:

void *p, *q, *r, *s;

p = a();
if (!p) { return ERROR; }
q = b();
if (!q) { free(p); return ERROR; }
r = c();
if (!r) { free(p); free(q); return ERROR; }
// etc..

And this madness just goes on and on. Add a new allocation? You potentially have to change n cleanup blocks.

I breathe a lot easier when I can do [note we abuse the fact that free(NULL) is a no-op]:

void *p = NULL;
void *q = NULL;
void *r = NULL;

p = a();
if (!p) goto cleanup;
q = b();
if (!q) goto cleanup;
r = c();
if (!r) goto cleanup;

cleanup:
free(p);
free(q);
free(r);

What if the buffer at "r" needs to return something to the caller? It turns out it's really easy to transfer ownership in this pattern:

// Success case. Give `r` to the caller.
*callerPointer = r;
r = NULL;

// Then we fall through to the failure block...
// r is null now so free(r) is harmless.
cleanup:
free(p);
free(q);
free(r);
See? That’s one of the largest issues. Totally useless UI, no one finds any option. Thanks, btw, but that still doesn’t fix the satellite imagery from 2005 or the obscenely slow loading times (and extreme performance issues, Google maps is just soooo slow).

I, and everyone I know now switched to here, and we’ll probably stick with that for the next years.
The point is that when you use malloc, an attacker exploiting a buffer overrun can't easily guess at the offset they need to find useful data. When you allocate everything in a big region, your process can be expected to read past the object bounds, so an attacker might be able to probe the address space (also the memory layout might be more deterministic). If they try to probe like that in a program that allocates with malloc, they'll just segfault the program.
https://news.ycombinator.com/item?id=4339999
Because you're going to have bugs. You don't need the extra performance, and you do need the extra safety. There is no good reason for you to do this in 2015, unless your system's malloc is broken. The exceptions to this rule know who they are.
It's not that the humanities are too easy. The subject matter is impossibly convoluted. Unfortunately, this leads to a situation where the fields taken as a whole are incredibly not-rigorous. Very few of the conclusions seem to be justified, and few of the practitioners seem to be able to know how tell the difference.
About GCC printf optimization (2005)
New Magic Leap Patents Reveal Contact Lens, Tech to Trick Your Eyes
> And since gut flora can change over time a person eating 2000 might be maintaining weight one year but gaining weight the next year with no change in food intake.

Finally a voice of reason.

Do you happen to know of any decent literature or particular keywords one might google to read up on this?
Why is this posting greyed out(i.e,. downvoted)?
CDNs get copies of SSL keys so they can do their job: serving data. They are logically part of the serving infrastructure for example.com
Ah, I suppose I am. I've heard the joke as "talent" or some variation, though maybe people just use talent and practice interchangeably.
Beaker Notebook - http://BeakerNotebook.com | NYC | onsite fulltime fullstack

The Beaker team develops a web UI and IDE for statistical modeling, data analysis, and visualization. Beaker is open source, based on a modern Angular/Bootstrap frontend, nginx and a collection of servers, mostly JVM-based. The work is done primarily on Github (https://github.com/twosigma/beaker-notebook) outside the corporate network, making for a comfortable and high-velocity developer experience. We are looking for a fullstack engineer to take this complex application to 2.0, including performance optimization of IPC between multiple languages using shared memory, server architecture, collaborative realtime editing, and cluster integration. We are also hiring frontend. Contact me directly with any questions or to apply (spot at draves dot org).
Hello,

I am a Java/J2EE developer with 8 + years of hands on experience in all the phases of SDLC using Java, Hibernate and Spring.Also I am well versed in Agile methodologies.

If you feel that my skills and expertise matches your requirements, please revert back to me at pancy2002@gmail.com.I am readily available for an interview and will be able to join within a week.

Thank you
I'm seeing it occasionally.
Yes, these guidelines do not dictate how ground software, and especially research codes, are written at JPL. See the section of the doc under "Scope."
> Do not worry about 1% speedups. SQLite has gotten significantly faster from lots of ~1% boosts ...And it'll never be as fast as MDB

What MDB is being referred to here?
Yeah, I dunno. I could buy the argument that a modal on launch isn't always evil (maybe it's a signin prompt), so we don't want to just block that kind of UI outright; we instead want some heuristics to tell us whether the modal is helpful or not, and prompts to download apps are almost always unhelpful.

Still, I feel like newsletter prompts are also easy to detect, so that argument doesn't hold a ton of water unless there's also a separate plan to address those—or maybe they're testing the waters with this one. I think I need more information to have a real opinion :/
It's mostly functionality that was available in earlier versions, but I cannot find it anymore (or is it gone?):

- goo.gl-Link to this map

- Terrain-mode

- collapse white search box w/o loosing all entered data

- enter 'from:xxx to:yyy' for navigation

- extra stops (routing)

The best thing about maps that I really love (and why I am willing to fight with the UI) is the address recognition: I can put almost anything into the search box and it will find the address I had in mind. No street/city separation, no extra box for businesses, no strict order of name, address, zip code, city. And if it's unclear to maps, the suggestions almost always include what I had in mind.
You are mistaken, left shift is the same for both signed and unsigned and any instance of a left shift turning a signed int into a positive number is just normal underflow.
No, you can't do that.
from the mozilla link,
"Google Chrome and Internet Explorer both also support this API. Chrome uses the same restriction as Firefox (that it must be run in a user-initiated callback). Internet Explorer allows it to be called at any time, except it first prompts the user with a dialog, asking for permission to access the clipboard."
If all it takes is one human screw up with 3 lines of code to get full remote execution, you will inevitably get security bugs with that code. A best practices guide will not work, because people will not execute on their best practices %100 of the time. A language specification or at least a linter will enforce it %100 of the time in a practical comparison. This is why people want to sunset C family languages.
I'm the author of The Silver Searcher (aka ag)[1]. I wrote my first C program almost 20 years ago, and I have some not-very-nice things to say about this guide. I hope the author won't take it personally.

First, Zed Shaw's Learn C the Hard Way is not worth reading. I agree with most of Tim Hentenaar's criticisms.[2] It's confusing, incomplete, and overly opinionated. If you want to get started with C, read the K&R book. It's not perfect, but it's better than anything else I know of.

As for the guide itself, the quality of its advice varies greatly. Some bits are great. Some are good. Some are controversial. Some are dangerously double-edged. And some are Not Even Wrong. It would take too long to go into detail, so I'll just say: Please don't blindly follow this guide. Explore other codebases (including the ones the author linked to). Talk to other programmers. Write your own projects, and get feedback from those who are more knowledgable.

You might notice that this advice generalizes to every language. That's because C isn't special. If anything, the language itself is simpler than most. C has just had more time to accumulate cruft, both technical and cultural. So don't feel intimidated. Once you learn those bits of historical trivia, you'll be fine.

1. https://github.com/ggreer/the_silver_searcher

2. http://hentenaar.com/dont-learn-c-the-wrong-way
>You should assume that an int is at least 32 bits, but don't assume that it has more than 32 bits.

I thought the spec[0][1] only guarantees int to be at least 16 bits? Am I missing something here?

[0] http://www.cplusplus.com/doc/tutorial/variables/

[1] http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf
Байкал+-+Клуб+Байкал+-+Масленица+22.02.2015++҉+Текущее+время:+02+сен+2015+11:22+
Location: New Delhi, India

Remote: yes

Willing to relocate: yes

Technologies: nodejs, android, ios, frontend js(angular, sencha, backbone)

Other technologies: C, C++, android framework, linux kernel, opencv beginner (etc...)

resume: http://flipflopapp.com/files/NavalCV_2015.pdf

Email: navalnovel@gmail.com
Yes, safety was the initial motivation. The advantage is that you free once and the semantics are more stack like. The performance is an additional benefit.

It is entirely possible to have no bugs in the <100 lines needed for this code, so I don't think the bug argument is valid. adrusi did raise a legitimate concern however.
I think this is the only useful answer so far in this thread!
Here are Joe Armstrong's (author of Erlang and early Ericsson engineer) thoughts on Elixir:

http://joearms.github.io/2013/05/31/a-week-with-elixir.html
GoGuardian Careers | https://www.goguardian.com/careers.html | Los Angeles
If you know they know who you are why don't you log in, and if you don't trust them then why do you use the site at all
Mac OS Is Spyware Too
Ada got this right. For example, you can do

type Day_Of_Month is range 1 .. 31;
They're avoiding the "not used right" problem in flight control software.

The full quote is "Simpler control flow translates into stronger capabilities for both human and tool-based
analysis and often results in improved code clarity. Mission critical code should not just be arguably, but trivially correct."

So there are reasons beyond code clarity.

Seems reasonable to me.
The Dispossessed has always been one of my favorites, and I was incredibly disappointed when I read LHoD! I found LHoD sort of boring. So much focus on this gender-bending stuff which I found pointless... I actually thought there was a lot in there that was downright mysogenistic. In fact, I made a list of quotes a few years ago when I read it. These are mostly said by the narrator, who's supposed to come from some elevated society where they've got everything figured out. I've been waiting for someone to explain to me how exactly U. K. LG is a feminist, maybe the article above will help, going to read now. Here's that list... please read: http://files.aaroncurt.is/lhodGender.txt
Wow, I'd actually forgotten that.

I can still see that old VIC-20:

3583 BYTES FREE

READY.
The whole point of using regions is not to be worrying about pointer lifetimes. And you don't need Valgrind when you have regions since you aren't going to leak memory by forgetting to free something. Valgrind solves a problem that doesn't exist when you use regions.

If you're really worried that you'll leak an entire region worth of data just allocate the region with malloc instead of mmap and then use Valgrind to tell you what regions you aren't destroying.
How is giving a "trigger warning" a concession to logic and reasonableness?
I don't know what the documentary was about, so perhaps it could have started with a "this is graphic." But as I understand it, this was a course on rape law, isn't everything potentially "triggering?"
And why is rape so special, that we can't even teach lawyers how to deal with it? That a teacher can't even use the word "violate?" How is that student going to be prepared in the real world, and how will that student handle other rape cases?
But, again, why is rape more special than any other heinous crime? Murder, home invasion, assault?
How to boost your Vim productivity
Google, Microsoft, and Mozilla will drop RC4 encryption
If I had to guess from looking at his git repo, he's referring to LMDB::

http://symas.com/mdb/

sqlite and lmdb aren't exactly equivalent, but I guess that is his point; you can gain a lot of performance just by understanding your use case and what tradeoffs you can make.
Apropros of the other Google thread today, the here.com link completely fails: it shows an full screen ad for the mobile app, with no way to get to the map.
In addition it is failing to give today's students the tools they need to handle tomorrow's victims
Both, there's at least one commit that directly affects the performance of LLVM (improves caching, AIUI), and the patches that improve runtime performance will improve compile time too: the rust compiler is written in Rust and so benefits from the LLVM tweaks.

(However, I believe both are relatively small.)
It probably comes down to the introduction of ethics into the mix. If ethics were not introduced as part of the argument for the dietary choice, most omnivores who make it an issue probably wouldn't.

Personally, I don't care what others eat. They could eat tasteless fiber, or artificial meat-tasting protein or actual meats. It's their choice.

On the other hand, if I'm a guest and there are only vegan choices, then that what there is, likewise if I'm a guest and there is only steak, that's what there is (and I don't like steak).
I knew someone who majored in Physics, let it go to their head, and took an introductory Linguistics course, dismissively saying it would be an easy A. They flunked the class, admittedly with no shortage of schadenfreude on my part. I also knew plenty of programmers who gravitated to CS in large part _because_ they wouldn't have to do much writing. People who were great at taming the computer but could barely string coherent sentences together, let alone meaningfully exploring the human condition. Something that turns out to be incredibly relevant when building software that, in some form or another, responds to and shapes that condition. If anything, tech as we know it is demonstrably suffering from a lack of exposure to the humanities.

What might look to you like "giving up" often more closely resembles "finding one's strengths". Not everyone is good at STEM, true, but then again that's not the problem with your attitude. It's the implication that having an aptitude outside of STEM entails some kind of intellectual deficit.
Stop “ghost spam is free from the politics” organic spam
> The guidance counselors are still living in the 90s, where any college degree could get you a job without question.

That wasn't true in the 90s. The guidance counselors still pretended it was, in the 90s.
This is The Way To Do It. I take minor issue to calling free(NULL) abuse, though (I know you get it, but allow me to soapbox). I've known programmers who get squeamish relying on this, as if it's a hack, even though it's been mandated by the standard forever. It's like they believe someone would put together a fully-functional libc and miss that simple requirement somehow.

I think the C standard library would be easier to work with if they would've taken this further, and required, for example, fclose(NULL) to be a no-op.
So if I introduce some animal to Hawaii, then wait until they speciate, then they're native? I suppose that works.
You missed the word "repeated". Also, some participants in drunken fights act in self-defense or as part of a fighting sport, and so would not be criminals.

So it's actually like this:

You reach 25. You assault somebody. You serve time in prison. (now a questionable case) We decide to give you a second chance. You feel no need to follow the law, and you enjoy assaulting people, so you do it again. OK, at this point we know what kind of person you are. You didn't just make a bad decision one day. Simply letting you out into society is pretty much the same as assaulting a random person, because that is clearly what you are going to do.
Lean Product Management
Choosing a life partner
gcc won't catch that kind of bug, but clang will definitely. So yeah, use static analysis tools.
How much longer before Google starts flagging Sourceforge as a malware site ?
I developed almost exactly this in the pre-smartphone era for a company that wanted to be the "MLS of MLSes". I think the infrastructure is better for the idea this time around. Best of luck!
I've heard this story more than once, but I'm curious is this is really all that common. You obviously break the "humanities=future burger-flipper" stereotype.
The risk is that you'll screw up and write a buggy allocator with a security hole.

Yes, if your program just needs to allocate lots of memory, do some computations, then exit, this approach works. But the programs where security is most critical do not usually follow that pattern.
Here a bit late but I wanted to mention at least one amazing and beautiful project that (at least partly!) arose from Double Union members' work. BubbleSort - zines about computer science. Have a look! They are more like gorgeous tiny books than what you may think of as a zine.

BubbleSort: https://www.kickstarter.com/projects/sailorhg/bubblesort-com...

Or check out Natalie Freed's work in electronics, bookbinding, and art: http://www.nataliefreed.com/projects/

Or Jayne Vidheecharoen's awesome projects and her Appaloosa kit for kids learning mobile app programming, http://seejayne.com/

That is just off the top of my head! So much skill, idealism, and energy, combined with hard work! We have many members who are also part of TechShop, Noisebridge, work in tech, in startups, teach coding to wide audiences, and so on. DU and the other hackerspaces centered on women are worthy of celebrating! Our motivation is also very much that we want to support each other so that we feel able to stay in our various fields, and continue exploring our hacking and making arts.

So many talented women have gathered at the space and want to support each others' work. That's what should be highlighted.

I'll stop now :) Really, it's nice, though.
knowledge graph indeed steers traffic away from Wikipedia: http://searchengineland.com/businesses-knowledge-graph-domin...

luckily the foundation hasn't seen a negative impact on donations.