skysight-inc/HackerNews huggingface dataset:
I've read that the same thing happened at TechTV. When the free food disappeared, it sent a signal, "Cash is tight. We're in trouble. Be worried."
Its really weird. I feel like the business school experience for most people was like "look at a balance sheet, find costs to cut". The program I did, at a not very prestigious school (my employer paid) the focus was much more on the long term impact and trade offs of the decisions you make. So you think "Ok, we will save 10k, but what will we lose?" When the answer is "we will lose the happiness of our team" this becomes an obvious bad idea. As an employer this is such an easy way to make your employees happy and reward them for working super hard for you. Once you lose sight of that and look at it as a cost to cut you might as well just not run a business because you're missing the bigger picture.
Why would I want to script a hash table from a programming language?
It's called a K&R style function definition, which was the way to do it back in the day. Basically, you define your parameter names first, then you define the parameter types immediately after the function but before the opening curly brace. It's definitely not recommended today and can result in undefined behavior if your compiler doesn't recognize it. If you're working with legacy code, though, I'm pretty sure you can set some C compilers to allow for it.

To explain further:

main(argc, argv)
int argv[]; {

is equivalent to:

int main(int argc, int argv[]) {

The old style definition works because C had a default type of int, so the type specifications for the function main and the parameter argc could be omitted.

As for int argv[]? What that actually represents is an array of memory addresses that hold the command line arguments given. Obviously this becomes a problem if you're on a 64-bit system, where int and (void * ) are two different sizes. However, I checked this out on my 64-bit machine and it works just fine:

int main(int argc, unsigned long long argv[]) {
char *firstarg = (void *)(argv[1]);
printf("%s", firstarg);
}

which, given "./a.out pickles" will print "pickles" (argv[0] gives the memory address of the cstring "./a.out"). I'm guessing that, in the case of a compiler, the memory addresses of arguments are more relevant to have than the arguments themselves.
ScrollKit still hosting NYTimes' Snowfall content
Only looking at schools with lotteries can let you control for the student bias.

But you have an excellent point that a certain charter may be an excellent fit for some subset of teachers/parents, but not be appropriate for the broader population.
Now it's working at last and shows up to date info.
Ask HN: C++ book for pythonista?
Hi.
This must be one of the most asked question in CS, but bear with me for a second.

I need a C++ book, and the amount of possible reference makes it hard to make a good choice.

Ideally, this book doesn't start from the very beginning (e.g. "There are many types : int, float, ...), and explains the many subtlety, best practices and traps of modern C++.

I learned Java in school, and used Python a lot for work and side projects. I've used a bit of C++ throughout school and for particular projects requiring specific libraries, but do not have extensive knowledge of it (up to now, I've refrained from using "new", or any kind of pointer more complicated than an iterator for fear of screwing things up ... yeah, I know). Obviously, this is not enough, and I would like to go further.

Any Ideas ?
Django Email Tricks
Can you play these free games on Steam without an account that have terms placed upon it?

Sorry, I seriously doubt anyone would ever be able to convince me that Steam is not DRM. If a game that has no third party DRM is purchased on Steam then Steam is required to be running to play that game. It limits you in how you play the game in numerous ways in relation to your account, such as one computer at a time. You cannot buy one copy of a game and give your friend access to your Steam account so the two of you can play multiplayer in that one copy of the game at the same time on the same account.

If you break the terms and agreements of Steam and have your account locked then you lose access to all your games, free or purchased.

Steam is a form of rights management.

Not that I have a problem with Steam as I am currently a happy customer.
Apple’s Tax Dodges: Where’s The Public Outrage?
If I understand sequences like

> Copyright ownership of all work by the university faculty, staff, employees and students shall vest in the creator, except under the following circumstances: […]

> 4. Students:

> 1. The university shall have copyright ownership of works created by students: (1) within the scope of their employment relationship with the university; (2) during the course of the student assisting an employee of the university performing services within the scope of the employee's relationship with the university. […]

> 4. Students who create copyrightable work with the use of university resources and in furtherance of class projects while enrolled at the university grant to the university a royalty-free, non-exclusive, worldwide, transferrable and perpetual license to use the work (whether in its entirety or samples thereof), together with photographs and/or videos of students, for the promotion of and/or to advance the interest of the university, including the right to reproduce and distribute copies of the work, photographs and/or videos.

correctly, this sounds far less bad then ‘all your copyright are belong to us’, although still slightly annoying.
Steve Blank is a VC or Angel or something like that or all three.
Honestly, that all would be interesting to me. Definitely would love to look at the code and the process of designing/architecting/implementing the cover stories, but also larger, higher level thoughts on overall design philosophy.

What would be interesting too is how the visual designers work, i.e. for the cover stories. The imagery and visual language of the music industry is totally different from what typically goes on HN, and would be a really interesting contrast.
I share your concerns, but it's this also true of most laptops?

I keep a piece of tape over my camera, but there is nothing physically blocking the microphone.
While I agree with the thinking here, simply learning Photoshop and CSS doesn't make you a designer and learning programming doesn't make you a programmer.

I don't think he said that nor suggested it. The point is being able to empathize with your "other half" (dating term!). Empathy is important and critical for the success of both the technical and interface design of any web product.
C isn't any more difficult to understand, IMO. Obviously Go has the advantage of hindsight and an opportunity to go back on the trade-offs that were made for compiler efficiency before C was standardized. However, at it's core I think C is much more simple than Go and theoretically should be easier to understand.

I find GC to be a useful tool but have you ever looked into the implementation of one? Or have you run into a situation where it was necessary to reason about the performance characteristics of a GC in relation to some algorithm or tight main loop?

I don't find C's lack of GC any more complex than GC. In fact I find it much more simple. It requires more discipline on the part of the programmer (and perhaps that is where the appeal of a GC comes from). Perhaps it's because I started programming with addressing memory and building up a mental model of how it works and have only encountered GC as a useful addition to my programming toolbox (instead of an always-present assumption).

As well, co-routine trampolining (which is what I assume the playful pun go-routines are referring to... please correct me if I am wrong) isn't a very "simple" thing to understand either. At least they are not any more simple than threads so I don't understand how they make learning Go any more easy for non-C programmers (except perhaps exposure to co-routines in a language that already has them like Python).

I guess what I am saying is that you could have just as easily mastered as much C in those few months as you did Go.
There are viable solutions to food safety that don't involve government men with guns.
I've seen such things happen, and I almost universally blame the founders and top level leadership when this kind of thing happens.

Dedicated CFOs and accounting types are simply doing their job. Their singular focus is often the bottom line and the company's financial health. It's not their job to maintain, foster, or enhance company culture. That is the job of the CEO.

In situations like this, it's the CEO's responsibility to make statements like "there are intangible benefits to free snacks and sodas. Small things like that help people that make money for the company stay focused longer and help them get through their day."

Help the accountants understand where the cost cutting boundaries are early, so you don't have to micromanage every decision they make later on. Over time they'll start to "get it" with your culture and they'll focus their attention on real problems like getting financing, making sure invoices are paid, setting up M&A deals, etc that they were hired to do.
One of the key reasons why I decided to join my first employer was because they had amazing fruit baskets delivered every morning. It saved me from thinking about breakfast.

Top banks and law firms have everything either free or heavily subsidised under one roof, from multiple restaurants to gyms, so that you don't waste any time looking for those things and carry on working like a dog (but feel privileged doing so). Just don't calculate your hourly rate...
adblock

widgetblock

noscript

Chrome settings > advanced > content > plugins > click to play

That'll fix most of your issues, aside from publishers using video instead of text when text is preferable
The big flaw with this line of reasoning is that 90% of people are already eating diets that we know, 100% for certain, are worse than soylent. Yes, it could be missing something. You are almost certainly already missing or short on several things. For the vast majority of people, this is going to be a significant improvement.
Learn A New Programming Language Every Year?
Excellent job, it reminds me a lot of the effort and creativity involved with the Gir Proposal Robot[1].

Kudos to the OP for taking the time, and effort, to create something unique while learning a lot in the process. You've set the bar higher for creative proposals =)

Regarding stone-setting, a quick thought on that -- since you have to mount material (and fill) on the inside of the ring, could you not have made the holes larger on the inside than the outside, and fixed their positions from the filler?
The glam trend died and true rock music was starting to be revived.

ROFL at "the glam trend died". Tell that to Motley Crue, Def Leppard, Poison, Dokken, Slaughter, Cinderella and plenty of other 80's era glam-metal bands who have continued to experience success into the 2000's and 2010's, and the whole new generation of glam/sleaze bands which emerged (mostly) from Sweden: Hardcore Superstar, Vains of Jenna, Crashdiet, Babylon Bombs, Gemini Five, etc.

Glam metal will never die!

And as for the idea that grunge somehow represented "real rock"... LOL. Grunge was a completely manufactured phenomenon and should probably go down in history as the most artificial "movement" ever. There's a reason the grunge bands blew into town, had their 5 or 6 years in the limelight and then mostly faded away. I mean, sure, STP or Pearl Jam still have their fans (what band doesn't?) but nobody really gives two shits about grunge anymore.

Anyway, to keep this vaguely on-topic, I'd say this... "modern" web-design does include elements which have been re-purposed, borrowed, slightly-modified, and cribbed from "old" web-design. Just like "post grunge" bands borrow elements from "traditional" grunge (downtuned guitars, etc.) along with elements from old-school glam-metal: the occasional guitar solo, a more melodic sound, more optimistic vocals, etc.

It's the nature of things... everything goes in cycles, and "things" keep re-appearing over and over again, packaged slightly differently, or with a different polish or veneer applied, and maybe with a different name. This isn't necessarily bad per-se, it's just part of the way things evolve.
I thought it's a joke until 7th or 8th slide.
Thoughts on Pew’s latest report: notable findings on race and privacy
Reversing the “Write For Free, Gain Exposure” Offer
The Big List of 256 Programming Languages
As the article says, losing the free soda isn't the major complaint, it is the wake-up call.
From a quick look, it looks like it's reasonably simple to add resizing back in. The CSS on the textarea has resize:none - removing that and removing the max-width should add that functionality back in, should you want it.
The tech that powers this is astounding. But am I the only one that really doubts this voice-powered future everyone seems to be aiming for? From Siri to the Xbox One and Google Glass, there seems to be an overall assumption that voice is the interface everyone will be using- but didn't we assume the same when dictation software first came out years ago? That we'd all be dictating our documents rather than typing them?

The only place voice control feels natural to me is when I'm in a room by myself. So that rules out the office, public transportation, and my home, except at rare moments. I'm actually quite happy about that- the last thing I want is to be at work surrounded by people talking to their computers.
His major complaint is that they scared away all the good talent.
I could't have said it in a better way.
isn't leveldb is there for this?
The console Kinect uses standard usb and works with open source drivers. Kinect for Windows is also usb but requires Windows drivers.
Definitely. I don't like having very late dinners so would rather go home and cook if a good alternative is not provided.
Your gang metaphor makes no sense because Apple is not committing any crimes.

A better metaphor would be a U.S. citizen who takes the IRS standard deduction even though they know that their itemized deductions would be less. Is that unethical?

What about people who use TurboTax software, which helps them find deductions that they would not have otherwise known about? Is that unethical?

In addition, consider the society of nations as a whole. The U.S. alone among developed nations expects its companies to pay U.S. taxes on profits earned globally. If Apple were a French, Dutch, English, German, etc. company then this conversation would not even be happening. They would just pay the local tax rate and then repatriate the remaining earnings.
Is it available outside australia? Seems like trying to mail it to europe would be quite expensive.
Xbox One forces gamers to pay for games borrowed from friends
I would expect that any advantage the JVM gains from variable order fiddling (and variable dropping) is minimal. Whereas the problems we get on multicore systems with false sharing, and other cache-line maladies, are significant.

This is, however, just what I expect to be the case. It may be that in practice the JVM is getting good results from fiddling with our variables.

You may be right that annotations would suit Java better than allowing programmers to layout objects as they wish. The strong motivation for this is that the fix would be simple (and perhaps have no serious downside?) and mean that work can be done without waiting for a JSR to reach maturity.

From what I read the state of the art around this is to use relatively unstable hacks which require very strong knowledge of JVM implementations - see the example code from Martin Thomson in the linked article.

You could still happily write your variables for humans in most cases. I would love to know how large the downside is to fixed variable ordering.
Old trick. This is taught as a way to get people to leave by themselves. Often followed by contracts not being renewed, and people moved into hours they don't like or into roles they don't like.

Those people leave by themselves, then the firings happen... and stock goes up, targets are met... BONUSES ALL ROUND! Woo! (Or merger/new investment/whatever needs a up+right graph).
Or the goat teleporter: http://code.google.com/p/chromium/issues/detail?id=31482
Best startup pitches in one place
It should be trivial to get the resize functionality back. I think in cases like this breaking existing functionality is fine. This is obviously aimed at people with a relatively narrow use-case in mind. In a situation where the purpose of full screen mode is to remove the distractions of the surrounding document this seems fine. I personally would want my text box at a fixed size on some forms with the option to make it the only thing on the page (case in point is my own app https://writeapp.me [yes, an account is needed to see the text box]) so as to keep the design from breaking (it's a very opinionated page when it comes to design).

I think overall this is an improvement to text boxes generally which is why I can forgive the breakage of one bit of existing functionality.
Another one is Asus. I always thought it was "A-sys". Turns out it's "Uh-seuss" like Dr. Seuss, with the accent over the last syllable.
Afaik, all of those require additional setup. SQLite3 is already included in Python. I also tested year ago several database options and SQLite3 was also the fastest one.
As long as you are required to have an active Steam account to play the games you purchased on Steam, an account that can be revoked if you break the terms and agreements, then it is a form of rights management. The simplest form of rights management it has is that it will not allow two simultaneous connections to the same account, regardless if you have nothing but DRM free games in the account.
FYI, to do this, you could use a back spot-facing tool.
Live Updating, Queued Collections in Ember.js
This reminds me of a great blog post, Goodbye Microsoft, Hello Facebook by Philip Su (http://worldofsu.com/philipsu/goodbye-microsoft-hello-facebo...):

We used to get Dove Bars and beers all the time. It felt like free food was on offer at least once a week, usually with a pretense of some small milestone to celebrate. Why did we cut stuff like this? (I know the boring fiscal reasons why. I’m asking the deeper why, as in, “Was it worth the savings? Is Microsoft better now that we’ve cut these costs?”)

One day, a sign appeared on a soda fridge in RedWest saying something to the effect of, “Did you know that drinks cost Microsoft [ed: millions of dollars] a year? Sodas are your perk at work. Don’t bring them home.” This depressed me on too many levels to enumerate, but I’ll toss out a few:

- Someone had enough time to get these signs professionally printed and affixed to our fridges.

- It was someone’s salaried, 40-hour-a-week job to do things like this.

- Someone thought soda smuggling was a big enough “problem” at Microsoft to draw attention to it.
You just want to read text? How pedestrian. Don't you want to visit a blog post, stare at a blank screen for a couple seconds while a couple dozen HTTP requests are shot off for the JS, and then grabbed using an XHR? Or even better, a WebSocket? It's a modern convenience few people would want to give up!
I remember being absolutely thrilled when function prototypes were introduced with the 'proposed' ANSI C standard (X3J11). The first implementation I got my hands on was Borland's Turbo C circa 1988.

The standard now known as C89/C90 had been in committee for many years before being 'released'. This didn't stop the tool vendors (like Borland) from supporting the 'proposed' standard much earlier than 1989.

Unfortunately, commercial UNIX vendors (like HP, in my case), were very slow to adopt the standard and update the cc compiler in their distribution. This forced us to work in K&R for a good time after 1990, all the while grumbling that $150 MS-DOS compilers already 'had ANSI'.
If the snacks are provided by the company:

-I don't have to carry change/cash.

-I don't have to deal with a vending machine that will fail to give me what I want 2% of the time.

-If something that I want is not there, I can ask the boss to get it next time rather than hoping for a machine to be restocked (probably by a vendor that may or may not carry what I want).

-The price of soda/snacks never changes.

-If I ask my neighbor to grab a soda for me, there's no need for her or me to keep a mental account of gifts.

EDIT: Typing too fast; missed a word
Although I appreciate your effort, willingness to share&help,as well as clever marketing, I consider publishing such boilerplates rather bad idea. It can hurt all parties involved: employers,candidates and your business. Why? For companies, taking such a shortcut (let's be honest-many people will use them with just cosmetic changes) is not only damage for their image and failure to differentiate and attract talent. It's also shifting focus from precisely defined competencies which are specific for the company to generic metrics which lead to wrong hiring decisions. For candidates indistinguishable job offers result in wrong career choices and wasted time/opportunities. For you it means more inadequate applications to process and as consequence bigger challenge whike convincing the customers to the value that you deliver. Hope you'll take it as an inspiration not a rant :)
Google+ can identify random, untagged objects in your photos
I'm the same. Hunger is often my limiting factor. I'll be in the middle of working on something in the late afternoon or early evening and want to finish it, but I get too hungry. Then I have to leave the office and decide where to get food. By the time I'm done I'm not focused on the problem anymore. I do keep my own food at the office, but it's hard to always be properly stocked (I eat a lot).

edit: soda wouldn't do anything for me, though. Substantial snacks or "real" food would be much better.
Heads up, the conversational aspect only works if you have Search History enabled.
My wife was a software engineer at a very big company (Fortune 50 / Dow Jones Industrial). At one point they decided to take the water coolers out of several buildings -- a move estimated to save half a million dollars a year. But one top-notch software engineer adds a lot more than that to the company's bottom line, so the move can very quickly become value-subtracting if it pushes someone over the edge to "I'm going to go to [competitor]" or "I'm going to go become a contractor".

Even if they don't leave, there's a morale penalty applied every day when someone walks past where there used to be refreshments, and has to keep walking another 30 feet to the water fountain or vending machine.

If there's one thing every company should understand about software, it's that top-notch people operating at high levels of morale are great for your bottom line. Being cheap about things like refreshments and office equipment ("you have to buy your own second monitor") is a morale killer.
If educating the masses at a public school is so much more difficult, then why do we even try that?

Shouldn't we work to break up the student population into smaller, more manageable chunks? That way you can target the specific needs of a smaller group and work to make each succeed rather than doing a mediocre job of trying to meet the incredibly diverse needs of a much larger group.
Right. I read that, and in hindsight should have used more inclusive wording. Anyway, I really like Feedbin even though it could use a bit more polish (a couple of animations would go a long way e.g. when it is loading an article).
Well, then depends on the part of the world and the period. I was assuming 15th century Europe, which is a different story. Also, things like penicillin have a much broader affect than removing a couple of brain tumors. On the other hand, advanced knowledge could be called witchcraft, and she could be burned at the stake.
Google doesn't force you to use Google+ as a social network, it forces you to create a profile so it can unify identity across Google accounts.